/* ============================================================================
   Ridgecap — marketing site (ridgecap.app apex)
   Static CSS, no build step. Tokens mirror the closeout app's Copper &
   Graphite system (src/styles/tokens.css) so the site and the product read as
   one brand. Marketing type is deliberately LARGER than the app's dense scale.

   The page commits to one look — graphite ink on paper, with dark bands. It
   does not follow prefers-color-scheme: a marketing surface is a fixed
   impression, not a workspace someone lives in all day.
   ========================================================================== */

:root {
  /* Ink & paper */
  --ink: #16181d;
  --ink-deep: #101114;
  --paper: #f6f6f8;
  --surface: #ffffff;
  --sunken: #efeff2;
  --hairline: #e2e3e8;
  --hairline-strong: #d4d5db;

  --body: #464956;
  --muted: #6f7280;

  /* Brand copper — light surfaces take the darker mix, dark bands the burnt one */
  --copper: #a85c2e;
  --copper-hover: #8c4a23;
  /* Copper as SMALL TEXT on a light surface needs one step darker than the fill
     colour: #a85c2e measures 4.32:1 on the sunken band (--sunken), which fails
     AA for 12–13px type. #8c4a23 (copper-600) clears it at ~6.4:1 and is still
     inside the brand ramp. Fills — the chevron bullets, the ridge cap, the
     accent dot — keep --copper, where contrast is not a legibility question. */
  --copper-text: #8c4a23;
  /* Copper type on the copper WASH (not on paper) needs one step darker again:
     #8c4a23 on #f9f0e9 measures 4.16:1, which fails AA for an 11px uppercase
     chip. #703a1b (copper-700) clears it. */
  --copper-deep: #703a1b;
  --copper-dark: #c96a3c;      /* the AA-safe accent on graphite */
  --copper-dark-hover: #d67e4d;
  --copper-wash: #f9f0e9;

  /* On-dark neutrals, lifted straight from the app's dark theme */
  --d-surface: #16181d;
  --d-raised: #1d2026;
  --d-hairline: #292d36;
  --d-hairline-strong: #3d424e;
  --d-text: #f0f0f2;
  --d-body: #b9bcc4;
  --d-muted: #878b96;
  --d-track: #474e5c;

  --font-display: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-sans: 'Roboto', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-label: 'Work Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* 4px rhythm — every gap below is a step off this scale, never eyeballed */
  --s1: 4px;  --s2: 8px;   --s3: 12px;  --s4: 16px;  --s5: 24px;
  --s6: 32px; --s7: 48px;  --s8: 64px;  --s9: 96px;  --s10: 128px;

  /* Three radii with distinct jobs: chips, panels, and the big cards */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 14px;

  --ease: cubic-bezier(0.2, 0, 0, 1);
  --dur: 180ms;

  --shell: 1160px;
}

/* ---------- Reset ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.025em;
  line-height: 1.08;
  font-weight: 700;
}
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; }
}

/* Focus: a copper ring, visible on both paper and graphite */
:where(a, button):focus-visible {
  outline: 2px solid var(--copper-dark);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

.skip {
  position: absolute; left: -9999px; top: var(--s3);
  background: var(--ink); color: #fff; padding: var(--s3) var(--s4);
  border-radius: var(--r-md); z-index: 60; font-size: 0.9375rem;
}
.skip:focus { left: var(--s5); }

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--s5);
}

/* ---------- Shared type ---------------------------------------------------- */
.eyebrow {
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper-text);
  margin-bottom: var(--s4);
}
/* Every dark surface must be listed here. --copper-text is tuned for paper and
   measures 2.8:1 on graphite — adding a dark panel without adding it to this
   selector silently produces an unreadable eyebrow (the 404 did exactly that). */
.band--dark .eyebrow, .hero .eyebrow, .notfound .eyebrow { color: var(--copper-dark); }

h1 {
  font-size: clamp(2.4rem, 5.6vw, 4.05rem);
  letter-spacing: -0.035em;
  line-height: 1.03;
}
h2 { font-size: clamp(1.85rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.1875rem; font-weight: 600; letter-spacing: -0.015em; line-height: 1.3; }

.lede {
  font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
  line-height: 1.62;
  max-width: 56ch;
}

/* ---------- Logo ----------------------------------------------------------- */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--d-text);
  text-decoration: none;
}
.logo__mark { height: 26px; width: auto; }
.logo__word { height: 15px; width: auto; }
.logo--sm .logo__mark { height: 22px; }
.logo--sm .logo__word { height: 13px; }

