/* Saykeeper marketing site. Brand: Saykeeper (Geist text, Fraunces headings, one brand color,
 * 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:'Fraunces';font-style:normal;font-weight:400 700;font-display:swap;src:url(/assets/fonts/fraunces-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:'Fraunces';font-style:normal;font-weight:400 700;font-display:swap;src:url(/assets/fonts/fraunces-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;
  /* BRAND (single source, switch with scripts/set-brand-color.sh) */
  --brand: #0FA3A3;
  --brand-ink: #0B7A7A;
  --brand-soft: #E0F4F4;
  --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;
  /* Headings font: change this one line to switch it (self-hosted in assets/fonts). */
  --font-display: "Fraunces", ui-serif, Georgia, serif;
  --display-ls: -0.02em;
  --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;
    --brand-ink: #3CC4C4;
    --brand-soft: #123232;
    --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-family: var(--font-display); font-weight: 600; letter-spacing: var(--display-ls); }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--brand); 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; }

/* Logo: bookmark mark + "Saykeeper" (outlined SVG from _build/logo.mjs), word in currentColor */
.wordmark { font-size: 22px; color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; }
.wordmark .logo-svg { display: block; height: 1.2em; width: auto; }
.wordmark .lm { fill: var(--brand); }
.foot .wordmark { color: var(--ink); }

/* 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: 24px; margin-left: 18px; font-size: 15px; white-space: nowrap; }
.top nav a { text-decoration: none; color: var(--ink-2); padding: 6px 0; }
.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 14px/1 var(--sans); }
.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); }
/* Desktop nav from 1024 (tablet landscape included); one line, the anchor to
 * Computer and phone joins only when there is room for it. */
@media (min-width: 1024px) { .top nav { display: flex; } }
@media (min-width: 1024px) and (max-width: 1199px) { .top .nav-dev { display: none; } }

/* 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; }
.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(--brand); 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; }
.top .login { font-size: 15px; font-weight: 500; color: var(--ink); text-decoration: none; padding: 9px 6px; border-radius: 8px; white-space: nowrap; }
.top .login:hover { text-decoration: underline; text-underline-offset: 3px; }
/* Narrow screens: the language switch moves to the footer so log in + trial fit. */
@media (max-width: 639px) { .top .lang { display: none; } .top .wrap { gap: 12px; } .top .right { gap: 6px; } }
@media (max-width: 519px) { .top .btn-sm .label-long { display: none; } }
@media (min-width: 520px) { .top .btn-sm .label-short { display: none; } }
@media (max-width: 399px) { .top .wrap { padding: 0 16px; gap: 8px; } .top .wordmark { font-size: 20px; } .top .right { gap: 2px; } .top .login { font-size: 14px; padding: 9px 6px; } .top .btn-sm { padding: 0 13px; } }

/* Store buttons styled like the store badges (black, logo, two lines). The
 * official artwork is only allowed once the app is live in the store, see
 * STORES in _build/build.mjs. Android opens the APK, App Store is "coming soon". */
.stores { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; }
.store { display: block; padding: 0; border-radius: 9px; }
.store img { height: 44px; width: auto; }
.store-btn { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 16px 0 13px; border-radius: 11px; background: #1A1915; color: #FBFAF8; border: 1px solid #1A1915; text-decoration: none; transition: transform .25s var(--ease); }
.store-btn svg { width: 22px; height: 22px; fill: currentColor; flex: none; }
.store-btn > span { display: grid; text-align: left; font-size: 16px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.05; white-space: nowrap; }
.store-btn small { font-size: 11px; font-weight: 500; letter-spacing: 0; color: rgba(251, 250, 248, 0.78); }
a.store-btn:hover { transform: translateY(-1px); }
a.store-btn:active { transform: scale(0.98); }
.store-btn.is-soon { background: transparent; color: var(--ink-2); border-color: var(--line); cursor: default; user-select: none; }
.store-btn.is-soon small { color: var(--muted); }
@media (prefers-color-scheme: dark) { .store-btn { border-color: rgba(243, 241, 236, .28); } }
.chip { display: inline-block; vertical-align: 2px; margin-left: 8px; font: 600 12px/1 var(--sans); color: var(--brand-ink); padding: 5px 9px; border-radius: 99px; background: var(--brand-soft); }
.ic { width: 1em; height: 1em; flex: none; }

/* Everything is centered: headings, leads, CTAs, then the visual underneath. */
section { padding: 72px 0; text-align: center; }
@media (min-width: 960px) { section { padding: 104px 0; } }
.h2 { font-size: clamp(30px, 4.2vw, 46px); line-height: 1.06; letter-spacing: var(--display-ls); max-width: 22ch; margin: 0 auto; }
.lead { margin: 16px auto 0; font-size: 18px; color: var(--ink-2); max-width: 56ch; }

/* Hero */
.hero { padding: 44px 0 64px; }
.hero h1 { font-size: clamp(40px, 7vw, 76px); line-height: 1.02; letter-spacing: var(--display-ls); max-width: 14ch; margin: 0 auto; }
.hero .sub { margin: 20px auto 0; font-size: clamp(18px, 1.7vw, 21px); color: var(--ink-2); max-width: 44ch; }
.hero .ctas { margin-top: 30px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
@media (max-width: 399px) { .hero .sub { font-size: 17px; } .hero .ctas .btn { width: 100%; max-width: 320px; justify-content: center; } }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 500; color: var(--brand-ink); margin-bottom: 20px; }
.eyebrow i { width: 9px; height: 9px; border-radius: 50%; background: var(--brand); position: relative; }
.eyebrow i::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--brand); opacity: 0; }
.demo-wrap { margin-top: 52px; }
@media (min-width: 960px) { .hero { padding: 72px 0 96px; } .demo-wrap { margin-top: 64px; } }

