/* Hallmark · shape: Long Document (poster hero, in-article statement, article+sticky-rail) · genre: atmospheric · theme: Kiln (ember) · job: join · draw: australian-granny-dating-adult-ea2f·3d65625e
 * hero: Poster (full-bleed holding photograph, copy anchored bottom-left) · nav: edge wordmark, in-flow accordion on phones · footer: mast, wordmark over links · imagery: one holding photograph, no library photos · signature: the GrannyRooting vs the big apps comparison table · kiln: ember
 * axes: dark/high-contrast-serif/warm · posture: full-palette · contrast: pass · fold: pass · copy: verbatim · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R5 V4 · weakest: S, a granny long-read can read generic; pinned to Australia with the Sydney and Adelaide copy and the GrannyRooting-vs-apps table as the one signature */
/* Hallmark · dismissed 3 · .statement is a display pull-quote with no background or box, not a feature card; the left rule groups the quoted line */
/* Hallmark · dismissed 25 · .statement is a display statement set large, not running prose, so the short measure is intended */
/* Hallmark · copy: verbatim · body, headings and metas are the checked content-v2 copy, unedited; gates 19, 58, 69 and F1 report as notes */
/* Hallmark · sweep: Floor 0 FAIL · Reflex 0 · WARN 2 dismissed (3, 25) · render tier not run (no puppeteer-core); the bulk runner captures real screenshots */

/* ===== Tokens (Kiln ember; fonts swapped to self-hosted Fraunces + Figtree) ===== */
:root {
  color-scheme: dark;
  --space-3xs: 2px; --space-2xs: 4px; --space-xs: 8px; --space-sm: 12px; --space-md: 16px; --space-lg: 24px; --space-xl: 40px; --space-2xl: 64px; --space-3xl: 96px; --space-4xl: 144px;
  --text-xs: 0.8125rem; --text-sm: 0.875rem; --text-md: 1rem; --text-lg: 1.25rem; --text-xl: 1.5625rem; --text-2xl: 1.953rem; --text-3xl: 2.441rem;
  --text-display-s: clamp(2.25rem, 4vw + 0.5rem, 3.75rem); --text-display: clamp(2.5rem, 4.5vw + 1rem, 4.5rem);
  --text-section: clamp(1.8rem, 1.8vw + 0.9rem, 2.6rem); --text-title: clamp(1.25rem, 0.75vw + 0.875rem, 1.625rem); --text-lead: clamp(1.125rem, 0.35vw + 1rem, 1.375rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1); --ease-in: cubic-bezier(0.7, 0, 0.84, 0); --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-micro: 120ms; --dur-short: 220ms; --dur-long: 420ms;
  --color-error: oklch(72% 0.15 27); --color-success: oklch(76% 0.13 150);
  --container: 1440px; --gutter: 64px; --gap-columns: 32px; --section-gap-s: 120px; --section-gap: 144px; --section-gap-l: 176px;
  --z-base: 1; --z-raised: 10; --z-dropdown: 100; --z-sticky: 200; --z-sticky-nav: 300; --z-modal: 400; --z-toast: 500; --z-tooltip: 600;
  --color-paper: oklch(13% 0.012 40); --color-paper-2: oklch(17.5% 0.016 40); --color-paper-3: oklch(22% 0.018 40);
  --color-ink: oklch(94% 0.02 80); --color-ink-2: oklch(84% 0.025 70); --color-muted: oklch(72% 0.03 60);
  --color-rule: oklch(96% 0.01 80 / 0.12);
  --color-accent: oklch(70% 0.2 45); --color-accent-ink: oklch(14% 0.02 40); --color-focus: oklch(76% 0.19 56);
  --heat-2: oklch(40% 0.16 27); --heat-4: oklch(76% 0.19 56); --heat-6: oklch(98% 0.04 95);
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif; --font-body: "Figtree", ui-sans-serif, system-ui, sans-serif;
  --radius-card: 24px; --radius-well: 14px; --radius-pill: 999px; --rule-hair: 1px;
  --shadow-card: 0 50px 90px -30px oklch(8% 0.01 40 / 0.5);
  --shadow-cta: 0 18px 40px -22px oklch(8% 0.01 40 / 0.8);
  --tracking-display: -0.02em; --display-weight: 600;
  --header-h: 76px;
}

