/* ================================================================
   BEEPER SOLUTIONS — Global design system
   Palette  : burnt orange · deep blue · warm beige · ink
   Type     : Instrument Sans (UI) · IBM Plex Mono (labels, figures)
   Layout   : 1200px grid, hairline rules, 3–6px radii
   ================================================================ */

/* ---------- 1. Tokens ---------- */
:root {
  /* brand */
  --orange:        #d9611f;
  --orange-600:    #c0531a;
  --orange-700:    #a24514;
  --orange-soft:   #fbeee4;
  --orange-tint:   #f6e2d2;
  --orange-line:   rgba(217, 97, 31, 0.30);

  --blue:          #23527e;
  --blue-700:      #1a3f62;
  --blue-900:      #0e2438;
  --blue-soft:     #eaf0f5;

  /* surfaces */
  --beige:         #f1eadc;
  --beige-deep:    #e7ddca;
  --paper:         #fffcf8;
  --white:         #ffffff;

  /* text */
  --ink:           #16242f;
  --ink-2:         #2b3b48;
  --muted:         #586873;
  --muted-2:       #78868f;

  /* lines */
  --line:          rgba(22, 36, 47, 0.13);
  --line-2:        rgba(22, 36, 47, 0.22);
  --line-soft:     rgba(22, 36, 47, 0.07);
  --line-dark:     rgba(255, 255, 255, 0.14);
  --line-dark-2:   rgba(255, 255, 255, 0.24);

  --ok:            #1e7a4b;
  --ok-soft:       #e6f1ea;

  /* type */
  --sans: "Instrument Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "IBM Plex Mono", "Consolas", ui-monospace, monospace;

  /* geometry */
  --r:    3px;
  --r-md: 6px;
  --r-lg: 10px;
  --max:  1200px;
  --header-h: 76px;

  --shadow-sm: 0 1px 2px rgba(22, 36, 47, 0.06), 0 8px 18px -14px rgba(22, 36, 47, 0.28);
  --shadow-md: 0 2px 4px rgba(22, 36, 47, 0.05), 0 22px 44px -26px rgba(22, 36, 47, 0.38);
  --shadow-lg: 0 40px 80px -40px rgba(14, 36, 56, 0.45);

  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
}

/* ---------- 2. Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

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

body {
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.7;
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
address { font-style: normal; }

::selection { background: var(--orange); color: #fff; }

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--r);
  font-size: 0.85rem;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* ---------- 3. Typography ---------- */
h1, h2, h3, h4 {
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.022em;
  color: var(--ink);
  text-wrap: balance;
}

.h1 {
  font-size: clamp(2.35rem, 4.5vw, 3.75rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
}

h2, .h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  letter-spacing: -0.026em;
}

h3, .h3 {
  font-size: clamp(1.12rem, 1.6vw, 1.28rem);
  letter-spacing: -0.012em;
  line-height: 1.3;
}

h4 { font-size: 1.02rem; letter-spacing: -0.008em; }

h1 em, h2 em, .h1 em, .h2 em {
  font-style: normal;
  color: var(--orange-700);
}

.lede {
  font-size: 1.075rem;
  line-height: 1.72;
  color: var(--muted);
  max-width: 62ch;
}

.lede strong { color: var(--ink); font-weight: 600; }

p + p { margin-top: 0.9rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange-700);
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--orange);
  flex: none;
}
.eyebrow-light { color: #f0b48c; }
.eyebrow-light::before { background: var(--orange); }

.mono-label {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* ---------- 4. Layout ---------- */
.container {
  width: min(var(--max), 90vw);
  margin-inline: auto;
}

.container-narrow {
  width: min(860px, 90vw);
  margin-inline: auto;
}

.section {
  padding: clamp(3.75rem, 7vw, 6.25rem) 0;
  position: relative;
}

.section-sm { padding: clamp(2.5rem, 4.5vw, 3.75rem) 0; }

.section + .section { border-top: 1px solid var(--line-soft); }

.section-head {
  max-width: 760px;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}
.section-head h2 { margin: 0.9rem 0 0.9rem; }
.section-head .lede { font-size: 1.02rem; }
.section-head-center { margin-inline: auto; text-align: center; }
.section-head-center .eyebrow { justify-content: center; }

.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-2-1 { grid-template-columns: 1.1fr 0.9fr; }
.grid-1-2 { grid-template-columns: 0.85fr 1.15fr; }

.band-beige { background: var(--beige); }
.band-paper { background: var(--paper); }
.band-white { background: var(--white); }
.band-soft { background: var(--blue-soft); }
.band-tint { background: var(--orange-soft); }

.band-ink {
  background: var(--blue-900);
  color: rgba(255, 255, 255, 0.76);
}
.band-ink h2, .band-ink h3, .band-ink h4 { color: #fff; }
.band-ink .lede { color: rgba(255, 255, 255, 0.66); }
.band-ink .lede strong { color: #fff; }

.rule { height: 1px; background: var(--line); border: 0; }

/* ---------- 5. Buttons ---------- */
.btn {
  --btn-h: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: var(--btn-h);
  padding: 0 1.35rem;
  border: 1px solid transparent;
  border-radius: var(--r);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  white-space: nowrap;
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease),
              border-color 0.18s var(--ease), transform 0.18s var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}
.btn-primary:hover { background: var(--orange-600); border-color: var(--orange-600); }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-2);
}
.btn-outline:hover { border-color: var(--ink); background: rgba(22, 36, 47, 0.04); }

.btn-ghost-light {
  background: transparent;
  color: #fff;
  border-color: var(--line-dark-2);
}
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.08); border-color: #fff; }

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--orange-700);
  border-bottom: 1px solid var(--orange-line);
  padding-bottom: 2px;
}
.btn-link:hover { color: var(--orange-600); border-bottom-color: var(--orange); }
.btn-link svg { width: 16px; height: 16px; }