/* ---------- Buttons -------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.9375rem;
  line-height: 1;
  padding: 14px 22px;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease),
              color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.btn--accent { background: var(--copper-dark); color: #16181d; font-weight: 500; }
.btn--accent:hover { background: var(--copper-dark-hover); }
.btn--accent:active { transform: translateY(1px); }
.btn--lg { padding: 16px 28px; font-size: 1rem; }

.btn--quiet { color: var(--d-text); border-color: var(--d-hairline-strong); }
.btn--quiet:hover { border-color: var(--d-text); background: rgba(255,255,255,0.04); }
.btn--quiet .arrow { width: 16px; height: 16px; transition: transform var(--dur) var(--ease); }
.btn--quiet:hover .arrow { transform: translateX(3px); }

.btn--ghost { color: var(--d-body); border-color: var(--d-hairline-strong); }
.btn--ghost:hover { color: var(--d-text); border-color: var(--d-text); }
.btn--sm { padding: 9px 16px; font-size: 0.875rem; }

.cta-row { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s6); }

/* ---------- Nav ------------------------------------------------------------ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.nav.is-stuck {
  background: rgba(16, 17, 20, 0.88);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--d-hairline);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: var(--s5);
}
.nav__links { display: flex; align-items: center; gap: var(--s6); }
.nav__links > a:not(.btn) {
  font-size: 0.9375rem;
  color: var(--d-body);
  text-decoration: none;
  transition: color var(--dur) var(--ease);
  position: relative;
}
.nav__links > a:not(.btn)::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: -6px;
  height: 1.5px; background: var(--copper-dark);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.nav__links > a:not(.btn):hover { color: var(--d-text); }
.nav__links > a:not(.btn):hover::after { transform: scaleX(1); }

/* The product links are the whole point of the nav now, so they survive much
   further down than a marketing anchor list would. Below 560px only the logo
   and Sign in remain — the footer carries both products on every page. */
@media (max-width: 560px) {
  .nav__links > a:not(.btn) { display: none; }
}
@media (max-width: 720px) {
  .nav__links { gap: var(--s5); }
}

/* ---------- Hero ----------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink-deep);
  color: var(--d-body);
  padding-block: clamp(var(--s8), 9vw, 132px) clamp(var(--s9), 11vw, 152px);
  margin-top: -74px;
  padding-top: calc(74px + clamp(var(--s8), 9vw, 132px));
  /* A drafting grid, barely there — construction paper, not a gradient blob */
  background-image:
    linear-gradient(rgba(255,255,255,0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.028) 1px, transparent 1px);
  background-size: 68px 68px;
}
.hero h1 { color: var(--d-text); }
.hero .lede { color: var(--d-body); margin-top: var(--s5); }

/* The mark, blown up and bled off the edge — the one big brand gesture */
.hero__ghost {
  position: absolute;
  right: -14%;
  bottom: -24%;
  width: 62%;
  height: auto;
  color: #ffffff;
  opacity: 0.028;
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(var(--s7), 6vw, 88px);
  align-items: center;
}
.hero__note {
  margin-top: var(--s5);
  font-size: 0.875rem;
  color: var(--d-muted);
}

/* ---------- Product mock --------------------------------------------------- */
.mock {
  background: var(--d-surface);
  border: 1px solid var(--d-hairline);
  border-radius: var(--r-lg);
  box-shadow: 0 2px 4px rgba(0,0,0,0.28), 0 28px 64px rgba(0,0,0,0.42);
  overflow: hidden;
  font-size: 0.875rem;
}
.mock__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--s4);
  padding: var(--s5) var(--s5) var(--s4);
  border-bottom: 1px solid var(--d-hairline);
  background: var(--d-raised);
}
.mock__project {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--d-text);
  letter-spacing: -0.01em;
}
.mock__meta { color: var(--d-muted); font-size: 0.8125rem; margin-top: 3px; }
.mock__id {
  font-family: var(--font-label);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--d-body);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--d-hairline);
  border-radius: var(--r-sm);
  padding: 4px 8px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.mock__meter { padding: var(--s4) var(--s5) var(--s5); }
.mock__meter-row {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: var(--s2);
}
.mock__meter-label {
  font-family: var(--font-label); font-weight: 600; font-size: 0.6875rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--d-muted);
}
.mock__meter-val { color: var(--d-text); font-weight: 500; font-variant-numeric: tabular-nums; }
.track { height: 6px; background: var(--d-track); border-radius: 999px; overflow: hidden; }
.track__fill { display: block; height: 100%; background: var(--copper-dark); border-radius: 999px; }

