/* ============================================================
   Alloro template-ready design system — custom-styles-v2.css
   Deduplicated dump of the CSS that Tailwind (Play CDN) cannot
   express losslessly: brand tokens, color-mix, fluid clamp()
   typography/spacing, gradient-blur decor, pseudo-element art,
   keyframe animation, stateful hovers, and the responsive
   table -> card transform. Tailwind utilities (preflight off)
   supply layout/buttons on top in the section markup.
   Source of truth: backup/index.html original <style> block.
   ============================================================ */

/* ============================================================
   TOKENS — sourced from the Alloro app (frontend/src/index.css)
   ============================================================ */
:root {
  color-scheme: light;

  /* Brand — terracotta is the committed identity color. */
  --terracotta: #d66853; /* exact brand orange (alloro-orange / pm-accent) */
  --terracotta-bright: #e07a66; /* app accent-hover */
  --terracotta-deep: #c0543a; /* hover for fills that carry white text */
  --terracotta-text: #b1462c; /* small links/labels on light (AA 4.5:1) */
  --amber: #d9a441; /* secondary accent */
  --green: #4f8a5b; /* positive deltas (di-ranking) */

  /* Warm neutrals (light) */
  --ink: #171615; /* primary text + dark-band background */
  --ink-2: #1e1d1b; /* dark-band raised surface */
  --ink-soft: #3b3531; /* secondary text */
  --muted: #6b635c; /* tertiary text (>=4.5:1 on paper) */
  --paper: #f7f5f3; /* page background (app light bg) */
  --surface: #ffffff; /* cards / raised */
  --surface-2: #fbf9f7; /* subtle band */
  --line: #e8e4df; /* hairline */
  --line-strong: #d8d3cc;
  --on-ink: #f0ece8; /* text on dark bands */
  --on-ink-mut: #9a938a;
  --on-ink-line: #2e2c29;
  --navy: #212d40; /* app sidebar */

  /* Type */
  --serif: "Spectral", Georgia, "Times New Roman", serif;
  --sans:
    "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI",
    sans-serif;

  --fs-display: clamp(2.1rem, 1.35rem + 3.3vw, 3.6rem);
  --fs-h2: clamp(2rem, 1.35rem + 2.9vw, 3.25rem);
  --fs-h3: clamp(1.3rem, 1.12rem + 0.8vw, 1.6rem);
  --fs-stat: clamp(2.6rem, 1.6rem + 4.4vw, 4.25rem);
  --fs-lead: clamp(1.125rem, 1.04rem + 0.4vw, 1.375rem);
  --fs-body: 1.0625rem;
  --fs-sm: 0.9375rem;
  --fs-xs: 0.78rem;

  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-6: 1.5rem;
  --sp-8: 2rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-24: 6rem;
  --sp-32: 8rem;
  --section-y: clamp(4.5rem, 9vw, 8.5rem);
  --gutter: clamp(1.25rem, 4vw, 2.5rem);

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-pill: 999px;
  --sh-1: 0 1px 2px rgba(23, 22, 21, 0.05), 0 6px 18px rgba(23, 22, 21, 0.05);
  --sh-2:
    0 2px 6px rgba(23, 22, 21, 0.06), 0 22px 48px -12px rgba(23, 22, 21, 0.2);
  --sh-3:
    0 8px 24px -8px rgba(23, 22, 21, 0.18),
    0 40px 80px -24px rgba(23, 22, 21, 0.28);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);

  --z-blob: 0;
  --z-content: 1;
  --z-nav: 100;
  --z-menu: 200;
}

/* ============================================================ RESET
   (Tailwind Preflight is disabled in the wrapper, so this governs base styles.) */
*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 5.5rem;
}
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
body {
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img,
svg {
  display: block;
  max-width: 100%;
}
/*a { color: inherit; }*/
button {
  font: inherit;
  cursor: pointer;
}
:focus-visible {
  outline: 2.5px solid var(--terracotta-deep);
  outline-offset: 3px;
  border-radius: 3px;
}
::selection {
  background: var(--terracotta);
  color: #fff;
}

/* ============================================================ TYPE */
h1,
h2,
h3 {
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: var(--fs-display);
}
h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: var(--fs-h2);
  letter-spacing: -0.018em;
}
h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: var(--fs-h3);
  letter-spacing: -0.01em;
  line-height: 1.2;
}
p {
  text-wrap: pretty;
}
.lead {
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 54ch;
}
.accent {
  color: var(--terracotta);
  font-style: italic;
}
.measure {
  max-width: 65ch;
}

/* ============================================================ LAYOUT */
.container {
  width: min(100% - (var(--gutter) * 2), 1180px);
  margin-inline: auto;
}
.section {
  padding-block: var(--section-y);
  position: relative;
}
.section-head {
  max-width: 60ch;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  position: relative;
  z-index: var(--z-content);
}
.section-head .kicker {
  margin-bottom: var(--sp-4);
}
.section-head p {
  margin-top: var(--sp-4);
  color: var(--ink-soft);
  font-size: var(--fs-lead);
  line-height: 1.5;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--terracotta-text);
}
/* Shared squiggle eyebrow art — used by both .kicker (hero eyebrows) and .section-label (section eyebrows). */
.kicker::before,
.section-label::before {
  content: "";
  flex: none;
  width: 2.6rem;
  height: 0.7rem;
  opacity: 1;
  background: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2044%208'%3E%3Cpath%20d='M1%204%20Q4.5%201.5%208%204%20T15%204%20T22%204%20T29%204%20T36%204%20T43%204'%20fill='none'%20stroke='%23D66853'%20stroke-width='1.5'%20stroke-linecap='round'/%3E%3C/svg%3E")
    left center / contain no-repeat;
}

/* ============================================================ BUTTONS
   Button instances in the markup are expressed as Tailwind utilities
   (matching the live root site). These rules cover (a) the icon inside
   any .group button, and (b) the legacy .btn classes kept for the
   shared design system / future pages. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 0.85rem 1.4rem;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: var(--fs-sm);
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background-color 0.2s var(--ease-out),
    color 0.2s var(--ease-out),
    border-color 0.2s var(--ease-out),
    transform 0.2s var(--ease-out),
    box-shadow 0.2s var(--ease-out);
}
.btn-primary {
  background: var(--terracotta);
  color: #fff;
  box-shadow: 0 1px 2px rgba(176, 70, 44, 0.25);
}
.btn-primary:hover {
  background: var(--terracotta-deep);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -8px rgba(192, 84, 58, 0.5);
}
.btn-primary:active {
  transform: translateY(0);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--on-ink);
}
.btn-lg {
  padding: 1.05rem 1.8rem;
  font-size: 1rem;
}
/* Arrow icon (.arw) inside Tailwind buttons (.group) and legacy .btn — slides on hover */
.arw {
  width: 1rem;
  height: 1rem;
  transition: transform 0.25s var(--ease-out);
}
.btn:hover .arw,
.group:hover .arw {
  transform: translateX(3px);
}
/* Lucide icons render as inline SVG via the CDN script; reserve space before the swap to avoid layout shift */
[data-lucide] {
  display: inline-flex;
  width: 1em;
  height: 1em;
}
.lucide {
  width: 1.15em;
  height: 1.15em;
  vertical-align: middle;
  flex: none;
}

.textlink {
  color: var(--terracotta-text);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  align-self: flex-start;
  transition: color 0.2s var(--ease-out);
}
.textlink .arw {
  width: 1rem;
  height: 1rem;
  transition: transform 0.25s var(--ease-out);
}
.textlink:hover .arw {
  transform: translateX(3px);
}

