:root {
  --header-height: 64px;
  --snap-height: calc(100svh - var(--header-height));
  --text: #101820;
  --muted: #697781;
  --blue: #23a9e8;
  --footer: #f7f8fb;
  --line: rgba(17, 31, 44, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  color: var(--text);
  font-family: "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  background: #fff;
}

body.is-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

a {
  color: inherit;
  text-decoration: none;
}

img,
video {
  display: block;
  width: 100%;
}

picture {
  display: block;
  width: 100%;
}

[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 34px, 0);
  transition: opacity 760ms ease, transform 760ms cubic-bezier(0.22, 1, 0.36, 1);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 40;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #1da8e4, #83d8ff);
  transform: scaleX(0);
  transform-origin: left center;
  pointer-events: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  height: var(--header-height);
  display: grid;
  grid-template-columns: minmax(120px, 1fr) auto minmax(120px, 1fr);
  align-items: center;
  padding: 0 clamp(28px, 11vw, 420px);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1px 0 rgba(17, 31, 44, 0.04);
  backdrop-filter: blur(16px);
  transition: background 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 28px rgba(17, 31, 44, 0.08);
}

.brand {
  justify-self: start;
  width: 120px;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(28px, 3vw, 56px);
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.primary-nav a,
.nav-panel strong {
  transition: color 180ms ease;
}

.primary-nav > .nav-item > a:hover,
.primary-nav > .nav-item > a:focus-visible {
  color: var(--blue);
}

.nav-item {
  position: relative;
  height: var(--header-height);
  display: grid;
  place-items: center;
}

.nav-panel {
  position: absolute;
  top: var(--header-height);
  left: 50%;
  display: grid;
  grid-template-columns: repeat(4, max-content);
  gap: 32px;
  min-width: 520px;
  padding: 22px 28px 24px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--line);
  box-shadow: 0 18px 38px rgba(17, 31, 44, 0.1);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 10px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-item:hover .nav-panel,
.nav-item:focus-within .nav-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav-panel.compact {
  grid-template-columns: 1fr;
  min-width: 190px;
  gap: 0;
}

.nav-panel strong,
.nav-panel a {
  display: block;
  text-align: left;
  line-height: 1.45;
}

.nav-panel strong {
  margin-bottom: 10px;
  color: #172833;
  font-size: 14px;
  font-weight: 800;
}

.nav-panel a {
  padding: 5px 0;
  color: #667581;
  font-size: 13px;
  font-weight: 500;
}

.nav-panel a:hover,
.nav-panel a:focus-visible {
  color: var(--blue);
}

.shop-link {
  justify-self: end;
  width: 78px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: #182a35;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

main {
  overflow: hidden;
}

.hero,
.image-panel,
.product-card {
  position: relative;
}

.hero {
  min-height: calc(100vh - var(--header-height));
  margin-top: var(--header-height);
  background: #dff5ff;
  overflow: hidden;
}

.snap-panel {
  height: var(--snap-height);
  min-height: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

body.fullpage-mode {
  overflow: hidden;
}

body.fullpage-exiting {
  overflow: hidden;
}

body.fullpage-entering {
  overflow: hidden;
}

body.fullpage-returning {
  overflow: hidden;
}

body.fullpage-leaving {
  overflow: hidden;
}

body.past-snap:not(.fullpage-mode) .snap-panel:not(.exit-clone):not(.enter-clone) {
  display: none;
}

body.past-snap main {
  padding-top: var(--header-height);
}

.exit-clone {
  position: fixed;
  top: var(--header-height);
  left: 0;
  z-index: 12;
  width: 100%;
  height: var(--snap-height);
  min-height: 0;
  margin-top: 0;
  overflow: hidden;
  pointer-events: none;
  transform: translate3d(0, 0, 0);
  transition: transform 780ms cubic-bezier(0.76, 0, 0.24, 1);
}

.exit-clone.is-leaving {
  transform: translate3d(0, -100%, 0);
}

.enter-clone {
  position: fixed;
  top: var(--header-height);
  left: 0;
  z-index: 12;
  width: 100%;
  height: var(--snap-height);
  min-height: 0;
  margin-top: 0;
  overflow: hidden;
  pointer-events: none;
  will-change: transform;
  transform: translate3d(0, -100%, 0);
  transition: transform 780ms cubic-bezier(0.76, 0, 0.24, 1);
}

.enter-clone.is-entering {
  transform: translate3d(0, 0, 0);
}

body.fullpage-mode .snap-panel {
  position: fixed;
  top: var(--header-height);
  left: 0;
  z-index: 8;
  width: 100%;
  height: var(--snap-height);
  margin-top: 0;
  opacity: 1;
  transform: translate3d(0, 100%, 0);
  transition: transform 780ms cubic-bezier(0.76, 0, 0.24, 1);
}

body.fullpage-preparing .snap-panel {
  transition: none !important;
}

body.fullpage-mode .snap-panel.is-current {
  transform: translate3d(0, 0, 0);
}

body.fullpage-returning.fullpage-mode .snap-panel.is-current {
  transform: translate3d(0, -100%, 0);
  transition: none;
}

body.fullpage-returning.fullpage-mode.is-returning-active .snap-panel.is-current {
  transform: translate3d(0, 0, 0);
  transition: transform 520ms cubic-bezier(0.76, 0, 0.24, 1);
}

body.fullpage-leaving.fullpage-mode .snap-panel.is-current {
  transform: translate3d(0, 0, 0);
  transition: none;
}

body.fullpage-leaving.fullpage-mode.is-leaving-active .snap-panel.is-current {
  transform: translate3d(0, -100%, 0);
  transition: transform 520ms cubic-bezier(0.76, 0, 0.24, 1);
}

body.fullpage-mode .snap-panel.is-before {
  transform: translate3d(0, -100%, 0);
}

body.fullpage-mode .snap-panel.is-after {
  transform: translate3d(0, 100%, 0);
}

body.fullpage-mode .snap-panel [data-parallax],
.exit-clone [data-parallax],
.enter-clone [data-parallax] {
  transform: scale(1.02) !important;
}

.hero + .hero {
  margin-top: 0;
}

.hero-video video {
  height: calc(100vh - var(--header-height));
  min-height: 620px;
  object-fit: cover;
  will-change: transform;
}

.snap-panel.hero-video video {
  height: 100%;
  min-height: 0;
}

.hero-copy {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  pointer-events: none;
}

.hero-copy h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(32px, 2.6vw, 50px);
  font-weight: 900;
  letter-spacing: 0;
  text-shadow: 0 12px 40px rgba(21, 135, 184, 0.22);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 34px;
  width: 28px;
  transform: translateX(-50%);
  opacity: 0.8;
  animation: cue 1.8s ease-in-out infinite;
}

@keyframes cue {
  0%,
  100% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, 8px);
  }
}

