:root {
  --paper: #f2f0e8;
  --paper-strong: #fbfaf5;
  --ink: #11110f;
  --ink-soft: #56564f;
  --muted: #6d6d64;
  --line: rgba(17, 17, 15, 0.16);
  --line-strong: rgba(17, 17, 15, 0.28);
  --blue: #5b6cff;
  --blue-deep: #4453d9;
  --blue-action: #4453d9;
  --blue-action-hover: #3545bf;
  --blue-ink: #10142f;
  --acid: #dfff66;
  --white: #ffffff;
  --black: #0b0b0a;
  --shadow: 0 28px 70px rgba(17, 17, 15, 0.14);
  --radius: 24px;
  --radius-lg: 36px;
  --shell: 1240px;
  --font: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  color-scheme: light;
}

:root[data-theme="dark"] {
  --paper: #11110f;
  --paper-strong: #181816;
  --ink: #f4f2ea;
  --ink-soft: #b9b8ae;
  --muted: #9c9b91;
  --line: rgba(244, 242, 234, 0.15);
  --line-strong: rgba(244, 242, 234, 0.3);
  --blue: #7886ff;
  --blue-deep: #6373f2;
  --blue-action: #4b5bdc;
  --blue-action-hover: #3d4cc6;
  --blue-ink: #eff1ff;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.36);
  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  :root[data-theme="system"] {
    --paper: #11110f;
    --paper-strong: #181816;
    --ink: #f4f2ea;
    --ink-soft: #b9b8ae;
    --muted: #9c9b91;
    --line: rgba(244, 242, 234, 0.15);
    --line-strong: rgba(244, 242, 234, 0.3);
    --blue: #7886ff;
    --blue-deep: #6373f2;
    --blue-action: #4b5bdc;
    --blue-action-hover: #3d4cc6;
    --blue-ink: #eff1ff;
    --shadow: 0 28px 80px rgba(0, 0, 0, 0.36);
    color-scheme: dark;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--paper);
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 100;
  border: 1px solid var(--line);
  content: "";
  pointer-events: none;
}

body::after {
  position: fixed;
  inset: 0;
  z-index: 90;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.78' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.36'/%3E%3C/svg%3E");
  content: "";
  opacity: 0.022;
  pointer-events: none;
}

img {
  display: block;
  max-width: 100%;
}

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

button,
summary {
  font: inherit;
}

button {
  border: 0;
  color: inherit;
  cursor: pointer;
}

h1,
h2,
h3,
p,
ul,
ol {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

::selection {
  background: var(--blue);
  color: #fff;
}

:focus-visible {
  outline: 3px solid var(--acid);
  outline-offset: 4px;
}

.shell {
  width: min(var(--shell), 100%);
  margin-inline: auto;
  padding-inline: clamp(18px, 3.4vw, 42px);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--acid);
  color: #11110f;
  font-size: 13px;
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  background: color-mix(in srgb, var(--paper) 96%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color 220ms ease, transform 220ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
}

.header-inner {
  min-height: 76px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.wordmark {
  justify-self: start;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 1;
}

.wordmark-name {
  color: inherit;
}

.wordmark-name b {
  color: var(--blue);
  font: inherit;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.desktop-nav a {
  position: relative;
  padding-block: 10px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.desktop-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-switch {
  position: relative;
}

.lang-switch summary,
.theme-button {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper-strong);
  font-size: 11px;
  font-weight: 800;
  list-style: none;
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
  cursor: pointer;
}

.lang-switch summary::-webkit-details-marker {
  display: none;
}

.lang-switch summary:hover,
.theme-button:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.lang-switch[open] summary {
  background: var(--ink);
  color: var(--paper);
}

.theme-button-icon {
  display: block;
  font-size: 21px;
  line-height: 1;
  transition: transform 280ms ease;
}

.theme-button:hover .theme-button-icon {
  transform: rotate(35deg);
}

.theme-button[data-theme-mode="light"] .theme-button-icon {
  transform: rotate(18deg);
}

.theme-button[data-theme-mode="dark"] .theme-button-icon {
  transform: rotate(-18deg);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 210px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper-strong);
  box-shadow: var(--shadow);
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  z-index: 45;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 16px 42px rgba(17, 17, 15, 0.2);
  font-size: 24px;
  line-height: 1;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.back-to-top[hidden] {
  display: none;
}

.back-to-top:hover {
  transform: translateY(-3px);
}

.lang-menu button {
  width: 100%;
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  border-radius: 12px;
  background: transparent;
  text-align: left;
  font-size: 14px;
  font-weight: 700;
}

.lang-menu button:hover,
.lang-menu button.is-active {
  background: var(--blue-action);
  color: #fff;
}

.lang-menu small {
  font-size: 10px;
  letter-spacing: 0.08em;
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  transition: transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1), background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.header-cta {
  min-height: 48px;
  padding-inline: 20px;
  background: var(--ink);
  color: var(--paper);
}

.header-cta:hover,
.button:hover {
  transform: translateY(-3px);
}

/* Shared typography */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 2px;
  background: var(--blue);
  content: "";
}

.eyebrow-light {
  color: rgba(255, 255, 255, 0.72);
}

.eyebrow-light::before {
  background: var(--acid);
}

.section {
  padding-block: clamp(86px, 10vw, 150px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.5fr);
  align-items: end;
  gap: 52px;
  margin-bottom: clamp(38px, 5vw, 70px);
}

.section-heading h2,
.faq-intro h2,
.final-inner h2 {
  margin-top: 18px;
  font-size: clamp(44px, 6.5vw, 92px);
  font-weight: 700;
  letter-spacing: -0.065em;
  line-height: 0.94;
}

.section-heading h2 em,
.editorial-story h2 em,
.final-inner h2 em {
  color: var(--blue);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
}

.section-heading > p {
  max-width: 370px;
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.7;
}

/* Hero */
.hero {
  position: relative;
  min-height: 880px;
  padding-top: calc(76px + env(safe-area-inset-top, 0px));
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  z-index: -1;
  top: -250px;
  right: -240px;
  width: 860px;
  height: 860px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--blue) 24%, transparent) 0, color-mix(in srgb, var(--blue) 8%, transparent) 45%, transparent 70%);
  content: "";
}