/* ============================================================ DECOR: gradient-blur blobs + vector shapes */
.decor {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: var(--z-blob);
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  will-change: transform;
}
.blob.b-terra {
  background: radial-gradient(
    circle at 50% 50%,
    var(--terracotta),
    transparent 68%
  );
}
.blob.b-bright {
  background: radial-gradient(
    circle at 50% 50%,
    var(--terracotta-bright),
    transparent 68%
  );
}
.blob.b-amber {
  background: radial-gradient(circle at 50% 50%, var(--amber), transparent 70%);
}
.orbit {
  position: absolute;
  opacity: 0.7;
  color: color-mix(in oklab, var(--terracotta) 72%, var(--line-strong));
}
.orbit ellipse {
  stroke-width: 1.7;
}
.dotgrid {
  position: absolute;
  opacity: 0.85;
  background-image: radial-gradient(
    color-mix(in oklab, var(--terracotta) 64%, var(--line-strong)) 1.7px,
    transparent 1.7px
  );
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(circle, #000, transparent 82%);
  mask-image: radial-gradient(circle, #000, transparent 82%);
}
.dotgrid.fine {
  background-size: 15px 15px;
  background-image: radial-gradient(
    color-mix(in oklab, var(--terracotta) 58%, var(--line-strong)) 1.4px,
    transparent 1.4px
  );
}
.dotgrid.loose {
  background-size: 32px 32px;
  background-image: radial-gradient(
    color-mix(in oklab, var(--terracotta) 68%, var(--line-strong)) 2px,
    transparent 2px
  );
}
.dotgrid.on-dark {
  background-image: radial-gradient(
    rgba(240, 236, 232, 0.52) 1.6px,
    transparent 1.6px
  );
}

/* ============================================================ SKIP LINK */
.skip {
  position: absolute;
  left: var(--sp-4);
  top: -100px;
  z-index: 999;
  background: var(--ink);
  color: var(--on-ink);
  padding: 0.7rem 1rem;
  border-radius: var(--r-sm);
  text-decoration: none;
  transition: top 0.2s var(--ease-out);
}
.skip:focus {
  top: var(--sp-4);
}

/* ============================================================ HEADER / NAV */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  background: color-mix(in oklab, var(--paper) 80%, transparent);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition:
    border-color 0.3s var(--ease-out),
    background-color 0.3s var(--ease-out);
}
.site-header[data-scrolled="true"] {
  border-bottom-color: var(--line);
  background: color-mix(in oklab, var(--paper) 92%, transparent);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
  height: 4.75rem;
}
.brand {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.6rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.brand-mark {
  width: 1.18em;
  height: 1.18em;
  border-radius: 24%;
  flex: none;
}
.brand .dot {
  color: var(--terracotta);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  padding-block: 0.25rem;
  transition: color 0.2s var(--ease-out);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1.5px;
  background: var(--terracotta);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease-out);
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--ink);
}
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  transform: scaleX(1);
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}
.nav-toggle {
  display: none;
}

/* ============================================================ HERO */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: var(--section-y);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  position: relative;
  z-index: var(--z-content);
}
.hero-copy {
  order: 2;
}
.hero-visual {
  order: 1;
}
.hero h1 {
  margin-top: var(--sp-6);
}
.hero h1 .ln {
  display: block;
}
.hero-def {
  margin-top: var(--sp-6);
  font-size: 1.0625rem;
  line-height: 1.6;
  max-width: 48ch;
}
.hero-actions {
  margin-top: var(--sp-8);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  align-items: center;
}
.hero-trust {
  margin-top: var(--sp-6);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-6);
  color: var(--muted);
  font-size: var(--fs-sm);
}
.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.hero-trust svg {
  width: 16px;
  height: 16px;
  color: var(--green);
  flex: none;
}

/* ---- Hero signature: faithful Alloro dashboard mock ---- */
.hero-visual {
  position: relative;
}
.app-window {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--sh-3);
  overflow: hidden;
  will-change: transform;
}
.aw-bar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}
.aw-bar .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line-strong);
}
.aw-bar .url {
  margin-left: auto;
  margin-right: auto;
  font-size: 0.72rem;
  color: var(--muted);
  font-family: var(--sans);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 0.18rem 0.7rem;
}
.aw-body {
  display: grid;
  grid-template-columns: 48px 1fr;
}
.aw-side {
  background: var(--navy);
  padding: 0.9rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
}
.aw-side i {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
  display: block;
}
.aw-side i.on {
  background: var(--terracotta);
}
.aw-main {
  padding: clamp(1rem, 2vw, 1.4rem);
  min-width: 0;
}
.aw-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  margin-bottom: 1rem;
}
.aw-head h4 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.aw-pill {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 0.2rem 0.6rem;
  white-space: nowrap;
}
.aw-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  margin-bottom: 0.85rem;
}
.pcard {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.6rem 0.7rem;
  background: var(--surface);
}
.pcard .ph {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.4rem;
}
.pcard .ph svg {
  width: 15px;
  height: 15px;
  color: var(--terracotta);
  flex: none;
}
.pcard .nm {
  font-size: 0.63rem;
  font-weight: 700;
  color: var(--ink-soft);
  line-height: 1.2;
}
.pcard .v {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.pcard .v .vu {
  font-size: 0.58rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0;
}
.pcard .d {
  font-size: 0.64rem;
  font-weight: 700;
  margin-top: 0.25rem;
}
.pcard .d.up {
  color: var(--green);
}
.pcard .d.am {
  color: #b07d12;
}
.pcard .d.te {
  color: var(--terracotta-text);
}
.aw-trend {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
}
.aw-trend .tl {
  display: flex;
  justify-content: space-between;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.aw-trend .tl b {
  color: var(--ink);
}
.aw-trend svg {
  width: 100%;
  height: auto;
  display: block;
}

.float-cite {
  position: absolute;
  top: -22px;
  right: -16px;
  background: var(--terracotta);
  border: 1px solid color-mix(in oklab, var(--terracotta) 72%, #000);
  box-shadow:
    0 12px 28px -6px rgba(214, 104, 83, 0.7),
    0 2px 6px rgba(23, 22, 21, 0.14);
  border-radius: 12px;
  padding: 0.62rem 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--ink);
  will-change: transform;
}
.float-cite .live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink);
  flex: none;
}
.float-cite .star {
  color: var(--ink);
}
.float-cite b {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ============================================================ PROOF */
.proof {
  background: var(--surface);
  border-block: 1px solid var(--line);
  overflow: hidden;
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem) clamp(2rem, 4vw, 3.5rem);
  position: relative;
  z-index: var(--z-content);
}
.stat {
  border-top: 1px solid var(--line-strong);
  padding-top: var(--sp-6);
  position: relative;
}
.stat::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 36px;
  height: 2px;
  background: var(--terracotta);
}
.stat.feature {
  grid-column: span 6;
}
.stat.sm {
  grid-column: span 3;
}
.stat .num {
  font-family: var(--sans);
  font-weight: 700;
  font-size: var(--fs-stat);
  line-height: 0.95;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.stat.feature.t .num {
  color: var(--terracotta);
}
.stat.feature.a .num {
  color: #bf8a16;
}
.stat .num .u {
  font-size: 0.5em;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0;
}
.stat .desc {
  margin-top: var(--sp-3);
  color: var(--ink-soft);
  font-size: var(--fs-sm);
  line-height: 1.5;
  max-width: 34ch;
}
.stat .src {
  margin-top: var(--sp-2);
  color: var(--muted);
  font-size: var(--fs-xs);
}

/* ============================================================ SERVICES */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
  position: relative;
  z-index: var(--z-content);
}
.svc {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 2.6vw, 2.25rem);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  transition:
    background-color 0.35s var(--ease-out),
    border-color 0.3s var(--ease-out),
    transform 0.3s var(--ease-out),
    box-shadow 0.35s var(--ease-out);
}
.svc > * {
  position: relative;
  z-index: 1;
}
.svc .pic {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  flex: none;
  background: color-mix(in oklab, var(--terracotta) 12%, var(--surface));
  color: var(--terracotta-text);
  transition:
    background-color 0.35s var(--ease-out),
    color 0.35s var(--ease-out);
}
.svc .pic svg {
  width: 21px;
  height: 21px;
}
.svc .idx {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
  transition: color 0.35s var(--ease-out);
}
.svc h3 {
  transition: color 0.35s var(--ease-out);
}
.svc p {
  color: var(--ink-soft);
  font-size: var(--fs-sm);
  line-height: 1.55;
  transition: color 0.35s var(--ease-out);
}
.svc .textlink {
  margin-top: auto;
  padding-top: var(--sp-2);
  font-size: var(--fs-sm);
  transition:
    color 0.25s var(--ease-out),
    box-shadow 0.2s var(--ease-out);
}
/* Light hover for every card (incl. the CTA row) */
.svc:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
  box-shadow: var(--sh-1);
}
/* The four pillars: white at rest, dark gradient on hover */
.svc.pillar::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  background: radial-gradient(
    130% 110% at 82% 6%,
    rgba(214, 104, 83, 0.42),
    transparent 56%
  );
  transition: opacity 0.35s var(--ease-out);
}
.svc.pillar:hover {
  background: var(--ink);
  border-color: var(--ink);
  box-shadow: var(--sh-2);
  transform: translateY(-4px);
}
.svc.pillar:hover::before {
  opacity: 1;
}
.svc.pillar:hover h3 {
  color: var(--on-ink);
}
.svc.pillar:hover p {
  color: var(--on-ink-mut);
}
.svc.pillar:hover .idx {
  color: var(--terracotta-bright);
}
.svc.pillar:hover .pic {
  background: rgba(214, 104, 83, 0.2);
  color: var(--terracotta-bright);
}
.svc.pillar:hover .textlink {
  color: #fff;
}
.svc.span6 {
  grid-column: span 6;
}
.svc.span4 {
  grid-column: span 4;
}
.svc.span12 {
  grid-column: 1 / -1;
}
.svc-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row;
  gap: var(--sp-6);
  flex-wrap: wrap;
  background: var(--surface-2);
}
.svc-cta h3 {
  margin-bottom: var(--sp-2);
}
.svc-cta p {
  margin: 0;
}

