/* Hallmark · v2.0.0 · theme: cobalt (deal: manual, accent moved to the app's own purple, hue 286) · genre: modern-minimal · posture: restrained · shape: Feature Stack · job: try · hero: stage · nav: edge-aligned, wordmark and one key · footer: mast · signature: the Dict8 keyboard dictating inside Messages · material: real: free, on-device, no server, no account, 30 languages, Rumble-2-Flash · pictures: simulator captures of Dict8 in Messages, Reminders and its own app · absent: logos, quotes, metrics, App Store link */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R5 V4 · weakest: P, privacy is a common claim; argued it as a table of where the voice goes instead of a slogan */
/* Hallmark · waive 47b · one rounded screenshot frame per capture, real simulator captures inside · the iPhone keyboard is the product, so its screen is the evidence */

:root {
  --color-paper: oklch(98.7% 0.004 286); --color-paper-2: oklch(96.4% 0.008 286); --color-paper-3: oklch(93.2% 0.012 286);
  --color-ink: oklch(21% 0.03 284); --color-ink-2: oklch(36% 0.024 284); --color-muted: oklch(50% 0.02 284);
  --color-rule: oklch(90% 0.01 286); --color-rule-2: oklch(83% 0.014 286);
  --color-graphite: oklch(21% 0.03 284); --color-graphite-ink: oklch(94% 0.01 286); --color-graphite-muted: oklch(72% 0.03 286); --color-graphite-rule: oklch(32% 0.03 284);
  --color-accent: oklch(48% 0.19 286); --color-accent-edge: oklch(38% 0.17 286); --color-accent-wash: oklch(95.4% 0.03 290); --color-accent-ink: oklch(98.7% 0.004 286); --color-focus: oklch(48% 0.19 286); --color-focus-on-dark: oklch(80% 0.11 290);
  --color-key-face: oklch(99.5% 0.002 286); --color-key-edge: oklch(80% 0.016 286);
  --shadow-key: 0 3px 0 0 var(--color-key-edge), 0 6px 8px -4px oklch(21% 0.03 284 / 0.28), inset 0 1px 0 oklch(100% 0 0 / 0.9);
  --shadow-key-accent: 0 3px 0 0 var(--color-accent-edge), 0 6px 8px -4px oklch(30% 0.12 286 / 0.45), inset 0 1px 0 oklch(100% 0 0 / 0.22);
  --shadow-key-press: inset 0 1px 2px oklch(21% 0.03 284 / 0.14);
  --shadow-shot: 0 1px 2px oklch(21% 0.03 284 / 0.06), 0 24px 48px -24px oklch(21% 0.03 284 / 0.28);

  --font-display: "Familjen Grotesk", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", system-ui, sans-serif;

  --text-display: clamp(3rem, 2rem + 4.2vw, 5.25rem);
  --text-section: clamp(2.25rem, 1.6rem + 2.4vw, 3.25rem);
  --text-title: clamp(1.25rem, 1.1rem + 0.6vw, 1.5625rem);
  --text-lead: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
  --text-md: 1rem; --text-sm: 0.875rem;
  --tracking-display: -0.028em;

  --space-2xs: 4px; --space-xs: 8px; --space-sm: 12px; --space-md: 16px; --space-lg: 24px; --space-xl: 32px; --space-2xl: 56px; --space-3xl: 96px;
  --section-gap-s: 120px; --section-gap: 144px; --section-gap-l: 176px;
  --container: 1440px; --gutter: clamp(20px, 4.4vw, 64px); --gap-columns: 32px;
  --radius-input: 6px; --radius-card: 8px; --radius-shot: 36px;
  --rule-hair: 1px;
  --dur-micro: 120ms; --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--color-paper); color: var(--color-ink); font: 400 var(--text-md)/1.6 var(--font-body); }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 600; letter-spacing: var(--tracking-display); color: var(--color-ink); line-height: 1.04; overflow-wrap: break-word; min-width: 0; }
h1 { font-size: var(--text-display); }
h2 { font-size: var(--text-section); }
h3 { font-size: var(--text-title); font-weight: 500; letter-spacing: -0.01em; line-height: 1.2; }
p { margin: 0; }
.lead { font-size: var(--text-lead); line-height: 1.45; color: var(--color-ink-2); max-width: 34ch; }
a { color: inherit; text-decoration-color: var(--color-rule-2); text-underline-offset: 0.2em; }
a:hover { text-decoration-color: var(--color-accent); }
a:focus-visible, .key:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.band a:focus-visible, .band .key:focus-visible { outline-color: var(--color-focus-on-dark); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

/* Keys: the one control on the page */
.key { display: inline-flex; align-items: center; gap: var(--space-sm); min-height: 48px; padding: 0 var(--space-lg); border: var(--rule-hair) solid var(--color-rule-2); border-radius: var(--radius-input); background: var(--color-key-face); color: var(--color-ink); font: 500 var(--text-md)/1 var(--font-display); text-decoration: none; white-space: nowrap; box-shadow: var(--shadow-key); transition: transform var(--dur-micro) var(--ease-out), box-shadow var(--dur-micro) var(--ease-out); }
.key:hover { transform: translateY(-1px); }
.key:active { transform: translateY(3px); box-shadow: var(--shadow-key-press); }
.key--primary { background: var(--color-accent); border-color: var(--color-accent-edge); color: var(--color-accent-ink); box-shadow: var(--shadow-key-accent); }
.key--primary:active { box-shadow: var(--shadow-key-press); }
.key[aria-disabled="true"] { cursor: not-allowed; }
.key svg { width: 18px; height: 18px; flex: none; fill: currentColor; }
.note { font-size: var(--text-sm); color: var(--color-muted); }

/* Nav */
.nav { border-bottom: var(--rule-hair) solid var(--color-rule); }
.nav .container { display: flex; align-items: center; justify-content: space-between; min-height: 72px; }
.wordmark { font: 600 1.5rem/1 var(--font-display); letter-spacing: -0.03em; text-decoration: none; color: var(--color-ink); }
.nav .key { min-height: 44px; }

/* Screenshots */
.shot { margin: 0; }
.shot img { border-radius: var(--radius-shot); border: var(--rule-hair) solid var(--color-rule); box-shadow: var(--shadow-shot); background: var(--color-paper-2); }
.shot figcaption { margin-top: var(--space-md); font-size: var(--text-sm); color: var(--color-muted); text-align: center; }

/* Hero: stage */
.hero { padding-block: var(--space-2xl); }
.hero .container { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--space-3xl); align-items: center; min-height: calc(100svh - 73px - 2 * var(--space-2xl)); }
.hero-text { display: grid; gap: var(--space-lg); justify-items: start; }
.hero-text .actions { display: grid; gap: var(--space-sm); justify-items: start; margin-top: var(--space-md); }
.hero .shot { justify-self: center; width: min(100%, 330px); }
.hero .shot img { width: 100%; }

