/* ============================================================
   Ancodet — ancodet.com corporate site
   Design key v1.0: ink on bone, accents caged in product cards,
   hairlines over shadows, facts over adjectives.

   One stylesheet for every page (index, privacy, terms).
   ============================================================ */

/* ---------- Fonts (self-hosted, variable, latin + latin-ext) ---------- */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("assets/fonts/manrope-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("assets/fonts/manrope-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("assets/fonts/source-sans-3-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("assets/fonts/source-sans-3-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("assets/fonts/jetbrains-mono-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("assets/fonts/jetbrains-mono-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root {
  /* Palette */
  --ink:        #13201C;  /* hero, footer, CTA */
  --bone:       #F2F1EA;  /* page canvas */
  --surface:    #FFFFFF;  /* cards, white bands */
  --hairline:   #DFDDD2;  /* borders */
  --hairline-strong: #C9C6B9;
  --ledger:     #1B8B6B;  /* Lumen accent ONLY */
  --terracotta: #C15F3C;  /* Aster accent ONLY */

  --heading:    #1C2322;  /* headings on light */
  --body:       #485351;  /* body on light */
  --caption:    #5F6A68;  /* captions on light */
  --on-ink:     #F2F1EA;  /* text on ink */
  --on-ink-body:#B8C4BE;  /* body text on ink */
  --on-ink-mut: #8FA39B;  /* captions on ink */
  --ink-line:   #2F3F39;  /* hairline on ink */

  /* Type */
  --f-display: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-body:    'Source Sans 3', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono:    'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  /* Rhythm */
  --wrap:    1200px;
  --gutter:  clamp(20px, 4vw, 32px);
  --section: clamp(72px, 10vw, 120px);
  --rail:    300px;        /* left column that carries every section heading */
  --r-card:  12px;
  --r-btn:   8px;
  --nav-h:   64px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--f-body);
  font-size: 18px;
  line-height: 1.65;
  color: var(--body);
  background: var(--bone);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
ul, ol { list-style: none; }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 4px;
}
.hero :focus-visible,
.footer :focus-visible { outline-color: var(--bone); }

::selection { background: var(--ink); color: var(--bone); }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  background: var(--ink);
  color: var(--on-ink);
  padding: 10px 16px;
  border-radius: var(--r-btn);
  font-weight: 600;
  font-size: 15px;
}
.skip:focus { top: 12px; }

.num { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }

/* ---------- Shared type ---------- */
.eyebrow {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--caption);
}
.eyebrow--on-ink { color: var(--on-ink-mut); }

.display {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(42px, 6.6vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--on-ink);
  text-wrap: balance;
}

.head {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(28px, 3.2vw, 36px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--heading);
  margin-top: 12px;
  text-wrap: balance;
}

.lede {
  margin-top: 16px;
  max-width: 46ch;
  font-size: 17px;
  line-height: 1.6;
  color: var(--body);
}

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  height: 52px;
  padding: 0 26px;
  border-radius: var(--r-btn);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn--sm { height: 40px; padding: 0 18px; font-size: 15px; }