/* ============================================================ COMPARISON */
.cmp-wrap {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface);
  position: relative;
  z-index: var(--z-content);
}
table.cmp {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-sm);
}
table.cmp caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
table.cmp th,
table.cmp td {
  padding: 1rem clamp(0.85rem, 1.6vw, 1.5rem);
  text-align: left;
  vertical-align: middle;
}
table.cmp thead th {
  font-weight: 600;
  font-size: var(--fs-xs);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
table.cmp thead th.col-alloro {
  color: var(--terracotta-text);
}
table.cmp tbody th {
  font-weight: 600;
  color: var(--ink);
  width: 30%;
}
table.cmp tbody tr + tr th,
table.cmp tbody tr + tr td {
  border-top: 1px solid var(--line);
}
table.cmp tbody tr:nth-child(even) {
  background: var(--surface-2);
}
.col-alloro {
  background: color-mix(
    in oklab,
    var(--terracotta) 9%,
    var(--surface)
  ) !important;
}
table.cmp td .v {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink-soft);
}
.mark {
  width: 1.15rem;
  height: 1.15rem;
  flex: none;
}
.mark.yes {
  color: var(--terracotta);
}
.mark.no {
  color: var(--line-strong);
}
.vh {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ============================================================ PROCESS */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: var(--z-content);
}
.step {
  position: relative;
}
.step .n {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  color: var(--terracotta);
  line-height: 1;
  display: block;
  margin-bottom: var(--sp-4);
}
.step h3 {
  margin-bottom: var(--sp-3);
}
.step p {
  color: var(--ink-soft);
  font-size: var(--fs-sm);
  line-height: 1.6;
}
.step::after {
  content: "";
  position: absolute;
  top: 1.3rem;
  left: calc(100% - 1.5rem);
  width: clamp(1.5rem, 3vw, 3rem);
  height: 1px;
  background: var(--line-strong);
}
.step:last-child::after {
  display: none;
}

/* ============================================================ CTA BAND */
.cta-band {
  background: var(--ink);
  color: var(--on-ink);
  border-radius: clamp(18px, 3vw, 28px);
  padding: clamp(2.75rem, 6vw, 5.5rem) var(--gutter);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band > .ctac {
  position: relative;
  z-index: 1;
}
.cta-band h2 {
  color: var(--on-ink);
  max-width: 36ch;
  margin-inline: auto;
}
.cta-band p {
  color: var(--on-ink-mut);
  margin: var(--sp-4) auto 0;
  max-width: 46ch;
  font-size: var(--fs-lead);
  line-height: 1.5;
}
.cta-band .hero-actions {
  justify-content: center;
  margin-top: var(--sp-8);
}

/* ============================================================ FOOTER */
.site-footer {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  padding-top: var(--section-y);
  padding-bottom: var(--sp-12);
}
.site-footer .container {
  position: relative;
  z-index: var(--z-content);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 3rem);
}
.foot-brand .brand {
  font-size: 1.9rem;
}
.foot-brand p {
  margin-top: var(--sp-4);
  color: var(--muted);
  font-size: var(--fs-sm);
  max-width: 30ch;
}
.foot-id {
  margin-top: var(--sp-6);
  font-size: var(--fs-sm);
  color: var(--ink-soft);
  line-height: 1.7;
}
.foot-id dt {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-top: var(--sp-3);
}
.foot-id dd {
  color: var(--ink);
}
.foot-id a {
  color: var(--terracotta-text);
  text-decoration: none;
}
.foot-id a:hover {
  text-decoration: underline;
}
.foot-col h4 {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: var(--sp-4);
}
.foot-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.foot-col li {
  position: relative;
  padding-left: 1.65rem;
}
.foot-col li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 18px;
  height: 8px;
  background: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2018%208'%3E%3Cpath%20d='M1%204%20Q3.5%201.5%206%204%20T11%204%20T16%204'%20fill='none'%20stroke='%23D66853'%20stroke-width='1.6'%20stroke-linecap='round'/%3E%3C/svg%3E")
    left center / contain no-repeat;
}
.foot-col a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: var(--fs-sm);
  transition: color 0.2s var(--ease-out);
}
.foot-col a:hover {
  color: var(--terracotta-text);
}
.foot-bottom {
  margin-top: var(--section-y);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--sp-3);
  color: var(--muted);
  font-size: var(--fs-xs);
}
.foot-bottom a {
  color: var(--muted);
  text-decoration: none;
}
.foot-bottom a:hover {
  color: var(--ink);
}

