/* ==========================================================================
   MarvelloTech — Partner Results
   Palette
     --ink      #1B2430  deep slate (text, footer, how-strip)
     --paper    #F4F6F7  cool porcelain background
     --steel    #5B6B7A  secondary text
     --calls    #E8A020  signal amber — inbound calls metric
     --buyback  #1E7A6D  recovered green — buy-back metric
     --line     #D8DEE2  hairlines
   Type
     Archivo         display / headlines
     IBM Plex Sans   body
     IBM Plex Mono   ledger figures, tags
   ========================================================================== */

:root {
  --ink: #1B2430;
  --paper: #F4F6F7;
  --steel: #5B6B7A;
  --calls: #E8A020;
  --calls-deep: #B57508;
  --buyback: #1E7A6D;
  --line: #D8DEE2;
  --white: #FFFFFF;
  --max: 1080px;
}

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

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

body {
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

a { color: inherit; }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--calls);
  outline-offset: 3px;
  border-radius: 2px;
}

h1, h2, h3 { font-family: "Archivo", system-ui, sans-serif; line-height: 1.12; }

/* ---------- header ---------- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--calls);
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
}
.brand-name { font-family: "Archivo", sans-serif; font-weight: 700; font-size: 1.05rem; }
.brand-sub { color: var(--steel); font-weight: 500; }
.header-nav { display: flex; align-items: center; gap: 20px; }
.nav-link { font-size: .95rem; color: var(--steel); text-decoration: none; }
.nav-link:hover { color: var(--ink); }
.nav-link.active {
  color: var(--ink);
  font-weight: 600;
  border-bottom: 2px solid var(--calls);
  padding-bottom: 2px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: "Archivo", sans-serif;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 6px;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.btn-outline { border: 1.5px solid var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-solid { background: var(--calls); color: var(--ink); }
.btn-solid:hover { background: #F3B23C; }
.btn-ghost { border: 1.5px solid rgba(255,255,255,.4); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); }

/* ---------- hero ---------- */
.hero { padding: 88px 0 56px; }
.eyebrow {
  font-family: "IBM Plex Mono", monospace;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(2.2rem, 5.4vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -.015em;
  max-width: 15ch;
  margin-bottom: 22px;
}
.hero-sub { max-width: 58ch; color: var(--steel); font-size: 1.15rem; margin-bottom: 34px; }

.hero-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  font-family: "IBM Plex Mono", monospace;
  font-size: .85rem;
  font-weight: 500;
  color: var(--steel);
}
.legend-item { display: inline-flex; align-items: center; gap: 8px; }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot-calls { background: var(--calls); }
.dot-buyback { background: var(--buyback); }
.legend-arrow { font-size: 1.2rem; color: var(--ink); }

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }

/* ---------- case study list ---------- */
.studies { padding: 8px 0 40px; }
.study {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 34px 36px 30px;
  margin-bottom: 22px;
}
.study-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.tag {
  font-family: "IBM Plex Mono", monospace;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 4px 10px;
  border-radius: 4px;
}
.badge-sample {
  font-family: "IBM Plex Mono", monospace;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--calls-deep);
  border: 1px dashed var(--calls);
  padding: 4px 10px;
  border-radius: 4px;
}
.study h2 { font-size: clamp(1.25rem, 2.6vw, 1.6rem); font-weight: 700; margin-bottom: 18px; max-width: 34ch; }
.study h2 a { text-decoration: none; }
.study h2 a:hover { text-decoration: underline; text-decoration-color: var(--calls); text-underline-offset: 4px; }

/* the twin ledger — signature element */
.ledger {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
  font-family: "IBM Plex Mono", monospace;
  font-weight: 600;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  flex-wrap: wrap;
}
.ledger em { font-style: normal; font-size: .68em; font-weight: 500; color: var(--steel); margin-left: 6px; }
.ledger-calls { color: var(--calls-deep); }
.ledger-buyback { color: var(--buyback); }
.ledger-tie {
  flex: 0 0 44px;
  height: 2px;
  background: linear-gradient(90deg, var(--calls), var(--buyback));
  border-radius: 2px;
  position: relative;
}
.ledger-tie::after {
  content: "";
  position: absolute;
  right: -1px; top: -3px;
  border: 4px solid transparent;
  border-left-color: var(--buyback);
}
.study p { color: var(--steel); max-width: 72ch; margin-bottom: 16px; }

