:root {
  --bg: #f5f8f8;
  --hero-a: #e3f4ee;
  --hero-b: #eef1fb;
  --surface: #ffffff;
  --surface-soft: rgba(255, 255, 255, .82);
  --ink: #101828;
  --muted: #475467;
  --subtle: #5b6577;
  --line: rgba(16, 24, 40, .08);
  --mint: #0f7a60;
  --mint-fill: #2fbf9b;
  --mint-tint: #ddf5ec;
  --sleep: #5546e8;
  --sleep-tint: #eeecfe;
  --heart: #d6234a;
  --heart-tint: #ffe8ec;
  --amber: #a85300;
  --amber-tint: #fff0e0;
  --btn: #101828;
  --btn-ink: #ffffff;
  --frame: #101318;
  --band: #0e1420;
  --shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 8px 24px rgba(16, 24, 40, .05);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0f16;
    --hero-a: #0f2a24;
    --hero-b: #181a36;
    --surface: #161b24;
    --surface-soft: rgba(28, 33, 44, .82);
    --ink: #f2f4f7;
    --muted: #b0b8c6;
    --subtle: #9aa4b2;
    --line: rgba(255, 255, 255, .09);
    --mint: #5fd8b5;
    --mint-tint: rgba(47, 191, 155, .16);
    --sleep: #a59cff;
    --sleep-tint: rgba(102, 88, 245, .2);
    --heart: #ff7d96;
    --heart-tint: rgba(255, 55, 95, .16);
    --amber: #ffb35c;
    --amber-tint: rgba(245, 158, 11, .16);
    --btn: #f2f4f7;
    --btn-ink: #0b0f16;
    --frame: #2a2f3a;
    --band: #121a29;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--mint); }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 24px; } }
.kicker { font-size: 14px; font-weight: 700; letter-spacing: .06em; color: var(--c, var(--mint)); }
h1, h2, h3 { letter-spacing: -.015em; }
h2 { font-size: clamp(28px, 4.4vw, 44px); line-height: 1.18; margin: 10px 0 14px; }
.lead { font-size: clamp(16px, 1.8vw, 18px); color: var(--muted); margin: 0 0 22px; }

/* Navigation */
.nav { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 84%, transparent); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 12px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; color: var(--ink); text-decoration: none; }
.logo img { width: 32px; height: 32px; border-radius: 8px; }
.nav-links { display: flex; align-items: center; gap: 2px; font-size: 15px; }
.nav-links a { color: var(--muted); text-decoration: none; padding: 0 12px; min-height: 44px; display: inline-flex; align-items: center; border-radius: 10px; }
.nav-links a:hover { color: var(--ink); background: var(--line); }
.nav-links .lang { color: var(--ink); border: 1px solid var(--line); min-height: 36px; margin-left: 6px; }
@media (max-width: 760px) { .nav-links .opt { display: none; } }

/* Buttons */
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 16px; font-weight: 600; font-size: 16px; text-decoration: none; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--btn); color: var(--btn-ink); }
.btn-ghost { background: var(--surface-soft); color: var(--ink); border: 1px solid var(--line); }
.btn-static { cursor: default; }
@media (max-width: 520px) { .cta .btn { flex: 1 1 100%; } }

/* Phone frame */
.phone { padding: 9px; border-radius: 48px; background: var(--frame); box-shadow: 0 28px 60px -20px rgba(16, 24, 40, .3); }
.phone img { width: 100%; border-radius: 39px; }
.phone.cut { padding-bottom: 0; border-radius: 48px 48px 0 0; box-shadow: none; }
.phone.cut img { border-radius: 39px 39px 0 0; height: var(--cut, 520px); object-fit: cover; object-position: top; }

/* Hero */
.hero { background: linear-gradient(160deg, var(--hero-a) 0%, var(--hero-b) 55%, var(--bg) 100%); overflow: hidden; }
.hero .wrap { display: grid; gap: 40px; align-items: center; padding-top: 48px; padding-bottom: 64px; }
@media (min-width: 960px) { .hero .wrap { grid-template-columns: 1fr 1fr; gap: 56px; padding-top: 88px; padding-bottom: 88px; } }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--mint); background: var(--surface-soft); border: 1px solid var(--line); padding: 6px 14px; border-radius: 999px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--mint-fill); }
h1 { font-size: clamp(40px, 7vw, 68px); line-height: 1.08; letter-spacing: -.02em; margin: 20px 0 16px; font-weight: 800; }
.hero .lead { font-size: clamp(17px, 2vw, 20px); max-width: 30em; margin-bottom: 30px; }
.note { margin: 14px 0 0; font-size: 14px; color: var(--subtle); }
.hero-art { position: relative; display: flex; justify-content: center; align-items: flex-end; min-height: 520px; }
.hero-art .back { position: absolute; left: 8%; top: 40px; width: 230px; transform: rotate(-6deg); }
.hero-art .front { position: relative; z-index: 1; width: 280px; margin-left: 120px; }
.hero-art .otter { position: absolute; z-index: 2; left: -2%; bottom: -28px; width: 220px; }
.hero-art .sprout { position: absolute; z-index: 2; right: 0; bottom: 6px; width: 112px; }
@media (max-width: 640px) {
  .hero-art { min-height: 0; }
  .hero-art .back { display: none; }
  .hero-art .front { width: min(250px, 66vw); margin-left: 0; }
  .hero-art .otter { width: 140px; left: -10px; bottom: -16px; }
  .hero-art .sprout { width: 80px; right: -4px; }
}