/* ============================================================ MOTION (gated; visible by default) */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(20px);
    transition:
      opacity 0.7s var(--ease),
      transform 0.7s var(--ease);
  }
  .js .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
  .js .stagger:not(.is-visible) > * {
    opacity: 0;
    transform: translateY(16px);
  }
  .js .stagger.is-visible > * {
    animation: staggerUp 0.6s var(--ease) backwards;
  }
  .js .stagger.is-visible > *:nth-child(2) {
    animation-delay: 0.08s;
  }
  .js .stagger.is-visible > *:nth-child(3) {
    animation-delay: 0.16s;
  }
  .js .stagger.is-visible > *:nth-child(4) {
    animation-delay: 0.24s;
  }
  .js .stagger.is-visible > *:nth-child(5) {
    animation-delay: 0.32s;
  }
  .js .stagger.is-visible > *:nth-child(6) {
    animation-delay: 0.4s;
  }
  @keyframes staggerUp {
    from {
      opacity: 0;
      transform: translateY(16px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }

  /* hero entrance */
  .js .hero-load > * {
    opacity: 0;
    transform: translateY(22px);
    animation: heroUp 0.9s var(--ease) forwards;
  }
  .js .hero-load > *:nth-child(1) {
    animation-delay: 0.05s;
  }
  .js .hero-load > *:nth-child(2) {
    animation-delay: 0.15s;
  }
  .js .hero-load > *:nth-child(3) {
    animation-delay: 0.25s;
  }
  .js .hero-load > *:nth-child(4) {
    animation-delay: 0.35s;
  }
  .js .hero-load > *:nth-child(5) {
    animation-delay: 0.45s;
  }
  .js .hero-visual {
    opacity: 0;
    transform: translateY(28px) scale(0.97);
    animation: heroUp 1.1s var(--ease) 0.25s forwards;
  }
  @keyframes heroUp {
    to {
      opacity: 1;
      transform: none;
    }
  }

  /* drifting blobs */
  .blob {
    animation: drift 20s var(--ease) infinite alternate;
  }
  .blob:nth-child(2) {
    animation-duration: 26s;
    animation-delay: -6s;
  }
  .blob:nth-child(3) {
    animation-duration: 32s;
    animation-delay: -12s;
  }
  @keyframes drift {
    from {
      translate: 0 0;
      scale: 1;
    }
    to {
      translate: 24px -26px;
      scale: 1.08;
    }
  }
  /* floating cite — uses translate/ scale props so JS parallax (transform) composes */
  .float-cite {
    animation: floaty 6s ease-in-out infinite;
  }
  @keyframes floaty {
    0%,
    100% {
      translate: 0 0;
    }
    50% {
      translate: 0 -8px;
    }
  }
  .float-cite .live {
    animation: livepulse 1.9s ease-out infinite;
  }
  @keyframes livepulse {
    0% {
      box-shadow: 0 0 0 0 rgba(23, 22, 21, 0.5);
    }
    70%,
    100% {
      box-shadow: 0 0 0 7px rgba(23, 22, 21, 0);
    }
  }
  .cta-band .blob {
    animation: pulse 8s ease-in-out infinite;
  }
  @keyframes pulse {
    0%,
    100% {
      opacity: 0.4;
      scale: 1;
    }
    50% {
      opacity: 0.7;
      scale: 1.12;
    }
  }
  .parallax {
    transition: transform 0.18s var(--ease-out);
  }
}

/* ============================================================ RESPONSIVE */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-copy {
    order: 1;
  }
  .hero-visual {
    order: 2;
    max-width: 520px;
  }
  .stat.feature {
    grid-column: span 6;
  }
  .stat.sm {
    grid-column: span 6;
  }
  .svc.span6 {
    grid-column: span 12;
  }
  .svc.span4 {
    grid-column: span 6;
  }
  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
  .foot-brand {
    grid-column: 1 / -1;
  }
}
@media (max-width: 900px) {
  .nav-links,
  .nav-cta .btn,
  .nav-cta > a:not(.nav-toggle) {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: transparent;
    border: 1px solid var(--line-strong);
    border-radius: var(--r-pill);
    padding: 0.5rem 0.9rem;
    font-size: var(--fs-sm);
    font-weight: 600;
    min-height: 44px;
    padding-inline: 1.05rem;
  }
  .mobile-menu {
    display: none;
  }
  .mobile-menu.open {
    display: block;
    position: fixed;
    inset: 4.75rem 0 0;
    z-index: var(--z-menu);
    background: var(--paper);
    padding: var(--gutter);
    animation: menuIn 0.25s var(--ease-out);
  }
  .mobile-menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--sp-2);
  }
  .mobile-menu ul a {
    display: block;
    text-decoration: none;
    color: var(--ink);
    font-family: var(--serif);
    font-weight: 600;
    font-size: 1.8rem;
    padding: var(--sp-3) 0;
    border-bottom: 1px solid var(--line);
  }
  .mobile-menu .btn,
  .mobile-menu > a {
    margin-top: var(--sp-6);
    width: 100%;
  }
}

@media (max-width: 720px) {
  .steps {
    grid-template-columns: 1fr;
  }
  .step::after {
    display: none;
  }
  .proof-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat.feature,
  .stat.sm {
    grid-column: span 1;
  }
  .stat.feature {
    grid-column: span 2;
  }
  .svc.span4 {
    grid-column: span 12;
  }
  table.cmp,
  table.cmp thead,
  table.cmp tbody,
  table.cmp th,
  table.cmp td,
  table.cmp tr {
    display: block;
  }
  table.cmp thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  table.cmp tbody tr {
    padding: var(--sp-4) 0;
    border-top: 1px solid var(--line);
  }
  table.cmp tbody tr:nth-child(even) {
    background: transparent;
  }
  table.cmp tbody th {
    width: auto;
    font-family: var(--serif);
    font-weight: 600;
    font-size: 1.25rem;
    padding-bottom: var(--sp-2);
  }
  table.cmp tbody td {
    padding: 0.4rem clamp(0.85rem, 1.6vw, 1.5rem);
    display: flex;
    justify-content: space-between;
    gap: var(--sp-4);
  }
  table.cmp tbody td::before {
    content: attr(data-label);
    color: var(--muted);
    font-weight: 600;
    font-size: var(--fs-xs);
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }
  .col-alloro {
    border-radius: var(--r-sm);
  }
}
@keyframes menuIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (max-width: 640px) {
  :root {
    --section-y: clamp(3.25rem, 14vw, 5.5rem);
  }
  .hero .dotgrid,
  .about-hero .dotgrid {
    opacity: 0.25 !important;
  }
  /* Large buttons (Tailwind .group anchors in .hero-actions / .svc-cta) shrink on phones — restores legacy .btn-lg @640 padding */
  .hero-actions a,
  .svc-cta a {
    padding: 0.95rem 1.4rem;
  }
}
@media (max-width: 460px) {
  .foot-grid {
    grid-template-columns: 1fr;
  }
  /* Full-width primary/secondary actions on phones — restores legacy .hero-actions .btn rule for the Tailwind anchors */
  .hero-actions a {
    width: 100%;
  }
}

/* ============================================================
   ABOUT PAGE — components unique to about.html.
   Base tokens/reset/type/buttons/decor/header/footer/motion are
   shared above; these reference the same vars, so they inherit the
   canonical scale automatically. Add future pages the same way:
   append page-unique component CSS here, never re-declare the base.
   ============================================================ */

/* Section eyebrow (about sections use .section-label; heroes use shared .kicker) */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-4);
  color: var(--terracotta-text);
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Lift content above the decor layer in patterned sections (.site-footer .container already lifted above) */
.founder-feature,
.footprint-grid,
.evidence-list,
.method-steps,
.method-note {
  position: relative;
  z-index: var(--z-content);
}

/* ---- About hero ---- */
.about-hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}
.about-hero-grid {
  position: relative;
  z-index: var(--z-content);
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  max-width: 900px;
}
.about-hero h1 {
  max-width: 13ch;
}
.about-hero .hero-copy h1 {
  margin-top: var(--sp-4);
}
.definition-card {
  margin-top: var(--sp-6);
  max-width: 66ch;
}
.hero-definition {
  color: var(--ink);
  font-size: clamp(1.1rem, 1rem + 0.45vw, 1.35rem);
  line-height: 1.55;
}

