/* =====================================================================
   micromat — "Accepted Stamp" direction
   Light ledger-paper. Statutory, document-crisp. One bold beat:
   the Acceptance Receipt. Everything else quiet and disciplined.
   ===================================================================== */

:root {
  /* --- Palette (locked hexes) --- */
  --ledger-paper:    #F6F7F3; /* page bg — a hair warmer/greener than grey */
  --statement-white: #FCFDFB; /* raised surfaces */
  --filing-ink:      #10181B; /* headings, dark band, near-black text */
  --body-slate:      #414C53; /* body copy */
  --accepted-emerald:#0F6B45; /* primary / action / ticks / links / stamp */
  --validation-mint: #3FB07C; /* live accents — ONLY inside the signature */
  --rule-hairline:   #D2D9CF; /* the one disciplined hairline weight */
  --ledger-line:     rgba(16, 24, 27, 0.10); /* faint ruled-paper lines in the hero */

  /* derived */
  --ink-on-dark:     #EEF1EC;
  --slate-on-dark:   #A9B4B0;
  --hairline-on-dark: rgba(255,255,255,0.12);

  /* --- Type --- */
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* --- Modular minor-third (1.2) scale on an 8px baseline --- */
  --t-xs:   0.694rem;  /* 11.1px */
  --t-sm:   0.833rem;  /* 13.3px */
  --t-base: 1rem;      /* 16px   */
  --t-md:   1.2rem;
  --t-lg:   1.44rem;
  --t-xl:   1.728rem;
  --t-2xl:  2.074rem;
  --t-3xl:  2.488rem;
  --t-4xl:  2.986rem;
  --t-5xl:  3.583rem;

  /* --- Rhythm (8px baseline) --- */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 64px;
  --space-7: 96px;
  --space-8: 128px;

  --shell-max: 1160px;
  --shell-pad: 24px;

  --radius-lg: 14px; /* the receipt — the one soft 'object' exception */

  --ease-out: cubic-bezier(0.16, 0.84, 0.3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ledger-paper);
  color: var(--body-slate);
  font-family: var(--body);
  font-size: var(--t-base);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, p, ul, ol, dl, figure, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--accepted-emerald); text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }

/* ---------- Accessibility ---------- */
.skip-link {
  position: absolute; left: 16px; top: -48px;
  background: var(--filing-ink); color: var(--ink-on-dark);
  padding: 10px 16px; border-radius: 8px; z-index: 200;
  transition: top 0.2s var(--ease-out);
}
.skip-link:focus { top: 16px; }

:focus-visible {
  outline: 2px solid var(--accepted-emerald);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Layout shell ---------- */
.shell {
  width: 100%;
  max-width: var(--shell-max);
  margin-inline: auto;
  padding-inline: var(--shell-pad);
}

/* ---------- Typographic primitives ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: var(--t-xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accepted-emerald);
  margin: 0 0 var(--space-2);
}

.section-title {
  font-family: var(--display);
  font-weight: 560;
  font-size: clamp(var(--t-2xl), 4.4vw, var(--t-4xl));
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--filing-ink);
}

.section-sub {
  font-family: var(--display);
  font-weight: 340;
  font-size: clamp(var(--t-md), 2vw, var(--t-lg));
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: var(--body-slate);
  max-width: 56ch;
  margin-top: var(--space-2);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 4px;
  font-size: var(--t-sm);
  font-weight: 500;
  letter-spacing: 0.005em;
  border: 1px solid transparent;
  transition: transform 0.18s var(--ease-out),
              background-color 0.18s var(--ease-out),
              border-color 0.18s var(--ease-out),
              color 0.18s var(--ease-out);
}
.btn-primary {
  background: var(--accepted-emerald);
  color: #fff;
}
.btn-primary:hover {
  background: #0a5234;      /* darken */
  transform: translateY(1px); /* 1px-honest nudge */
}
.btn-ghost {
  background: transparent;
  color: var(--filing-ink);
  border-color: var(--rule-hairline);
}
.btn-ghost:hover {
  border-color: var(--accepted-emerald);
  color: var(--accepted-emerald);
  transform: translateY(1px);
}
.btn-ghost span { transition: transform 0.18s var(--ease-out); }
.btn-ghost:hover span { transform: translateX(3px); }

