@font-face { font-family: "Outfit"; src: url("assets/fonts/outfit-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Inter"; src: url("assets/fonts/inter-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #f4f9f8;
  --surface: #ffffff;
  --ink: #0b1f22;
  --muted: #4d6266;
  --line: #dbe7e5;
  --accent: #0f766e;        /* buttons and links: white text passes contrast on it */
  --accent-bright: #0d9488; /* the app's own teal */
  --accent-ink: #ffffff;
  --mint: #d7f5ef;
  --navy: #101826;          /* the app's dark card */
  --warm: #fbbf24;
  --nutrition: #ea580c;
  --sleep: #4f46e5;
  --fitness: #2563eb;
  --mind: #9333ea;
  --habits: #0d9488;
  --display: "Outfit", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --shadow: 0 1px 2px rgba(11, 31, 34, .05), 0 12px 32px -8px rgba(11, 31, 34, .14);
  --shadow-lg: 0 2px 4px rgba(11, 31, 34, .05), 0 40px 80px -24px rgba(11, 31, 34, .32);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; margin: 0; font-weight: 650; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 8.4vw, 4.6rem); }
h2 { font-size: clamp(1.8rem, 5vw, 2.7rem); }
h3 { font-size: 1.3rem; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: var(--accent); }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
.center { text-align: center; }

/* ---------- Top bar ---------- */
header.top { position: sticky; top: 0; z-index: 20; background: rgba(244, 249, 248, .82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid rgba(219, 231, 229, .8); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 650; font-size: 1.2rem; letter-spacing: -0.01em; color: var(--ink); text-decoration: none; white-space: nowrap; }
.mark { width: 30px; height: 30px; }
.mark rect { fill: var(--accent-bright); }
.mark path { fill: none; stroke: #fff; stroke-width: 2.2; stroke-linejoin: round; }
.links { display: none; gap: 28px; }
.links a { color: var(--muted); text-decoration: none; font-size: .95rem; font-weight: 500; }
.links a:hover { color: var(--ink); }
.top-cta { display: flex; align-items: center; gap: 14px; }
.price-tag { display: none; font-size: .9rem; color: var(--muted); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; border: 0; cursor: pointer;
  font: inherit; font-weight: 650; font-size: 1.05rem; letter-spacing: -0.005em;
  color: var(--accent-ink); background: var(--accent);
  padding: 16px 28px; border-radius: 999px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 12px 26px -8px rgba(15, 118, 110, .6);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); background: #0c6a63; box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 18px 32px -8px rgba(15, 118, 110, .65); }
.btn:active { transform: translateY(1px); }
.btn.small { padding: 10px 18px; font-size: .95rem; box-shadow: none; }
.btn.ghost { background: transparent; color: var(--accent); box-shadow: inset 0 0 0 2px var(--accent); }
.btn.ghost:hover { background: var(--mint); }
.btn.light { background: #fff; color: var(--accent); box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .45); }
.btn.light:hover { background: #f0fdfa; }
.btn:focus-visible, .x:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 8px; }
.btn:focus-visible { border-radius: 999px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 44px 0 30px; text-align: center; }
.hero::before {
  content: ""; position: absolute; inset: -64px 0 auto 0; height: 760px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 55% at 50% 0%, rgba(13, 148, 136, .20), transparent 70%),
    radial-gradient(34% 40% at 86% 22%, rgba(251, 191, 36, .16), transparent 70%),
    radial-gradient(36% 40% at 10% 30%, rgba(79, 70, 229, .08), transparent 70%);
}
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: .86rem; font-weight: 600; color: var(--accent); background: rgba(255, 255, 255, .8); border: 1px solid var(--line); padding: 7px 14px; border-radius: 999px; margin-bottom: 22px; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-bright); box-shadow: 0 0 0 0 rgba(13, 148, 136, .5); animation: pulse 2.2s ease-out infinite; }
@keyframes pulse { to { box-shadow: 0 0 0 9px rgba(13, 148, 136, 0); } }
.hero h1 { max-width: 15em; margin: 0 auto; }
.hero h1 em { font-style: normal; color: var(--accent); background: linear-gradient(transparent 68%, rgba(251, 191, 36, .5) 68%, rgba(251, 191, 36, .5) 92%, transparent 92%); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.lede { font-size: clamp(1.08rem, 2.4vw, 1.25rem); color: var(--muted); margin: 22px auto 28px; max-width: 37em; }
.cta-row { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.cta-note { font-size: .92rem; color: var(--muted); }
.domains { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px; padding: 0; margin: 30px 0 0; }
.domains li { font-size: .88rem; font-weight: 600; padding: 5px 13px 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, .75); border: 1px solid var(--line); display: inline-flex; align-items: center; gap: 7px; }
.domains li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.d-nutrition { color: var(--nutrition); }
.d-sleep { color: var(--sleep); }
.d-fitness { color: var(--fitness); }
.d-mind { color: var(--mind); }
.d-habits { color: var(--habits); }

.stage { position: relative; margin: 44px auto 0; max-width: 1080px; }
.browser { display: none; background: var(--surface); border: 1px solid rgba(11, 31, 34, .1); border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; }
.bar { display: flex; align-items: center; gap: 7px; padding: 0 16px; height: 40px; background: #eef4f3; border-bottom: 1px solid var(--line); }
.bar i { width: 11px; height: 11px; border-radius: 50%; background: #cfdcda; }
.bar span { margin: 0 auto; transform: translateX(-24px); font-size: .78rem; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 3px 28px; }
.phone { background: var(--ink); padding: 9px; border-radius: 42px; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, .08) inset; }
.phone img { border-radius: 34px; width: 100%; }
.stage-phone { width: min(280px, 74vw); margin: 0 auto; }
.stage-note { margin-top: 26px; font-size: .86rem; color: var(--muted); }

/* ---------- Problem ---------- */
section { padding: 64px 0; }
.problem-in { display: grid; gap: 34px; align-items: center; }
.problem p { color: var(--muted); font-size: 1.1rem; margin-top: 16px; max-width: 34em; }
.problem .answer { color: var(--ink); font-weight: 600; }
.merge { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 26px; padding: 28px 22px; box-shadow: var(--shadow); }
.chip { font-size: .92rem; font-weight: 600; padding: 9px 15px; border-radius: 12px; background: #f3f6f6; border: 1px dashed currentColor; }
.merge .arrow { flex-basis: 100%; text-align: center; font-size: 1.5rem; color: var(--muted); line-height: 1; }
.merge .one { font-family: var(--display); font-weight: 650; font-size: 1.25rem; color: #fff; background: var(--accent); padding: 12px 30px; border-radius: 14px; box-shadow: 0 12px 26px -10px rgba(15, 118, 110, .7); }

/* ---------- Features ---------- */
.kicker { text-align: center; font-family: var(--display); font-weight: 650; font-size: 1.05rem; color: var(--accent); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 8px; }
.tag { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.feature { display: grid; gap: 30px; align-items: center; padding: 40px 0; }
.copy > p:not(.tag) { color: var(--muted); font-size: 1.08rem; margin-top: 16px; max-width: 32em; }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 32px; font-weight: 500; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 21px; height: 21px; border-radius: 50%; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5.500 10.500 3 3 6-6.500' fill='none' stroke='%230f766e' stroke-width='2.200' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat; }

.visual.today { display: grid; gap: 14px; padding: 22px 18px; border-radius: 28px; background: linear-gradient(145deg, #e3f6f2, #eef2fb 60%, #fdf5e1); border: 1px solid var(--line); }
.today img { border-radius: 13px; box-shadow: var(--shadow); }
.c-insight { width: 82%; justify-self: end; border-radius: 10px !important; }
.c-upnext { width: 100%; }
.c-ready { width: 56%; }

.window { background: var(--surface); border: 1px solid rgba(11, 31, 34, .1); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); }
.window img { width: 100%; }

.band { margin: 26px 0; padding: 34px 22px 26px; border-radius: 30px; background: #f9fafb; border: 1px solid var(--line); box-shadow: var(--shadow); }
.band .copy { text-align: center; max-width: 40em; margin: 0 auto 22px; }
.band .copy > p:not(.tag) { margin-left: auto; margin-right: auto; }
.scroller { overflow-x: auto; margin: 0 -22px; padding: 0 22px 8px; scroll-snap-type: x proximity; }
.scroller img { width: 860px; max-width: none; border-radius: 14px; }

.trio { display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 34px 20px 22px; margin: 0 -20px; }
.trio article { scroll-snap-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 26px 22px 28px; text-align: center; box-shadow: var(--shadow); }
.trio .phone { width: min(230px, 100%); margin: 0 auto 24px; border-radius: 36px; padding: 7px; box-shadow: var(--shadow); }
.trio .phone img { border-radius: 30px; }
.trio .tag { margin-bottom: 8px; }
.trio article > p:last-child { color: var(--muted); margin-top: 8px; }

/* ---------- How it works ---------- */
.steps { display: grid; gap: 16px; margin-top: 36px; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 26px 24px; box-shadow: var(--shadow); }
.step p { color: var(--muted); margin-top: 8px; }
.num { display: inline-grid; place-items: center; width: 42px; height: 42px; margin-bottom: 16px; border-radius: 14px; background: var(--mint); color: var(--accent); font-family: var(--display); font-weight: 700; font-size: 1.2rem; }

/* ---------- Dark band ---------- */
.dark { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.dark::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 80% at 12% 0%, rgba(13, 148, 136, .34), transparent 70%), radial-gradient(40% 70% at 92% 100%, rgba(147, 51, 234, .2), transparent 70%); pointer-events: none; }
.dark-in { position: relative; display: grid; gap: 40px; }
.dark h2 { font-size: clamp(1.6rem, 4vw, 2.1rem); }
.dark p { color: #b9c6cc; margin-top: 14px; font-size: 1.08rem; max-width: 30em; }

/* ---------- Pricing ---------- */
.sub { text-align: center; color: var(--muted); margin: 12px auto 0; font-size: 1.08rem; }
.plans { display: grid; gap: 18px; max-width: 820px; margin: 38px auto 0; }
.plan { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 32px 26px 26px; text-align: center; box-shadow: var(--shadow); }
.plan.best { border: 2px solid var(--accent-bright); box-shadow: 0 30px 60px -24px rgba(15, 118, 110, .45); }
.flag { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--warm); color: #3b2a00; font-weight: 700; font-size: .82rem; padding: 5px 14px; border-radius: 999px; white-space: nowrap; }
.plan h3 { color: var(--muted); font-family: var(--body); font-weight: 600; font-size: 1rem; letter-spacing: 0; }
.big { font-family: var(--display); font-size: 3.4rem; font-weight: 650; line-height: 1; letter-spacing: -0.03em; margin: 10px 0 6px; }
.big span { font-size: 1.05rem; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-left: 2px; }
.per { color: var(--muted); margin-bottom: 22px; }
.plan .btn { width: 100%; }
.fineprint { font-size: .86rem; color: var(--muted); margin-top: 14px; }
.included { list-style: none; padding: 0; margin: 34px auto 0; max-width: 820px; display: grid; gap: 12px; }
.included li { position: relative; padding-left: 32px; }
.included li::before { content: ""; position: absolute; left: 0; top: .2em; width: 21px; height: 21px; border-radius: 50%; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5.500 10.500 3 3 6-6.500' fill='none' stroke='%230f766e' stroke-width='2.200' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 30px auto 0; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 6px 24px; box-shadow: var(--shadow); }
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
details:last-child { border-bottom: 0; }
summary { cursor: pointer; font-weight: 600; font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: none; font-family: var(--display); font-size: 1.5rem; line-height: 1; color: var(--accent); transition: transform .2s ease; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin-top: 10px; color: var(--muted); }

/* ---------- Final call ---------- */
.final { padding-top: 20px; }
.final-in { text-align: center; color: #fff; border-radius: 34px; padding: 56px 16px; background: radial-gradient(70% 120% at 0% 0%, #14b8a6, transparent 60%), radial-gradient(60% 120% at 100% 100%, #134e4a, transparent 60%), var(--accent); box-shadow: 0 40px 80px -30px rgba(15, 118, 110, .7); }
.final-in p { margin: 14px auto 28px; font-size: 1.12rem; color: #d5f5ef; max-width: 28em; }
.final-in .cta-note { color: #d5f5ef; }
.final-in .btn { white-space: nowrap; padding-left: 22px; padding-right: 22px; font-size: 1rem; }

.disclaimer { padding: 20px 0 10px; }
.disclaimer .wrap { max-width: 760px; text-align: center; }
.disclaimer h2 { font-size: 1.05rem; font-family: var(--body); font-weight: 650; letter-spacing: 0; }
.disclaimer p { font-size: .9rem; color: var(--muted); margin-top: 8px; }
footer { padding: 26px 0 110px; text-align: center; color: var(--muted); font-size: .9rem; }

/* ---------- Sticky bar (phones) ---------- */
.sticky { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 18px; background: rgba(16, 24, 38, .94); color: #fff; border-radius: 999px; box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .5); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.sticky div { display: grid; line-height: 1.25; }
.sticky strong { font-family: var(--display); font-size: .98rem; }
.sticky span { font-size: .78rem; color: #b9c6cc; }
.sticky .btn { background: var(--accent-bright); }

/* ---------- Launch-list panel ---------- */
dialog { border: 0; border-radius: 26px; padding: 0; width: min(480px, calc(100vw - 28px)); background: var(--surface); color: var(--ink); box-shadow: 0 30px 80px rgba(0, 0, 0, .4); }
dialog::backdrop { background: rgba(11, 31, 34, .62); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.panel { padding: 30px 24px 22px; position: relative; }
.panel h3 { font-size: 1.6rem; margin-bottom: 10px; padding-right: 36px; }
.panel p { color: var(--muted); }
.panel iframe { width: 100%; height: 220px; border: 0; margin-top: 12px; }
.panel .fine { font-size: .82rem; margin-top: 8px; }
.x { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: #eef4f3; font-size: 1.3rem; cursor: pointer; color: var(--ink); }
.dev-note { background: #ffe1e1; color: #8a1f1f !important; border-radius: 10px; padding: 12px; margin-top: 12px; font-weight: 700; }
[hidden] { display: none !important; }

/* ---------- Motion ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Wider screens ---------- */
@media (min-width: 720px) {
  section { padding: 88px 0; }
  .price-tag { display: inline; }
  .cta-row { flex-direction: row; justify-content: center; gap: 18px; }
  .hero { padding-top: 72px; }
  .browser { display: block; }
  .stage { padding: 0 0 56px; }
  .stage-phone { position: absolute; right: -6px; bottom: 0; width: 23%; margin: 0; border-radius: 34px; padding: 7px; animation: float 7s ease-in-out infinite; }
  .stage-phone img { border-radius: 28px; }
  .stage-note { margin-top: 18px; }
  .sticky { display: none !important; }
  footer { padding-bottom: 46px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .plans { grid-template-columns: 1fr 1fr; align-items: stretch; }
  .included { grid-template-columns: 1fr 1fr; gap: 12px 40px; }
  .dark-in { grid-template-columns: 1fr 1fr; gap: 64px; }
  .trio { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; margin: 0; padding: 40px 0 0; }
  .band { padding: 48px 40px 36px; }
  .scroller { overflow: visible; margin: 0; padding: 0; }
  .scroller img { width: 100%; }
  .visual.today { padding: 34px 30px; gap: 18px; }
  .today img { border-radius: 16px; }
  .final-in { padding: 76px 40px; }
}
@media (min-width: 900px) {
  .links { display: flex; }
  .problem-in { grid-template-columns: 1.15fr .85fr; gap: 64px; }
  .feature { grid-template-columns: 1fr 1.25fr; gap: 72px; padding: 56px 0; }
  .feature.flip { grid-template-columns: 1.25fr 1fr; }
  .feature.flip > .copy { order: 2; }
}
@keyframes float { 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .js .reveal { transition: none; }
  .js .reveal { opacity: 1; transform: none; }
  .pulse, .stage-phone { animation: none; }
}