/* ---- Authority ribbon (evidence units) ---- */
.authority-ribbon {
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--surface);
  padding-block: clamp(1.8rem, 4vw, 2.75rem);
}
.evidence-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-block: 1px solid var(--line-strong);
  list-style: none;
  padding: 0;
}
.evidence-unit {
  min-height: 150px;
  padding: clamp(1rem, 2.2vw, 1.5rem) clamp(1rem, 2.4vw, 1.7rem);
}
.evidence-unit + .evidence-unit {
  border-left: 1px solid var(--line);
}
.evidence-unit strong {
  display: block;
  color: var(--ink);
  font-size: clamp(2.05rem, 1.45rem + 2.15vw, 3.35rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
}
.evidence-unit span {
  display: block;
  margin-top: var(--sp-3);
  color: var(--ink-soft);
  font-size: var(--fs-sm);
  line-height: 1.45;
}

/* ---- Founder feature ---- */
.founder-feature,
.method-note {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
}
.founder-feature {
  display: grid;
  grid-template-columns: minmax(220px, 0.58fr) minmax(0, 1.24fr) minmax(
      230px,
      0.72fr
    );
  overflow: hidden;
}
.founder-photo {
  position: relative;
  background: var(--surface-2);
}
.founder-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}
.founder-main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(1.5rem, 3.2vw, 2.75rem);
}
.founder-quote p {
  max-width: 24ch;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1rem + 1.05vw, 1.85rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.015em;
}
.founder-id {
  margin-top: clamp(1.25rem, 2.6vw, 1.9rem);
}
.founder-id h3 {
  font-size: 1.15rem;
}
.founder-role {
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: var(--fs-sm);
}
.founder-copy {
  margin-top: var(--sp-4);
  max-width: 52ch;
  color: var(--ink-soft);
}
.founder-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-top: clamp(1.5rem, 3vw, 2rem);
}
.founder-facts {
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--line);
  background: var(--surface-2);
  padding: clamp(1rem, 2vw, 1.5rem) clamp(1.25rem, 2.4vw, 1.9rem);
}
.founder-fact {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--sp-2);
  padding-block: var(--sp-4);
}
.founder-fact + .founder-fact {
  border-top: 1px solid var(--line);
}
.founder-fact h3 {
  font-size: 1.02rem;
}
.founder-fact p {
  color: var(--ink-soft);
  font-size: var(--fs-sm);
  line-height: 1.55;
}

/* ---- Method (dark band) ---- */
.method {
  background: var(--ink);
  color: var(--on-ink);
  overflow: hidden;
}
.method .section-head p,
.method .section-label {
  color: var(--on-ink-mut);
}
.method h2,
.method h3 {
  color: var(--on-ink);
}
.method-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2.4vw, 2rem);
  list-style: none;
  padding: 0;
}
.method-step {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  padding-top: var(--sp-6);
}
.method-step::after {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 42px;
  height: 2px;
  background: var(--terracotta);
}
.method-step .n {
  display: block;
  margin-bottom: var(--sp-4);
  color: var(--terracotta-bright);
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 600;
  line-height: 1;
}
.method-step p {
  margin-top: var(--sp-3);
  color: var(--on-ink-mut);
  font-size: var(--fs-sm);
  line-height: 1.65;
}
.method-note {
  margin-top: clamp(2rem, 5vw, 3.5rem);
  border-color: var(--on-ink-line);
  background: var(--ink-2);
  padding: clamp(1.25rem, 2.4vw, 1.8rem);
  color: var(--on-ink-mut);
  font-size: var(--fs-sm);
}
.method-note strong {
  color: var(--on-ink);
}

/* ---- Entity footprint ---- */
.footprint {
  border-block: 1px solid var(--line);
  background: var(--surface);
}
.footprint-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: stretch;
}
.entity-ledger {
  display: flex;
  flex-direction: column;
  margin: 0;
}
.entity-row {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(6.5rem, 8.5rem) minmax(0, 1fr);
  column-gap: clamp(1rem, 2.5vw, 2rem);
  align-content: center;
  align-items: baseline;
  padding-block: var(--sp-4);
}
.entity-row + .entity-row {
  border-top: 1px solid var(--line);
}
.entity-row dt {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--muted);
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.entity-row dt .lucide {
  width: 14px;
  height: 14px;
  color: var(--terracotta);
}
.entity-row dd {
  margin: 0;
  color: var(--ink-soft);
}
.entity-row dd strong {
  color: var(--ink);
}
.entity-row dd a {
  color: var(--terracotta-text);
  font-weight: 700;
  text-decoration: none;
}
.entity-row dd a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.identity-proof {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--r-lg);
  background: color-mix(in oklab, var(--surface) 45%, transparent);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  box-shadow: var(--sh-2);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}
.identity-proof h3 {
  margin-bottom: var(--sp-4);
}
.identity-proof p {
  color: var(--ink-soft);
}
.sameas-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  list-style: none;
  padding: var(--sp-6) 0 0;
  margin-top: auto;
}
.sameas-list a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  padding: 0.55rem 0.85rem;
  color: var(--terracotta-text);
  font-size: var(--fs-sm);
  font-weight: 800;
  text-decoration: none;
  transition:
    background-color 0.2s var(--ease-out),
    color 0.2s var(--ease-out),
    border-color 0.2s var(--ease-out);
}
.sameas-list a .lucide {
  width: 15px;
  height: 15px;
}
.sameas-list a:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--on-ink);
}

/* ---- About responsive ---- */
@media (max-width: 980px) {
  .about-hero-grid,
  .footprint-grid {
    grid-template-columns: 1fr;
  }
  .founder-feature {
    grid-template-columns: minmax(180px, 250px) minmax(0, 1fr);
  }
  .founder-facts {
    grid-column: 1 / -1;
    flex-direction: row;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .founder-fact {
    padding: var(--sp-2) var(--sp-6) var(--sp-2) 0;
  }
  .founder-fact + .founder-fact {
    border-top: 0;
    border-left: 1px solid var(--line);
    padding-left: var(--sp-6);
  }
  .evidence-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .evidence-unit {
    border-top: 1px solid var(--line);
  }
  .evidence-unit:nth-child(-n + 2) {
    border-top: 0;
  }
  .evidence-unit:nth-child(odd) {
    border-left: 0;
  }
  .method-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  .about-hero {
    padding-top: 2rem;
    padding-bottom: 2.75rem;
  }
  .about-hero h1 {
    max-width: 11ch;
  }
  .definition-card {
    margin-top: 1.25rem;
  }
  .hero-definition {
    font-size: 1rem;
    line-height: 1.5;
  }
  .about-hero .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: 1rem;
  }
  /* Tailwind .group anchors in the about-hero compress to a 2-up grid on phones (legacy .btn override) */
  .about-hero .hero-actions a {
    width: auto;
    min-height: 44px;
    padding: 0.78rem 0.65rem;
    font-size: 0.82rem;
  }
  .evidence-list,
  .method-steps {
    grid-template-columns: 1fr;
  }
  .evidence-unit,
  .evidence-unit + .evidence-unit,
  .evidence-unit:nth-child(-n + 2) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .evidence-unit:first-child {
    border-top: 0;
  }
  .founder-feature {
    grid-template-columns: 1fr;
  }
  .founder-photo {
    aspect-ratio: 16 / 10;
  }
  .founder-photo img {
    object-position: center 12%;
  }
  .founder-facts {
    flex-direction: column;
  }
  .founder-fact {
    padding: var(--sp-4) 0;
  }
  .founder-fact + .founder-fact {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-left: 0;
  }
  .entity-row {
    grid-template-columns: 1fr;
    row-gap: var(--sp-1);
  }
}

