/* Notabium marketing site. Brand: Notabium v2 (Geist, ember recording dot,
 * warm white paper, pill buttons). Generated pages live in index.html,
 * sk/, cs/ and the legal folders; edit _build/ and run `node _build/build.mjs`. */

@font-face{font-family:'Geist';font-style:normal;font-weight:400 700;font-display:swap;src:url(/assets/fonts/geist-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Geist';font-style:normal;font-weight:400 700;font-display:swap;src:url(/assets/fonts/geist-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Geist Mono';font-style:normal;font-weight:400 600;font-display:swap;src:url(/assets/fonts/geist-mono-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Geist Mono';font-style:normal;font-weight:400 600;font-display:swap;src:url(/assets/fonts/geist-mono-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}

:root {
  --bg: #FBFAF8;
  --surface: #F3F1EC;
  --card: #FFFFFF;
  --line: rgba(26, 25, 21, 0.10);
  --ink: #1A1915;
  --ink-2: #4A4740;
  --muted: #5E5B53;
  --ember: #FF5C1A;
  --ember-ink: #C2410C;
  --ember-soft: #FFE9DF;
  --btn-bg: #1A1915;
  --btn-ink: #FBFAF8;
  --shadow: 0 1px 2px rgba(60, 40, 20, 0.06), 0 18px 48px -18px rgba(60, 40, 20, 0.22);
  --radius: 18px;
  --wrap: 1180px;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #151412;
    --surface: #1E1D1A;
    --card: #23221F;
    --line: rgba(243, 241, 236, 0.12);
    --ink: #F3F1EC;
    --ink-2: #D6D2C8;
    --muted: #ADA89D;
    --ember-ink: #FF8A57;
    --ember-soft: #3A2116;
    --btn-bg: #F3F1EC;
    --btn-ink: #151412;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 18px 48px -18px rgba(0, 0, 0, 0.7);
  }
  .phone { --frame: #3A3833; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.6 var(--sans); letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { text-wrap: balance; margin: 0; font-weight: 600; letter-spacing: -0.03em; }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .wrap { padding: 0 32px; } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--card); padding: 8px 14px; border-radius: 99px; z-index: 30; }
.skip:focus { left: 12px; }

/* Wordmark: lowercase Geist with the ember recording dot on the i */
.wordmark { font-weight: 600; font-size: 22px; letter-spacing: -0.04em; text-decoration: none; display: inline-flex; align-items: baseline; }
.wordmark .i { position: relative; }
.wordmark .i::after { content: ""; position: absolute; left: 50%; top: 0.3em; width: 0.19em; height: 0.19em; margin-left: -0.095em; border-radius: 50%; background: var(--ember); }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; gap: 20px; height: 64px; }
.top nav { display: none; gap: 26px; margin-left: 18px; font-size: 15px; }
.top nav a { text-decoration: none; color: var(--ink-2); }
.top nav a:hover { color: var(--ink); }
.top .right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.lang { display: flex; gap: 2px; font: 500 13px/1 var(--mono); }
.lang a { text-decoration: none; padding: 7px 7px; border-radius: 99px; color: var(--muted); }
.lang a[aria-current="true"] { color: var(--ink); background: var(--surface); }
@media (min-width: 900px) { .top nav { display: flex; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 99px; font: 600 16px/1 var(--sans); letter-spacing: -0.01em; text-decoration: none; white-space: nowrap; transition: transform .2s var(--ease), background-color .2s, box-shadow .2s; }
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--btn-bg); color: var(--btn-ink); box-shadow: 0 8px 24px -10px rgba(26, 25, 21, .5); }
.btn-primary:hover { transform: translateY(-1px); }
.btn-primary .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ember); flex: none; }
.btn-ghost { border: 1px solid var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--surface); }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 14px; gap: 8px; }
.btn-sm .dot { width: 7px; height: 7px; }
@media (max-width: 420px) { .top .btn-sm .label-long { display: none; } }
@media (min-width: 421px) { .top .btn-sm .label-short { display: none; } }

/* Store badges: official artwork, unmodified, only when the app is live and
 * linked (clear space = 1/4 of the 40px height). Before that a plain line. */
