/* ============================================================
   Architeqt AI — Lead Magnets Design System v2
   Anthropic design tokens. No borders. Serif headings. Mobile-first.
   ============================================================ */

@font-face {
  font-family: 'Anthropic Sans';
  src: url('./fonts/Anthropic-Sans.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Anthropic Serif';
  src: url('./fonts/Anthropic-Serif.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ─── Tokens ─────────────────────────────────────────────── */
:root {
  --ivory:        #faf9f5;
  --ivory-md:     #f0eee6;
  --ivory-dk:     #e8e6dc;
  --oat:          #e3dacc;
  --dark:         #141413;
  --dark-md:      #3d3d3a;
  --dark-lt:      #5e5d59;
  --muted:        #87867f;
  --cloud-lt:     #d1cfc5;
  --cloud-md:     #b0aea5;

  /* Accents */
  --clay:         #d97757;
  --ember:        #c6613f;
  --olive:        #788c5d;
  --sky:          #6a9bcc;
  --fig:          #c46686;
  --cactus:       #bcd1ca;

  /* Surfaces */
  --bg:           var(--ivory);
  --bg-raised:    var(--ivory-md);
  --bg-oat:       var(--oat);
  --bg-dark:      var(--dark);

  /* Type */
  --sans:  'Anthropic Sans', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --serif: 'Anthropic Serif', ui-serif, Georgia, serif;
  --mono:  ui-monospace, 'JetBrains Mono', 'SF Mono', Menlo, monospace;

  /* Scale */
  --t-xs:   11px;
  --t-sm:   13px;
  --t-base: 15px;
  --t-md:   16px;
  --t-lg:   18px;
  --t-xl:   22px;
  --t-2xl:  28px;
  --t-3xl:  36px;
  --t-4xl:  48px;
  --t-hero: 56px;

  /* Spacing */
  --sp-1:  4px;
  --sp-2:  8px;
  --sp-3:  12px;
  --sp-4:  16px;
  --sp-5:  20px;
  --sp-6:  24px;
  --sp-8:  32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-sec: 56px;    /* section gap */
  --sp-card: 28px;   /* card padding */

  /* Radius */
  --r-sm:  6px;
  --r-md:  12px;
  --r-lg:  20px;
  --r-xl:  28px;

  --max-w: 1200px;
  --content-w: 760px;

  /* Layout system */
  --page-max: 1080px;
  --side-pad: 24px;
  --side-pad-sm: 16px;
  --sec-pad: 64px;
  --sec-pad-sm: 44px;
}

/* ─── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
pre { white-space: pre-wrap; overflow-x: auto; overflow-wrap: break-word; }

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--dark);
  font-family: var(--sans);
  font-size: var(--t-base);
  line-height: 1.6;
  letter-spacing: -0.01em;
  overflow-x: hidden;
}

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

/* ─── Headings: Anthropic Serif throughout ───────────────── */
h1 {
  font-family: var(--serif);
  font-size: var(--t-3xl);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--dark);
}

h2 {
  font-family: var(--serif);
  font-size: var(--t-2xl);
  font-weight: 300;
  line-height: 1.25;
  color: var(--dark);
}

h3 {
  font-family: var(--serif);
  font-size: var(--t-xl);
  font-weight: 300;
  line-height: 1.35;
  color: var(--dark);
}

/* Dark surface keeps readable weight */
.dark-surface h1, .dark-surface h2, .dark-surface h3 {
  color: var(--ivory);
  font-weight: 400;
}

p { line-height: 1.65; }

@media (min-width: 768px) {
  h1 { font-size: var(--t-4xl); }
  h2 { font-size: var(--t-3xl); }
  h3 { font-size: var(--t-2xl); }
}

@media (min-width: 1024px) {
  h1 { font-size: var(--t-hero); }
}

/* ─── Layout ─────────────────────────────────────────────── */
.wrap,
.container,
.container--narrow {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 var(--side-pad);
}

@media (max-width: 767px) {
  .wrap,
  .container,
  .container--narrow {
    padding: 0 var(--side-pad-sm);
  }
}

/* ─── Nav ────────────────────────────────────────────────── */
.site-nav {
  background: var(--bg-raised);
  height: 56px;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.wordmark {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--dark);
}

.nav-cta {
  background: var(--dark);
  color: var(--ivory);
  font-family: var(--sans);
  font-weight: 500;
  font-size: 13px;
  padding: 8px 16px;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  transition: background 0.15s;
}

.nav-cta:hover { background: var(--dark-md); }

/* ─── Dark Band / Hero ───────────────────────────────────── */
.dark-band {
  background: var(--bg-dark);
  border-radius: var(--r-xl);
  margin: var(--sp-3) var(--sp-3);
  padding: var(--sp-10) var(--sp-5);
}

.dark-band .keyword-tag {
  font-family: var(--mono);
  font-size: var(--t-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clay);
  display: block;
  margin-bottom: var(--sp-3);
}

.dark-band h1 {
  color: var(--ivory);
  font-weight: 600;
  margin-bottom: var(--sp-4);
  max-width: 640px;
}

.dark-band h1 em {
  font-style: normal;
  text-decoration: underline;
  text-decoration-color: var(--clay);
  text-underline-offset: 6px;
  text-decoration-thickness: 2px;
}

.dark-band .hero-sub {
  font-size: var(--t-base);
  color: var(--cloud-md);
  line-height: 1.6;
  max-width: 520px;
  margin-bottom: var(--sp-6);
}

.dark-band .hero-sub strong { color: var(--ivory); }

@media (min-width: 768px) {
  .dark-band {
    margin: var(--sp-4) var(--sp-6);
    padding: 56px var(--sp-10);
  }
}

/* ─── Sections ───────────────────────────────────────────── */
.section {
  padding: var(--sec-pad) var(--side-pad);
}

@media (max-width: 767px) {
  .section { padding: var(--sec-pad-sm) var(--side-pad-sm); }
}

.section--raised  { background: var(--bg-raised); }
.section--oat     { background: var(--bg-oat); }
.section--dark    { background: var(--bg-dark); }

.section-tag {
  font-family: var(--mono);
  font-size: var(--t-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: var(--sp-3);
}

.section-tag--clay   { color: var(--clay); }
.section-tag--olive  { color: var(--olive); }
.section-tag--sky    { color: var(--sky); }
.section-tag--fig    { color: var(--fig); }

.section-body {
  font-size: var(--t-base);
  line-height: 1.7;
  color: var(--dark);
  max-width: 600px;
}

.section-body p + p { margin-top: var(--sp-4); }

/* ─── Cards — background-only, no borders ────────────────── */
.card {
  background: var(--bg-raised);
  border-radius: var(--r-md);
  padding: var(--sp-card);
}

.card--oat { background: var(--bg-oat); border-radius: var(--r-md); padding: var(--sp-card); }
.card--dark { background: var(--bg-dark); border-radius: var(--r-md); padding: var(--sp-card); }
.card--clay { background: var(--clay); border-radius: var(--r-md); padding: var(--sp-card); }
.card--subtle { background: rgba(215, 205, 190, 0.3); border-radius: var(--r-md); padding: var(--sp-card); }

/* accent-tinted cards */
.card--olive  { background: rgba(120, 140, 93,  0.1); border-radius: var(--r-md); padding: var(--sp-card); }
.card--sky    { background: rgba(106, 155, 204, 0.1); border-radius: var(--r-md); padding: var(--sp-card); }
.card--fig    { background: rgba(196, 102, 134, 0.1); border-radius: var(--r-md); padding: var(--sp-card); }
.card--cactus { background: rgba(188, 209, 202, 0.3); border-radius: var(--r-md); padding: var(--sp-card); }

.card-label {
  font-family: var(--mono);
  font-size: var(--t-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: var(--sp-2);
}

.card-title {
  font-family: var(--serif);
  font-size: var(--t-xl);
  font-weight: 400;
  color: var(--dark);
  margin-bottom: var(--sp-3);
}

.card-body {
  font-size: var(--t-base);
  line-height: 1.65;
  color: var(--dark);
}

.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
}

@media (min-width: 768px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .card-grid--3 { grid-template-columns: repeat(3, 1fr); } }

/* Case study cards: 2-col max for readable text */
.case-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
}

@media (min-width: 768px) { .case-grid { grid-template-columns: repeat(2, 1fr); } }

/* ─── Buttons — no borders ───────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  font-family: var(--sans);
  font-weight: 500;
  font-size: var(--t-base);
  padding: var(--sp-3) var(--sp-6);
  border-radius: 0;
  transition: background 0.15s, color 0.15s;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--clay);
  color: var(--ivory);
}
.btn-primary:hover { background: var(--ember); }

.btn-dark {
  background: var(--ivory);
  color: var(--dark);
}
.btn-dark:hover { background: var(--bg-raised); }

.btn-ghost {
  background: rgba(255,255,255,0.08);
  color: var(--ivory);
}
.btn-ghost:hover { background: rgba(255,255,255,0.15); }

.btn-muted {
  background: var(--bg-raised);
  color: var(--dark-lt);
}
.btn-muted:hover { background: var(--oat); }

.btn-lg {
  font-size: var(--t-md);
  padding: var(--sp-4) var(--sp-8);
}

.btn-sm {
  font-size: var(--t-xs);
  padding: var(--sp-2) var(--sp-4);
  letter-spacing: 0.05em;
  font-family: var(--mono);
}

/* ─── Forms — no borders, background-distinguished ───────── */
.form-group { margin-bottom: var(--sp-4); }

.form-label {
  display: block;
  font-family: var(--mono);
  font-size: var(--t-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--sp-2);
}

.form-input,
.form-select,
.form-textarea {
  display: block;
  width: 100%;
  padding: var(--sp-3) var(--sp-4);
  background: var(--oat);
  color: var(--dark);
  font-family: var(--sans);
  font-size: var(--t-base);
  border-radius: var(--r-sm);
  outline: none;
  transition: background 0.15s;
  -webkit-appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  background: var(--ivory-dk);
}

.form-input::placeholder,
.form-textarea::placeholder { color: var(--cloud-md); }

.form-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2387867f' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.form-textarea { resize: vertical; min-height: 80px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-3);
}

@media (min-width: 480px) { .form-row { grid-template-columns: 1fr 1fr; } }

.form-submit {
  display: block;
  width: 100%;
  background: var(--clay);
  color: var(--ivory);
  font-family: var(--sans);
  font-weight: 600;
  font-size: var(--t-md);
  padding: var(--sp-4) var(--sp-8);
  border-radius: 0;
  cursor: pointer;
  transition: background 0.15s;
  margin-top: var(--sp-5);
  letter-spacing: -0.01em;
}

.form-submit:hover  { background: var(--ember); }
.form-submit:disabled { background: var(--cloud-md); cursor: not-allowed; }

.form-success {
  text-align: center;
  padding: var(--sp-10) var(--sp-4);
}

.form-success-title {
  font-family: var(--serif);
  font-size: var(--t-2xl);
  color: var(--dark);
  margin-bottom: var(--sp-3);
}

.form-success-body {
  font-size: var(--t-base);
  color: var(--muted);
  line-height: 1.6;
  max-width: 400px;
  margin: 0 auto;
}

/* ─── Mono / tag labels ──────────────────────────────────── */
.tag {
  font-family: var(--mono);
  font-size: var(--t-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.tag--clay   { color: var(--clay); }
.tag--olive  { color: var(--olive); }
.tag--sky    { color: var(--sky); }
.tag--fig    { color: var(--fig); }
.tag--dark   { color: var(--dark); }

/* ─── Tables — no borders, background alternation ─────────── */
.data-table { width: 100%; border-collapse: collapse; font-size: var(--t-sm); }

.data-table th {
  font-family: var(--mono);
  font-size: var(--t-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: left;
  padding: var(--sp-3) var(--sp-4);
  background: var(--bg-raised);
}

.data-table td {
  padding: var(--sp-3) var(--sp-4);
  color: var(--dark);
  line-height: 1.5;
  vertical-align: middle;
}

.data-table tr:nth-child(even) td { background: rgba(227, 218, 204, 0.3); }
.data-table tr:hover td { background: var(--bg-raised); }

/* ─── Progress bar ───────────────────────────────────────── */
.progress-track {
  height: 3px;
  background: var(--oat);
  border-radius: 2px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--clay);
  border-radius: 2px;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  width: 0%;
}

/* ─── Score gauge (SVG-based, styled via class) ───────────── */
.gauge-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-4);
}

/* ─── Band cards ─────────────────────────────────────────── */
.band-card {
  border-radius: var(--r-md);
  padding: var(--sp-card);
}

.band-card .band-label {
  font-family: var(--mono);
  font-size: var(--t-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--sp-3);
  display: block;
}

.band-card .band-message {
  font-size: var(--t-base);
  line-height: 1.65;
}

.band--build-now  { background: rgba(45, 125, 70, 0.08); }
.band--build-now  .band-label { color: #2d7d46; }

.band--fix-first  { background: rgba(217, 119, 87, 0.1); }
.band--fix-first  .band-label { color: var(--clay); }

.band--foundation { background: var(--bg-raised); }
.band--foundation .band-label { color: var(--dark-lt); }

.band--not-ready  { background: rgba(100, 90, 80, 0.08); }
.band--not-ready  .band-label { color: var(--dark-md); }

/* ─── Sliders ────────────────────────────────────────────── */
.slider-group { margin-bottom: var(--sp-6); }

.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: var(--sp-3);
}

.slider-label {
  font-size: var(--t-base);
  font-weight: 500;
  color: var(--dark);
  flex: 1;
  padding-right: var(--sp-4);
}

.slider-value {
  font-family: var(--mono);
  font-size: var(--t-lg);
  font-weight: 700;
  color: var(--dark);
  white-space: nowrap;
}

input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 4px;
  background: var(--oat);
  border-radius: 2px;
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  background: var(--clay);
  border-radius: 50%;
  cursor: pointer;
}