.btn-sm { --btn-h: 38px; padding: 0 1rem; font-size: 0.84rem; }
.btn-lg { --btn-h: 52px; padding: 0 1.7rem; font-size: 0.95rem; }
.btn-block { width: 100%; }

/* ---------- 6. Utility bar ---------- */
.topbar {
  background: var(--blue-900);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 40px;
}
.topbar-note { display: flex; align-items: center; gap: 0.5rem; letter-spacing: 0.01em; }
.topbar-note strong { color: #fff; font-weight: 600; }
.tb-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #3fbf7f;
  box-shadow: 0 0 0 3px rgba(63, 191, 127, 0.18);
  flex: none;
}
.topbar-links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}
.topbar-links a { display: inline-flex; align-items: center; gap: 0.42rem; }
.topbar-links a:hover { color: #fff; }
.tb-ico svg { width: 13px; height: 13px; opacity: 0.65; }
.topbar-sep { width: 1px; height: 14px; background: rgba(255, 255, 255, 0.18); }

/* ---------- 7. Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 252, 248, 0.94);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s var(--ease);
}
.header.scrolled { box-shadow: 0 10px 30px -22px rgba(22, 36, 47, 0.5); }

.header-inner {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2.25rem);
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex: none;
}
.brand-mark { display: block; flex: none; }
.brand-mark img { width: 38px; height: 38px; }
.brand-word { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name {
  font-size: 1.16rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.brand-sub {
  font-family: var(--mono);
  font-size: 0.55rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-top: 2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin-inline-start: auto;
}
.nav a {
  position: relative;
  padding: 0.5rem 0.8rem;
  font-size: 0.885rem;
  font-weight: 500;
  color: var(--ink-2);
  border-radius: var(--r);
  transition: color 0.16s var(--ease), background-color 0.16s var(--ease);
}
.nav a:hover { color: var(--ink); background: rgba(22, 36, 47, 0.04); }
.nav a.active { color: var(--ink); font-weight: 600; }
.nav a.active::after {
  content: "";
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  bottom: -1px;
  height: 2px;
  background: var(--orange);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding-inline-start: 0.6rem;
}

.burger {
  display: none;
  width: 42px;
  height: 42px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
}
.burger span {
  display: block;
  width: 18px;
  height: 1.8px;
  background: var(--ink);
  transition: transform 0.22s var(--ease), opacity 0.22s var(--ease);
}

/* ---------- 8. Mobile navigation ---------- */
.mobile-nav {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(400px, 88vw);
  z-index: 120;
  background: var(--paper);
  border-left: 1px solid var(--line);
  padding: 1.25rem 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transform: translateX(102%);
  transition: transform 0.32s var(--ease);
  overflow-y: auto;
}
.mobile-nav.open { transform: translateX(0); }

.mobile-nav-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--line);
}
.mn-label {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.mobile-nav-close { width: 32px; height: 32px; }
.mobile-nav-close svg { width: 18px; height: 18px; }

.mobile-nav nav { display: flex; flex-direction: column; }
.mobile-nav nav a {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 1.05rem;
  font-weight: 500;
}
.mobile-nav nav a small {
  font-family: var(--mono);
  font-size: 0.66rem;
  color: var(--orange-700);
}
.mobile-nav-foot { margin-top: auto; display: grid; gap: 0.5rem; }
.mobile-nav-foot p { font-size: 0.82rem; color: var(--muted); }

.mobile-nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(14, 36, 56, 0.42);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.mobile-nav-scrim.show { opacity: 1; }

body.nav-open { overflow: hidden; }

/* ---------- 9. Hero ---------- */
.hero {
  position: relative;
  background-color: var(--beige);
  background-image:
    linear-gradient(to right, rgba(22, 36, 47, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(22, 36, 47, 0.055) 1px, transparent 1px);
  background-size: 72px 72px;
  background-position: -1px -1px;
  border-bottom: 1px solid var(--line);
  padding: clamp(2.75rem, 5vw, 4.5rem) 0 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

.hero-copy .eyebrow { margin-bottom: 1.15rem; }
.hero-copy .h1 { margin-bottom: 1.15rem; max-width: 17ch; }
.hero-copy .lede { max-width: 52ch; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.9rem;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.5rem;
  margin-top: 1.75rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}
.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  color: var(--muted);
}
.hero-points svg { width: 15px; height: 15px; color: var(--ok); flex: none; }

/* ---------- 10. Console mock ---------- */
.console {
  background: var(--white);
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  font-size: 0.8rem;
}
.console-top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.62rem 0.85rem;
  background: var(--blue-900);
  color: rgba(255, 255, 255, 0.7);
}
.console-dots { display: flex; gap: 4px; }
.console-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, 0.28); }
.console-title {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.82);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.console-live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7fe0ae;
}
.console-live::before {
  content: "";
  width: 5px; height: 5px; border-radius: 50%;
  background: #3fbf7f;
}

.console-body { padding: 1rem 1rem 1.1rem; }