.read-link {
  font-family: "Archivo", sans-serif;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  border-bottom: 2px solid var(--calls);
  padding-bottom: 2px;
}
.read-link:hover { color: var(--calls-deep); }

.results-note {
  font-size: .85rem;
  color: var(--steel);
  max-width: 70ch;
  margin-top: 8px;
}

/* ---------- how it works ---------- */
.how { background: var(--ink); color: var(--white); padding: 72px 0; margin-top: 40px; }
.eyebrow-light { color: rgba(255,255,255,.55); }
.how-title { font-size: clamp(1.7rem, 3.6vw, 2.3rem); font-weight: 800; margin-bottom: 40px; }
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
.how-step { border-top: 3px solid var(--calls); padding-top: 18px; }
.how-step:nth-child(2) { border-top-color: var(--white); }
.how-step:nth-child(3) { border-top-color: var(--buyback); }
.how-step h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; }
.how-step p { color: rgba(255,255,255,.72); font-size: .98rem; }

/* ---------- cta ---------- */
.cta { background: var(--buyback); color: var(--white); padding: 64px 0; }
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; margin-bottom: 10px; max-width: 22ch; }
.cta p { color: rgba(255,255,255,.85); max-width: 46ch; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.cta .btn-solid { background: var(--white); color: var(--ink); }
.cta .btn-solid:hover { background: var(--paper); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.7); padding: 48px 0 28px; font-size: .95rem; }
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-brand { font-family: "Archivo", sans-serif; font-weight: 700; font-size: 1.1rem; color: var(--white); margin-bottom: 6px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--white); }
.footer-legal { padding-top: 20px; font-size: .82rem; color: rgba(255,255,255,.45); }

/* ---------- detail page ---------- */
.detail { padding: 72px 0 56px; }
.back-link {
  display: inline-block;
  font-family: "Archivo", sans-serif;
  font-weight: 600;
  font-size: .92rem;
  text-decoration: none;
  color: var(--steel);
  margin-bottom: 28px;
}
.back-link:hover { color: var(--ink); }
.detail h1 {
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -.01em;
  max-width: 28ch;
  margin: 16px 0 26px;
}
.detail .ledger { font-size: clamp(1.4rem, 3vw, 1.9rem); margin-bottom: 34px; }
.detail-body { max-width: 72ch; }
.detail-body h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 34px 0 12px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.detail-body p { color: var(--steel); margin-bottom: 14px; }
.detail-body strong { color: var(--ink); }
.detail-note {
  margin-top: 40px;
  padding: 16px 20px;
  background: var(--white);
  border: 1px dashed var(--line);
  border-radius: 8px;
  font-size: .85rem;
  color: var(--steel);
  max-width: 72ch;
}

/* ---------- responsive ---------- */
@media (max-width: 820px) {
  .how-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero { padding: 60px 0 40px; }
  .study { padding: 26px 22px 24px; }
}
@media (max-width: 520px) {
  .brand-sub { display: none; }
  .ledger-tie { flex-basis: 28px; }
}

/* mobile: collapse nav into a toggle instead of hiding it */
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .header-inner { flex-wrap: wrap; }
  .header-nav {
    display: none;
    order: 3;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 0 6px;
    border-top: 1px solid var(--line);
    margin-top: 12px;
  }
  .header-nav.open { display: flex; }
  .header-nav .nav-link {
    padding: 12px 4px;
    font-size: 1rem;
    border-bottom: 1px solid var(--line);
  }
  .header-nav .nav-link.active { border-bottom: 1px solid var(--line); color: var(--calls-deep); }
  .header-nav .btn { margin-top: 12px; text-align: center; }
}