/* Feature demos: tabs, one stage, a caption. Drawn on the site, not app UI. */
.demo { max-width: 1040px; margin: 0 auto; }
.demo .stage, .demo .caps { max-width: 860px; margin-left: auto; margin-right: auto; }
.demo-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.demo-tabs button { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 4px; border: 1px solid transparent; border-radius: 14px; background: transparent; color: var(--muted); font: 500 12.5px/1.15 var(--sans); cursor: pointer; transition: color .2s, background-color .2s, border-color .2s; }
.demo-tabs button .ic { font-size: 22px; }
.demo-tabs button:hover { color: var(--ink); }
.demo-tabs button[aria-selected="true"] { color: var(--ink); background: var(--card); border-color: var(--line); box-shadow: 0 6px 18px -12px rgba(60, 40, 20, .35); }
.demo-tabs button[aria-selected="true"] .ic { color: var(--brand); }
.demo-tabs button:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
@media (min-width: 640px) {
  /* tablet: two balanced rows of four pills; desktop: one row */
  .demo-tabs { grid-template-columns: repeat(4, auto); justify-content: center; gap: 6px; }
  .demo-tabs button { flex-direction: row; gap: 7px; padding: 9px 12px; border-radius: 99px; font-size: 14.5px; }
  .demo-tabs button .ic { font-size: 18px; }
}
.stage { margin-top: 18px; display: grid; padding: 22px 18px; border-radius: 26px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); text-align: left; min-height: 340px; overflow: hidden; }
.stage .panel { grid-area: 1 / 1; display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.stage .panel[hidden] { display: flex; visibility: hidden; opacity: 0; }
.stage .panel.on { visibility: visible; opacity: 1; transition: opacity .35s var(--ease); }
@media (min-width: 720px) { .stage { padding: 34px 40px; min-height: 380px; } }
@media (min-width: 1000px) { .demo-tabs { display: flex; flex-wrap: wrap; } }
@media (min-width: 1280px) { .demo .stage, .demo .caps { max-width: 900px; } }
.caps { margin: 18px auto 0; max-width: 54ch; min-height: 3.2em; color: var(--ink-2); }
.caps .cap[hidden] { display: none; }

.who { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.who i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; font: 600 12px/1 var(--sans); font-style: normal; color: #FBFAF8; background: #4D5B66; }
.who[data-who="Nina"] i { background: #7E8F7A; }
.p-title { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 17px; letter-spacing: -0.02em; }
.p-title .ic { color: var(--brand); font-size: 20px; }

/* recording */
.p-rec { display: grid; justify-items: center; gap: 16px; text-align: center; }
.rec-btn { position: relative; display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 34px; }
.rec-btn .ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--brand); opacity: 0; }
.rec-status { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.rec-status time { font-variant-numeric: tabular-nums; color: var(--ink-2); font-weight: 500; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.rec-bars { display: flex; align-items: center; gap: 4px; height: 56px; }
.rec-bars i { width: 4px; height: 56px; border-radius: 3px; background: var(--ink); opacity: .82; transform: scaleY(calc(0.18 + 0.6 * (0.5 + 0.5 * sin(var(--b) * 1.7)))); }
.rec-net { position: relative; display: grid; font-size: 14.5px; color: var(--ink-2); overflow: hidden; border-radius: 99px; }
.rec-net > span { grid-area: 1 / 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 7px 14px; border-radius: 99px; background: var(--surface); }
.rec-net .ic { font-size: 17px; }
.rec-net .n-off .ic { color: var(--brand-ink); }
.rec-net .n-on { transform: translateY(120%); }

/* transcript lines (live + playback) */
.lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.lines li { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 4px 10px; }
.lines time { font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.lines p { grid-column: 1 / -1; padding-left: 31px; color: var(--ink); font-size: 15.5px; line-height: 1.45; }
@media (min-width: 720px) { .lines li { grid-template-columns: 96px 44px 1fr; } .lines p { grid-column: 3; padding-left: 0; } }

/* summary */
.p-sum ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 12px; }
.p-sum li { display: grid; gap: 2px; padding: 12px 14px; border-radius: 14px; background: var(--surface); }
.p-sum b { font-size: 13px; color: var(--brand-ink); font-weight: 600; }
@media (min-width: 720px) { .p-sum li { grid-template-columns: 110px 1fr; gap: 14px; } }

/* email */
.p-mail { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; }
.m-to { font-size: 13.5px; color: var(--muted); }
.m-subj { font-weight: 600; font-size: 16.5px; letter-spacing: -0.015em; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.m-body { white-space: pre-line; font-size: 15px; line-height: 1.5; color: var(--ink); min-height: 12.5em; margin-top: 6px; }
.m-body.typing::after { content: ""; display: inline-block; width: 2px; height: 1.05em; margin-left: 1px; vertical-align: -2px; background: var(--brand); }
.m-act { display: flex; gap: 8px; justify-content: flex-end; margin-top: 4px; }
.m-act span { font-size: 13.5px; font-weight: 600; padding: 8px 14px; border-radius: 99px; border: 1px solid var(--line); }
.m-act .pri { background: var(--btn-bg); color: var(--btn-ink); border-color: var(--btn-bg); }

/* chat */
.p-chat { display: grid; gap: 12px; }
.p-chat .q { justify-self: end; max-width: 80%; padding: 10px 16px; border-radius: 18px 18px 4px 18px; background: var(--btn-bg); color: var(--btn-ink); font-weight: 500; }
.p-chat .typing { display: flex; gap: 4px; padding: 12px 16px; justify-self: start; border-radius: 18px; background: var(--surface); }
.p-chat .typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); }
.p-chat .a { justify-self: start; max-width: 88%; padding: 12px 16px; border-radius: 18px 18px 18px 4px; background: var(--surface); }
.p-chat .a small { display: block; margin-top: 6px; font-size: 12.5px; color: var(--muted); }
.p-chat .ask { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; padding: 10px 10px 10px 16px; border-radius: 99px; border: 1px solid var(--line); color: var(--muted); font-size: 14.5px; }
.p-chat .ask .ic { font-size: 20px; color: var(--brand); }

/* tasks */
.p-tasks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.p-tasks li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); }
.p-tasks .box { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; border: 2px solid var(--line); }
.p-tasks .tick { font-size: 18px; color: var(--brand); opacity: 0; }
.p-tasks .tb { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.p-tasks .tt { font-weight: 600; flex: 1 1 100%; }
.p-tasks .due { font-size: 12.5px; font-weight: 600; color: var(--brand-ink); background: var(--brand-soft); padding: 3px 9px; border-radius: 99px; }
@media (min-width: 720px) { .p-tasks .tt { flex: 1 1 auto; } }

/* share */
.p-share { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.s-link { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 14px; border-radius: 14px; background: var(--surface); }
.s-link .url { display: inline-flex; align-items: center; gap: 8px; flex: 1; min-width: 0; color: var(--ink-2); font-size: 14.5px; overflow: hidden; white-space: nowrap; }
.s-link .copy { display: grid; font-size: 13.5px; font-weight: 600; padding: 8px 14px; border-radius: 99px; background: var(--btn-bg); color: var(--btn-ink); white-space: nowrap; }
.s-link .copy > span { grid-area: 1 / 1; text-align: center; }
.s-link .c2 { opacity: 0; }
.s-tog { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tog { width: 42px; height: 24px; border-radius: 99px; background: var(--line); position: relative; flex: none; isolation: isolate; }
.tog::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--brand); opacity: 0; }
.tog i { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.s-who { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; color: var(--muted); font-size: 14px; }

/* playback */
.p-play .lines li { position: relative; padding: 6px 10px; margin: 0 -10px; border-radius: 12px; }
.p-play .lines li::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--brand-soft); opacity: 0; }
.p-play .lines { isolation: isolate; }
.player { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.player .ic { font-size: 32px; color: var(--brand); }
.player .track { flex: 1; height: 6px; border-radius: 99px; background: var(--surface); overflow: hidden; }
.player .track i { display: block; height: 100%; width: 100%; background: var(--ink); transform-origin: left; transform: scaleX(.42); }
.p-from { margin-top: 8px; font-size: 13px; color: var(--muted); }

/* Computer and phone */
.dev { background: var(--surface); }
.dev-part + .dev-part { margin-top: 96px; }
.h2 .chip-soon { font-size: 13px; letter-spacing: 0; vertical-align: .55em; margin-left: 6px; white-space: nowrap; }
.dev-ic { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); font-size: 26px; color: var(--brand); margin-bottom: 18px; }
.scene-wrap { margin: 40px auto 0; max-width: 980px; border-radius: 28px; overflow: hidden; border: 1px solid var(--line); background: var(--card); }
.scene { display: block; width: 100%; height: auto; }
@media (max-width: 719px) { .scene-wrap { margin-left: -4px; margin-right: -4px; border-radius: 22px; } .scene { width: 136%; margin-left: -18%; } }
.facts, .steps, .uses, .feats, .trust { list-style: none; margin: 40px auto 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; text-align: left; max-width: 1080px; }
/* Phones: one column, icon beside the text, so lines are not 14 characters long. */
@media (max-width: 559px) {
  .facts, .steps, .uses, .feats, .trust { grid-template-columns: 1fr; gap: 10px; max-width: 440px; }
  .facts li, .uses li, .feats li, .trust li, .steps li { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: start; }
  .facts li > .ic, .uses li > .ic, .feats li > .ic, .trust li > .ic { grid-row: 1 / 3; margin-top: 1px; }
  .facts h3, .uses h3, .feats h3, .trust h3, .steps h3 { margin-top: 0 !important; }
  .facts p, .uses p, .feats p, .trust p, .steps p { grid-column: 2; }
  .steps .st-ic { grid-row: 1 / 3; }
  .steps li { padding: 4px 0 10px; }
  .steps h3 { margin-top: 2px !important; }
}
.facts li, .uses li, .feats li, .trust li { padding: 18px 16px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); }
.facts .ic, .uses .ic, .feats .ic, .trust .ic { font-size: 26px; color: var(--brand); }
.facts h3, .uses h3, .feats h3, .trust h3, .steps h3 { margin-top: 12px; font-size: 16.5px; line-height: 1.25; letter-spacing: -0.01em; }
.facts p, .uses p, .feats p, .trust p, .steps p { margin-top: 6px; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.trust a { color: var(--ink); }
@media (min-width: 768px) {
  .facts li, .uses li, .feats li, .trust li { padding: 24px 22px; }
  .facts h3, .uses h3, .feats h3, .trust h3, .steps h3 { font-size: 18.5px; }
  .facts p, .uses p, .feats p, .trust p, .steps p { font-size: 15.5px; }
}
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } .feats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } .facts, .uses, .trust { gap: 16px; max-width: 900px; } }
@media (min-width: 1180px) { .facts, .uses, .trust { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 1080px; } }
.facts li:nth-child(2) { background: var(--brand-soft); border-color: transparent; }