.c-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
}
.c-metric {
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 0.55rem 0.65rem;
  background: var(--paper);
}
.c-metric span {
  display: block;
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.c-metric b {
  display: block;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-top: 0.15rem;
  font-variant-numeric: tabular-nums;
}
.c-metric em {
  font-style: normal;
  font-size: 0.62rem;
  font-weight: 600;
}
.c-up { color: var(--ok); }
.c-warn { color: var(--orange-700); }

.c-chart {
  margin-top: 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 0.7rem 0.75rem 0.55rem;
  background: var(--paper);
}
.c-chart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 0.55rem;
}
.c-bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 74px;
}
.c-bars span {
  flex: 1;
  height: var(--h, 40%);
  background: var(--orange-tint);
  border-radius: 1px 1px 0 0;
  position: relative;
}
.c-bars span.is-peak { background: var(--orange); }
.c-bars span.is-now { background: var(--blue); }

.c-rows { margin-top: 0.75rem; display: grid; gap: 0.3rem; }
.c-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0.5rem;
  border: 1px solid transparent;
  border-radius: var(--r);
  font-size: 0.72rem;
}
.c-row:nth-child(odd) { background: rgba(22, 36, 47, 0.025); }
.c-row-name { color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c-row-val { font-family: var(--mono); font-size: 0.68rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.c-tag {
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.12rem 0.36rem;
  border-radius: 2px;
  white-space: nowrap;
}
.c-tag.ok { background: var(--ok-soft); color: var(--ok); }
.c-tag.flag { background: var(--orange-soft); color: var(--orange-700); }
.c-tag.info { background: var(--blue-soft); color: var(--blue); }

/* ---------- 11. Trust strip ---------- */
.trust-strip {
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
  border-top: 1px solid var(--line);
  padding: 1.15rem 0;
  display: grid;
  grid-template-columns: auto repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 1.5rem;
}
.trust-strip > p {
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  line-height: 1.5;
  max-width: 14ch;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding-left: 1.5rem;
  border-left: 1px solid var(--line);
}
.trust-item svg { width: 26px; height: 26px; color: var(--blue); flex: none; }
.trust-item span { font-size: 0.82rem; line-height: 1.45; color: var(--ink-2); }
.trust-item strong { display: block; font-weight: 600; color: var(--ink); }

/* ---------- 12. Stats band ---------- */
.stats-band { border-block: 1px solid var(--line-dark); background: var(--blue-900); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.stat {
  padding: 2rem 1.5rem;
  border-left: 1px solid var(--line-dark);
}
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b {
  display: block;
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: #fff;
  line-height: 1.35;
}
.stat span {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.8rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.55);
  max-width: 22ch;
}

/* ---------- 13. Pillars ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.pillar {
  padding: clamp(1.75rem, 3vw, 2.4rem) clamp(1.4rem, 2.4vw, 2rem);
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.pillar:first-child { border-left: 0; padding-left: 0; }
.pillar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.pillar-head svg { width: 30px; height: 30px; color: var(--orange); }
.pillar-num {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--muted-2);
}
.pillar h3 { margin-top: 0.15rem; }
.pillar p { font-size: 0.92rem; color: var(--muted); }
.pillar ul {
  display: grid;
  gap: 0.42rem;
  margin-top: 0.35rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line-soft);
}
.pillar li {
  position: relative;
  padding-left: 1rem;
  font-size: 0.855rem;
  color: var(--ink-2);
}
.pillar li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 5px;
  background: var(--orange);
}

/* ---------- 14. Module cards ---------- */
.modules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.module {
  background: var(--paper);
  padding: 1.6rem 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: background-color 0.2s var(--ease);
}
.module:hover { background: var(--white); }
.module-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.35rem;
}
.module svg { width: 26px; height: 26px; color: var(--blue); }
.module-num {
  font-family: var(--mono);
  font-size: 0.66rem;
  color: var(--muted-2);
  letter-spacing: 0.08em;
}
.module h3 { font-size: 1.02rem; }
.module p { font-size: 0.875rem; color: var(--muted); line-height: 1.62; }
.module-meta {
  margin-top: auto;
  padding-top: 0.85rem;
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-700);
}

/* ---------- 15. Split blocks ---------- */
.split {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(2rem, 4.5vw, 4rem);
  align-items: center;
}
.split-reverse > .split-media { order: 2; }

.check-list { display: grid; gap: 0.85rem; margin-top: 1.5rem; }
.check-list li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 0.8rem;
  align-items: start;
  font-size: 0.925rem;
  color: var(--ink-2);
}
.check-list svg { width: 20px; height: 20px; color: var(--orange); margin-top: 0.15rem; }
.check-list strong { display: block; font-weight: 600; color: var(--ink); margin-bottom: 0.1rem; }
.check-list span { display: block; color: var(--muted); font-size: 0.87rem; }

.panel-card {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.panel-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.panel-card-head .mono-label { font-size: 0.63rem; }
.panel-card-body { padding: 1.1rem; display: grid; gap: 0.75rem; }

.ledger-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  padding-bottom: 0.7rem;
  border-bottom: 1px dashed var(--line);
  font-size: 0.83rem;
}
.ledger-row:last-child { border-bottom: 0; padding-bottom: 0; }
.ledger-row .lr-label { color: var(--ink-2); }
.ledger-row .lr-label small { display: block; font-family: var(--mono); font-size: 0.63rem; color: var(--muted-2); margin-top: 2px; }
.ledger-row .lr-val { font-family: var(--mono); font-size: 0.78rem; font-variant-numeric: tabular-nums; color: var(--ink); }
.ledger-total {
  display: flex; align-items: baseline; justify-content: space-between;
  padding-top: 0.85rem; border-top: 1px solid var(--line-2);
}
.ledger-total span { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-2); }
.ledger-total b { font-size: 1.05rem; font-weight: 600; font-variant-numeric: tabular-nums; }