input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px;
  background: var(--clay);
  border-radius: 50%;
  cursor: pointer;
}

/* ─── Pricing ────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-3);
}

@media (min-width: 640px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }

.pricing-card {
  background: var(--bg-raised);
  border-radius: var(--r-md);
  padding: var(--sp-card);
}

.pricing-tier {
  font-family: var(--mono);
  font-size: var(--t-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--sp-3);
  display: block;
}

.pricing-amount {
  font-family: var(--serif);
  font-size: var(--t-2xl);
  color: var(--dark);
  margin-bottom: var(--sp-2);
}

.pricing-desc {
  font-size: var(--t-sm);
  color: var(--dark-lt);
  line-height: 1.6;
}

/* ─── Command / feature list ─────────────────────────────── */
.command-list { list-style: none; }

.command-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-1);
  padding: var(--sp-4) 0;
}

@media (min-width: 640px) {
  .command-item {
    grid-template-columns: auto 1fr auto;
    gap: var(--sp-4);
    align-items: start;
  }
}

.command-item + .command-item { margin-top: var(--sp-2); }

.command-name {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--dark-md);
  background: var(--bg-raised);
  padding: 3px 8px;
  border-radius: var(--r-sm);
  white-space: nowrap;
  align-self: start;
}

.command-desc {
  font-size: var(--t-base);
  color: var(--dark);
  line-height: 1.6;
}