/* ===== Self-hosted fonts (Fraunces 600 display, Figtree 400/600 body; latin). Licences in /fonts/. ===== */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/fraunces-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/figtree-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/figtree-latin-600-normal.woff2") format("woff2"); }

/* ===== Base (from Hallmark base.css) ===== */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scrollbar-color: var(--color-muted) var(--color-paper); scroll-padding-top: calc(var(--header-h) + 12px); }
body { margin: 0; background: var(--color-paper); color: var(--color-ink); font-family: var(--font-body); font-size: var(--text-md); line-height: 1.6; -webkit-font-smoothing: antialiased; caret-color: var(--color-accent); }
::selection { background: color-mix(in oklab, var(--color-accent) 35%, transparent); }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.16em; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: var(--display-weight); font-synthesis: none; letter-spacing: var(--tracking-display); line-height: 1.08; overflow-wrap: break-word; min-width: 0; text-wrap: balance; color: var(--color-ink); }
p { margin: 0; text-wrap: pretty; }
img, video { max-width: 100%; height: auto; display: block; }
svg { display: block; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); box-sizing: border-box; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 400; background: var(--color-accent); color: var(--color-accent-ink); padding: var(--space-sm) var(--space-md); font-weight: 600; border-radius: 0 0 var(--radius-well) 0; }
.skip-link:focus { left: 0; top: 0; }

/* ===== Buttons ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs); min-height: 50px; padding: 0 var(--space-lg); border-radius: var(--radius-pill); font-family: var(--font-body); font-weight: 600; font-size: var(--text-md); line-height: 1.1; text-decoration: none; white-space: nowrap; cursor: pointer; border: 0; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out); }
.btn--primary { background: var(--color-accent); color: var(--color-accent-ink); }
.btn--primary:hover { background: color-mix(in oklab, var(--color-accent) 86%, white); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--color-ink); box-shadow: inset 0 0 0 var(--rule-hair) var(--color-rule); }
.btn--ghost:hover { box-shadow: inset 0 0 0 var(--rule-hair) var(--color-ink-2); }
.btn--lg { min-height: 56px; padding: 0 var(--space-xl); font-size: var(--text-lg); }
.btn:active { transform: translateY(0); }
.btn[aria-disabled="true"], .btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ===== Header + nav (in-flow accordion on phones) ===== */
.site-header { position: sticky; top: 0; z-index: var(--z-sticky-nav); background: color-mix(in oklab, var(--color-paper) 92%, transparent); backdrop-filter: blur(8px); border-bottom: var(--rule-hair) solid var(--color-rule); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-md); min-height: var(--header-h); padding-block: var(--space-sm); }
.brand { display: inline-flex; align-items: center; margin-right: auto; color: var(--color-ink); text-decoration: none; }
.brand svg { width: clamp(132px, 30vw, 210px); height: auto; display: block; }
.brandmark .spark { fill: var(--color-accent); }
.brandmark .word { fill: currentColor; }
.mainnav { display: flex; align-items: center; gap: var(--space-lg); }
.mainnav a { color: var(--color-ink-2); text-decoration: none; font-size: var(--text-md); padding: var(--space-2xs) 0; }
.mainnav a:hover { color: var(--color-ink); }
.mainnav a.active { color: var(--color-ink); box-shadow: inset 0 -2px 0 var(--color-accent); }
.header-right { display: flex; align-items: center; gap: var(--space-md); }
.login-link { color: var(--color-ink-2); text-decoration: none; font-weight: 600; }
.login-link:hover { color: var(--color-ink); }
.menu-toggle { display: none; align-items: center; justify-content: center; gap: var(--space-2xs); min-height: 46px; padding: 0 var(--space-md); background: transparent; color: var(--color-ink); border-radius: var(--radius-pill); box-shadow: inset 0 0 0 var(--rule-hair) var(--color-rule); cursor: pointer; font-weight: 600; }

