/* Notcho site. Same palette as the app's notch island. */
:root {
  --bg: #07080b; --bg-2: #0d0f14; --card: #12151b; --card-2: #171a21; --line: rgba(255, 255, 255, .08); --line-2: rgba(255, 255, 255, .14);
  --ink: #f5f6f8; --ink-2: #c3c7ce; --dim: #8e939c; --dim-2: #6b7079;
  --cyan: #67e8f9; --blue: #3b9eff; --amber: #f5a524; --green: #34d399; --red: #f4505e;
  --radius: 18px; --max: 1120px;
  --font: "Inter", system-ui, "Segoe UI Variable Text", "Segoe UI", sans-serif;
}
:root[data-theme="light"] { --bg: #07080b; }   /* the site is dark by design: it's a notch */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

/* ── Header ── */
.top { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(14px); background: rgba(7, 8, 11, .72); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 16px; height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; text-decoration: none; letter-spacing: -.01em; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 22px; font-size: 14.5px; }
.nav a { text-decoration: none; color: var(--ink-2); }
.nav a:hover { color: var(--ink); }
@media (max-width: 720px) { .nav .hide-sm { display: none; } }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 999px; font: 600 15px var(--font);
  text-decoration: none; border: 0; cursor: pointer; transition: transform .08s ease-out, background .15s, box-shadow .15s; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn.primary { background: var(--ink); color: #0b0c0e; }
.btn.primary:hover { box-shadow: 0 0 0 4px rgba(103, 232, 249, .25); }
.btn.ghost { background: rgba(255, 255, 255, .08); color: var(--ink); }
.btn.ghost:hover { background: rgba(255, 255, 255, .14); }
.btn.small { padding: 8px 14px; font-size: 14px; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ── Hero ── */
.hero { position: relative; padding: 64px 0 40px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto; height: 640px; pointer-events: none;
  background: radial-gradient(600px 300px at 50% 0%, rgba(103, 232, 249, .16), transparent 70%), radial-gradient(500px 300px at 85% 30%, rgba(59, 158, 255, .1), transparent 70%); }
.hero .wrap { position: relative; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-2); padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); }
.eyebrow b { color: var(--cyan); font-weight: 600; }
h1 { text-wrap: balance; font-size: clamp(34px, 5.4vw, 58px); line-height: 1.05; letter-spacing: -.035em; margin: 20px auto 16px; max-width: 1040px; font-weight: 750; }
h1 em { font-style: normal; background: linear-gradient(90deg, #a5f3fc, #67e8f9 40%, #c4b5fd); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--ink-2); max-width: 680px; margin: 0 auto 28px; }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.fine { color: var(--dim); font-size: 13.5px; margin-top: 14px; }

/* ── The demo screen with its notch ── */
.screen { position: relative; margin: 48px auto 0; max-width: 980px; aspect-ratio: 16 / 9.4; border-radius: 22px; border: 1px solid var(--line-2);
  background: radial-gradient(circle at 25% 30%, #22304a 0, transparent 45%), radial-gradient(circle at 80% 75%, #1b4650 0, transparent 50%), linear-gradient(160deg, #12161f, #0a0c11);
  box-shadow: 0 40px 120px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .06); overflow: hidden; }
.screen .apps { position: absolute; inset: 64px 6% 8%; display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; opacity: .55; }
.screen .apps div { border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .06); }
.screen .apps div:last-child { display: grid; grid-template-rows: 1fr 1fr; gap: 18px; background: none; border: 0; }
.screen .apps div:last-child::before, .screen .apps div:last-child::after { content: ""; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .06); }
.isl { position: absolute; top: 0; left: 50%; transform: translateX(-50%); background: #000; border-radius: 0 0 14px 14px;
  width: 200px; height: 32px; transition: width .5s cubic-bezier(.3, 1.25, .4, 1), height .5s cubic-bezier(.3, 1.25, .4, 1), border-radius .4s, box-shadow .4s;
  text-align: left; overflow: hidden; }
.isl.open { border-radius: 0 0 22px 22px; }
.isl.need { box-shadow: 0 0 22px 2px rgba(245, 165, 36, .45); }
.isl canvas { position: absolute; transform: translate(-50%, -50%); transition: left .5s, top .5s; }
.isl .row { position: absolute; left: 64px; right: 14px; top: 0; height: 32px; display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 500; color: var(--ink-2); transition: opacity .25s; }
.isl .row .t { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.isl .dot { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.isl .panel { position: absolute; left: 10px; right: 10px; top: 36px; bottom: 10px; border-radius: 18px; background: var(--card); border: 1px solid rgba(255, 255, 255, .04);
  padding: 12px 16px 12px 104px; opacity: 0; transition: opacity .3s .1s; font-size: 13px; color: var(--ink-2); display: flex; flex-direction: column; gap: 6px; }
.isl.open .panel { opacity: 1; }
.isl.open .row { opacity: 0; }
.isl .panel b { color: var(--ink); font-size: 13.5px; }
.isl .acts { display: flex; gap: 6px; margin-top: auto; flex-wrap: wrap; }
.isl .pill { font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); color: var(--ink); }
.isl .pill.warm { background: var(--amber); color: #1b1203; }
.isl .pill.white { background: var(--ink); color: #0b0c0e; }
.isl .file { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 6px; border-radius: 10px; background: rgba(255, 255, 255, .08); color: var(--ink); font-size: 12px; font-weight: 500; }
.isl .bubble { align-self: flex-end; background: rgba(255, 255, 255, .13); color: var(--ink); border-radius: 12px; padding: 5px 10px; max-width: 90%; }
.caption { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: var(--dim); font-size: 13.5px; }
@media (max-width: 640px) {
  .screen { aspect-ratio: 3 / 4; }
  .isl .panel { padding-left: 16px; padding-top: 70px; }
}

/* ── Sections ── */
section.block { padding: 88px 0; border-top: 1px solid var(--line); }
.kicker { color: var(--cyan); font-weight: 600; font-size: 14px; letter-spacing: .02em; }
h2 { text-wrap: balance; font-size: clamp(28px, 4vw, 42px); line-height: 1.12; letter-spacing: -.03em; margin: 8px 0 14px; font-weight: 720; }
.sub { color: var(--ink-2); font-size: 18px; max-width: 680px; margin: 0 0 40px; }
.steps { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); counter-reset: s; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: rgba(103, 232, 249, .12); color: var(--cyan); font-weight: 700; font-size: 14px; margin-bottom: 14px; }
.step h3, .feat h3 { margin: 0 0 6px; font-size: 17.5px; letter-spacing: -.01em; }
.step p, .feat p { margin: 0; color: var(--ink-2); font-size: 15px; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.feat { background: linear-gradient(180deg, var(--card-2), var(--card)); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.feat .ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; margin-bottom: 14px; background: rgba(255, 255, 255, .06); color: var(--cyan); }
.feat.wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: center; }
@media (max-width: 800px) { .feat.wide { grid-template-columns: 1fr; } }
.own { border-color: rgba(103, 232, 249, .28); background: radial-gradient(400px 200px at 0% 0%, rgba(103, 232, 249, .1), transparent 70%), var(--card); }
.check { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; }
.check li { padding-left: 26px; position: relative; color: var(--ink-2); font-size: 15px; }
.check li::before { content: ""; position: absolute; left: 0; top: 6px; width: 15px; height: 15px; border-radius: 50%;
  background: rgba(52, 211, 153, .18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.2l2.6 2.6L12 5.4' fill='none' stroke='%2334d399' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/11px no-repeat; }

/* ── Pricing ── */
.price { max-width: 520px; margin: 0 auto; text-align: center; background: radial-gradient(500px 240px at 50% 0%, rgba(103, 232, 249, .14), transparent 70%), var(--card);
  border: 1px solid rgba(103, 232, 249, .3); border-radius: 24px; padding: 34px 28px; }
.price .amt { font-size: 56px; font-weight: 780; letter-spacing: -.04em; line-height: 1; margin: 10px 0 4px; }
.price .amt small { font-size: 18px; font-weight: 600; color: var(--dim); letter-spacing: 0; }
.price .check { text-align: left; max-width: 380px; margin: 22px auto 26px; }
.price .note { color: var(--dim); font-size: 13.5px; margin-top: 14px; }
.badge { display: inline-block; font-size: 12.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: rgba(52, 211, 153, .15); color: var(--green); }

/* ── FAQ ── */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; color: var(--dim); font-weight: 400; font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--ink-2); margin: 10px 0 0; }

/* ── Footer ── */
footer { border-top: 1px solid var(--line); padding: 40px 0 56px; color: var(--dim); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: flex-start; justify-content: space-between; }
footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
footer a { color: var(--ink-2); text-decoration: none; }
footer a:hover { color: var(--ink); }
footer .legal { flex-basis: 100%; font-size: 12.5px; color: var(--dim-2); }

/* ── Simple pages (welcome, account, legal) ── */
.page { padding: 56px 0 88px; }
.page .wrap { max-width: 760px; }
.doc h1 { font-size: clamp(32px, 5vw, 44px); margin: 0 0 6px; text-align: left; }
.doc .updated { color: var(--dim); margin: 0 0 32px; }
.doc h2 { font-size: 22px; margin: 34px 0 8px; letter-spacing: -.01em; }
.doc p, .doc li { color: var(--ink-2); }
.doc a { color: var(--cyan); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin: 18px 0; }
.code { font: 700 clamp(22px, 4vw, 30px)/1.2 ui-monospace, "Cascadia Mono", Consolas, monospace; letter-spacing: .04em; color: var(--ink);
  background: #000; border: 1px solid var(--line-2); border-radius: 14px; padding: 16px 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; overflow-wrap: anywhere; }
.progress { display: flex; align-items: center; gap: 12px; color: var(--ink-2); }
.spin { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .15); border-top-color: var(--cyan); animation: spin .9s linear infinite; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.err { color: #ff8d97; }
ol.how { padding-left: 20px; color: var(--ink-2); }
ol.how li { margin: 8px 0; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }
