/* Hallmark · shape: Split Studio (/), Long Document (/support.html, /privacy.html) · genre: editorial · theme: Specimen (deal 3/3, seed calm-iphone-ipad-app-afdc·f9cd2347·2026-11-23·r0) · redesign: full · draw: fcdbf8 · job: try
 * hero: Stage (/), Banner (/support.html, /privacy.html) · nav: edge-aligned bar, wordmark and two links · footer: colophon block · imagery: screenshots 9 (the app's own store and docs captures) · signature: the yellow box, the next digit to write, in the real worksheet
 * axes: light/high-contrast-serif/cool · posture: restrained · surface: brand paper #F2F2F7 from the app · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S5 R5 V4 · weakest: P, a calm product page is easy to agree with; it argues by showing the real worksheet first and letting help wait until asked */
/* Hallmark · hero-review: subagent, ship · 5 findings · 3 resolved 1 partial 1 unresolved (the whole problem stays in frame) · finish-review: subagent, fix · 7 findings · 7 resolved · gap: none */
/* Hallmark · waive 44c · Banner posture on /support.html and /privacy.html · the support and privacy pages open on a short banner so the questions and the policy text start on the first screen */
/* Hallmark · waive 78 · Long Document shape on /support.html and /privacy.html · the support and privacy pages set each section head as an annotation beside the policy and answer text */
/* Hallmark · dismissed 77 · support.html and privacy.html are long documents whose three sections are the questions, the contact and the policy as written by the owner */
/* Hallmark · dropped support, questions, contact · these were the headings the old index.html redirect rendered; / is now the home page and all three stay on support.html, unchanged */
/* Hallmark · reworded support and privacy chrome only: the "ColumnWise Math" eyebrow above each h1 is now the nav wordmark (54); section labels in tracked capitals are now sentence-case h2s (67); policy and answer text verbatim */
@import url("./tokens.css");
@import url("./base.css");

/* page */
body { font-size: var(--text-md); line-height: 1.6; }
p:not([class]) { max-width: 60ch; }
a { text-decoration-color: var(--color-accent); text-underline-offset: 0.18em; transition: text-decoration-thickness var(--dur-micro) var(--ease-out); }
a:hover { text-decoration-thickness: 2px; }
a:active { color: var(--color-ink-2); }
a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
h1, h2 { font-variation-settings: "opsz" var(--display-optical); line-height: 1.04; }
h3 { font-optical-sizing: auto; font-size: var(--text-xl); line-height: 1.2; }
.nowrap { white-space: nowrap; }

.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); }
.skip:focus-visible { top: var(--space-md); }

/* nav */
.nav { border-bottom: var(--rule-hair) solid var(--color-rule); }
.nav__in { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: var(--space-sm); color: var(--color-ink); text-decoration: none; font-family: var(--font-display); font-size: var(--text-xl); letter-spacing: var(--tracking-display); }
.brand img { width: 36px; height: 36px; flex-shrink: 0; outline: var(--rule-hair) solid var(--color-rule); outline-offset: -1px; }
.nav__links { display: flex; gap: var(--space-lg); margin: 0; padding: 0; list-style: none; }
.nav__links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--color-ink); white-space: nowrap; }
.nav__links a[aria-current="page"] { text-decoration-thickness: 2px; }

/* controls */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs); min-height: 52px; padding: 0 var(--space-lg); border: var(--rule-hair) solid var(--color-ink); border-radius: var(--radius-card); background: var(--color-ink); color: var(--color-paper); font: 500 var(--text-md)/1 var(--font-body); white-space: nowrap; text-decoration: none; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn:hover { background: var(--color-ink-2); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn--quiet { background: transparent; color: var(--color-ink); }
.btn--quiet:hover { background: var(--color-paper-2); }
.store { display: inline-flex; flex-direction: column; justify-content: center; min-height: 52px; padding: var(--space-xs) var(--space-lg); border: var(--rule-hair) dashed var(--color-rule-2); color: var(--color-ink); line-height: 1.25; }
.store b { font-weight: 500; }
.store small { font-size: var(--text-xs); color: var(--color-muted); }
.textlink { display: inline-flex; align-items: center; min-height: 44px; color: var(--color-ink); font-weight: 500; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-md); margin-top: var(--space-xl); }
@media (prefers-reduced-motion: reduce) { .btn, a { transition: none; } }