/* Pillars */
.pillars { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: -28px; position: relative; z-index: 2; }
@media (min-width: 900px) { .pillars { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
.pillar { background: var(--surface); border-radius: 22px; padding: 18px; box-shadow: var(--shadow); display: flex; gap: 14px; align-items: flex-start; }
@media (max-width: 520px) { .pillar { flex-direction: column; gap: 10px; padding: 16px; } }
.pillar strong { display: block; font-size: 17px; }
.pillar span { font-size: 14px; color: var(--subtle); }
.icon { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--t, var(--mint-tint)); color: var(--c, var(--mint)); }
.icon svg { width: 20px; height: 20px; }

/* Feature rows */
.section { padding: 64px 0 24px; }
@media (min-width: 900px) { .section { padding: 112px 0 32px; } }
.feature { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .feature { grid-template-columns: 1fr 1fr; gap: 64px; } .feature.flip > :first-child { order: 2; } }
.media { display: flex; justify-content: center; border-radius: 32px; padding: 48px 20px 0; overflow: hidden; background: var(--t, var(--sleep-tint)); }
.media .phone { width: min(290px, 74vw); }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; font-size: 16px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks svg { flex: none; width: 22px; height: 22px; margin-top: 2px; color: var(--mint); }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: end; }
.pair .art { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 26px; }
.pair .phone { padding: 7px; border-radius: 40px; }
.pair .phone img { border-radius: 33px; }
.callout { display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border-radius: 20px; padding: 18px 20px; box-shadow: var(--shadow); font-size: 15px; color: var(--muted); }
.callout strong { color: var(--ink); }

/* Watch band */
.band { background: var(--band); color: #f2f4f7; border-radius: 36px; overflow: hidden; display: grid; gap: 36px; align-items: center; padding: 48px 24px 0; }
@media (min-width: 900px) { .band { grid-template-columns: 1fr 1fr; padding: 72px 64px 0; } }
.band h2 { color: #ffffff; }
.band .lead { color: #b6bfcc; }
.band .kicker { color: #6ee7c4; }
.band .copy { padding-bottom: 8px; }
@media (min-width: 900px) { .band .copy { padding-bottom: 72px; } }
.chips { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; list-style: none; }
.chips li { padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .08); font-size: 14px; color: #e4e7ec; }
.band .phone { width: min(290px, 74vw); margin: 0 auto; background: #2a2f3a; }

/* Companions */
.center { text-align: center; max-width: 660px; margin: 0 auto 40px; }
.companions { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .companions { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .companions { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }
.companion { margin: 0; background: var(--surface); border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); }
.companion .pic { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; object-position: center 65%; }
.companion .otter-pic { aspect-ratio: 4 / 3; background: var(--mint-tint); display: flex; align-items: flex-end; justify-content: center; overflow: hidden; }
.companion .otter-pic img { width: 74%; margin-bottom: -6%; }
.companion figcaption { padding: 16px 20px 20px; }
.companion strong { display: block; font-size: 17px; }
.companion span { font-size: 14px; color: var(--subtle); }

/* Cards */
.split { display: grid; gap: 32px; }
@media (min-width: 1100px) { .split { grid-template-columns: 1fr 2fr; gap: 48px; } }
.cards { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card { background: var(--surface); border-radius: 24px; padding: 24px; box-shadow: var(--shadow); }
.card h3 { margin: 14px 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--subtle); font-size: 15px; }

/* Plans */
.plans { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .plans { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 24px; position: relative; }
.plan .name { font-weight: 700; font-size: 18px; }
.plan .sub { color: var(--subtle); font-size: 15px; margin-top: 6px; }
.plan.featured { background: var(--btn); color: var(--btn-ink); border-color: transparent; }
.plan.featured .sub { color: color-mix(in srgb, var(--btn-ink) 72%, transparent); }
.badge { position: absolute; top: 20px; right: 20px; padding: 3px 10px; border-radius: 999px; background: var(--mint-fill); color: #062b21; font-size: 12px; font-weight: 700; }
.fine { color: var(--subtle); font-size: 14px; margin: 18px 0 0; }
.fine.centered { text-align: center; }

/* Closing */
.closing { border-radius: 36px; background: linear-gradient(160deg, var(--hero-a) 0%, var(--hero-b) 100%); padding: 40px 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
@media (min-width: 900px) { .closing { padding: 64px 48px; } }
.closing .brand { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.closing img { width: 88px; height: 88px; border-radius: 20px; box-shadow: 0 10px 30px rgba(16, 24, 40, .12); }
.closing h2 { font-size: clamp(24px, 3.2vw, 34px); margin: 0 0 4px; }
.closing p { margin: 0; color: var(--muted); }

/* Footer */
footer { padding: 48px 0 56px; font-size: 14px; color: var(--subtle); }
footer .disclaimer { margin: 0 0 24px; max-width: 760px; font-size: 13px; }
footer .row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 24px; border-top: 1px solid var(--line); }
footer p { margin: 2px 0; }
footer nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
footer nav a { color: var(--muted); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
footer nav a:hover { color: var(--ink); }
footer strong { color: var(--ink); }