.mock__rows { border-top: 1px solid var(--d-hairline); }
.mock__rows li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--s3);
  padding: 13px var(--s5);
  border-bottom: 1px solid var(--d-hairline);
}
.mock__rows li:last-child { border-bottom: 0; }
.row__div {
  font-family: var(--font-label); font-weight: 600; font-size: 0.75rem;
  color: var(--d-muted); font-variant-numeric: tabular-nums;
}
.row__doc { color: var(--d-text); min-width: 0; }
.row__doc em {
  display: block; font-style: normal; color: var(--d-muted);
  font-size: 0.8125rem; margin-top: 2px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.pill {
  font-family: var(--font-label); font-weight: 600; font-size: 0.6875rem;
  letter-spacing: 0.04em; padding: 4px 9px; border-radius: 999px;
  border: 1px solid; white-space: nowrap;
}
.pill--ok     { background: #122a1c; border-color: #1f4a32; color: #86e0a8; }
.pill--review { background: #10283a; border-color: #1c4560; color: #8ecdf0; }
.pill--open   { background: #2d2708; border-color: #53470f; color: #e6cd6b; }
/* "Not arrived" has to read louder than "short-handed" — it is the one row on
   the Roster screen that needs someone to do something about it this morning. */
.pill--late   { background: #331a1e; border-color: #5c2a30; color: #f5a3a3; }

.mock__foot {
  display: flex; align-items: center; gap: var(--s2);
  padding: var(--s4) var(--s5);
  border-top: 1px solid var(--d-hairline);
  background: var(--d-raised);
  color: var(--d-muted);
  font-size: 0.8125rem;
}
.dot { width: 6px; height: 6px; border-radius: 999px; background: var(--copper-dark); flex: none; }

/* ---------- Product family: cards, chips, breadcrumb, product head --------- */

/* The home hero's copy block is type-led and sits above the cards, so it gets a
   wider measure than the two-column product-page hero. */
.hero__copy--home { max-width: 46rem; }
.hero__copy--home .lede { max-width: 62ch; }
.hero__note--home { margin-top: var(--s6); }

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

.pgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s4);
  margin-top: clamp(var(--s7), 6vw, 72px);
}

/* A whole product card is one link. On the graphite hero it reads as a raised
   panel; the copper edge on hover is the only accent it gets. */
.pcard {
  display: flex;
  flex-direction: column;
  gap: var(--s3);
  padding: var(--s6);
  background: var(--d-surface);
  border: 1px solid var(--d-hairline);
  border-radius: var(--r-lg);
  color: var(--d-body);
  text-decoration: none;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease),
              transform var(--dur) var(--ease);
}
.pcard:hover {
  border-color: var(--copper-dark);
  background: var(--d-raised);
  transform: translateY(-2px);
}
.pcard__top { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); }
.pcard__icon { width: 30px; height: 30px; color: var(--d-text); flex: none; }
.pcard h3 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--d-text);
  margin-top: var(--s1);
}
.pcard__what { font-size: 1rem; max-width: 42ch; }
.pcard__facts {
  display: grid;
  gap: var(--s2);
  margin-top: var(--s2);
  padding-top: var(--s4);
  border-top: 1px solid var(--d-hairline);
}
.pcard__facts li {
  position: relative;
  padding-left: var(--s4);
  font-size: 0.9375rem;
  color: var(--d-muted);
  line-height: 1.5;
}
.pcard__facts li::before {
  content: '';
  position: absolute; left: 0; top: 8px;
  width: 7px; height: 9px;
  background: var(--copper-dark);
  clip-path: polygon(50% 0, 100% 47%, 50% 100%, 0 47%);
}
.pcard__go {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  margin-top: auto;
  padding-top: var(--s5);
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--d-text);
}
.pcard__go .arrow { width: 16px; height: 16px; transition: transform var(--dur) var(--ease); }
.pcard:hover .pcard__go { color: var(--copper-dark-hover); }
.pcard:hover .pcard__go .arrow { transform: translateX(4px); }

/* The four platform principles reuse the grid but sit on paper as .cell */
.pgrid--principles { margin-top: 0; }

/* Cross-link card at the foot of a product page — one card, full width, light */
.alsoband { padding-block: clamp(var(--s7), 6vw, 80px); }
.pcard--also {
  background: var(--surface);
  border-color: var(--hairline);
  color: var(--body);
}
.pcard--also:hover { background: var(--surface); border-color: var(--copper); }
.pcard--also .pcard__icon { color: var(--ink); }
.pcard--also h3 { color: var(--ink); font-size: 1.3125rem; }
.pcard--also .pcard__what { max-width: 62ch; }
.pcard--also .pcard__go { color: var(--copper-text); padding-top: var(--s4); }
.pcard--also:hover .pcard__go { color: var(--copper-hover); }