.command-time {
  font-family: var(--mono);
  font-size: var(--t-xs);
  color: var(--clay);
  white-space: nowrap;
  font-weight: 700;
}

/* ─── Logo row (logo.dev) ────────────────────────────────── */
.logo-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-4);
}

.logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
}

.logo-img {
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  object-fit: contain;
  background: var(--ivory);
  padding: 4px;
}

.logo-name {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.05em;
}

/* ─── Case study card ────────────────────────────────────── */
.case-card {
  background: var(--bg-raised);
  border-radius: var(--r-md);
  padding: var(--sp-card);
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: var(--sp-4);
  align-items: start;
}

.case-logo {
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  object-fit: contain;
  background: var(--ivory);
  padding: 4px;
}

.case-metric {
  font-family: var(--serif);
  font-size: var(--t-2xl);
  color: var(--clay);
  font-weight: 600;
  line-height: 1;
  margin-bottom: var(--sp-1);
}

.case-desc {
  font-size: var(--t-sm);
  color: var(--dark-lt);
  line-height: 1.5;
}

.case-source {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--cloud-md);
  margin-top: var(--sp-2);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.case-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-3);
}

@media (min-width: 640px) { .case-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .case-grid { grid-template-columns: repeat(3, 1fr); } }

/* ─── Footer dark band ───────────────────────────────────── */
.footer-band {
  background: var(--bg-dark);
  border-radius: var(--r-xl);
  margin: var(--sp-4) var(--sp-3);
  padding: var(--sp-10) var(--sp-5);
  text-align: center;
}