/* ============================================================
   SHARED HELPERS used by the remaining pages
   ============================================================ */
.hidden { display: none; }
/* Centered narrow reading column — used by post article + legal docs */
.narrow { position: relative; z-index: var(--z-content); max-width: 820px; margin-inline: auto; }

/* ============================================================
   BENEFITS PAGE — components unique to benefits.html
   ============================================================ */
/* ---- Growth machine (hero) ---- */
.machine-wrap { position: relative; min-width: 0; min-height: 520px; border-radius: var(--r-lg); isolation: isolate; }
.machine-stage { position: absolute; inset: 0; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  background:
    linear-gradient(90deg, color-mix(in oklab, var(--line) 42%, transparent) 1px, transparent 1px) 0 0 / 72px 72px,
    linear-gradient(color-mix(in oklab, var(--line) 42%, transparent) 1px, transparent 1px) 0 0 / 72px 72px,
    radial-gradient(circle at 74% 18%, color-mix(in oklab, var(--terracotta) 16%, transparent), transparent 34%),
    var(--surface-2); }
.machine-lines { position: absolute; inset: 7%; width: 86%; height: 86%; z-index: 1; overflow: visible; }
.machine-lines path { fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.machine-lines .rail { stroke: color-mix(in oklab, var(--line-strong) 76%, transparent); }
.machine-lines .active { stroke: var(--terracotta); }
.machine-lines .pulse-path { stroke: var(--amber); stroke-dasharray: 14 18; opacity: .72; }
.machine-lines .flow { stroke: var(--terracotta-bright); stroke-width: 2.6; opacity: 0; }
.machine-core { position: absolute; left: 50%; top: 50%; z-index: 3; width: clamp(150px, 18vw, 210px); aspect-ratio: 1;
  transform: translate(-50%, -50%); display: grid; place-items: center; border-radius: 50%;
  border: 1px solid color-mix(in oklab, var(--terracotta) 48%, var(--line));
  background: radial-gradient(circle at 50% 45%, color-mix(in oklab, var(--terracotta) 18%, transparent), transparent 54%), var(--surface); }
.machine-core::before, .machine-core::after { content: ""; position: absolute; inset: -18px; border-radius: inherit;
  border: 1px solid color-mix(in oklab, var(--terracotta) 30%, transparent); }
.machine-core::after { inset: -36px; border-color: color-mix(in oklab, var(--amber) 36%, transparent); }
.core-content { position: relative; z-index: 2; text-align: center; padding: 1rem; }
.core-content b { display: block; font-family: var(--serif); font-weight: 600; font-size: clamp(1.25rem, 2vw, 1.7rem); line-height: 1; letter-spacing: -0.01em; }
.core-content span { display: block; margin-top: .45rem; color: var(--muted); font-size: .84rem; font-weight: 700; }
.machine-node { position: absolute; z-index: 4; width: min(38vw, 190px); border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); padding: .9rem; box-shadow: var(--sh-1); }
.machine-node .node-top { display: flex; align-items: center; justify-content: space-between; gap: .7rem; margin-bottom: .6rem; color: var(--muted); font-size: .78rem; font-weight: 700; }
.machine-node .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--terracotta); flex: none; }
.machine-node strong { display: block; font-family: var(--serif); font-weight: 600; font-size: 1rem; line-height: 1.14; letter-spacing: -0.01em; }
.machine-node small { display: block; margin-top: .45rem; color: var(--muted); font-size: .78rem; line-height: 1.35; }
.node-ai { left: 4%; top: 10%; } .node-rank { right: 3%; top: 16%; } .node-profile { left: 6%; bottom: 16%; } .node-revenue { right: 6%; bottom: 9%; }
.route-chip { position: absolute; z-index: 5; left: 50%; bottom: 7%; display: inline-flex; align-items: center; gap: .45rem; transform: translateX(-50%);
  border: 1px solid color-mix(in oklab, var(--terracotta) 32%, var(--line)); border-radius: var(--r-pill); background: var(--surface); color: var(--terracotta-text); padding: .55rem .9rem; font-size: .82rem; font-weight: 700; white-space: nowrap; }
.route-chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); flex: none; }

/* ---- SME corroboration ---- */
.sme-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(260px, .9fr); gap: clamp(2rem, 5vw, 4rem); align-items: center;
  position: relative; z-index: var(--z-content); }
.sme-quote blockquote { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(1.2rem, 1rem + 1vw, 1.7rem); line-height: 1.3; letter-spacing: -0.015em; color: var(--ink); text-wrap: balance; }
.sme-cite { margin-top: var(--sp-8); display: flex; align-items: center; gap: var(--sp-4); }
.sme-avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: center 18%; border: 1px solid var(--line); flex: none; }
.sme-cite .who { font-weight: 700; color: var(--ink); }
.sme-cite .role { display: block; margin-top: 2px; color: var(--muted); font-size: var(--fs-sm); }
.sme-cite .role a { color: var(--terracotta-text); text-decoration: none; }
.sme-cite .role a:hover { text-decoration: underline; text-underline-offset: 3px; }
.sme-aside { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface-2); padding: clamp(1.5rem, 3vw, 2.25rem); }
.sme-aside h3 { font-size: 1.05rem; }
.sme-aside ul { list-style: none; margin: var(--sp-4) 0 0; padding: 0; display: flex; flex-direction: column; gap: var(--sp-3); }
.sme-aside li { display: flex; gap: var(--sp-3); align-items: flex-start; color: var(--ink-soft); font-size: var(--fs-sm); line-height: 1.5; }
.sme-aside li .lucide { width: 17px; height: 17px; color: var(--terracotta); flex: none; margin-top: 2px; }
.ph-note { margin-top: clamp(1.5rem, 3vw, 2.25rem); color: var(--muted); font-size: var(--fs-xs); position: relative; z-index: var(--z-content); }