.hero-layout {
  min-height: 804px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.82fr);
  align-items: center;
  gap: clamp(44px, 7vw, 112px);
  padding-block: 56px 66px;
}

.hero-copy-block {
  position: relative;
  z-index: 4;
}

.hero-title {
  max-width: 10ch;
  margin-top: 22px;
  font-size: clamp(64px, 6.6vw, 102px);
  font-weight: 700;
  letter-spacing: -0.07em;
  line-height: 0.92;
}

.hero-title span {
  display: block;
}

.hero-title-accent {
  color: var(--blue);
  font-weight: 700;
}

.hero-copy {
  max-width: 570px;
  margin-top: 30px;
  color: var(--ink-soft);
  font-size: clamp(16px, 1.4vw, 19px);
  font-weight: 500;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 34px;
}

.button-primary {
  min-height: 62px;
  padding-inline: 30px;
  background: var(--blue-action);
  color: #fff;
  box-shadow: 0 18px 42px color-mix(in srgb, var(--blue-action) 30%, transparent);
}

.button-primary:hover {
  background: var(--blue-action-hover);
}

.button-arrow {
  font-size: 18px;
  transition: transform 220ms ease;
}

.button-primary:hover .button-arrow {
  transform: translate(3px, -3px);
}

.button-text {
  min-height: 48px;
  padding: 0;
  border-radius: 0;
  border-bottom: 1px solid var(--line-strong);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-proof li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-proof li::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  content: "";
}

.hero-stage {
  position: relative;
  height: 680px;
  min-width: 0;
  display: grid;
  place-items: center;
  perspective: 1200px;
}

.hero-stage::before {
  position: absolute;
  inset: 8% 0;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 42%, color-mix(in srgb, var(--blue) 24%, var(--paper)) 0%, color-mix(in srgb, var(--blue) 10%, var(--paper)) 44%, transparent 72%);
  content: "";
  filter: blur(2px);
}

.hero-stage::after {
  position: absolute;
  bottom: 7%;
  left: 50%;
  width: min(360px, 82%);
  height: 48px;
  border-radius: 50%;
  background: rgba(17, 17, 15, 0.28);
  content: "";
  filter: blur(24px);
  opacity: 0.54;
  transform: translateX(-50%) scaleX(0.86);
}

.hero-device {
  --device-y: 0px;
  --device-rx: 1.2deg;
  --device-ry: -4deg;
  --device-rz: -0.7deg;
  position: relative;
  z-index: 2;
  width: min(310px, 73%);
  aspect-ratio: 393 / 852;
  transform: translate3d(0, var(--device-y), 0) rotateX(var(--device-rx)) rotateY(var(--device-ry)) rotateZ(var(--device-rz));
  transform-origin: 50% 62%;
  transition: transform 120ms linear;
  will-change: transform;
}

.iphone-shell {
  position: absolute;
  inset: 0;
  padding: 5px;
  border: 1px solid rgba(245, 243, 235, 0.46);
  border-radius: 15.8% / 7.3%;
  background:
    linear-gradient(100deg, #232321 0%, #84827b 3%, #292927 8%, #151514 51%, #474642 93%, #9b9890 97%, #252523 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.12),
    0 44px 48px rgba(17, 17, 15, 0.25),
    0 12px 20px rgba(17, 17, 15, 0.16);
}

.iphone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 2px solid #050505;
  border-radius: 14.6% / 6.7%;
  background: #0d0d13;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    inset 0 0 0 1px rgba(255, 255, 255, 0.07);
}

.iphone-screen::after {
  position: absolute;
  inset: 0;
  z-index: 5;
  border-radius: inherit;
  background: linear-gradient(112deg, rgba(255, 255, 255, 0.1), transparent 16% 82%, rgba(120, 134, 255, 0.06));
  content: "";
  opacity: 0.46;
  pointer-events: none;
}

.page-ready .iphone-screen::after {
  animation: device-glass-enter 1400ms 420ms 1 both cubic-bezier(0.16, 1, 0.3, 1);
}

.iphone-app-shot {
  position: absolute;
  top: 44px;
  right: 7px;
  left: 7px;
  display: block;
  width: calc(100% - 14px);
  height: auto;
}

.iphone-status-bar {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 3;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px 0 20px;
  color: #f5f5f7;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", Arial, sans-serif;
}

.iphone-time {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
}

.iphone-status-icons {
  display: flex;
  align-items: center;
  gap: 5px;
}

.iphone-signal {
  height: 13px;
  display: flex;
  align-items: flex-end;
  gap: 1.8px;
}

.iphone-signal i {
  width: 2.7px;
  border-radius: 1.5px;
  background: currentColor;
}

.iphone-signal i:nth-child(1) { height: 4px; }
.iphone-signal i:nth-child(2) { height: 7px; }
.iphone-signal i:nth-child(3) { height: 10px; }
.iphone-signal i:nth-child(4) { height: 13px; }

.iphone-wifi {
  position: relative;
  width: 17px;
  height: 13px;
}

.iphone-wifi::before,
.iphone-wifi::after {
  position: absolute;
  left: 50%;
  border-top: 2px solid currentColor;
  border-radius: 50%;
  content: "";
  transform: translateX(-50%);
}

.iphone-wifi::before {
  top: 0;
  width: 17px;
  height: 12px;
}

.iphone-wifi::after {
  top: 5px;
  width: 10px;
  height: 7px;
}

.iphone-wifi i {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
  transform: translateX(-50%);
}

.iphone-battery {
  position: relative;
  width: 20px;
  height: 11px;
  padding: 2px;
  border: 1.7px solid currentColor;
  border-radius: 3px;
}

.iphone-battery::after {
  position: absolute;
  top: 2.3px;
  right: -3.7px;
  width: 2px;
  height: 4.5px;
  border-radius: 0 1.5px 1.5px 0;
  background: currentColor;
  content: "";
  opacity: 0.62;
}

.iphone-battery i {
  display: block;
  width: 76%;
  height: 100%;
  border-radius: 1px;
  background: currentColor;
}

.iphone-island {
  position: absolute;
  top: 8px;
  left: 50%;
  z-index: 4;
  width: 31%;
  height: 29px;
  border-radius: 18px;
  background: #020203;
  transform: translateX(-50%);
}

.iphone-island i {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #526e91 0 12%, #182942 38%, #030407 72%);
  box-shadow: 0 0 5px rgba(78, 104, 142, 0.32);
}