@media (min-width: 768px) {
  .footer-band {
    margin: var(--sp-8) var(--sp-6);
    padding: 56px var(--sp-10);
  }
}

.footer-band h2 {
  color: var(--ivory);
  font-size: var(--t-2xl);
  margin-bottom: var(--sp-3);
}

.footer-band p {
  color: var(--muted);
  font-size: var(--t-base);
  margin-bottom: var(--sp-6);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.footer-meta {
  font-family: var(--mono);
  font-size: var(--t-xs);
  color: var(--dark-md);
  margin-top: var(--sp-6);
  letter-spacing: 0.08em;
}

/* ─── ROI output numbers ─────────────────────────────────── */
.roi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-3);
  margin-bottom: var(--sp-6);
}

@media (min-width: 768px) { .roi-grid { grid-template-columns: repeat(3, 1fr); } }

.roi-card {
  background: var(--bg-raised);
  border-radius: var(--r-md);
  padding: var(--sp-4);
  text-align: center;
}

.roi-card-label {
  font-family: var(--mono);
  font-size: var(--t-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: var(--sp-2);
}

.roi-card-value {
  font-family: var(--mono);
  font-size: var(--t-2xl);
  font-weight: 700;
  color: var(--dark);
  display: block;
  line-height: 1.1;
}

.roi-card-value--clay { color: var(--clay); }

/* ─── Filter pills ───────────────────────────────────────── */
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-bottom: var(--sp-5);
}