/* ---------- ROI calculator page shell ---------- */
/* ---------- ROI calculator ---------- */
.calc-page { padding: 72px 0 64px; }
.calc-title {
  font-size: clamp(1.9rem, 4.4vw, 3rem);
  font-weight: 800;
  letter-spacing: -.015em;
  margin-bottom: 14px;
}
.calc-sub { color: var(--steel); font-size: 1.1rem; max-width: 58ch; margin-bottom: 40px; }
.calc-page { padding: 52px 0 48px; }

/* ---------- competitor spend (FOMO) ---------- */
.spend { background: var(--ink); color: var(--white); padding: 72px 0; }
.spend-title {
  font-family: "Archivo", system-ui, sans-serif;
  font-size: clamp(1.7rem, 3.8vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -.01em;
  max-width: 22ch;
  margin-bottom: 16px;
}
.spend-sub { color: rgba(255,255,255,.72); max-width: 68ch; margin-bottom: 34px; }

.spend-table-wrap { overflow-x: auto; border-radius: 12px; border: 1px solid rgba(255,255,255,.14); }
.spend-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.spend-table th {
  font-family: "IBM Plex Mono", monospace;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
}
.spend-table td {
  padding: 13px 18px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  font-size: .98rem;
}
.spend-table tbody tr:last-child td { border-bottom: none; }
.spend-table tbody tr:hover { background: rgba(255,255,255,.04); }
.spend-table .num {
  font-family: "IBM Plex Mono", monospace;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.spend-table .accent { color: var(--calls); }
.spend-table .accent-g { color: #5FCBB4; }
.spend-table .muted { color: rgba(255,255,255,.35); font-weight: 500; }

.spend-note { font-size: .8rem; color: rgba(255,255,255,.5); max-width: 76ch; margin-top: 16px; }
.spend-note a { color: var(--calls); text-decoration: none; border-bottom: 1px solid rgba(232,160,32,.4); }
.spend-note a:hover { border-bottom-color: var(--calls); }

.spend-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.14);
}
.spend-kicker p { max-width: 56ch; color: rgba(255,255,255,.85); }
.spend-kicker strong { color: var(--calls); }

/* ---------- full-site redesign additions ---------- */
.section-title {
  font-family: "Archivo", system-ui, sans-serif;
  font-size: clamp(1.7rem, 3.6vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -.01em;
  margin-bottom: 30px;
}

/* slim hero for interior listing pages */
.hero-slim { padding: 64px 0 44px; }
.hero-slim h1 { font-size: clamp(2rem, 4.6vw, 3rem); font-weight: 800; letter-spacing: -.015em; max-width: 20ch; margin-bottom: 18px; }

/* proof strip */
.strip { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.strip-item { display: flex; flex-direction: column; gap: 4px; }
.strip-big {
  font-family: "IBM Plex Mono", monospace;
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--ink);
}
.strip-lbl { font-size: .84rem; color: var(--steel); line-height: 1.45; }

/* two engines */
.engines { padding: 72px 0 30px; }
.engines-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 24px; }
.engine {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 30px 32px;
}
.engine-primary { border-top: 4px solid var(--calls); }
.engine:not(.engine-primary) { border-top: 4px solid var(--buyback); }
.engine-tag {
  font-family: "IBM Plex Mono", monospace;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 12px;
}
.engine h3 { font-family: "Archivo", sans-serif; font-size: 1.35rem; font-weight: 700; margin-bottom: 12px; }
.engine p { color: var(--steel); font-size: .98rem; margin-bottom: 16px; }

/* partner fit */
.fit { padding: 72px 0 30px; }
.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.fit-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px 26px;
}
.fit-item h3 {
  font-family: "Archivo", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  padding-left: 26px;
  position: relative;
}
.fit-item h3::before {
  content: "";
  position: absolute;
  left: 0; top: 3px;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: var(--buyback);
  -webkit-mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="black" d="M8 0a8 8 0 100 16A8 8 0 008 0zm3.7 5.3a1 1 0 010 1.4l-4 4a1 1 0 01-1.4 0l-2-2a1 1 0 111.4-1.4L7 8.6l3.3-3.3a1 1 0 011.4 0z"/></svg>') center/contain no-repeat;
  mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="black" d="M8 0a8 8 0 100 16A8 8 0 008 0zm3.7 5.3a1 1 0 010 1.4l-4 4a1 1 0 01-1.4 0l-2-2a1 1 0 111.4-1.4L7 8.6l3.3-3.3a1 1 0 011.4 0z"/></svg>') center/contain no-repeat;
}
.fit-item p { color: var(--steel); font-size: .93rem; }