/* Status chips. "Early access" carries the accent; "In development" stays
   deliberately neutral — a product that isn't shippable shouldn't wear the
   brand colour and read as available. */
.chip {
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid;
  white-space: nowrap;
}
.chip--live { background: #2e1d13; border-color: #5c3a24; color: #e0925f; }
.chip--soon { background: rgba(255,255,255,0.04); border-color: var(--d-hairline-strong); color: var(--d-muted); }
.pcard--also .chip--live { background: var(--copper-wash); border-color: #e3bfa0; color: var(--copper-deep); }
/* --muted on --sunken is 4.16:1 — fine for a paragraph, NOT for an 11px
   uppercase chip. --body clears AA and still reads quieter than the live chip,
   which carries colour rather than just weight. */
.pcard--also .chip--soon { background: var(--sunken); border-color: var(--hairline-strong); color: var(--body); }

/* Breadcrumb + product header on a product page hero */
.crumb {
  display: flex;
  align-items: center;
  gap: var(--s2);
  font-size: 0.8125rem;
  color: var(--d-muted);
  margin-bottom: var(--s5);
}
.crumb a { color: var(--d-muted); text-decoration: none; transition: color var(--dur) var(--ease); }
.crumb a:hover { color: var(--d-text); }
.crumb__here { color: var(--d-body); }

.producthead {
  display: flex;
  align-items: center;
  gap: var(--s3);
  margin-bottom: var(--s4);
}
.producthead__icon { width: 26px; height: 26px; color: var(--d-text); flex: none; }
.producthead .eyebrow { margin-bottom: 0; }

/* Current page in the nav */
.nav__links > a.is-current { color: var(--d-text); }
.nav__links > a.is-current::after { transform: scaleX(1); }

/* ---------- Bands ---------------------------------------------------------- */
.band { padding-block: clamp(var(--s8), 8vw, 116px); }
.band--paper { background: var(--sunken); }
.band--dark { background: var(--ink); color: var(--d-body); }
.band--dark h2 { color: var(--d-text); }
.band__title { max-width: 22ch; margin-bottom: var(--s8); }

/* ---------- The ridge rule — the signature motif --------------------------- */
.ridge {
  display: flex;
  align-items: center;
  gap: var(--s4);
  margin-bottom: clamp(var(--s7), 6vw, 80px);
}
.ridge--center { margin-bottom: var(--s6); }
.ridge__line { flex: 1; height: 1px; background: var(--hairline-strong); }
.band--dark .ridge__line { background: var(--d-hairline-strong); }
.ridge__peak { width: 72px; height: 22px; flex: none; overflow: visible; }
.ridge__peak path {
  fill: none;
  stroke: var(--hairline-strong);
  stroke-width: 1.5;
  stroke-linecap: square;
}
.ridge__peak .cap { fill: var(--copper); stroke: none; }
.band--dark .ridge__peak path { stroke: var(--d-hairline-strong); }
.band--dark .ridge__peak .cap { fill: var(--copper-dark); }

/* ---------- Editorial split ------------------------------------------------ */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(var(--s6), 5vw, 72px);
  align-items: end;
  margin-bottom: clamp(var(--s7), 6vw, 80px);
}
.split__lead h2 { max-width: 17ch; }
.split__sub { max-width: 44ch; }

/* ---------- Bento — one wide cell, two narrow. Not three in a row ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s4);
}
.cell {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: var(--s6) var(--s6) calc(var(--s6) + 4px);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.cell:hover { border-color: var(--hairline-strong); box-shadow: 0 1px 2px rgba(20,22,26,.04), 0 10px 28px rgba(20,22,26,.06); }
.cell--wide { grid-column: 1 / -1; }
.cell--wide h3 { font-size: 1.5rem; font-weight: 700; max-width: 24ch; }
.cell--wide p { max-width: 68ch; }
.cell h3 { margin-bottom: var(--s3); max-width: 26ch; }
.cell p { font-size: 1rem; }

/* The copper cap, reused as a bullet — the motif at the smallest size */
.chev {
  display: block;
  width: 13px; height: 18px;
  margin-bottom: var(--s4);
  background: var(--copper);
  clip-path: polygon(50% 0, 100% 47%, 50% 100%, 0 47%);
}

/* ---------- Steps ---------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s5);
}
.step {
  display: flex;
  flex-direction: column;
  gap: var(--s4);
  padding-top: var(--s5);
  border-top: 2px solid var(--ink);
}
/* Stagger: each step sits a little lower than the last, like a roof pitch */
.steps .step:nth-child(2) { margin-top: var(--s6); }
.steps .step:nth-child(3) { margin-top: calc(var(--s6) * 2); }
.step__n {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  color: var(--copper-text);
  font-variant-numeric: tabular-nums;
}
.step h3 { margin-bottom: var(--s3); }
.step p { font-size: 1rem; max-width: 40ch; }

/* ---------- Where it fits -------------------------------------------------- */
.fit {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(var(--s6), 5vw, 80px);
}
.fit h2 { line-height: 1.1; }
.fit__body p { max-width: 58ch; }
.ticks { margin-top: var(--s6); display: grid; gap: var(--s4); }
.ticks li {
  position: relative;
  padding-left: var(--s5);
  color: var(--d-body);
  font-size: 1rem;
  border-top: 1px solid var(--d-hairline);
  padding-top: var(--s4);
}
.ticks li::before {
  content: '';
  position: absolute;
  left: 0; top: calc(var(--s4) + 7px);
  width: 9px; height: 12px;
  background: var(--copper-dark);
  clip-path: polygon(50% 0, 100% 47%, 50% 100%, 0 47%);
}

/* ---------- CTA ------------------------------------------------------------ */
.band--cta { background: var(--paper); }
.cta { max-width: 660px; margin-inline: auto; text-align: center; }
.cta h2 { margin-bottom: var(--s4); }
.cta > p { margin-inline: auto; max-width: 52ch; }
.cta .btn { margin-top: var(--s6); }
.cta__mail { margin-top: var(--s5); font-size: 0.9375rem; color: var(--muted); }
.cta__mail a { color: var(--copper-text); text-decoration: none; border-bottom: 1px solid transparent; }
.cta__mail a:hover { border-bottom-color: var(--copper-text); }

/* ---------- 404 ------------------------------------------------------------ */
/* Its own full-height graphite panel rather than a hero variant: there is no
   content below it, so the page needs to fill the viewport or it reads as a
   broken fragment on a tall screen. */
.notfound {
  background: var(--ink-deep);
  color: var(--d-body);
  min-height: calc(100vh - 74px - 168px);
  display: flex;
  align-items: center;
  padding-block: clamp(var(--s8), 10vw, 132px);
  background-image:
    linear-gradient(rgba(255,255,255,0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.028) 1px, transparent 1px);
  background-size: 68px 68px;
}
.notfound__inner { max-width: 620px; }
.notfound h1 { color: var(--d-text); font-size: clamp(2rem, 4.4vw, 3.1rem); }
.notfound .lede { margin-top: var(--s5); }
.notfound__cta { margin-bottom: var(--s6); }
.nowrap { white-space: nowrap; color: var(--d-body); }

/* ---------- Footer --------------------------------------------------------- */
.foot {
  background: var(--ink-deep);
  color: var(--d-muted);
  padding-block: var(--s7);
  border-top: 1px solid var(--d-hairline);
}
.foot__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--s5);
}
.foot__links { display: flex; gap: var(--s6); }
.foot__links a {
  font-size: 0.9375rem; color: var(--d-body); text-decoration: none;
  transition: color var(--dur) var(--ease);
}
.foot__links a:hover { color: var(--d-text); }
.foot__legal { font-size: 0.8125rem; }