.vision-panel {
  height: min(56.25vw, 1080px);
  min-height: 560px;
  overflow: hidden;
}

.vision-panel.snap-panel {
  height: var(--snap-height);
  min-height: 0;
}

.vision-panel img {
  height: 100%;
  object-fit: cover;
  will-change: transform;
}

.panel-copy {
  position: absolute;
  z-index: 2;
  color: #111b24;
  text-align: center;
  opacity: 0;
  transform: translate3d(0, 34px, 0);
  transition: opacity 760ms ease, transform 760ms cubic-bezier(0.22, 1, 0.36, 1);
}

.panel-copy p,
.panel-copy h2,
.panel-copy span {
  margin: 0;
}

.panel-copy p {
  color: #333f47;
  font-weight: 500;
}

.panel-copy h2 {
  font-weight: 800;
  letter-spacing: 0;
}

.panel-copy a {
  display: inline-block;
  color: var(--blue);
  font-weight: 500;
  transition: color 180ms ease, transform 180ms ease;
}

.panel-copy a:hover,
.panel-copy a:focus-visible {
  color: #087eb7;
  transform: translateX(3px);
}

.vision-copy {
  top: 45%;
  left: 50%;
  width: min(620px, 80vw);
  transform: translate3d(-50%, calc(-50% + 34px), 0);
  color: #fff;
}