.btn--ink  { background: var(--ink);  color: var(--on-ink); }
.btn--ink:hover  { background: #1F332C; }
.btn--bone { background: var(--bone); color: var(--ink); }
.btn--bone:hover { background: #FFFFFF; }
.btn--line { border-color: var(--hairline-strong); color: var(--ink); }
.btn--line:hover { background: var(--bone); border-color: var(--ink); }

.link-quiet { color: var(--body); font-weight: 500; font-size: 15px; }
.link-quiet:hover { color: var(--heading); text-decoration: underline; text-underline-offset: 4px; }

.link-arrow {
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 16px;
  color: var(--heading);
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  width: fit-content;
}
.link-arrow span { transition: transform .15s ease; display: inline-block; }
.link-arrow:hover span { transform: translateX(3px); }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }
.link-arrow--on-ink  { color: var(--on-ink); }
.link-arrow--finance    { color: #157256; }   /* ledger green, darkened for AA text contrast */
.link-arrow--entreprise { color: #A84E2E; }   /* terracotta, darkened for AA text contrast */

/* ============================================ NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--surface);
  border-bottom: 1px solid var(--hairline);
}
.nav__inner { height: var(--nav-h); display: flex; align-items: center; gap: 36px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand__mark { border-radius: 7px; }
.brand__word {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.03em;
  color: var(--heading);
}
.brand--on-ink .brand__word { color: var(--on-ink); }
.brand__mark--ink { border: 1px solid #3A4A44; }

.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links > a,
.nav__trigger {
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 15px;
  color: var(--body);
  background: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: var(--nav-h);
}
.nav__links > a:hover,
.nav__trigger:hover,
.nav__trigger[aria-expanded="true"] { color: var(--heading); }
.nav__trigger svg { transition: transform .15s ease; }
.nav__trigger[aria-expanded="true"] svg { transform: rotate(180deg); }

/* Products dropdown — two cards, not a mega-menu */
.nav__item { position: relative; }
.nav__menu {
  position: absolute;
  top: calc(100% - 6px);
  left: -20px;
  width: 560px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-card);
}
.nav__menu[hidden] { display: none; }
.menu-card {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  padding: 14px;
  border-radius: 8px;
  border: 1px solid transparent;
}
.menu-card:hover { background: var(--bone); border-color: var(--hairline); }
.menu-card img { border-radius: 8px; }
.menu-card strong {
  display: block;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--heading);
}
.menu-card span { display: block; font-size: 14px; line-height: 1.4; color: var(--caption); margin-top: 2px; }

.nav__cta { margin-left: auto; display: flex; align-items: center; gap: 20px; }

.nav__burger {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--hairline);
  border-radius: var(--r-btn);
  cursor: pointer;
}
.nav__burger span,
.nav__burger span::before,
.nav__burger span::after {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--heading);
  border-radius: 1px;
  transition: transform .18s ease, opacity .18s ease;
}
.nav__burger span { position: relative; }
.nav__burger span::before,
.nav__burger span::after { content: ""; position: absolute; left: 0; }
.nav__burger span::before { top: -5px; }
.nav__burger span::after  { top: 5px; }
.nav__burger[aria-expanded="true"] span { background: transparent; }
.nav__burger[aria-expanded="true"] span::before { transform: translateY(5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span::after  { transform: translateY(-5px) rotate(-45deg); }

.nav__sheet {
  border-top: 1px solid var(--hairline);
  background: var(--surface);
  padding: 8px var(--gutter) 20px;
}
.nav__sheet[hidden] { display: none; }
.nav__sheet a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--hairline);
  font-weight: 600;
  font-size: 17px;
  color: var(--heading);
}
.nav__sheet a small { font-weight: 400; font-size: 14px; color: var(--caption); text-align: right; }
.nav__sheet a:last-child { border-bottom: none; }

/* ============================================ HERO */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--on-ink);
  padding-block: clamp(64px, 9vw, 112px) clamp(64px, 9vw, 104px);
  overflow: hidden;
}
/* Ledger ruling — the page a SACCO keeps its books on. */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0, transparent 39px,
    rgba(242, 241, 234, 0.045) 39px, rgba(242, 241, 234, 0.045) 40px
  );
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: end;
}
.hero .display { margin-top: 22px; max-width: 11ch; }
.hero__lede {
  margin-top: 26px;
  max-width: 52ch;
  font-size: clamp(17px, 1.6vw, 19px);
  line-height: 1.65;
  color: var(--on-ink-body);
}
.hero__actions {
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

/* Facts, entered like ledger lines */
.facts { border-top: 1px solid var(--ink-line); }
.facts__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding: 15px 0;
  border-bottom: 1px solid var(--ink-line);
}
.facts dt { font-size: 15px; line-height: 1.4; color: var(--on-ink-mut); }
.facts dd {
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: 15px;
  line-height: 1.4;
  color: var(--on-ink);
  text-align: right;
  white-space: nowrap;
}
.facts dd.facts__big { font-size: 22px; letter-spacing: -0.02em; }

/* ============================================ SECTIONS */
.section { padding-block: var(--section); }
.section--bone  { background: var(--bone); }
.section--white { background: var(--surface); border-block: 1px solid var(--hairline); }

/* Two bone sections in a row read as one band */
.section--join { padding-top: 0; }

/* Every section shares one left axis: heading in the rail, content beside it */
.split {
  display: grid;
  grid-template-columns: var(--rail) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.section__head { margin-bottom: clamp(36px, 5vw, 56px); }
.section__head--row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
}

