/* Hallmark · shape: product page over a legal long-document set · genre: editorial · theme: custom (locked by DESIGN.md) · job: try · idea: "show the real exam-prep screens and say plainly what happens to your data" · vibe: "quiet study desk, one blue highlighter"
 * paper: #F6F9FC (cool-canvas) · accent: #1A6BFF (focus-blue) · display: Georgia / system serif · body: system sans · hero: Stage, head on five columns, the real e-book reader capture on seven · nav: edge-aligned wordmark, language link and mode toggle · footer: a mast, the wordmark over the legal links and the non-affiliation line · imagery: the product, 3 screenshots cropped from the v1.9.7 Android QA run · signature: the KPSS Tarih reader page, unit 2 of 14, shown as captured
 * axes: light/roman-serif/cool · posture: Restrained · surface: absolute · modes: light+dark · contrast: pass · fold: pass · copy: verbatim (legal pages render the app's own legal strings) · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S5 R5 V3 · weakest: V, the product page follows a familiar hero, table, split, statement order; the duel split is mirrored and the close is the policy index, not a sign-up */
/* Hallmark · waive 7b · paper-white #FFFFFF is the DESIGN.md card surface (cards, table wells) · RecallFlow's locked palette sets paper-white as its card token, measured with every pairing */
/* Hallmark · waive 78 · Long Document shape on the legal, support and deletion pages, heads are inline section titles over verbatim policy text · the legal pages render the app's own policy sections at reading size */
/* Hallmark · waive 49b · TOC and inline links carry verbatim legal headings and the support email, two lines at most · RecallFlow policy headings cannot be shortened without diverging from the in-app text */
/* Hallmark · waive 77 · the support contact and deletion steps sit in the 680px reading column · DESIGN.md's Reading Measure Rule caps RecallFlow long-form text near 75 characters */
/* Hallmark · waive 79 · Stage hero, the reader capture runs to 850px at 1440 x 900, the measured gap is the text column only · the RecallFlow reader screen fills the hero to the fold */
/* Hallmark · dismissed 77 · the legal, support and deletion pages are Long Documents of continuous sections, not marketing sections */
/* Hallmark · dismissed 25 · .statement p.say is the one-sentence privacy promise set at display size, not running prose */
@import url("./tokens.css");
@import url("./base.css");

body { line-height: 1.55; }
h1, h2, h3 { color: var(--color-ink); letter-spacing: var(--tracking-display); }
h1 { font-size: var(--text-display); line-height: 1.06; font-weight: 700; max-width: 16ch; }
h2 { font-size: var(--text-section); line-height: 1.1; font-weight: 700; max-width: 22ch; }
h3 { font-size: var(--text-title); line-height: 1.25; font-weight: 700; max-width: 40ch; }
.lead { font-size: var(--text-lead); line-height: 1.5; color: var(--color-ink-2); max-width: 44ch; }
.small { font-size: var(--text-sm); color: var(--color-ink-2); }
a { color: var(--color-accent); }
a:hover { color: var(--color-accent-hover); }
a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; border-radius: var(--space-2xs); }

.skip { position: absolute; left: var(--space-md); top: calc(-1 * var(--space-3xl)); z-index: var(--z-toast); padding: var(--space-xs) var(--space-md); background: var(--color-ink); color: var(--color-paper); border-radius: var(--radius-sm); }
.skip:focus-visible { top: var(--space-md); }