.iphone-home-indicator {
  position: absolute;
  bottom: 8px;
  left: 50%;
  z-index: 4;
  width: 98px;
  height: 5px;
  border-radius: 999px;
  background: rgba(245, 245, 247, 0.94);
  transform: translateX(-50%);
}

/* Products */
.latest-section {
  overflow: hidden;
}

.product-carousel {
  min-width: 0;
}

.carousel-toolbar {
  display: none;
}

.product-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 24px);
}

.product-card {
  min-width: 0;
  display: grid;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--paper-strong);
  transition: border-color 200ms ease, transform 240ms ease, box-shadow 240ms ease;
}

.product-card:hover {
  border-color: var(--line-strong);
  box-shadow: 0 18px 44px rgba(17, 17, 15, 0.09);
  transform: translateY(-5px);
}

.product-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 19px;
  background: color-mix(in srgb, var(--ink) 6%, var(--paper-strong));
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 620ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.product-card:hover .product-media img {
  transform: scale(1.045);
}

.product-info {
  display: grid;
  gap: 8px;
  padding: 15px 10px 10px;
}

.product-info > small {
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-info > b {
  min-height: 2.5em;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.product-info > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-info strong {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.product-info i {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-size: 16px;
  font-style: normal;
  transition: transform 220ms ease, background 180ms ease;
}

.product-card:hover .product-info i {
  background: var(--blue-action);
  color: #fff;
  transform: rotate(8deg) translate(2px, -2px);
}

.rail-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.rail-footer p {
  max-width: 550px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.rail-copy {
  display: grid;
  gap: 9px;
}

.rail-footer .commercial-note {
  max-width: 650px;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.6;
}

.commercial-note a {
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.button-outline {
  border: 1px solid var(--line-strong);
  background: transparent;
}

.button-outline:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

/* Product story */
.editorial-story {
  position: relative;
  padding-block: clamp(110px, 11vw, 160px);
  overflow: clip;
  background:
    radial-gradient(circle at 8% 38%, rgba(91, 108, 255, 0.13), transparent 27%),
    radial-gradient(circle at 92% 76%, rgba(223, 255, 102, 0.07), transparent 26%),
    var(--black);
  color: #f7f5ed;
}

.editorial-story::before {
  position: absolute;
  top: 19%;
  left: -310px;
  width: 640px;
  height: 640px;
  border: 1px solid rgba(120, 134, 255, 0.24);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.editorial-story::after {
  position: absolute;
  right: -230px;
  bottom: 7%;
  width: 460px;
  height: 460px;
  border: 1px solid rgba(223, 255, 102, 0.13);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.story-layout {
  position: relative;
  z-index: 1;
  display: block;
}

.story-lead {
  max-width: 860px;
}

.story-lead h2 {
  max-width: 12ch;
  margin-top: 24px;
  font-size: clamp(54px, 6.2vw, 88px);
  font-weight: 600;
  letter-spacing: -0.065em;
  line-height: 0.94;
}

.story-lead > p:nth-of-type(2) {
  max-width: 430px;
  margin-top: 32px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  line-height: 1.75;
}

.story-index {
  display: none;
}

.story-acts {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
  margin-top: clamp(56px, 7vw, 88px);
  padding: 0;
}

.story-act {
  --graphic-x: 0px;
  --graphic-y: 0px;
  position: relative;
  min-height: 590px;
  display: grid;
  grid-template-rows: auto minmax(240px, 1fr) auto;
  gap: 28px;
  padding: clamp(24px, 2.8vw, 38px);
  overflow: hidden;
  border-radius: clamp(28px, 3.2vw, 42px);
  transform: translateZ(0);
  transition: transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 420ms ease;
}

.story-act-curation {
  grid-column: span 7;
  background:
    radial-gradient(circle at 85% 4%, rgba(255, 255, 255, 0.24), transparent 30%),
    linear-gradient(145deg, #6677ff 0%, #4d5de7 52%, #3948bf 100%);
  color: #fff;
  box-shadow: 0 36px 90px rgba(45, 58, 190, 0.22);
}

.story-act-curation::after {
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(transparent, rgba(15, 23, 105, 0.7));
  content: "";
  pointer-events: none;
}

.story-act.story-act-curation p {
  opacity: 0.9;
}

.story-act-catalog {
  grid-column: span 5;
  background: linear-gradient(145deg, #f4f1e8 0%, #e4dfd1 100%);
  color: #11110f;
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.16);
}

.story-act-route {
  min-height: 440px;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  grid-template-rows: auto 1fr;
  column-gap: clamp(42px, 7vw, 100px);
  border: 1px solid rgba(255, 255, 255, 0.13);
  background:
    radial-gradient(circle at 66% 110%, rgba(223, 255, 102, 0.16), transparent 38%),
    #161616;
  color: #fff;
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.26);
}

@media (hover: hover) and (pointer: fine) {
  .story-act:hover {
    box-shadow: 0 48px 110px rgba(0, 0, 0, 0.28);
    transform: translateY(-7px);
  }
}

.story-act-top {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 14px;
}

.story-act-route .story-act-top {
  grid-column: 1 / -1;
}

.story-act-top > span {
  color: currentColor;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
  opacity: 0.7;
}

.story-act-top > b {
  color: currentColor;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  opacity: 0.72;
  text-transform: uppercase;
  white-space: nowrap;
}

.story-act-top > i {
  height: 1px;
  background: currentColor;
  opacity: 0.2;
}

.story-graphic {
  position: relative;
  z-index: 1;
  min-width: 0;
  transform: translate3d(var(--graphic-x), var(--graphic-y), 0);
  transition: transform 180ms ease-out;
}

.story-act-copy {
  position: relative;
  z-index: 3;
}

.story-act-route .story-act-copy {
  align-self: center;
  grid-column: 2;
  grid-row: 2;
}

.story-act h3 {
  max-width: 11ch;
  font-size: clamp(36px, 4vw, 58px);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 0.94;
}

.story-act-route h3 {
  max-width: 13ch;
  font-size: clamp(38px, 3.5vw, 50px);
}

.story-act p {
  max-width: 420px;
  margin-top: 18px;
  color: currentColor;
  font-size: 14px;
  line-height: 1.7;
  opacity: 0.68;
}

/* Story 01: the noisy store stream is reduced to a deliberate catalog. */
.compare-graphic {
  min-height: 292px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 52px minmax(142px, 0.72fr);
  align-items: center;
  gap: 10px;
}

.compare-panel {
  min-width: 0;
}

.compare-panel > span {
  display: block;
  margin-bottom: 11px;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.09em;
  opacity: 0.7;
  text-transform: uppercase;
}

.compare-feed-cloud {
  position: relative;
  min-height: 218px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  background: rgba(28, 38, 148, 0.3);
}

.compare-feed-cloud figure {
  position: absolute;
  width: clamp(58px, 8vw, 76px);
  aspect-ratio: 0.76;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 13px;
  box-shadow: 0 12px 24px rgba(23, 30, 112, 0.28);
  opacity: 0.72;
  transform: rotate(var(--feed-rotate)) scale(0.9);
  transition: opacity 520ms ease, transform 720ms cubic-bezier(0.16, 1, 0.3, 1);
}

.compare-feed-cloud figure:nth-child(1) { --feed-rotate: -10deg; top: 18px; left: 6%; }
.compare-feed-cloud figure:nth-child(2) { --feed-rotate: 7deg; top: 4px; left: 37%; transition-delay: 40ms; }
.compare-feed-cloud figure:nth-child(3) { --feed-rotate: -5deg; top: 22px; right: 5%; transition-delay: 80ms; }
.compare-feed-cloud figure:nth-child(4) { --feed-rotate: 8deg; bottom: 6px; left: 8%; transition-delay: 120ms; }
.compare-feed-cloud figure:nth-child(5) { --feed-rotate: -6deg; bottom: -5px; left: 40%; transition-delay: 160ms; }
.compare-feed-cloud figure:nth-child(6) { --feed-rotate: 10deg; right: 3%; bottom: 11px; transition-delay: 200ms; }

.compare-feed-cloud img,
.compare-selected img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-act-curation.is-visible .compare-feed-cloud figure {
  opacity: 0.48;
  transform: rotate(var(--feed-rotate)) scale(0.82);
}

.compare-transfer {
  position: relative;
  display: grid;
  align-items: center;
}

.compare-transfer i {
  height: 1px;
  background: rgba(255, 255, 255, 0.24);
}

.compare-transfer i::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: #dfff66;
  content: "";
  transition: width 520ms 220ms cubic-bezier(0.65, 0, 0.35, 1);
}

.compare-transfer b {
  position: absolute;
  right: -1px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #dfff66;
  color: #11110f;
  font-size: 13px;
  opacity: 0;
  transform: translateX(-20px) scale(0.65);
  transition: opacity 260ms 520ms ease, transform 430ms 520ms cubic-bezier(0.16, 1, 0.3, 1);
}

.story-act-curation.is-visible .compare-transfer i::before {
  width: 100%;
}

.story-act-curation.is-visible .compare-transfer b {
  opacity: 1;
  transform: none;
}

.compare-catalog {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  background: rgba(26, 34, 123, 0.64);
  box-shadow: 0 24px 44px rgba(23, 30, 112, 0.2);
}

.compare-selected {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.compare-selected figure {
  position: relative;
  aspect-ratio: 0.76;
  margin: 0;
  overflow: hidden;
  border: 2px solid rgba(223, 255, 102, 0.72);
  border-radius: 11px;
  opacity: 0;
  transform: translateX(-16px) scale(0.9);
  transition: opacity 360ms 620ms ease, transform 520ms 620ms cubic-bezier(0.16, 1, 0.3, 1);
}

.compare-selected figure:nth-child(2) { transition-delay: 700ms; }
.compare-selected figure:nth-child(3) { transition-delay: 780ms; }

.compare-selected figure span {
  position: absolute;
  right: 5px;
  bottom: 5px;
  width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #dfff66;
  color: #11110f;
  font-size: 9px;
  font-weight: 900;
}

.story-act-curation.is-visible .compare-selected figure {
  opacity: 1;
  transform: none;
}

/* Story 02: an explicit query and category filter resolve to two products. */
.filter-graphic {
  min-height: 292px;
  display: grid;
  place-items: center;
}

.filter-demo {
  width: min(350px, 96%);
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 25px;
  background: #111117;
  color: #fff;
  box-shadow: 0 28px 58px rgba(44, 42, 33, 0.24);
  opacity: 0;
  transform: translateY(30px) scale(0.96);
  transition: opacity 420ms ease, transform 680ms cubic-bezier(0.16, 1, 0.3, 1);
}

.story-act-catalog.is-visible .filter-demo {
  opacity: 1;
  transform: none;
}

.filter-demo-head,
.direct-app-head,
.direct-hacoo-card > em {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.filter-demo-head > b {
  font-size: 11px;
  letter-spacing: -0.03em;
}

.filter-demo-head > span {
  display: flex;
  align-items: baseline;
  gap: 4px;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.filter-demo-head strong {
  color: #dfff66;
  font-size: 11px;
}

.filter-demo-head i {
  font-size: 7px;
  font-style: normal;
  opacity: 0.62;
}

.filter-query {
  min-height: 43px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 13px;
  background: #1c1c23;
}

.filter-query > i {
  position: relative;
  width: 13px;
  height: 13px;
  border: 1.5px solid rgba(255, 255, 255, 0.54);
  border-radius: 50%;
}

.filter-query > i::after {
  position: absolute;
  right: -4px;
  bottom: -3px;
  width: 5px;
  height: 1.5px;
  background: rgba(255, 255, 255, 0.54);
  content: "";
  transform: rotate(45deg);
}

.filter-query > span {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 11px;
  font-weight: 700;
}

.filter-query b {
  width: 1px;
  height: 14px;
  background: #dfff66;
}

.story-act-catalog.is-visible .filter-query b {
  animation: filter-cursor 720ms 3 steps(1, end);
}

.filter-tabs {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 9px;
  padding: 3px;
  border-radius: 11px;
  background: #e9e8e3;
  color: #11110f;
}

.filter-tabs > i {
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 3px;
  width: calc(50% - 3px);
  border-radius: 8px;
  background: #4453d9;
  transition: left 540ms 440ms cubic-bezier(0.16, 1, 0.3, 1);
}

.story-act-catalog.is-visible .filter-tabs > i {
  left: 50%;
}

.filter-tabs span {
  position: relative;
  z-index: 1;
  padding: 7px 5px;
  font-size: 8px;
  font-weight: 850;
  text-align: center;
  transition: color 220ms 440ms ease;
}

.filter-tabs span:first-of-type,
.story-act-catalog.is-visible .filter-tabs span:nth-of-type(2) {
  color: #fff;
}

.story-act-catalog.is-visible .filter-tabs span:first-of-type {
  color: #11110f;
}

.filter-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.filter-results article {
  min-width: 0;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 6px;
  border-radius: 12px;
  background: #202027;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 320ms 680ms ease, transform 480ms 680ms cubic-bezier(0.16, 1, 0.3, 1);
}

.filter-results article:nth-child(2) { transition-delay: 760ms; }
.story-act-catalog.is-visible .filter-results article { opacity: 1; transform: none; }

.filter-results img {
  width: 48px;
  aspect-ratio: 0.84;
  border-radius: 8px;
  object-fit: cover;
}

.filter-results article > span {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.filter-results b {
  overflow: hidden;
  font-size: 8px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.filter-results small {
  color: #dfff66;
  font-size: 11px;
  font-weight: 850;
}

@keyframes filter-cursor {
  50% { opacity: 0; }
}

/* Story 03: one exact product moves from Hacoo Catalog to its Hacoo page. */
.direct-graphic {
  min-height: 270px;
  align-self: center;
  grid-column: 1;
  grid-row: 2;
  display: grid;
  grid-template-columns: minmax(170px, 1fr) 64px minmax(150px, 0.8fr);
  align-items: center;
  gap: 14px;
  padding-inline: clamp(2px, 1vw, 12px);
}

.direct-app-card,
.direct-hacoo-card {
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background: #242425;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.26);
}

.direct-app-head,
.direct-hacoo-card > em {
  padding: 0 2px 9px;
}

.direct-app-head b,
.direct-hacoo-card > em span {
  font-size: 9px;
  font-style: normal;
  letter-spacing: -0.02em;
}

.direct-app-head span,
.direct-hacoo-card > em b {
  color: rgba(255, 255, 255, 0.52);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.direct-app-body,
.direct-hacoo-card {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
}

.direct-app-head,
.direct-hacoo-card > em {
  grid-column: 1 / -1;
}

.direct-app-body img,
.direct-hacoo-card > img {
  width: 78px;
  aspect-ratio: 0.82;
  border-radius: 13px;
  object-fit: cover;
}

.direct-app-body > span,
.direct-hacoo-card > span {
  min-width: 0;
  display: grid;
  gap: 7px;
}

.direct-app-body > span b,
.direct-hacoo-card > span b {
  overflow: hidden;
  font-size: 10px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.direct-app-body small,
.direct-hacoo-card small {
  color: #dfff66;
  font-size: 13px;
  font-weight: 850;
}

.direct-app-body i {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: #dfff66;
  color: #11110f;
  font-size: 7px;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.direct-transfer {
  position: relative;
  display: grid;
  align-items: center;
}

.direct-transfer i {
  height: 2px;
  background: rgba(255, 255, 255, 0.12);
}

.direct-transfer i::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: #dfff66;
  box-shadow: 0 0 22px rgba(223, 255, 102, 0.46);
  content: "";
  transition: width 520ms 280ms cubic-bezier(0.65, 0, 0.35, 1);
}

.direct-transfer b {
  position: absolute;
  right: -1px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #dfff66;
  color: #11110f;
  font-size: 13px;
  opacity: 0;
  transform: translateX(-22px) scale(0.68);
  transition: opacity 260ms 560ms ease, transform 420ms 560ms cubic-bezier(0.16, 1, 0.3, 1);
}

.story-act-route.is-visible .direct-transfer i::before { width: 100%; }
.story-act-route.is-visible .direct-transfer b { opacity: 1; transform: none; }

.direct-hacoo-card {
  border-color: rgba(223, 255, 102, 0.28);
  opacity: 0;
  transform: translateX(24px) scale(0.96);
  transition: opacity 360ms 640ms ease, transform 560ms 640ms cubic-bezier(0.16, 1, 0.3, 1);
}

.story-act-route.is-visible .direct-hacoo-card {
  opacity: 1;
  transform: none;
}

.direct-hacoo-card > em b {
  color: #dfff66;
  font-size: 13px;
}

/* Promo */
.promo-section {
  padding-block: clamp(110px, 11vw, 160px);
}

.promo-card {
  position: relative;
  min-height: 340px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.52fr);
  align-items: center;
  gap: clamp(40px, 8vw, 120px);
  padding: clamp(34px, 5vw, 68px);
  overflow: hidden;
  border-radius: clamp(26px, 3vw, 42px);
  border: 1px solid rgba(255, 255, 255, 0.11);
  background:
    radial-gradient(circle at 84% 16%, rgba(91, 108, 255, 0.23), transparent 34%),
    linear-gradient(145deg, #151624 0%, #0b0b0a 64%);
  color: #f7f5ed;
  box-shadow: 0 34px 90px rgba(11, 11, 10, 0.2);
}

.promo-card::before {
  position: absolute;
  top: -240px;
  left: -180px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(92, 108, 255, 0.42), transparent 68%);
  content: "";
}

.promo-card::after {
  position: absolute;
  inset: 0 0 0 52%;
  background-image: radial-gradient(rgba(255, 255, 255, 0.13) 0.7px, transparent 0.7px);
  background-size: 14px 14px;
  content: "";
  opacity: 0.28;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 28%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 28%, transparent);
}

.promo-copy {
  position: relative;
  z-index: 2;
}

.promo-card .eyebrow-light {
  color: #fff;
}

.promo-copy h2 {
  max-width: 9ch;
  margin-top: 20px;
  font-size: clamp(54px, 6.6vw, 92px);
  font-weight: 700;
  letter-spacing: -0.07em;
  line-height: 0.9;
}

.promo-copy h2 span,
.promo-copy h2 small {
  display: block;
}

.promo-copy h2 small {
  margin-top: 10px;
  color: #8f9bff;
  font-family: var(--font);
  font-size: 0.42em;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
}

.promo-copy > p[data-promo-description] {
  max-width: 510px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.7;
}

.promo-action {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 12px;
}

.promo-code {
  position: relative;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 13px 12px 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  background: #f4f1e9;
  color: #11110f;
  text-align: left;
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.24);
  transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.promo-code:hover {
  background: #fff;
  transform: translateY(-2px);
}

.promo-code::before,
.promo-code::after {
  position: absolute;
  top: 50%;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #0d0d10;
  content: "";
  transform: translateY(-50%);
}

.promo-code::before {
  left: -9px;
}

.promo-code::after {
  right: -9px;
}

.promo-code-value {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.promo-code-value small {
  color: #686860;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.promo-code-value b {
  overflow: hidden;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.promo-copy-action {
  min-width: 104px;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding-inline: 13px;
  border-radius: 15px;
  background: #11110f;
  color: #fff;
}

.promo-copy-action i {
  position: relative;
  width: 13px;
  height: 14px;
  border: 1.5px solid currentColor;
  border-radius: 3px;
}

.promo-copy-action i::after {
  position: absolute;
  top: -5px;
  left: 3px;
  width: 9px;
  height: 10px;
  border: 1.5px solid currentColor;
  border-radius: 3px;
  background: #11110f;
  content: "";
}

.promo-copy-action small {
  font-size: 10px;
  font-weight: 800;
}

.promo-code.is-copied {
  background: var(--acid);
  box-shadow: 0 20px 60px rgba(223, 255, 102, 0.22);
}

.promo-action .promo-terms {
  color: rgba(255, 255, 255, 0.52);
  font-size: 10px;
  line-height: 1.55;
}

/* FAQ */
.faq-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: clamp(54px, 9vw, 130px);
}

.faq-intro {
  position: sticky;
  top: 120px;
}

.faq-intro h2 {
  max-width: 8ch;
}

.faq-intro > p:last-child {
  max-width: 440px;
  margin-top: 30px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.7;
}

.faq-list {
  border-top: 1px solid var(--line-strong);
}

.faq-item {
  border-bottom: 1px solid var(--line-strong);
}

.faq-item summary {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.025em;
  list-style: none;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary > span:last-child {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 22px;
  font-weight: 400;
  transition: transform 220ms ease, background 180ms ease;
}

.faq-item[open] summary > span:last-child {
  background: var(--ink);
  color: var(--paper);
  transform: rotate(45deg);
}

.faq-item p {
  max-width: 620px;
  padding: 0 58px 30px 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.75;
}

/* Final */
.final-cta {
  position: relative;
  min-height: 720px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--black);
  color: #f7f5ed;
  text-align: center;
}

.final-cta::before,
.final-cta::after {
  position: absolute;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(143, 155, 255, 0.32);
  border-radius: 50%;
  content: "";
}

.final-cta::before {
  top: -320px;
  left: -160px;
}

.final-cta::after {
  right: -210px;
  bottom: -310px;
}

.final-inner {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
}

.final-inner h2 {
  max-width: 12ch;
  font-size: clamp(60px, 7.4vw, 108px);
}

.final-inner h2 em {
  display: block;
  color: #8f9bff;
}

.button-light {
  min-height: 64px;
  margin-top: 42px;
  padding-inline: 30px;
  background: #f7f5ed;
  color: #11110f;
}

.button-light:hover {
  background: var(--acid);
}

.final-inner > p:last-child {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Footer */
.site-footer {
  padding-block: 48px calc(52px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--black);
  color: #f7f5ed;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 48px;
}

.footer-wordmark {
  display: inline-block;
}

.footer-grid > div:first-child p {
  max-width: 560px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  line-height: 1.7;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 22px;
}

.footer-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
  font-weight: 700;
}

.footer-links a:hover {
  color: #fff;
}

/* Progressive motion: content stays visible until JS enables it. */
.motion-ready .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms ease, transform 750ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.motion-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.motion-ready .hero-title.is-visible {
  transition-delay: 70ms;
}

.motion-ready .hero-copy.is-visible {
  transition-delay: 130ms;
}

.motion-ready .hero-actions.is-visible,
.motion-ready .hero-proof.is-visible {
  transition-delay: 190ms;
}

.page-ready .hero-device {
  animation: device-enter 1100ms 80ms backwards cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes device-enter {
  from {
    opacity: 0;
    transform: translate3d(0, 74px, 0) rotateX(5deg) rotateY(-12deg) rotateZ(-2deg) scale(0.94);
  }
}

@keyframes device-glass-enter {
  from { opacity: 0; transform: translateX(-12%); }
  45% { opacity: 0.82; }
  to { opacity: 0.54; transform: none; }
}

/* Tablet */
@media (max-width: 980px) {
  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .desktop-nav {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-top: 64px;
  }

  .hero-copy-block {
    max-width: 720px;
  }

  .hero-title {
    max-width: 9.5ch;
  }

  .hero-stage {
    width: min(690px, 100%);
    height: 660px;
    margin-inline: auto;
  }

  .section-heading,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .section-heading > p {
    max-width: 640px;
  }

  .faq-intro h2 {
    max-width: 12ch;
  }

  .faq-intro {
    position: static;
  }

  .story-layout {
    grid-template-columns: 1fr;
  }

  .story-lead {
    position: static;
    max-width: 700px;
  }

}

/* Compact tablets need the product handoff on its own row. */
@media (min-width: 721px) and (max-width: 860px) {
  .story-act-route {
    min-height: 620px;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }

  .story-act-route .direct-graphic {
    width: 100%;
    grid-column: 1;
    grid-row: 2;
  }

  .story-act-route .story-act-copy {
    grid-column: 1;
    grid-row: 3;
  }
}

/* Mobile */
@media (max-width: 720px) {
  html {
    background: var(--paper);
    scroll-padding-top: 16px;
  }

  body {
    background: var(--paper);
    overscroll-behavior-y: none;
  }

  main {
    background: var(--paper);
  }

  body::before,
  body::after {
    display: none;
  }

  .shell {
    padding-inline: 15px;
  }

  .site-header {
    position: relative;
    inset: auto;
    z-index: 40;
    padding-top: env(safe-area-inset-top, 0px);
    overflow: visible;
    border-bottom-color: var(--line);
    background: var(--paper);
    color: var(--ink);
    box-shadow: none;
  }

  .header-inner {
    position: relative;
    min-height: 66px;
    gap: 8px;
  }

  .wordmark {
    color: var(--ink);
    font-size: 21px;
  }

  .wordmark-name b {
    color: var(--blue);
  }

  .header-actions {
    gap: 4px;
  }

  .lang-switch summary,
  .theme-button {
    width: 42px;
    height: 42px;
    border-color: var(--line);
    background: var(--paper-strong);
    color: var(--ink);
  }

  .header-cta {
    width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 0;
    background: var(--acid);
    color: #11110f;
    font-size: 18px;
    box-shadow: 0 9px 24px rgba(223, 255, 102, 0.16);
  }

  .header-cta span:first-child {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .lang-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 15px;
    right: 15px;
    width: auto;
    border-color: var(--line);
    background: var(--paper-strong);
    color: var(--ink);
  }

  .lang-switch {
    position: static;
  }

  .back-to-top {
    right: 15px;
    bottom: calc(86px + env(safe-area-inset-bottom, 0px));
    width: 52px;
    height: 52px;
    font-size: 22px;
  }

  .section {
    padding-block: 84px;
  }

  .section-heading {
    gap: 24px;
    margin-bottom: 38px;
  }

  .section-heading h2,
  .faq-intro h2,
  .final-inner h2 {
    margin-top: 14px;
    font-size: clamp(39px, 12vw, 58px);
    letter-spacing: -0.065em;
    line-height: 0.95;
  }

  .section-heading > p {
    font-size: 14px;
  }

  .hero {
    padding-top: 0;
  }

  .hero-layout {
    min-height: 0;
    gap: 18px;
    padding-block: 44px 34px;
  }

  .hero-title {
    max-width: 10ch;
    margin-top: 16px;
    font-size: clamp(44px, 12vw, 52px);
    line-height: 0.94;
  }

  .hero-copy {
    max-width: 38ch;
    margin-top: 22px;
    font-size: 14px;
    line-height: 1.62;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
    margin-top: 26px;
  }

  .button-primary {
    width: 100%;
    min-height: 58px;
  }

  .button-text {
    align-self: center;
    min-height: 44px;
  }

  .hero-proof {
    gap: 6px;
    margin-top: 20px;
    font-size: 10px;
    letter-spacing: 0;
    text-transform: none;
  }

  .hero-proof li::before {
    width: auto;
    height: auto;
    border-radius: 0;
    background: none;
    content: "·";
  }

  .hero-proof li:first-child::before {
    display: none;
  }

  .hero-stage {
    height: 620px;
    margin-top: 4px;
  }

  .hero-stage::before {
    inset: 5% -8% 3%;
    background:
      radial-gradient(circle at 50% 38%, color-mix(in srgb, var(--blue) 31%, var(--paper)) 0%, color-mix(in srgb, var(--blue) 13%, var(--paper)) 44%, transparent 72%);
  }

  .hero-stage::after {
    bottom: 3%;
    width: min(330px, 88%);
    height: 42px;
    opacity: 0.62;
  }

  .hero-device {
    width: min(304px, 88vw);
  }

  .latest-section {
    padding-block: 96px 84px;
  }

  .latest-section .section-heading {
    gap: 20px;
    margin-bottom: 30px;
  }

  .latest-section .section-heading h2 {
    max-width: 11ch;
    font-size: clamp(38px, 11vw, 44px);
    line-height: 0.98;
  }

  .latest-section .section-heading > p {
    max-width: 32ch;
    line-height: 1.65;
  }

  .carousel-toolbar {
    display: grid;
    grid-template-columns: auto minmax(52px, 1fr) auto;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
  }

  .carousel-position {
    display: flex;
    align-items: baseline;
    gap: 5px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
  }

  .carousel-position strong {
    color: var(--ink);
    font-size: 18px;
    letter-spacing: -0.04em;
  }

  .carousel-progress {
    height: 2px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--line);
  }

  .carousel-progress i {
    width: 25%;
    height: 100%;
    display: block;
    border-radius: inherit;
    background: var(--blue-action);
    transform: scaleX(1);
    transform-origin: left;
    transition: width 280ms cubic-bezier(0.2, 0.8, 0.2, 1);
  }

  .carousel-controls {
    display: flex;
    gap: 7px;
  }

  .carousel-controls button {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--paper-strong);
    color: var(--ink);
    font-size: 16px;
    transition: opacity 180ms ease, transform 180ms ease, background 180ms ease;
  }

  .carousel-controls button:last-child {
    border-color: var(--ink);
    background: var(--ink);
    color: var(--paper);
  }

  .carousel-controls button:active {
    transform: scale(0.94);
  }

  .carousel-controls button:disabled {
    opacity: 0.28;
  }

  .product-rail {
    display: flex;
    gap: 12px;
    margin-inline: -15px;
    padding: 2px 15px 14px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-padding-inline: 15px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .product-rail::-webkit-scrollbar {
    display: none;
  }

  .product-card {
    width: min(78vw, 292px);
    flex: 0 0 min(78vw, 292px);
    padding: 7px;
    border-radius: 25px;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .product-media {
    border-radius: 19px;
  }

  .product-info {
    gap: 8px;
    padding: 15px 10px 10px;
  }

  .product-info > small {
    font-size: 8px;
  }

  .product-info > b {
    min-height: 2.5em;
    font-size: 15px;
  }

  .product-info strong {
    font-size: 25px;
  }

  .product-info i {
    width: 40px;
    height: 40px;
    font-size: 15px;
  }

  .rail-footer {
    align-items: stretch;
    flex-direction: column;
    margin-top: 24px;
  }

  .rail-footer .button {
    width: 100%;
  }

  .editorial-story {
    padding-block: 88px;
  }

  .story-lead h2 {
    margin-top: 16px;
    font-size: clamp(42px, 12vw, 50px);
    line-height: 0.98;
  }

  .story-lead > p:nth-of-type(2) {
    margin-top: 24px;
    font-size: 14px;
  }

  .story-index {
    display: none;
  }

  .story-acts {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 46px;
  }

  .story-act,
  .story-act:nth-child(2),
  .story-act:nth-child(3) {
    position: relative;
    top: auto;
    min-height: 550px;
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(250px, 1fr) auto;
    gap: 22px;
    padding: 22px;
    border-radius: 28px;
  }

  .story-act h3 {
    max-width: 12ch;
    font-size: clamp(32px, 9.4vw, 39px);
  }

  .story-act p {
    margin-top: 14px;
    font-size: 13px;
  }

  .compare-graphic {
    min-height: 268px;
    grid-template-columns: minmax(0, 1fr) 32px minmax(100px, 0.72fr);
    gap: 7px;
  }

  .compare-panel > span {
    min-height: 32px;
    margin-bottom: 7px;
    font-size: 9px;
    letter-spacing: 0.05em;
    line-height: 1.25;
    opacity: 0.82;
  }

  .compare-feed-cloud {
    min-height: 190px;
    border-radius: 19px;
  }

  .compare-feed-cloud figure {
    width: clamp(46px, 16vw, 58px);
    border-radius: 10px;
  }

  .compare-transfer b {
    width: 22px;
    height: 22px;
    font-size: 11px;
  }

  .compare-catalog {
    padding: 8px;
    border-radius: 19px;
  }

  .compare-selected {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .compare-selected figure {
    height: 54px;
    aspect-ratio: auto;
    border-radius: 9px;
  }

  .compare-selected figure span {
    width: 16px;
    height: 16px;
    font-size: 7px;
  }

  .filter-graphic {
    min-height: 270px;
  }

  .filter-demo {
    width: 100%;
    padding: 13px;
    border-radius: 21px;
  }

  .story-act-route {
    min-height: 650px;
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(350px, 1fr) auto;
  }

  .story-act-route .story-act-top {
    grid-column: 1;
    grid-row: 1;
  }

  .story-act-route .direct-graphic {
    min-height: 350px;
    grid-column: 1;
    grid-row: 2;
    grid-template-columns: 1fr;
    grid-template-rows: auto 50px auto;
    justify-items: center;
    gap: 12px;
    padding: 0;
  }

  .story-act-route .story-act-copy {
    grid-column: 1;
    grid-row: 3;
  }

  .direct-app-card,
  .direct-hacoo-card {
    width: min(258px, 100%);
  }

  .direct-transfer {
    width: 2px;
    height: 50px;
  }

  .direct-transfer > i {
    width: 2px;
    height: 50px;
  }

  .direct-transfer > i::before {
    inset: 0 0 auto;
    width: 2px;
    height: 0;
    transition: height 500ms 280ms cubic-bezier(0.65, 0, 0.35, 1);
  }

  .story-act-route.is-visible .direct-transfer > i::before {
    width: 2px;
    height: 100%;
  }

  .direct-transfer b {
    top: auto;
    right: 50%;
    bottom: -1px;
    transform: translate(50%, -18px) rotate(90deg) scale(0.68);
  }

  .story-act-route.is-visible .direct-transfer b {
    transform: translateX(50%) rotate(90deg);
  }

  .direct-hacoo-card {
    transform: translateY(24px) scale(0.96);
  }

  .promo-card {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 30px 22px 24px;
    border-radius: 32px;
    background:
      radial-gradient(circle at 88% 8%, rgba(120, 134, 255, 0.32), transparent 31%),
      radial-gradient(circle at 8% 100%, rgba(223, 255, 102, 0.08), transparent 34%),
      linear-gradient(150deg, #181a2d 0%, #0b0b0a 64%);
    box-shadow: 0 30px 74px rgba(11, 11, 10, 0.22);
  }

  .promo-card::before {
    top: -280px;
    left: -250px;
  }

  .promo-card::after {
    inset: 42% -20% 0 32%;
    opacity: 0.22;
  }

  .promo-section {
    padding-block: 96px 76px;
  }

  .promo-copy h2 {
    max-width: none;
    margin-top: 18px;
    font-size: clamp(50px, 14.5vw, 64px);
    line-height: 0.88;
  }

  .promo-copy h2 small {
    margin-top: 12px;
    font-size: 0.36em;
  }

  .promo-copy > p[data-promo-description] {
    margin-top: 22px;
    font-size: 13px;
    line-height: 1.65;
  }

  .promo-code {
    width: 100%;
    min-height: 104px;
    gap: 10px;
    padding: 13px 13px 13px 20px;
  }

  .promo-code-value {
    gap: 7px;
  }

  .promo-code-value b {
    font-size: clamp(19px, 6vw, 23px);
  }

  .promo-copy-action {
    min-width: 86px;
    min-height: 72px;
    flex-direction: column;
    gap: 8px;
    padding-inline: 10px;
  }

  .promo-copy-action small {
    font-size: 9px;
  }

  .promo-action .promo-terms {
    padding-inline: 3px;
    font-size: 9px;
    line-height: 1.6;
  }

  .faq-layout {
    gap: 42px;
  }

  .faq-intro > p:last-child {
    margin-top: 22px;
  }

  .faq-item summary {
    min-height: 76px;
    font-size: 15px;
  }

  .faq-item summary > span:last-child {
    width: 36px;
    height: 36px;
  }

  .faq-item p {
    padding: 0 42px 24px 0;
    font-size: 13px;
  }

  .final-cta {
    min-height: 620px;
  }

  .final-inner h2 {
    font-size: clamp(46px, 12vw, 58px);
  }

  .button-light {
    width: 100%;
    min-height: 60px;
    margin-top: 34px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-links {
    justify-content: flex-start;
    gap: 4px 18px;
  }

}

@media (max-width: 720px) and (min-height: 720px) and (prefers-reduced-motion: no-preference) {
  .story-acts .story-act {
    position: sticky;
    top: calc(76px + env(safe-area-inset-top, 0px));
  }

  .story-acts .story-act:nth-child(1) { z-index: 1; }
  .story-acts .story-act:nth-child(2) { z-index: 2; }
  .story-acts .story-act:nth-child(3) { z-index: 3; }
}

@media (max-width: 380px) {
  .hero-title {
    font-size: 44px;
  }

  .hero-copy {
    font-size: 13px;
  }

  .hero-proof {
    font-size: 8px;
  }

  .hero-stage {
    height: 610px;
  }
}

@media (max-height: 560px) and (orientation: landscape) {
  .hero-layout {
    min-height: 620px;
  }

}

@media (hover: none) {
  .product-card:hover {
    transform: none;
  }
}

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

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

  .motion-ready .reveal {
    opacity: 1;
    transform: none;
  }
}