/* ---------- Product cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card__bar { display: block; height: 6px; }
.card--finance    .card__bar { background: var(--ledger); }
.card--entreprise .card__bar { background: var(--terracotta); }
.card__pad { padding: clamp(22px, 2.6vw, 32px); display: flex; flex-direction: column; flex: 1; }
.card__head { display: flex; align-items: center; gap: 14px; }
.card__mark { border-radius: 9px; }
.card__name {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--heading);
}
.card__tag { font-size: 15px; line-height: 1.4; color: var(--caption); }

.shot {
  margin: 24px 0;
  border: 1px solid var(--hairline);
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 560 / 340;
  background: var(--bone);
}
.shot svg, .shot img { width: 100%; height: 100%; object-fit: cover; }
.shot text { font-family: var(--f-body); }
.shot .m { font-family: var(--f-mono); }
.shot .h { font-family: var(--f-display); font-weight: 700; }

.card__body { font-size: 17px; line-height: 1.6; color: var(--body); }

.modules {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 18px 0 26px;
}
.modules li {
  font-size: 13.5px;
  line-height: 1;
  font-weight: 500;
  color: var(--heading);
  padding: 7px 10px;
  border: 1px solid var(--hairline);
  border-radius: 6px;
}
.card .link-arrow { margin-top: auto; }

/* ============================================ PRICING */
.pricing__toggle-wrap { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.pricing__toggle {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  background: var(--bone);
  border: 1px solid var(--hairline);
  border-radius: 10px;
}
.pricing__tab {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 40px;
  padding: 0 20px;
  border: none;
  border-radius: 7px;
  background: transparent;
  color: var(--body);
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.pricing__tab:hover { color: var(--heading); }
.pricing__tab[aria-selected="true"] { background: var(--ink); color: var(--on-ink); }
.dot { width: 8px; height: 8px; border-radius: 50%; }
.dot--lumen { background: var(--ledger); }
.dot--aster { background: var(--terracotta); }
.pricing__prodtag { font-size: 14px; color: var(--caption); }

.pricing__panel[hidden] { display: none; }

.ledger {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-card);
  overflow: hidden;
}
.ledger__cols,
.ledger__row,
.ledger-ent {
  display: grid;
  grid-template-columns: 1.15fr 0.8fr 1.5fr 2.7fr 132px;
  gap: 24px;
  align-items: center;
  padding: 26px 28px;
}
.ledger__cols {
  padding-block: 12px;
  background: var(--bone);
  border-bottom: 1px solid var(--hairline);
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--caption);
}
.ledger__row + .ledger__row { border-top: 1px solid var(--hairline); }

.ledger__name { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ledger__name h3,
.ledger-ent h3 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
  color: var(--heading);
}
.ledger__badge {
  font-family: var(--f-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  padding: 4px 8px;
  border-radius: 4px;
  white-space: nowrap;
}
.ledger__badge--lumen { background: #157256; }
.ledger__badge--aster { background: #A84E2E; }

.ledger__price { display: flex; align-items: baseline; gap: 6px; }
.ledger__amount {
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--heading);
  font-variant-numeric: tabular-nums;
}
.ledger__per { font-size: 14px; color: var(--caption); white-space: nowrap; }

.ledger__cap  { font-size: 15px; line-height: 1.4; font-weight: 600; color: var(--heading); }
.ledger__cap2 { font-size: 14px; line-height: 1.4; color: var(--caption); margin-top: 3px; }

.ledger__plus { font-size: 14px; line-height: 1.4; color: var(--caption); margin-bottom: 6px; }
.ledger__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px 20px;
  font-size: 14.5px;
  line-height: 1.4;
  color: var(--body);
}
.ledger__features li { position: relative; padding-left: 16px; }
.ledger__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 1.5px;
  background: var(--hairline-strong);
}

.btn-row {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 42px;
  border-radius: var(--r-btn);
  border: 1px solid var(--hairline-strong);
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
  transition: background-color .15s ease, border-color .15s ease;
}
.btn-row:hover { background: var(--bone); border-color: var(--ink); }