.filter-pill {
  font-family: var(--mono);
  font-size: var(--t-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--r-sm);
  background: var(--bg-raised);
  color: var(--dark-lt);
  cursor: pointer;
  transition: all 0.15s;
}

.filter-pill:hover { background: var(--oat); color: var(--dark); }
.filter-pill.active { background: var(--dark); color: var(--ivory); }

/* ─── Stat blocks ────────────────────────────────────────── */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-3);
  padding: var(--sp-sec) var(--sp-4);
  background: var(--bg-raised);
}

@media (min-width: 640px) { .stat-strip { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 768px) { .stat-strip { padding: var(--sp-sec) var(--sp-8); } }

.stat-num {
  font-family: var(--mono);
  font-size: var(--t-3xl);
  font-weight: 700;
  color: var(--dark);
  display: block;
  margin-bottom: var(--sp-1);
}

.stat-desc {
  font-size: var(--t-sm);
  color: var(--muted);
  line-height: 1.4;
}

/* ─── Qualification step (READY calculator) ──────────────── */
.role-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-3);
  max-width: 580px;
}

@media (min-width: 500px) { .role-grid { grid-template-columns: repeat(2, 1fr); } }

.role-card {
  background: var(--bg-raised);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  cursor: pointer;
  transition: all 0.2s;
  text-align: left;
}

