/* Hallmark · shape: Index-First · genre: modern-minimal · theme: Cobalt (deal 3/3, seed official-home-eclectic-logic-8503·3481e3d4·2026-11-28·r0) · job: hire (no action asked; the email in the footer) · draw: 70309f
 * hero: Poster, the field full-bleed, head low-left · nav: edge-aligned (the logo, Privacy, Terms) · footer: colophon (logo, links, email, legal line) · imagery: none (the field) · signature: the field, scattered characters on the left resolving into the hexagonal e on the right
 * brand: Eclectic Logic (artwork/final/GUIDELINES.md), logo kept on its approved light paper · axes: light/grotesk-sans/cool · posture: restrained · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R5 V4 · weakest: S, the practice rows stay general by request; the field carries what only this company has */
/* Hallmark · revised at the owner's request: the practice rows moved onto the graphite band; the measured mark, the record table and the footer statement removed */
/* Hallmark · hero-review: fix · 4 findings · 3 resolved, 1 dismissed (the subhead stays general: the owner asked for copy purposefully vague about software)
 * finish-review: subagent · 7 findings · 7 resolved · gap: Cobalt's cut panels and keycaps are absent below the hero, by the brief's restraint (no action, no product shown) */
/* Hallmark · open 58 · privacy.html and terms.html run 160 to 250 words a screen: legal documents the owner needs for Apple, set at reading length; a Floor finding left open on purpose and reported, not waived */
@import url("./tokens.css");
@import url("./base.css");

/* ---- Page tokens: the self-hosted faces ---- */
@font-face { font-family: "Familjen Grotesk"; src: url("../fonts/familjen-grotesk-latin.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/ibm-plex-sans-latin.woff2") format("woff2"); font-weight: 100 700; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-mono-latin.woff2") format("woff2"); font-weight: 100 800; font-style: normal; font-display: swap; }
:root {
  --nav-height: 80px;
}

/* ---- Frame ---------------------------------------------------------- */
body { color: var(--color-ink-2); }
h1, h2, h3 { color: var(--color-ink); }
h3 { font-weight: 500; }
.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); border-radius: var(--radius-input); background: var(--color-ink); color: var(--color-paper); }
.skip:focus-visible { top: var(--space-md); }
.fill { padding: 0 0.25em; border: 1px dashed color-mix(in oklch, var(--color-muted) 70%, transparent); border-radius: 3px; color: var(--color-muted); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
a { text-decoration-color: var(--color-rule-2); text-underline-offset: 0.2em; transition: text-decoration-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
a:hover { text-decoration-color: var(--color-accent); }
a:active { color: var(--color-accent); }

/* ---- Nav: the logo and two links at opposite edges ------------------- */
.nav { position: relative; z-index: var(--z-raised); }
.nav__row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); min-height: var(--nav-height); }
.nav__home { display: inline-flex; border-radius: var(--radius-input); }
.nav__home img { width: auto; height: 32px; }
.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; font: 500 var(--text-sm)/1 var(--font-display); color: var(--color-ink); text-decoration: none; white-space: nowrap; }
.nav__links a:hover { text-decoration: underline; text-decoration-color: var(--color-accent); }
.nav__links a[aria-current="page"] { color: var(--color-accent); }

/* ---- Hero: the field, full-bleed, the head resting low-left ---------- */
.hero { position: relative; display: grid; grid-template-rows: auto 1fr; min-height: 100dvh; isolation: isolate; }
.field { position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(circle at 50% 50%, var(--color-glyph-1) 1px, transparent 1.5px); background-size: var(--cell-w) var(--cell-h); }
.field canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.js .field.is-live { background-image: none; }
.hero__body { display: grid; align-content: end; padding-bottom: var(--space-3xl); }
.hero__text { display: grid; gap: var(--space-lg); max-width: 46rem; }
.hero h1 { max-width: 13ch; font-size: clamp(3rem, 6vw, 5.75rem); line-height: 1; }
.hero .lead { max-width: 36ch; color: var(--color-ink-2); }
.hero__toggle { position: absolute; right: var(--gutter); bottom: var(--space-xl); }
html:not(.js) .hero__toggle { display: none; }