/* shots: the app's own screens, framed square in a hairline */
.shot { margin: 0; background: var(--color-sheet); outline: var(--rule-hair) solid var(--color-rule); outline-offset: -1px; }
.shot img { width: 100%; height: auto; }
.shot-fig, .panel { margin: 0; }
.shot--bare { background: transparent; outline: 0; }
.cap { margin-top: var(--space-sm); font-size: var(--text-sm); color: var(--color-muted); }

/* hero */
.hero__in { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--space-2xl); align-items: center; min-height: calc(100dvh - 73px); padding-block: var(--space-xl); }
.hero h1 { font-size: clamp(2.75rem, 3vw + 1.25rem, 4.25rem); max-width: 20ch; }
.hero .lead { margin-top: var(--space-lg); max-width: 30ch; color: var(--color-ink-2); }
.hero .shot { justify-self: end; width: 100%; max-width: 680px; }

/* sections */
.sec { padding-block: var(--section-gap); }
.sec--s { padding-block: var(--section-gap-s); }
.sec--l { padding-block: var(--section-gap-l); }
.sec--band { background: var(--color-paper-2); border-block: var(--rule-hair) solid var(--color-rule); }
.sec + .sec:not(.sec--band) { border-top: var(--rule-hair) solid var(--color-rule); }
.sec--band + .sec { border-top: 0; }
.row { display: grid; gap: var(--space-2xl); align-items: center; }
.row--5-7 { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.row--6-6 { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); }
.row--4-8 { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
.row--top { align-items: start; }
.head .lead { margin-top: var(--space-md); color: var(--color-ink-2); }
.head h2 + p:not(.lead), .head .lead + p { margin-top: var(--space-md); }

/* facts: a definition list on hairlines */
.facts { margin: var(--space-xl) 0 0; padding: 0; }
.facts > div { padding-block: var(--space-md); border-top: var(--rule-hair) solid var(--color-rule); }
.facts > div:last-child { border-bottom: var(--rule-hair) solid var(--color-rule); }
.facts dt { font-weight: 500; }
.facts dd { margin: var(--space-3xs) 0 0; color: var(--color-ink-2); max-width: 46ch; }

/* the yellow box section: a tall phone screen, held to its column */
.phone { justify-self: center; width: min(100%, 360px); }

/* help: a switcher of three real screens */
.tabs { display: flex; flex-direction: column; gap: 0; margin-top: var(--space-xl); border-top: var(--rule-hair) solid var(--color-rule); }
.tab { display: flex; align-items: center; gap: var(--space-sm); min-height: 56px; padding: var(--space-sm) 0; border: 0; border-bottom: var(--rule-hair) solid var(--color-rule); background: transparent; color: var(--color-ink-2); font: 400 var(--text-lg)/1.3 var(--font-body); text-align: left; cursor: pointer; transition: color var(--dur-micro) var(--ease-out); }
.tab::before { content: ""; flex-shrink: 0; width: 18px; height: 18px; border: 2px solid transparent; }
.tab:hover { color: var(--color-ink); }
.tab:active { color: var(--color-ink); }
.tab:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.tab[aria-selected="true"] { color: var(--color-ink); font-weight: 500; box-shadow: inset 0 -2px 0 var(--color-ink); }
.tab[aria-selected="true"]::before { border-color: var(--color-accent); background: var(--color-mark); }
.tab:disabled { opacity: 0.55; cursor: not-allowed; }
html:not(.js) .tabs { display: none; }
.panel + .panel { margin-top: var(--space-xl); }
.js .panel + .panel { margin-top: 0; }
@media (prefers-reduced-motion: reduce) { .tab { transition: none; } }

/* larger text: before and after */
.pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gap-columns); max-width: 640px; justify-self: end; width: 100%; }