/* ---------- Responsive ----------------------------------------------------- */
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: var(--s8); }
  .hero__ghost { width: 90%; right: -26%; bottom: -8%; }
  .split { grid-template-columns: minmax(0, 1fr); align-items: start; gap: var(--s5); }
  .fit { grid-template-columns: minmax(0, 1fr); gap: var(--s6); }
  .steps { grid-template-columns: minmax(0, 1fr); gap: var(--s6); }
  .steps .step:nth-child(2), .steps .step:nth-child(3) { margin-top: 0; }
  .step p { max-width: 56ch; }
}

@media (max-width: 860px) {
  /* Two product cards side by side stop working well before the hero does —
     they carry a fact list each, so they need the full measure sooner. */
  .pgrid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 680px) {
  .bento { grid-template-columns: minmax(0, 1fr); }
  .pcard { padding: var(--s5); }
  .pcard h3 { font-size: 1.3125rem; }
  .producthead { flex-wrap: wrap; gap: var(--s2) var(--s3); }
  .cell { padding: var(--s5); }
  .cell--wide h3 { font-size: 1.3125rem; }
  .cta-row .btn { width: 100%; justify-content: center; }
  .foot__inner { flex-direction: column; align-items: flex-start; gap: var(--s4); }
  .mock__rows li { grid-template-columns: 26px minmax(0, 1fr); row-gap: var(--s2); }
  .mock__rows .pill { grid-column: 2; justify-self: start; }
}