/* Keys: one quiet control on the page */
.key { display: inline-flex; align-items: center; gap: var(--space-xs); min-height: 44px; padding: 0 var(--space-md); 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-sm)/1 var(--font-display); white-space: nowrap; cursor: pointer; 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:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.key:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

/* ---- Sections -------------------------------------------------------- */
.section { padding-block: var(--section-gap) 0; }
.section--l { padding-top: var(--section-gap-l); }
.head { display: grid; gap: var(--space-md); align-content: start; }

/* What the studio makes: the graphite band, a head on columns 1 to 4 beside rows on 5 to 12 */
.band { padding-block: var(--section-gap-s); background: var(--color-graphite); color: var(--color-graphite-ink); }
.band h2, .band h3 { color: var(--color-graphite-ink); }
.practice { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-2xl) var(--gap-columns); }
.practice .head { grid-column: 1 / span 4; position: sticky; top: var(--space-2xl); align-self: start; }
.practice h2 { max-width: 12ch; }
.rows { grid-column: 5 / -1; margin: 0; padding: 0; list-style: none; border-top: var(--rule-hair) solid var(--color-graphite-glyph-2); }
.rows > li { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap-columns); align-items: baseline; padding-block: var(--space-xl); border-bottom: var(--rule-hair) solid var(--color-graphite-2); }
.rows h3 { font-size: var(--text-title); }
.rows p { color: var(--color-graphite-muted); }




/* ---- Footer: one closing line, the links beneath --------------------- */
.footer { padding-block: var(--space-2xl); }
.doc + .footer { margin-top: var(--section-gap-s); border-top: var(--rule-hair) solid var(--color-rule); }
.footer__base { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-lg); }
.footer__base img { width: auto; height: 28px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 0 var(--space-lg); margin: 0; padding: 0; list-style: none; font-size: var(--text-sm); }
.footer__links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--color-ink-2); white-space: nowrap; }
.footer small { font-size: var(--text-sm); color: var(--color-muted); }

/* ---- Documents: privacy and terms ----------------------------------- */
.doc { padding-block: var(--space-3xl) 0; }
.doc__head { display: grid; gap: var(--space-md); padding-bottom: var(--space-2xl); border-bottom: var(--rule-hair) solid var(--color-rule-2); }
.doc__head h1 { font-size: var(--text-display-s); max-width: 18ch; }
.doc__body { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 var(--gap-columns); padding-top: var(--space-lg); }
.doc__body > * { grid-column: 1 / -1; }
.doc__body section { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-md) var(--gap-columns); padding-block: var(--space-xl); border-bottom: var(--rule-hair) solid var(--color-rule); }
.doc__body section > h2 { grid-column: 1 / span 4; }
.doc__text { grid-column: 5 / -1; display: grid; gap: var(--space-md); }
.doc__body .doc__date { grid-column: 5 / -1; padding-top: var(--space-lg); }
.doc__body h2 { font-size: var(--text-xl); font-weight: 500; line-height: 1.2; }
.doc__body p, .doc__body li { max-width: 68ch; line-height: 1.7; }
.doc__body ul { margin: 0; padding-left: var(--space-lg); display: grid; gap: var(--space-xs); }
.doc__body .lead { color: var(--color-ink); max-width: 56ch; }

/* ---- Responsive ------------------------------------------------------ */
@media (max-width: 60rem) {
  .practice .head, .rows { grid-column: 1 / -1; }
  .practice .head { position: static; }
  .practice h2 { max-width: 16ch; }
  .doc__body section > h2, .doc__text, .doc__body .doc__date { grid-column: 1 / -1; }
  .hero__toggle { bottom: var(--space-md); }
}
@media (max-width: 40rem) {
  .nav__home img { height: 26px; }
  .nav__links { gap: var(--space-md); }
  .rows > li { grid-template-columns: minmax(0, 1fr); gap: var(--space-xs); padding-block: var(--space-lg); }
  .hero__body { padding-bottom: var(--space-3xl); }
}
@media (prefers-reduced-motion: reduce) {
  .key, a { transition: none; }
}
.doc__date { font-size: var(--text-sm); color: var(--color-muted); }
.hero__body:focus { outline: none; }