.role-card:hover { background: var(--oat); transform: translateY(-2px); }

.role-card.selected { background: var(--dark); }
.role-card.selected .role-title { color: var(--ivory); }
.role-card.selected .role-desc  { color: var(--cloud-md); }
.role-card.selected .role-icon  { color: var(--clay); }

.role-icon {
  font-size: 28px;
  margin-bottom: var(--sp-3);
  display: block;
}

.role-title {
  font-family: var(--serif);
  font-size: var(--t-lg);
  color: var(--dark);
  margin-bottom: var(--sp-1);
}

.role-desc {
  font-size: var(--t-sm);
  color: var(--muted);
  line-height: 1.5;
}

/* ─── Answer buttons (READY) ─────────────────────────────── */
.answer-row {
  display: flex;
  gap: var(--sp-3);
  flex-wrap: wrap;
  margin-top: var(--sp-6);
}

.answer-btn {
  flex: 1;
  min-width: 90px;
  font-family: var(--mono);
  font-size: var(--t-sm);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: var(--sp-4) var(--sp-4);
  border-radius: var(--r-md);
  background: var(--bg-raised);
  color: var(--dark-lt);
  cursor: pointer;
  transition: all 0.15s;
  text-align: center;
}

.answer-btn:hover { background: var(--oat); color: var(--dark); transform: translateY(-1px); }

.answer-btn.selected[data-value="yes"]     { background: var(--dark); color: var(--ivory); }
.answer-btn.selected[data-value="partial"] { background: var(--clay); color: var(--ivory); }
.answer-btn.selected[data-value="no"]      { background: var(--oat); color: var(--dark-md); }

/* ─── Score gauge SVG ────────────────────────────────────── */
.score-gauge-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--sp-8) 0;
}

/* ─── Accomplishment state ───────────────────────────────── */
.accomplish-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  background: rgba(45, 125, 70, 0.1);
  border-radius: var(--r-lg);
  padding: var(--sp-3) var(--sp-5);
  margin-bottom: var(--sp-6);
}

.accomplish-badge-text {
  font-family: var(--mono);
  font-size: var(--t-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #2d7d46;
  font-weight: 700;
}

/* ─── Utility ────────────────────────────────────────────── */
.hide { display: none !important; }

.text-clay   { color: var(--clay); }
.text-muted  { color: var(--muted); }
.text-serif  { font-family: var(--serif); }
.text-mono   { font-family: var(--mono); }
.text-center { text-align: center; }
.text-sm     { font-size: var(--t-sm); }
.text-xs     { font-size: var(--t-xs); }

.mt-2  { margin-top: var(--sp-2); }
.mt-4  { margin-top: var(--sp-4); }
.mt-6  { margin-top: var(--sp-6); }
.mt-8  { margin-top: var(--sp-8); }
.mb-4  { margin-bottom: var(--sp-4); }
.mb-6  { margin-bottom: var(--sp-6); }
.mb-8  { margin-bottom: var(--sp-8); }

.gap-2 { gap: var(--sp-2); }
.gap-4 { gap: var(--sp-4); }
.gap-6 { gap: var(--sp-6); }

.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }

/* ─── Inline CTA (replaces dark footer band) ─────────────── */
.inline-cta {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  padding: var(--sp-sec) var(--sp-4);
  max-width: var(--content-w);
}

@media (min-width: 640px) {
  .inline-cta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: var(--sp-sec) var(--sp-8);
    max-width: 100%;
  }
}

.inline-cta-text h3 {
  font-family: var(--serif);
  font-size: var(--t-xl);
  color: var(--dark);
  margin-bottom: var(--sp-2);
}

.inline-cta-text p {
  font-size: var(--t-sm);
  color: var(--muted);
  max-width: 440px;
}