body.is-ready .vision-copy.is-visible {
  transform: translate3d(-50%, -50%, 0);
}

.vision-copy p {
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(16px, 1.35vw, 26px);
  line-height: 1.5;
}

.vision-copy h2 {
  margin-top: 8px;
  color: #fff;
  font-size: clamp(30px, 2.6vw, 50px);
  line-height: 1.25;
}

.vision-copy span {
  display: block;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(13px, 0.95vw, 18px);
  line-height: 1.6;
}

.feature-panel {
  height: var(--snap-height);
  min-height: 620px;
  overflow: hidden;
}

.feature-panel picture {
  height: 100%;
}

.feature-panel img {
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  will-change: clip-path, transform;
}

.feature-panel.product-stage-enter img {
  animation: productStageIn 1180ms cubic-bezier(0.76, 0, 0.24, 1) both;
}

.feature-panel.product-stage-enter {
  animation: productPanelIn 520ms ease both;
}

@keyframes productPanelIn {
  from {
    background: #edf8ff;
  }
  to {
    background: transparent;
  }
}

@keyframes productStageIn {
  from {
    clip-path: inset(34% 34% 34% 34%);
    filter: saturate(1.08) brightness(1.04);
    transform: scale(0.78);
    transform-origin: center center;
  }
  48% {
    clip-path: inset(8% 8% 8% 8%);
    transform: scale(0.96);
  }
  76% {
    clip-path: inset(0 0 0 0);
    transform: scale(1.028);
  }
  to {
    clip-path: inset(0 0 0 0);
    filter: saturate(1) brightness(1);
    transform: scale(1);
  }
}

@supports not (clip-path: inset(10%)) {
  @keyframes productStageIn {
    from {
      filter: saturate(1.08) brightness(1.04);
      transform: scale(0.78);
    }
    to {
      filter: saturate(1) brightness(1);
      transform: scale(1);
    }
  }
}

.feature-copy {
  top: 42%;
  width: min(520px, 34vw);
  transform: translate3d(0, calc(-50% + 34px), 0);
}

body.is-ready .feature-copy.is-visible {
  transform: translate3d(0, -50%, 0);
}

.feature-copy-left {
  left: clamp(72px, 15vw, 360px);
}

.feature-copy p {
  font-size: clamp(14px, 1.15vw, 22px);
  line-height: 1.5;
}

.feature-copy h2 {
  margin-top: 10px;
  font-size: clamp(28px, 2.2vw, 42px);
  line-height: 1.2;
}

.feature-copy a {
  margin-top: 36px;
  font-size: clamp(13px, 0.95vw, 18px);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
  background: #fff;
}

.product-card {
  background: #f5f7fa;
  overflow: hidden;
  opacity: 0;
  transform: translate3d(0, 42px, 0);
  transition: opacity 680ms ease, transform 680ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 260ms ease;
}

.product-card img {
  height: 100%;
  object-fit: cover;
  transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1), filter 520ms ease;
}

.product-card:hover {
  z-index: 3;
  box-shadow: 0 22px 60px rgba(24, 43, 54, 0.1);
}

.product-card:hover img {
  filter: saturate(1.04);
  transform: scale(1.025);
}

.product-copy {
  top: 42%;
  width: min(390px, 40%);
  transform: translate3d(0, calc(-50% + 26px), 0);
}

body.is-ready .product-copy.is-visible,
body.is-ready .product-card.is-visible .product-copy {
  opacity: 1;
  transform: translate3d(0, -50%, 0);
}

.product-grid .product-card:nth-child(2) {
  transition-delay: 80ms;
}

.product-grid .product-card:nth-child(3) {
  transition-delay: 120ms;
}

.product-grid .product-card:nth-child(4) {
  transition-delay: 180ms;
}

.product-grid .product-card:nth-child(5) {
  transition-delay: 220ms;
}

.product-grid .product-card:nth-child(6) {
  transition-delay: 280ms;
}

.product-copy-left {
  left: clamp(40px, 9vw, 180px);
}