.ledger-ent {
  margin-top: 16px;
  background: var(--bone);
  border: 1px solid var(--hairline);
  border-radius: var(--r-card);
}
.ledger-ent .ledger__amount { font-family: var(--f-display); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.btn-row--ink { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.btn-row--ink:hover { background: #1F332C; border-color: #1F332C; }

.pricing__foot {
  margin-top: 20px;
  font-size: 14.5px;
  color: var(--caption);
}

/* ---------- Services ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--hairline-strong);
}
.service {
  display: grid;
  grid-template-columns: 44px 1fr;
  padding: 28px 28px 30px 0;
  border-bottom: 1px solid var(--hairline-strong);
}
.service:nth-child(even) { padding-left: 28px; padding-right: 0; border-left: 1px solid var(--hairline-strong); }
.service__num { font-family: var(--f-mono); font-weight: 500; font-size: 13px; line-height: 27px; color: var(--caption); }
.service__name {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 19px;
  line-height: 27px;
  letter-spacing: -0.02em;
  color: var(--heading);
}
.service__body { margin-top: 8px; font-size: 16px; line-height: 1.55; color: var(--body); max-width: 34ch; }

/* ---------- Mission ---------- */
.mission__statement {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(26px, 3.6vw, 44px);
  line-height: 1.22;
  letter-spacing: -0.03em;
  color: var(--heading);
  max-width: 21ch;
  text-wrap: balance;
}
.mission__statement span { display: block; margin-top: 0.35em; color: var(--caption); }

/* ---------- Customers strip (under the product cards) ---------- */
.proof {
  margin-top: clamp(40px, 5vw, 64px);
  display: grid;
  grid-template-columns: var(--rail) minmax(0, 1fr);
  gap: clamp(20px, 5vw, 64px);
  align-items: start;
}
.proof .eyebrow { line-height: 27px; padding-top: 20px; }
.proof__list { border-top: 1px solid var(--hairline-strong); }
.proof__item {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr) auto;
  gap: 4px 24px;
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid var(--hairline-strong);
}
.proof__item strong {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 19px;
  line-height: 27px;
  letter-spacing: -0.02em;
  color: var(--heading);
}
.proof__item span { font-size: 16px; line-height: 1.5; color: var(--body); }
.proof__item em {
  font-family: var(--f-mono);
  font-style: normal;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--caption);
  white-space: nowrap;
}

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--hairline-strong); }
.faq__item { border-bottom: 1px solid var(--hairline-strong); }
.faq__item summary {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 19px;
  line-height: 27px;
  letter-spacing: -0.02em;
  color: var(--heading);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  flex: none;
  font-family: var(--f-mono);
  font-weight: 400;
  font-size: 18px;
  color: var(--caption);
}
.faq__item[open] summary::after { content: "\2212"; }
.faq__item summary:hover::after { color: var(--heading); }
.faq__item p { margin: -4px 0 24px; max-width: 58ch; font-size: 17px; line-height: 1.6; color: var(--body); }
.faq__item p a { color: var(--heading); text-decoration: underline; text-decoration-color: var(--hairline-strong); text-underline-offset: 3px; }
.faq__item p a:hover { text-decoration-color: var(--heading); }

/* ---------- 404 ---------- */
.lost {
  position: relative;
  background: var(--ink);
  color: var(--on-ink);
  padding-block: clamp(88px, 14vw, 176px);
  border-bottom: 1px solid var(--ink-line);
}
.lost :focus-visible { outline-color: var(--bone); }
.lost .display { margin-top: 22px; max-width: 13ch; }

/* ---------- Contact ---------- */
.contact {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-card);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
}
.contact__main { padding: clamp(28px, 4.5vw, 56px); }
.contact__main .head { margin-top: 12px; max-width: 16ch; }
.contact__main p.lede { max-width: 44ch; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.contact__aside {
  border-left: 1px solid var(--hairline);
  padding: clamp(28px, 4.5vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact__list div { padding: 16px 0; border-bottom: 1px solid var(--hairline); }
.contact__list div:first-child { padding-top: 0; }
.contact__list div:last-child { border-bottom: none; padding-bottom: 0; }
.contact__list dt {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--caption);
}
.contact__list dd { margin-top: 4px; font-size: 17px; line-height: 1.5; color: var(--heading); font-weight: 500; }
.contact__list dd a:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact__list dd small { display: block; font-size: 14.5px; font-weight: 400; color: var(--caption); }

/* ============================================ LEGAL PAGES */
.legal { background: var(--bone); padding-block: clamp(48px, 7vw, 88px) var(--section); }
.legal__grid {
  display: grid;
  grid-template-columns: var(--rail) minmax(0, 720px);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.legal__toc {
  position: sticky;
  top: calc(var(--nav-h) + 32px);
  max-height: calc(100vh - var(--nav-h) - 64px);
  overflow-y: auto;
  padding-bottom: 8px;
}
.legal__toc ol { margin-top: 14px; border-top: 1px solid var(--hairline); }
.legal__toc li { border-bottom: 1px solid var(--hairline); }
.legal__toc a {
  display: block;
  padding: 8px 0;
  font-size: 14.5px;
  line-height: 1.4;
  color: var(--body);
}
.legal__toc a:hover { color: var(--heading); text-decoration: underline; text-underline-offset: 3px; }

.legal h1 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(36px, 5vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--heading);
  margin-top: 12px;
}
.legal .legal__updated { font-family: var(--f-mono); font-size: 13px; line-height: 1.5; color: var(--caption); margin: 18px 0 0; }
.legal .eyebrow { font-size: 12px; line-height: 1.65; margin: 0; }
.legal h2 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--heading);
  margin: 48px 0 12px;
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
}
.legal p { margin: 0 0 14px; font-size: 17px; line-height: 1.7; }
.legal__body ul { margin: 0 0 14px; }
.legal__body li { position: relative; padding-left: 22px; font-size: 17px; line-height: 1.7; margin-bottom: 8px; }
.legal__body li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.8em;
  width: 9px;
  height: 1.5px;
  background: var(--hairline-strong);
}
.legal__body a { color: var(--heading); text-decoration: underline; text-decoration-color: var(--hairline-strong); text-underline-offset: 3px; }
.legal__body a:hover { text-decoration-color: var(--heading); }
.legal strong { color: var(--heading); font-weight: 600; }
.legal .callout {
  border: 1px solid var(--hairline);
  background: var(--surface);
  border-radius: var(--r-card);
  padding: 22px 26px;
  margin: 32px 0 0;
}
.legal .callout p { margin: 0; }