@media (prefers-reduced-motion: no-preference) {
  .machine-lines .active { stroke-dasharray: 600; stroke-dashoffset: 600; animation: drawPath 1600ms var(--ease) .4s forwards; }
  .machine-lines .flow { stroke-dasharray: 14 586; stroke-dashoffset: 600; opacity: .95; animation: flowDash 3s linear 2.1s infinite; }
  .machine-lines .pulse-path { animation: railPulse 1.8s linear 1.2s infinite; }
  .machine-core::before { animation: coreOrbit 8200ms linear infinite; }
  .machine-core::after { animation: coreOrbit 11800ms linear infinite reverse; }
  .machine-node { animation: nodeFloat 6200ms ease-in-out infinite; }
  .machine-node.node-rank { animation-delay: -1.2s; }
  .machine-node.node-profile { animation-delay: -2.4s; }
  .machine-node.node-revenue { animation-delay: -3.6s; }
  @keyframes drawPath { to { stroke-dashoffset: 0; } }
  @keyframes flowDash { to { stroke-dashoffset: 0; } }
  @keyframes railPulse { to { stroke-dashoffset: -64; } }
  @keyframes coreOrbit { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
  @keyframes nodeFloat { 0%,100% { translate: 0 0; } 50% { translate: 0 -8px; } }
}
@media (max-width: 960px) { .sme-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .machine-wrap { width: 100%; max-width: min(calc(100vw - 48px), 360px); min-height: 600px; margin-inline: auto; overflow: hidden; }
  .machine-lines { inset: 10%; width: 80%; height: 80%; }
  .machine-core { top: 46%; width: 116px; }
  .core-content b { font-size: 1.05rem; } .core-content span { display: none; }
  .machine-node { width: min(132px, calc(50% - .9rem)); padding: .55rem; }
  .machine-node strong { font-size: .82rem; } .machine-node small, .machine-node .node-top { font-size: .66rem; }
  .node-ai { left: .6rem; top: .9rem; } .node-rank { right: .6rem; top: 5rem; }
  .node-profile { left: .6rem; bottom: 5rem; } .node-revenue { right: .6rem; bottom: .9rem; }
  .route-chip { bottom: 39%; font-size: .74rem; }
}

/* ============================================================
   CONTACT PAGE — components unique to contact.html
   ============================================================ */
.contact-hero-grid { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(320px, .96fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; position: relative; z-index: var(--z-content); }
.contact-hero-grid .hero-copy { order: -1; }
/* Glass contact form */
.glass-card { position: relative; border: 1px solid rgba(255,255,255,.7); border-radius: var(--r-lg); background: color-mix(in oklab, var(--surface) 45%, transparent); -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%); box-shadow: var(--sh-2); padding: clamp(1.5rem, 3vw, 2.25rem); }
.glass-card h2 { font-family: var(--sans); font-weight: 700; font-size: 1.25rem; letter-spacing: -0.01em; }
.glass-card .sub { margin-top: var(--sp-2); color: var(--ink-soft); font-size: var(--fs-sm); line-height: 1.5; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--sp-4); }
.f-field { margin-top: var(--sp-4); }
.f-field label { display: block; margin-bottom: var(--sp-2); color: var(--muted); font-size: var(--fs-xs); font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.f-field label .opt { font-weight: 600; letter-spacing: 0; text-transform: none; }
.f-field input, .f-field textarea { width: 100%; border: 1px solid var(--line-strong); border-radius: var(--r-md); background: rgba(255,255,255,.8); padding: .8rem .95rem; color: var(--ink); font: inherit; font-size: var(--fs-sm); transition: border-color .2s var(--ease-out), background-color .2s var(--ease-out); }
.f-field input:focus, .f-field textarea:focus { border-color: var(--terracotta); background: #fff; }
.f-field textarea { min-height: 108px; resize: vertical; }
/* Full-width submit (Tailwind .group button, so target the submit, not legacy .btn) */
.glass-card button[type="submit"] { width: 100%; margin-top: var(--sp-6); }
.f-note { margin-top: var(--sp-3); color: var(--muted); font-size: var(--fs-xs); text-align: center; }
/* What-happens-next + company record */
.contact-cols { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); gap: clamp(2rem, 5vw, 4rem); align-items: stretch; position: relative; z-index: var(--z-content); }
.after-list { margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.after-step { display: flex; gap: var(--sp-4); padding-block: var(--sp-6); }
.after-step + .after-step { border-top: 1px solid var(--line); }
.after-step .n { flex: none; width: 2.4rem; font-family: var(--serif); font-weight: 500; font-size: 2rem; line-height: 1; color: var(--terracotta); }
.after-step h3 { font-size: 1.1rem; }
.after-step p { margin-top: var(--sp-2); color: var(--ink-soft); font-size: var(--fs-sm); line-height: 1.6; max-width: 48ch; }
/* Dark company-record card */
.contact-card { position: relative; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--ink); border-radius: var(--r-lg); background: var(--ink); color: var(--on-ink); padding: clamp(1.5rem, 3vw, 2.25rem); }
.contact-card > :not(.decor) { position: relative; z-index: 1; }
.cc-head { padding-bottom: var(--sp-4); }
.contact-card h3 { color: var(--on-ink); font-family: var(--serif); font-weight: 600; font-size: 1.6rem; letter-spacing: -0.01em; }
.cc-tag { margin-top: var(--sp-1); color: var(--on-ink-mut); font-size: var(--fs-sm); }
.contact-line { flex: 1; display: flex; gap: var(--sp-3); align-items: center; padding-block: var(--sp-4); border-top: 1px solid var(--on-ink-line); }
.contact-line .lucide { width: 17px; height: 17px; color: var(--terracotta-bright); flex: none; }
.contact-line span { color: var(--on-ink-mut); font-size: var(--fs-sm); line-height: 1.5; }
.contact-line a { color: var(--on-ink); font-size: var(--fs-sm); font-weight: 700; text-decoration: none; transition: color .2s var(--ease-out); }
.contact-line a:hover { color: var(--terracotta-bright); }
@media (max-width: 960px) {
  .contact-hero-grid, .contact-cols { grid-template-columns: 1fr; }
  .contact-cols { align-items: start; }
}
@media (max-width: 520px) { .f-row { grid-template-columns: 1fr; } }

/* ============================================================
   BLOG (listing) + POST (article) — shared post-card stack deduped
   ============================================================ */
.blog-hero h1 { max-width: 16ch; }
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); position: relative; z-index: var(--z-content); }
.post-card { position: relative; display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); color: inherit; text-decoration: none;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .3s var(--ease-out); }
.post-card:hover { transform: translateY(-5px); border-color: var(--line-strong); box-shadow: var(--sh-2); }
.post-cover { position: relative; flex: none; aspect-ratio: 16 / 9; overflow: hidden;
  background: linear-gradient(135deg, color-mix(in oklab, var(--terracotta) 10%, var(--surface-2)), var(--surface-2) 62%); }