/* ---------- 16. Intelligence section ---------- */
.ai-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
.ai-list { display: grid; gap: 0; margin-top: 1.75rem; border-top: 1px solid var(--line-dark); }
.ai-item {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 1rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line-dark);
}
.ai-item .ai-idx {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: #f0b48c;
  padding-top: 0.15rem;
}
.ai-item h4 { color: #fff; font-size: 0.98rem; margin-bottom: 0.2rem; }
.ai-item p { font-size: 0.87rem; color: rgba(255, 255, 255, 0.6); line-height: 1.6; }

.ai-panel {
  border: 1px solid var(--line-dark-2);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.035);
  padding: 1.1rem;
}
.ai-panel-head {
  display: flex; align-items: center; gap: 0.5rem;
  font-family: var(--mono); font-size: 0.63rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(255, 255, 255, 0.5);
  padding-bottom: 0.8rem; border-bottom: 1px solid var(--line-dark);
}
.ai-panel-head svg { width: 15px; height: 15px; color: #f0b48c; }

.ai-turn { padding: 0.9rem 0; border-bottom: 1px solid var(--line-dark); }
.ai-turn:last-of-type { border-bottom: 0; }
.ai-turn .who {
  font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(255, 255, 255, 0.4);
  display: block; margin-bottom: 0.3rem;
}
.ai-turn .say { font-size: 0.885rem; color: rgba(255, 255, 255, 0.88); line-height: 1.55; }
.ai-turn.user .say { color: #fff; }
.ai-answer {
  margin-top: 0.6rem;
  border-left: 2px solid var(--orange);
  padding-left: 0.75rem;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.72);
}
.ai-answer b { color: #fff; font-weight: 600; }
.ai-answer ul { margin-top: 0.4rem; display: grid; gap: 0.2rem; }
.ai-answer li { font-family: var(--mono); font-size: 0.72rem; color: rgba(255, 255, 255, 0.62); }

.ai-foot {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.ai-chip {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.55rem;
  border: 1px solid var(--line-dark-2);
  border-radius: 2px;
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- 17. Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}
.step {
  background: var(--paper);
  padding: 1.75rem 1.4rem 1.9rem;
  position: relative;
}
.step-num {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--orange);
  display: block;
  margin-bottom: 1.1rem;
}
.step h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.step p { font-size: 0.855rem; color: var(--muted); line-height: 1.6; }
.step-time {
  display: inline-block;
  margin-top: 0.85rem;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
  border-top: 1px solid var(--line);
  padding-top: 0.55rem;
  width: 100%;
}

/* ---------- 18. Industry cards ---------- */
.industry-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.industry {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 1.5rem 1.4rem;
  border-radius: var(--r);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}
.industry:hover { border-color: var(--line-2); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.industry svg { width: 24px; height: 24px; color: var(--orange); margin-bottom: 0.35rem; }
.industry h3 { font-size: 1rem; }
.industry p { font-size: 0.865rem; color: var(--muted); line-height: 1.6; }
.industry .industry-stat {
  margin-top: auto;
  padding-top: 0.9rem;
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.06em;
  color: var(--muted-2);
  border-top: 1px solid var(--line-soft);
}

/* ---------- 19. Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}
.plan {
  border: 1px solid var(--line-2);
  background: var(--white);
  border-radius: var(--r-md);
  padding: 1.65rem 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  position: relative;
}
.plan-featured {
  border-color: var(--orange);
  box-shadow: var(--shadow-md);
}
.plan-flag {
  position: absolute;
  top: -1px;
  right: 1.4rem;
  transform: translateY(-50%);
  background: var(--orange);
  color: #fff;
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.28rem 0.55rem;
  border-radius: 2px;
}
.plan-name {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin: 0.85rem 0 0.35rem;
}
.plan-price b {
  font-size: clamp(2rem, 3vw, 2.45rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.plan-price small { font-size: 0.8rem; color: var(--muted); }
.plan-desc { font-size: 0.865rem; color: var(--muted); min-height: 3.2em; }
.plan-hr { height: 1px; background: var(--line); margin: 1.15rem 0; }
.plan-list { display: grid; gap: 0.55rem; margin-bottom: 1.5rem; }
.plan-list li {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 0.6rem;
  font-size: 0.855rem;
  color: var(--ink-2);
  line-height: 1.5;
}
.plan-list svg { width: 16px; height: 16px; color: var(--orange); margin-top: 0.15rem; }
.plan-list li.muted { color: var(--muted-2); }
.plan-list li.muted svg { color: var(--line-2); }
.plan .btn { margin-top: auto; }

.pricing-note {
  margin-top: 1.5rem;
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: var(--r);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
  font-size: 0.83rem;
  color: var(--muted);
}
.pricing-note span { display: inline-flex; align-items: center; gap: 0.45rem; }
.pricing-note svg { width: 15px; height: 15px; color: var(--blue); }

/* ---------- 20. Comparison table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); }
table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  min-width: 640px;
}
table.data th, table.data td { text-align: left; padding: 0.85rem 1.1rem; border-bottom: 1px solid var(--line-soft); }
table.data thead th {
  font-family: var(--mono);
  font-size: 0.63rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 500;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
table.data tbody tr:last-child td { border-bottom: 0; }
table.data td:first-child { color: var(--ink); font-weight: 500; }
table.data td { color: var(--muted); }
table.data .val-yes { color: var(--ok); font-weight: 600; }
table.data .val-no { color: var(--muted-2); }

/* ---------- 21. Quotes ---------- */
.quote-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.quote {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 1.6rem 1.5rem;
  border-radius: var(--r);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.quote::before {
  content: "\201C";
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.6rem;
  line-height: 0.7;
  color: var(--orange-tint);
}
.quote blockquote { font-size: 0.935rem; line-height: 1.65; color: var(--ink-2); }
.quote figcaption {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--line-soft);
  font-size: 0.78rem;
  color: var(--muted);
}
.quote figcaption strong { display: block; color: var(--ink); font-weight: 600; font-size: 0.83rem; }

/* ---------- 22. Accordion ---------- */
.acc { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.1rem 0;
  text-align: left;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--ink);
}
.acc-head:hover { color: var(--orange-700); }
.acc-head .acc-ico {
  flex: none;
  width: 22px; height: 22px;
  display: grid; place-items: center;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  position: relative;
  transition: transform 0.25s var(--ease), border-color 0.2s var(--ease);
}
.acc-head .acc-ico::before,
.acc-head .acc-ico::after {
  content: "";
  position: absolute;
  background: var(--ink);
  border-radius: 1px;
}
.acc-head .acc-ico::before { width: 9px; height: 1.5px; }
.acc-head .acc-ico::after { width: 1.5px; height: 9px; transition: opacity 0.2s var(--ease); }
.acc-item.open .acc-head .acc-ico { transform: rotate(90deg); border-color: var(--orange); }
.acc-item.open .acc-head .acc-ico::after { opacity: 0; }
.acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.33s var(--ease);
}
.acc-body > div {
  padding: 0 2.5rem 1.35rem 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 78ch;
}
.acc-body p + p { margin-top: 0.7rem; }
.acc-body strong { color: var(--ink); font-weight: 600; }

/* ---------- 23. CTA band ---------- */
.cta-band {
  background: var(--blue-900);
  color: rgba(255, 255, 255, 0.7);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: auto -10% -140px auto;
  width: 520px; height: 520px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  pointer-events: none;
}
.cta-inner {
  display: grid;
  grid-template-columns: 1.15fr auto;
  gap: 2.5rem;
  align-items: center;
  padding: clamp(2.75rem, 5vw, 4.25rem) 0 clamp(2rem, 3vw, 2.75rem);
  position: relative;
  z-index: 1;
}
.cta-copy h2 { color: #fff; margin: 0.9rem 0 0.9rem; }
.cta-copy p { font-size: 0.95rem; max-width: 56ch; color: rgba(255, 255, 255, 0.62); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }

.cta-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  padding: 1.15rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 1;
}
.cta-foot span {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}
.cta-foot span::before {
  content: "";
  display: inline-block;
  width: 4px; height: 4px;
  background: var(--orange);
  margin-right: 0.5rem;
  vertical-align: middle;
}

/* ---------- 24. Footer ---------- */
.footer { background: #0b1c2c; color: rgba(255, 255, 255, 0.58); font-size: 0.86rem; }
.footer-top {
  display: grid;
  grid-template-columns: 1.55fr 1fr 1fr 1.15fr;
  gap: 2.5rem;
  padding: clamp(2.75rem, 5vw, 3.75rem) 0 clamp(2rem, 3vw, 2.75rem);
}
.footer-brand .brand { margin-bottom: 1.1rem; }
.brand-light .brand-name { color: #fff; }
.brand-light .brand-sub { color: rgba(255, 255, 255, 0.45); }
.footer-about { font-size: 0.855rem; line-height: 1.7; max-width: 40ch; color: rgba(255, 255, 255, 0.55); }
.footer-badges {
  display: grid;
  gap: 0.4rem;
  margin-top: 1.25rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-badges li {
  position: relative;
  padding-left: 1.1rem;
  font-family: var(--mono);
  font-size: 0.63rem;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.45);
}
.footer-badges li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px; height: 5px;
  border: 1px solid var(--orange);
}

.footer h5 {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  margin-bottom: 0.95rem;
}
.footer-col ul { display: grid; gap: 0.5rem; }
.footer-col a:hover { color: #fff; }
.footer-col address { font-size: 0.855rem; line-height: 1.75; color: rgba(255, 255, 255, 0.55); margin-bottom: 1rem; }
.footer-contact-list { display: grid; gap: 0.45rem; }
.footer-contact-list li { display: grid; grid-template-columns: 62px 1fr; gap: 0.5rem; font-size: 0.82rem; }
.footer-contact-list span {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  padding-top: 0.14rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 0 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-legal-line { font-size: 0.76rem; color: rgba(255, 255, 255, 0.38); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 1.25rem; font-size: 0.78rem; }
.footer-legal a { color: rgba(255, 255, 255, 0.55); }
.footer-legal a:hover { color: #fff; }

/* ---------- 25. Interior page hero ---------- */
.page-hero {
  background: var(--beige);
  border-bottom: 1px solid var(--line);
  padding: clamp(1.75rem, 3vw, 2.5rem) 0 clamp(2.5rem, 4vw, 3.5rem);
  position: relative;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 1.75rem;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--orange-700); }
.breadcrumb span[aria-hidden] { color: var(--line-2); }

.page-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: end;
}
.ph-title {
  font-size: clamp(1.95rem, 3.7vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.028em;
  margin-top: 0.9rem;
  max-width: 22ch;
}
.ph-lede { font-size: 1rem; max-width: 46ch; padding-bottom: 0.35rem; }

.ph-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: clamp(2rem, 3.5vw, 2.75rem);
}
.ph-facts > div { background: var(--beige); padding: 0.9rem 1rem; }
.ph-facts dt {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.ph-facts dd { font-size: 0.88rem; font-weight: 500; color: var(--ink); margin-top: 0.2rem; }

/* ---------- 26. Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

.form-card {
  border: 1px solid var(--line-2);
  background: var(--white);
  border-radius: var(--r-md);
  padding: clamp(1.4rem, 2.6vw, 2rem);
  box-shadow: var(--shadow-sm);
}
.form-head { margin-bottom: 1.5rem; padding-bottom: 1.1rem; border-bottom: 1px solid var(--line); }
.form-head h2 { font-size: 1.35rem; margin-bottom: 0.3rem; }
.form-head p { font-size: 0.86rem; color: var(--muted); }

.field { display: grid; gap: 0.35rem; margin-bottom: 1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-2);
  letter-spacing: 0.005em;
}
.field label .req { color: var(--orange); }
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  background: var(--paper);
  padding: 0.68rem 0.8rem;
  font-size: 0.9rem;
  color: var(--ink);
  transition: border-color 0.16s var(--ease), background-color 0.16s var(--ease);
}
.field textarea { min-height: 122px; resize: vertical; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(35, 82, 126, 0.09);
}
.field .hint { font-size: 0.74rem; color: var(--muted-2); }
.field-check { display: grid; grid-template-columns: 18px 1fr; gap: 0.6rem; align-items: start; margin-bottom: 1.15rem; }
.field-check input { width: 16px; height: 16px; margin-top: 0.2rem; accent-color: var(--orange); }
.field-check label { font-size: 0.78rem; color: var(--muted); line-height: 1.55; }

.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; }

.form-ok, .form-alert {
  border: 1px solid var(--ok);
  background: var(--ok-soft);
  color: #14563a;
  border-radius: var(--r);
  padding: 0.85rem 1rem;
  font-size: 0.86rem;
  margin-bottom: 1.25rem;
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}
.form-ok svg, .form-alert svg { width: 18px; height: 18px; flex: none; margin-top: 0.1rem; }
.form-alert { border-color: #c0531a; background: var(--orange-soft); color: #7a3410; }

.contact-aside { display: grid; gap: 1.25rem; }
.contact-card {
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: var(--r);
  padding: 1.3rem 1.25rem;
}
.contact-card h3 { font-size: 0.98rem; margin-bottom: 0.6rem; display: flex; align-items: center; gap: 0.55rem; }
.contact-card h3 svg { width: 18px; height: 18px; color: var(--orange); }
.contact-card dl { display: grid; gap: 0.65rem; }
.contact-card dt {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.contact-card dd { font-size: 0.875rem; color: var(--ink-2); line-height: 1.55; }
.contact-card dd a { border-bottom: 1px solid var(--orange-line); }
.contact-card dd a:hover { color: var(--orange-700); }

.hours-list { display: grid; gap: 0.4rem; }
.hours-list li { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.84rem; color: var(--ink-2); }
.hours-list li span { color: var(--muted); font-variant-numeric: tabular-nums; }

/* ---------- 27. Long-form / legal prose ---------- */
.prose { max-width: 78ch; }
.prose h2 {
  font-size: 1.28rem;
  margin: 2.4rem 0 0.75rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
  letter-spacing: -0.015em;
}
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h3 { font-size: 1.02rem; margin: 1.5rem 0 0.5rem; }
.prose p { font-size: 0.935rem; color: var(--ink-2); line-height: 1.75; }
.prose p + p { margin-top: 0.85rem; }
.prose ul, .prose ol { margin: 0.75rem 0 0.9rem 0; display: grid; gap: 0.45rem; }
.prose ul li { position: relative; padding-left: 1.1rem; font-size: 0.925rem; color: var(--ink-2); line-height: 1.7; }
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 5px; height: 5px;
  background: var(--orange);
}
.prose ol { counter-reset: n; }
.prose ol li { position: relative; padding-left: 1.8rem; font-size: 0.925rem; color: var(--ink-2); line-height: 1.7; counter-increment: n; }
.prose ol li::before {
  content: counter(n) ".";
  position: absolute;
  left: 0;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--orange-700);
}
.prose a { color: var(--orange-700); border-bottom: 1px solid var(--orange-line); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose .prose-meta {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 1.75rem;
}
.prose .callout {
  border-left: 2px solid var(--orange);
  background: var(--orange-soft);
  padding: 0.95rem 1.1rem;
  margin: 1.25rem 0;
  font-size: 0.89rem;
  color: var(--ink-2);
  border-radius: 0 var(--r) var(--r) 0;
}

.legal-layout { display: grid; grid-template-columns: 220px 1fr; gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.legal-toc {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  border-left: 1px solid var(--line);
  padding-left: 1.1rem;
}
.legal-toc p {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 0.7rem;
}
.legal-toc a { display: block; padding: 0.3rem 0; font-size: 0.82rem; color: var(--muted); }
.legal-toc a:hover { color: var(--orange-700); }

/* ---------- 28. Tabs ---------- */
.tabs { border-top: 1px solid var(--line); margin-top: 2rem; }
.tab-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  border-bottom: 1px solid var(--line);
}
.tab-btn {
  position: relative;
  padding: 0.85rem 1.05rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.tab-btn:hover { color: var(--ink); }
.tab-btn.active { color: var(--ink); font-weight: 600; border-bottom-color: var(--orange); }
.tab-panel { display: none; padding-top: 1.75rem; }
.tab-panel.active { display: block; }
.tab-panel .lede { max-width: 70ch; }

.feature-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem 2rem; margin-top: 1.25rem; }
.feature-cols li {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--ink-2);
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--line-soft);
}
.feature-cols svg { width: 16px; height: 16px; color: var(--orange); margin-top: 0.18rem; }

/* ---------- 29. Product blocks ---------- */
.product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  padding: clamp(2.5rem, 5vw, 4.5rem) 0;
  border-bottom: 1px solid var(--line);
}
.product:last-of-type { border-bottom: 0; }
.product.flip .product-media { order: -1; }
.product-num {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--orange);
}
.product h2 { font-size: clamp(1.5rem, 2.6vw, 2.05rem); margin: 0.6rem 0 0.85rem; }
.product .lede { font-size: 0.955rem; }
.product-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1.35rem; }
.product-tags span {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--line-2);
  border-radius: 2px;
  padding: 0.25rem 0.5rem;
  color: var(--muted);
}