/* =====================================================================
   HEADER / NAV
   ===================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 247, 243, 0.82);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--rule-hairline);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--filing-ink);
}
.brand-glyph {
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 8px;
  background: var(--accepted-emerald);
  color: #fff;
}
.brand-word {
  font-family: var(--display);
  font-weight: 560;
  font-size: var(--t-lg);
  letter-spacing: -0.02em;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-5);
}
.nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}
.nav-list a {
  color: var(--body-slate);
  font-size: var(--t-sm);
  font-weight: 500;
  position: relative;
  padding: 4px 0;
}
.nav-list a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--accepted-emerald);
  transition: width 0.22s var(--ease-out);
}
.nav-list a:hover { color: var(--filing-ink); }
.nav-list a:hover::after { width: 100%; }

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid var(--rule-hairline);
  border-radius: 10px;
  padding: 0 11px;
}
.menu-bar {
  display: block;
  height: 1.5px;
  width: 100%;
  background: var(--filing-ink);
  transition: transform 0.25s var(--ease-out), opacity 0.2s var(--ease-out);
}
.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  border-bottom: 1px solid var(--rule-hairline);
  background: var(--ledger-paper);
  overflow: hidden;
}
.mobile-menu[hidden] { display: none; }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  padding-block: var(--space-3);
}
.mobile-nav a {
  color: var(--filing-ink);
  font-size: var(--t-md);
  font-weight: 500;
  padding: 12px 4px;
  border-bottom: 1px solid var(--rule-hairline);
}
.mobile-nav a:last-of-type { border-bottom: none; }
.mobile-cta {
  margin-top: var(--space-2);
  justify-content: center;
  color: #fff;
}

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(var(--space-6), 9vw, var(--space-8));
}

/* faint horizontal ledger rules (32px) — the page reads as ruled accounting
   paper. Felt at a glance on bare paper; fades to nothing under the receipt
   column and toward the foot so it never sits behind running text. */
.ledger-rules {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 31px,
    var(--ledger-line) 31px,
    var(--ledger-line) 32px
  );
  background-position: 0 0;
  /* a quiet ruled-paper texture down the left of the hero: softened toward the
     top behind the eyebrow, faded out to the right under the receipt column */
  -webkit-mask-image:
    linear-gradient(to right, #000 0 50%, transparent 78%),
    linear-gradient(to bottom, transparent 0, #000 32%, #000 100%);
  -webkit-mask-composite: source-in;
          mask-image:
    linear-gradient(to right, #000 0 50%, transparent 78%),
    linear-gradient(to bottom, transparent 0, #000 32%, #000 100%);
          mask-composite: intersect;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(var(--space-5), 6vw, var(--space-7));
  align-items: center;
}

.hero-title {
  font-family: var(--display);
  font-weight: 560;
  font-size: clamp(var(--t-4xl), 6.6vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--filing-ink);
  margin: var(--space-1) 0 var(--space-3);
  max-width: 14ch;
}
.hero-title .accent { color: var(--accepted-emerald); }

.lede {
  font-family: var(--display);
  font-weight: 340;
  font-size: clamp(var(--t-md), 1.7vw, var(--t-lg));
  line-height: 1.45;
  letter-spacing: -0.02em;
  color: var(--body-slate);
  max-width: 52ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-4);
}

.hero-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
  margin-top: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid var(--rule-hairline);
  max-width: 44ch;
}
.fact dt {
  font-family: var(--mono);
  font-size: var(--t-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accepted-emerald);
  margin-bottom: 4px;
}
.fact dd {
  font-size: var(--t-sm);
  line-height: 1.45;
  color: var(--filing-ink);
}

/* =====================================================================
   SIGNATURE — Acceptance Receipt
   ===================================================================== */
.hero-signature { position: relative; }

.receipt {
  position: relative;
  background: var(--statement-white);
  border: 1px solid var(--rule-hairline);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  box-shadow:
    0 1px 0 rgba(16, 24, 27, 0.02),
    0 18px 40px -28px rgba(16, 24, 27, 0.28);
  isolation: isolate;
}

/* mint perimeter keyline — traces once when accepted */
.receipt-keyline {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  pointer-events: none;
  z-index: 3;
}
.receipt-keyline::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--validation-mint), var(--accepted-emerald));
  /* keyline ring via mask */
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
          mask-composite: exclude;
  padding: 1px;
  /* draw via a sweeping conic reveal */
  opacity: 0;
  transition: opacity 0.3s ease;
}
.receipt[data-state="accepted"] .receipt-keyline::before {
  opacity: 1;
  animation: keyline-trace 0.9s var(--ease-out) forwards;
}
@keyframes keyline-trace {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 0 0 0); }
}

.receipt-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-2);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--rule-hairline);
}
.receipt-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.receipt-ref {
  font-family: var(--mono);
  font-size: var(--t-xs);
  letter-spacing: 0.02em;
  color: var(--body-slate);
}
.receipt-ref:first-child { color: var(--filing-ink); font-weight: 500; }

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: none;
  padding: 5px 11px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: var(--t-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--rule-hairline);
  color: var(--body-slate);
  background: var(--ledger-paper);
  transition: color 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}
.live-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--body-slate);
}
.live-pill[data-state="running"] .live-dot {
  background: transparent;
  border: 1.5px solid var(--validation-mint);
  animation: live-pulse 1.1s ease-in-out infinite;
}
.live-pill[data-state="accepted"] {
  color: var(--accepted-emerald);
  border-color: rgba(15, 107, 69, 0.7);
  background: rgba(63, 176, 124, 0.10);
}
.live-pill[data-state="accepted"] .live-dot { background: var(--accepted-emerald); }
@keyframes live-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.4; transform: scale(0.8); }
}

/* ----- check rows ----- */
.check-rows {
  display: flex;
  flex-direction: column;
  margin-top: var(--space-1);
}
.check-row {
  position: relative;
  display: grid;
  grid-template-columns: 22px 1fr auto;
  align-items: center;
  gap: var(--space-2);
  padding: 14px 0 15px;
}
/* the inked baseline rule beneath each row */
.check-rule {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--rule-hairline);
  overflow: hidden;
}
.check-rule::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accepted-emerald);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.55s var(--ease-out);
}
.check-row[data-done="true"] .check-rule::after { transform: scaleX(1); }