/* the facts grid: hairline cells, like the sheet */
.cells { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: var(--space-2xl) 0 0; padding: 0; border-top: var(--rule-hair) solid var(--color-rule-2); border-left: var(--rule-hair) solid var(--color-rule); }
.cells > div { padding: var(--space-lg); border-right: var(--rule-hair) solid var(--color-rule); border-bottom: var(--rule-hair) solid var(--color-rule); background: var(--color-sheet); }
.cells dt { font-size: var(--text-sm); color: var(--color-muted); }
.cells dd { margin: var(--space-xs) 0 0; font-weight: 500; font-size: var(--text-2xl); line-height: 1.15; }
.planned { margin-top: var(--space-lg); max-width: 62ch; color: var(--color-ink-2); }

/* footer: a colophon block */
.foot { padding-block: var(--space-3xl); border-top: var(--rule-hair) solid var(--color-rule); }
.foot p { max-width: 70ch; color: var(--color-ink-2); }
.foot p + p { margin-top: var(--space-sm); }
.foot .brand { margin-bottom: var(--space-lg); }

/* long document pages: support and privacy */
.banner__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-2xl); align-items: end; padding-block: var(--space-3xl) var(--space-2xl); }
.banner h1 { font-size: var(--text-display); }
.banner .lead { color: var(--color-ink-2); max-width: 56ch; }
.banner .lead + .lead { margin-top: var(--space-md); }
.doc { padding-block: var(--space-2xl) var(--section-gap-s); }
.doc__row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--space-2xl); padding-block: var(--space-xl); border-top: var(--rule-hair) solid var(--color-rule); }
.doc__row:first-child { border-top: 3px double var(--color-rule-2); }
.doc__row h2 { font-size: var(--text-2xl); line-height: 1.15; }
.doc__row p + p, .doc__row p + ul, .doc__row ul + p { margin-top: var(--space-sm); }
.doc ul { margin: 0; padding-left: var(--space-lg); max-width: 60ch; }
.doc li + li { margin-top: var(--space-xs); }
.doc b.ui { font-weight: 500; color: var(--color-accent); }

/* questions: native disclosures on hairlines */
.qa details { border-bottom: var(--rule-hair) solid var(--color-rule); }
.qa details:first-child { border-top: var(--rule-hair) solid var(--color-rule); }
.qa summary { display: flex; justify-content: space-between; align-items: center; gap: var(--space-md); min-height: 64px; padding-block: var(--space-sm); font-weight: 500; cursor: pointer; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; flex-shrink: 0; font: 400 var(--text-xl)/1 var(--font-body); color: var(--color-accent); }
.qa details[open] summary::after { content: "\2212"; }
.qa summary:hover { color: var(--color-ink-2); }
.qa summary:active { color: var(--color-ink); }
.qa summary:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.qa details p { padding-bottom: var(--space-md); }
.qa details p + p { margin-top: calc(-1 * var(--space-xs)); }
.contact { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-md); margin-top: var(--space-md); }

/* phones and tablets */
@media (max-width: 60rem) {
  .hero__in, .row--5-7, .row--6-6, .row--4-8, .banner__in, .doc__row { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .hero__in { min-height: 0; padding-block: var(--space-2xl); }
  .hero .shot { justify-self: stretch; }
  .pair { justify-self: stretch; max-width: none; }
  .cells { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .banner__in { padding-block: var(--space-2xl) var(--space-lg); }
  .doc__row { gap: var(--space-md); }
}
@media (max-width: 40rem) {
  .nav__links { gap: var(--space-md); }
  .brand { font-size: var(--text-lg); }
  .cells dd { font-size: var(--text-xl); }
  .actions { margin-top: var(--space-lg); }
  .store { width: 100%; }
  .hero h1 { font-size: 2.5rem; }
}