.stores { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.store { display: block; padding: 0; border-radius: 9px; }
.store img { height: 40px; width: auto; }
.soon-apps { display: flex; align-items: baseline; gap: 10px; max-width: 46ch; font-size: 14px; line-height: 1.5; color: var(--muted); }
.soon { flex: none; font: 500 11.5px/1 var(--mono); color: var(--ink-2); padding: 5px 8px; border: 1px solid var(--line); border-radius: 99px; background: var(--card); transform: translateY(-1px); }

/* Hero */
.hero { padding: 36px 0 56px; }
.hero .wrap { display: grid; gap: 44px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5.4vw, 62px); line-height: 1.03; letter-spacing: -0.042em; max-width: 17ch; }
.hero .sub { margin-top: 20px; font-size: clamp(18px, 1.6vw, 20px); color: var(--ink-2); max-width: 36ch; }
.hero .ctas { margin-top: 30px; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.rec { display: inline-flex; align-items: center; gap: 9px; font: 500 13px/1 var(--mono); color: var(--ember-ink); margin-bottom: 22px; }
.rec i { width: 9px; height: 9px; border-radius: 50%; background: var(--ember); position: relative; }
.rec i::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--ember); opacity: 0; }
@media (min-width: 960px) {
  .hero { padding: 56px 0 88px; }
  .hero .wrap { grid-template-columns: 1.08fr 0.92fr; gap: 56px; }
}

