/* ============================================
   SENNA — WEBSITE
   Plaid-inspired: light & airy, top nav bar, product-card grid,
   stat band, alternating solution rows, developer code block,
   big multi-column footer.

   Brand preserved: cream #f1efe7 + warm-black #0e0d0b,
   amber + jade accents.
   ============================================ */

:root {
  /* ─── Surfaces (light, warm) ─── */
  --bg:        #f4f2ea;   /* warm cream page */
  --bg-2:      #efece2;   /* alt section band */
  --surface:   #ffffff;   /* cards */
  --surface-2: #faf8f1;   /* nested fills */
  --ink-bg:    #0e0d0b;   /* dark section / buttons */
  --ink-bg-2:  #15130f;

  /* ─── Ink (warm-black text) ─── */
  --ink:       #0e0d0b;
  --ink-90:    rgba(14, 13, 11, 0.90);
  --ink-70:    rgba(14, 13, 11, 0.70);
  --ink-55:    rgba(14, 13, 11, 0.55);
  --ink-40:    rgba(14, 13, 11, 0.40);
  --ink-22:    rgba(14, 13, 11, 0.22);
  --ink-12:    rgba(14, 13, 11, 0.12);
  --ink-08:    rgba(14, 13, 11, 0.08);
  --ink-04:    rgba(14, 13, 11, 0.04);

  /* ─── Cream (for use on dark) ─── */
  --cream:     #f1efe7;
  --cream-72:  rgba(241, 239, 231, 0.72);
  --cream-55:  rgba(241, 239, 231, 0.55);
  --cream-12:  rgba(241, 239, 231, 0.12);
  --cream-08:  rgba(241, 239, 231, 0.08);

  /* ─── Accents ─── */
  --amber:      #e8b97a;        /* soft amber (fills, glows) */
  --amber-ink:  #9a6711;        /* deep amber (text on light) */
  --amber-soft: rgba(232, 185, 122, 0.16);
  --jade:       #2f9e63;        /* live dot / success on light */
  --jade-soft:  rgba(47, 158, 99, 0.10);

  /* ─── Text roles ─── */
  --text:       var(--ink);
  --text-sub:   var(--ink-70);
  --text-mute:  var(--ink-55);
  --text-faint: var(--ink-40);

  /* ─── Borders ─── */
  --line:   var(--ink-08);
  --line-2: var(--ink-12);
  --line-3: var(--ink-22);

  /* ─── Type ─── */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  /* ─── Geometry ─── */
  --radius-xs:   8px;
  --radius:      12px;
  --radius-lg:   18px;
  --radius-xl:   24px;
  --radius-pill: 999px;

  /* ─── Motion ─── */
  --ease:    cubic-bezier(0.23, 1, 0.32, 1);
  --ease-io: cubic-bezier(0.77, 0, 0.175, 1);
  --t-fast:  160ms;
  --t-mid:   240ms;
  --t-slow:  480ms;

  /* ─── Layout ─── */
  --container:        1180px;
  --container-narrow: 720px;
  --nav-h:            66px;
}

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 28px);
  background: var(--bg);
  color: var(--text);
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.011em;
  font-feature-settings: "ss01", "cv11";
  min-height: 100dvh;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
code, pre { font-family: var(--font-mono); }

.skip {
  position: absolute; left: 12px; top: -48px;
  background: var(--ink); color: var(--cream);
  padding: 8px 12px; border-radius: 8px; font-weight: 500;
  transition: top var(--t-fast); z-index: 300;
}
.skip:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--amber-ink); outline-offset: 3px; border-radius: 6px; }

/* ============================================
   Container & shared utilities
   ============================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: 32px;
}
.container--narrow { max-width: var(--container-narrow); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber-ink);
  margin-bottom: 18px;
}
.eyebrow--invert { color: var(--amber); }

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border-radius: var(--radius-pill);
  font-weight: 500;
  font-size: 14.5px;
  letter-spacing: -0.005em;
  white-space: nowrap;
  border: 1px solid transparent;
  transition:
    background var(--t-mid) var(--ease),
    border-color var(--t-mid) var(--ease),
    color var(--t-mid) var(--ease),
    transform var(--t-fast) var(--ease),
    box-shadow var(--t-mid) var(--ease);
  will-change: transform;
}
.btn:active { transform: scale(0.97); }
.btn--lg { height: 52px; padding: 0 26px; font-size: 15px; }
.btn--block { width: 100%; }

.btn--primary {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover {
    background: var(--ink-bg-2);
    box-shadow: 0 12px 30px -12px rgba(14, 13, 11, 0.45);
    transform: translateY(-1px);
  }
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-3);
}
@media (hover: hover) and (pointer: fine) {
  .btn--ghost:hover { background: var(--ink-04); border-color: var(--ink); }
}

/* Inverted primary (on dark sections) */
.btn--invert {
  background: var(--cream);
  color: var(--ink);
  border-color: var(--cream);
}
@media (hover: hover) and (pointer: fine) {
  .btn--invert:hover {
    background: #ffffff;
    box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.5);
    transform: translateY(-1px);
  }
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--line-3);
  padding-bottom: 2px;
  transition: gap var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.link-arrow svg { transition: transform var(--t-fast) var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .link-arrow:hover { border-color: var(--ink); }
  .link-arrow:hover svg { transform: translateX(3px); }
}

