/* Unnamely site — shared styles. Self-hosted font, no external scripts: nothing loads from third parties. */
@font-face {
  font-family: "Inter Var";
  src: url("../fonts/inter-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- theme tokens: dark (default) ---------- */
:root {
  --bg: #070b16;
  --bg-2: #0b1224;
  --card: #0f1830;
  --card-2: #131f3b;
  --line: rgba(148, 163, 184, .14);
  --line-2: rgba(148, 163, 184, .24);
  --ink: #e8eefb;
  --text-2: #c9d4ea;
  --muted: #9aa8c3;
  --dim: #8291b2;
  --sky: #38bdf8;
  --sky-2: #0ea5e9;
  --sky-ink: #7dd3fc;
  --mint: #34d399;
  --mint-ink: #34d399;
  --amber: #fbbf24;
  --rose: #fb7185;
  --tint: rgba(255, 255, 255, .03);
  --sunk: rgba(0, 0, 0, .28);
  --nav-bg: rgba(7, 11, 22, .72);
  --nav-bg-solid: rgba(7, 11, 22, .96);
  --code-bg: #0a1224;
  --frame-bg: #0d1529;
  --doc-grad: linear-gradient(180deg, #111c36, #0c1529);
  --bar-grad: linear-gradient(180deg, #17223d, #111a30);
  --final-grad: linear-gradient(180deg, #0e1a33, #0a1226);
  --grad-text: linear-gradient(90deg, #7dd3fc, #38bdf8 40%, #34d399, #7dd3fc);
  --glow-a: rgba(14, 165, 233, .22);
  --glow-b: rgba(52, 211, 153, .12);
  --radius: 18px;
  --shadow: 0 30px 80px rgba(0, 0, 0, .45);
  --font: "Inter Var", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "Cascadia Code", Menlo, Consolas, monospace;
  color-scheme: dark;
}
/* ---------- light theme: chosen by the toggle, or by the system when no choice is saved ---------- */
:root[data-theme="light"] {
  --bg: #f6f8fc; --bg-2: #eef2f9; --card: #ffffff; --card-2: #eef3fa;
  --line: rgba(15, 23, 42, .09); --line-2: rgba(15, 23, 42, .16);
  --ink: #0b1220; --text-2: #334155; --muted: #475569; --dim: #52607a;
  --sky: #036aa5; --sky-2: #0284c7; --sky-ink: #0369a1; --mint: #10b981; --mint-ink: #047857; --amber: #92400e; --rose: #be123c;
  --tint: rgba(15, 23, 42, .03); --sunk: rgba(15, 23, 42, .045);
  --nav-bg: rgba(246, 248, 252, .8); --nav-bg-solid: rgba(246, 248, 252, .97);
  --code-bg: #f1f5fb; --frame-bg: #e9eef6;
  --doc-grad: linear-gradient(180deg, #ffffff, #f6f8fc); --bar-grad: linear-gradient(180deg, #eef2f8, #e4eaf3);
  --final-grad: linear-gradient(180deg, #e8f5ff, #f5faff);
  --grad-text: linear-gradient(90deg, #0284c7, #0891b2 45%, #059669, #0284c7);
  --glow-a: rgba(14, 165, 233, .16); --glow-b: rgba(16, 185, 129, .1);
  --shadow: 0 24px 60px rgba(15, 23, 42, .12);
  color-scheme: light;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #f6f8fc; --bg-2: #eef2f9; --card: #ffffff; --card-2: #eef3fa;
    --line: rgba(15, 23, 42, .09); --line-2: rgba(15, 23, 42, .16);
    --ink: #0b1220; --text-2: #334155; --muted: #475569; --dim: #52607a;
    --sky: #036aa5; --sky-2: #0284c7; --sky-ink: #0369a1; --mint: #10b981; --mint-ink: #047857; --amber: #92400e; --rose: #be123c;
    --tint: rgba(15, 23, 42, .03); --sunk: rgba(15, 23, 42, .045);
    --nav-bg: rgba(246, 248, 252, .8); --nav-bg-solid: rgba(246, 248, 252, .97);
    --code-bg: #f1f5fb; --frame-bg: #e9eef6;
    --doc-grad: linear-gradient(180deg, #ffffff, #f6f8fc); --bar-grad: linear-gradient(180deg, #eef2f8, #e4eaf3);
    --final-grad: linear-gradient(180deg, #e8f5ff, #f5faff);
    --grad-text: linear-gradient(90deg, #0284c7, #0891b2 45%, #059669, #0284c7);
    --glow-a: rgba(14, 165, 233, .16); --glow-b: rgba(16, 185, 129, .1);
    --shadow: 0 24px 60px rgba(15, 23, 42, .12);
    color-scheme: light;
  }
}
* { 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; overflow-x: hidden; }
a { color: var(--sky-ink); }
img { max-width: 100%; display: block; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--mono); }
.tok { font-family: var(--mono); font-size: .88em; color: var(--sky-ink); background: rgba(56, 189, 248, .12); border: 1px solid rgba(56, 189, 248, .25); padding: 1px 7px; border-radius: 7px; white-space: nowrap; }
.real { color: var(--mint-ink); font-weight: 600; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); background: var(--nav-bg); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 750; font-size: 17px; letter-spacing: -.01em; color: var(--ink); text-decoration: none; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav-links { display: flex; gap: 24px; margin-left: auto; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 550; }
.nav-links a:hover { color: var(--ink); }
.btn { display: inline-flex; align-items: center; gap: 9px; font: 600 15px/1 var(--font); padding: 14px 20px; border-radius: 12px; text-decoration: none; border: 1px solid var(--line-2); color: var(--ink); background: var(--tint); cursor: pointer; transition: transform .15s, background .15s, border-color .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); border-color: rgba(148, 163, 184, .4); }
.btn.primary { background: linear-gradient(180deg, #4cc6fa, #0ea5e9); color: #04121f; border-color: transparent; box-shadow: 0 10px 30px rgba(14, 165, 233, .35), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn.primary:hover { box-shadow: 0 14px 38px rgba(14, 165, 233, .5), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn.sm { padding: 10px 14px; font-size: 14px; border-radius: 10px; }
.btn svg { width: 18px; height: 18px; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 72px 0 96px; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: -120px 0 auto; height: 760px; z-index: -1;
  background: radial-gradient(600px 340px at 18% 20%, var(--glow-a), transparent 70%),
              radial-gradient(520px 320px at 85% 30%, var(--glow-b), transparent 70%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 70%); }
.hero .wrap { display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--sky-ink); background: rgba(56, 189, 248, .08); border: 1px solid rgba(56, 189, 248, .22); padding: 6px 12px; border-radius: 999px; margin-bottom: 22px; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(52, 211, 153, .18); }
h1 { font-size: clamp(38px, 5.4vw, 64px); line-height: 1.03; letter-spacing: -.035em; margin: 0 0 22px; font-weight: 800; }
h1 .grad { background: var(--grad-text); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 19px; color: var(--muted); margin: 0 0 32px; max-width: 34em; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.trust { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 30px; color: var(--dim); font-size: 14px; }
.trust span { display: inline-flex; align-items: center; gap: 7px; }
.trust svg { width: 16px; height: 16px; color: var(--mint-ink); }

/* hero demo card */
.stage { position: relative; }
.doc { position: relative; background: var(--doc-grad); border: 1px solid var(--line-2); border-radius: 20px; box-shadow: var(--shadow); padding: 22px 24px 24px; overflow: hidden; }
.doc-head { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.doc-head .file { display: flex; align-items: center; gap: 10px; font-weight: 650; font-size: 14px; }
.doc-head .badge { width: 34px; height: 40px; border-radius: 7px; background: linear-gradient(180deg, #ef4444, #b91c1c); color: #fff; font: 700 10px/40px var(--font); text-align: center; letter-spacing: .04em; }
.doc-head .meta { color: var(--dim); font-size: 12px; font-weight: 500; }
.state { margin-left: auto; font-size: 12px; font-weight: 650; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); transition: all .35s; white-space: nowrap; }
.state.on { color: #052e1f; background: var(--mint); border-color: transparent; }
.doc-body { font-size: 14.5px; line-height: 1.75; color: var(--text-2); }
.doc-body .title { font-size: 21px; font-weight: 750; color: var(--ink); line-height: 1.3; margin-bottom: 4px; }
.doc-body .sub { color: var(--dim); font-size: 13px; margin-bottom: 14px; }
.doc-body p { margin: 0 0 10px; }
.pii { position: relative; display: inline-grid; vertical-align: baseline; }
.pii > span { grid-area: 1 / 1; transition: opacity .45s, transform .45s, filter .45s; white-space: nowrap; }
.pii .v { color: var(--ink); background: rgba(251, 191, 36, .0); border-radius: 5px; transition: background .4s, opacity .45s, transform .45s, filter .45s; }
.pii .t { opacity: 0; transform: translateY(6px); filter: blur(4px); font-family: var(--mono); font-size: .86em; color: var(--sky-ink); background: rgba(56, 189, 248, .13); border: 1px solid rgba(56, 189, 248, .3); border-radius: 6px; padding: 0 6px; justify-self: start; align-self: center; line-height: 1.5; }
.doc.scan .pii .v { background: rgba(251, 191, 36, .22); box-shadow: 0 0 0 2px rgba(251, 191, 36, .22); }
.doc.masked .pii .v { opacity: 0; transform: translateY(-6px); filter: blur(4px); }
.doc.masked .pii .t { opacity: 1; transform: none; filter: none; }
.scanline { position: absolute; left: 0; right: 0; top: 0; height: 90px; pointer-events: none; opacity: 0;
  background: linear-gradient(180deg, transparent, rgba(56, 189, 248, .16), transparent); border-bottom: 1px solid rgba(56, 189, 248, .6); }
.doc.scan .scanline { animation: scan 1.3s ease-in-out; }
@keyframes scan { 0% { opacity: 1; transform: translateY(-90px); } 100% { opacity: 0; transform: translateY(380px); } }
.float { position: absolute; background: rgba(15, 24, 48, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line-2); border-radius: 14px; padding: 11px 14px; box-shadow: 0 18px 50px rgba(0, 0, 0, .45); font-size: 13px; display: flex; align-items: center; gap: 10px; transition: opacity .5s, transform .5s; }
.float b { display: block; font-size: 13.5px; }
.float small { color: var(--dim); font-size: 12px; }
.float .ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; flex: none; }
.float .ic svg { width: 17px; height: 17px; }
.doc-body .lbl-k { display: inline-block; min-width: 60px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); }
.f1 { right: -14px; bottom: -30px; }
.f1 .ic { background: rgba(52, 211, 153, .15); color: var(--mint-ink); }
.f2 { left: -22px; bottom: -30px; }
.stage { margin-bottom: 30px; }
.f2 .ic { background: rgba(56, 189, 248, .15); color: var(--sky); }
.float.hide { opacity: 0; transform: translateY(8px); }

/* ---------- sections ---------- */
section { position: relative; }
.sec { padding: 96px 0; border-top: 1px solid var(--line); }
.sec-head { max-width: 720px; margin: 0 0 48px; }
.sec-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sky); margin-bottom: 12px; }
h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; letter-spacing: -.028em; margin: 0 0 16px; font-weight: 780; }
.sec-head p { color: var(--muted); font-size: 18px; margin: 0; }

/* sites marquee */
.sites { padding: 28px 0 34px; border-top: 1px solid var(--line); }
.sites p { text-align: center; color: var(--dim); font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 18px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee .track { display: flex; gap: 14px; width: max-content; animation: slide 38s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
.chip { display: inline-flex; align-items: center; gap: 9px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--tint); color: var(--text-2); font-weight: 600; font-size: 15px; white-space: nowrap; }
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); }
@keyframes slide { to { transform: translateX(-50%); } }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.step { position: relative; background: linear-gradient(180deg, var(--card), var(--bg-2)); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.step .n { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; font-weight: 800; color: #04121f; background: linear-gradient(180deg, #7dd3fc, #38bdf8); margin-bottom: 18px; }
.step h3 { margin: 0 0 8px; font-size: 19px; letter-spacing: -.01em; }
.step p { margin: 0 0 16px; color: var(--muted); font-size: 15px; }
.step .ex { font-size: 13.5px; background: var(--sunk); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; line-height: 1.8; color: var(--text-2); }
.step .ex .lbl { display: block; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); margin-bottom: 2px; }

/* live demo */
.demo { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pane { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; min-height: 320px; }
.pane-h { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 650; color: var(--muted); }
.pane-h .dots { display: flex; gap: 6px; }
.pane-h .dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.pane-h .right { margin-left: auto; }
.pane textarea { flex: 1; width: 100%; resize: none; border: 0; outline: 0; background: transparent; color: var(--ink); font: 15px/1.75 var(--font); padding: 18px; min-height: 250px; }
.pane .out { flex: 1; padding: 18px; font-size: 15px; line-height: 1.75; white-space: pre-wrap; word-break: break-word; color: var(--text-2); }
.seg { display: inline-flex; background: var(--sunk); border: 1px solid var(--line); border-radius: 10px; padding: 3px; }
.seg button { font: 600 12.5px var(--font); color: var(--muted); background: none; border: 0; padding: 6px 10px; border-radius: 7px; cursor: pointer; }
.seg button.on { background: var(--card-2); color: var(--ink); box-shadow: 0 1px 0 rgba(255, 255, 255, .06) inset; }
.found { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 18px 16px; }
.found span { font-size: 12px; border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; color: var(--muted); }
.found b { color: var(--ink); font-weight: 650; }
.demo-note { margin-top: 14px; color: var(--dim); font-size: 13.5px; text-align: center; }

/* features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: border-color .2s, transform .2s; }
.feat:hover { border-color: var(--line-2); transform: translateY(-2px); }
.feat .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px; background: rgba(56, 189, 248, .1); color: var(--sky); border: 1px solid rgba(56, 189, 248, .2); }
.feat .ic svg { width: 21px; height: 21px; }
.feat h3 { margin: 0 0 8px; font-size: 17.5px; letter-spacing: -.01em; }
.feat p { margin: 0; color: var(--muted); font-size: 15px; }
.feat.wide { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; }
.types { display: flex; flex-wrap: wrap; gap: 8px; }
.types span { font-size: 13px; padding: 6px 11px; border-radius: 9px; background: var(--tint); border: 1px solid var(--line); color: var(--text-2); }

/* formats */
.formats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.fmt { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.fmt .ext { font: 800 13px var(--mono); letter-spacing: .04em; display: inline-block; padding: 5px 9px; border-radius: 8px; margin-bottom: 14px; }
.fmt h4 { margin: 0 0 6px; font-size: 16px; }
.fmt p { margin: 0; color: var(--muted); font-size: 14px; }
.limits { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px 26px; color: var(--muted); font-size: 14.5px; padding: 16px 20px; border: 1px dashed var(--line-2); border-radius: 14px; }
.limits b { color: var(--ink); }

/* privacy split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; }
.checks .ck { flex: none; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: rgba(52, 211, 153, .14); color: var(--mint-ink); margin-top: 1px; }
.checks .ck svg { width: 15px; height: 15px; }
.checks b { display: block; font-size: 16px; }
.checks span { color: var(--muted); font-size: 15px; }
.arch { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 26px; box-shadow: var(--shadow); }
.arch .device { border: 1px dashed rgba(52, 211, 153, .45); border-radius: 16px; padding: 18px; position: relative; }
.arch .device > .lbl { position: absolute; top: -11px; left: 16px; background: var(--card); padding: 0 8px; font-size: 12px; font-weight: 700; color: var(--mint-ink); letter-spacing: .04em; text-transform: uppercase; }
.arch .row { display: flex; align-items: center; gap: 10px; }
.arch .box { flex: 1; text-align: center; padding: 14px 10px; border-radius: 12px; background: var(--tint); border: 1px solid var(--line); font-size: 14px; font-weight: 650; }
.arch .box small { display: block; color: var(--dim); font-weight: 500; font-size: 12px; margin-top: 2px; }
.arch .box.hl { border-color: rgba(56, 189, 248, .4); background: rgba(56, 189, 248, .08); }
.arch .arrow { color: var(--dim); flex: none; }
.arch .down { display: flex; justify-content: center; padding: 12px 0; color: var(--dim); }
.arch .ai { margin-top: 0; border-radius: 14px; padding: 14px 16px; background: var(--tint); border: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 14px; }
.arch .ai b { font-size: 14.5px; }

/* faq */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 0 20px; transition: border-color .2s; }
details[open] { border-color: var(--line-2); }
summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 650; font-size: 16.5px; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--sky); font-size: 22px; line-height: 1; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 0 0 18px; color: var(--muted); }

/* final cta */
.final { padding: 40px 0 110px; }
.final .box { position: relative; overflow: hidden; text-align: center; border-radius: 28px; padding: 64px 28px; border: 1px solid rgba(56, 189, 248, .25);
  background: radial-gradient(500px 240px at 50% 0%, rgba(56, 189, 248, .25), transparent 70%), var(--final-grad); }
.final h2 { margin-bottom: 14px; }
.final p { color: var(--muted); font-size: 18px; margin: 0 auto 30px; max-width: 34em; }
.final .cta-row { justify-content: center; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 34px 0 48px; color: var(--dim); font-size: 14px; }
footer .wrap { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--ink); }
footer .sp { flex: 1; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- article pages (privacy) ---------- */
.article { max-width: 780px; margin: 0 auto; padding: 56px 24px 96px; }
.article h1 { font-size: clamp(34px, 4.4vw, 48px); margin-bottom: 10px; }
.article .updated { color: var(--dim); margin: 0 0 36px; }
.article h2 { font-size: 23px; margin: 40px 0 12px; letter-spacing: -.015em; }
.article p, .article li { color: var(--text-2); }
.article ul { padding-left: 22px; }
.article li { margin: 8px 0; }
.article code { font-family: var(--mono); font-size: .88em; background: rgba(56, 189, 248, .1); color: var(--sky-ink); padding: 1px 6px; border-radius: 6px; }
.article .callout { border: 1px solid rgba(52, 211, 153, .3); background: rgba(52, 211, 153, .06); border-radius: 16px; padding: 18px 20px; margin: 0 0 8px; }
.article .callout b { color: var(--mint-ink); }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero .wrap, .split, .demo { grid-template-columns: 1fr; }
  .hero { padding-top: 48px; }
  .stage { max-width: 560px; margin: 24px auto 0; width: 100%; }
  .features, .steps { grid-template-columns: 1fr 1fr; }
  .feat.wide { grid-column: span 2; }
  .formats { grid-template-columns: repeat(3, 1fr); }
  .nav-links { display: none; }
  .nav .btn.sm { margin-left: auto; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .features, .steps, .formats { grid-template-columns: 1fr; }
  .feat.wide { grid-column: auto; grid-template-columns: 1fr; }
  .sec { padding: 72px 0; }
  .f1 { right: 6px; bottom: -34px; }
  .f2 { display: none; }
  .nav .btn.sm { margin-left: auto; }
  .nav .btn.sm span { display: none; }
  .arch .row { flex-direction: column; }
  .arch .arrow { transform: rotate(90deg); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =====================================================================
   Multi-page site components
   ===================================================================== */

/* mobile menu */
.menu-btn { display: none; margin-left: auto; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line-2); background: transparent; color: var(--ink); cursor: pointer; }
.menu-btn svg { width: 20px; height: 20px; }
.nav-links a.on { color: var(--ink); }
.mobile-menu { display: none; }
@media (max-width: 980px) {
  .menu-btn { display: grid; place-items: center; }
  .nav .btn.sm { margin-left: 0; }
  .mobile-menu.open { display: grid; gap: 2px; padding: 8px 16px 18px; border-top: 1px solid var(--line); background: var(--nav-bg-solid); }
  .mobile-menu a { color: var(--ink); text-decoration: none; padding: 12px 8px; border-radius: 10px; font-weight: 600; }
  .mobile-menu a:hover { background: var(--tint); }
}

/* product screenshot in a browser frame */
.frame { border-radius: 16px; overflow: hidden; border: 1px solid var(--line-2); background: var(--frame-bg); box-shadow: var(--shadow); }
.frame-bar { display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 14px; background: var(--bar-grad); border-bottom: 1px solid var(--line); }
.frame-bar .dots { display: flex; gap: 7px; }
.frame-bar .dots i { width: 11px; height: 11px; border-radius: 50%; background: #2a3757; }
.frame-bar .dots i:nth-child(1) { background: #ff5f57; } .frame-bar .dots i:nth-child(2) { background: #febc2e; } .frame-bar .dots i:nth-child(3) { background: #28c840; }
.frame-bar .url { flex: 1; max-width: 420px; margin: 0 auto; height: 24px; border-radius: 7px; background: var(--sunk); color: var(--dim); font-size: 12px; display: flex; align-items: center; gap: 6px; padding: 0 10px; }
.frame-bar .url svg { width: 12px; height: 12px; color: var(--mint-ink); }
.frame-bar .ext { width: 22px; height: 22px; border-radius: 6px; }
.frame img { width: 100%; height: auto; }
.shot-wrap { position: relative; }
.shot-pop { position: absolute; width: 34%; min-width: 200px; right: -4%; bottom: -10%; border-radius: 16px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: 0 30px 70px rgba(0, 0, 0, .6); background: #fff; }
.hero.product .wrap { grid-template-columns: .92fr 1.28fr; gap: 48px; }
.hero.product h1 { font-size: clamp(38px, 4.3vw, 58px); }
.hero.product .lead { font-size: 18px; }
img { height: auto; }
.glow { position: absolute; inset: 10% 5% -5%; background: radial-gradient(closest-side, rgba(14, 165, 233, .35), transparent); filter: blur(40px); z-index: -1; }

/* before / after */
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ba .card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.ba .card h3 { margin: 0 0 4px; font-size: 16px; display: flex; align-items: center; gap: 8px; }
.ba .card .who { color: var(--dim); font-size: 13px; margin-bottom: 14px; }
.ba pre { margin: 0; white-space: pre-wrap; font: 14.5px/1.75 var(--font); color: var(--text-2); }
.pill-s { font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px; letter-spacing: .02em; }
.pill-s.ai { background: rgba(56, 189, 248, .14); color: var(--sky-ink); }
.pill-s.you { background: rgba(52, 211, 153, .14); color: var(--mint-ink); }

/* use cases */
.uses { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.use { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.use .em { font-size: 26px; margin-bottom: 10px; }
.use h3 { margin: 0 0 6px; font-size: 16.5px; }
.use p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* sub-page header */
.page-hero { position: relative; padding: 76px 0 56px; text-align: center; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: -80px 0 auto; height: 460px; z-index: -1; background: radial-gradient(520px 260px at 50% 30%, rgba(14, 165, 233, .2), transparent 70%); }
.page-hero h1 { font-size: clamp(36px, 5vw, 56px); margin: 0 auto 16px; max-width: 16em; }
.page-hero p { color: var(--muted); font-size: 19px; max-width: 38em; margin: 0 auto; }

/* walkthrough rows */
.walk { display: grid; gap: 88px; }
.walk-row { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: center; }
.walk-row.flip > :first-child { order: 2; }
.walk-row .num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; font-weight: 800; color: #04121f; background: linear-gradient(180deg, #7dd3fc, #38bdf8); margin-bottom: 16px; }
.walk-row h2 { font-size: clamp(26px, 3vw, 34px); }
.walk-row p { color: var(--muted); font-size: 17px; margin: 0 0 14px; }
.walk-row ul { color: var(--muted); padding-left: 20px; margin: 0; }
.walk-row li { margin: 6px 0; }
.code { background: var(--code-bg); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; font: 14px/1.8 var(--mono); color: var(--text-2); white-space: pre-wrap; box-shadow: var(--shadow); }
.code .c { color: var(--dim); }

/* tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
table.t { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
table.t th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--dim); padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--tint); }
table.t td { padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--text-2); }
table.t tr:last-child td { border-bottom: 0; }
table.t td:first-child { color: var(--ink); font-weight: 600; white-space: nowrap; }
table.t code { font-family: var(--mono); font-size: .88em; color: var(--sky-ink); }

/* prose (help, legal) */
.prose { color: var(--text-2); font-size: 16.5px; }
.prose h2 { color: var(--ink); font-size: 26px; margin: 56px 0 14px; letter-spacing: -.02em; scroll-margin-top: 90px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { color: var(--ink); font-size: 19px; margin: 32px 0 10px; scroll-margin-top: 90px; }
.prose p { margin: 0 0 14px; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 16px; }
.prose li { margin: 7px 0; }
.prose code { font-family: var(--mono); font-size: .88em; background: rgba(56, 189, 248, .1); color: var(--sky-ink); padding: 1px 6px; border-radius: 6px; }
.prose b, .prose strong { color: var(--ink); }
.prose .note { border: 1px solid rgba(56, 189, 248, .3); background: rgba(56, 189, 248, .06); border-radius: 14px; padding: 14px 18px; margin: 0 0 18px; }
.prose .warn { border-color: rgba(251, 191, 36, .35); background: rgba(251, 191, 36, .06); }
.prose img { border-radius: 14px; border: 1px solid var(--line-2); margin: 8px 0 20px; }
.kbd { font-family: var(--mono); font-size: .85em; border: 1px solid var(--line-2); border-bottom-width: 2px; padding: 1px 6px; border-radius: 6px; }

/* docs layout */
.docs { display: grid; grid-template-columns: 240px 1fr; gap: 56px; padding: 24px 0 96px; }
.toc { position: sticky; top: 90px; align-self: start; max-height: calc(100vh - 110px); overflow: auto; }
.toc .grp { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); margin: 18px 0 8px; }
.toc .grp:first-child { margin-top: 0; }
.toc a { display: block; color: var(--muted); text-decoration: none; font-size: 14.5px; padding: 6px 10px; border-radius: 8px; border-left: 2px solid transparent; }
.toc a:hover { color: var(--ink); }
.toc a.on { color: var(--sky-ink); background: rgba(56, 189, 248, .08); }
.search { position: relative; margin-bottom: 18px; }
.search input { width: 100%; font: 14.5px var(--font); color: var(--ink); background: var(--card); border: 1px solid var(--line-2); border-radius: 10px; padding: 10px 12px 10px 36px; outline: none; }
.search input:focus { border-color: var(--sky); }
.search svg { position: absolute; left: 11px; top: 11px; width: 16px; height: 16px; color: var(--dim); }

/* cards grid (help home, contact) */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cardlink { display: block; text-decoration: none; color: inherit; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; transition: border-color .2s, transform .2s; }
.cardlink:hover { border-color: rgba(56, 189, 248, .45); transform: translateY(-2px); }
.cardlink h3 { margin: 12px 0 6px; font-size: 17px; }
.cardlink p { margin: 0; color: var(--muted); font-size: 14.5px; }
.cardlink .ic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: rgba(56, 189, 248, .1); color: var(--sky); border: 1px solid rgba(56, 189, 248, .2); }
.cardlink .ic svg { width: 20px; height: 20px; }
.cardlink .go { margin-top: 14px; color: var(--sky-ink); font-weight: 600; font-size: 14px; }

/* install steps */
.isteps { display: grid; gap: 14px; counter-reset: i; max-width: 760px; margin: 0 auto; }
.istep { display: grid; grid-template-columns: 44px 1fr; gap: 16px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.istep::before { counter-increment: i; content: counter(i); width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; font-weight: 800; color: #04121f; background: linear-gradient(180deg, #7dd3fc, #38bdf8); }
.istep h3 { margin: 4px 0 4px; font-size: 17px; }
.istep p { margin: 0; color: var(--muted); }

/* changelog */
.log { max-width: 820px; margin: 0 auto; display: grid; gap: 0; }
.rel { display: grid; grid-template-columns: 170px 1fr; gap: 32px; padding: 36px 0; border-top: 1px solid var(--line); }
.rel:first-child { border-top: 0; padding-top: 0; }
.rel .ver { font-weight: 800; font-size: 22px; letter-spacing: -.02em; }
.rel .date { color: var(--dim); font-size: 14px; margin-top: 4px; }
.rel .tag { display: inline-block; margin-top: 10px; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: rgba(52, 211, 153, .14); color: var(--mint-ink); }
.rel .tag.next { background: rgba(251, 191, 36, .14); color: var(--amber); }
.rel h3 { margin: 0 0 10px; font-size: 19px; }
.rel ul { margin: 0 0 14px; padding-left: 0; list-style: none; display: grid; gap: 10px; }
.rel li { display: grid; grid-template-columns: 74px 1fr; gap: 12px; color: var(--text-2); }
.rel li .k { font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: 3px 0; text-align: center; border-radius: 6px; height: max-content; }
.k.new { background: rgba(56, 189, 248, .14); color: var(--sky-ink); }
.k.imp { background: rgba(52, 211, 153, .14); color: var(--mint-ink); }
.k.fix { background: rgba(251, 113, 133, .14); color: var(--rose); }

/* 404 */
.nf { min-height: 62vh; display: grid; place-items: center; text-align: center; padding: 60px 0; }
.nf .code404 { font: 800 clamp(90px, 16vw, 160px)/1 var(--font); letter-spacing: -.05em; background: linear-gradient(90deg, #7dd3fc, #34d399); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nf p { color: var(--muted); font-size: 18px; margin: 10px 0 28px; }

/* footer (multi-column) */
.foot { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding: 56px 0 36px; }
.foot h4 { margin: 0 0 14px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.foot a { display: block; color: var(--muted); text-decoration: none; padding: 5px 0; font-size: 14.5px; }
.foot a:hover { color: var(--ink); }
.foot p { color: var(--dim); font-size: 14px; max-width: 26em; margin: 14px 0 0; }
.foot-bottom { border-top: 1px solid var(--line); padding: 22px 0 40px; display: flex; gap: 16px; flex-wrap: wrap; color: var(--dim); font-size: 13.5px; }
.foot-bottom .sp { flex: 1; }
footer { padding: 0; }
footer .wrap { display: block; }

@media (max-width: 980px) {
  .hero.product .wrap, .ba, .walk-row, .docs { grid-template-columns: 1fr; }
  .walk-row.flip > :first-child { order: 0; }
  .uses { grid-template-columns: 1fr 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .toc { position: static; max-height: none; }
  .shot-pop { right: 2%; }
  .foot { grid-template-columns: 1fr 1fr; }
  .rel { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 640px) {
  .uses, .cards, .foot { grid-template-columns: 1fr; }
  .shot-pop { position: relative; right: auto; bottom: auto; width: 70%; margin: -40px 0 0 auto; }
  .walk { gap: 64px; }
  .page-hero { padding: 52px 0 36px; }
  .frame-bar .url { display: none; }
}
.foot a.brand { display: flex; padding: 0; }
.prose section + section { margin-top: 56px; }

/* =====================================================================
   2026 refresh: theming, kinetic type, micro-interactions, organic shapes, a11y
   ===================================================================== */

/* file-type chips (both themes) */
.e-pdf { background: rgba(239, 68, 68, .14); color: #f87171; }
.e-doc { background: rgba(59, 130, 246, .14); color: #60a5fa; }
.e-xls { background: rgba(34, 197, 94, .14); color: #4ade80; }
.e-ppt { background: rgba(249, 115, 22, .14); color: #fb923c; }
.e-img { background: rgba(168, 85, 247, .14); color: #c084fc; }
:root[data-theme="light"] .e-pdf { color: #b91c1c; } :root[data-theme="light"] .e-doc { color: #1d4ed8; }
:root[data-theme="light"] .e-xls { color: #166534; } :root[data-theme="light"] .e-ppt { color: #9a3412; } :root[data-theme="light"] .e-img { color: #7e22ce; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .e-pdf { color: #b91c1c; } :root:not([data-theme="dark"]) .e-doc { color: #1d4ed8; }
  :root:not([data-theme="dark"]) .e-xls { color: #166534; } :root:not([data-theme="dark"]) .e-ppt { color: #9a3412; } :root:not([data-theme="dark"]) .e-img { color: #7e22ce; }
}

/* smooth theme switch */
body, .nav, .card, .feat, .step, .pane, .fmt, .use, .cardlink, details, .frame, .istep, .table-wrap { transition: background-color .3s, border-color .3s, color .3s; }

/* theme toggle */
.theme-btn { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--tint); color: var(--ink); cursor: pointer; display: grid; place-items: center; flex: none; transition: transform .2s, border-color .2s; }
.theme-btn:hover { border-color: var(--sky); }
.theme-btn:active { transform: scale(.92); }
.theme-btn svg { width: 18px; height: 18px; transition: transform .45s cubic-bezier(.2, .8, .2, 1); }
.theme-btn:hover svg { transform: rotate(-25deg); }
.theme-btn .sun { display: none; }
:root[data-theme="light"] .theme-btn .sun { display: block; } :root[data-theme="light"] .theme-btn .moon { display: none; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .theme-btn .sun { display: block; } :root:not([data-theme="dark"]) .theme-btn .moon { display: none; } }
.nav .wrap { gap: 14px; }
.nav-links { margin-right: 10px; }
@media (max-width: 980px) { .menu-btn { margin-left: auto; } }

/* accessibility: skip link + clear keyboard focus */
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--sky); color: #04121f; font-weight: 700; padding: 10px 16px; border-radius: 10px; text-decoration: none; transition: top .2s; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }
.btn:focus-visible { outline-offset: 4px; }

/* kinetic typography: headline words rise in, gradient drifts slowly */
.kinetic .w { display: inline-block; opacity: 0; transform: translateY(.45em) rotate(2deg); filter: blur(6px); animation: wordIn .8s cubic-bezier(.2, .8, .2, 1) forwards; animation-delay: calc(var(--i) * 70ms + 80ms); }
@keyframes wordIn { to { opacity: 1; transform: none; filter: none; } }
h1 .grad { animation: drift 9s ease-in-out infinite alternate; }
@keyframes drift { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }

/* live masking chip on the hero screenshot */
.mask-chip { position: absolute; left: -18px; bottom: -22px; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 11px 16px; border-radius: 14px; background: var(--card); border: 1px solid var(--line-2); box-shadow: 0 18px 50px rgba(0, 0, 0, .3); font-size: 14px; }
.mask-chip .live { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; letter-spacing: .08em; color: var(--mint-ink); text-transform: uppercase; }
.mask-chip .live i { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 5px rgba(16, 185, 129, .18); } }
.mask-chip .from { color: var(--text-2); font-weight: 600; min-width: 9.5ch; }
.mask-chip .arrow-r { color: var(--dim); }
.mask-chip .to { font-family: var(--mono); font-size: 13px; color: var(--sky-ink); background: rgba(56, 189, 248, .12); border: 1px solid rgba(56, 189, 248, .28); border-radius: 7px; padding: 2px 8px; min-width: 12ch; text-align: center; }

/* organic shapes: morphing glow behind the product shot, curved dividers */
.glow { border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; animation: morph 14s ease-in-out infinite alternate; }
@keyframes morph { 50% { border-radius: 58% 42% 38% 62% / 55% 38% 62% 45%; transform: rotate(8deg) scale(1.04); } }
.wave { display: block; width: 100%; height: 70px; color: var(--bg-2); margin-bottom: -1px; }
.wave.flip { transform: scaleY(-1); margin: -1px 0 0; }
.band { background: var(--bg-2); }
.band .sec { border-top: 0; }

/* micro-interactions: only on things you click or hover */
.btn { position: relative; overflow: hidden; }
.btn:active { transform: translateY(0) scale(.97); }
.btn.primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .45) 50%, transparent 65%); transform: translateX(-120%); }
.btn.primary:hover::after { transform: translateX(120%); transition: transform .8s ease; }
.btn.primary svg { transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.btn.primary:hover svg { transform: rotate(90deg); }
.arr { display: inline-block; transition: transform .25s cubic-bezier(.2, .8, .2, 1); }
a:hover .arr, .cardlink:hover .arr { transform: translateX(4px); }
.feat .ic, .cardlink .ic, .use .em { transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.feat:hover .ic, .cardlink:hover .ic { transform: translateY(-3px) rotate(-6deg); }
.use { transition: transform .2s, border-color .2s; }
.use:hover { transform: translateY(-3px); border-color: var(--line-2); }
.use:hover .em { transform: scale(1.15) rotate(-6deg); }
details[open] > p, details[open] > div { animation: openDown .3s ease; }
@keyframes openDown { from { opacity: 0; transform: translateY(-6px); } }
.chip { transition: border-color .2s, color .2s; }
.chip:hover { border-color: var(--sky); color: var(--ink); }
.tok { transition: background .2s; }


@media (max-width: 640px) {
  .mask-chip { left: 8px; bottom: -26px; font-size: 13px; padding: 9px 12px; }
  .mask-chip .from { min-width: 0; }
  .wave { height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .kinetic .w { opacity: 1; transform: none; filter: none; }
}
main:focus { outline: none; }
.band-wrap { margin-top: 40px; }
.band-wrap + section.sec { border-top: 0; }
.band #demo { border-top: 0; }

/* =====================================================================
   Professional home: fewer words, more space, big product imagery
   ===================================================================== */
.center { text-align: center; }
.cta-row.center { justify-content: center; }
.btn.lg { padding: 16px 26px; font-size: 16px; border-radius: 14px; }
.btn.ghost { background: transparent; }
.link { font-weight: 600; text-decoration: none; }
.muted-h { color: var(--muted); }

.hero-c { position: relative; text-align: center; padding: 88px 0 40px; isolation: isolate; }
.hero-c::before { content: ""; position: absolute; inset: -80px 0 auto; height: 720px; z-index: -1;
  background: radial-gradient(700px 360px at 50% 18%, var(--glow-a), transparent 70%); }
.badge-link { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--tint); color: var(--text-2); text-decoration: none; font-size: 14px; font-weight: 550; margin-bottom: 30px; transition: border-color .2s; }
.badge-link:hover { border-color: var(--sky); }
.badge-link .new { background: var(--sky); color: #04121f; font-size: 12px; font-weight: 750; padding: 3px 9px; border-radius: 999px; }
:root[data-theme="light"] .badge-link .new { color: #fff; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .badge-link .new { color: #fff; } }
.hero-c h1 { font-size: clamp(46px, 7.4vw, 92px); line-height: 1; letter-spacing: -.048em; font-weight: 800; margin: 0 auto; max-width: 13ch; }
.hero-c .sub { font-size: clamp(17px, 1.6vw, 21px); color: var(--muted); max-width: 36em; margin: 26px auto 36px; line-height: 1.55; }
.hero-shot { position: relative; max-width: 980px; margin: 72px auto 0; }
.hero-shot .mask-chip { left: 24px; bottom: -26px; }

.works-with { padding: 72px 0 8px; text-align: center; }
.works-with p { color: var(--dim); font-size: 14px; margin: 0 0 22px; }
.works-with .names { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 44px; }
.works-with .names span { font-size: 21px; font-weight: 700; letter-spacing: -.02em; color: var(--muted); opacity: .8; }

.block { padding: 128px 0 0; }
.head-c { text-align: center; max-width: 780px; margin: 0 auto 64px; }
.head-c h2 { font-size: clamp(32px, 4.6vw, 54px); line-height: 1.06; letter-spacing: -.035em; margin: 0 0 16px; }
.head-c p { color: var(--muted); font-size: 19px; margin: 0; }

.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px; max-width: 1040px; margin: 0 auto; }
.trio .n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--sky-ink); font-weight: 700; font-size: 15px; margin-bottom: 18px; }
.trio h3 { font-size: 20px; letter-spacing: -.015em; margin: 0 0 8px; }
.trio p { color: var(--muted); margin: 0; font-size: 16.5px; }

.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: 26px; padding: 34px; display: flex; flex-direction: column; gap: 28px; overflow: hidden; min-height: 360px; transition: border-color .25s, transform .25s; }
.tile:hover { border-color: var(--line-2); transform: translateY(-2px); }
.t-wide { grid-column: span 2; }
.tile h3 { font-size: 22px; letter-spacing: -.02em; margin: 0 0 8px; }
.tile p { color: var(--muted); margin: 0; font-size: 16px; max-width: 32em; }
.tile-img { margin-top: auto; border-radius: 16px; overflow: hidden; border: 1px solid var(--line-2); background: #fff; box-shadow: 0 20px 50px rgba(0, 0, 0, .25); }
.tile-img img { width: 100%; }
.filemorph { margin-top: auto; display: grid; gap: 10px; }
.fm-row { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--sunk); border: 1px solid var(--line); font-size: 15.5px; color: var(--text-2); }
.fm-ext { font: 800 11px var(--mono); padding: 4px 7px; border-radius: 7px; }
.fm-arrow { text-align: center; color: var(--dim); font-size: 18px; line-height: 1; }
.fmts { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; }
.fmts span { font: 800 13px var(--mono); padding: 10px 14px; border-radius: 12px; letter-spacing: .03em; }

.privacy-band { padding-bottom: 8px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 900px; margin: 0 auto; text-align: center; }
.stats b { display: block; font-size: clamp(44px, 6vw, 72px); line-height: 1; letter-spacing: -.045em; font-weight: 800; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 12px; }
.stats span { color: var(--muted); font-size: 16px; }

.page-index .final { padding-top: 128px; }
.page-index .final .box { padding: 80px 28px; }
.page-index .final h2 { font-size: clamp(32px, 4.6vw, 54px); letter-spacing: -.035em; }

@media (max-width: 980px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .t-wide { grid-column: span 2; }
  .trio { gap: 36px; }
}
@media (max-width: 720px) {
  .hero-c { padding-top: 56px; }
  .hero-shot { margin-top: 48px; }
  .hero-shot .mask-chip { left: 8px; }
  .block { padding-top: 88px; }
  .trio, .stats { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .t-wide { grid-column: auto; }
  .tile { padding: 26px; min-height: 0; }
  .works-with .names { gap: 10px 26px; }
  .works-with .names span { font-size: 17px; }
  .head-c { margin-bottom: 44px; }
}
.checks .ck.warn { background: rgba(251, 191, 36, .14); color: var(--amber); font-weight: 800; }
/* calmer pages: whitespace instead of divider lines */
.sec { border-top: 0; padding: 112px 0; }
.page-hero h1 { font-size: clamp(40px, 6vw, 68px); letter-spacing: -.045em; }
.page-hero { padding: 96px 0 48px; }
@media (max-width: 720px) { .sec { padding: 76px 0; } .page-hero { padding: 60px 0 32px; } }
/* balanced headline wrapping: no lone last words */
h1, h2, h3, .head-c p, .sub { text-wrap: balance; }
p, li { text-wrap: pretty; }
.stats b { white-space: nowrap; }
/* content is visible at rest (shared-link previews and thumbnails show the full page) */
.reveal { opacity: 1; transform: none; }
.nav { top: env(safe-area-inset-top, 0px); }

/* ---------- pricing & account ---------- */
.notice { display: inline-block; margin-top: 20px; padding: 10px 16px; border-radius: 12px; border: 1px solid rgba(251, 191, 36, .35); background: rgba(251, 191, 36, .08); color: var(--text-2); font-size: 15px; }
.notice.ok { border-color: rgba(16, 185, 129, .4); background: rgba(16, 185, 129, .08); display: block; margin: 0 0 20px; }
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 880px; margin: 0 auto; }
.price-card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 26px; padding: 36px; display: flex; flex-direction: column; gap: 16px; }
.price-card.featured { border-color: var(--sky); box-shadow: 0 0 0 1px var(--sky), var(--shadow); }
.price-card h2 { font-size: 24px; margin: 0; letter-spacing: -.02em; }
.pc-sub { color: var(--muted); margin: -8px 0 0; }
.pc-price { font-size: 52px; font-weight: 800; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.pc-price small { font-size: 17px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.price-card .btn { justify-content: center; }
.pc-tag { position: absolute; top: -13px; left: 36px; background: var(--sky); color: #fff; font-size: 12px; font-weight: 750; padding: 4px 12px; border-radius: 999px; }
.pc-list { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 10px; color: var(--text-2); }
.pc-list li { padding-left: 26px; position: relative; }
.pc-list li::before { content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 8px; border-left: 2px solid var(--mint-ink); border-bottom: 2px solid var(--mint-ink); transform: rotate(-45deg); }
.acc-wrap { max-width: 520px; }
.acc-card { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 30px; display: grid; gap: 14px; }
.acc-card label { font-weight: 650; font-size: 14px; }
.acc-card input { font: 16px var(--font); color: var(--ink); background: var(--bg); border: 1px solid var(--line-2); border-radius: 12px; padding: 13px 14px; width: 100%; }
.acc-card input:focus { outline: 3px solid var(--sky); outline-offset: 1px; border-color: transparent; }
.code-input { letter-spacing: .4em; font-weight: 700 !important; font-size: 22px !important; text-align: center; }
.acc-card .btn { justify-content: center; }
.acc-fine { color: var(--dim); font-size: 13.5px; margin: 0; }
.acc-row { display: flex; justify-content: space-between; gap: 16px; padding: 4px 0; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.acc-k { color: var(--muted); }
.acc-actions { display: grid; gap: 10px; margin-top: 6px; }
.acc-msg { min-height: 1.5em; margin: 16px 0 0; font-size: 15px; color: var(--muted); }
.acc-msg.ok { color: var(--mint-ink); } .acc-msg.err { color: var(--rose); }
@media (max-width: 720px) { .price-grid { grid-template-columns: 1fr; } .price-card { padding: 28px; } }

/* the hidden attribute always wins over display rules */
[hidden] { display: none !important; }
.pc-tag { color: #04121f; }
:root[data-theme="light"] .pc-tag { color: #fff; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .pc-tag { color: #fff; } }

/* room for letters that hang below the line (the gradient clips to the box) */
.hero-c h1 .grad { display: inline-block; padding-bottom: .14em; margin-bottom: -.14em; }

/* =====================================================================
   Home page (December 2026): one document, seen from both sides.
   The black bar is the brand: it is the only decoration.
   ===================================================================== */
:root { --bar: #e8eefb; --bar-ink: #070b16; }
:root[data-theme="light"] { --bar: #0b1220; --bar-ink: #ffffff; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) { --bar: #0b1220; --bar-ink: #ffffff; } }

.h-hero { padding: 72px 0 64px; }
.h-hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.h-hero h1 { font-size: clamp(40px, 5.2vw, 68px); line-height: 1.08; letter-spacing: -.035em; font-weight: 780; margin: 0 0 24px; text-wrap: balance; }
.barred { display: inline-block; color: var(--bar-ink); padding: 0 .16em .04em; white-space: nowrap; background: linear-gradient(var(--bar), var(--bar)) no-repeat 0 0 / 100% 100%; animation: barIn .7s .35s cubic-bezier(.7, 0, .2, 1) backwards; }
@keyframes barIn { from { background-size: 0% 100%; color: var(--ink); } }
.h-sub { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; color: var(--text-2); max-width: 32em; margin: 0 0 32px; }
.h-fine { color: var(--dim); font-size: 14.5px; margin: 20px 0 0; }

.sheet-wrap { min-width: 0; }
.sheet-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 12px; background: var(--card-2); margin-bottom: 14px; }
.sheet-tabs button { font: 600 15px/1 var(--font); min-height: 44px; border: 0; border-radius: 9px; background: none; color: var(--muted); cursor: pointer; transition: background .2s, color .2s; }
.sheet-tabs button[aria-pressed="true"] { background: var(--bar); color: var(--bar-ink); }
/* paper stays paper in both themes */
.sheet { background: #fff; color: #0b1220; border-radius: 6px; padding: 34px 36px 38px; box-shadow: 0 0 0 1px rgba(15, 23, 42, .1), 0 18px 44px rgba(2, 8, 23, .16); }
.sheet p { margin: 0; }
.sh-name { font-size: 27px; font-weight: 750; letter-spacing: -.02em; line-height: 1.3; }
.sh-role { color: #475569; padding-bottom: 18px; border-bottom: 1px solid #dbe2ec; }
.sheet dl { margin: 18px 0; display: grid; gap: 9px; }
.sheet dl div { display: grid; grid-template-columns: 74px minmax(0, 1fr); align-items: baseline; }
.sheet dt { color: #52607a; font-size: 14px; }
.sheet dd { margin: 0; font-size: 15.5px; }
.sh-body { color: #334155; font-size: 15.5px; line-height: 1.6; }
/* both versions share one spot, so the page never jumps when the view changes */
.pd { display: inline-grid; max-width: 100%; }
.pd > * { grid-area: 1 / 1; font-style: normal; font-weight: inherit; }
.pd i { justify-self: stretch; align-self: center; font: 600 .78em/1.75 var(--mono); letter-spacing: 0; color: #fff; background: #0b1220; padding: 0 .6em; clip-path: inset(0 100% 0 0); transition: clip-path .38s cubic-bezier(.7, 0, .2, 1); }
.sheet.ai .pd i { clip-path: inset(0 0 0 0); }
.sheet.ai .pd b { visibility: hidden; transition: visibility 0s .38s; }
.sheet dl div:nth-child(1) i { transition-delay: .06s; } .sheet dl div:nth-child(2) i { transition-delay: .12s; } .sheet dl div:nth-child(3) i { transition-delay: .18s; } .sheet dl div:nth-child(4) i { transition-delay: .24s; }
.sheet-note { color: var(--dim); font-size: 14px; margin: 14px 2px 0; }

.h-sites { border-block: 1px solid var(--line); padding: 24px 0; }
.h-sites p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.75; }
.h-sites b { color: var(--ink); font-weight: 650; }

.h-sec { padding: 104px 0 0; scroll-margin-top: 10px; }
.h-sec h2, .h-end h2 { font-size: clamp(29px, 3.4vw, 42px); line-height: 1.12; letter-spacing: -.028em; font-weight: 750; margin: 0 0 14px; }
.h-head { max-width: 660px; margin-bottom: 36px; }
.h-head p { color: var(--muted); font-size: 18px; margin: 0; }
.trip-note { color: var(--muted); margin: 24px 0 0; max-width: 46em; }

.trip { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.trip li { display: grid; grid-template-columns: 170px minmax(0, 1fr); align-items: center; gap: 16px; padding: 18px 24px; border-radius: 12px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); max-width: 800px; }
.trip li.there { margin-left: clamp(0px, 12vw, 190px); background: var(--bg-2); }
.trip p { margin: 0; font-size: 17px; }
.who { color: var(--muted); font-size: 14.5px; font-weight: 600; }

.h-split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: center; }
.h-split p { color: var(--text-2); font-size: 17px; margin: 0 0 16px; }
.h-shot { width: 100%; height: auto; border-radius: 14px; }
.h-docs td:first-child { font-weight: 650; color: var(--ink); }

.leaves { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.leaves > div { padding: 30px 32px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line-2); }
.leaves .stay { background: var(--bar); color: var(--bar-ink); box-shadow: none; }
.leaves h3 { margin: 0 0 14px; font-size: 20px; letter-spacing: -.015em; }
.leaves ul { margin: 0; padding-left: 20px; display: grid; gap: 9px; font-size: 16.5px; }

.h-faq { display: grid; grid-template-columns: minmax(0, .5fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.h-faq details { margin: 0; background: none; border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0; padding: 0; }
.h-faq summary { padding: 20px 4px; font-size: 18px; }
.h-faq details p { margin: 0; padding: 0 4px 22px; color: var(--text-2); max-width: 40em; }

.h-end { padding: 120px 0 112px; }
.h-end .wrap { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.h-end h2 { margin: 0; }

@media (max-width: 940px) {
  .h-hero { padding: 44px 0 48px; }
  .h-hero .wrap, .h-split, .h-faq { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .h-faq { gap: 12px; }
  .h-sec { padding-top: 80px; }
}
@media (max-width: 640px) {
  .sheet { padding: 24px 20px 26px; }
  .sheet dl div { grid-template-columns: 62px minmax(0, 1fr); }
  .sheet dd { font-size: 14.5px; }
  .h-hero .btn.lg, .h-end .btn.lg { width: 100%; justify-content: center; }
  .trip li { grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 16px 18px; }
  .trip li.there { margin-left: 20px; }
  .leaves { grid-template-columns: minmax(0, 1fr); }
  .h-docs thead { display: none; }
  .h-docs tr { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .h-docs td { display: block; border: 0; padding: 3px 16px; }
  .h-docs td:nth-child(2)::before { content: "Hidden: "; color: var(--muted); } .h-docs td:nth-child(3)::before { content: "Still read: "; color: var(--muted); }
  .h-end { padding: 88px 0 80px; }
}
@media (prefers-reduced-motion: reduce) { .barred { animation: none; } .pd i, .sheet.ai .pd b { transition: none !important; } }
.h-hero h1 { line-height: 1.17; }
.barred { line-height: 1.06; padding-bottom: .09em; }
@media (max-width: 640px) {
  table.t.h-docs, .h-docs tbody { display: block; width: 100%; min-width: 0; }
  table.t.h-docs td { white-space: normal; border: 0; padding: 3px 18px; }
}