/* case study teaser */
.teaser { padding: 72px 0 56px; }
.teaser-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}
.teaser-head .section-title { margin-bottom: 10px; }
.teaser-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.teaser-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 26px 28px;
  text-decoration: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.teaser-card:hover {
  border-color: var(--calls);
  box-shadow: 0 8px 24px rgba(27,36,48,.08);
}
.teaser-card .tag { display: inline-block; margin-bottom: 14px; }
.teaser-card h3 {
  font-family: "Archivo", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 16px;
}
.teaser-card .ledger { font-size: 1.1rem; margin-bottom: 0; }

@media (max-width: 820px) {
  .strip-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
  .engines-grid, .fit-grid, .teaser-grid { grid-template-columns: 1fr; }
  .engines, .fit, .teaser { padding-top: 52px; }
}

/* ---------- procurement page ---------- */
.services { padding: 40px 0 30px; }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--buyback);
  border-radius: 12px;
  padding: 28px 30px;
}
.svc-card h3 { font-family: "Archivo", sans-serif; font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; }
.svc-card p { color: var(--steel); font-size: .95rem; }

.strip-pad { margin: 42px 0 12px; }

.industries { padding: 60px 0 30px; }
.ind-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ind-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px 24px;
}
.ind-card h3 {
  font-family: "IBM Plex Mono", monospace;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--buyback);
  margin-bottom: 8px;
}
.ind-card p { color: var(--steel); font-size: .9rem; }

.quotes { background: var(--ink); color: var(--white); padding: 68px 0; margin-top: 42px; }
.quotes-title { color: var(--white); }
.quotes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quote {
  margin: 0;
  border-left: 3px solid var(--calls);
  padding-left: 20px;
}
.quote p { color: rgba(255,255,255,.82); font-size: .95rem; margin-bottom: 14px; }
.quote cite {
  font-family: "IBM Plex Mono", monospace;
  font-style: normal;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
}

.crosslink { padding: 68px 0 56px; }
.crosslink-inner {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.crosslink h2 { font-family: "Archivo", sans-serif; font-size: clamp(1.4rem, 2.8vw, 1.8rem); font-weight: 800; margin-bottom: 10px; }
.crosslink p { color: var(--steel); max-width: 52ch; }

@media (max-width: 820px) {
  .svc-grid, .quotes-grid { grid-template-columns: 1fr; }
  .ind-grid { grid-template-columns: 1fr 1fr; }
}

/* dashboard forecaster benchmark hint */
.bench { font-family: "IBM Plex Mono", monospace; font-size: .68rem; font-weight: 500; color: var(--buyback); letter-spacing: .02em; text-transform: none; }

/* dashboard forecast view toggle */
.chart-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.chart-top h3 { margin-bottom: 0; }
.view-toggle { display: inline-flex; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 3px; }
.vt { font-family: "Archivo", sans-serif; font-weight: 600; font-size: .82rem; padding: 6px 14px; border: none; background: none; color: var(--steel); border-radius: 6px; cursor: pointer; }
.vt.on { background: var(--white); color: var(--ink); box-shadow: 0 1px 2px rgba(27,36,48,.12); }
.view-note { font-size: .82rem; color: var(--steel); margin: 10px 0 4px; line-height: 1.5; }


/* ---------- forecaster (shared: dashboard + roi page) ---------- */
.fc-grid { display: grid; grid-template-columns: 380px 1fr; gap: 24px; align-items: start; }
.fc-inputs { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 24px 26px; }
.fc-inputs h3, .fc-out h3 { font-family: "IBM Plex Mono", monospace; font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--steel); margin-bottom: 18px; }
.num-field { margin-bottom: 16px; }
.num-field label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: 5px; }
.num-field .in-wrap { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.num-field .in-wrap span { padding: 9px 10px; background: var(--paper); font-family: "IBM Plex Mono", monospace; font-size: .82rem; color: var(--steel); border-right: 1px solid var(--line); white-space: nowrap; }
.num-field input, .num-field select { flex: 1; border: none; padding: 9px 12px; font: inherit; font-size: .95rem; min-width: 0; }
.num-field input:focus, .num-field select:focus { outline: 2px solid var(--calls); }
details.assump { margin-top: 6px; }
details.assump summary { font-size: .85rem; font-weight: 600; color: var(--buyback); cursor: pointer; }
details.assump .num-field { margin-top: 12px; }
.fc-note { font-size: .78rem; color: var(--steel); margin-top: 14px; }
.fc-out .cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 22px; }
.kpi { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.kpi .v { display: block; font-family: "IBM Plex Mono", monospace; font-weight: 600; font-size: 1.35rem; color: var(--ink); }
.kpi.hot .v { color: var(--calls-deep); }
.kpi.grow .v { color: var(--buyback); }
.kpi .l { font-size: .74rem; color: var(--steel); text-transform: uppercase; letter-spacing: .05em; font-family: "IBM Plex Mono", monospace; }
.chart-card { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 22px 24px; }
.chart-legend { display: flex; gap: 18px; font-family: "IBM Plex Mono", monospace; font-size: .74rem; color: var(--steel); margin-bottom: 12px; }
.chart-legend .dot { width: 9px; height: 9px; }
.ct-bar .num-field { margin-bottom: 0; min-width: 220px; }
.fc-grid { grid-template-columns: 1fr; }
.fc-out .cards { grid-template-columns: 1fr 1fr; }

@media (max-width: 900px) {
  .fc-grid { grid-template-columns: 1fr; }
  .fc-out .cards { grid-template-columns: 1fr 1fr; }
}

/* ---------- hero flywheel ---------- */
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-art { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.flywheel { width: 100%; max-width: 460px; overflow: visible; }

.flywheel .ring {
  transform-origin: 260px 228px;
  animation: fwspin 26s linear infinite;
}
@keyframes fwspin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .flywheel .ring { animation: none; } }

.flywheel .fw-c1, .flywheel .fw-c2 {
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-size: 19px;
  fill: #fff;
  letter-spacing: .04em;
}
.flywheel .fw-c3 {
  font-family: "IBM Plex Mono", monospace;
  font-size: 9.5px;
  fill: rgba(255,255,255,.62);
  letter-spacing: .06em;
}
.flywheel .fw-n {
  font-family: "IBM Plex Mono", monospace;
  font-weight: 600;
  font-size: 17px;
}
.flywheel .fw-l {
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 12.5px;
  fill: var(--ink);
}
.flywheel .fw-s {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  fill: var(--steel);
}
.hero-art-cap {
  font-size: .84rem;
  color: var(--steel);
  text-align: center;
  max-width: 42ch;
  line-height: 1.55;
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-art { order: 2; }
  .flywheel { max-width: 380px; }
}

/* ---------- scenarios + faq ---------- */
.tag-model { color: var(--calls-deep); border-color: var(--calls); background: #FFF7EA; }
.scenario-flag {
  font-size: .85rem;
  color: var(--steel);
  background: var(--white);
  border: 1px dashed var(--line);
  border-left: 3px solid var(--calls);
  border-radius: 0 8px 8px 0;
  padding: 12px 16px;
  max-width: 72ch;
  margin-top: 22px;
}
.scenario-flag a { color: var(--buyback); font-weight: 600; }
.assump-table { width: 100%; border-collapse: collapse; margin: 6px 0 18px; max-width: 62ch; }
.assump-table td { padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: .93rem; color: var(--steel); }
.assump-table tr:last-child td { border-bottom: none; background: var(--paper); font-weight: 600; color: var(--ink); }
.assump-table .num { font-family: "IBM Plex Mono", monospace; font-weight: 600; color: var(--ink); text-align: right; white-space: nowrap; }
.scenario-note { font-size: .82rem; color: var(--steel); background: var(--white); border: 1px dashed var(--line); border-radius: 8px; padding: 14px 16px; margin-top: 10px; }

.faq { padding: 8px 0 56px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px 32px;
  margin-bottom: 18px;
}
.faq-item h2 {
  font-family: "Archivo", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.faq-item p { color: var(--steel); max-width: 74ch; margin-bottom: 14px; }
.faq-item strong { color: var(--ink); }
.faq-cta { margin-bottom: 0 !important; }
.faq-cta .btn { font-size: .88rem; padding: 9px 18px; }

/* ---------- mobile nav ---------- */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 38px;
  padding: 0 9px;
  background: none;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .18s ease, opacity .18s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- trust / credibility ---------- */
.spend-scale {
  margin-top: 14px;
  font-size: .95rem;
  color: var(--calls);
  font-weight: 600;
  max-width: 60ch;
}
.cred { padding: 72px 0 30px; }
.cred-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: start; }
.cred-body { color: var(--steel); margin-bottom: 16px; max-width: 62ch; }
.cred-body strong { color: var(--ink); }
.cred-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.cred-list li {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--buyback);
  border-radius: 0 10px 10px 0;
  padding: 14px 18px;
}
.cred-list strong { display: block; font-family: "Archivo", sans-serif; font-size: .98rem; margin-bottom: 3px; }
.cred-list span { font-size: .88rem; color: var(--steel); }

/* ---------- lead form ---------- */
.lead { background: var(--ink); color: var(--white); padding: 76px 0; margin-top: 56px; }
.lead-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 52px; align-items: start; }
.lead-copy h2 { font-family: "Archivo", sans-serif; font-size: clamp(1.7rem, 3.6vw, 2.3rem); font-weight: 800; margin-bottom: 14px; }
.lead-copy > p { color: rgba(255,255,255,.75); max-width: 46ch; margin-bottom: 28px; }