/* ============================================
   Top announcement strip
   ============================================ */
.topbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 9px 24px;
  background: var(--ink-bg);
  color: var(--cream-72);
  font-size: 12.5px;
  letter-spacing: 0.005em;
  text-align: center;
}
.topbar__dot {
  width: 6px; height: 6px; border-radius: 999px;
  background: var(--jade);
  box-shadow: 0 0 0 3px rgba(47, 158, 99, 0.22);
}
.topbar a {
  display: inline-flex; align-items: center; gap: 5px;
  color: var(--cream); font-weight: 500;
  border-bottom: 1px solid var(--cream-12);
  padding-bottom: 1px;
  transition: border-color var(--t-fast);
}
.topbar a:hover { border-color: var(--cream-72); }

/* ============================================
   Nav bar
   ============================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 242, 234, 0.82);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-mid) var(--ease), box-shadow var(--t-mid) var(--ease);
}
.nav[data-elevate="true"] {
  border-bottom-color: var(--line-2);
  box-shadow: 0 1px 24px -16px rgba(14, 13, 11, 0.4);
}
.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  height: var(--nav-h);
  padding-inline: 32px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__brand { color: var(--ink); display: inline-flex; align-items: center; }
.nav__logo { height: 17px; width: 80px; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-right: auto;
}
.nav__links a {
  font-size: 14.5px;
  color: var(--text-sub);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.nav__links a:hover { color: var(--ink); background: var(--ink-04); }

.nav__actions { display: flex; align-items: center; gap: 10px; }
.nav__signin {
  font-size: 14.5px;
  color: var(--text-sub);
  padding: 8px 12px;
  transition: color var(--t-fast) var(--ease);
}
.nav__signin:hover { color: var(--ink); }

.nav__burger {
  display: none;
  width: 42px; height: 42px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border-radius: var(--radius-pill);
}
.nav__burger span {
  width: 18px; height: 1.6px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--t-fast) var(--ease), opacity var(--t-fast) var(--ease);
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

/* Mobile drawer */
.mobile {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 24px 28px;
  border-top: 1px solid var(--line-2);
  background: var(--bg);
}
/* The [hidden] attribute must win over the display above (UA display:none
   has lower specificity than .mobile, so the drawer leaked open on load). */
.mobile[hidden] { display: none; }
/* Never show the drawer at desktop widths, even if left open before a resize. */
@media (min-width: 961px) { .mobile { display: none; } }
.mobile a {
  font-size: 16px;
  color: var(--text-sub);
  padding: 12px 6px;
  border-bottom: 1px solid var(--line);
}
.mobile a:last-child { border-bottom: 0; }
.mobile__signin { color: var(--ink) !important; font-weight: 500; }
.mobile .btn { margin-top: 12px; }

/* ============================================
   Reveal on scroll
   ============================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity var(--t-slow) var(--ease),
    transform var(--t-slow) var(--ease);
}
[data-reveal][data-in="true"] { opacity: 1; transform: none; }

/* ============================================
   Hero
   ============================================ */