/* nav */
.site-nav .container { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); min-height: 72px; }
.wordmark { font-family: var(--font-display); font-weight: 700; font-size: var(--text-lg); color: var(--color-ink); text-decoration: none; letter-spacing: var(--tracking-display); white-space: nowrap; }
.wordmark:hover { color: var(--color-ink); }
.nav-tools { display: flex; align-items: center; gap: var(--space-xs); }
.nav-link, .mode-toggle { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-sm); border-radius: var(--radius-pill); font: 400 var(--text-sm)/1 var(--font-body); color: var(--color-ink); text-decoration: none; white-space: nowrap; }
.nav-link:hover { background: var(--color-paper-3); color: var(--color-ink); }
.nav-link[aria-current="page"] { color: var(--color-accent); }
.mode-toggle { border: var(--rule-hair) solid var(--color-rule-strong); background: transparent; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out); }
.mode-toggle:hover { background: var(--color-paper-3); }
.mode-toggle:active { background: var(--color-rule); }
.mode-toggle:focus-visible, .nav-link:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.mode-toggle:disabled { opacity: 0.55; cursor: not-allowed; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 var(--space-lg); border: var(--rule-hair) solid var(--color-accent); border-radius: var(--radius-pill); background: var(--color-accent); color: var(--color-accent-ink); font: 600 1.0625rem/1 var(--font-body); white-space: nowrap; text-decoration: none; cursor: pointer; box-shadow: var(--shadow-card); transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn:hover { background: var(--color-accent-hover); border-color: var(--color-accent-hover); color: var(--color-accent-ink); }
.btn:active { transform: scale(0.975); }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn--quiet { background: transparent; color: var(--color-accent); border-color: var(--color-rule-strong); box-shadow: none; }
.btn--quiet:hover { background: var(--color-paper-3); color: var(--color-accent); border-color: var(--color-rule-strong); }

/* shared grid */
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-2xl); align-items: start; }
.section { padding-block: var(--section-gap-s); }
.section--tall { padding-block: var(--section-gap) var(--section-gap-s); }
.head-block { display: grid; gap: var(--space-md); align-content: start; }

/* hero: Stage */
.hero .container { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-3xl); align-items: center; min-height: calc(100svh - 72px); padding-block: var(--space-md); }
.hero-text { display: grid; gap: var(--space-lg); justify-items: start; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); padding-top: var(--space-xs); }

/* product captures: dark-mode screens on a well */
.shot { margin: 0; display: grid; justify-items: center; gap: var(--space-sm); padding: var(--space-lg) var(--space-lg) var(--space-md); background: var(--color-paper-3); border-radius: var(--radius-xl); }
.shot img { width: auto; border-radius: var(--radius-card); background: var(--color-shot-well); outline: 1px solid color-mix(in oklab, var(--color-ink) 10%, transparent); outline-offset: -1px; }
.shot figcaption { font-size: var(--text-sm); color: var(--color-ink-2); text-align: center; max-width: 46ch; }
.shot--hero img { height: min(70svh, 680px); }
.shot--tall img { height: min(70svh, 620px); }
.shot--wide img { width: min(100%, 520px); height: auto; }

/* what's inside: table */
.inside .head-block { grid-column: 1 / span 4; }
.inside .table-wrap { grid-column: 5 / span 8; }
.data { width: 100%; border-collapse: collapse; font-size: var(--text-md); }
.data th { text-align: left; font: 400 var(--text-sm)/1.3 var(--font-body); color: var(--color-ink-2); padding: 0 var(--space-sm) var(--space-sm) 0; border-bottom: var(--rule-hair) solid var(--color-rule-strong); white-space: nowrap; }
.data td { padding: var(--space-md) var(--space-sm) var(--space-md) 0; border-bottom: var(--rule-hair) solid var(--color-rule); vertical-align: top; }
.data td:first-child { font-weight: 600; }
.data .num { text-align: right; font-variant-numeric: tabular-nums; }
.data th.num { text-align: right; }
.data tfoot td { border-bottom: 0; font-weight: 700; padding-top: var(--space-md); }
.data .exam { display: block; font-weight: 400; font-size: var(--text-sm); color: var(--color-ink-2); }
.table-note { margin-top: var(--space-lg); font-size: var(--text-sm); color: var(--color-ink-2); max-width: 70ch; }