/* pending dot -> filled emerald tick */
.check-mark {
  position: relative;
  width: 22px; height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.check-mark::before { /* pending dot */
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  border: 1.5px solid var(--rule-hairline);
  background: var(--ledger-paper);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.check-mark::after { /* tick (drawn with clip) */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--accepted-emerald);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12.5l3.6 3.6L18 7.6' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 17px no-repeat,
               radial-gradient(circle, #000 99%, transparent 100%);
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12.5l3.6 3.6L18 7.6' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 17px no-repeat,
        radial-gradient(circle, #000 99%, transparent 100%);
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.22s var(--ease-out), transform 0.28s var(--ease-out);
}
.check-row[data-done="true"] .check-mark::before { opacity: 0; transform: scale(0.4); }
.check-row[data-done="true"] .check-mark::after  { opacity: 1; transform: scale(1); }

.check-label {
  font-size: var(--t-sm);
  font-weight: 500;
  color: var(--filing-ink);
}
.check-value {
  font-size: var(--t-sm);
  color: var(--body-slate);
  text-align: right;
}
.check-value.mono {
  font-family: var(--mono);
  font-size: var(--t-xs);
  letter-spacing: 0.04em;
  color: var(--filing-ink);
}
.check-row[data-done="true"] .check-value { color: var(--accepted-emerald); }
.check-row[data-done="true"] .check-value.mono { color: var(--filing-ink); }

/* ----- receipt footer / stamp ----- */
.receipt-foot {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid var(--rule-hairline);
  min-height: 78px;
}

.stamp {
  flex: none;
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  border: 2.5px solid var(--accepted-emerald);
  border-radius: 4px;
  color: var(--accepted-emerald);
  transform: rotate(-7deg) scale(0.9);
  opacity: 0;
  transition: opacity 0.01s;
}
.stamp-text {
  font-family: var(--mono);
  font-weight: 500;
  font-size: var(--t-sm);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.receipt[data-state="accepted"] .stamp {
  animation: stamp-press 0.42s cubic-bezier(0.2, 0.9, 0.25, 1) 0.25s both;
}
@keyframes stamp-press {
  0%   { opacity: 0; transform: rotate(-10deg) scale(1.18); }
  55%  { opacity: 1; transform: rotate(-6deg)  scale(0.965); }
  78%  { opacity: 1; transform: rotate(-7deg)  scale(1.015); }
  100% { opacity: 1; transform: rotate(-7deg)  scale(1); }
}

.receipt-summary { min-width: 0; }
.receipt-headline {
  font-family: var(--display);
  font-weight: 560;
  font-size: var(--t-lg);
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--filing-ink);
}
.receipt-sub {
  font-size: var(--t-sm);
  color: var(--body-slate);
  margin-top: 4px;
}
.receipt-stampmeta {
  font-family: var(--mono);
  font-size: var(--t-xs);
  letter-spacing: 0.02em;
  color: var(--body-slate);
  margin-top: 8px;
  opacity: 0;
  transition: opacity 0.4s ease 0.55s;
}
.receipt[data-state="accepted"] .receipt-stampmeta { opacity: 1; }

.receipt-rerun {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  margin-top: var(--space-3);
  padding: 12px 16px;
  border-radius: 4px;
  background: transparent;
  border: 1px solid var(--rule-hairline);
  color: var(--body-slate);
  font-family: var(--mono);
  font-size: var(--t-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: border-color 0.18s var(--ease-out), color 0.18s var(--ease-out), transform 0.18s var(--ease-out);
}
.receipt-rerun:hover {
  border-color: var(--accepted-emerald);
  color: var(--accepted-emerald);
  transform: translateY(1px);
}

/* =====================================================================
   CAPABILITIES — a static ledger index line.
   The receipt is the one moving beat; this stays still on purpose.
   ===================================================================== */
.cap-strip {
  border-block: 1px solid var(--rule-hairline);
  background: var(--statement-white);
}
.cap-list {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 0;
  row-gap: 6px;
  padding-block: 18px;
}
.cap-list li {
  font-family: var(--mono);
  font-size: var(--t-sm);
  letter-spacing: 0.04em;
  color: var(--filing-ink);
  white-space: nowrap;
}
/* leading separator (never strands a dot at the end of a wrapped line) */
.cap-list li + li::before {
  content: "·";
  color: var(--accepted-emerald);
  margin: 0 14px;
}

/* =====================================================================
   SECTIONS — shared rhythm & dividers
   ===================================================================== */
.section {
  padding-block: clamp(var(--space-6), 8vw, var(--space-8));
  border-bottom: 1px solid var(--rule-hairline);
}
.section-head { margin-bottom: var(--space-6); max-width: 64ch; }

/* ---------- Services bento ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2);
}
.tile {
  background: var(--statement-white);
  border: 1px solid var(--rule-hairline);
  border-radius: 4px;
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: box-shadow 0.2s var(--ease-out);
}
/* paper in a ledger does not levitate — hover inks a single top rule */
.tile:hover {
  box-shadow: inset 0 2px 0 var(--accepted-emerald);
}
.tile-feature {
  grid-column: span 2;
  grid-row: span 2;
  justify-content: flex-start;
}
.tile-wide { grid-column: span 3; padding: var(--space-3) var(--space-4); }

.tile-head {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-1);
}
.tile-tag {
  font-family: var(--mono);
  font-size: var(--t-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accepted-emerald);
  border: 1px solid rgba(15, 107, 69, 0.3);
  border-radius: 999px;
  padding: 3px 9px;
}
.tile-title {
  font-family: var(--display);
  font-weight: 560;
  font-size: var(--t-xl);
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--filing-ink);
}
.tile-feature .tile-title { font-size: var(--t-2xl); }
.tile-body {
  font-size: var(--t-base);
  color: var(--body-slate);
  margin-top: var(--space-2);
  max-width: 54ch;
}
.tile-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid var(--rule-hairline);
}
.tile-list li {
  position: relative;
  padding-left: 28px;
  font-size: var(--t-sm);
  color: var(--filing-ink);
  line-height: 1.5;
}
.tile-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 2px;
  width: 18px; height: 18px;
  background: var(--accepted-emerald);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.2 4.2L19 6.8' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.2 4.2L19 6.8' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- Process steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  /* close the ledger at the foot; each step rules its own top -> single
     hairlines at every internal seam, in every reflow (no doubling) */
  border-bottom: 1px solid var(--rule-hairline);
}
.step {
  padding: var(--space-3) var(--space-3) var(--space-3) 0;
  border-top: 1px solid var(--rule-hairline);
  position: relative;
}
.step + .step { padding-left: var(--space-3); border-left: 1px solid var(--rule-hairline); }
.step-num {
  font-family: var(--mono);
  font-size: var(--t-sm);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--accepted-emerald);
}
.step-title {
  font-family: var(--display);
  font-weight: 560;
  font-size: var(--t-lg);
  letter-spacing: -0.02em;
  color: var(--filing-ink);
  margin: var(--space-1) 0 6px;
}
.step-body {
  font-size: var(--t-sm);
  color: var(--body-slate);
}