.hero {
  padding: clamp(56px, 8vw, 104px) 0 clamp(64px, 8vw, 96px);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -20%; right: -10%;
  width: 60vw; height: 60vw;
  max-width: 720px; max-height: 720px;
  background: radial-gradient(50% 50% at 50% 50%, var(--amber-soft), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
  z-index: 0;
}
.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero__title {
  font-size: clamp(40px, 6vw, 74px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 600;
  color: var(--ink);
  max-width: 13ch;
}
.hero__sub {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--text-sub);
  line-height: 1.55;
  max-width: 48ch;
  margin-top: 22px;
}
.hero__cta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.hero__note {
  font-size: 13px;
  color: var(--text-faint);
  margin-top: 20px;
}

/* ─── Transformation card (hero visual) ─── */
.xform {
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    0 1px 0 #ffffff inset,
    0 40px 80px -40px rgba(14, 13, 11, 0.28),
    0 0 0 1px var(--ink-04);
}
.xform__half { padding: 22px 24px; }
.xform__in  { background: var(--surface); }
.xform__out { background: var(--surface-2); }
.xform__label {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-bottom: 14px;
}
.xform__badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 10.5px; letter-spacing: 0.04em;
  color: var(--text-mute);
  background: var(--bg-2);
  border: 1px solid var(--line-2);
}
.xform__badge--ok {
  color: var(--jade);
  border-color: rgba(47, 158, 99, 0.30);
  background: var(--jade-soft);
}
.xform__meta {
  font-family: var(--font-mono);
  font-size: 10.5px; letter-spacing: 0.03em;
  color: var(--text-faint);
}
.xform__meta--time { font-variant-numeric: tabular-nums; color: var(--text-mute); }
.xform__payload {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 13px; line-height: 1.6;
  color: var(--text-sub);
  white-space: pre-wrap; word-break: break-word;
  padding: 13px 14px;
  border-radius: var(--radius);
  background: var(--bg-2);
  border: 1px dashed var(--line-3);
}
.xform__fields { display: grid; gap: 8px; font-family: var(--font-mono); font-size: 13px; }
.xform__fields > div {
  display: grid;
  grid-template-columns: 96px 1fr;
  align-items: center;
  gap: 14px;
  padding: 8px 12px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line-2);
}
.xform__fields dt { color: var(--text-faint); font-size: 12px; letter-spacing: 0.02em; }
.xform__fields dd { color: var(--ink); font-variant-numeric: tabular-nums; }
.xform__conf { display: flex; align-items: center; gap: 10px; }
.xform__bar {
  flex: 1; height: 4px;
  background: var(--ink-08);
  border-radius: var(--radius-pill);
  overflow: hidden;
}
.xform__bar > span {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--amber), var(--jade));
  border-radius: inherit;
}
.xform__divider {
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: 14px;
  padding: 8px 24px;
  background: var(--bg-2);
  border-block: 1px solid var(--line-2);
}
.xform__divider-line { height: 1px; background: linear-gradient(90deg, transparent, var(--line-3), transparent); }
.xform__divider-mark {
  font-family: var(--font-mono); font-size: 10.5px;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-mute);
}

/* ============================================
   Trust bar
   ============================================ */
.trustbar {
  padding: clamp(40px, 5vw, 56px) 0;
  border-block: 1px solid var(--line-2);
  background: var(--bg-2);
}
.trustbar__line {
  text-align: center;
  font-size: 14.5px;
  color: var(--text-sub);
  max-width: 56ch;
  margin: 0 auto;
}
.trustbar__line span { color: var(--text-faint); }
.trustbar__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 36px;
}
.trustbar__stats > div {
  text-align: center;
  display: flex; flex-direction: column; gap: 4px;
  position: relative;
}
.trustbar__stats > div + div::before {
  content: "";
  position: absolute; left: -12px; top: 50%;
  transform: translateY(-50%);
  width: 1px; height: 36px;
  background: var(--line-2);
}
.trustbar__stats strong {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  line-height: 1.05;
}
.trustbar__stats span {
  font-size: 12px;
  color: var(--text-mute);
  letter-spacing: 0.01em;
}

/* ============================================
   Generic section + heads
   ============================================ */
.section {
  padding: clamp(80px, 11vw, 150px) 0;
}
.section--alt { background: var(--bg-2); border-block: 1px solid var(--line-2); }
.section--dark {
  background: var(--ink-bg);
  color: var(--cream);
}

.section__head {
  max-width: 640px;
  margin-bottom: clamp(48px, 6vw, 72px);
}
.section__head--center { margin-inline: auto; text-align: center; }
.section__title {
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 600;
  color: var(--ink);
}
.section__title--invert { color: var(--cream); }
.section__lede {
  font-size: clamp(16px, 1.4vw, 18px);
  color: var(--text-sub);
  line-height: 1.55;
  max-width: 54ch;
  margin-top: 20px;
}
.section__head--center .section__lede { margin-inline: auto; }

