:root {
  --ground: #0A0F0D;
  --surface: #141B18;
  --raised: #1E2925;
  --line: #26322D;
  --muted: #3A4842;
  --text: #F2F5F3;
  --soft: #C9D2CE;
  --secondary: #9BA8A2;
  --lime: #C8F25A;
  --lime-text: #DDF79A;
  --ghost: #A99CFF;
  --radius: 24px;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--lime); text-decoration: none; }
a:hover { color: var(--lime-text); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); margin: 0 0 12px; }
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; line-height: 1.08; }
h1 { font-size: clamp(42px, 7vw, 76px); font-weight: 800; }
h2 { font-size: clamp(32px, 4.6vw, 52px); font-weight: 800; }
h3 { font-size: 22px; font-weight: 700; }
.lede { font-size: clamp(18px, 2vw, 21px); color: var(--soft); max-width: 36ch; margin: 20px 0 0; }
.muted { color: var(--secondary); }

/* Nav */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(10, 15, 13, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 4px; font-weight: 800; font-size: 21px; letter-spacing: -0.02em; color: var(--text); }
.brand img { width: 40px; height: 40px; }
.brand b { color: var(--lime); font-weight: 800; }
.nav nav { display: flex; gap: 26px; align-items: center; }
.nav nav a { color: var(--soft); font-size: 15px; font-weight: 500; }
.nav nav a:hover { color: var(--text); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 26px; border-radius: 999px; font-weight: 650; font-size: 16px; }
.btn-primary { background: var(--lime); color: var(--ground); }
.btn-primary:hover { background: var(--lime-text); color: var(--ground); }
.btn-ghost { border: 1.5px solid var(--muted); color: var(--text); }
.btn-ghost:hover { border-color: var(--soft); color: var(--text); }
.nav .btn { height: 42px; padding: 0 18px; font-size: 14px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 96px; }
.hero::before { content: ""; position: absolute; inset: 0; background: url("img/hero.jpg") right center / cover no-repeat; opacity: .55; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ground) 30%, rgba(10,15,13,.6) 62%, rgba(10,15,13,.2)), linear-gradient(0deg, var(--ground), transparent 30%); }
.hero .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 48px; }
.hero h1 b { color: var(--lime); font-weight: 800; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero .note { margin-top: 18px; font-size: 14px; color: var(--secondary); }

.phone { border-radius: 46px; padding: 10px; background: var(--raised); border: 1px solid var(--muted); box-shadow: 0 40px 90px rgba(0,0,0,.6), 0 0 120px rgba(200,242,90,.08); }
.phone img { border-radius: 37px; }
.hero .phone { max-width: 340px; justify-self: center; transform: rotate(2deg); }

/* Sections */
section { padding: 96px 0; }
.section-head { max-width: 680px; margin-bottom: 52px; }
.section-head p { color: var(--soft); font-size: 19px; margin: 16px 0 0; }

.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 56px 0; border-top: 1px solid var(--line); }
.feature:first-of-type { border-top: 0; }
.feature.flip .copy { order: 2; }
.feature .phone { max-width: 320px; justify-self: center; }
.feature ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.feature li { display: flex; gap: 12px; color: var(--soft); }
.feature li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A0F0D' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat; }
.feature p { color: var(--soft); margin: 16px 0 0; }

.skills { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card .num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(200,242,90,.14); color: var(--lime); font-weight: 700; font-size: 15px; margin-bottom: 14px; }
.card p { color: var(--secondary); margin: 8px 0 0; font-size: 15px; }

.positions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.positions figure { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 16px; }
.positions img { aspect-ratio: 900 / 960; object-fit: contain; }
.positions figcaption { font-weight: 650; margin-top: 8px; }

.watch { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
.watch .face { justify-self: center; width: 260px; border-radius: 64px; padding: 16px; background: #050706; border: 8px solid var(--raised); box-shadow: 0 30px 70px rgba(0,0,0,.6); }
.watch .face img { border-radius: 44px; }

.banner { position: relative; overflow: hidden; border-radius: 32px; border: 1px solid var(--line); padding: 72px 56px; background: var(--surface); }
.banner::before { content: ""; position: absolute; inset: 0; background: url("img/hero-play.jpg") right center / cover no-repeat; opacity: .7; }
.banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--surface) 35%, transparent); }
.banner > * { position: relative; z-index: 1; max-width: 520px; }
.banner .cta { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }

.privacy-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

/* Docs pages */
.doc { padding: 72px 0 96px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: clamp(38px, 6vw, 56px); margin-bottom: 12px; }
.doc h2 { font-size: 26px; margin: 44px 0 10px; }
.doc p, .doc li { color: var(--soft); }
.doc ul { padding-left: 22px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px 22px; margin: 12px 0; }
.faq summary { cursor: pointer; font-weight: 650; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; color: var(--lime); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; }

footer { border-top: 1px solid var(--line); padding: 44px 0 56px; color: var(--secondary); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
footer nav a { color: var(--soft); }

@media (max-width: 900px) {
  .nav nav a:not(.btn) { display: none; }
  .hero { padding: 40px 0 64px; }
  .hero .wrap, .feature, .watch { grid-template-columns: 1fr; gap: 40px; }
  .feature.flip .copy { order: 0; }
  .skills, .privacy-strip { grid-template-columns: 1fr; }
  .positions { grid-template-columns: repeat(2, 1fr); }
  section { padding: 64px 0; }
  .banner { padding: 48px 26px; }
  .banner::before { opacity: .35; }
  .banner::after { background: linear-gradient(90deg, var(--surface) 20%, rgba(20,27,24,.6)); }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .hero .phone { transform: none; } }

.nav nav a.btn-primary, .nav nav a.btn-primary:hover { color: var(--ground); }

/* ---------- Interactive app demo ---------- */
.demo-phone { position: relative; width: 340px; max-width: 100%; justify-self: center; border-radius: 56px; padding: 12px; transform: rotate(2deg);
  background: linear-gradient(145deg, #3d4a45 0%, #1b2420 22%, #121815 50%, #1f2925 78%, #46534e 100%);
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.12), inset 0 0 0 5px #0b0f0d, 0 50px 100px rgba(0,0,0,.65), 0 0 140px rgba(200,242,90,.1); }
.demo-phone::before, .demo-phone::after { content: ""; position: absolute; width: 4px; border-radius: 2px; background: linear-gradient(90deg, #2a3530, #4b5853); }
.demo-phone::before { left: -3px; top: 150px; height: 64px; box-shadow: 0 -52px 0 -16px #36423d, 0 80px 0 0 #36423d; }
.demo-phone::after { right: -3px; top: 200px; height: 96px; }
.d-screen { position: relative; height: 690px; border-radius: 44px; overflow: hidden; background: var(--ground); font-size: 13px; line-height: 1.4; display: flex; flex-direction: column; }
.d-status { position: relative; display: flex; justify-content: space-between; align-items: center; padding: 14px 24px 6px 30px; font: 600 14px/1 -apple-system, BlinkMacSystemFont, sans-serif; }
.d-island { position: absolute; left: 50%; top: 10px; transform: translateX(-50%); }
.d-icons { display: flex; align-items: center; gap: 5px; } .d-sig, .d-wifi { height: 10px; fill: currentColor; } .d-sig { width: 16px; } .d-wifi { width: 14px; }
.d-batt { position: relative; width: 22px; height: 11px; border: 1.2px solid rgba(255,255,255,.55); border-radius: 3.5px; padding: 1.2px; }
.d-batt::after { content: ""; position: absolute; right: -3.5px; top: 3px; width: 1.6px; height: 3.5px; border-radius: 1px; background: rgba(255,255,255,.55); }
.d-batt i { display: block; height: 100%; width: 100%; background: #fff; border-radius: 1.6px; }
.d-island { width: 92px; height: 26px; border-radius: 20px; background: #000; }
.d-body { flex: 1; overflow-y: auto; padding: 8px 14px 96px; scrollbar-width: none; }
.d-body::-webkit-scrollbar { display: none; }
.d-body button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.d-top { display: flex; align-items: center; gap: 2px; margin-bottom: 10px; font-weight: 800; font-size: 16px; letter-spacing: -.02em; }
.d-top img { width: 30px; height: 30px; } .d-top b { color: var(--lime); }
.d-gear { margin-left: auto; width: 30px; height: 30px; border-radius: 50%; background: var(--surface); }
.d-eyebrow { font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); }
.d-eyebrow.dim { color: var(--secondary); }
.d-h1 { font-size: 21px; font-weight: 800; letter-spacing: -.02em; line-height: 1.12; margin: 3px 0 4px; }
.d-h1.s { font-size: 18px; }
.d-h2 { font-size: 16px; font-weight: 750; }
.d-h3 { display: flex; justify-content: space-between; align-items: baseline; font-weight: 750; font-size: 15px; margin: 14px 2px 8px; }
.d-h3 span { font-weight: 400; font-size: 11px; color: var(--secondary); }
.d-sub { color: var(--soft); font-size: 12px; } .dim { color: var(--secondary); } .lime { color: var(--lime); } .warn { color: #FFB464; } .ghost { color: #D3CCFF; } .small { font-size: 11px; }
.d-hero { border-radius: 18px; border: 1px solid var(--line); padding: 16px; min-height: 140px; background-size: cover; background-position: right center; margin-bottom: 12px; }
.d-card { background: var(--surface); border-radius: 16px; padding: 12px; margin-bottom: 10px; }
.d-focus { border: 1px solid rgba(200,242,90,.35); }
.d-focus p { color: var(--soft); margin: 8px 0; font-size: 12px; }
.d-small { font-size: 10px; color: var(--secondary); font-weight: 600; }
.d-cue { color: var(--lime-text); font-weight: 650; margin-bottom: 10px; }
.d-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.d-ring { position: relative; width: 38px; height: 38px; } .d-ring svg { transform: rotate(-90deg); }
.d-ring circle { fill: none; stroke-width: 4; stroke-linecap: round; } .d-ring .bg { stroke: var(--raised); } .d-ring .fg { stroke: var(--lime); }
.d-ring span { position: absolute; inset: 0; display: grid; place-items: center; font-size: 10px; font-weight: 700; }
.d-btn { display: block; width: 100%; height: 40px; border-radius: 999px; background: var(--lime) !important; color: var(--ground) !important; font-weight: 650 !important; margin-top: 4px; }
.d-btn.ghost { background: transparent !important; color: var(--text) !important; border: 1.5px solid var(--muted) !important; }
.d-list { padding: 4px 0; }
.d-li { display: flex; width: 100%; align-items: center; gap: 10px; padding: 8px 12px; text-align: left; border-bottom: 1px solid var(--line) !important; }
.d-li:last-child { border-bottom: 0 !important; }
.d-li-t { flex: 1; min-width: 0; display: flex; flex-direction: column; } .d-li-t b { font-size: 12.5px; }
.d-li-t small { color: var(--secondary); font-size: 10.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.d-num { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--raised); color: var(--secondary); font-size: 11px; font-weight: 700; }
.d-num.done { background: var(--lime); color: var(--ground); } .d-num.now { background: rgba(200,242,90,.16); color: var(--lime); }
.d-score { font-weight: 650; color: var(--soft); font-size: 12px; } .d-chev { color: var(--muted); font-size: 18px; }
.d-thumb { width: 38px; height: 46px; object-fit: contain; background: var(--stage, #18221E); border-radius: 8px; }
.d-flip img { height: 230px; margin: 0 auto; object-fit: contain; }
.d-bars { display: flex; gap: 3px; margin-top: 8px; } .d-bars i { flex: 1; height: 3px; border-radius: 2px; background: var(--muted); } .d-bars i.on { background: var(--lime); }
.d-nav { display: grid; grid-template-columns: 34px 1fr 34px; align-items: center; text-align: center; margin-bottom: 10px; font-size: 14px; }
.d-back { width: 32px; height: 32px; border-radius: 50%; background: var(--surface) !important; font-size: 20px !important; line-height: 1; }
.d-mini { color: var(--lime); font-size: 16px; }
.d-seg { display: flex; background: var(--raised); border-radius: 999px; padding: 3px; margin: 10px 0; }
.d-seg button { flex: 1; height: 30px; border-radius: 999px; font-weight: 600 !important; color: var(--soft) !important; }
.d-seg button.on { background: var(--lime) !important; color: var(--ground) !important; }
.d-figure { position: relative; } .d-figure img { height: 250px; margin: 0 auto; object-fit: contain; }
.d-badge { position: absolute; top: 10px; right: 10px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: var(--ground); font-weight: 800; }
.d-badge.bad { background: #FFB464; }
.d-check { color: var(--soft); font-size: 12px; padding: 3px 0 3px 20px; position: relative; } .d-check::before { content: "✓"; position: absolute; left: 2px; color: var(--lime); font-weight: 800; }
.d-pager { display: flex; justify-content: center; gap: 5px; margin: 6px 0; } .d-pager button { width: 6px; height: 6px; border-radius: 3px; background: var(--muted) !important; padding: 0; }
.d-pager button.on { width: 16px; background: var(--lime) !important; }
.d-holehead { margin-bottom: 10px; } .d-right { text-align: right; }
.d-step { display: flex; align-items: center; gap: 8px; padding: 5px 0; } .d-step b { flex: 1; }
.d-step button { width: 32px; height: 32px; border-radius: 50%; background: var(--raised) !important; font-size: 18px !important; font-weight: 700 !important; }
.d-step button.plus { background: var(--lime) !important; color: var(--ground) !important; }
.d-step span { width: 24px; text-align: center; font-weight: 800; font-size: 17px; }
.d-table { font-size: 11.5px; } .d-tr { display: grid; grid-template-columns: repeat(5, 1fr); text-align: center; padding: 3px 0; border-radius: 6px; }
.d-tr.head { color: var(--secondary); font-weight: 600; } .d-tr.cur { background: rgba(200,242,90,.1); } .d-tr span { font-weight: 600; }
.d-tr.total { border-top: 1px solid var(--line); margin-top: 4px; padding-top: 6px; color: var(--lime); }
.d-foot { gap: 8px; } .d-foot .d-btn { margin: 0; }
.d-two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.d-two .d-card { text-align: center; } .d-two .best { border: 1.5px solid var(--lime); }
.d-two img { height: 120px; margin: 4px auto; object-fit: contain; } .d-big { display: block; font-size: 20px; font-weight: 800; }
.d-bar { display: grid; grid-template-columns: 70px 1fr 26px; gap: 8px; align-items: center; padding: 4px 0; font-size: 12px; }
.d-bar span { color: var(--soft); } .d-bar span.strong { color: var(--text); font-weight: 650; }
.d-bar i { height: 7px; background: var(--line); border-radius: 4px; overflow: hidden; } .d-bar em { display: block; height: 100%; background: var(--muted); border-radius: 4px; }
.d-bar em.ghost { background: #A99CFF; } .d-bar em.best { background: var(--lime); } .d-bar b { text-align: right; }
.d-chart { width: 100%; height: 120px; margin: 8px 0; overflow: visible; }
.d-chart polyline { fill: none; stroke: var(--lime); stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.d-chart .target { stroke: var(--secondary); stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; }
.d-chart circle { fill: var(--lime); } .d-chart circle.warn { fill: #FFB464; }
.d-tabs { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; gap: 2px; padding: 4px; border-radius: 999px;
  background: rgba(36,48,43,.72); border: 1px solid rgba(255,255,255,.09); box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 8px 24px rgba(0,0,0,.45);
  -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); }
.d-tab { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 7px 0 6px; border-radius: 999px;
  font: 600 9.5px/1 -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif; letter-spacing: -.01em; color: #F2F5F3; background: none; border: 0; cursor: pointer; transition: background .2s, color .2s; }
.d-ico { width: 22px; height: 22px; background: currentColor; -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
.d-tab.on { color: #DDF56A; background: rgba(255,255,255,.1); }
.d-tab:active { transform: scale(.96); }
.demo-hint { text-align: center; font-size: 13px; color: var(--secondary); margin-top: 14px; }
@media (max-width: 900px) { .d-screen { height: 640px; } }

/* ---------- Motion ---------- */
#ball { position: absolute; z-index: 2; width: min(300px, 26vw); aspect-ratio: 1; left: 44%; top: 0px; opacity: 0; transition: opacity .35s ease; pointer-events: none; will-change: transform; }
#ball.ready { opacity: 1; }
.flight { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.flight path { fill: none; stroke: var(--lime); stroke-width: 2.5; stroke-linecap: round; opacity: 0; filter: drop-shadow(0 0 8px rgba(200,242,90,.6)); transition: opacity 1.6s ease; }
.hero .wrap > div:first-child > * { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
.hero .wrap > div:first-child > *:nth-child(2) { animation-delay: .08s; } .hero .wrap > div:first-child > *:nth-child(3) { animation-delay: .16s; }
.hero .wrap > div:first-child > *:nth-child(4) { animation-delay: .24s; } .hero .wrap > div:first-child > *:nth-child(5) { animation-delay: .32s; }
.demo-phone { animation: phone-in 1s cubic-bezier(.2,.7,.2,1) .2s both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes phone-in { from { opacity: 0; transform: translateY(40px) rotate(6deg); } to { opacity: 1; transform: rotate(2deg); } }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.card, .positions figure { transition: transform .25s ease, border-color .25s ease; }
.card:hover, .positions figure:hover { transform: translateY(-4px); border-color: rgba(200,242,90,.35); }
.feature .phone { transition: transform .5s ease; } .feature:hover .phone { transform: rotate(-1.5deg) translateY(-6px); }
.btn { transition: transform .15s ease, background .2s; } .btn:hover { transform: translateY(-2px); }
@media (max-width: 900px) { .hero { padding-top: 132px; } #ball { width: 128px; left: auto; right: 16px; top: 8px; } #ball.ready { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } .flight { display: none; } .hero .wrap > div:first-child > *, .demo-phone { animation: none; } }

/* Demo: closer to the app */
.d-screen::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 130px; pointer-events: none; z-index: 1;
  background: linear-gradient(180deg, rgba(10,15,13,0) 0%, rgba(10,15,13,.72) 45%, rgba(10,15,13,.96) 100%); }
.d-tabs { z-index: 2; }
.d-gear { margin-left: auto; width: 32px; height: 32px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; color: var(--soft); }
.d-gear .d-ico { width: 17px; height: 17px; }
.d-ico.sm { width: 14px; height: 14px; display: inline-block; vertical-align: -2px; margin-right: 6px; }
.d-btn .d-ico.sm { background: var(--ground); }
.d-chev .d-ico { width: 9px; height: 9px; color: var(--muted); display: block; }
.d-chev { color: var(--muted); display: grid; place-items: center; }
.d-back { display: grid; place-items: center; color: var(--text); } .d-back .d-ico { width: 14px; height: 14px; }
.d-mini .d-ico { width: 18px; height: 18px; color: var(--lime); display: block; margin-left: auto; }
.d-nav b { font-size: 14px; }
.d-pill { height: 32px; padding: 0 14px; border-radius: 999px; background: var(--lime) !important; color: var(--ground) !important; font-weight: 650 !important; }
.d-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 8px; }
.d-tiles div { background: var(--raised); border-radius: 10px; padding: 8px 10px; } .d-tiles small { display: block; color: var(--secondary); font-size: 10px; }
.d-tiles b { font-size: 17px; font-weight: 800; letter-spacing: -.01em; }
.d-session { display: flex; width: 100%; align-items: center; gap: 10px; text-align: left; }
.d-session .d-li-t small.soft { color: var(--soft); white-space: normal; }
.d-right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; }
.d-chart { height: auto; }
.d-chart polyline { stroke-width: 2.2; vector-effect: none; }
.d-chart .target { stroke-width: 1; stroke-dasharray: 3 4; }
.d-chart .grid { stroke: var(--line); stroke-width: 1; }
.d-chart text { fill: var(--secondary); font-size: 9px; }

/* ---------- Share popup (share.js): share this page, follow, or get in touch. One fold open at a
   time; the panel keeps one height and scrolls inside, so it never runs off-screen ---------- */
html.se-share-open, html.se-share-open body { overflow: hidden; }
.se-share { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 16px; opacity: 0; transition: opacity .25s; }
.se-share[hidden] { display: none; }
.se-share.is-open { opacity: 1; }
.se-share-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.66); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.se-share-panel { position: relative; display: flex; flex-direction: column; width: min(640px, 100%); height: min(820px, calc(100dvh - 32px)); overflow: hidden; border-radius: 28px;
  border: 1px solid rgba(200,242,90,.2); background: radial-gradient(120% 40% at 50% 0%, rgba(200,242,90,.1), transparent 62%), #070B09;
  box-shadow: 0 40px 120px -30px rgba(0,0,0,.95), 0 0 70px -34px var(--lime); transform: translateY(14px) scale(.98); transition: transform .35s cubic-bezier(.22,1,.36,1); }
.se-share.is-open .se-share-panel { transform: none; }
.se-share-line { position: absolute; inset: 0 24px auto; height: 1px; background: linear-gradient(90deg, transparent, rgba(200,242,90,.75), transparent); }
.se-share-close { position: absolute; top: 18px; right: 18px; z-index: 2; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 999px; background: rgba(255,255,255,.06); color: var(--secondary); cursor: pointer; transition: color .2s, background-color .2s; }
.se-share-close:hover, .se-share-close:focus-visible { color: var(--text); background: rgba(255,255,255,.12); outline: none; }
.se-share-head { flex: none; padding: 38px 40px 24px; border-bottom: 1px solid var(--line); }
.se-share-eyebrow { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--lime); }
.se-share-title { margin: 8px 44px 0 0; font-size: 26px; font-weight: 800; line-height: 1.15; letter-spacing: -.02em; }
.se-share-lead { margin: 10px 0 0; font-size: 15px; line-height: 1.5; color: var(--secondary); }
.se-share-body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 24px; scrollbar-width: thin; scrollbar-color: rgba(200,242,90,.4) transparent; }
.se-share-sec { border-radius: 20px; transition: background-color .25s; }
.se-share-sec + .se-share-sec { margin-top: 10px; }
.se-share-sec[open] { background: rgba(255,255,255,.025); box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); }
.se-share-sec > summary, .se-share-more > summary { list-style: none; cursor: pointer; }
.se-share-sec > summary::-webkit-details-marker, .se-share-more > summary::-webkit-details-marker { display: none; }
.se-share-sec > summary { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 20px; transition: background-color .2s; }
.se-share-sec > summary:hover { background: rgba(255,255,255,.035); }
.se-share-sec > summary:focus-visible, .se-share-more > summary:focus-visible { outline: 2px solid rgba(200,242,90,.7); outline-offset: -2px; }
.se-share-sec-i { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: var(--lime); background: rgba(200,242,90,.12); border: 1px solid rgba(200,242,90,.26); }
.se-share-sec-t { flex: 1; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.se-share-sec-t b { font-size: 16px; font-weight: 650; }
.se-share-sec-t small { font-size: 13px; color: var(--secondary); }
.se-share-chev { flex: none; display: grid; place-items: center; color: var(--secondary); transition: transform .3s cubic-bezier(.22,1,.36,1), color .2s; }
details[open] > summary > .se-share-chev { transform: rotate(180deg); color: var(--lime); }
.se-share-sec-body { padding: 6px 20px 26px; }
.se-share-card { margin: 0; overflow: hidden; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); }
.se-share-card-img[hidden] { display: none; }
.se-share-card-img { aspect-ratio: 1200/630; background: var(--raised); }
.se-share-card img { width: 100%; height: 100%; object-fit: cover; }
.se-share-card figcaption { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; border-top: 1px solid var(--line); }
.se-share-card b { font-size: 15px; line-height: 1.3; }
.se-share-card span { font-size: 13px; line-height: 1.45; color: var(--secondary); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.se-share-card small { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); }
.se-share-copies { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.se-share-copy, .se-share-device { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 50px; padding: 0 18px; border-radius: 999px; cursor: pointer;
  font: inherit; font-size: 15px; font-weight: 650; color: var(--text); background: transparent; border: 1.5px solid var(--muted); transition: background-color .2s, border-color .2s, color .2s; }
.se-share-copy:hover, .se-share-copy:focus-visible, .se-share-device:hover, .se-share-device:focus-visible { color: var(--text); border-color: var(--lime); background: rgba(200,242,90,.08); outline: none; }
.se-share-copy.is-primary { background: var(--lime); border-color: var(--lime); color: var(--ground); }
.se-share-copy.is-primary:hover, .se-share-copy.is-primary:focus-visible { background: var(--lime-text); color: var(--ground); }
.se-share-copy-i { display: inline-grid; }
.se-share-copy-i svg { grid-area: 1/1; width: 17px; height: 17px; transition: opacity .2s, transform .2s; }
.se-share-copy-i svg:last-child, .se-share-copy.is-done .se-share-copy-i svg:first-child { opacity: 0; transform: scale(.6); }
.se-share-copy.is-done .se-share-copy-i svg:last-child { opacity: 1; transform: none; }
.se-share-copy-b, .se-share-copy.is-done .se-share-copy-a { display: none; }
.se-share-copy.is-done .se-share-copy-b { display: inline; }
.se-share-device { width: 100%; margin-top: 12px; }
.se-share-device[hidden] { display: none; }
.se-share-device svg { width: 17px; height: 17px; color: var(--lime); }
.se-share-note, .se-share-text { margin: 24px 2px 14px; font-size: 13px; line-height: 1.5; color: var(--secondary); }
.se-share-text { margin-top: 4px; font-size: 14px; color: var(--soft); }
.se-share-svcs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.se-share-svc { all: unset; box-sizing: border-box; display: flex; align-items: center; gap: 10px; min-width: 0; padding: 11px 12px; border-radius: 14px; cursor: pointer;
  font-size: 14px; font-weight: 500; color: var(--soft); background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); transition: background-color .2s, border-color .2s, color .2s, transform .2s; }
.se-share-svc > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.se-share-svc-i { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; color: var(--lime); background: rgba(200,242,90,.1); }
.se-share-svc-i svg { width: 16px; height: 16px; }
.se-share-svc:hover, .se-share-svc:focus-visible { color: var(--text); background: rgba(200,242,90,.08); border-color: rgba(200,242,90,.4); transform: translateY(-1px); }
.se-share-svc:focus-visible { outline: 2px solid rgba(200,242,90,.7); outline-offset: 2px; }
.se-share-more { margin-top: 16px; border-radius: 14px; border: 1px dashed rgba(255,255,255,.12); }
.se-share-more[open] { border-style: solid; border-color: rgba(255,255,255,.09); }
.se-share-more > summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 18px; border-radius: 14px; font-size: 14px; font-weight: 650; }
.se-share-more > summary:hover { background: rgba(255,255,255,.03); }
.se-share-more > .se-share-svcs { padding: 4px 16px 0; }
.se-share-more > .se-share-svcs:last-child { padding-bottom: 16px; }
.se-share-more > .se-share-note { margin: 20px 18px 12px; }
.se-share-save { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 16px 18px; border-radius: 14px; color: var(--text); font-size: 14px; font-weight: 650; border: 1px solid rgba(255,255,255,.09); transition: background-color .2s, border-color .2s; }
.se-share-save svg { width: 17px; height: 17px; color: var(--lime); }
.se-share-save small { margin-left: auto; font-size: 12px; font-weight: 500; color: var(--secondary); }
.se-share-save:hover, .se-share-save:focus-visible { color: var(--text); background: rgba(200,242,90,.08); border-color: rgba(200,242,90,.4); outline: none; }
.se-share-addr { margin-top: 24px; }
.se-share-addr label { display: block; margin: 0 2px 10px; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--secondary); }
.se-share-addr div { display: flex; gap: 8px; }
.se-share-addr input { flex: 1; min-width: 0; padding: 12px 14px; border-radius: 12px; font: 14px/1.3 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--text); background: rgba(255,255,255,.03); border: 1px solid var(--line); outline: none; }
.se-share-addr input:focus { border-color: rgba(200,242,90,.6); }
.se-share-addr-copy { flex: none; display: inline-grid; place-items: center; width: 46px; border-radius: 12px; cursor: pointer; color: var(--lime); background: rgba(200,242,90,.1); border: 1px solid rgba(200,242,90,.3); transition: background-color .2s; }
.se-share-addr-copy:hover, .se-share-addr-copy:focus-visible { background: rgba(200,242,90,.18); outline: none; }
.se-share-addr-copy svg { grid-area: 1/1; width: 17px; height: 17px; transition: opacity .2s, transform .2s; }
.se-share-addr-copy svg:last-child, .se-share-addr-copy.is-done svg:first-child { opacity: 0; transform: scale(.6); }
.se-share-addr-copy.is-done svg:last-child { opacity: 1; transform: none; }
.se-share-fine { margin: 14px 2px 0; font-size: 12px; line-height: 1.5; color: var(--secondary); }
.se-share-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.se-share-grid .se-follow { width: auto; height: auto; flex-direction: column; gap: 6px; padding: 14px 6px 12px; border-radius: 14px; }
.se-share-grid .se-follow span { font-size: 12px; }
.se-share-toast { position: absolute; left: 50%; bottom: 20px; margin: 0; padding: 11px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ground); background: var(--lime);
  box-shadow: 0 12px 30px -10px rgba(0,0,0,.8); transform: translate(-50%, 16px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .3s cubic-bezier(.22,1,.36,1); white-space: nowrap; max-width: calc(100% - 32px); overflow: hidden; text-overflow: ellipsis; }
.se-share-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 560px) {
  .se-share { padding: 0; align-items: flex-end; }
  .se-share-panel { height: min(92dvh, 820px); border-radius: 26px 26px 0 0; }
  .se-share-head { padding: 30px 24px 20px; }
  .se-share-title { font-size: 22px; }
  .se-share-body { padding: 16px; }
  .se-share-sec-body { padding: 4px 14px 22px; }
  .se-share-svcs { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .se-share, .se-share-panel, .se-share-toast { transition: none; } }
/* footer social links and share tile */
.se-social { display: flex; gap: 10px; align-items: center; }
.se-follow { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; min-width: 40px; padding: 0 12px; border-radius: 999px; cursor: pointer;
  font: inherit; font-size: 14px; font-weight: 600; color: var(--soft); background: rgba(255,255,255,.04); border: 1px solid var(--line); transition: color .2s, border-color .2s, background-color .2s; }
.se-follow:hover, .se-follow:focus-visible { color: var(--lime); border-color: rgba(200,242,90,.45); background: rgba(200,242,90,.08); outline: none; }
a.se-follow:not(:has(span)) { padding: 0; width: 40px; }
button.btn { font: inherit; font-weight: 650; font-size: 16px; cursor: pointer; background: transparent; }
/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 880px; }
.plan h3 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.plan .price { margin: 14px 0 0; font-size: 44px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.plan .price small { font-size: 17px; font-weight: 600; color: var(--secondary); margin-left: 4px; }
.plan .alt { margin: 8px 0 0; color: var(--secondary); font-size: 15px; }
.plan ul { margin: 20px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.plan li { position: relative; padding-left: 26px; color: var(--soft); font-size: 16px; }
.plan li::before { content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 8px; border-left: 2.5px solid var(--lime); border-bottom: 2.5px solid var(--lime); transform: rotate(-45deg); }
.plan.pro { border-color: rgba(200,242,90,.45); background: radial-gradient(120% 60% at 50% 0%, rgba(200,242,90,.09), transparent 60%), var(--surface); }
.plan .tag { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ground); background: var(--lime); padding: 4px 9px; border-radius: 999px; }
@media (max-width: 760px) { .pricing { grid-template-columns: 1fr; } }
/* Official App Store badge (Apple-hosted artwork) */
.store-badge { display: inline-flex; align-items: center; height: 54px; border-radius: 12px; transition: transform .2s, box-shadow .2s; }
.store-badge img { height: 54px; width: auto; }
.store-badge:hover { transform: translateY(-1px); box-shadow: 0 10px 28px -12px rgba(200,242,90,.55); }