/* ============================================ FOOTER */
.footer {
  background: var(--ink);
  color: var(--on-ink-body);
  padding-block: clamp(56px, 8vw, 80px) 32px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
}
.footer__tagline { margin-top: 16px; color: var(--on-ink-body); font-size: 15.5px; line-height: 1.55; }
.footer__label {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-ink-mut);
  margin-bottom: 8px;
}
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col a { color: var(--on-ink); font-size: 15.5px; width: fit-content; }
.footer__col a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer__base {
  margin-top: clamp(40px, 6vw, 64px);
  padding-top: 22px;
  border-top: 1px solid var(--ink-line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer__base p,
.footer__base a { font-family: var(--f-mono); color: var(--on-ink-mut); font-size: 12px; }
.footer__base a:hover { color: var(--on-ink); }

/* ============================================ RESPONSIVE */
@media (max-width: 1080px) {
  .ledger__cols { display: none; }
  .ledger__row, .ledger-ent {
    grid-template-columns: 1fr auto;
    gap: 14px 20px;
    align-items: start;
  }
  .ledger__price { justify-content: flex-end; }
  .ledger__caps, .ledger__feat, .ledger__row .btn-row, .ledger-ent .btn-row { grid-column: 1 / -1; }
  .ledger__row .btn-row, .ledger-ent .btn-row { margin-top: 6px; }
}
@media (max-width: 960px) {
  .split, .legal__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .hero__inner { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .legal__toc { display: none; }
  .contact { grid-template-columns: minmax(0, 1fr); }
  .contact__aside { border-left: none; border-top: 1px solid var(--hairline); }
  .proof { grid-template-columns: minmax(0, 1fr); }
  .proof .eyebrow { padding-top: 0; }
}
@media (max-width: 860px) {
  .cards { grid-template-columns: minmax(0, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr 1fr; gap: 40px 24px; }
  .footer__brand { grid-column: 1 / -1; }
  .nav__links, .nav__cta .link-quiet { display: none; }
  .nav__burger { display: inline-flex; }
  .nav__cta { gap: 10px; }
  .pricing__toggle-wrap { align-items: flex-start; }
}
@media (min-width: 861px) {
  .nav__sheet { display: none !important; }
}
@media (max-width: 620px) {
  body { font-size: 17px; }
  .services { grid-template-columns: minmax(0, 1fr); }
  .service, .service:nth-child(even) { padding: 24px 0 26px; border-left: none; }
  .ledger__row, .ledger-ent { padding: 22px 20px; }
  .ledger__features { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .hero__actions .btn { width: 100%; }
  .contact__actions .btn { width: 100%; }
  .proof__item { grid-template-columns: minmax(0, 1fr) auto; }
  .proof__item span { grid-column: 1 / -1; grid-row: 2; }
  .faq__item summary { font-size: 18px; padding: 20px 0; }
}

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

@media print {
  .nav, .footer, .legal__toc, .skip { display: none; }
  body { background: #fff; }
}
