/* Hallmark · v2.0.0 · custom (Simple Flow brand: warm paper, ink, black and white with frosted glass, Geist) · genre editorial · shape: offer page, the action in the hero and after every proof · signature: real screenshots of sites we built, beside Google's own speed score
   critique: proof is shown as real captures (demo sites, Lighthouse, the lead email and text), never drawn; black and white with frosted glass; numbers only where a source or our own test backs them
   answered: 44b hero fits 1280x800; 58 hero text is the headline, one sentence and the actions */
/* Hallmark · waive 38iii · accent line · the second line is a whole line set on its own row, the brand's one signal, used once in the hero */
/* Shared styles for the Simple Flow landing page and its guide pages: tokens, base, header, buttons, section headings and footer. Landing-only styles live in landing.css. */
@font-face {
  font-family: Geist;
  src: url("assets/geist.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --color-page: #f5f4f0;
  --color-surface: #fffefc;
  --color-surface-soft: #eeece6;
  --color-ink: #141416;
  --color-ink-soft: #55565c;
  --color-line: #e0ddd5;
  --color-brand: #141416;
  --color-brand-deep: #000000;
  --color-brand-soft: #ecebe7;
  --color-good: #17804a;
  --color-good-soft: #e3f4ea;
  --color-bad: #b4321f;
  --color-bad-soft: #fbe6e1;
  --color-button-hover: #2c2c30;
  --color-shadow: rgb(20 20 22 / .08);
  --color-glass: rgb(255 255 255 / .72);
  --color-glass-edge: rgb(255 255 255 / .8);
  --color-button-shadow: rgb(20 20 22 / .6);
  --color-on-dark-soft: rgb(255 255 255 / .72);
  --color-on-dark-faint: rgb(255 255 255 / .12);
  --color-on-dark-veil: rgb(255 255 255 / .07);
  --color-on-brand-soft: rgb(255 255 255 / .9);
  --color-brand-light: #c9c9ce;
  --color-brand-bright: #3a3a40;
  --color-stars: #f5a524;
  --font-body: Geist, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --page-width: 1200px;
  --reading-width: 720px;
  --radius-card: 20px;
  --radius-inner: 12px;
  --space-section: clamp(4.5rem, 9vw, 8rem);
  --shadow-soft: 0 1px 2px var(--color-shadow), 0 18px 40px -18px rgb(20 20 22 / .22);
  font-family: var(--font-body);
  color: var(--color-ink);
  background: var(--color-page);
  font-synthesis: none;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

html, body { overflow-x: clip; }
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, h4, p, figure, ol, ul, dl, dd, blockquote { margin: 0; }
ol, ul { padding: 0; }
body { font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { line-height: 1.08; font-weight: 600; letter-spacing: -.035em; text-wrap: balance; overflow-wrap: break-word; min-width: 0; }
p, li, dd { text-wrap: pretty; }
a { color: inherit; }
img, video { display: block; max-width: 100%; height: auto; }
strong { font-weight: 600; }
:focus-visible { outline: 2px solid var(--color-brand); outline-offset: 4px; border-radius: 6px; }

.wrap { width: min(calc(100% - 2.5rem), var(--page-width)); margin-inline: auto; }
.section { padding-block: var(--space-section); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.skip-link {
  position: fixed; z-index: 20; top: .75rem; left: .75rem;
  padding: .6rem 1rem; border-radius: 999px;
  background: var(--color-surface); color: var(--color-ink);
  transform: translateY(-200%);
}
.skip-link:focus-visible { transform: translateY(0); }

/* Header */
.site-header {
  position: sticky; z-index: 10; top: 0;
  background: color-mix(in srgb, var(--color-page) 86%, transparent);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid color-mix(in srgb, var(--color-line) 70%, transparent);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 4.25rem; }
.wordmark { font-size: 1.15rem; font-weight: 650; letter-spacing: -.03em; text-decoration: none; }
.site-nav { display: flex; gap: 1.75rem; font-size: .95rem; color: var(--color-ink-soft); }
.site-nav a { text-decoration: none; transition: color .15s ease; }
.site-nav a:hover { color: var(--color-ink); }

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 3.25rem; padding: .85rem 1.6rem; border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.button:active { transform: translateY(1px); }
.button-dark { background: var(--color-ink); color: var(--color-surface); box-shadow: 0 10px 24px -12px var(--color-button-shadow); }
.button-dark:hover { background: var(--color-button-hover); }
.button-small { min-height: 2.6rem; padding: .55rem 1.15rem; font-size: .92rem; }
.text-link { font-weight: 600; text-decoration: underline; text-decoration-color: var(--color-line); text-underline-offset: .3em; text-decoration-thickness: 2px; transition: text-decoration-color .15s ease; }
.text-link:hover { text-decoration-color: var(--color-brand); }

/* Section headings */
.section-heading { max-width: 46rem; margin-bottom: clamp(2.25rem, 4vw, 3.5rem); }
.section-heading h2 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); }
.section-heading p { margin-top: 1rem; font-size: 1.15rem; color: var(--color-ink-soft); }
.source-note { font-size: .85rem; color: var(--color-ink-soft); }
.source-note a { text-underline-offset: .2em; }

/* Footer */
.site-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; padding-block: 2.5rem 3rem; font-size: .92rem; color: var(--color-ink-soft); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.site-footer a { text-underline-offset: .2em; }
.site-footer .wordmark { color: var(--color-ink); }

/* Reveal: content is visible without scripts; the script only adds the starting state */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}


@media (max-width: 900px) {
  .site-nav { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { width: min(calc(100% - 2rem), var(--page-width)); }
  .header-inner .button-small { padding-inline: .9rem; }
}
