:root {
  --coral: #ff4d6d;
  --sunset: #ff8e53;
  --ocean: #1e6fb8;
  --deep-sea: #0a2540;
  --foam: #e6f3fb;
  --sky: #6ec6ff;
  --text: #0a2540;
  --muted: #4b5d73;
  --bg: #ffffff;
  --surface: #f5f9fc;
  --border: #dbe7f1;
  --brand: linear-gradient(135deg, var(--coral), var(--sunset));
  --sea: linear-gradient(180deg, var(--sky), var(--ocean) 55%, var(--deep-sea));
  --radius: 20px;
  --shadow: 0 20px 50px rgba(10, 37, 64, 0.18);
  --max: 1120px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --text: #eef5fb;
    --muted: #a9bbcc;
    --bg: #07182b;
    --surface: #0d2238;
    --border: #1c3653;
    --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--ocean); }
@media (prefers-color-scheme: dark) { a { color: var(--sky); } }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.3rem, 5.5vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.wrap { width: min(100% - 32px, var(--max)); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--bg); padding: 8px 12px; border-radius: 8px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 5; backdrop-filter: saturate(180%) blur(12px); background: color-mix(in srgb, var(--bg) 82%, transparent); border-bottom: 1px solid var(--border); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.25rem; color: var(--text); text-decoration: none; }
.brand img { width: 34px; height: 34px; }
.nav { display: flex; gap: 22px; align-items: center; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.nav a:hover { color: var(--text); }
@media (max-width: 720px) { .nav .hide-sm { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 12px 22px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 0; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 10px 24px rgba(255, 77, 109, .35); }
.btn-ghost { background: rgba(255, 255, 255, .14); color: #fff; border: 1px solid rgba(255, 255, 255, .35); }
.btn small { display: block; font-weight: 500; font-size: .72rem; opacity: .85; line-height: 1; }
.btn .label { line-height: 1.15; text-align: left; }
.nav .btn { min-height: 40px; padding: 8px 16px; font-size: .9rem; color: #fff; }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--sea); color: #fff; padding: 72px 0 140px; }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 120px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0 60 Q150 20 300 60 T600 60 T900 60 T1200 60 V120 H0z' fill='%23ffffff' opacity='.12'/%3E%3Cpath d='M0 85 Q150 50 300 85 T600 85 T900 85 T1200 85 V120 H0z' fill='%23ffffff' opacity='.14'/%3E%3C/svg%3E") bottom / 100% 100% no-repeat; pointer-events: none; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; position: relative; z-index: 1; }
.hero p.lead { font-size: 1.2rem; color: var(--foam); max-width: 34em; }
.hero .eyebrow { display: inline-block; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .16); font-weight: 700; font-size: .85rem; margin-bottom: 18px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero .note { font-size: .9rem; color: var(--foam); opacity: .9; margin-top: 14px; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } .hero { padding-top: 48px; } }

/* Phone mockup */
.phone { width: min(300px, 80vw); margin-inline: auto; aspect-ratio: 9 / 18.5; border-radius: 42px; padding: 12px; background: #0b1b2d; box-shadow: var(--shadow), inset 0 0 0 2px rgba(255, 255, 255, .08); animation: bob 6s ease-in-out infinite; }
.screen { height: 100%; border-radius: 32px; overflow: hidden; background: var(--sea); display: flex; flex-direction: column; justify-content: flex-end; padding: 18px; gap: 12px; position: relative; }
.screen .top { position: absolute; top: 18px; left: 18px; right: 18px; display: flex; justify-content: space-between; align-items: center; color: #fff; font-weight: 800; }
.bottle-card { background: #fff; color: var(--deep-sea); border-radius: 22px; padding: 16px; box-shadow: 0 12px 30px rgba(0, 0, 0, .25); }
.bottle-card .who { display: flex; align-items: center; gap: 10px; font-weight: 700; margin-bottom: 10px; }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--brand); display: grid; place-items: center; color: #fff; font-weight: 800; }
.bottle-card p { font-size: .92rem; margin: 0 0 12px; }
.bottle-card .actions { display: flex; gap: 8px; }
.bottle-card .actions span { flex: 1; text-align: center; padding: 8px; border-radius: 999px; font-size: .8rem; font-weight: 700; }
.bottle-card .actions .no { background: var(--foam); color: var(--ocean); }
.bottle-card .actions .yes { background: var(--brand); color: #fff; }
.float-bottle { position: absolute; top: 34%; left: 50%; width: 70px; translate: -50% 0; animation: drift 5s ease-in-out infinite; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .3)); }
@keyframes bob { 50% { transform: translateY(-10px); } }
@keyframes drift { 50% { transform: translateY(12px) rotate(8deg); } }
@media (prefers-reduced-motion: reduce) { .phone, .float-bottle { animation: none; } html { scroll-behavior: auto; } }

/* Sections */
section { padding: 88px 0; }
.section-head { max-width: 40em; margin-bottom: 44px; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.alt { background: var(--surface); }
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.alt .card { background: var(--bg); }
.card .icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 14px; background: var(--foam); }
.card p { color: var(--muted); margin: 0; }
.steps { counter-reset: step; }
.steps .card { position: relative; padding-top: 58px; }
.steps .card::before { counter-increment: step; content: counter(step); position: absolute; top: 22px; left: 26px; width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; display: grid; place-items: center; }
.highlight { background: var(--sea); color: #fff; border-radius: 28px; padding: 48px; display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; }
.highlight p { color: var(--foam); margin: 0; }
@media (max-width: 720px) { .highlight { grid-template-columns: 1fr; padding: 32px; } }

/* FAQ */
.faq details { border: 1px solid var(--border); border-radius: 16px; padding: 4px 22px; margin-bottom: 12px; background: var(--bg); }
.faq summary { cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--coral); }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 40px 0; color: var(--muted); font-size: .95rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
.site-footer a { color: var(--muted); }

/* Legal pages */
.legal { padding: 56px 0 80px; }
.legal .wrap { max-width: 780px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.legal h2 { font-size: 1.4rem; margin-top: 2em; }
.legal .updated { color: var(--muted); }
.legal li { margin-bottom: .4em; }
.legal table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 1em 0; }
.legal th, .legal td { text-align: left; padding: 10px; border-bottom: 1px solid var(--border); vertical-align: top; }
.callout { background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--coral); border-radius: 12px; padding: 16px 20px; margin: 1.2em 0; }