.next-steps { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.next-steps li { display: flex; gap: 14px; align-items: flex-start; }
.next-steps span {
  flex: 0 0 28px;
  display: grid; place-items: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--calls);
  color: var(--calls);
  font-family: "IBM Plex Mono", monospace;
  font-size: .82rem;
  font-weight: 600;
}
.next-steps strong { display: block; font-family: "Archivo", sans-serif; font-size: .98rem; margin-bottom: 2px; }
.next-steps em { font-style: normal; font-size: .88rem; color: rgba(255,255,255,.6); }

.lead-form-wrap { background: var(--white); border-radius: 14px; padding: 30px 32px; }
.lead-form { display: block; }
.lf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lf-field { margin-bottom: 14px; }
.lf-field label { display: block; font-size: .85rem; font-weight: 600; color: var(--ink); margin-bottom: 5px; }
.lf-field input, .lf-field select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  font-size: .95rem;
  background: var(--white);
  color: var(--ink);
}
.lf-field input:focus, .lf-field select:focus { outline: 2px solid var(--calls); border-color: var(--calls); }
.lf-err { color: #B4232A; font-size: .85rem; min-height: 1.1em; margin: 2px 0 10px; }
.btn-block { width: 100%; border: none; cursor: pointer; padding: 13px; font-size: 1rem; }
.lf-fine { font-size: .78rem; color: var(--steel); margin-top: 12px; text-align: center; }
.lf-fine a { color: var(--buyback); font-weight: 600; }
.lf-done { display: none; }
.lf-done h3 { font-family: "Archivo", sans-serif; font-size: 1.3rem; font-weight: 700; margin-bottom: 10px; color: var(--ink); }
.lf-done p { color: var(--steel); font-size: .95rem; }
.lf-done a { color: var(--buyback); font-weight: 600; }

/* ---------- projection capture (roi page) ---------- */
.proj-capture {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--calls);
  border-radius: 0 12px 12px 0;
  padding: 20px 24px;
  margin-top: 18px;
}
.proj-capture strong { display: block; font-family: "Archivo", sans-serif; font-size: 1.05rem; margin-bottom: 4px; }
.proj-capture span { font-size: .88rem; color: var(--steel); max-width: 56ch; display: block; }