/* =====================================================================
   APPROACH — dark filing-ink band
   ===================================================================== */
.approach {
  background: var(--filing-ink);
  border-bottom-color: var(--filing-ink);
}
.approach .eyebrow { color: var(--validation-mint); }
.approach .section-title { color: var(--ink-on-dark); }
.approach .section-sub { color: var(--slate-on-dark); }
/* emerald ring fails 3:1 on filing-ink; mint clears it (6.6:1) and is on-palette here */
.approach :focus-visible { outline-color: var(--validation-mint); }

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2);
}
.pillar {
  padding: var(--space-4);
  border: 1px solid var(--hairline-on-dark);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.02);
}
.pillar-mark {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 8px;
  background: rgba(63, 176, 124, 0.16);
  color: var(--validation-mint);
  margin-bottom: var(--space-2);
}
.pillar-title {
  font-family: var(--display);
  font-weight: 560;
  font-size: var(--t-lg);
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink-on-dark);
  margin-bottom: var(--space-1);
}
.pillar-body {
  font-size: var(--t-sm);
  color: var(--slate-on-dark);
  line-height: 1.6;
}

/* =====================================================================
   WHO IT'S FOR
   ===================================================================== */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2);
}
.aud-card {
  padding: var(--space-4) 0;
  border-top: 1px solid var(--rule-hairline);
}
.aud-title {
  font-family: var(--display);
  font-weight: 560;
  font-size: var(--t-xl);
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--filing-ink);
  margin-bottom: var(--space-1);
}
.aud-body {
  font-size: var(--t-base);
  color: var(--body-slate);
  max-width: 38ch;
}