.inline-cta-action {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-2);
}

@media (min-width: 640px) {
  .inline-cta-action { align-items: flex-end; }
}

.cta-link {
  font-family: var(--serif);
  font-size: var(--t-xl);
  color: var(--clay);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  transition: color 0.15s;
}

.cta-link:hover { color: var(--ember); }

.cta-sub {
  font-family: var(--mono);
  font-size: var(--t-xs);
  color: var(--muted);
  letter-spacing: 0.08em;
}

/* ─── Minimal footer ─────────────────────────────────────── */
.site-footer {
  padding: var(--sp-8) var(--sp-4) var(--sp-10);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

@media (min-width: 640px) {
  .site-footer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: var(--sp-8) var(--sp-8) var(--sp-10);
  }
}

.site-footer-brand {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--dark);
}

.site-footer-links {
  display: flex;
  gap: var(--sp-6);
  flex-wrap: wrap;
}

.site-footer-links a {
  font-family: var(--mono);
  font-size: var(--t-xs);
  color: var(--muted);
  letter-spacing: 0.05em;
  transition: color 0.15s;
}

.site-footer-links a:hover { color: var(--dark); }

/* ─── Page hero (replaces dark band) ─────────────────────── */
.page-hero {
  padding: var(--sp-10) var(--sp-4) var(--sp-8);
  max-width: var(--content-w);
}

@media (min-width: 768px) {
  .page-hero {
    padding: 64px var(--sp-8) var(--sp-8);
  }
}

.page-hero .keyword-tag {
  font-family: var(--mono);
  font-size: var(--t-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clay);
  display: block;
  margin-bottom: var(--sp-4);
}

.page-hero h1 {
  margin-bottom: var(--sp-4);
}

.page-hero h1 em {
  font-style: italic;
  color: var(--clay);
}

.page-hero .hero-sub {
  font-size: var(--t-lg);
  color: var(--muted);
  line-height: 1.6;
  max-width: 520px;
  margin-bottom: var(--sp-6);
}

/* ─── Category list rows (replaces boring data tables) ───── */
.category-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--sp-4);
  align-items: center;
  padding: var(--sp-4) var(--sp-5);
  border-radius: var(--r-md);
  background: var(--bg-raised);
  margin-bottom: var(--sp-2);
  transition: background 0.15s;
}

.category-row:hover { background: var(--oat); }

.category-row--high { background: rgba(217, 119, 87, 0.06); }
.category-row--high:hover { background: rgba(217, 119, 87, 0.12); }

.category-row-main {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}

.category-row-name {
  font-family: var(--serif);
  font-size: var(--t-lg);
  color: var(--dark);
}

.category-row-sub {
  font-size: var(--t-sm);
  color: var(--muted);
}

.category-row-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--sp-1);
}

/* ─── Timeline rows (SERIES calendar) ────────────────────── */
.timeline-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: var(--sp-5);
  padding: var(--sp-5) 0;
  position: relative;
}

.timeline-item + .timeline-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 36px;
  right: 0;
  height: 1px;
  background: var(--oat);
}

.timeline-date {
  flex-shrink: 0;
  text-align: right;
}

.timeline-date-day {
  font-family: var(--mono);
  font-size: var(--t-xs);
  color: var(--clay);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: block;
}

.timeline-date-month {
  font-family: var(--mono);
  font-size: var(--t-xs);
  color: var(--muted);
  letter-spacing: 0.06em;
}

.timeline-content {}

.timeline-title {
  font-family: var(--serif);
  font-size: var(--t-xl);
  color: var(--dark);
  margin-bottom: var(--sp-1);
}

.timeline-desc {
  font-size: var(--t-sm);
  color: var(--muted);
  margin-bottom: var(--sp-3);
  line-height: 1.5;
}

.timeline-meta {
  display: flex;
  gap: var(--sp-4);
  align-items: center;
  flex-wrap: wrap;
}