/* ============================================
   Product cards grid
   ============================================ */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  padding: 30px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform var(--t-mid) var(--ease), box-shadow var(--t-mid) var(--ease), border-color var(--t-mid) var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .card:hover {
    transform: translateY(-4px);
    border-color: var(--line-3);
    box-shadow: 0 24px 50px -28px rgba(14, 13, 11, 0.28);
  }
}
.card__icon {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: var(--radius);
  background: var(--amber-soft);
  color: var(--amber-ink);
}
.card__icon svg { width: 22px; height: 22px; }
.card h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.card p {
  font-size: 14.5px;
  color: var(--text-mute);
  line-height: 1.55;
}

/* ============================================
   Split rows (solutions / developers)
   ============================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.split + .split { margin-top: clamp(72px, 9vw, 120px); }
.split--reverse .split__copy { order: 2; }
.split__title {
  font-size: clamp(24px, 2.8vw, 34px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 600;
  color: var(--ink);
}
.split__text {
  font-size: 16px;
  color: var(--text-sub);
  line-height: 1.6;
  max-width: 46ch;
  margin-top: 16px;
}
.split__text--invert { color: var(--cream-72); }

.ministats {
  display: flex;
  gap: 28px;
  margin: 28px 0;
  flex-wrap: wrap;
}
.ministats strong {
  display: block;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.ministats span { font-size: 12.5px; color: var(--text-mute); }

.ticks { list-style: none; display: grid; gap: 12px; margin: 26px 0 30px; }
.ticks li {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
  color: var(--cream-72);
  line-height: 1.5;
}
.ticks li::before {
  content: "";
  position: absolute; left: 0; top: 3px;
  width: 18px; height: 18px;
  border-radius: 999px;
  background: var(--amber-soft);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'><path d='M2.5 6.2 5 8.5l4.5-5' stroke='%23e8b97a' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
}

/* ─── Layers list (architecture) ─── */
.layers {
  list-style: none;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
}
.layer {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  padding: 18px 24px;
  align-items: start;
}
.layer + .layer { border-top: 1px solid var(--line-2); }
.layer__num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--amber-ink);
  letter-spacing: 0.04em;
  padding-top: 2px;
  font-variant-numeric: tabular-nums;
}
.layer__body h4 {
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 4px;
}
.layer__body p { font-size: 13.5px; color: var(--text-mute); line-height: 1.5; }
.layer__body code {
  font-family: var(--font-mono);
  font-size: 12.5px;
  padding: 1px 5px;
  background: var(--amber-soft);
  border-radius: 4px;
  color: var(--amber-ink);
}
.layer:nth-child(5) { background: var(--surface-2); }