/* split */
.split .split-text { grid-column: 1 / span 5; display: grid; gap: var(--space-lg); align-self: center; }
.split .split-shot { grid-column: 7 / span 6; }
.split--rev .split-shot { grid-column: 1 / span 6; grid-row: 1; }
.split--rev .split-text { grid-column: 8 / span 5; grid-row: 1; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; }
.facts li { display: grid; gap: var(--space-2xs); padding-block: var(--space-md); border-top: var(--rule-hair) solid var(--color-rule); }
.facts li:last-child { border-bottom: var(--rule-hair) solid var(--color-rule); }
.facts strong { font-size: 1.0625rem; color: var(--color-ink); }
.facts span { color: var(--color-ink-2); max-width: 52ch; }

/* statement band */
.band { background: var(--color-paper-3); color: var(--color-ink); padding-block: var(--section-gap-s); }
.statement { display: grid; gap: var(--space-xl); justify-items: start; }
.statement p.say { font-family: var(--font-display); font-size: var(--text-display-s); line-height: 1.12; font-weight: 700; letter-spacing: var(--tracking-display); color: var(--color-ink); max-width: 24ch; text-wrap: balance; }

/* policy index (close) */
.index .head-block { grid-column: 1 / span 4; }
.index .rows { grid-column: 5 / span 8; list-style: none; margin: 0; padding: 0; }
.rows a { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap-columns); align-items: baseline; padding-block: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule); text-decoration: none; color: var(--color-ink); transition: background-color var(--dur-short) var(--ease-out); }
.rows li:last-child a { border-bottom: var(--rule-hair) solid var(--color-rule); }
.rows a strong { font-family: var(--font-display); font-size: var(--text-title); line-height: 1.25; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
.rows a span { color: var(--color-ink-2); }
.rows a:hover { color: var(--color-ink); }
.rows a:hover strong { color: var(--color-accent); text-decoration-color: currentColor; }
.rows a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }

/* footer: mast */
.site-footer { border-top: var(--rule-hair) solid var(--color-rule); padding-block: var(--space-2xl) var(--space-xl); margin-top: var(--space-2xl); }
.site-footer .container { display: grid; gap: var(--space-lg); }
.footer-mark { font-family: var(--font-display); font-weight: 700; font-size: var(--text-2xl); letter-spacing: var(--tracking-display); color: var(--color-ink); }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-2xs) var(--space-lg); }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-rule-strong); white-space: nowrap; }
.footer-links a:hover { color: var(--color-accent); text-decoration-color: currentColor; }
.footer-legal { display: grid; gap: var(--space-2xs); font-size: var(--text-sm); color: var(--color-ink-2); }
.footer-legal p { max-width: 72ch; }

/* long documents: privacy, terms, support, delete data */
.doc-head { padding-block: var(--space-2xl) var(--space-xl); }
.doc-head .container { display: grid; gap: var(--space-md); }
.doc-head h1 { font-size: var(--text-display-s); max-width: 20ch; }
.doc-body .container { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: var(--space-3xl); align-items: start; padding-bottom: var(--section-gap-s); }
.doc-body .prose { grid-column: 2; }
.toc { position: sticky; top: var(--space-lg); display: grid; gap: var(--space-xs); padding-top: var(--space-2xs); }
.toc h2 { font: 600 var(--text-sm)/1.3 var(--font-body); letter-spacing: 0; color: var(--color-ink-2); }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3xs); }
.toc a { display: block; padding: var(--space-xs) 0; font-size: var(--text-sm); line-height: 1.35; color: var(--color-ink); text-decoration: none; }
.toc a:hover { color: var(--color-accent); text-decoration: underline; }
.prose { max-width: var(--measure-reading); display: grid; gap: var(--space-md); }
.prose > section { display: grid; gap: var(--space-sm); padding-top: var(--space-xl); }
.prose > section:first-child { padding-top: 0; }
.prose h2 { font-size: var(--text-title); line-height: 1.25; max-width: 36ch; scroll-margin-top: var(--space-lg); }
.prose h3 { font-size: var(--text-lg); }
.prose p, .prose li { line-height: 1.5625; max-width: 68ch; overflow-wrap: break-word; }
.prose ul, .prose ol { margin: 0; padding-left: var(--space-lg); display: grid; gap: var(--space-xs); }
.prose .note { padding: var(--space-md) var(--space-lg); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-input); background: var(--color-paper-2); color: var(--color-ink); }