.post-cover.cov-ink { background: linear-gradient(135deg, #262422, var(--ink) 72%); }
.post-cover.cov-ink .orbit { color: color-mix(in oklab, var(--terracotta-bright) 70%, transparent); }
.post-cover .orbit { transition: scale .5s var(--ease-out); }
.post-cover .dotgrid { transition: translate .5s var(--ease-out); }
.cov-blob { position: absolute; border-radius: 50%; filter: blur(26px); transition: scale .5s var(--ease-out); }
.cov-blob.t { background: radial-gradient(circle at 50% 50%, var(--terracotta), transparent 68%); }
.cov-blob.a { background: radial-gradient(circle at 50% 50%, var(--amber), transparent 70%); }
.cov-blob.b { background: radial-gradient(circle at 50% 50%, var(--terracotta-bright), transparent 68%); }
.cov-sq { position: absolute; left: 8%; top: 11%; width: 62px; height: 12px; opacity: .95;
  background: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2044%208'%3E%3Cpath%20d='M1%204%20Q4.5%201.5%208%204%20T15%204%20T22%204%20T29%204%20T36%204%20T43%204'%20fill='none'%20stroke='%23D66853'%20stroke-width='1.5'%20stroke-linecap='round'/%3E%3C/svg%3E") left center / contain no-repeat; }
.post-card:hover .cov-blob { scale: 1.18; }
.post-card:hover .post-cover .orbit { scale: 1.08; }
.post-card:hover .post-cover .dotgrid { translate: 8px -8px; }
.post-body { display: flex; flex: 1; flex-direction: column; gap: var(--sp-3); padding: clamp(1.1rem, 2vw, 1.5rem); }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2); color: var(--muted); font-size: var(--fs-xs); font-weight: 700; }
.post-meta .cat { color: var(--terracotta-text); letter-spacing: .04em; text-transform: uppercase; }
.post-meta .sep { color: var(--line-strong); }
.post-title { font-family: var(--serif); font-weight: 600; font-size: 1.35rem; line-height: 1.18; letter-spacing: -0.015em; color: var(--ink); text-wrap: balance; transition: color .25s var(--ease-out); }
.post-card:hover .post-title { color: var(--terracotta-text); }
.post-excerpt { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; color: var(--ink-soft); font-size: var(--fs-sm); line-height: 1.55; }
.post-go { display: inline-flex; align-items: center; gap: .4rem; margin-top: auto; padding-top: var(--sp-3); color: var(--terracotta-text); font-size: var(--fs-sm); font-weight: 700; }
.post-go .arw { width: 1rem; height: 1rem; transition: transform .25s var(--ease-out); }
.post-card:hover .post-go .arw { transform: translateX(4px); }
.post-card.featured { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.post-card.featured .post-cover { height: 100%; min-height: 320px; aspect-ratio: auto; }
.post-card.featured .post-body { justify-content: center; padding: clamp(1.5rem, 3vw, 2.5rem); }
.post-card.featured .post-title { max-width: 22ch; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); }
.post-card.featured .post-excerpt { -webkit-line-clamp: 4; max-width: 52ch; font-size: var(--fs-body); }
.feat-pill { position: absolute; z-index: 2; top: 1rem; left: 1rem; display: inline-flex; align-items: center; gap: .4rem;
  border-radius: var(--r-pill); background: var(--terracotta); color: #fff; padding: .4rem .75rem; font-size: var(--fs-xs); font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
@media (prefers-reduced-motion: no-preference) {
  .cov-blob { animation: covDrift 14s ease-in-out infinite alternate; }
  .post-cover .orbit { animation: covSpin 70s linear infinite; }
}
@keyframes covDrift { from { translate: 0 0; } to { translate: 14px -12px; } }
@keyframes covSpin { to { rotate: 360deg; } }
@media (max-width: 960px) {
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-card.featured { grid-template-columns: 1fr; }
  .post-card.featured .post-cover { min-height: 0; aspect-ratio: 16 / 9; }
}
@media (max-width: 640px) { .blog-grid { grid-template-columns: 1fr; } }

/* ---- Article (post page) ---- */
.progressbar { position: fixed; top: 0; left: 0; right: 0; z-index: calc(var(--z-nav) + 1); height: 3px; pointer-events: none; }
.progressbar b { display: block; width: 100%; height: 100%; background: var(--terracotta); transform: scaleX(0); transform-origin: left; }
.post-hero { padding-bottom: 0; }
.post-hero h1 { margin-top: var(--sp-6); max-width: 24ch; }
.post-dek { margin-top: var(--sp-4); max-width: 56ch; color: var(--ink-soft); font-size: var(--fs-lead); line-height: 1.5; }
.byline { display: flex; align-items: center; gap: var(--sp-4); margin-top: var(--sp-8); }
.byline img { width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 50%; object-fit: cover; object-position: center 18%; flex: none; }
.byline .who { font-weight: 700; }
.byline .meta { display: block; margin-top: 2px; color: var(--muted); font-size: var(--fs-sm); }
.post-art { margin-top: clamp(2rem, 4vw, 3rem); aspect-ratio: 21 / 9; border: 1px solid var(--line); border-radius: var(--r-lg); }
.article { margin-top: clamp(2.5rem, 5vw, 4rem); }
.article > * + * { margin-top: var(--sp-6); }
.article p { color: var(--ink-soft); font-size: 1.125rem; line-height: 1.75; }
.article h2 { margin-top: clamp(2.5rem, 5vw, 3.5rem); font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); }
.article ul { display: flex; flex-direction: column; gap: var(--sp-2); padding-left: 1.25rem; color: var(--ink-soft); font-size: 1.125rem; line-height: 1.7; }
.article li::marker { color: var(--terracotta); }
.article a { color: var(--terracotta-text); text-decoration: underline; text-underline-offset: 3px; }
.article strong { color: var(--ink); }
.pullquote { margin-block: clamp(2.5rem, 5vw, 3.5rem); }
.pullquote::before { content: ""; display: block; width: 64px; height: 12px; margin-bottom: var(--sp-4);
  background: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2044%208'%3E%3Cpath%20d='M1%204%20Q4.5%201.5%208%204%20T15%204%20T22%204%20T29%204%20T36%204%20T43%204'%20fill='none'%20stroke='%23D66853'%20stroke-width='1.5'%20stroke-linecap='round'/%3E%3C/svg%3E") left center / contain no-repeat; }
.pullquote p { max-width: 28ch; color: var(--ink); font-family: var(--serif); font-style: italic; font-weight: 600;
  font-size: clamp(1.35rem, 1.1rem + 1.2vw, 1.8rem); line-height: 1.3; letter-spacing: -0.015em; }
.takeaways { margin-block: clamp(2.5rem, 5vw, 3.5rem); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface-2); padding: clamp(1.25rem, 2.6vw, 1.9rem); }
.takeaways h2 { margin: 0 0 var(--sp-4); font-family: var(--sans); font-weight: 700; font-size: 1.05rem; }
.takeaways ul { display: flex; flex-direction: column; gap: var(--sp-3); list-style: none; padding: 0; }
.takeaways li { display: flex; gap: var(--sp-3); align-items: flex-start; color: var(--ink-soft); font-size: var(--fs-body); line-height: 1.55; }
.takeaways li .lucide { width: 17px; height: 17px; margin-top: 4px; color: var(--terracotta); flex: none; }
.share-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-3); margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.share-row .lbl { color: var(--muted); font-size: var(--fs-xs); font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.share-pill { display: inline-flex; align-items: center; gap: .4rem; border: 1px solid var(--line-strong); border-radius: var(--r-pill);
  padding: .5rem .85rem; color: var(--terracotta-text); font-size: var(--fs-sm); font-weight: 700; text-decoration: none;
  transition: background-color .2s var(--ease-out), color .2s var(--ease-out), border-color .2s var(--ease-out); }
.share-pill:hover { border-color: var(--ink); background: var(--ink); color: var(--on-ink); }
.share-pill .lucide { width: 15px; height: 15px; }
.author-box { display: flex; gap: var(--sp-4); align-items: flex-start; margin-top: clamp(2rem, 4vw, 3rem); border-block: 1px solid var(--line); padding-block: var(--sp-6); }
.author-box img { width: 64px; height: 64px; border: 1px solid var(--line); border-radius: 50%; object-fit: cover; object-position: center 18%; flex: none; }
.author-box .who { font-weight: 700; }
.author-box p { margin-top: var(--sp-2); max-width: 52ch; color: var(--ink-soft); font-size: var(--fs-sm); line-height: 1.6; }
.author-box a { color: var(--terracotta-text); text-decoration: none; }
.author-box a:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) { .post-art { aspect-ratio: 16 / 10; } }

/* ============================================================
   LEGAL DOC (prose) — shared by privacy + terms
   ============================================================ */
.doc-hero h1 { margin-top: var(--sp-6); max-width: 20ch; }
.doc-meta { margin-top: var(--sp-4); color: var(--muted); font-size: var(--fs-sm); }
.doc-note { margin-top: var(--sp-6); border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface-2); padding: var(--sp-4) var(--sp-6); color: var(--ink-soft); font-size: var(--fs-sm); line-height: 1.6; }
.doc-note strong { color: var(--ink); }
.doc { margin-top: clamp(2rem, 4vw, 3rem); }
.doc h2 { margin-top: clamp(2rem, 4vw, 3rem); font-size: clamp(1.35rem, 1.1rem + 1vw, 1.7rem); }
.doc p { margin-top: var(--sp-4); color: var(--ink-soft); line-height: 1.7; }
.doc ul { display: flex; flex-direction: column; gap: var(--sp-2); margin-top: var(--sp-4); padding-left: 1.25rem; color: var(--ink-soft); line-height: 1.7; }
.doc li::marker { color: var(--terracotta); }
.doc a { color: var(--terracotta-text); text-decoration: underline; text-underline-offset: 3px; }
.doc strong { color: var(--ink); }