/* =====================================================================
   CTA
   ===================================================================== */
.cta { border-bottom: none; }
.cta-inner { text-align: center; max-width: 60ch; margin-inline: auto; }
.cta .section-sub { margin-inline: auto; }
.cta-email {
  display: inline-block;
  position: relative;
  margin-top: var(--space-4);
  font-family: var(--display);
  font-weight: 560;
  font-size: clamp(var(--t-lg), 3vw, var(--t-2xl));
  letter-spacing: -0.02em;
  color: var(--accepted-emerald);
  overflow-wrap: anywhere;
}
.cta-email::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--accepted-emerald);
  transition: width 0.32s var(--ease-out);
}
.cta-email:hover::after, .cta-email:focus-visible::after { width: 100%; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer {
  background: var(--ledger-paper);
  border-top: 1px solid var(--rule-hairline);
  padding-block: var(--space-5);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2) var(--space-4);
  justify-content: space-between;
}
.brand-footer .brand-word { font-size: var(--t-md); }
.footer-legal {
  font-size: var(--t-sm);
  color: var(--body-slate);
  flex: 1 1 auto;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  font-size: var(--t-sm);
}
.footer-contact a { color: var(--accepted-emerald); }
.footer-contact a:hover { text-decoration: underline; }
.footer-copy { color: var(--body-slate); }

/* =====================================================================
   SCROLL REVEAL — single 14px rise + fade
   ===================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(14px);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity 0.48s var(--ease-out), transform 0.48s var(--ease-out);
}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 980px) {
  .nav { display: none; }
  .menu-toggle { display: flex; }

  .hero-inner { grid-template-columns: 1fr; gap: var(--space-5); }
  .hero-signature { order: 2; }
  .hero-title { max-width: 20ch; }

  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile-feature { grid-column: span 2; grid-row: auto; }
  .tile-wide { grid-column: span 2; }

  .steps { grid-template-columns: repeat(2, 1fr); }
  .step + .step { border-left: none; padding-left: 0; }
  .step:nth-child(even) { padding-left: var(--space-3); border-left: 1px solid var(--rule-hairline); }

  .pillars, .audience-grid { grid-template-columns: 1fr; }
  .audience-grid .aud-card { padding-block: var(--space-3); }
}

@media (max-width: 600px) {
  :root { --shell-pad: 20px; }

  .hero-facts { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .tile-feature, .tile-wide { grid-column: span 1; }

  .steps { grid-template-columns: 1fr; }
  .step, .step:nth-child(even) { padding-left: 0; border-left: none; }

  .receipt { padding: var(--space-3); }
  .receipt-head { flex-direction: column; }
  .live-pill { align-self: flex-start; }
  .receipt-foot { flex-direction: column; align-items: flex-start; gap: var(--space-2); }
  .stamp { width: 76px; height: 76px; }

  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-contact { align-items: flex-start; }
}

@media (max-width: 400px) {
  .hero-title { font-size: 2.5rem; }
}

/* =====================================================================
   REDUCED MOTION — full static, already-resolved end state
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  /* reveals shown immediately */
  .reveal { opacity: 1 !important; transform: none !important; }

  /* receipt presented already accepted */
  .check-row[data-row] .check-mark::before { opacity: 0; }
  .check-row[data-row] .check-mark::after  { opacity: 1; transform: scale(1); }
  .check-row[data-row] .check-rule::after  { transform: scaleX(1); }
  .check-row[data-row] .check-value { color: var(--accepted-emerald); }
  .check-row[data-row] .check-value.mono { color: var(--filing-ink); }

  .receipt .stamp { opacity: 1; transform: rotate(-7deg) scale(1); }
  .receipt .receipt-keyline::before { opacity: 1; clip-path: inset(0 0 0 0); }
  .receipt .receipt-stampmeta { opacity: 1; }
  .live-pill .live-dot { animation: none; }
}