/* numbered steps on the deletion page */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 0; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: var(--space-md); align-items: baseline; padding-block: var(--space-md); border-top: var(--rule-hair) solid var(--color-rule); }
.steps li:last-child { border-bottom: var(--rule-hair) solid var(--color-rule); }
.steps li::before { content: counter(step); font-family: var(--font-display); font-weight: 700; font-size: var(--text-2xl); line-height: 1; color: var(--color-accent); font-variant-numeric: tabular-nums; }
.ui { font-weight: 600; color: var(--color-ink); }

/* FAQ */
.faq { display: grid; }
.faq details { border-top: var(--rule-hair) solid var(--color-rule); }
.faq details:last-child { border-bottom: var(--rule-hair) solid var(--color-rule); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: var(--space-md); min-height: 64px; padding-block: var(--space-sm); cursor: pointer; list-style: none; font-weight: 600; font-size: 1.0625rem; color: var(--color-ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex-shrink: 0; font: 400 var(--text-xl)/1 var(--font-body); color: var(--color-accent); transition: transform var(--dur-short) var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--color-accent); }
.faq summary:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; border-radius: var(--space-2xs); }
.faq .answer { display: grid; gap: var(--space-sm); padding-bottom: var(--space-lg); }

.contact { display: grid; gap: var(--space-sm); justify-items: start; padding: var(--space-lg); border-radius: var(--radius-card); background: var(--color-paper-2); border: var(--rule-hair) solid var(--color-rule); box-shadow: var(--shadow-card); }
.contact a.mail { font-family: var(--font-display); font-weight: 700; font-size: var(--text-xl); white-space: nowrap; }
.nowrap { white-space: nowrap; }

/* retention table restacks on phones */
.retain th:first-child, .retain td:first-child { width: 30%; }

@media (max-width: 60rem) {
  .hero .container { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: var(--space-xl); padding-block: var(--space-xl) var(--space-2xl); }
  .shot--hero img, .shot--tall img { height: auto; width: min(100%, 360px); }
  .inside .head-block, .inside .table-wrap, .index .head-block, .index .rows,
  .split .split-text, .split .split-shot, .split--rev .split-text, .split--rev .split-shot { grid-column: 1 / -1; grid-row: auto; }
  .doc-body .container { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .toc { position: static; }
  .doc-body .prose { grid-column: 1; }
}
@media (max-width: 40rem) {
  .rows a { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xs); }
  .nav-link--wide { display: none; }
  .nav-link, .mode-toggle { padding: 0 var(--space-xs); }
  .contact a.mail { font-size: var(--text-md); }
  .data { font-size: var(--text-sm); }
  .shot { padding: var(--space-lg) var(--space-md) var(--space-md); }
  .retain thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .retain tr { display: grid; gap: var(--space-2xs); padding-block: var(--space-sm); border-bottom: var(--rule-hair) solid var(--color-rule); }
  .retain td { display: block; padding: 0; border: 0; width: auto; }
  .retain th:first-child, .retain td:first-child { width: auto; }
  .retain td[data-label]::before { content: attr(data-label); display: block; font-size: var(--text-sm); font-weight: 400; color: var(--color-ink-2); }
}
@media (prefers-reduced-motion: reduce) {
  .btn, .mode-toggle, .rows a, .faq summary::after { transition: none; }
  .btn:active { transform: none; }
}