.product-copy p {
  font-size: clamp(12px, 0.95vw, 18px);
  line-height: 1.5;
}

.product-copy h2 {
  margin-top: 8px;
  font-size: clamp(20px, 1.55vw, 30px);
  line-height: 1.25;
}

.copy-actions {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-top: 26px;
}

.copy-actions a {
  font-size: clamp(11px, 0.68vw, 13px);
}

.site-footer {
  background: var(--footer);
  color: #31404a;
}

.footer-inner {
  width: min(860px, calc(100% - 48px));
  margin: 0 auto;
  padding: 50px 0 42px;
}

.legal-note {
  margin: 0 0 44px;
  color: #9aa4ab;
  font-size: 10px;
  line-height: 1.6;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 56px;
  margin-bottom: 42px;
}

.footer-links h2 {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.4;
}

.footer-links a {
  display: block;
  margin-top: 8px;
  color: #687782;
  font-size: 13px;
  line-height: 1.45;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--blue);
}

.footer-bottom {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  color: #8a949b;
  font-size: 12px;
}

.footer-bottom img {
  width: 163px;
  margin-bottom: 12px;
}

.footer-bottom p {
  margin: 0;
}

@media (max-width: 1180px) {
  .site-header {
    padding: 0 32px;
    grid-template-columns: 120px 1fr 78px;
  }

  .exit-clone {
    transition-duration: 520ms;
  }

  .enter-clone {
    transition-duration: 520ms;
  }

  .primary-nav {
    gap: 22px;
    font-size: 14px;
  }
}

@media (max-width: 860px) {
  :root {
    --header-height: 60px;
    --snap-height: calc(100dvh - var(--header-height));
  }

  .site-header {
    grid-template-columns: 58px 1fr 70px;
    padding: 0 12px;
    overflow: visible;
  }

  .brand {
    justify-self: center;
    align-self: center;
    width: 118px;
    grid-column: 2;
  }

  .menu-toggle {
    display: block;
    justify-self: start;
    align-self: center;
    grid-column: 1;
    grid-row: 1;
    width: 36px;
    height: 36px;
    background: url("assets/mobile/nav/menu.png") center / 18px 15px no-repeat;
  }

  .menu-toggle span {
    display: none;
  }

  .shop-link {
    display: block;
    justify-self: end;
    align-self: center;
    width: 62px;
    grid-column: 3;
    grid-row: 1;
  }

  [data-reveal],
  .panel-copy,
  .product-card {
    opacity: 1;
  }

  .primary-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    display: none;
    gap: 0;
    padding: 10px 24px 20px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 16px 28px rgba(17, 31, 44, 0.08);
    transform: translateY(-8px);
    transition: transform 220ms ease;
  }

  .menu-open .primary-nav {
    display: grid;
    transform: translateY(0);
  }

  .primary-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-item {
    display: block;
    height: auto;
  }

  .nav-panel,
  .nav-panel.compact {
    position: static;
    display: none;
    grid-template-columns: 1fr;
    min-width: 0;
    padding: 4px 0 12px 16px;
    border: 0;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav-item:hover .nav-panel,
  .nav-item:focus-within .nav-panel {
    display: grid;
  }

  .nav-panel strong {
    margin: 10px 0 2px;
    font-size: 13px;
  }

  .nav-panel a {
    padding: 7px 0;
    border-bottom: 0;
    font-size: 13px;
  }

  .hero-video video {
    height: var(--snap-height);
    min-height: 0;
  }

  .hero,
  .snap-panel,
  .vision-panel.snap-panel {
    height: var(--snap-height);
    min-height: 0;
  }

  .vision-panel picture,
  .vision-panel img {
    height: 100%;
  }

  .vision-panel img {
    object-fit: cover;
  }

  .hero-copy h1 {
    font-size: 28px;
  }

  .vision-copy {
    width: min(330px, 82vw);
  }

  .vision-copy h2 {
    font-size: 27px;
  }

  .vision-copy span {
    font-size: 12px;
  }

  .scroll-cue {
    display: none;
  }

  .feature-panel {
    height: var(--snap-height);
    min-height: 0;
    background: #f7f9fc;
    scroll-margin-top: calc(var(--header-height) + 8px);
  }

  .feature-panel picture {
    height: 100%;
  }

  .feature-panel img {
    height: 100%;
    min-height: 0;
    object-fit: cover;
  }

  .feature-panel.product-stage-enter,
  .feature-panel.product-stage-enter img {
    animation: none;
  }

  .feature-copy,
  .product-copy {
    display: block;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    text-shadow: 0 1px 10px rgba(255, 255, 255, 0.85);
  }

  .feature-copy {
    top: 9.5%;
    left: 18px;
    right: 18px;
    width: auto;
    text-align: center;
  }

  .feature-copy p {
    font-size: 12px;
    color: #535f67;
  }

  .feature-copy h2 {
    margin-top: 6px;
    font-size: 22px;
    line-height: 1.22;
  }

  .feature-copy a {
    margin-top: 12px;
    font-size: 12px;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .product-card {
    min-height: 0;
    background: #f7f9fc;
  }

  .product-card img {
    height: auto;
    object-fit: contain;
    object-position: center;
  }

  .product-copy {
    top: 12%;
    left: 18px;
    right: 18px;
    width: auto;
    text-align: center;
  }

  .product-copy p {
    font-size: 11px;
    color: #606c74;
  }

  .product-copy h2 {
    margin-top: 5px;
    font-size: 20px;
    line-height: 1.22;
  }

  .copy-actions {
    justify-content: center;
    gap: 20px;
    margin-top: 11px;
  }

  .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 40px;
  }
}