.timeline-level {
  font-family: var(--mono);
  font-size: var(--t-xs);
  color: var(--dark-lt);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.timeline-price {
  font-family: var(--mono);
  font-size: var(--t-xs);
  color: var(--clay);
  font-weight: 700;
  letter-spacing: 0.06em;
}

/* ─── Process steps (SETUP, CEO) ─────────────────────────── */
.process-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: var(--sp-5);
  padding: var(--sp-5) 0;
}

.process-step + .process-step {
  margin-top: var(--sp-4);
}

.process-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--clay);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-top: 4px;
}

.process-day {
  font-family: var(--mono);
  font-size: var(--t-xs);
  color: var(--clay);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: block;
  margin-bottom: var(--sp-1);
}

.process-title {
  font-family: var(--serif);
  font-size: var(--t-xl);
  color: var(--dark);
  margin-bottom: var(--sp-2);
}

.process-body {
  font-size: var(--t-base);
  color: var(--dark-lt);
  line-height: 1.65;
}

/* ─── Hero two-column (text left · credentials right) ────── */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-8);
  padding: 56px var(--sp-6) var(--sp-8);
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 3fr 2fr;
    align-items: start;
    padding: 72px var(--sp-10) var(--sp-6);
  }
}

.hero-creds {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding-top: var(--sp-2);
}

.hero-cred {
  background: var(--bg-raised);
  border-radius: var(--r-md);
  padding: var(--sp-4) var(--sp-5);
}

.hero-cred-num {
  font-family: var(--mono);
  font-size: var(--t-2xl);
  font-weight: 700;
  color: var(--clay);
  display: block;
  line-height: 1;
  margin-bottom: var(--sp-1);
}

.hero-cred-label {
  font-size: var(--t-sm);
  color: var(--muted);
  line-height: 1.5;
}

/* ─── MCP opportunity closing (standard on all pages) ─────── */
.mcp-opportunity {
  /* use with .sp .sp-r */
}

.mcp-copy-block {
  background: var(--dark);
  border-radius: var(--r-lg);
  padding: var(--sp-card);
  max-width: 640px;
  margin: var(--sp-6) 0;
  overflow-x: auto;
}

.mcp-copy-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clay);
  display: block;
  margin-bottom: var(--sp-3);
}

.mcp-copy-text {
  font-family: var(--mono);
  font-size: 12px;
  color: #b0aea5;
  line-height: 1.8;
  white-space: pre-wrap;
  overflow-wrap: break-word;
  word-break: normal;
  margin: 0;
}

/* ─── Prompt templates ────────────────────────────────────── */
.prompt-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  max-width: 760px;
}

.prompt-card {
  background: var(--bg);
  border-radius: var(--r-md);
  padding: var(--sp-5);
  position: relative;
}

.prompt-tag {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--clay);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  display: block;
  margin-bottom: var(--sp-3);
}

.prompt-text {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--dark);
  line-height: 1.7;
  background: var(--bg-raised);
  border-radius: var(--r-sm);
  padding: var(--sp-4);
  margin-bottom: var(--sp-2);
}

.prompt-note {
  font-size: var(--t-xs);
  color: var(--muted);
  line-height: 1.5;
}

/* ─── Split form: photo left · form right ────────────────── */
.capture-split {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .capture-split {
    grid-template-columns: 1fr 1fr;
    min-height: 540px;
  }
}

.capture-photo {
  display: none;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .capture-photo { display: block; }
}

.capture-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
}

.capture-form-col {
  padding: 44px var(--side-pad-sm);
  background: var(--bg-raised);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 768px) {
  .capture-form-col { padding: 56px 48px; }
}

/* ─── Print ──────────────────────────────────────────────── */
@media print {
  body { background: #fff; }
  .site-nav, .footer-band { display: none; }
  .dark-band {
    background: var(--dark);
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
    border-radius: 0;
    margin: 0 0 16px;
  }
  @page { margin: 16mm; size: A4; }
}
