@font-face {
  font-family: 'Manrope';
  src: url('assets/fonts/manrope-latin-wght.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --navy: #0B1020; --navy-2: #151C33;
  --bg: #F3F6FC; --card: #FFFFFF; --card-2: #F5F7FC;
  --ink: #0F172A; --ink-2: #334155; --muted: #5B6880; --line: #E3E8F1;
  --blue: #3157FF; --blue-deep: #2443D6; --blue-soft: #E8EDFF;
  --cyan: #22D3EE; --cyan-deep: #0E7490; --cyan-soft: #E0F9FD;
  --violet: #6D4AFF; --violet-soft: #EFEAFF;
  --amber: #B45309; --amber-soft: #FEF3C7;
  --green: #047857; --green-soft: #DCFCE7;
  --danger: #B42318; --danger-soft: #FEE4E2;
  --radius: 22px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 10px 30px rgba(15, 23, 42, .06);
  --shadow-lg: 0 24px 60px rgba(11, 16, 32, .22);
  --ease: 200ms cubic-bezier(.2, .7, .2, 1);
  --tabbar: 0px;
  color-scheme: light;
}
:root[data-theme='dark'] {
  --bg: #060A15; --card: #0F1629; --card-2: #151D35;
  --ink: #E8EDF8; --ink-2: #C3CCE0; --muted: #8C99B5; --line: #222B45;
  --blue-deep: #A9BAFF; --blue-soft: #1A2452;
  --cyan-deep: #67E8F9; --cyan-soft: #0D2C38;
  --violet: #B6A6FF; --violet-soft: #241C4D;
  --amber: #FBBF24; --amber-soft: #36270B;
  --green: #4ADE80; --green-soft: #0E2C20;
  --danger: #FCA5A5; --danger-soft: #3A1517;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px rgba(0, 0, 0, .35);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root[data-theme='system'] {
    --bg: #060A15; --card: #0F1629; --card-2: #151D35;
    --ink: #E8EDF8; --ink-2: #C3CCE0; --muted: #8C99B5; --line: #222B45;
    --blue-deep: #A9BAFF; --blue-soft: #1A2452;
    --cyan-deep: #67E8F9; --cyan-soft: #0D2C38;
    --violet: #B6A6FF; --violet-soft: #241C4D;
    --amber: #FBBF24; --amber-soft: #36270B;
    --green: #4ADE80; --green-soft: #0E2C20;
    --danger: #FCA5A5; --danger-soft: #3A1517;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px rgba(0, 0, 0, .35);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
html, body { margin: 0; }
body {
  font-family: 'Manrope', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: var(--bg); color: var(--ink); line-height: 1.5; min-height: 100vh;
  -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent;
}
body::before {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(900px 500px at 100% -10%, rgba(34, 211, 238, .14), transparent 60%),
              radial-gradient(800px 600px at -10% 110%, rgba(49, 87, 255, .12), transparent 60%);
}
h1, h2, h3 { line-height: 1.2; margin: 0; letter-spacing: -0.015em; }
h2 { font-size: 1.08rem; font-weight: 800; }
p { margin: 0; }
a { color: var(--blue-deep); }
button, input, select { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--card); padding: 8px 12px; border-radius: 8px; z-index: 80; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 10px; }

/* Top bar and tabs */
.topbar { position: sticky; top: 0; z-index: 40; color: #F8FAFC; padding-top: env(safe-area-inset-top); }
.topbar::before { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(11, 16, 32, .88); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.topbar-inner { max-width: 1120px; margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2rem; letter-spacing: -0.02em; color: inherit; text-decoration: none; }
.brand img { border-radius: 10px; box-shadow: 0 6px 18px rgba(49, 87, 255, .45); }
.tabs { display: flex; gap: 4px; margin-left: auto; padding: 4px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .06); }
.tabs a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 12px; color: #A9B5D3; text-decoration: none; font-weight: 700; font-size: .92rem; transition: background var(--ease), color var(--ease); }
@media (hover: hover) { .tabs a:hover { color: #fff; } }
.tabs a[aria-current='page'] { background: rgba(255, 255, 255, .12); color: #fff; }
.tabs a[aria-current='page'] .i { color: var(--cyan); }
.tabs .i { width: 18px; height: 18px; }

.demo-banner { position: relative; background: linear-gradient(90deg, rgba(34, 211, 238, .16), rgba(49, 87, 255, .14)); color: var(--cyan-deep); text-align: center; font-weight: 700; font-size: .85rem; padding: 8px 16px; }
.demo-banner a { color: inherit; }

.page { max-width: 1120px; margin: 0 auto; padding: 28px 24px 64px; }
.view { display: flex; flex-direction: column; gap: 20px; animation: fade 260ms ease; }
.view-head h1 { font-size: clamp(1.6rem, 4vw, 2.1rem); font-weight: 800; letter-spacing: -0.03em; }
.view-head p { color: var(--muted); margin-top: 4px; }
.columns { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.columns > * { min-width: 0; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }

/* Cards and shared bits */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; min-width: 0; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.card-head h2, .setting-card h2 { display: flex; align-items: center; gap: 10px; }
.ico { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 12px; flex: none; }
.ico .i { width: 19px; height: 19px; }
.ico-blue { background: var(--blue-soft); color: var(--blue-deep); }
.ico-cyan { background: var(--cyan-soft); color: var(--cyan-deep); }
.ico-violet { background: var(--violet-soft); color: var(--violet); }
.ico-amber { background: var(--amber-soft); color: var(--amber); }
.ico-green { background: var(--green-soft); color: var(--green); }
.eyebrow { text-transform: uppercase; letter-spacing: .1em; font-size: .74rem; font-weight: 800; color: var(--muted); margin-bottom: 6px; }
.eyebrow-light { color: #8FA2D4; }
.fineprint, .hint { font-size: .86rem; color: var(--muted); }
.fineprint-light { color: #93A3C8; }
.grad { background: linear-gradient(90deg, #7C9BFF, #22D3EE); -webkit-background-clip: text; background-clip: text; color: transparent; }

.chip { display: inline-flex; align-items: center; gap: 6px; font-size: .76rem; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: var(--card-2); border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
.chip::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .75; }
.chip-measured { color: var(--cyan-deep); background: var(--cyan-soft); border-color: transparent; }
.chip-manual { color: var(--blue-deep); background: var(--blue-soft); border-color: transparent; }
.chip-reported { color: var(--amber); background: var(--amber-soft); border-color: transparent; }
.chip-dark { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .1); color: #C9D3F0; }
.chip-dark.chip-measured { color: var(--cyan); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; border: 1px solid transparent; border-radius: 14px; padding: 10px 18px; font-weight: 800; cursor: pointer; text-decoration: none; transition: background var(--ease), border-color var(--ease), transform var(--ease), box-shadow var(--ease); }
.btn:active { transform: scale(.97); }
.btn .i { width: 18px; height: 18px; }
.btn-lg { min-height: 54px; padding: 14px 28px; font-size: 1.05rem; border-radius: 16px; }
.btn-sm { min-height: 36px; padding: 6px 12px; font-size: .88rem; border-radius: 11px; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 18px rgba(49, 87, 255, .28); }
.btn-primary:hover { background: #2849E8; }
.btn-glow { background: linear-gradient(135deg, #3157FF, #22B8EE); color: #fff; box-shadow: 0 10px 30px rgba(49, 87, 255, .45), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn-glow:hover { box-shadow: 0 14px 38px rgba(34, 211, 238, .45), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn-soft { background: var(--blue-soft); color: var(--blue-deep); }
.btn-soft:hover { border-color: color-mix(in srgb, var(--blue) 35%, transparent); }
.btn-ghost { background: transparent; color: var(--muted); border-color: var(--line); }
.btn-ghost:hover { color: var(--ink); }
.btn-danger { background: var(--danger-soft); color: var(--danger); }
.btn-link { background: none; border: 0; padding: 4px 2px; color: var(--blue-deep); font-weight: 800; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }

/* Landing */
.landing { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; overflow-x: clip; overflow-y: visible; padding-bottom: 8px; }
.landing > * { min-width: 0; }
.lp-hero { position: relative; overflow: hidden; border-radius: 34px; padding: 64px 56px; color: #F8FAFC; background: var(--navy); box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: center; isolation: isolate; }
.lp-aurora { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .7; }
.b1 { width: 460px; height: 460px; background: #3157FF; left: -120px; bottom: -180px; animation: drift1 16s ease-in-out infinite; }
.b2 { width: 380px; height: 380px; background: #22D3EE; right: -80px; top: -140px; opacity: .45; animation: drift2 18s ease-in-out infinite; }
.b3 { width: 260px; height: 260px; background: #8B5CF6; right: 30%; bottom: -120px; opacity: .35; animation: drift1 22s ease-in-out infinite reverse; }
@keyframes drift1 { 50% { transform: translate(80px, -60px) scale(1.1); } }
@keyframes drift2 { 50% { transform: translate(-70px, 60px) scale(.92); } }
.lp-copy > * { animation: rise 700ms cubic-bezier(.2, .8, .2, 1) both; }
.lp-copy > :nth-child(2) { animation-delay: 80ms; }
.lp-copy > :nth-child(3) { animation-delay: 160ms; }
.lp-copy > :nth-child(4) { animation-delay: 240ms; }
.lp-copy > :nth-child(5) { animation-delay: 320ms; }
.lp-pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); font-weight: 700; font-size: .85rem; color: #C9D3F0; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 0 rgba(34, 211, 238, .7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(34, 211, 238, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0); } }
.lp-copy h1 { margin-top: 0; font-size: clamp(2.3rem, 5.2vw, 3.7rem); font-weight: 800; letter-spacing: -0.045em; line-height: 1.02; }
.lp-copy h1 .grad { display: inline-block; background: linear-gradient(90deg, #7C9BFF, #22D3EE, #A78BFA, #7C9BFF); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; animation: hue 8s linear infinite; }
@keyframes hue { to { background-position: 300% 0; } }
.lp-lede { margin-top: 18px; font-size: clamp(1.05rem, 2vw, 1.22rem); color: #C9D3F0; max-width: 520px; }
.lp-lede em { font-style: normal; color: #fff; font-weight: 800; background: linear-gradient(transparent 62%, rgba(34, 211, 238, .45) 62%); }
.lp-ctas { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }
.btn-ghost-light { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .18); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .12); }
.shimmer { position: relative; overflow: hidden; }
.shimmer::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%); transform: translateX(-120%); animation: shimmer 3.6s ease-in-out infinite 1.2s; }
@keyframes shimmer { 40%, 100% { transform: translateX(120%); } }
.cta-start:hover { transform: translateY(-2px) scale(1.02); }
.lp-trust { list-style: none; margin: 22px 0 0; padding: 0; display: flex; gap: 8px 18px; flex-wrap: wrap; color: #DCE3F5; font-size: .9rem; font-weight: 600; }
.lp-trust li { display: inline-flex; align-items: center; gap: 6px; }
.lp-trust .i { width: 16px; height: 16px; color: var(--cyan); }

.lp-visual { position: relative; min-height: 460px; display: grid; place-items: center; animation: rise 900ms 200ms cubic-bezier(.2, .8, .2, 1) both; }
.mock { width: min(300px, 100%); border-radius: 30px; padding: 18px; background: linear-gradient(160deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .04)); border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .15); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); animation: bob 6s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-10px); } }
.mock-top { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: .95rem; }
.mock-top img { border-radius: 7px; }
.mock-chip { margin-left: auto; font-size: .7rem; font-weight: 700; color: var(--cyan); background: rgba(34, 211, 238, .12); padding: 3px 8px; border-radius: 999px; }
.mock-ring { position: relative; width: 190px; height: 190px; margin: 18px auto 14px; }
.mock-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.mock-ring .mt { fill: none; stroke: rgba(255, 255, 255, .1); stroke-width: 9; }
.mock-ring .mf { fill: none; stroke: url(#mock-g); stroke-width: 9; stroke-linecap: round; stroke-dasharray: 326.73; stroke-dashoffset: 326.73; filter: drop-shadow(0 0 8px rgba(34, 211, 238, .6)); animation: fillring 7s cubic-bezier(.4, 0, .2, 1) infinite; }
@keyframes fillring { 0% { stroke-dashoffset: 326.73; } 75%, 88% { stroke-dashoffset: 40; } 100% { stroke-dashoffset: 326.73; } }
.mock-center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.mock-center b { font-size: 2.4rem; font-weight: 800; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.mock-center span { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: #93A3C8; font-weight: 700; }
.mock-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mock-tiles span { display: grid; justify-items: center; gap: 2px; padding: 10px 4px; border-radius: 14px; background: rgba(255, 255, 255, .06); font-size: .7rem; color: #93A3C8; font-weight: 600; }
.mock-tiles b { color: #fff; font-size: .95rem; }
.mock-tiles .i { width: 16px; height: 16px; color: var(--cyan); }
.float { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 18px; background: #fff; color: #0F172A; box-shadow: 0 18px 40px rgba(0, 0, 0, .35); font-size: .9rem; white-space: nowrap; }
.float small { display: block; color: #5B6880; font-size: .76rem; font-weight: 600; }
.float .ico { width: 34px; height: 34px; }
.float .ico-cyan { background: #E0F9FD; color: #0E7490; }
.float .ico-blue { background: #E8EDFF; color: #2443D6; }
.float .ico-violet { background: #EFEAFF; color: #6D4AFF; }
.f1 { top: 8%; left: -4%; animation: pop 7s ease-in-out infinite; }
.f2 { top: 30%; right: -2%; animation: bob 5s ease-in-out infinite .6s; }
.f3 { bottom: 20%; left: -6%; animation: bob 6.5s ease-in-out infinite 1.2s; }
.f4 { bottom: 0; right: -2%; animation: pop 7s ease-in-out infinite 3.5s; }
.f4 .ico { background: #FEF3C7; color: #B45309; }
@keyframes pop { 0%, 8% { opacity: 0; transform: translateY(14px) scale(.85); } 14%, 46% { opacity: 1; transform: none; } 54%, 100% { opacity: 0; transform: translateY(-8px) scale(.95); } }

.lp-marquee { margin: 28px -24px 0; overflow: hidden; padding: 16px 0; transform: rotate(-1.2deg); background: linear-gradient(90deg, #3157FF, #22D3EE); color: #fff; font-weight: 800; font-size: 1.15rem; }
.marquee-track { display: flex; gap: 22px; width: max-content; animation: marquee 28s linear infinite; }
.marquee-track span { white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

.lp-section { padding: 72px 0 8px; }
.lp-h2 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); font-weight: 800; letter-spacing: -0.035em; }
.lp-sub { color: var(--muted); font-size: 1.08rem; margin-top: 10px; max-width: 520px; }
.lp-steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: s; }
.lp-steps li { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 26px; box-shadow: var(--shadow); transition: transform var(--ease); }
.lp-steps li:hover { transform: translateY(-4px) rotate(-.5deg); }
.lp-steps h3 { margin-top: 14px; font-size: 1.2rem; font-weight: 800; }
.lp-steps p { margin-top: 6px; color: var(--muted); }
.step-n { position: absolute; top: 18px; right: 22px; font-size: 3.2rem; font-weight: 800; line-height: 1; letter-spacing: -0.05em; background: linear-gradient(180deg, color-mix(in srgb, var(--blue) 35%, transparent), transparent); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-steps .ico, .bento-card .ico { width: 46px; height: 46px; border-radius: 15px; }
.lp-steps .ico .i, .bento-card .ico .i { width: 24px; height: 24px; }

.bento { margin-top: 28px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.bento-card { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 24px; box-shadow: var(--shadow); transition: transform var(--ease), box-shadow var(--ease); overflow: hidden; }
.bento-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(15, 23, 42, .12); }
.bento-card h3 { margin-top: 14px; font-size: 1.12rem; font-weight: 800; }
.bento-card p { margin-top: 6px; color: var(--muted); }
.bento-card.big { grid-row: span 2; display: flex; flex-direction: column; background: linear-gradient(160deg, var(--cyan-soft), var(--card) 60%); }
.bento-art { margin-top: auto; padding-top: 24px; }
.art-timeline { display: flex; gap: 6px; height: 64px; align-items: stretch; }
.art-timeline i { flex: 3; border-radius: 12px; background: linear-gradient(180deg, var(--blue), #4C6BFF); transform-origin: bottom; animation: grow 2.4s ease-in-out infinite alternate; }
.art-timeline i:nth-child(2n) { flex: 1; background: var(--cyan); animation-delay: .4s; }
.art-timeline i:nth-child(3) { animation-delay: .8s; }
.art-timeline i:nth-child(5) { animation-delay: 1.2s; }
@keyframes grow { from { transform: scaleY(.55); } to { transform: scaleY(1); } }

.lp-honest { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.honest-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.honest-card { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 10px; box-shadow: var(--shadow); transform: rotate(1.5deg); }
.hc-row { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 16px; flex-wrap: wrap; }
.hc-row + .hc-row { border-top: 1px solid var(--line); }
.hc-row > span:first-child { color: var(--muted); font-weight: 700; flex: 1; }
.hc-row b { font-size: 1.2rem; font-weight: 800; }
.hc-row s { color: var(--danger); font-weight: 800; font-size: 1.2rem; text-decoration-thickness: 3px; }

.lp-final { margin-top: 72px; border-radius: 34px; padding: 56px 32px; text-align: center; color: #F8FAFC; display: grid; justify-items: center; gap: 14px;
  background: radial-gradient(500px 260px at 50% 0%, rgba(34, 211, 238, .35), transparent 70%), radial-gradient(600px 300px at 50% 120%, rgba(49, 87, 255, .6), transparent 70%), var(--navy); box-shadow: var(--shadow-lg); }
.lp-final .eyebrow { margin-bottom: -6px; }
.lp-final h2 { font-size: clamp(1.9rem, 5vw, 3rem); font-weight: 800; letter-spacing: -0.04em; }
.lp-final > p { color: #C9D3F0; font-size: 1.08rem; }
.device-card { display: flex; gap: 12px; align-items: flex-start; text-align: left; padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); max-width: 560px; }
.device-card .i { color: var(--cyan); margin-top: 2px; }
.device-card strong { display: block; }
.device-card p { color: #A9B5D3; font-size: .9rem; }
.lp-foot { margin-top: 40px; display: flex; gap: 10px 24px; flex-wrap: wrap; justify-content: center; align-items: center; color: var(--muted); font-size: .86rem; }
.brand-mini { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; color: var(--ink); }
.brand-mini img { border-radius: 6px; }

[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 700ms cubic-bezier(.2, .8, .2, 1), transform 700ms cubic-bezier(.2, .8, .2, 1); }
[data-reveal].in { opacity: 1; transform: none; }
.honest-card[data-reveal].in { transform: rotate(1.5deg); }
.lp-steps li:nth-child(2), .bento-card:nth-child(2) { transition-delay: 90ms; }
.lp-steps li:nth-child(3), .bento-card:nth-child(3) { transition-delay: 180ms; }
.bento-card:nth-child(4) { transition-delay: 120ms; }
.bento-card:nth-child(5) { transition-delay: 210ms; }

@media (max-width: 960px) {
  .lp-hero { grid-template-columns: 1fr; padding: 48px 32px; text-align: center; }
  .lp-copy { display: grid; justify-items: center; }
  .lp-lede { margin-inline: auto; }
  .lp-ctas, .lp-trust { justify-content: center; }
  .lp-visual { min-height: 430px; }
  .lp-steps { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento-card.big { grid-column: 1 / -1; grid-row: auto; }
  .lp-honest { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .lp-hero { padding: 36px 20px 28px; border-radius: 28px; margin: 0 -2px; }
  .lp-ctas { width: 100%; }
  .lp-ctas .btn { flex: 1 1 100%; }
  .lp-visual { min-height: 400px; width: 100%; }
  .mock { width: 250px; }
  .mock-ring { width: 160px; height: 160px; }
  .float { font-size: .8rem; padding: 8px 12px 8px 8px; }
  .float .ico { width: 30px; height: 30px; }
  .f1 { left: 0; top: 2%; }
  .f2 { right: 0; top: 34%; }
  .f3 { left: 0; bottom: 8%; }
  .f4 { right: 0; bottom: 0; }
  .lp-marquee { margin: 22px -14px 0; font-size: 1rem; }
  .lp-section { padding-top: 52px; }
  .bento { grid-template-columns: 1fr; }
  .lp-final { margin-top: 52px; padding: 40px 20px; border-radius: 28px; }
  .lp-final .btn { width: 100%; }
}

/* Hero */
.hero { position: relative; overflow: hidden; border-radius: 28px; padding: 32px; color: #F8FAFC; display: grid; grid-template-columns: 236px 1fr; gap: 36px; align-items: center; box-shadow: var(--shadow-lg);
  background: radial-gradient(520px 320px at 100% 0%, rgba(34, 211, 238, .28), transparent 60%), radial-gradient(560px 380px at 0% 100%, rgba(49, 87, 255, .45), transparent 60%), var(--navy); }
.ring-wrap { position: relative; width: 236px; height: 236px; }
.ring { width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.ring-track { fill: none; stroke: rgba(255, 255, 255, .09); stroke-width: 9; }
.ring-fill { fill: none; stroke: url(#ring-g); stroke-width: 9; stroke-linecap: round; stroke-dasharray: 326.73; stroke-dashoffset: 326.73; filter: drop-shadow(0 0 6px rgba(34, 211, 238, .55)); transition: stroke-dashoffset 700ms var(--ease); }
.ring-wrap.is-away .ring-fill { stroke: var(--cyan); }
.ring-wrap.is-over .ring-fill { animation: glow 2.4s ease-in-out infinite; }
@keyframes glow { 50% { filter: drop-shadow(0 0 14px rgba(34, 211, 238, .9)); } }
.ring-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ring-value { font-size: 3rem; font-weight: 800; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.ring-label { font-size: .85rem; color: #93A3C8; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.hero-title { font-size: clamp(1.7rem, 4vw, 2.3rem); font-weight: 800; letter-spacing: -0.03em; }
.status-line { margin-top: 10px; color: #C9D3F0; font-size: 1.02rem; }
.hero-meta { margin-top: 14px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.hero-actions { margin-top: 18px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.hero .chip { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .12); color: #C9D3F0; }
.hero .chip-measured { color: var(--cyan); }
.hero .fineprint { color: #93A3C8; }
.hero .btn-soft { background: rgba(255, 255, 255, .1); color: #fff; }
.hero .btn-soft:hover { border-color: rgba(255, 255, 255, .25); }
.hero .btn-link { color: var(--cyan); }

/* Glance tiles */
.glance { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.glance.glance-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.tile { display: grid; gap: 8px; padding: 16px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); color: inherit; text-decoration: none; min-width: 0; transition: transform var(--ease), border-color var(--ease); }
.tile:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--blue) 35%, var(--line)); }
.tile-top { display: flex; align-items: center; gap: 8px; }
.tile-top .ico { width: 30px; height: 30px; border-radius: 10px; }
.tile-top .ico .i { width: 16px; height: 16px; }
.tile-label { font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.tile-value { font-size: 1.45rem; font-weight: 800; letter-spacing: -0.03em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
.tile-value.is-empty { color: var(--muted); font-size: 1.1rem; }
.tile-sub { font-size: .8rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile-bar { display: block; height: 6px; border-radius: 999px; background: var(--card-2); overflow: hidden; }
.tile-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), var(--cyan)); border-radius: inherit; transition: width 600ms var(--ease); }

/* Screen time + timeline */
.screen-row { display: flex; gap: 24px; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; margin-bottom: 18px; }
.screen-note { max-width: 380px; }
.legend { list-style: none; display: flex; gap: 14px; padding: 0; margin: 12px 0 0; flex-wrap: wrap; font-size: .8rem; color: var(--muted); }
.legend li { display: flex; align-items: center; gap: 6px; }
.swatch { width: 14px; height: 10px; border-radius: 3px; display: inline-block; }
.swatch-desk, .tl-desk { background: linear-gradient(90deg, var(--blue), #4C6BFF); }
.swatch-break, .tl-break { background: var(--cyan); }
.swatch-away, .tl-away { background: #A5F3FC; }
.swatch-none, .tl-track { background: repeating-linear-gradient(135deg, var(--card-2) 0 6px, var(--line) 6px 8px); }
.tl-track { position: relative; height: 30px; border-radius: 10px; overflow: hidden; }
.tl-seg { position: absolute; top: 0; bottom: 0; }
.tl-now { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--ink); border-radius: 2px; }
.tl-axis { display: flex; justify-content: space-between; font-size: .8rem; color: var(--muted); margin-top: 8px; font-variant-numeric: tabular-nums; }
.tl-summary { font-size: .88rem; color: var(--ink-2); margin-top: 8px; }

/* Numbers, lists, progress */
.big-number { font-size: 2.4rem; font-weight: 800; letter-spacing: -0.035em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.big-sub { color: var(--muted); font-size: .9rem; letter-spacing: 0; font-weight: 600; }
.list { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; }
.list li { display: flex; align-items: center; gap: 10px; padding: 10px 14px; min-height: 48px; border-radius: 14px; background: var(--card-2); font-variant-numeric: tabular-nums; flex-wrap: wrap; }
.list .time { font-weight: 800; min-width: 48px; }
.list .grow { flex: 1; color: var(--ink-2); min-width: 0; overflow-wrap: anywhere; }
.list input { width: 96px; min-height: 40px; padding: 6px 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); font-size: 16px; }
.empty { color: var(--muted); padding: 14px 16px; border-radius: 14px; background: var(--card-2); margin-top: 14px; font-size: .92rem; }
.progress { height: 10px; border-radius: 999px; background: var(--card-2); overflow: hidden; margin: 12px 0 6px; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), var(--cyan)); border-radius: inherit; transition: width 600ms var(--ease); }

/* Steps ring */
.steps-hero { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.mini-ring { position: relative; width: 112px; height: 112px; flex: none; }
.mini-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.mini-ring .track { fill: none; stroke: var(--card-2); stroke-width: 10; }
.mini-ring .fill { fill: none; stroke: var(--violet); stroke-width: 10; stroke-linecap: round; transition: stroke-dashoffset 700ms var(--ease); }
.mini-ring .i { position: absolute; inset: 0; margin: auto; width: 30px; height: 30px; color: var(--violet); }

/* Water drop */
.water-hero { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.drop { position: relative; width: 120px; height: 144px; flex: none; }
.drop svg { width: 100%; height: 100%; overflow: visible; }
.drop-shell { fill: var(--cyan-soft); }
.drop-outline { fill: none; stroke: color-mix(in srgb, var(--cyan) 55%, transparent); stroke-width: 2; }
.drop-level { transition: transform 900ms cubic-bezier(.3, .8, .3, 1); }
.wave { animation: wave 3.2s linear infinite; }
@keyframes wave { to { transform: translateX(50px); } }
.drop-pct { position: absolute; left: 0; right: 0; top: 60%; text-align: center; font-weight: 800; font-size: 1.15rem; color: var(--ink); text-shadow: 0 1px 8px var(--card); }
.water-summary { flex: 1; min-width: 200px; }
.water-presets { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 18px; }
.water-presets .btn { flex-direction: column; gap: 0; min-height: 58px; font-size: 1.05rem; line-height: 1.1; }
.water-presets small { font-size: .72rem; font-weight: 700; }
.next-line { margin-top: 14px; font-size: .86rem; color: var(--muted); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

/* Entry forms */
.entry { margin-top: 16px; }
.entry > label { display: block; font-size: .85rem; color: var(--muted); font-weight: 700; margin-bottom: 6px; }
.inline { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.entry input, .times input { min-height: 46px; flex: 1 1 110px; min-width: 0; max-width: 220px; padding: 10px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--card-2); font-size: 16px; transition: border-color var(--ease), box-shadow var(--ease); }
.entry input.grow-input { flex: 2 1 160px; max-width: none; }
.entry input:focus, .times input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px color-mix(in srgb, var(--blue) 18%, transparent); }
.field-error { color: var(--danger); font-size: .85rem; min-height: 1.2em; margin-top: 4px; }

.wrap-row { display: flex; justify-content: center; }
.reflection { color: #F8FAFC; border: 0; box-shadow: var(--shadow-lg); background: radial-gradient(520px 300px at 100% 0%, rgba(34, 211, 238, .25), transparent 60%), var(--navy); animation: rise 320ms ease; }
.reflection .eyebrow { color: #8FA2D4; }
.reflection h2 { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; }
.reflection-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin: 20px 0; }
.stat { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); border-radius: 16px; padding: 14px; }
.stat b { display: block; font-size: 1.35rem; font-weight: 800; }
.stat span { color: #93A3C8; font-size: .82rem; }
.reflection p { color: #C9D3F0; }
.reflection .btn-soft { margin-top: 16px; background: rgba(255, 255, 255, .1); color: #fff; }

/* Your rhythm */
#view-you { display: block; columns: 2 360px; column-gap: 20px; }
#view-you > .view-head { column-span: all; margin-bottom: 20px; }
#settings-form { display: contents; }
.setting-card { break-inside: avoid; margin-bottom: 20px; display: grid; gap: 16px; }
.setting-card h3 { display: flex; align-items: center; gap: 8px; font-size: .98rem; margin-top: 4px; }
.field { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field legend { font-weight: 700; padding: 0; margin-bottom: 8px; }
.field-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.field label, .field-row > label { font-weight: 700; }
output { font-weight: 800; color: var(--blue-deep); background: var(--blue-soft); padding: 3px 10px; border-radius: 999px; font-size: .9rem; font-variant-numeric: tabular-nums; }
input[type='range'] { width: 100%; accent-color: var(--blue); height: 28px; cursor: pointer; }
.segments { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; border-radius: 14px; background: var(--card-2); border: 1px solid var(--line); }
.segments label { position: relative; }
.segments input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.segments span { display: flex; align-items: center; justify-content: center; min-height: 40px; padding: 6px 8px; border-radius: 10px; font-weight: 700; font-size: .9rem; color: var(--muted); transition: background var(--ease), color var(--ease); white-space: nowrap; }
.segments input:checked + span { background: var(--card); color: var(--blue-deep); box-shadow: 0 1px 2px rgba(15, 23, 42, .08), 0 4px 10px rgba(15, 23, 42, .08); }
.segments input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 1px; }
.stepper { display: inline-flex; align-items: center; gap: 4px; padding: 4px; border-radius: 14px; background: var(--card-2); border: 1px solid var(--line); }
.stepper input { width: 52px; min-height: 40px; text-align: center; border: 0; background: transparent; font-weight: 800; font-size: 16px; -moz-appearance: textfield; appearance: textfield; }
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.step-btn { width: 40px; height: 40px; border-radius: 10px; border: 0; background: var(--card); font-weight: 800; font-size: 1.2rem; cursor: pointer; box-shadow: 0 1px 2px rgba(15, 23, 42, .08); }
.times { display: flex; gap: 12px; flex-wrap: wrap; }
.times label { display: grid; gap: 6px; font-weight: 700; flex: 1 1 140px; }
.times input { max-width: none; width: 100%; }
.days { display: flex; gap: 6px; flex-wrap: wrap; }
.days label { position: relative; }
.days input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.days span { display: inline-flex; align-items: center; justify-content: center; min-width: 50px; min-height: 40px; padding: 6px 10px; border-radius: 12px; border: 1px solid var(--line); font-weight: 700; font-size: .88rem; color: var(--muted); transition: all var(--ease); }
.days input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.days input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.switch-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; }
.switch-row > span { display: grid; gap: 2px; }
.switch { appearance: none; -webkit-appearance: none; flex: none; width: 52px; height: 32px; border-radius: 999px; background: var(--line); position: relative; cursor: pointer; transition: background var(--ease); margin: 0; }
.switch::before { content: ''; position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(15, 23, 42, .25); transition: transform var(--ease); }
.switch:checked { background: var(--blue); }
.switch:checked::before { transform: translateX(20px); }
.device-where { font-weight: 800; font-size: 1.05rem; }
.caps, .promises { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.caps li, .promises li { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--ink-2); }
.caps .i, .promises .i { width: 18px; height: 18px; margin-top: 2px; }
.caps .ok .i, .promises .i { color: var(--green); }
.caps .no .i { color: var(--muted); }
.settings-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.settings-actions:empty { display: none; }

/* Floating nudges and toast */
.nudges { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; margin-bottom: 20px; }
.nudges:not(:has(> :not(:empty):not([hidden]))) { display: none; }
.nudges > :empty { display: none; }
.prompt, .nudge { position: relative; min-width: 0; overflow: hidden; background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 22px; padding: 20px; box-shadow: var(--shadow-lg); animation: rise 320ms var(--ease); }
.prompt::before, .nudge::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--blue), var(--cyan)); }
.nudge-head { display: flex; gap: 12px; align-items: flex-start; }
.prompt h3, .nudge h3 { font-size: 1.12rem; font-weight: 800; }
.prompt p, .nudge p { margin-top: 2px; color: var(--ink-2); }
.nudge-actions { margin-top: 14px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.toast { position: fixed; left: 24px; bottom: 24px; z-index: 60; background: var(--navy); color: #F8FAFC; padding: 12px 18px; border-radius: 16px; display: flex; gap: 14px; align-items: center; box-shadow: var(--shadow-lg); animation: rise 220ms ease; border: 1px solid rgba(255, 255, 255, .08); }
.toast .btn-link { color: var(--cyan); }

/* Tablet and phone */
@media (max-width: 960px) {
  .glance, .glance.glance-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .glance-5 .tile:last-child { grid-column: 1 / -1; }
  .columns { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  :root { --tabbar: calc(68px + env(safe-area-inset-bottom)); }
  body { padding-bottom: var(--tabbar); }
  .topbar-inner { padding: 10px 16px; }
  .tabs { position: fixed; left: 0; right: 0; bottom: 0; margin: 0; z-index: 45; border-radius: 0; padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: color-mix(in srgb, var(--card) 92%, transparent); border: 0; border-top: 1px solid var(--line);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
  .tabs a { flex-direction: column; gap: 3px; padding: 6px 4px; font-size: .72rem; color: var(--muted); border-radius: 12px; }
  .tabs a:hover { color: var(--muted); }
  .tabs a[aria-current='page'] { background: none; color: var(--blue-deep); }
  .tabs a[aria-current='page'] .i { color: var(--blue-deep); }
  .tabs .i { width: 24px; height: 24px; padding: 2px; border-radius: 10px; transition: background var(--ease); box-sizing: content-box; padding: 3px 14px; }
  .tabs a[aria-current='page'] .i { background: var(--blue-soft); }
  .page { padding: 16px 14px 32px; }
  .card { padding: 18px; border-radius: 20px; }
  .hero { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 26px 20px; gap: 18px; border-radius: 26px; }
  .hero-meta, .hero-actions { justify-content: center; }
  .ring-wrap { width: 196px; height: 196px; }
  .ring-value { font-size: 2.6rem; }
  .nudges { grid-template-columns: 1fr; margin-bottom: 16px; }
  .toast { left: 12px; right: 12px; bottom: auto; top: calc(70px + env(safe-area-inset-top)); justify-content: space-between; }
  .demo-banner { font-size: .78rem; }
  .big-number { font-size: 2.1rem; }
  .entry input { max-width: none; }
  .screen-note { max-width: none; }
}
@media (max-width: 380px) {
  .tile { padding: 14px; }
  .tile-value { font-size: 1.25rem; }
  .segments span { font-size: .82rem; padding: 6px 4px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .mock-ring .mf { stroke-dashoffset: 90; }
  .f4 { display: none; }
}
html { scroll-behavior: smooth; }
