/* =============================================================================
   GLASSES ON THE RUN — Marketing page styles
   =============================================================================
   DEPLOYMENT (KAN-208): ships inside the GOTR fork of the Edition Ghost
   theme (website/edition/) — default.hbs loads it after Edition's own
   styles, followed by edition-overrides.css. No Code Injection paste.
   Fraunces / Karla / Courier Prime are self-hosted (assets/gotr/fonts.css,
   loaded by default.hbs) — no Google Fonts request.

   Interaction JS: assets/gotr/site.js, loaded on every page by default.hbs
   — fade-in, scrollspy for the For Brands wayfinder and the
   Methodology/legal TOC rails, "copy link to this section", the mobile nav
   toggle, and opening the desktop TOC rail.

   KAN-207 design system, v2 (logo-informed palette, Fraunces/Karla/Courier
   Prime type, the boxed-callout component, nav/footer, wayfinder, TOC rail,
   legal clause treatment, newsletter-archive rows) — see
   scripts/ghost/kan207/content/visual-design-spec-v2.md for the full spec
   this file implements. visual-design-spec.md (v1) remains authoritative
   for everything v2 doesn't override (layout structure, breakpoints,
   interaction behaviours).

   LOGO ASSETS: assets/gotr/images/ in the theme (originals and favicon
   set in scripts/ghost/assets/). The header/footer <img> tags live in
   partials/gotr-header.hbs and gotr-footer.hbs.
   ============================================================================= */


/* ── Design tokens ───────────────────────────────────────────────────────── */
:root {
  /* Neutrals — new warm base, not derived from either logo colour (spec §2) */
  --gotr-paper:           #FBF6EF;
  --gotr-ink:             #2B2420;
  --gotr-ink-secondary:   #6B5C58;
  --gotr-hairline:        #E9DCD0;
  --gotr-surface-neutral: #F3EAE0; /* footer bg, table header-row bg, mobile nav panel */
  --gotr-surface-callout: #FBEEE3; /* the one bounded background use of logo peach — callout only */

  /* Logo-derived accents (spec §2) */
  /* "Confident Mauve" — chosen 2026-09-13 from a 5-option liveliness
     exploration (kan207/artifact/accent-options.html). Same hue family as
     the logo's own mauve, turned up in saturation/depth; contrast against
     paper is 7.75:1 (still comfortably AAA), so one shade now covers both
     the "for reading" and "true logo" roles the two-token split used to
     separate — deliberately simplified, not an oversight. */
  --gotr-accent:       #82305A;
  --gotr-accent-logo:  #82305A;
  --gotr-accent-hover: #5E1F40;
  --gotr-peach:        #F99978; /* true, unaltered logo peach — never used as text colour */

  --gotr-font-heading: 'Fraunces', Georgia, 'Times New Roman', serif;
  --gotr-font-sans:    'Karla', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --gotr-font-mono:    'Courier Prime', 'Courier New', Courier, monospace;

  /* Default spacing rhythm (spec §4.1 — a default, not a closed law) */
  --gotr-sp-1:  4px;
  --gotr-sp-2:  8px;
  --gotr-sp-3:  12px;
  --gotr-sp-4:  16px;
  --gotr-sp-5:  24px;
  --gotr-sp-6:  32px;
  --gotr-sp-7:  48px;
  --gotr-sp-8:  64px;
  --gotr-sp-9:  96px;
  --gotr-sp-10: 128px;

  --gotr-header-h: 72px;
  --gotr-container-max: 1120px;
}

@media (max-width: 1023px) {
  :root { --gotr-header-h: 60px; }
}

/* ── Base / reset ────────────────────────────────────────────────────────── */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--gotr-paper);
  color: var(--gotr-ink);
  font-family: var(--gotr-font-sans);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--gotr-font-heading); font-weight: 600; color: var(--gotr-ink); text-wrap: balance; }
h1 { font-size: 2.75rem; line-height: 1.15; margin: 0 0 var(--gotr-sp-5); }
h2 { font-size: 1.75rem; line-height: 1.25; margin: 0 0 var(--gotr-sp-4); }
h3 { font-size: 1.25rem; line-height: 1.35; font-weight: 500; margin: 0 0 var(--gotr-sp-3); }
p  { font-size: 1.0625rem; line-height: 1.65; margin: 0 0 var(--gotr-sp-4); }