.product-media {
  border: 1px solid var(--line-2);
  background: var(--white);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.pm-head {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.6rem 0.9rem;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.pm-body { padding: 0.9rem; display: grid; gap: 0.55rem; }
.pm-line {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.5rem 0.6rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  font-size: 0.78rem;
  background: var(--paper);
}
.pm-line .pl-l { display: flex; align-items: center; gap: 0.5rem; color: var(--ink-2); }
.pm-line .pl-l i {
  width: 6px; height: 6px; background: var(--orange); border-radius: 50%; flex: none;
}
.pm-line .pl-r { font-family: var(--mono); font-size: 0.7rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.pm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.55rem; }
.pm-cell {
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  padding: 0.55rem 0.6rem;
  background: var(--paper);
}
.pm-cell span {
  display: block;
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.pm-cell b { font-size: 0.85rem; font-weight: 600; font-variant-numeric: tabular-nums; }

/* ---------- 30. Timeline / about ---------- */
.timeline { border-top: 1px solid var(--line); }
.tl-item {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 1.5rem;
  padding: 1.3rem 0;
  border-bottom: 1px solid var(--line);
}
.tl-year {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--orange-700);
  letter-spacing: 0.05em;
  padding-top: 0.15rem;
}
.tl-body h3 { font-size: 1rem; margin-bottom: 0.25rem; }
.tl-body p { font-size: 0.885rem; color: var(--muted); line-height: 1.65; max-width: 70ch; }

.facts-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.fact {
  border-top: 2px solid var(--ink);
  padding-top: 0.9rem;
  display: grid;
  gap: 0.35rem;
}
.fact dt {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.fact dd { font-size: 0.9rem; color: var(--ink-2); line-height: 1.6; }

.people-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.person { border: 1px solid var(--line); background: var(--white); border-radius: var(--r); overflow: hidden; }
.person-id {
  padding: 1.15rem 1.15rem 1rem;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.person-monogram {
  width: 42px; height: 42px;
  flex: none;
  display: grid; place-items: center;
  background: var(--blue-900);
  color: #fff;
  border-radius: var(--r);
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}
.person-id h3 { font-size: 0.95rem; }
.person-id p { font-size: 0.76rem; color: var(--muted); margin-top: 0.1rem; }
.person p.bio { font-size: 0.85rem; color: var(--muted); padding: 1rem 1.15rem 1.2rem; line-height: 1.65; }

/* ---------- 31. Misc ---------- */
.badge-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.badge {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.55rem;
  border: 1px solid var(--line-2);
  border-radius: 2px;
  color: var(--muted);
}
.badge-ok { border-color: rgba(30, 122, 75, 0.35); color: var(--ok); background: var(--ok-soft); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.75rem; }
.mt-2 { margin-top: 1.25rem; }
.mt-3 { margin-top: 2rem; }
.mt-4 { margin-top: 2.75rem; }
.mb-2 { margin-bottom: 1.25rem; }
.text-center { text-align: center; }
.max-lede { max-width: 66ch; }

.inline-note {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.83rem;
  color: var(--muted);
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: var(--r);
  padding: 0.85rem 1rem;
  margin-top: 1.25rem;
}
.inline-note svg { width: 16px; height: 16px; color: var(--blue); flex: none; margin-top: 0.16rem; }

/* ---------- 32. Reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  transition-delay: var(--d, 0s);
}
[data-reveal].in-view { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ---------- 33. Responsive ---------- */
@media (max-width: 1080px) {
  .topbar-links a:nth-child(2) { display: none; }
  .footer-top { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-col-contact { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 1.5rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; border-left: 0; border-top: 1px solid var(--line); padding: 1rem 0 0; display: flex; flex-wrap: wrap; gap: 0 1.25rem; }
  .legal-toc p { width: 100%; }
}

@media (max-width: 960px) {
  .nav, .header-actions { display: none; }
  .burger { display: flex; margin-left: auto; }
  .hero-grid, .ai-grid, .split, .product, .page-hero-grid { grid-template-columns: 1fr; }
  .hero-copy .h1 { max-width: 24ch; }
  .split-reverse > .split-media { order: 0; }
  .product.flip .product-media { order: 0; }
  .pillars { grid-template-columns: 1fr; }
  .pillar { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .pillar:first-child { border-top: 0; }
  .modules, .industry-grid, .quote-grid, .people-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pricing-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { padding: 1.5rem 1.25rem; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line-dark); }
  .trust-strip { grid-template-columns: 1fr; gap: 1rem; }
  .trust-item { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); padding-top: 0.9rem; }
  .trust-strip > p { max-width: none; }
  .cta-inner { grid-template-columns: 1fr; }
  .cta-band::after { display: none; }
  .ph-title { max-width: none; }
  .hero { background-size: 56px 56px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container, .container-narrow { width: 92vw; }
  .topbar-note { display: none; }
  .topbar-inner { min-height: 38px; }
  .topbar-links { width: 100%; justify-content: space-between; gap: 0.75rem; }
  .topbar-sep { display: none; }
  .modules, .industry-grid, .quote-grid, .people-grid, .steps, .facts-grid, .feature-cols { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .c-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .c-metric:nth-child(3) { grid-column: 1 / -1; }
  .hero-actions .btn { width: 100%; }
  .cta-actions .btn { width: 100%; }
  .footer-top { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .plan-price b { font-size: 2.1rem; }
  .tl-item { grid-template-columns: 1fr; gap: 0.35rem; }
  .ledger-total b { font-size: 1rem; }
  .pricing-note { flex-direction: column; gap: 0.55rem; }
  .acc-head { font-size: 0.92rem; gap: 1rem; }
  .acc-body > div { padding-right: 0; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat { border-left: 0; padding-left: 0; border-top: 1px solid var(--line-dark); }
  .stat:first-child { border-top: 0; }
}

/* ---------- Chat example & plain lists ---------- */
.chat { display: grid; gap: 0.65rem; padding: 1.1rem; }
.chat-msg {
  max-width: 86%;
  padding: 0.7rem 0.9rem;
  border-radius: 10px;
  font-size: 0.89rem;
  line-height: 1.55;
}
.chat-msg.from {
  background: var(--blue-soft);
  border: 1px solid var(--line);
  color: var(--ink-2);
  border-bottom-left-radius: 3px;
}
.chat-msg.to {
  margin-left: auto;
  background: var(--orange);
  color: #fff;
  border-bottom-right-radius: 3px;
}
.chat-who {
  display: block;
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: 0.2rem;
}
.chat-note {
  padding: 0 1.1rem 1.1rem;
  font-size: 0.74rem;
  color: var(--muted-2);
}

.plain-list { display: grid; gap: 0.45rem; font-size: 0.89rem; color: var(--muted); }
.plain-list li { position: relative; padding-left: 0.95rem; line-height: 1.55; }
.plain-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 5px;
  background: var(--orange);
}

/* ---------- 34. Login modal ---------- */
.login-modal {
  position: fixed;
  inset: 0;
  z-index: 160;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}
.login-modal[hidden] { display: none; }

.login-modal-scrim {
  position: absolute;
  inset: 0;
  background: rgba(14, 36, 56, 0.52);
}

.login-modal-card {
  position: relative;
  width: min(430px, 100%);
  background: var(--white);
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  padding: 1.5rem;
  max-height: 90vh;
  overflow-y: auto;
}
.login-modal-card .form-head { margin-bottom: 1.1rem; }

.login-modal-close {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: var(--muted);
  border-radius: var(--r);
}
.login-modal-close:hover { color: var(--ink); background: rgba(22, 36, 47, 0.05); }
.login-modal-close svg { width: 16px; height: 16px; }

.login-modal-msg {
  border: 1px solid var(--orange-line);
  background: var(--orange-soft);
  color: #7a3410;
  border-radius: var(--r);
  padding: 0.7rem 0.85rem;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}
.login-modal-msg[hidden] { display: none; }

body.modal-open { overflow: hidden; }

/* Service notice */
.notice-card {
  width: min(560px, 100%);
  border-top: 3px solid var(--orange);
}
.notice-list {
  display: grid;
  gap: 0.7rem;
  margin: 1.1rem 0 1.2rem;
}
.notice-list li {
  border-top: 1px solid var(--line);
  padding-top: 0.7rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted);
}
.notice-list li:first-child { border-top: 0; padding-top: 0; }
.notice-list strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.15rem;
}
.notice-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.notice-foot { font-size: 0.74rem; color: var(--muted-2); margin-top: 0.9rem; }

.notice-card h2 {
  font-size: 1.35rem;
  line-height: 1.26;
  letter-spacing: -0.02em;
  margin-top: 0.7rem;
  max-width: 26ch;
}
.notice-lede {
  font-size: 0.89rem;
  line-height: 1.62;
  color: var(--muted);
  margin-top: 0.65rem;
}

body.notice-open { overflow: hidden; }

/* ---------- 35. Print ---------- */
@media print {
  .topbar, .header, .mobile-nav, .cta-band, .footer, .burger { display: none !important; }
  body { background: #fff; }
  [data-reveal] { opacity: 1; transform: none; }
}