/* ─── Reach (where) ─── */
.reach { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.reach__col {
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  display: flex; flex-direction: column; gap: 14px;
}
.reach__col--next { background: transparent; border-style: dashed; }
.reach__tag {
  align-self: flex-start;
  display: inline-flex; align-items: center;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--jade);
  border: 1px solid rgba(47, 158, 99, 0.30);
  background: var(--jade-soft);
}
.reach__tag--soon {
  color: var(--amber-ink);
  border-color: rgba(232, 185, 122, 0.5);
  background: var(--amber-soft);
}
.reach__col h4 {
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.reach__col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.reach__col li {
  font-size: 13.5px;
  color: var(--text-mute);
  line-height: 1.5;
  padding-left: 16px;
  position: relative;
}
.reach__col li::before {
  content: "";
  position: absolute; left: 0; top: 9px;
  width: 6px; height: 1.5px;
  background: var(--text-faint);
}

/* ============================================
   Developer code block
   ============================================ */
.code {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--cream-12);
  background: #0a0908;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.6);
}
.code__bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--cream-08);
  background: #100e0c;
  font-family: var(--font-mono);
  font-size: 12px;
}
.code__dots { display: flex; gap: 6px; }
.code__dots span { width: 9px; height: 9px; border-radius: 999px; background: var(--cream-12); }
.code__path { color: var(--cream-55); }
.code__lat { color: var(--amber); font-variant-numeric: tabular-nums; }
.code__body {
  margin: 0;
  padding: 22px 24px 26px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--cream-72);
  overflow-x: auto;
  white-space: pre;
}
.c-cmt { color: rgba(241, 239, 231, 0.4); font-style: italic; }
.c-key { color: var(--amber); }
.c-str { color: #b9d6c2; }
.c-num { color: #e0c79a; }

/* ============================================
   Pillars (trust)
   ============================================ */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.pillar {
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  padding: 30px 28px 32px;
  display: flex; flex-direction: column; gap: 12px;
}
.pillar h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.pillar p { font-size: 14.5px; color: var(--text-mute); line-height: 1.55; }

/* ─── Quote ─── */
.quote {
  text-align: center;
  max-width: 720px;
  margin: clamp(64px, 8vw, 96px) auto 0;
}
.quote blockquote {
  font-size: clamp(22px, 2.8vw, 32px);
  line-height: 1.32;
  letter-spacing: -0.025em;
  font-weight: 500;
  color: var(--ink);
}
.quote blockquote::before { content: "\201C"; }
.quote blockquote::after  { content: "\201D"; }
.quote figcaption {
  margin-top: 22px;
  font-size: 13.5px;
  color: var(--text-mute);
}
.quote figcaption span { color: var(--text-faint); margin-inline: 6px; }

/* ============================================
   CTA band
   ============================================ */
.cta {
  padding: clamp(72px, 9vw, 120px) 0;
  text-align: center;
}
.cta__title {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.06;
  letter-spacing: -0.035em;
  font-weight: 600;
  color: var(--ink);
  max-width: 18ch;
  margin: 0 auto;
}
.cta__sub {
  font-size: clamp(15px, 1.3vw, 17px);
  color: var(--text-sub);
  line-height: 1.55;
  max-width: 50ch;
  margin: 18px auto 0;
}

/* ─── Form ─── */
.form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 38px);
  margin-top: 40px;
  text-align: left;
  box-shadow: 0 30px 70px -40px rgba(14, 13, 11, 0.25);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__field { display: flex; flex-direction: column; gap: 7px; }
.form__label {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-mute);
  text-transform: uppercase;
}
.form__input {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  color: var(--ink);
  font: inherit;
  font-size: 14.5px;
  transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.form__textarea { height: auto; padding: 13px 14px; resize: vertical; min-height: 88px; }
.form__input::placeholder { color: var(--text-faint); }
.form__input:hover { border-color: var(--line-3); }
.form__input:focus {
  outline: none;
  border-color: var(--amber-ink);
  background: var(--surface);
  box-shadow: 0 0 0 3px var(--amber-soft);
}
.form__foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  margin-top: 6px; padding-top: 18px;
  border-top: 1px solid var(--line-2);
}
.form__hint { font-size: 12.5px; color: var(--text-mute); max-width: 30ch; }
.form__success {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(47, 158, 99, 0.30);
  background: var(--jade-soft);
  color: var(--jade);
  font-size: 13.5px; line-height: 1.5;
}
.form__success svg { flex-shrink: 0; margin-top: 1px; }

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--ink-bg);
  color: var(--cream-72);
  padding: clamp(56px, 7vw, 88px) 0 36px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: clamp(40px, 6vw, 80px);
  padding-bottom: 48px;
  border-bottom: 1px solid var(--cream-08);
}
.footer__brand { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.footer__logo { color: var(--cream); }
.footer__logo svg { height: 20px; width: 94px; }
.footer__mission {
  font-size: 14.5px;
  color: var(--cream-55);
  line-height: 1.55;
  max-width: 34ch;
}
.footer__cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__col h4 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 4px;
}
.footer__col a {
  font-size: 14px;
  color: var(--cream-55);
  transition: color var(--t-fast) var(--ease);
}
.footer__col a:hover { color: var(--cream); }

.footer__base {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 28px;
  font-size: 12.5px;
  color: var(--cream-55);
}
.footer__base-links { display: flex; gap: 20px; }
.footer__base-links a { color: var(--cream-55); transition: color var(--t-fast); }
.footer__base-links a:hover { color: var(--cream); }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 960px) {
  .nav__links, .nav__actions { display: none; }
  .nav__burger { display: flex; margin-left: auto; }

  .hero__grid { grid-template-columns: 1fr; gap: 44px; }
  .hero__title { max-width: 16ch; }

  .cards { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: 1fr; }

  .split { grid-template-columns: 1fr; gap: 36px; }
  .split--reverse .split__copy { order: 0; }

  .footer__inner { grid-template-columns: 1fr; gap: 44px; }
}

@media (max-width: 720px) {
  .container { padding-inline: 22px; }
  .nav__inner { padding-inline: 22px; }

  .trustbar__stats { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
  .trustbar__stats > div + div::before { display: none; }

  .cards { grid-template-columns: 1fr; }
  .reach { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
}

@media (max-width: 560px) {
  .form__row { grid-template-columns: 1fr; gap: 14px; }
  .form__foot { flex-direction: column; align-items: stretch; }
  .form__foot .btn { width: 100%; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
  .footer__base { justify-content: center; text-align: center; }
}

/* ============================================
   Reduced motion
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto;
  }
  [data-reveal] { opacity: 1; transform: none; }
}