/* ===== Hero (poster) ===== */
.hero { position: relative; display: flex; align-items: flex-end; min-height: min(86svh, 760px); overflow: clip; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: saturate(0.92) contrast(1.04) brightness(0.9); }
.hero-scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, color-mix(in oklab, var(--color-paper) 92%, transparent) 2%, color-mix(in oklab, var(--color-paper) 64%, transparent) 26%, transparent 58%), linear-gradient(to right, color-mix(in oklab, var(--color-paper) 72%, transparent), transparent 56%); }
.hero-inner { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); padding-block: var(--space-3xl) var(--space-2xl); display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-lg); }
.hero-heading { font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: var(--tracking-display); line-height: 1.04; font-size: var(--text-display); color: var(--color-ink); max-width: 18ch; text-wrap: balance; }
.hero-strapline { font-size: var(--text-lead); line-height: 1.45; color: var(--color-ink-2); max-width: 46ch; }
.hero .btn--primary { box-shadow: var(--shadow-cta); }

/* ===== Article + rail ===== */
.article { padding-block: var(--space-3xl) var(--space-2xl); }
.article-grid { max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: var(--space-2xl); align-items: start; }
.seo-content { max-width: 70ch; }
.seo-content > h1 { font-size: clamp(2.1rem, 2.4vw + 1rem, 3.1rem); line-height: 1.1; margin-bottom: var(--space-lg); }
.seo-content > h2 { font-size: var(--text-section); line-height: 1.14; margin-top: 2.4em; margin-bottom: 0.5em; padding-top: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule); }
.seo-content p { color: var(--color-ink-2); font-size: var(--text-lg); line-height: 1.68; margin-bottom: var(--space-lg); max-width: 68ch; }
.seo-content p.lead { color: var(--color-ink); font-size: var(--text-lead); line-height: 1.55; }
.seo-content a:not(.btn) { color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-accent); text-decoration-thickness: 2px; text-underline-offset: 3px; font-weight: 600; }
.seo-content a:not(.btn):hover { text-decoration-color: var(--color-ink); }

/* statement interlude (echo set large; Kiln statement Range) */
.statement { margin: var(--space-2xl) 0; padding-left: var(--space-lg); border-left: 3px solid var(--color-accent); }
.statement p { font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: var(--tracking-display); color: var(--color-ink); font-size: clamp(1.6rem, 1.4vw + 1rem, 2.35rem); line-height: 1.2; max-width: 22ch; margin: 0; }

/* comparison table (the signature) */
.compare { margin: var(--space-xl) 0 var(--space-lg); }
.compare-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare table { width: 100%; border-collapse: collapse; min-width: 560px; }
.compare caption { text-align: left; color: var(--color-muted); font-size: var(--text-sm); margin-bottom: var(--space-sm); }
.compare th, .compare td { text-align: left; padding: var(--space-md); border-bottom: var(--rule-hair) solid var(--color-rule); vertical-align: top; font-size: var(--text-md); line-height: 1.45; }
.compare thead th { color: var(--color-muted); font-weight: 600; font-family: var(--font-body); border-bottom: var(--rule-hair) solid var(--color-ink-2); }
.compare thead th.col-us { color: var(--color-ink); box-shadow: inset 0 -2px 0 var(--color-accent); }
.compare tbody th { color: var(--color-ink); font-weight: 600; font-family: var(--font-body); width: 34%; }
.compare td.col-us { color: var(--color-ink); background: var(--color-paper-2); }
.compare td.col-them { color: var(--color-ink-2); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }

/* ===== Rail ===== */
.page-rail { position: sticky; top: calc(var(--header-h) + var(--space-lg)); display: grid; gap: var(--space-lg); }
.rail-quote { background: var(--color-paper-2); border: var(--rule-hair) solid var(--color-rule); border-top: 3px solid var(--color-accent); border-radius: var(--radius-well); padding: var(--space-lg); }
.rail-quote p { margin: 0; font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: var(--tracking-display); color: var(--color-ink); font-size: var(--text-title); line-height: 1.24; }
.rail-join { display: grid; gap: var(--space-sm); }
.rail-join .btn--primary { width: 100%; }
.rail-login { margin: 0; font-size: var(--text-md); color: var(--color-ink-2); }
.rail-login a { color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-accent); text-decoration-thickness: 2px; text-underline-offset: 3px; font-weight: 600; }

/* ===== Closing CTA ===== */
.endcta { border-top: var(--rule-hair) solid var(--color-rule); }
.endcta .container { padding-block: var(--space-2xl); display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-lg); }
.endcta .btn { flex: 0 0 auto; }