@media (max-width: 900px) {
  .cred-grid, .lead-grid { grid-template-columns: 1fr; gap: 34px; }
}
@media (max-width: 640px) {
  .lf-row { grid-template-columns: 1fr; gap: 0; }
  .lead-form-wrap { padding: 24px 20px; }
}

/* projection attached to the lead form (roi page) */
.lf-proj {
  display: none;
  background: #FFF7EA;
  border: 1px solid var(--calls);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 14px;
}
.lf-proj-l {
  display: block;
  font-family: "IBM Plex Mono", monospace;
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--calls-deep);
  margin-bottom: 4px;
}
.lf-proj strong {
  display: block;
  font-family: "IBM Plex Mono", monospace;
  font-size: .95rem;
  color: var(--ink);
  margin-bottom: 4px;
}
.lf-proj-s { font-size: .78rem; color: var(--steel); line-height: 1.45; }

/* ---------- custom tier → contact panel (roi page) ---------- */

.custom-panel { display: none; background: #FFF7EA; border: 1px solid var(--calls); border-radius: 14px; padding: 30px 32px; }
.cp-eyebrow { font-family: "IBM Plex Mono", monospace; font-size: .68rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #B57508; margin-bottom: 8px; }
.cp-h { font-family: "Archivo", sans-serif; font-size: 1.3rem; font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.cp-b { color: var(--steel); font-size: .95rem; line-height: 1.6; max-width: 58ch; margin-bottom: 22px; }
.cp-phone { display: block; background: var(--ink); border-radius: 12px; padding: 18px 22px; margin-bottom: 18px; text-decoration: none; transition: transform .12s ease; }
.cp-phone:hover { transform: translateY(-1px); }
.cp-phone-l { display: block; font-family: "IBM Plex Mono", monospace; font-size: .66rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--calls); margin-bottom: 4px; }
.cp-phone-v { display: block; font-family: "Archivo", sans-serif; font-size: 1.75rem; font-weight: 800; color: #fff; letter-spacing: -.01em; line-height: 1.15; }
.cp-phone-s { display: block; font-size: .8rem; color: rgba(255,255,255,.6); margin-top: 5px; }
.cp-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- what we do / what's in it for you ---------- */
.deal { background: var(--ink); color: var(--white); padding: 80px 0; }
.deal-title {
  font-family: "Archivo", system-ui, sans-serif;
  font-size: clamp(1.7rem, 3.8vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -.01em;
  max-width: 24ch;
  margin-bottom: 42px;
}
.deal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.deal-col { display: block; }
.deal-kicker {
  font-family: "IBM Plex Mono", monospace;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  padding-bottom: 12px;
  margin-bottom: 22px;
  border-bottom: 1px solid rgba(255,255,255,.16);
}
.deal-kicker-hot { color: var(--calls); border-bottom-color: var(--calls); }

.deal-list { list-style: none; display: flex; flex-direction: column; gap: 22px; }
.deal-list li { display: block; }
.deal-list strong {
  display: block;
  font-family: "Archivo", sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
  padding-left: 18px;
  position: relative;
}
.deal-list strong::before {
  content: "";
  position: absolute;
  left: 0;
  top: .48em;
  width: 8px; height: 8px;
  border-radius: 50%;
}
.deal-ours strong::before { background: rgba(255,255,255,.35); }
.deal-yours strong::before { background: var(--calls); }
.deal-list span {
  display: block;
  padding-left: 18px;
  color: rgba(255,255,255,.68);
  font-size: .93rem;
  line-height: 1.6;
  max-width: 46ch;
}

.deal-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 46px;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,.16);
}
.deal-foot p { color: rgba(255,255,255,.8); max-width: 62ch; }
.deal-foot strong { color: var(--calls); }

@media (max-width: 860px) {
  .deal-grid { grid-template-columns: 1fr; gap: 38px; }
}