/* phone steps: a real sequence, joined by a line */
.steps { counter-reset: s; position: relative; }
.steps li { counter-increment: s; padding: 4px 6px 8px; }
.steps .st-ic { position: relative; display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--card); border: 1px solid var(--line); font-size: 22px; color: var(--ink); }
.steps li:first-child .st-ic { background: var(--brand); border-color: var(--brand); color: #fff; }
.steps .st-ic::after { content: counter(s); position: absolute; top: -4px; right: -6px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--btn-bg); color: var(--btn-ink); font: 600 11px/1 var(--sans); }
@media (min-width: 1024px) {
  .steps::before { content: ""; position: absolute; top: 28px; left: 12.5%; right: 12.5%; border-top: 2px dashed var(--line); }
  .steps li { text-align: center; }
}
.dev-part > .stores { margin-top: 36px; }

/* who it is for */
.uses li { background: transparent; }
.uses li:first-child { background: var(--card); }

/* features */
.feats li:nth-child(3n+2) { background: var(--surface); border-color: transparent; }

/* Language proof */
.lang-proof { background: var(--surface); }
.proof { margin: 44px auto 0; display: grid; gap: 16px; max-width: 1000px; text-align: left; }
.proof figure { margin: 0; padding: 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.proof figcaption { font-size: 13px; font-weight: 500; 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-q { font-size: 13.5px; font-weight: 600; color: var(--brand-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: 18px auto 0; font-size: 14px; color: var(--muted); max-width: 70ch; }

/* Pricing */
.plan { margin: 40px auto 0; max-width: 560px; padding: 32px 28px; border-radius: 26px; background: var(--card); box-shadow: var(--shadow); border: 1px solid var(--line); text-align: left; }
.plan .name { font-size: 15px; font-weight: 600; color: var(--brand-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(--brand-soft); border-radius: 17px 0 0 17px; }
.plan .per-label { font-size: 13.5px; font-weight: 500; color: var(--ink-2); }
.plan .amount { margin-top: 12px; font-family: var(--font-display); font-size: clamp(28px, 3.2vw, 38px); font-weight: 600; letter-spacing: var(--display-ls); line-height: 1; }
.plan .amount small { display: block; margin-top: 6px; font-family: var(--sans); 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(--brand); }
.plan .btn { width: 100%; justify-content: center; }
.plan .fine { margin-top: 18px; font-size: 14px; color: var(--muted); }
.plan .fine a { color: var(--ink); }
.plan-free { margin: 16px auto 0; max-width: 560px; padding: 18px 28px; border-radius: 20px; border: 1px solid var(--line); text-align: left; font-size: 14.5px; color: var(--ink-2); }
.plan-free .name { font-size: 15px; font-weight: 600; color: var(--ink); }
.plan-free .name .sep { color: var(--muted); margin: 0 4px; }
.plan-free .name strong { font-weight: 600; }
.plan-free p + p { margin-top: 6px; }

/* FAQ */
.faq { margin: 40px auto 0; border-top: 1px solid var(--line); max-width: 820px; text-align: left; }
.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; }
@media (max-width: 559px) { .faq summary { font-size: 17px; line-height: 1.35; padding: 18px 36px 18px 0; } .faq .a { font-size: 16px; } }
.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 .box { padding: 48px 24px; border-radius: 30px; background: var(--brand-soft); display: grid; justify-items: center; gap: 28px; }
.final h2 { font-size: clamp(30px, 4.6vw, 50px); line-height: 1.04; letter-spacing: var(--display-ls); max-width: 18ch; }
.final-ctas { display: flex; flex-direction: column; align-items: center; gap: 14px; }
@media (max-width: 399px) { .final .box { padding: 40px 18px; } }
@media (min-width: 960px) { .final .box { padding: 72px 64px; } }

/* Scenes: surfaces follow the theme, brand is what Saykeeper hears. */
.scene .s-wall { fill: var(--card); }
.scene .s-blob { fill: var(--brand-soft); opacity: .55; }
.scene .s-floor { fill: var(--surface); }
.scene .s-win rect { fill: var(--surface); stroke: var(--line); stroke-width: 6; } .scene .s-win path { stroke: var(--line); stroke-width: 6; fill: none; }
.scene .s-table { fill: #E7E1D6; }
.scene .s-edge { fill: #D3CBBD; }
.scene .s-leg { fill: #C9C0B1; }
.scene .s-chair { fill: #D9D3C8; }
.scene .s-paper { fill: #FFFFFF; }
.scene .s-line { stroke: #CFC8BB; stroke-width: 3; stroke-linecap: round; fill: none; }
.scene .s-cup { fill: #FBFAF8; stroke: #BDB4A5; stroke-width: 2; }
.scene .s-cup-h { stroke: #BDB4A5; stroke-width: 3; }
.scene .s-lap { fill: #CBC6BE; }
.scene .s-lap-k { fill: #B7B1A7; }
.scene .s-bez { fill: #2A2825; }
.scene .s-shadow { fill: rgba(60, 40, 20, .18); }
.scene .s-scr { fill: #FFFFFF; }
.scene .s-chrome { fill: #ECE9E3; }
.scene .s-tab { font: 500 6.4px/1 var(--sans); fill: #3B3933; }
.scene .s-h { font: 600 9px/1 var(--sans); fill: #1A1915; }
.scene .s-grid { stroke: #EEEBE5; stroke-width: 1; }
.scene .s-ui-label { fill: #D9D4CB; }
.scene .s-bar { fill: #8E9AA3; }
.scene .s-bar2 { fill: #7E8F7A; }
.scene .s-pill { fill: #1A1915; }
.scene .s-pill-t { font: 600 14px/1 var(--sans); fill: #FBFAF8; letter-spacing: -0.01em; }
.scene .pulse { fill: var(--brand); }
.scene .waves path { fill: none; stroke: var(--brand); stroke-width: 3.2; stroke-linecap: round; }
.scene .flow { fill: none; stroke: var(--brand); stroke-width: 2.6; stroke-linecap: round; stroke-dasharray: 2 9; }
.scene .bars rect { fill: var(--brand); }
@media (prefers-color-scheme: dark) {
  .scene .s-table { fill: #3A3731; } .scene .s-edge { fill: #2E2B26; } .scene .s-leg { fill: #2A2723; }
  .scene .s-chair { fill: #34312C; } .scene .s-paper { fill: #4A463F; } .scene .s-line { stroke: #6A655B; }
  .scene .s-cup { fill: #4A463F; stroke: #6A655B; } .scene .s-cup-h { stroke: #6A655B; }
  .scene .s-pill { fill: #F3F1EC; } .scene .s-pill-t { fill: #151412; }
}

/* Motion. Content is complete without it; reduced motion keeps it still. */
@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 .demo-wrap.anim { animation: rise .9s var(--ease) .24s both; }
  .eyebrow i::after { animation: ping 1.8s var(--ease) infinite; }

  /* scenes: waves breathe, arrows flow toward Saykeeper, the dot pulses */
  .scene .waves path { animation: wave 2.4s var(--ease) infinite; animation-delay: calc(var(--w) * .25s); }
  .scene .flow { animation: flow 1.8s var(--ease) infinite; }
  .scene .flow + .flow { animation-delay: .9s; }
  .scene .pulse { animation: blink 1.6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
  .scene .bars rect { animation: bar 1.1s ease-in-out infinite alternate; animation-delay: calc(var(--b) * -0.17s); transform-box: fill-box; transform-origin: center; }

  /* demos: each panel replays when it is shown (.play is re-added by site.js) */
  .play .rec-btn .ring { animation: ping 2s var(--ease) infinite; }
  .play .rec-btn .ring.r2 { animation-delay: 1s; }
  .play .live-dot { animation: blink 1.2s ease-in-out infinite; }
  .play .rec-bars i { animation: eq .9s ease-in-out infinite alternate; animation-delay: calc(var(--b) * -0.11s); }
  .play .rec-net .n-off { animation: net-off 7s var(--ease) both; }
  .play .rec-net .n-on { animation: net-on 7s var(--ease) both; }
  .play .lines li, .play .p-sum li, .play .p-tasks li { animation: line-in .55s var(--ease) both; animation-delay: calc(.3s + var(--i) * .9s); }
  .play.p-play-w .lines li { animation: none; }
  .play.p-play-w .lines li:nth-child(2)::before { animation: hl 7s linear both; }
  .play.p-play-w .lines li:nth-child(3)::before { animation: hl 7s linear 2.3s both; }
  .play.p-play-w .lines li:nth-child(4)::before { animation: hl 7s linear 4.6s both; }
  .play .player .track i { animation: track 7s linear both; }
  .play .p-tasks .tick { animation: tick .4s var(--ease) both; animation-delay: calc(1.2s + var(--i) * .9s); }
  .play .p-chat .q { animation: line-in .5s var(--ease) .3s both; }
  .play .p-chat .typing { animation: typing-box 2.4s linear .8s both; }
  .play .p-chat .typing i { animation: blink 1s ease-in-out infinite; }
  .play .p-chat .typing i:nth-child(2) { animation-delay: .15s; } .play .p-chat .typing i:nth-child(3) { animation-delay: .3s; }
  .play .p-chat .a { animation: line-in .55s var(--ease) 3.2s both; }
  .play .s-link .c1 { animation: fade-out .3s ease 1.6s both; }
  .play .s-link .c2 { animation: fade-in .3s ease 1.6s both; }
  .play .tog::before { animation: fade-in .3s ease 2.8s both; }
  .play .tog i { animation: tog-knob .3s var(--ease) 2.8s both; }
  .play .s-who .who { animation: line-in .5s var(--ease) both; animation-delay: 3.6s; }
  .play .s-who .who + .who { animation-delay: 4s; }
}
/* chat: the typing bubble and the answer share one grid cell */
.p-chat .q { grid-row: 1; } .p-chat .typing, .p-chat .a { grid-row: 2; grid-column: 1; align-self: start; } .p-chat .ask { grid-row: 3; }
.p-chat .typing { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .p-chat .typing { display: none; } }
@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 ping { 0% { opacity: .7; transform: scale(.6); } 80%, 100% { opacity: 0; transform: scale(1.7); } }
@keyframes wave { 0%, 100% { opacity: .25; } 40% { opacity: 1; } }
@keyframes flow { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes bar { from { transform: scaleY(.45); } to { transform: scaleY(1); } }
@keyframes eq { from { transform: scaleY(.15); } to { transform: scaleY(calc(0.3 + 0.7 * (0.5 + 0.5 * sin(var(--b) * 2.3)))); } }
/* the two pills slide (never half transparent, so the text keeps its contrast) */
@keyframes net-off { 0%, 30% { transform: translateY(120%); } 36%, 72% { transform: none; } 78%, 100% { transform: translateY(-120%); } }
@keyframes net-on { 0%, 76% { transform: translateY(120%); } 82%, 100% { transform: none; } }
@keyframes line-in { from { opacity: 0; transform: translateY(10px); } }
@keyframes hl { 0% { opacity: 0; } 2%, 30% { opacity: 1; } 33%, 100% { opacity: 0; } }
@keyframes track { from { transform: scaleX(.18); } to { transform: scaleX(.86); } }
@keyframes tick { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
@keyframes typing-box { 0% { opacity: 0; } 6%, 92% { opacity: 1; } 100% { opacity: 0; } }
@keyframes fade-out { to { opacity: 0; } }
@keyframes fade-in { to { opacity: 1; } }
@keyframes tog-knob { to { transform: translateX(18px); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .p-tasks .tick { opacity: 1; }
  .s-link .c1 { opacity: 0; } .s-link .c2 { opacity: 1; }
  .tog::before { opacity: 1; } .tog i { transform: translateX(18px); }
  .p-play-w .lines li:nth-child(2)::before { opacity: 1; }
}

/* 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 (max-width: 767px) { .foot .grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; } .foot .grid > div:first-child, .foot .grid > div:last-child { grid-column: 1 / -1; } .foot .legal { flex-direction: column; } }
@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(--sans); color: var(--muted); text-decoration: none; }
.doc h1 { margin-top: 18px; font-size: clamp(34px, 5vw, 52px); line-height: 1.05; letter-spacing: var(--display-ls); }
.doc .intro { margin-top: 18px; font-size: 19px; color: var(--ink-2); }
.doc h2 { margin-top: 48px; font-size: 24px; letter-spacing: -0.015em; }
.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(--sans); color: var(--muted); }

/* 404 */
.nf { padding: 72px 0 120px; }
.nf .code { font: 500 14px/1 var(--sans); color: var(--brand-ink); }
.nf h1 { margin-top: 18px; font-size: clamp(36px, 5vw, 56px); line-height: 1.04; letter-spacing: var(--display-ls); }
.nf .lead { margin: 18px 0 0; text-align: left; }
.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; }

/* Android download page */
.dl { padding: 48px 0 96px; }
.dl .wrap { max-width: 760px; }
.dl .crumb { font: 500 13px/1 var(--sans); color: var(--muted); text-decoration: none; }
.dl h1 { margin-top: 18px; font-size: clamp(34px, 5vw, 52px); line-height: 1.05; letter-spacing: var(--display-ls); }
.dl .lead { margin-top: 16px; font-size: 18px; color: var(--ink-2); max-width: 58ch; }
.dl h2 { margin-top: 48px; font-size: 24px; letter-spacing: -0.015em; }
.dl-get { margin-top: 28px; }
.dl-get .btn svg { width: 20px; height: 20px; fill: currentColor; }
.dl-soon { padding: 18px 20px; border-radius: var(--radius); background: var(--brand-soft); color: var(--ink); max-width: 60ch; }
.dl-steps { margin: 18px 0 0; padding-left: 1.4em; display: grid; gap: 10px; color: var(--ink-2); max-width: 62ch; }
.dl-steps li::marker { color: var(--brand-ink); font-weight: 600; }
.dl-note { margin-top: 16px; font-size: 14px; color: var(--muted); max-width: 62ch; }
.dl-ios { margin-top: 12px; color: var(--ink-2); max-width: 62ch; }
.dl .nf-ctas { margin-top: 40px; }

/* How it works + pricing pages (doc layout) */
.doc.page h2 { display: flex; align-items: center; gap: 10px; }
.doc.page h2 .ic { color: var(--brand); font-size: 26px; }
.doc.page .nf-ctas { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }
.doc.page .stores { justify-content: flex-start; margin-top: 16px; }
.doc .price-page .plan ul { margin: 26px 0 28px; padding: 0; list-style: none; display: grid; gap: 11px; }
.doc .price-page .plan p { margin-top: 0; }
.doc .price-page .plan .note { margin-top: 10px; }
.doc .price-page .plan .amount { margin-top: 12px; }
.doc .price-page .plan .fine { margin-top: 18px; }
.doc a.btn-primary { color: var(--btn-ink); text-decoration: none; }
.price-page .wrap { max-width: 820px; }
.price-dl { margin-top: 18px; display: grid; grid-template-columns: minmax(120px, 180px) 1fr; gap: 14px 24px; }
.price-dl dt { font-weight: 600; color: var(--ink); }
.price-dl dd { margin: 0; color: var(--ink-2); }
.doc .faq { margin-top: 18px; }
.doc .faq .a p { margin-top: 0; }
@media (max-width: 560px) { .price-dl { grid-template-columns: 1fr; gap: 4px; } .price-dl dd { margin-bottom: 12px; } }
.doc a.store-btn { color: #FBFAF8; text-decoration: none; }
.doc section.price-page { padding: 8px 0 24px; }

/* Loops run only while they can be seen: site.js adds .paused to scenes, the
 * hero and the demo when they leave the viewport, and .tab-hidden to <html>
 * when the tab is in the background. */
/* (only the elements that loop, so toggling the class restyles little) */
.paused .waves path,
.paused .flow,
.paused .pulse,
.paused .bars rect,
.paused .ring,
.paused .live-dot,
.paused .rec-bars i,
.paused .typing i,
.paused .panel,
.paused .panel *,
.eyebrow.paused i::after,
.tab-hidden .waves path,
.tab-hidden .flow,
.tab-hidden .pulse,
.tab-hidden .bars rect,
.tab-hidden .ring,
.tab-hidden .live-dot,
.tab-hidden .rec-bars i,
.tab-hidden .typing i,
.tab-hidden .panel,
.tab-hidden .panel *,
.tab-hidden .eyebrow i::after { animation-play-state: paused !important; }

/* Articles (/sk/clanky, /cs/clanky): comparisons and guides */
.doc tbody th { background: none; font-weight: 600; color: var(--ink); }
.doc.article .table table { min-width: 640px; }
.doc .art-meta { margin-top: 18px; font: 500 13px/1.4 var(--sans); color: var(--muted); }
.doc .art-meta + h1 { margin-top: 10px; }
.doc .art-kind { color: var(--brand-ink); font-weight: 600; }
.doc .disclosure, .doc .sources-note { font-size: 15px; color: var(--muted); }
.doc .disclosure { margin-top: 18px; padding-left: 14px; border-left: 2px solid var(--brand); }
.doc .sources-note { margin-top: 28px; }
.doc .cta-box { margin-top: 40px; padding: 26px 26px 28px; border-radius: var(--radius); background: var(--surface); text-align: center; }
.doc .cta-box p { margin-top: 8px; }
.doc .cta-box .cta-h { margin-top: 0; font-size: 21px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.doc .cta-box .btn { margin-top: 18px; }
.doc pre.tpl { margin-top: 16px; padding: 18px 20px; overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--card); font: 400 13.5px/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--ink); white-space: pre; }
.doc ul.art-list { margin-top: 16px; padding: 0; list-style: none; display: grid; gap: 12px; }
.doc .art-card { display: grid; gap: 4px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); text-decoration: none; transition: border-color .2s var(--ease), transform .2s var(--ease); }
.doc .art-card:hover { border-color: var(--brand); transform: translateY(-1px); }
.doc .art-card .art-kind { font: 600 12px/1.3 var(--sans); }
.doc .art-card .art-t { font-size: 18px; font-weight: 600; letter-spacing: -0.015em; color: var(--ink); }
.doc .art-card .art-d { font-size: 15px; color: var(--muted); }
@media (min-width: 760px) { .doc.blog ul.art-list, .doc.article ul.art-list { grid-template-columns: 1fr 1fr; } }
@media (prefers-reduced-motion: reduce) { .doc .art-card { transition: none; } .doc .art-card:hover { transform: none; } }
.doc.article .table.t3 table { min-width: 0; table-layout: fixed; }
.doc.article .table.t3 th:first-child { width: 30%; }
@media (max-width: 559px) {
  .doc.article .table.t3 table { font-size: 13.5px; }
  .doc.article .table.t3 th, .doc.article .table.t3 td { padding: 10px 9px; }
  .doc .cta-box { padding: 22px 18px 24px; }
}
.doc.article ul.art-list .art-d { display: none; }
@media (min-width: 760px) { .doc.article ul.art-list { grid-template-columns: repeat(3, 1fr); } }
