/* SĒNS — sens.kz. Static site, no framework. Dark theme only (as the app). */

@font-face { font-family: "Comfortaa"; src: url("/assets/fonts/Comfortaa-Light.ttf") format("truetype"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Comfortaa"; src: url("/assets/fonts/Comfortaa-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Comfortaa"; src: url("/assets/fonts/Comfortaa-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Comfortaa"; src: url("/assets/fonts/Comfortaa-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Comfortaa"; src: url("/assets/fonts/Comfortaa-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Nova Round"; src: url("/assets/fonts/NovaRound-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("/assets/fonts/CormorantGaramond-MediumItalic.ttf") format("truetype"); font-weight: 500; font-style: italic; font-display: swap; }

:root {
  --bg: #05080c;
  --bg-2: #0b1018;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.64);
  --dim: rgba(255, 255, 255, 0.42);
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --glass: rgba(255, 255, 255, 0.05);
  --accent: #3a8acb;
  --accent-2: #6fb6f0;
  --accent-glow: rgba(58, 138, 203, 0.45);

  --sleep: #8f86f5;
  --heart: #f05c70;
  --energy: #f5a623;
  --stress: #e8c15a;
  --activity: #4aa3e0;
  --nutrition: #45c48a;
  --cycle: #e68ab8;
  --health: #35b9b4;
  --ai: #9db7ff;

  --font: "Comfortaa", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --brand: "Nova Round", var(--font);

  --radius: 24px;
  --radius-lg: 32px;
  --container: 1180px;
  --gutter: 20px;
  --nav-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, textarea { font: inherit; color: inherit; }
em { font-family: var(--serif); font-style: italic; font-weight: 500; }
.wordmark { font-family: var(--brand); font-weight: 400; letter-spacing: 0.06em; }
.ic { width: 1.25em; height: 1.25em; flex: none; }

.skip-link { position: absolute; left: -999px; top: 0; }
.skip-link:focus { left: 16px; top: 16px; z-index: 100; background: #fff; color: #000; padding: 8px 12px; border-radius: 8px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: center;
  padding: 0 var(--gutter);
  pointer-events: none;
}
.nav > * { pointer-events: auto; }
.nav-pill {
  display: flex; align-items: center; gap: 4px;
  margin-top: 16px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.2), 0 10px 40px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(60px) saturate(1.2);
  -webkit-backdrop-filter: blur(60px) saturate(1.2);
}
.nav-pill a {
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px; font-weight: 500;
  color: rgba(255, 255, 255, 0.84);
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.nav-pill a:hover { color: #fff; background: rgba(255, 255, 255, 0.07); }
.nav-pill a + a::before { content: ""; }
.nav-pill .nav-logo { padding: 0; margin: 0 8px; }
.nav-pill .nav-logo img { width: 40px; height: 40px; border-radius: 12px; box-shadow: 0 2px 12px rgba(0, 0, 0, 0.5); }
.nav-pill .nav-logo:hover { background: none; }

.nav-brand, .nav-toggle, .mobile-menu { display: none; }
.nav-lang {
  position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); margin-top: 8px;
  display: flex; gap: 2px; padding: 4px;
  border-radius: 999px; background: var(--glass); border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(60px); -webkit-backdrop-filter: blur(60px);
}
.nav-lang a {
  padding: 6px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--dim);
}
.nav-lang a[aria-current="true"] { color: #fff; background: rgba(255, 255, 255, 0.1); }
.nav-lang a:hover { color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; line-height: 1; cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s, opacity .2s;
}
.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, #5ea7e6 0%, var(--accent) 100%);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 10px 30px var(--accent-glow), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 36px var(--accent-glow), inset 0 1px 0 rgba(255, 255, 255, 0.4); }
.btn-primary:disabled { opacity: .6; cursor: default; transform: none; }
.btn-block { width: 100%; }

.pill {
  display: inline-flex; align-items: center;
  padding: 8px 16px; border-radius: 999px;
  font-size: 13px; font-weight: 600; color: var(--accent-2);
  background: rgba(58, 138, 203, 0.12); border: 1px solid rgba(111, 182, 240, 0.25);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: calc(var(--nav-h) + 72px); overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 620px at 50% -12%, rgba(78, 150, 220, 0.42), rgba(40, 90, 150, 0.16) 45%, transparent 72%),
    radial-gradient(520px 320px at 50% -8%, rgba(160, 210, 255, 0.32), transparent 70%),
    linear-gradient(180deg, #0a1220 0%, var(--bg) 70%);
}
.hero-dust { position: absolute; inset: 0; width: 100%; height: 100%; }

.hero-inner { text-align: center; }
.hero-title {
  font-size: clamp(2.5rem, 6.4vw, 5.4rem);
  font-weight: 600; line-height: 1.05; letter-spacing: -0.02em;
  display: flex; flex-direction: column; gap: .05em;
}
.hero-title em { font-size: 1.22em; letter-spacing: 0; color: #fff; }
.hero-title .wordmark { font-size: .94em; letter-spacing: .08em; }
.hero-line { display: block; animation: blur-in 1.1s cubic-bezier(.2,.7,.2,1) both; }
.hero-line-1 { animation-delay: .05s; }
.hero-line-2 { animation-delay: .25s; }
@keyframes blur-in {
  from { opacity: 0; filter: blur(14px); transform: translateY(14px); }
  to { opacity: 1; filter: blur(0); transform: translateY(0); }
}
.hero-text {
  max-width: 560px; margin: 28px auto 0;
  font-size: 17px; color: var(--muted);
}
.hero-actions { margin-top: 32px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.hero-note { font-size: 13px; color: var(--dim); }

/* Stage: metric cards marquee with the phone rising over it. */
.hero-stage {
  position: relative; margin-top: 64px; height: 560px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 72%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 72%, transparent 100%);
}
.cards-marquee {
  position: absolute; left: 0; right: 0; top: 70px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.cards-track { display: flex; gap: 18px; width: max-content; animation: marquee 48s linear infinite; }
.cards-marquee:hover .cards-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

.mcard {
  --c: var(--accent);
  position: relative; width: 268px; height: 196px; flex: none;
  padding: 18px 20px; border-radius: 22px;
  background: linear-gradient(160deg, color-mix(in srgb, var(--c) 26%, #121821) 0%, color-mix(in srgb, var(--c) 8%, #0b0f16) 100%);
  border: 1px solid color-mix(in srgb, var(--c) 32%, transparent);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.09);
  overflow: hidden;
}
.mcard-sleep { --c: var(--sleep); } .mcard-heart { --c: var(--heart); } .mcard-energy { --c: var(--energy); }
.mcard-stress { --c: var(--stress); } .mcard-activity { --c: var(--activity); } .mcard-nutrition { --c: var(--nutrition); }
.mcard-cycle { --c: var(--cycle); } .mcard-health { --c: var(--health); }
.mcard-head { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: color-mix(in srgb, var(--c) 70%, #fff); }
.mcard-value { margin-top: 10px; font-size: 30px; font-weight: 700; letter-spacing: -0.02em; line-height: 1; }
.mcard-value small { font-size: 13px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.mcard-sub { margin-top: 6px; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mcard-chart { position: absolute; left: 20px; right: 20px; bottom: 16px; height: 40px; color: var(--c); }
.mcard-chart .ch { width: 100%; height: 100%; display: block; }
.ch-sleep .st-d { fill: var(--sleep); } .ch-sleep .st-r { fill: #b7b0ff; } .ch-sleep .st-l { fill: rgba(143, 134, 245, 0.45); }

.hero-phone {
  position: absolute; left: 50%; top: 0; transform: translateX(-50%);
  width: 380px;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.6));
  animation: rise 1.2s cubic-bezier(.2,.7,.2,1) .35s both;
}
@keyframes rise { from { opacity: 0; transform: translate(-50%, 60px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* ---------- Sections ---------- */
.section { padding: 110px 0; }
.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head .pill { margin-bottom: 22px; }
.section-head h2 {
  font-size: clamp(2rem, 4.6vw, 3.6rem); font-weight: 600; line-height: 1.08; letter-spacing: -0.02em;
}
.section-head h2 em { font-size: 1.2em; }
.section-head p { margin-top: 18px; font-size: 17px; color: var(--muted); }

.panel {
  padding: 72px 48px;
  border-radius: 40px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* Bento grid of feature cards */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.fcard {
  --c: var(--accent);
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: border-color .25s, background .25s, transform .25s;
}
.fcard:hover { border-color: var(--line-strong); background: var(--surface-2); transform: translateY(-2px); }
.fcard-big { grid-column: span 3; display: flex; flex-direction: column; }
.fcard-small { grid-column: span 2; padding: 26px 26px 28px; }
.fcard h3 { font-size: 19px; font-weight: 600; line-height: 1.3; display: flex; align-items: center; gap: 10px; }
.fcard p { margin-top: 10px; font-size: 15px; color: var(--muted); }
.fcard-body { padding: 24px 28px 30px; }
.fcard-body h3 .ic { color: var(--c); }
.fcard-icon {
  width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: 18px;
  border-radius: 14px; color: var(--c);
  background: color-mix(in srgb, var(--c) 16%, transparent); border: 1px solid color-mix(in srgb, var(--c) 30%, transparent);
}
.fcard-sleep { --c: var(--sleep); } .fcard-heart { --c: var(--heart); } .fcard-energy { --c: var(--energy); }
.fcard-stress { --c: var(--stress); } .fcard-activity { --c: var(--activity); } .fcard-nutrition { --c: var(--nutrition); }
.fcard-cycle { --c: var(--cycle); } .fcard-ai { --c: var(--ai); }

.fcard-demo {
  flex: 1; min-height: 270px; padding: 28px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--c) 18%, #0d1219) 0%, rgba(13, 18, 25, 0) 100%);
  border-bottom: 1px solid var(--line);
}
.demo-sleep-score { display: flex; align-items: baseline; justify-content: space-between; }
.demo-label { font-size: 13px; font-weight: 600; color: var(--muted); }
.demo-score { font-size: 54px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; color: #fff; }
.demo-sleep-bars { display: flex; align-items: flex-end; gap: 6px; height: 72px; margin-top: 22px; }
.demo-sleep-bars i {
  flex: 1; height: calc(var(--h) * 100%); border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--c) 90%, #fff), var(--c));
  opacity: .9;
}
.demo-sleep-rows { display: flex; gap: 18px; margin-top: 22px; }
.demo-sleep-rows li { display: flex; flex-direction: column; gap: 2px; font-size: 12px; color: var(--muted); }
.demo-sleep-rows b { font-size: 15px; color: #fff; font-weight: 600; }

.demo-ai { display: flex; flex-direction: column; gap: 12px; justify-content: center; }
.bubble { max-width: 92%; padding: 14px 16px; border-radius: 18px; font-size: 14px; line-height: 1.5; }
.bubble-q { align-self: flex-end; background: rgba(58, 138, 203, 0.32); border: 1px solid rgba(111, 182, 240, 0.35); border-bottom-right-radius: 6px; }
.bubble-a {
  align-self: flex-start; display: flex; gap: 10px; align-items: flex-start;
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); border-bottom-left-radius: 6px; color: rgba(255, 255, 255, 0.88);
}
.bubble-a .ic { color: var(--ai); margin-top: 2px; }

/* Product */
.section-product { position: relative; }
.product-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.product-visual { position: relative; display: grid; place-items: center; min-height: 420px; }
.product-visual img { width: min(100%, 460px); position: relative; filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.7)); animation: float 7s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-14px) rotate(1deg); } }
.product-glow {
  position: absolute; inset: 10%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(90, 160, 230, 0.35), rgba(90, 160, 230, 0.08) 60%, transparent 75%);
}
.specs { display: grid; gap: 14px; }
.specs li {
  display: flex; gap: 16px; align-items: center; padding: 18px 20px;
  border-radius: 20px; background: var(--surface); border: 1px solid var(--line);
  font-size: 14px; color: var(--muted);
}
.specs b { font-size: 16px; color: #fff; font-weight: 600; }
.spec-icon {
  width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 14px;
  color: var(--accent-2); background: rgba(58, 138, 203, 0.14); border: 1px solid rgba(111, 182, 240, 0.25);
}

/* App screens: alternating phone + headline rows, like the reference's "How it works". */
.section-screens .section-head { margin-bottom: 20px; }
.screen-rows { display: grid; gap: 24px; }
.screen-row {
  --c: var(--accent);
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center;
  min-height: 560px; padding: 24px 0;
}
.screen-row.is-flipped .screen-device { order: 2; }
.screen-row-sleep { --c: var(--sleep); } .screen-row-heart { --c: var(--heart); } .screen-row-energy { --c: var(--energy); }
.screen-row-stress { --c: var(--stress); } .screen-row-activity { --c: var(--activity); } .screen-row-nutrition { --c: var(--nutrition); }
.screen-device { position: relative; display: grid; place-items: center; }
.screen-glow {
  position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; z-index: 0;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--c) 38%, transparent), transparent 72%);
}
.device {
  position: relative; z-index: 1; width: min(100%, 300px);
  border-radius: 54px; padding: 10px; background: #0d0f14;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.65), inset 0 0 0 1px rgba(0, 0, 0, 0.8), inset 0 0 0 3px #1e222b;
}
.device img, .device .screen-placeholder { width: 100%; border-radius: 44px; display: block; }
.device .screen-placeholder { aspect-ratio: 720 / 1565; }
.screen-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  background: radial-gradient(120% 80% at 50% 0%, color-mix(in srgb, var(--c) 35%, #0b0f16), #0b0f16 70%);
  color: color-mix(in srgb, var(--c) 70%, #fff); font-size: 13px; font-weight: 600;
}
.screen-placeholder .ic { width: 34px; height: 34px; }
.screen-copy { max-width: 520px; }
.screen-kind {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px;
  padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; color: color-mix(in srgb, var(--c) 75%, #fff);
  background: color-mix(in srgb, var(--c) 14%, transparent); border: 1px solid color-mix(in srgb, var(--c) 30%, transparent);
}
.screen-copy h3 { font-size: clamp(1.7rem, 3.4vw, 2.7rem); font-weight: 600; line-height: 1.1; letter-spacing: -0.02em; }
.screen-copy h3 em { font-size: 1.18em; }
.screen-copy p { margin-top: 16px; font-size: 16px; color: var(--muted); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step {
  padding: 30px 28px 32px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
}
.step-num { font-family: var(--serif); font-size: 44px; line-height: 1; color: var(--accent-2); }
.step h3 { margin-top: 18px; font-size: 20px; font-weight: 600; }
.step p { margin-top: 10px; font-size: 15px; color: var(--muted); }

/* Pre-order */
.preorder-card {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center;
  padding: 56px; border-radius: 40px;
  background:
    radial-gradient(700px 420px at 100% 0%, rgba(58, 138, 203, 0.22), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line-strong);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 30px 80px rgba(0, 0, 0, 0.4);
}
.preorder-copy h2 { margin-top: 20px; font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 600; line-height: 1.08; letter-spacing: -0.02em; }
.preorder-copy h2 em { font-size: 1.2em; }
.preorder-copy p { margin-top: 16px; font-size: 16px; color: var(--muted); }
.checks { margin-top: 26px; display: grid; gap: 10px; }
.checks li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: rgba(255, 255, 255, 0.86); }
.checks .ic { color: var(--nutrition); }

.preorder-form { display: grid; gap: 14px; }
.preorder-form label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.preorder-form input, .preorder-form textarea {
  width: 100%; padding: 14px 16px; border-radius: 14px;
  background: rgba(0, 0, 0, 0.35); border: 1px solid var(--line-strong);
  color: #fff; font-size: 15px; outline: none; transition: border-color .2s, box-shadow .2s; resize: vertical;
}
.preorder-form input:focus, .preorder-form textarea:focus { border-color: var(--accent-2); box-shadow: 0 0 0 3px rgba(58, 138, 203, 0.25); }
.preorder-form ::placeholder { color: var(--dim); }
.preorder-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.preorder-form .btn { margin-top: 6px; }
.form-consent { font-size: 12px; color: var(--dim); text-align: center; }
.form-consent a { color: var(--muted); text-decoration: underline; }
.form-status { display: none; padding: 16px; border-radius: 14px; font-size: 14px; }
.form-status.is-success { display: block; background: rgba(69, 196, 138, 0.14); border: 1px solid rgba(69, 196, 138, 0.35); }
.form-status.is-error { display: block; background: rgba(240, 92, 112, 0.14); border: 1px solid rgba(240, 92, 112, 0.35); }
.form-status b { display: block; margin-bottom: 4px; }
.form-status a { text-decoration: underline; }
.preorder-form.is-done label, .preorder-form.is-done .btn, .preorder-form.is-done .form-consent { display: none; }

/* Download */
.section-download { padding-top: 0; }
.download-box {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center;
  padding: 56px; border-radius: 40px;
  background: radial-gradient(600px 300px at 0% 100%, rgba(58, 138, 203, 0.18), transparent 60%), var(--surface);
  border: 1px solid var(--line);
}
.download-copy h2 { margin-top: 20px; font-size: clamp(1.8rem, 3.6vw, 2.8rem); font-weight: 600; line-height: 1.1; letter-spacing: -0.02em; }
.download-copy h2 em { font-size: 1.2em; }
.download-copy p { margin-top: 14px; color: var(--muted); }
.store-buttons { display: grid; gap: 12px; }
.store-btn {
  display: flex; align-items: center; gap: 14px; padding: 14px 18px;
  border-radius: 16px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-strong);
  transition: background .2s, transform .2s;
}
.store-btn:hover { background: rgba(255, 255, 255, 0.1); transform: translateY(-1px); }
.store-btn .ic { width: 28px; height: 28px; }
.store-btn span { display: flex; flex-direction: column; font-size: 17px; font-weight: 600; line-height: 1.15; }
.store-btn small { font-size: 11px; font-weight: 500; color: var(--muted); }
.store-btn em { margin-left: auto; font-family: var(--font); font-style: normal; font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); color: var(--muted); }

/* ---------- Footer ---------- */
.footer { padding: 70px 0 36px; border-top: 1px solid var(--line); background: linear-gradient(180deg, var(--bg), #030508); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-grid a { display: block; margin-top: 10px; font-size: 14px; color: var(--muted); }
.footer-grid a:hover { color: #fff; }
.footer-brand .wordmark { font-size: 22px; color: #fff; }
.footer-brand p { margin-top: 14px; font-size: 14px; color: var(--muted); max-width: 320px; }
.footer-disclaimer { font-size: 12px !important; color: var(--dim) !important; }
.footer-title { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--dim); }
.footer-title-lang { margin-top: 26px; }
.footer-lang { display: flex; gap: 14px; }
.footer-lang a[aria-current="true"] { color: #fff; }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--dim); }

/* ---------- Legal pages ---------- */
.page-legal .hero-bg { display: none; }
.legal { padding: calc(var(--nav-h) + 72px) 0 100px; }
.legal-grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 56px; align-items: start; }
.legal-toc { position: sticky; top: 100px; }
.legal-toc-title { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--dim); margin-bottom: 12px; }
.legal-toc nav a { display: block; padding: 7px 0; font-size: 13px; color: var(--muted); border-left: 2px solid transparent; padding-left: 12px; margin-left: -12px; }
.legal-toc nav a:hover { color: #fff; }
.legal-toc nav a.is-active { color: #fff; border-color: var(--accent-2); }
.legal-other { display: inline-block; margin-top: 20px; font-size: 13px; color: var(--accent-2); }
.legal-body { max-width: 760px; font-size: 15.5px; line-height: 1.7; }
.legal-body h1 { margin-top: 22px; font-size: clamp(2rem, 4vw, 3rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
.legal-updated { margin-top: 12px; font-size: 13px; color: var(--dim); }
.legal-lead { margin-top: 24px; color: var(--muted); }
.legal-body h2 { margin-top: 48px; font-size: 24px; font-weight: 600; line-height: 1.25; scroll-margin-top: 100px; }
.legal-body h3 { margin-top: 26px; font-size: 16px; font-weight: 600; color: rgba(255, 255, 255, 0.9); }
.legal-body p { margin-top: 14px; color: rgba(255, 255, 255, 0.82); }
.legal-body ul { margin-top: 10px; padding-left: 20px; list-style: disc; color: rgba(255, 255, 255, 0.82); }
.legal-body li { margin-top: 6px; }
.legal-body strong { color: #fff; }
.legal-body a { color: var(--accent-2); text-decoration: underline; }
.legal-body hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }
.legal-footnote { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; }

/* ---------- Quick start (QR on the box → /start/) ---------- */
.page-start .hero-bg { height: 720px; }
.start-hero { position: relative; padding: calc(var(--nav-h) + 72px) 0 40px; text-align: center; }
.start-hero .pill { margin-bottom: 22px; }
.start-title { font-size: clamp(2.4rem, 6vw, 4.6rem); font-weight: 600; line-height: 1.05; letter-spacing: -0.02em; }
.start-title em { font-size: 1.2em; }
.start-text { max-width: 520px; margin: 22px auto 0; font-size: 17px; color: var(--muted); }
.start-steps { padding: 40px 0 20px; }
.steps-list { display: grid; gap: 18px; max-width: 920px; margin: 0 auto; counter-reset: step; }
.start-step {
  display: grid; grid-template-columns: 64px 1fr 200px; gap: 24px; align-items: center;
  padding: 30px 32px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.start-step-num {
  width: 56px; height: 56px; display: grid; place-items: center; border-radius: 18px;
  font-family: var(--serif); font-size: 32px; color: var(--accent-2);
  background: rgba(58, 138, 203, 0.14); border: 1px solid rgba(111, 182, 240, 0.25);
}
.start-step h2 { font-size: 22px; font-weight: 600; line-height: 1.25; }
.start-step p { margin-top: 10px; font-size: 15.5px; color: var(--muted); }
.start-tip {
  display: flex; gap: 10px; align-items: flex-start; margin-top: 14px !important;
  padding: 12px 14px; border-radius: 14px; font-size: 14px !important; color: rgba(255, 255, 255, 0.82) !important;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line);
}
.start-tip .ic { color: var(--accent-2); margin-top: 2px; }
.start-stores { margin-top: 16px; }
.start-stores .store-btn { display: inline-flex; }
.start-step-art { display: grid; place-items: center; min-height: 160px; }
.start-step-art img { width: 160px; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.6)); }
.start-step-art .art-wear { width: 200px; border-radius: 20px; }
.device-sm { width: 120px; border-radius: 26px; padding: 5px; }
.device-sm img { width: 100%; border-radius: 21px; filter: none; }
.art-pair { position: relative; display: grid; place-items: center; }
.art-pair .ic { position: absolute; width: 36px; height: 36px; color: var(--accent-2); right: 8px; top: 8px; filter: drop-shadow(0 0 12px var(--accent-glow)); }
.page-start .download-box .btn { justify-content: center; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: var(--delay, 0s); }
.reveal.visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .fcard-big { grid-column: span 2; }
  .fcard-small { grid-column: span 1; }
  .panel { padding: 56px 32px; }
}
@media (max-width: 900px) {
  .nav { justify-content: space-between; }
  .nav-pill, .nav-lang { display: none; }
  .nav-brand { display: block; margin-top: 12px; }
  .nav-brand img { width: 40px; height: 40px; border-radius: 12px; box-shadow: 0 4px 16px rgba(0,0,0,.5); }
  .nav-toggle {
    display: block; position: relative; margin-top: 12px; padding: 0;
    width: 44px; height: 44px; border-radius: 14px; border: 1px solid var(--line-strong);
    background: var(--glass); box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(60px); -webkit-backdrop-filter: blur(60px); cursor: pointer;
  }
  .nav-toggle span {
    position: absolute; left: 12px; top: 50%; width: 18px; height: 2px; margin-top: -1px;
    background: #fff; border-radius: 2px; transition: transform .25s;
  }
  .nav-toggle span:first-child { transform: translateY(-4px); }
  .nav-toggle span:last-child { transform: translateY(4px); }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }
  .mobile-menu {
    position: absolute; left: var(--gutter); right: var(--gutter); top: calc(var(--nav-h) + 4px);
    display: grid; gap: 4px; padding: 10px; border-radius: 22px;
    background: rgba(12, 16, 24, 0.7); border: 1px solid var(--line-strong);
    backdrop-filter: blur(60px); -webkit-backdrop-filter: blur(60px);
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.15), 0 20px 60px rgba(0,0,0,.6);
  }
  .mobile-menu[hidden] { display: none; }
  .mobile-menu a { padding: 12px 14px; border-radius: 14px; font-size: 16px; font-weight: 500; }
  .mobile-menu a:hover { background: rgba(255,255,255,.07); }
  .mobile-lang { display: flex; gap: 6px; padding: 8px 6px 2px; border-top: 1px solid var(--line); margin-top: 6px; }
  .mobile-lang a { padding: 8px 12px; font-size: 13px; font-weight: 600; color: var(--dim); }
  .mobile-lang a[aria-current="true"] { color: #fff; background: rgba(255,255,255,.1); }

  .section { padding: 80px 0; }
  .start-step { grid-template-columns: 56px 1fr; padding: 24px 20px; }
  .start-step-art { grid-column: 1 / -1; min-height: 0; justify-items: start; padding-left: 80px; }
  .start-step-art img, .start-step-art .art-wear { width: 140px; }
  .product-grid, .preorder-card, .download-box, .legal-grid { grid-template-columns: 1fr; }
  .preorder-card, .download-box { padding: 36px 24px; border-radius: 30px; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .legal-toc { position: static; }
  .legal-toc nav { display: flex; flex-wrap: wrap; gap: 4px 14px; }
  .legal-toc nav a { margin-left: 0; padding-left: 0; border: 0; }
  .screen-row, .screen-row.is-flipped { grid-template-columns: 1fr; gap: 28px; min-height: 0; text-align: center; }
  .screen-row.is-flipped .screen-device { order: 0; }
  .screen-copy { margin: 0 auto; }
  .device { width: min(100%, 260px); }
}
@media (max-width: 600px) {
  :root { --gutter: 16px; }
  .hero { padding-top: calc(var(--nav-h) + 48px); }
  .hero-title { font-size: clamp(2.2rem, 11vw, 3rem); }
  .hero-stage { height: 440px; margin-top: 48px; }
  .hero-phone { width: 290px; }
  .mcard { width: 220px; height: 172px; }
  .mcard-value { font-size: 26px; }
  .bento { grid-template-columns: 1fr; }
  .fcard-big, .fcard-small { grid-column: span 1; }
  .panel { padding: 40px 18px; border-radius: 28px; }
  .section-head { margin-bottom: 36px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .product-visual { min-height: 300px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-line, .hero-phone, .cards-track, .product-visual img { animation: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