@media (max-width: 560px) {
  .brand {
    width: 96px;
  }

  .hero-copy h1 {
    font-size: 22px;
  }

  .hero-video video {
    height: var(--snap-height);
    min-height: 0;
  }

  .vision-panel {
    height: var(--snap-height);
    min-height: 0;
  }

  .vision-panel picture {
    height: 100%;
  }

  .vision-panel img {
    height: 100%;
    object-position: center;
  }

  .vision-copy p {
    font-size: 12px;
  }

  .vision-copy h2 {
    font-size: 22px;
  }

  .feature-panel img {
    height: 100%;
    min-height: 0;
  }

  #nasal img {
    object-position: 62% center;
  }

  #choke img {
    object-position: 60% center;
  }

  .feature-copy {
    display: block;
    top: 9.2%;
    text-align: center;
  }

  .feature-copy p {
    font-size: 12px;
  }

  .feature-copy h2 {
    margin-top: 6px;
    font-size: 20px;
  }

  .feature-copy a {
    margin-top: 10px;
    font-size: 12px;
  }

  .product-card img {
    height: auto;
    object-position: center;
  }

  .product-copy {
    display: block;
    top: 11.5%;
    left: 18px;
    right: 18px;
    text-align: center;
  }

  .product-copy p {
    font-size: 11px;
  }

  .product-copy h2 {
    margin-top: 5px;
    font-size: 19px;
  }

  .copy-actions {
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
  }

  .footer-inner {
    width: 100%;
    padding: 26px 18px 30px;
  }

  .legal-note {
    margin-bottom: 22px;
    font-size: 9px;
    line-height: 1.55;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 24px;
    border-top: 1px solid var(--line);
  }

  .footer-links > div {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .footer-links h2 {
    position: relative;
    margin: 0;
    font-size: 13px;
  }

  .footer-links h2::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 0;
    color: #8a949b;
  }

  .footer-links a {
    margin-top: 7px;
    font-size: 12px;
  }

  .footer-bottom {
    display: grid;
    align-items: start;
    padding-top: 18px;
  }

  .footer-bottom img {
    width: 118px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  [data-reveal],
  .panel-copy,
  .product-card {
    opacity: 1 !important;
    transform: none !important;
  }

  .vision-copy {
    opacity: 1 !important;
    transform: translate3d(-50%, -50%, 0) !important;
  }

  .feature-copy,
  .product-copy {
    opacity: 1 !important;
    transform: translate3d(0, -50%, 0) !important;
  }
}