/* Where your voice goes: a ruled table */
.where { padding-block: var(--section-gap) var(--section-gap-s); }
.head-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--gap-columns); align-items: end; margin-bottom: var(--space-2xl); }
.head-split .lead { justify-self: end; }
.ledger { width: 100%; border-collapse: collapse; border-top: var(--rule-hair) solid var(--color-ink); }
.ledger th, .ledger td { text-align: left; vertical-align: baseline; padding: var(--space-lg) var(--space-md); border-bottom: var(--rule-hair) solid var(--color-rule); }
.ledger th { width: 34%; font: 500 var(--text-title)/1.2 var(--font-display); letter-spacing: -0.01em; color: var(--color-ink); }
.ledger td { font-size: var(--text-lead); color: var(--color-ink-2); }
.ledger tr.is-key { background: var(--color-accent-wash); }
.ledger tr.is-key td { color: var(--color-ink); }

/* In every app: split with two captures */
.apps { padding-block: var(--section-gap-s) var(--section-gap); background: var(--color-paper-2); border-block: var(--rule-hair) solid var(--color-rule); }
.apps .container { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-3xl); align-items: center; }
.apps-text { display: grid; gap: var(--space-lg); }
.steps { margin: var(--space-md) 0 0; padding: 0; list-style: none; counter-reset: step; display: grid; gap: var(--space-md); }
.steps li { counter-increment: step; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: var(--space-md); align-items: baseline; font-size: var(--text-lead); color: var(--color-ink-2); }
.steps li::before { content: counter(step); display: inline-grid; place-items: center; width: 32px; height: 32px; border: var(--rule-hair) solid var(--color-rule-2); border-radius: var(--radius-input); background: var(--color-key-face); box-shadow: var(--shadow-key); font: 600 var(--text-sm)/1 var(--font-display); color: var(--color-ink); }
.apps .shot { justify-self: center; width: min(100%, 330px); }

/* Languages: an index in each language's own name */
.langs { padding-block: var(--section-gap-l) var(--section-gap); }
.lang-list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: var(--rule-hair) solid var(--color-ink); }
.lang-list li { padding: var(--space-md) var(--space-sm); border-bottom: var(--rule-hair) solid var(--color-rule); font: 500 var(--text-title)/1.3 var(--font-display); letter-spacing: -0.01em; }

/* Close: graphite band with the download */
.band { background: var(--color-graphite); color: var(--color-graphite-ink); padding-block: var(--section-gap-s); }
.band .container { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: var(--space-3xl); align-items: center; }
.band h2 { color: var(--color-graphite-ink); font-size: var(--text-display); }
.band .lead { color: var(--color-graphite-muted); }
.band-text { display: grid; gap: var(--space-lg); justify-items: start; }
.band .note { color: var(--color-graphite-muted); }
.band .shot { justify-self: center; width: min(100%, 300px); }
.band .shot img { border-color: var(--color-graphite-rule); }

/* Footer: mast */
.footer { padding-block: var(--space-3xl) var(--space-2xl); }
.footer .wordmark { display: block; font-size: clamp(4rem, 2rem + 9vw, 10rem); line-height: 0.9; letter-spacing: -0.05em; margin-bottom: var(--space-xl); }
.footer-lines { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gap-columns); padding-top: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule); font-size: var(--text-sm); color: var(--color-muted); }
.footer-lines p:last-child { justify-self: end; }

@media (max-width: 60rem) {
  .hero .container, .apps .container, .band .container, .head-split { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); min-height: 0; }
  .head-split .lead { justify-self: start; }
  .lang-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ledger th { width: 40%; }
}
@media (max-width: 40rem) {
  :root { --section-gap-s: 72px; --section-gap: 88px; --section-gap-l: 104px; --space-3xl: 64px; }
  .lang-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ledger th, .ledger td { display: block; width: 100%; padding-inline: 0; }
  .ledger th { border-bottom: 0; padding-bottom: 0; }
  .footer-lines { grid-template-columns: minmax(0, 1fr); }
  .footer-lines p:last-child { justify-self: start; }
}
@media (prefers-reduced-motion: reduce) {
  .key { transition: none; }
  .key:hover, .key:active { transform: none; }
}