@media (max-width: 639px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.125rem; }
  p  { font-size: 1rem; }
}

a { color: inherit; }

ul, ol { margin: 0 0 var(--gotr-sp-4); padding-left: var(--gotr-sp-5); }
li { margin-bottom: var(--gotr-sp-2); line-height: 1.65; }

a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--gotr-accent);
  outline-offset: 2px;
}

.gotr-sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.gotr-skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--gotr-accent); color: var(--gotr-paper);
  padding: var(--gotr-sp-3) var(--gotr-sp-4); font-size: 0.875rem;
}
.gotr-skip-link:focus { left: var(--gotr-sp-3); top: var(--gotr-sp-3); }

/* ── Layout primitives ───────────────────────────────────────────────────── */
.gotr-container {
  max-width: var(--gotr-container-max);
  margin: 0 auto;
  padding: 0 var(--gotr-sp-5);
}
@media (min-width: 1024px) {
  .gotr-container { padding: 0 var(--gotr-sp-7); }
}

.gotr-col { max-width: 680px; margin: 0 auto; }

.gotr-section { padding: var(--gotr-sp-7) 0; }
@media (min-width: 1024px) {
  .gotr-section { padding: var(--gotr-sp-8) 0; }
}
.gotr-section--first { padding-top: var(--gotr-sp-8); }
@media (min-width: 1024px) {
  .gotr-section--first { padding-top: var(--gotr-sp-9); }
}