/* Phone frame with real app screenshots */
.phone { position: relative; width: min(330px, 84vw); margin: 0 auto; border-radius: 46px; padding: 11px; --frame: #1A1915; background: var(--frame); box-shadow: var(--shadow), inset 0 0 0 1px rgba(255,255,255,.08); }
.phone::before, .phone::after { content: ""; position: absolute; width: 3px; border-radius: 3px 0 0 3px; left: -3px; }
.phone::before { top: 104px; height: 28px; background: var(--frame); }
.phone::after { top: 150px; height: 112px; background: linear-gradient(var(--frame) 0 44%, transparent 44% 56%, var(--frame) 56%); }
.phone .screen { position: relative; border-radius: 37px; overflow: hidden; aspect-ratio: 390 / 760; background: #FBFAF8; display: flex; flex-direction: column; }
.phone .status { flex: none; height: 44px; display: flex; align-items: center; justify-content: space-between; padding: 4px 26px 0 30px; font: 600 14px/1 var(--sans); letter-spacing: -0.01em; color: #1A1915; background: #FBF9F7; }
.phone .island { position: absolute; top: 9px; left: 50%; width: 88px; height: 26px; margin-left: -44px; border-radius: 20px; background: #0E0D0B; }
.phone .sig { display: inline-flex; align-items: flex-end; gap: 2px; height: 11px; }
.phone .sig b { width: 3px; border-radius: 1px; background: #1A1915; }
.phone .sig b:nth-child(1) { height: 4px; } .phone .sig b:nth-child(2) { height: 6px; } .phone .sig b:nth-child(3) { height: 8.5px; } .phone .sig b:nth-child(4) { height: 11px; }
.phone .shots { position: relative; flex: 1; }
.phone .screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transition: opacity .6s var(--ease); }
.phone .screen img.on { opacity: 1; }
.phone-tabs { display: flex; justify-content: center; gap: 6px; margin-top: 18px; }
.phone-tabs button { font: 500 13px/1 var(--mono); color: var(--muted); background: transparent; border: 1px solid var(--line); border-radius: 99px; padding: 9px 13px; cursor: pointer; }
.phone-tabs button[aria-pressed="true"] { color: var(--ink); background: var(--card); border-color: var(--ink); }

/* Sections */
section { padding: 72px 0; }
@media (min-width: 960px) { section { padding: 96px 0; } }
.h2 { font-size: clamp(30px, 4.2vw, 46px); line-height: 1.06; letter-spacing: -0.04em; max-width: 20ch; }
.lead { margin-top: 16px; font-size: 18px; color: var(--ink-2); max-width: 58ch; }

/* How it works: real sequence, numbered */
.steps { margin-top: 48px; display: grid; gap: 40px; counter-reset: s; list-style: none; padding: 0; }
.steps li { counter-increment: s; }
.steps .shot { border-radius: 26px; overflow: hidden; background: var(--card); box-shadow: var(--shadow); aspect-ratio: 390 / 560; }
.steps .shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.steps h3 { margin-top: 22px; font-size: 22px; display: flex; gap: 12px; align-items: baseline; }
.steps h3::before { content: counter(s); font: 500 14px/1 var(--mono); color: var(--ember-ink); }
.steps p { margin-top: 8px; color: var(--ink-2); max-width: 38ch; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 28px; } .steps li:nth-child(2) { margin-top: 48px; } }
@media (max-width: 767px) {
  .steps { grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; margin-left: -20px; margin-right: -20px; padding: 0 20px 10px; scroll-padding: 0 20px; scrollbar-width: none; }
  .steps li { scroll-snap-align: start; }
}

/* Who it is for: typographic list */
.uses { margin-top: 44px; display: grid; gap: 0; list-style: none; padding: 0; border-top: 1px solid var(--line); }
.uses li { display: grid; gap: 6px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.uses strong { font-size: clamp(21px, 2.4vw, 28px); font-weight: 600; letter-spacing: -0.03em; }
.uses span { color: var(--ink-2); }
@media (min-width: 768px) { .uses li { grid-template-columns: 1fr 1fr; align-items: baseline; gap: 32px; } }

/* Desktop showcase */
.browser { margin-top: 48px; border-radius: 16px; overflow: hidden; background: var(--card); box-shadow: var(--shadow); border: 1px solid var(--line); }
.browser .bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.browser .bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.browser .bar span { margin-left: 14px; font: 500 12px/1 var(--mono); color: var(--muted); }
.feats { margin-top: 48px; display: grid; gap: 30px 40px; }
.feats h3 { font-size: 19px; letter-spacing: -0.02em; }
.feats p { margin-top: 6px; color: var(--ink-2); }
@media (min-width: 768px) { .feats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .feats { grid-template-columns: repeat(3, 1fr); } }

/* Language proof: real transcript line -> real summary line */
.lang-proof { background: var(--surface); }
.proof { margin-top: 44px; display: grid; gap: 16px; }
.proof figure { margin: 0; padding: 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.proof figcaption { font: 500 12px/1.2 var(--mono); color: var(--muted); margin-bottom: 14px; }
.proof blockquote { margin: 0; font-size: clamp(19px, 2vw, 24px); line-height: 1.4; letter-spacing: -0.02em; }
.proof .who { font: 500 13px/1 var(--mono); color: var(--ember-ink); display: block; margin-bottom: 10px; }
.proof .arrow { display: none; }
@media (min-width: 900px) { .proof { grid-template-columns: 1fr auto 1fr; align-items: center; } .proof .arrow { display: block; color: var(--muted); font-size: 24px; } }
.proof-note { margin-top: 18px; font-size: 14px; color: var(--muted); max-width: 70ch; }

/* Privacy */
.trust { margin-top: 44px; display: grid; gap: 28px; }
.trust > div { padding-top: 20px; border-top: 2px solid var(--ink); }
.trust h3 { font-size: 19px; letter-spacing: -0.02em; }
.trust p { margin-top: 8px; color: var(--ink-2); }
.trust a { color: var(--ink); }
@media (min-width: 768px) { .trust { grid-template-columns: repeat(2, 1fr); gap: 36px 48px; } }
@media (min-width: 1080px) { .trust { grid-template-columns: repeat(4, 1fr); } }

/* Pricing */
.price-wrap { display: grid; gap: 40px; align-items: start; }
.plan { padding: 32px 28px; border-radius: 26px; background: var(--card); box-shadow: var(--shadow); border: 1px solid var(--line); }
.plan .name { font: 500 14px/1 var(--mono); color: var(--ember-ink); }
.plan .bill { margin-top: 20px; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 0; border: 1px solid var(--line); border-radius: 18px; }
.plan .bill > div { padding: 16px 16px 15px; min-width: 0; }
.plan .bill > div + div { border-left: 1px solid var(--line); }
.plan .bill > div:first-child { background: var(--ember-soft); border-radius: 17px 0 0 17px; }
.plan .per-label { font: 500 13px/1 var(--mono); color: var(--ink-2); }
.plan .amount { margin-top: 12px; font-size: clamp(28px, 3.2vw, 38px); font-weight: 600; letter-spacing: -0.045em; line-height: 1; }
.plan .amount small { display: block; margin-top: 6px; font-size: 14px; font-weight: 500; letter-spacing: -0.01em; color: var(--muted); }
.plan .note { margin-top: 10px; font-size: 13px; line-height: 1.45; color: var(--muted); }
.plan ul { margin: 26px 0 28px; padding: 0; list-style: none; display: grid; gap: 11px; }
.plan li { display: flex; gap: 12px; }
.plan li::before { content: ""; flex: none; width: 7px; height: 7px; margin-top: 10px; border-radius: 50%; background: var(--ember); }
.plan .fine { margin-top: 18px; font-size: 14px; color: var(--muted); }
.plan .fine a { color: var(--ink); }
@media (min-width: 960px) { .price-wrap { grid-template-columns: 1fr 440px; gap: 72px; } }

/* FAQ */
.faq { margin-top: 40px; border-top: 1px solid var(--line); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font-size: 19px; font-weight: 600; letter-spacing: -0.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq .a { padding: 0 0 24px; color: var(--ink-2); max-width: 68ch; }
.faq .a a { color: var(--ink); }
.faq details[open] .a { animation: faq-in .35s var(--ease); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-4px); } }

/* Final CTA */
.final { text-align: left; }
.final .box { padding: 44px 28px; border-radius: 30px; background: var(--ember-soft); display: grid; gap: 26px; }
.final h2 { font-size: clamp(30px, 4.6vw, 50px); line-height: 1.04; letter-spacing: -0.045em; max-width: 16ch; }
@media (min-width: 960px) { .final .box { padding: 64px; grid-template-columns: 1fr auto; align-items: end; } }

/* Footer */
.foot { padding: 56px 0 40px; border-top: 1px solid var(--line); font-size: 15px; }
.foot .grid { display: grid; gap: 32px; }
.foot .fh { margin: 0 0 12px; font-size: 14px; font-weight: 600; color: var(--ink); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.foot a { color: var(--ink-2); text-decoration: none; }
.foot a:hover { color: var(--ink); text-decoration: underline; }
.foot .tag { margin-top: 12px; color: var(--muted); max-width: 30ch; }
.foot .legal { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; color: var(--muted); font-size: 14px; }
@media (min-width: 768px) { .foot .grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

/* Legal pages */
.doc { padding: 48px 0 88px; }
.doc .wrap { max-width: 820px; }
.doc .crumb { font: 500 13px/1 var(--mono); color: var(--muted); text-decoration: none; }
.doc h1 { margin-top: 18px; font-size: clamp(34px, 5vw, 52px); line-height: 1.05; letter-spacing: -0.045em; }
.doc .intro { margin-top: 18px; font-size: 19px; color: var(--ink-2); }
.doc h2 { margin-top: 48px; font-size: 24px; letter-spacing: -0.025em; }
.doc h3 { margin-top: 28px; font-size: 18px; letter-spacing: -0.015em; }
.doc p, .doc ul, .doc ol { margin-top: 14px; color: var(--ink-2); }
.doc ul, .doc ol { padding-left: 22px; display: grid; gap: 8px; }
.doc a { color: var(--ink); text-underline-offset: 3px; }
.doc strong { color: var(--ink); }
.doc .table { margin-top: 18px; overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.doc th, .doc td { text-align: left; padding: 12px 14px; vertical-align: top; border-bottom: 1px solid var(--line); }
.doc th { font-weight: 600; background: var(--surface); }
.doc tr:last-child td { border-bottom: 0; }
.doc .fill { background: #FFF3B0; color: #3A2E00; padding: 1px 5px; border-radius: 4px; font-weight: 600; }
.doc .callout { margin-top: 22px; padding: 18px 20px; border-radius: 14px; background: var(--surface); color: var(--ink); }
.doc .effective { margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--line); font: 500 14px/1.5 var(--mono); color: var(--muted); }

/* Motion: content is visible by default; JS only adds the reveal when the
 * element starts below the fold, and only without reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  .hero .anim { animation: rise .7s var(--ease) both; }
  .hero .anim:nth-child(2) { animation-delay: .06s; }
  .hero .anim:nth-child(3) { animation-delay: .12s; }
  .hero .anim:nth-child(4) { animation-delay: .18s; }
  .hero .phone-col { animation: rise-phone .9s var(--ease) .1s both; }
  .rec i::after { animation: ping 1.8s var(--ease) infinite; }
}
/* Scroll reveal via scroll-driven animations: browsers without support (and
 * reduced motion) simply show everything, nothing is ever hidden by script. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    [data-reveal] { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 45%; }
  }
}
@keyframes reveal { from { opacity: 0; transform: translateY(26px); } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes rise-phone { from { opacity: 0; transform: translateY(28px) scale(.97); } }
@keyframes ping { 0% { opacity: .7; transform: scale(.6); } 80%, 100% { opacity: 0; transform: scale(1.7); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .phone .screen img { transition: none; }
}

/* 404 */
.nf { padding: 72px 0 120px; }
.nf .code { font: 500 14px/1 var(--mono); color: var(--ember-ink); }
.nf h1 { margin-top: 18px; font-size: clamp(36px, 5vw, 56px); line-height: 1.04; letter-spacing: -0.042em; }
.nf-ctas { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.nf-langs { margin: 44px 0 0; padding: 22px 0 0; list-style: none; border-top: 1px solid var(--line); display: grid; gap: 8px; color: var(--ink-2); }
.nf-langs a { color: var(--ink); }
.nw { white-space: nowrap; }