/* ===== Footer ===== */
.site-footer { background: var(--color-paper-2); color: var(--color-ink); border-top: var(--rule-hair) solid var(--color-rule); }
.site-footer .container { padding-block: var(--space-2xl) var(--space-xl); }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-xl); }
.footer-brand svg { width: 200px; height: auto; color: var(--color-ink); }
.footer-nav { display: flex; flex-wrap: wrap; gap: var(--space-2xl); }
.footer-col { display: grid; gap: var(--space-sm); align-content: start; }
.footer-col .col-head { color: var(--color-muted); font-size: var(--text-sm); }
.footer-col a { color: var(--color-ink-2); text-decoration: none; font-size: var(--text-md); }
.footer-col a:hover { color: var(--color-ink); text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { margin-top: var(--space-xl); padding-top: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule); color: var(--color-muted); font-size: var(--text-sm); }

/* ===== Cookie banner (geo-gated by JS; hidden at rest) ===== */
.cookie { position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-toast); display: none; background: var(--color-paper-2); border-top: var(--rule-hair) solid var(--color-rule); }
.cookie.is-visible { display: block; }
.cookie-inner { max-width: var(--container); margin-inline: auto; padding: var(--space-sm) var(--gutter); display: flex; align-items: center; justify-content: center; gap: var(--space-md); flex-wrap: wrap; }
.cookie p { margin: 0; color: var(--color-ink-2); font-size: var(--text-sm); }
.cookie a { color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-accent); text-underline-offset: 3px; }
.cookie .btn { min-height: 44px; }

/* ===== 404 ===== */
.notfound { padding-block: var(--space-4xl); text-align: center; }
.notfound h1 { font-size: var(--text-display-s); margin-bottom: var(--space-md); }
.notfound p { color: var(--color-ink-2); font-size: var(--text-lg); max-width: 48ch; margin: 0 auto var(--space-xl); }
.notfound .nf-links { display: flex; flex-wrap: wrap; gap: var(--space-md); justify-content: center; }

/* ===== Responsive ===== */
@media (max-width: 60rem) {
  :root { --gutter: 24px; }
  .article-grid { grid-template-columns: 1fr; gap: var(--space-xl); }
  .seo-content { max-width: 72ch; }
  .page-rail { position: static; max-width: 70ch; }
}
@media (max-width: 48rem) {
  .menu-toggle { display: inline-flex; order: 3; }
  .mainnav { order: 4; flex-basis: 100%; display: none; flex-direction: column; align-items: stretch; gap: 0; padding-top: var(--space-xs); border-top: var(--rule-hair) solid var(--color-rule); margin-top: var(--space-xs); }
  .mainnav.open { display: flex; }
  .mainnav a { padding: var(--space-sm) 0; border-bottom: var(--rule-hair) solid var(--color-rule); }
  .mainnav a.active { color: var(--color-ink); box-shadow: inset 0 -2px 0 var(--color-accent); }
  .login-link { display: none; }
  .brand svg { width: clamp(110px, 33vw, 240px); }
  /* keep logo + Join Now + Menu on one row at 360-414 */
  .header-inner { column-gap: var(--space-xs); }
  .header-right { gap: var(--space-xs); flex-shrink: 0; }
  .header-right .btn { min-height: 44px; padding: 0 var(--space-md); }
  .menu-toggle { min-height: 44px; padding: 0 var(--space-sm); }
  .hero { min-height: calc(100svh - var(--header-h)); }
  .hero-inner { padding-block: var(--space-lg) calc(var(--space-3xl) + var(--space-xl) + env(safe-area-inset-bottom)); gap: var(--space-md); }
  .hero .btn--primary { width: 100%; }
  .article { padding-block: var(--space-2xl); }
  .seo-content p { font-size: var(--text-md); }
  .seo-content p.lead { font-size: var(--text-lg); }
  .footer-nav { gap: var(--space-xl); }
}
@media (max-width: 40rem) {
  :root { --gutter: 16px; }
  .cookie-inner { justify-content: space-between; gap: var(--space-sm); }
}
@media (prefers-reduced-motion: reduce) {
  *:not(.keep-motion), *:not(.keep-motion)::before, *:not(.keep-motion)::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* hero focus (bulk runner v15) */
@media (min-width: 768px) {
  picture img { object-position: 52% 9% !important; }
}
@media (max-width: 767px) {
  picture img { object-position: 50% 50% !important; }
}