/* ── Links & buttons ─────────────────────────────────────────────────────── */
.gotr-link {
  color: var(--gotr-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.gotr-link:hover { color: var(--gotr-accent-hover); }

.gotr-link--muted {
  display: inline-block;
  margin-top: var(--gotr-sp-3);
  font-size: 0.875rem;
  color: var(--gotr-ink-secondary);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.gotr-link--muted:hover { color: var(--gotr-accent); }

.gotr-btn {
  display: inline-block;
  background: var(--gotr-accent);
  color: var(--gotr-paper);
  border-radius: 2px;
  padding: 14px 28px;
  font-family: var(--gotr-font-sans);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background-color 0.15s ease, box-shadow 0.15s ease;
}
/* Subtle peach hover-glow (spec §2 — peach's one hover job: "a subtle
   hover-glow tint on buttons"), alongside the existing darker fill swap. */
.gotr-btn:hover, .gotr-btn:focus-visible {
  background: var(--gotr-accent-hover);
  color: var(--gotr-paper);
  box-shadow: 0 0 0 4px rgba(249, 153, 120, 0.22);
}

.gotr-cta-row { margin-top: var(--gotr-sp-5); }

/* ── Numeral rule (spec §4.5 — cut to one case) ──────────────────────────── */
/* Spelled-out number-words (e.g. "ten" in "ten stores") get NO special
   treatment now — plain running text. v1's weight-bump span/class is
   retired; do not reintroduce a .gotr-fact-word rule. */

/* Actual digit-numeral (table cells, EUR figures, hybrid "(24)"
   parentheticals, clause numbers, dates) — monospace, tabular figures,
   same colour as body text. Typewriter face (Courier Prime), not a coder's
   monospace — see spec §3. */
.gotr-fact-num {
  font-family: var(--gotr-font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 400;
  color: inherit;
}

/* ── Status-line component (Home, For Researchers, About, For Brands, For Investors) ── */
.gotr-status-line {
  max-width: 680px;
  margin: var(--gotr-sp-6) auto;
  padding: var(--gotr-sp-4) 0;
  border-top: 1px solid var(--gotr-hairline);
  border-bottom: 1px solid var(--gotr-hairline);
  text-align: center;
  color: var(--gotr-ink-secondary);
  font-family: var(--gotr-font-heading);
  font-weight: 500;
  font-size: 0.8125rem;
  line-height: 1.4;
}

/* ── Boxed-callout component — the site's one signature device ─────────── */
.gotr-callout {
  background: var(--gotr-surface-callout);
  border-left: 3px solid var(--gotr-accent-logo);
  border-radius: 6px;
  padding: var(--gotr-sp-5) var(--gotr-sp-6);
  margin: var(--gotr-sp-6) 0;
}
@media (max-width: 639px) {
  .gotr-callout { padding: var(--gotr-sp-5); }
}
.gotr-callout__heading { margin-bottom: var(--gotr-sp-3); }
.gotr-callout p:last-child { margin-bottom: 0; }
.gotr-callout .gotr-btn { margin-top: var(--gotr-sp-2); }

/* ── Motion — exactly three behaviours site-wide (spec §5, unchanged) ───── */
/* 1. scroll-behavior: smooth (above). 2. scrollspy colour/weight swap
   (defined per-component below). 3. one fade-in on each page's first
   content block only — footer JS adds .js-animations + .in. */
.js-animations .gotr-fade {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.js-animations .gotr-fade.in { opacity: 1; transform: none; }

/* ── Header / navigation ─────────────────────────────────────────────────── */
.gotr-header {
  position: static;
  background: var(--gotr-paper);
  border-bottom: 1px solid var(--gotr-hairline);
}
.gotr-header__inner {
  max-width: var(--gotr-container-max);
  margin: 0 auto;
  padding: 0 var(--gotr-sp-5);
  height: var(--gotr-header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
@media (min-width: 1024px) {
  .gotr-header__inner { padding: 0 var(--gotr-sp-7); }
}

/* Wordmark: the real hand-drawn lockup image, not plain-set type (spec §1, §6).
   Sized to the site's existing three breakpoints (mobile <640 / tablet
   640–1023 / desktop ≥1024), the closest one-to-one mapping onto spec §1's
   28px/32px/40px trio — v2's own table describes those heights against a
   768px split that doesn't exist anywhere else in this system, so this
   build maps them onto the real breakpoints v2 §5 explicitly keeps
   unchanged, rather than introducing a fourth, one-off breakpoint. */
.gotr-wordmark {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.gotr-wordmark img {
  display: block;
  height: 28px;
  width: auto;
  /* Spec §4.1's one licensed off-grid exception: the mark itself may sit
     very slightly off perfectly horizontal. Nothing else on the site does this. */
  transform: rotate(-1deg);
}
@media (min-width: 640px) {
  .gotr-wordmark img { height: 32px; }
}
@media (min-width: 1024px) {
  .gotr-wordmark img { height: 40px; }
}

.gotr-nav-primary { display: none; }
.gotr-nav-secondary-wrap { display: none; }

@media (min-width: 1024px) {
  .gotr-nav-primary {
    display: flex;
    align-items: center;
    gap: var(--gotr-sp-6);
    margin-left: var(--gotr-sp-7);
    margin-right: auto;
  }
  .gotr-nav-link {
    font-size: 0.9375rem;
    font-weight: 400;
    color: var(--gotr-ink);
    text-decoration: none;
    padding-bottom: 6px;
    border-bottom: 2px solid transparent;
  }
  .gotr-nav-link.is-current {
    font-weight: 600;
    border-bottom-color: var(--gotr-accent-logo);
  }

  .gotr-nav-secondary-wrap { display: flex; align-items: center; }
  .gotr-nav-divider {
    width: 1px; height: 20px; background: var(--gotr-hairline);
    margin: 0 var(--gotr-sp-5);
  }
  .gotr-nav-secondary { display: flex; align-items: center; gap: var(--gotr-sp-5); }
  .gotr-nav-link-secondary {
    font-family: var(--gotr-font-heading);
    font-weight: 500;
    font-size: 0.8125rem;
    color: var(--gotr-ink-secondary);
    text-decoration: none;
    padding-bottom: 6px;
    border-bottom: 1px solid transparent;
  }
  .gotr-nav-link-secondary.is-current { border-bottom-color: var(--gotr-ink-secondary); }
}

.gotr-mobile-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  background: transparent; border: none; cursor: pointer; padding: 0;
}
@media (min-width: 1024px) { .gotr-mobile-toggle { display: none; } }

.gotr-hamburger, .gotr-hamburger::before, .gotr-hamburger::after {
  display: block; width: 22px; height: 1.5px; background: var(--gotr-ink);
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.gotr-hamburger { position: relative; }
.gotr-hamburger::before, .gotr-hamburger::after { content: ''; position: absolute; left: 0; }
.gotr-hamburger::before { top: -7px; }
.gotr-hamburger::after  { top: 7px; }
.gotr-mobile-toggle[aria-expanded="true"] .gotr-hamburger { background: transparent; }
.gotr-mobile-toggle[aria-expanded="true"] .gotr-hamburger::before { transform: translateY(7px) rotate(45deg); }
.gotr-mobile-toggle[aria-expanded="true"] .gotr-hamburger::after  { transform: translateY(-7px) rotate(-45deg); }

.gotr-mobile-panel {
  background: var(--gotr-surface-neutral);
  border-bottom: 1px solid var(--gotr-hairline);
  padding: var(--gotr-sp-5);
}
.gotr-mobile-panel[hidden] { display: none; }
@media (min-width: 1024px) { .gotr-mobile-panel { display: none !important; } }
.gotr-mobile-panel nav { display: flex; flex-direction: column; }
.gotr-mobile-panel .gotr-nav-primary-m a {
  display: block; font-size: 1.125rem; font-weight: 400; color: var(--gotr-ink);
  text-decoration: none; padding: 10px 0;
}
.gotr-mobile-panel .gotr-nav-primary-m a.is-current { font-weight: 600; color: var(--gotr-accent-logo); }
.gotr-mobile-panel .gotr-nav-primary-m { display: flex; flex-direction: column; }
.gotr-mobile-divider { border: none; border-top: 1px solid var(--gotr-hairline); margin: var(--gotr-sp-3) 0; }
.gotr-mobile-panel .gotr-nav-secondary-m a {
  display: block; font-family: var(--gotr-font-heading); font-weight: 500;
  font-size: 0.875rem; color: var(--gotr-ink-secondary);
  text-decoration: none; padding: 8px 0;
}

/* ── Footer ───────────────────────────────────────────────────────────────── */
.gotr-footer {
  background: var(--gotr-surface-neutral);
  border-top: 1px solid var(--gotr-hairline);
  padding: var(--gotr-sp-8) 0 0;
}
.gotr-footer__inner {
  max-width: var(--gotr-container-max);
  margin: 0 auto;
  padding: 0 var(--gotr-sp-5);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gotr-sp-6);
}
@media (min-width: 1024px) {
  .gotr-footer__inner {
    padding: 0 var(--gotr-sp-7);
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: var(--gotr-sp-6);
  }
}
/* Footer identity mark: monochrome logo lockup image (spec §1, §6) — kept
   at true horizontal (no rotation license here; §4.1 names the header and
   Home's signature moment specifically, not the footer). */
.gotr-footer__wordmark { display: block; margin-bottom: var(--gotr-sp-3); }
.gotr-footer__wordmark img { display: block; height: 24px; width: auto; }
.gotr-footer__legal-line { font-size: 0.8125rem; color: var(--gotr-ink-secondary); margin: 0; }
.gotr-footer__heading {
  font-size: 0.8125rem; font-weight: 600; color: var(--gotr-ink-secondary);
  margin: 0 0 var(--gotr-sp-3);
}
.gotr-footer__col a {
  display: block; font-size: 0.8125rem; color: var(--gotr-ink-secondary);
  text-decoration: none; line-height: 1.8;
}
.gotr-footer__col a:hover { color: var(--gotr-accent); }
.gotr-footer__bottom {
  margin-top: var(--gotr-sp-7);
  border-top: 1px solid var(--gotr-hairline);
  padding: var(--gotr-sp-5) var(--gotr-sp-5);
  text-align: center;
}
@media (min-width: 1024px) { .gotr-footer__bottom { padding: var(--gotr-sp-5) var(--gotr-sp-7); } }
.gotr-footer__bottom p { font-size: 0.75rem; color: var(--gotr-ink-secondary); margin: 0; }

/* ── Home: role-router grid ──────────────────────────────────────────────── */
.gotr-role-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gotr-sp-5);
  margin-top: var(--gotr-sp-6);
}
@media (min-width: 768px) {
  .gotr-role-grid { grid-template-columns: 1fr 1fr; }
}
.gotr-role-card {
  border: 1px solid var(--gotr-hairline);
  border-radius: 2px;
  padding: var(--gotr-sp-6);
  display: flex;
  flex-direction: column;
}
.gotr-role-card h3 { margin-bottom: var(--gotr-sp-2); }
.gotr-role-card p { margin-bottom: 0; flex-grow: 1; }
.gotr-role-card__link {
  display: inline-flex; align-items: center; gap: var(--gotr-sp-1);
  margin-top: var(--gotr-sp-4);
  color: var(--gotr-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  align-self: flex-start;
}
.gotr-role-card__link:hover { color: var(--gotr-accent-hover); }

/* ── Home: signature logo moment beside the opening statement (spec §7) ─── */
.gotr-home-intro {
  display: flex;
  align-items: center;
  gap: var(--gotr-sp-6);
  flex-wrap: wrap;
}
.gotr-home-intro__text { flex: 1 1 420px; min-width: 0; margin: 0; }
.gotr-home-intro__mark {
  flex: 0 0 auto;
  height: 88px;
  width: auto;
  /* Same off-grid licence as the header mark (spec §4.1) — a different,
     independent tilt so the two appearances don't read as copy-pasted. */
  transform: rotate(1.5deg);
}
@media (max-width: 639px) {
  .gotr-home-intro { flex-direction: column; align-items: flex-start; }
  .gotr-home-intro__mark { height: 64px; }
}

/* ── Dashboard screenshot (For Stores only) ──────────────────────────────
   A real, sanitised screenshot from one of the current test Shopify
   stores — not a placeholder. Frame is deliberately light (hairline
   border, no shadow, same 6px radius as the boxed-callout) rather than
   a heavy "featured image" treatment, consistent with the rest of the
   site's restraint. Width is fluid; height follows the image's own
   natural aspect ratio via the <img> width/height attributes rather
   than a forced aspect-ratio box. ── */
.gotr-dashboard-shot { margin: var(--gotr-sp-6) 0 0; }
.gotr-dashboard-shot img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--gotr-hairline);
  border-radius: 6px;
}

/* ── For Brands wayfinder ────────────────────────────────────────────────── */
.gotr-wayfinder-region { position: relative; }
.gotr-wayfinder {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--gotr-paper);
  border-bottom: 1px solid var(--gotr-hairline);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--gotr-sp-7);
  padding: var(--gotr-sp-4) var(--gotr-sp-5);
}
.gotr-wayfinder__item {
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--gotr-ink-secondary);
  text-decoration: none;
  padding-bottom: 6px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.gotr-wayfinder__item.is-active {
  font-weight: 600;
  color: var(--gotr-ink);
  border-bottom-color: var(--gotr-accent-logo);
}

/* ── Heading + "copy link to this section" affordance ───────────────────── */
.gotr-heading-link { display: flex; align-items: baseline; gap: var(--gotr-sp-2); }
.gotr-copylink {
  display: inline-flex; align-items: center; gap: 4px;
  background: none; border: none; cursor: pointer; padding: 0;
  color: var(--gotr-ink-secondary);
  font-family: var(--gotr-font-sans);
  font-size: 0.8125rem;
  opacity: 0;
  transition: opacity 0.15s ease;
}
.gotr-copylink svg { width: 16px; height: 16px; flex-shrink: 0; }
.gotr-copylink.is-copied { color: var(--gotr-accent); }
.gotr-heading-link:hover .gotr-copylink,
.gotr-copylink:focus-visible { opacity: 1; }
@media (hover: none) {
  .gotr-copylink { opacity: 0.6; }
}

/* ── Doc layout (Methodology right-rail; legal pages left-rail) ─────────── */
.gotr-doc-layout {
  display: flex;
  flex-direction: column;
  gap: var(--gotr-sp-6);
}
.gotr-doc-content { min-width: 0; }
@media (min-width: 1024px) {
  .gotr-doc-layout { flex-direction: row; align-items: flex-start; justify-content: center; gap: var(--gotr-sp-7); }
  .gotr-doc-rail    { flex: 0 0 240px; order: 2; }
  .gotr-doc-content { flex: 0 0 680px; order: 1; }
  .gotr-doc-layout--rail-left .gotr-doc-rail    { order: 1; }
  .gotr-doc-layout--rail-left .gotr-doc-content { order: 2; }
  .gotr-doc-rail { position: sticky; top: 0; padding-top: var(--gotr-sp-3); }
}
.gotr-doc-rail nav ul { list-style: none; margin: 0; padding: 0; }
.gotr-doc-rail nav li { margin: 0 0 var(--gotr-sp-3); }
.gotr-doc-rail nav a {
  display: block;
  font-size: 0.875rem;
  color: var(--gotr-ink-secondary);
  text-decoration: none;
  line-height: 1.4;
  border-left: 2px solid transparent;
  padding-left: var(--gotr-sp-3);
}
.gotr-doc-rail nav a.is-active { color: var(--gotr-accent-logo); font-weight: 600; border-left-color: var(--gotr-accent-logo); }

/* TOC as a native <details> — collapsed by default (mobile), forced open
   and de-chromed on desktop so it reads as a plain sticky rail. */
.gotr-toc-disclosure > summary {
  cursor: pointer; list-style: none; font-weight: 600; font-size: 0.9375rem;
  padding: var(--gotr-sp-3) 0; border-top: 1px solid var(--gotr-hairline);
  border-bottom: 1px solid var(--gotr-hairline);
}
.gotr-toc-disclosure > summary::-webkit-details-marker { display: none; }
.gotr-toc-disclosure > summary::after { content: '+'; float: right; }
.gotr-toc-disclosure[open] > summary::after { content: '\2013'; }
.gotr-toc-disclosure > nav { padding-top: var(--gotr-sp-4); }
@media (min-width: 1024px) {
  .gotr-toc-disclosure > summary { display: none; }
  .gotr-toc-disclosure > nav { display: block !important; padding-top: 0; }
}

/* ── Legal document pages (Terms of Service / Privacy Policy) ───────────── */
.gotr-legal-body { font-size: 1rem; line-height: 1.7; }
.gotr-legal-body p, .gotr-legal-body li { font-size: 1rem; line-height: 1.7; }
@media (max-width: 639px) {
  .gotr-legal-body p, .gotr-legal-body li { font-size: 0.9375rem; }
}
.gotr-legal-body h2 { margin-top: var(--gotr-sp-8); }
.gotr-legal-body h3 { margin-top: var(--gotr-sp-6); }
.gotr-legal-body section:first-of-type h2 { margin-top: var(--gotr-sp-6); }

/* Date/version stamp — spec §4.4: loses the bordered-pill "official stamp"
   container entirely. Just the date, in Courier Prime (via .gotr-fact-num
   on the digits already in the markup), set inline under the H1, no box. */
.gotr-date-stamp {
  display: block;
  font-size: 0.8125rem;
  color: var(--gotr-ink-secondary);
  margin-bottom: var(--gotr-sp-6);
}

/* Hanging-indent clause numbering */
.gotr-clause {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: var(--gotr-sp-3);
  margin-bottom: var(--gotr-sp-4);
}
@media (max-width: 639px) {
  .gotr-clause { grid-template-columns: 48px 1fr; }
}
.gotr-clause__num {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-family: var(--gotr-font-mono);
  font-size: 0.9375rem;
  color: var(--gotr-ink-secondary);
}
.gotr-clause__body { margin: 0; }
.gotr-clause__body p { margin: 0 0 var(--gotr-sp-3); }
.gotr-clause__body > p:last-child, .gotr-clause__body > ul:last-child, .gotr-clause__body > ol:last-child { margin-bottom: 0; }
.gotr-clause__body ul, .gotr-clause__body ol { margin: var(--gotr-sp-2) 0 var(--gotr-sp-3) var(--gotr-sp-5); }
.gotr-clause .gotr-copylink { opacity: 0; }
@media (hover: none) { .gotr-clause .gotr-copylink { opacity: 0.6; } }
.gotr-clause:hover .gotr-copylink, .gotr-clause .gotr-copylink:focus-visible { opacity: 1; }
.gotr-clause .gotr-copylink svg { width: 13px; height: 13px; }

/* Tables — Shopify-scopes, legal-basis, retention, sub-processor (Privacy Policy) */
.gotr-table-wrap { overflow-x: auto; margin: var(--gotr-sp-5) 0 var(--gotr-sp-6); }
.gotr-table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.gotr-table th, .gotr-table td {
  padding: var(--gotr-sp-3) var(--gotr-sp-4);
  border: 1px solid var(--gotr-hairline);
  text-align: left;
  vertical-align: top;
}
.gotr-table th { background: var(--gotr-surface-neutral); font-weight: 600; }

/* ── Newsletter Archive ──────────────────────────────────────────────────── */
.gotr-archive-framing { color: var(--gotr-ink-secondary); font-size: 0.9375rem; margin-top: calc(var(--gotr-sp-5) * -1 + var(--gotr-sp-3)); }
.gotr-archive-jump { margin: var(--gotr-sp-6) 0; font-size: 0.875rem; color: var(--gotr-ink-secondary); }
.gotr-archive-jump a { color: var(--gotr-accent); text-decoration: underline; text-underline-offset: 3px; }
.gotr-archive-year {
  font-size: 1.25rem;
  color: var(--gotr-ink-secondary);
  margin: var(--gotr-sp-7) 0 var(--gotr-sp-4);
}
.gotr-archive-year .gotr-fact-num { font-size: inherit; }
.gotr-archive-entry {
  display: flex; flex-direction: column;
  gap: var(--gotr-sp-1);
  padding: var(--gotr-sp-4) 0;
  border-bottom: 1px solid var(--gotr-hairline);
}
@media (min-width: 640px) {
  .gotr-archive-entry {
    display: grid;
    grid-template-columns: 120px 1fr auto;
    gap: var(--gotr-sp-4);
    align-items: baseline;
  }
}
.gotr-archive-entry__date {
  font-family: var(--gotr-font-mono);
  color: var(--gotr-ink);
  font-size: 0.9375rem;
}
.gotr-archive-entry__body { grid-column: 2; }
.gotr-archive-entry__title { margin: 0 0 var(--gotr-sp-1); font-size: 1.0625rem; }
.gotr-archive-entry__teaser { margin: 0; font-size: 0.875rem; color: var(--gotr-ink-secondary); line-height: 1.5; }
.gotr-archive-entry__link {
  grid-column: 3;
  font-size: 0.875rem;
  color: var(--gotr-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
  align-self: start;
}
@media (max-width: 639px) {
  .gotr-archive-entry__link { align-self: flex-start; margin-top: var(--gotr-sp-1); }
}

/* ── Contact page ─────────────────────────────────────────────────────────── */
.gotr-contact-wrap {
  min-height: 50vh;
  display: flex;
  align-items: center;
  padding: var(--gotr-sp-9) 0;
}
@media (min-width: 1024px) { .gotr-contact-wrap { padding: var(--gotr-sp-10) 0; } }
.gotr-contact-email {
  display: inline-block;
  margin: var(--gotr-sp-5) 0 var(--gotr-sp-4);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gotr-accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.gotr-contact-email:hover { color: var(--gotr-accent-hover); }

/* ── About: narrative-warmth paragraph, and the audience-links row ──────── */
.gotr-prose--warm p { line-height: 1.75; }
.gotr-audience-row { font-size: 1.0625rem; color: var(--gotr-ink-secondary); }
.gotr-audience-row a { color: var(--gotr-accent); text-decoration: underline; text-underline-offset: 3px; }
.gotr-audience-row .gotr-dot { margin: 0 var(--gotr-sp-3); color: var(--gotr-ink-secondary); }

/* ── Methodology two-column layout ───────────────────────────────────────── */
/* Register per spec §4.3: same layout, no eyebrow labels, no tightened
   "reference document" spacing — standard paragraph spacing throughout,
   same as every other marketing page. Nothing to override here beyond the
   rail's own top-padding reset (unchanged from v1). */
.gotr-doc-rail--methodology nav { padding-top: 0; }

/* ── Responsive tweaks ───────────────────────────────────────────────────── */
@media (max-width: 639px) {
  .gotr-role-card { padding: var(--gotr-sp-5); }
  .gotr-callout { padding: 20px 20px; }
}
