/* ============================================================
   talhaarshad.com — v2 design system.
   SmartScout-style anatomy, orange accent, no framework.
   Light-dominant body (white + orange-tinted sections) with
   dark bookends: starfield hero, dark final CTA, dark footer.
   Fonts: Sora (display) · Inter (body) · IBM Plex Mono (eyebrows).
   ============================================================ */

:root {
  --ink: #0b0a08;            /* dark bookends */
  --ink-2: #14110d;          /* dark cards / nav bar */
  --paper: #ffffff;
  --tint: #faf5f0;           /* warm cream section bg (toned down from peach) */
  --tint-deep: #f0e0d3;
  --accent: #ff5a00;
  --accent-deep: #c74400;    /* AA on tint */
  --head: #141210;
  --body: #57534e;
  --faint: #8a8580;
  --line: #eae4de;           /* hairlines on light */
  --line-tint: #ecdfd4;      /* hairlines on tint */
  --line-dark: #262019;      /* hairlines on dark */
  --white-soft: rgba(255, 255, 255, .78);
  --white-mute: rgba(255, 255, 255, .55);
  --good: #1f9d61;
  --maxw: 1200px;
  --r: 14px;
  --font-display: "Sora", "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.62;
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--head);
  line-height: 1.14;
  letter-spacing: -0.028em;
  margin: 0;
}
p { margin: 0 0 1em; }
a { color: var(--accent-deep); text-decoration: none; }
a:hover { color: var(--accent); }
img { max-width: 100%; }

.o { color: var(--accent); }
b, strong { color: var(--head); font-weight: 600; }

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

/* ---- eyebrow: mono, orange, ● prefix (SmartScout signature) ---- */
.eyebrow {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin: 0 0 18px;
}
.eyebrow::before { content: "● "; font-size: .7em; vertical-align: 2px; }
.dark-band .eyebrow { color: var(--accent); }

/* orange headline words live only in the dark bookends + thesis; light sections stay ink */
.section h2 .o { color: inherit; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--font-body); font-weight: 700; font-size: .82rem;
  letter-spacing: .05em; text-transform: uppercase;
  padding: 16px 26px; border-radius: 9px; border: 1px solid transparent;
  cursor: pointer; line-height: 1; transition: background .15s, border-color .15s, color .15s, transform .05s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-primary:hover { background: #292219; border-color: #292219; color: #fff; }
.btn-dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-dark:hover { background: #292219; color: #fff; }
.btn-white { background: #fff; border-color: #fff; color: var(--ink); }
.btn-white:hover { background: var(--tint-deep); border-color: var(--tint-deep); color: var(--ink); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--head); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-deep); }
.btn-ghost-light { background: transparent; border-color: rgba(255,255,255,.3); color: #fff; }
.btn-ghost-light:hover { border-color: #fff; color: #fff; }
.btn.sm { padding: 12px 18px; font-size: .76rem; }

.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* arrow micro-interaction — every button/link arrow nudges right on hover */
.arr { display: inline-block; transition: transform .18s ease; }
.btn:hover .arr, .more:hover .arr, .seeit:hover .arr { transform: translateX(4px); }
.btn { box-shadow: 0 1px 2px rgba(11,10,8,.06); }
.btn:hover { box-shadow: 0 6px 18px rgba(11,10,8,.14); }

/* scroll reveal (classes applied by JS; no-JS pages stay fully visible) */
.will-reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.revealed { opacity: 1; transform: translateY(0); }

/* ============================================================
   NAV — floating dark rounded bar
   ============================================================ */
header.nav { position: sticky; top: 0; z-index: 100; padding: 14px 14px 0; }
.nav-bar {
  max-width: 1440px; margin: 0 auto; height: 66px;
  background: rgba(11, 10, 8, .92); backdrop-filter: saturate(140%) blur(12px);
  border: 1px solid rgba(255,255,255,.07); border-radius: 14px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 14px 0 24px;
  box-shadow: 0 10px 34px rgba(11,10,8,.22);
}
.logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.12rem;
  letter-spacing: -0.02em; color: #fff;
}
.logo:hover { color: #fff; }
.logo .mark {
  width: 20px; height: 20px; flex: none; border-radius: 5px;
  background:
    linear-gradient(135deg, var(--accent) 0 45%, transparent 45%),
    linear-gradient(315deg, rgba(255,90,0,.55) 0 45%, transparent 45%);
}
.logo span { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links .nav-link {
  color: var(--white-soft); font-weight: 600; font-size: .9rem;
  padding: 10px 14px; border-radius: 8px;
}
.nav-links .nav-link:hover { color: #fff; background: rgba(255,255,255,.06); }
.nav-links .btn { margin-left: 8px; }

/* ============================================================
   DARK BANDS — shared starfield + glow
   ============================================================ */
.dark-band { position: relative; background: var(--ink); color: var(--white-soft); overflow: hidden; }
.dark-band::before {  /* starfield */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 28%, rgba(255,255,255,.5), transparent 100%),
    radial-gradient(1px 1px at 34% 12%, rgba(255,255,255,.38), transparent 100%),
    radial-gradient(1.5px 1.5px at 55% 34%, rgba(255,255,255,.3), transparent 100%),
    radial-gradient(1px 1px at 72% 18%, rgba(255,255,255,.45), transparent 100%),
    radial-gradient(1.5px 1.5px at 88% 42%, rgba(255,255,255,.32), transparent 100%),
    radial-gradient(1px 1px at 22% 62%, rgba(255,255,255,.3), transparent 100%),
    radial-gradient(1px 1px at 64% 70%, rgba(255,255,255,.26), transparent 100%),
    radial-gradient(1.5px 1.5px at 42% 86%, rgba(255,255,255,.22), transparent 100%),
    radial-gradient(1px 1px at 92% 78%, rgba(255,255,255,.3), transparent 100%),
    radial-gradient(1px 1px at 6% 84%, rgba(255,255,255,.24), transparent 100%);
}
.dark-band > .wrap { position: relative; z-index: 2; }
.dark-band h1, .dark-band h2, .dark-band h3 { color: #fff; }
.dark-band b, .dark-band strong { color: #fff; }
.glow {
  position: absolute; pointer-events: none; z-index: 1;
  border-radius: 50%; filter: blur(90px);
  background: radial-gradient(circle, var(--accent), transparent 70%);
}

/* ============================================================
   HERO
   ============================================================ */
.hero { margin-top: -80px; padding: 190px 0 64px; text-align: center; }
.hero h1 {
  font-size: clamp(2.5rem, 5.8vw, 4.4rem); font-weight: 700;
  letter-spacing: -0.03em; line-height: 1.06;
  max-width: 21ch; margin: 0 auto;
}
.hero .sub {
  font-size: 1.14rem; line-height: 1.6; color: var(--white-soft);
  max-width: 54ch; margin: 24px auto 34px;
}
.hero .cta-row { justify-content: center; }

/* founder chip — face + name under the hero CTAs */
.founder { display: inline-flex; align-items: center; gap: 12px; margin-top: 30px; }
.founder img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2px solid var(--accent); }
.founder .fname { text-align: left; line-height: 1.35; }
.founder .fname b { display: block; color: #fff; font-size: .92rem; font-weight: 600; }
.founder .fname span { color: var(--white-mute); font-size: .8rem; }

/* about-page portrait beside the hero copy */
.about-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.portrait {
  width: 100%; max-width: 300px; aspect-ratio: 1; object-fit: cover; justify-self: end;
  border-radius: 50%; border: 3px solid var(--accent);
  box-shadow: 0 24px 60px rgba(0,0,0,.45);
}
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .portrait { justify-self: start; max-width: 220px; }
}

/* stat strip (their TRUSTED BY strip) */
.strip { margin: 72px auto 0; }
.strip-label {
  font-family: var(--font-mono); font-size: .74rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--white-mute); text-align: center; margin-bottom: 18px;
}
.strip-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line-dark); border-radius: 12px; overflow: hidden;
}
.stat { padding: 26px 18px; border-left: 1px solid var(--line-dark); }
.stat:first-child { border-left: 0; }
.stat .num {
  font-family: var(--font-display); font-weight: 700; font-size: 1.7rem;
  letter-spacing: -0.02em; color: #fff;
}
.stat .num .o { color: var(--accent); }
.stat .lbl { font-size: .84rem; color: var(--white-mute); margin-top: 4px; line-height: 1.4; }

/* ============================================================
   SHOWCASE — framed screenshot over dark→orange→tint gradient
   ============================================================ */
.showcase {
  position: relative;
  background: linear-gradient(180deg, var(--ink) 0%, #2c1204 45%, #7a3410 70%, var(--tint) 100%);
  padding: 84px 0 96px;
}
.showcase.to-white { background: linear-gradient(180deg, var(--ink) 0%, #2c1204 45%, #7a3410 70%, #fff 100%); }
.showcase .wrap { position: relative; z-index: 2; }
.frame {
  border: 1px solid rgba(255,255,255,.14); border-radius: 16px;
  background: var(--ink-2); overflow: hidden;
  box-shadow: 0 50px 110px rgba(11,10,8,.5);
}
.frame .bar {
  display: flex; align-items: center; gap: 8px; padding: 13px 18px;
  border-bottom: 1px solid var(--line-dark); background: #17130f;
}
.frame .bar i { width: 11px; height: 11px; border-radius: 50%; background: #33291f; display: block; }
.frame .bar .url { margin-left: 12px; font-family: var(--font-mono); font-size: .74rem; color: var(--white-mute); }
.frame img { display: block; width: 100%; height: auto; }
.frame.light { border-color: var(--line); background: #fff; box-shadow: 0 24px 60px rgba(11,10,8,.12); }
.frame.light .bar { background: #faf7f4; border-bottom-color: var(--line); }
.frame.light .bar i { background: #e3dbd2; }
.frame.light .bar .url { color: var(--faint); }
.proof-cap {
  display: flex; align-items: center; justify-content: center; gap: .65em;
  margin-top: 20px; font-size: .9rem; color: rgba(60,30,10,.85); font-weight: 500;
}
.live-dot {
  width: 9px; height: 9px; border-radius: 50%; background: var(--good);
  box-shadow: 0 0 0 4px rgba(31,157,97,.18); flex: none;
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: 104px 0; }
.section.tint { background: var(--tint); }
.sec-head { max-width: 780px; margin-bottom: 56px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.85rem); font-weight: 700; }
.sec-head .sub { font-size: 1.08rem; color: var(--body); margin: 18px 0 0; max-width: 62ch; }
.sec-head.center .sub { margin-left: auto; margin-right: auto; }

/* ============================================================
   BENTO GRID (tinted feature cells)
   ============================================================ */
.bento {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line-tint); border-radius: 14px; overflow: hidden;
  background: var(--line-tint); gap: 1px;
}
.cell {
  background: rgba(255,255,255,.72); padding: 34px 30px;
  transition: background .15s; position: relative;
}
.cell:hover { background: #fff; }
.cell .ic { display: block; width: 38px; height: 38px; color: var(--accent-deep); margin-bottom: 18px; }
.cell h3 { font-size: 1.28rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; margin-bottom: 10px; }
.cell p { font-size: .94rem; line-height: 1.6; margin: 0; }
.cell .for-chip {
  display: none; position: absolute; top: 20px; right: 20px;
  font-family: var(--font-mono); font-size: .66rem; letter-spacing: .08em;
  text-transform: uppercase; color: var(--accent-deep);
  background: var(--tint-deep); border-radius: 999px; padding: 3px 10px;
}
.bento[data-view="self"] .cell[data-for~="self"] .for-chip,
.bento[data-view="agency"] .cell[data-for~="agency"] .for-chip { display: inline-block; }
.bento[data-view="self"] .cell[data-for~="self"],
.bento[data-view="agency"] .cell[data-for~="agency"] { background: #fff; box-shadow: inset 0 0 0 1px var(--tint-deep); }

/* persona toggle (signature) */
.persona {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--font-mono); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase;
}
.persona button {
  font: inherit; letter-spacing: inherit; text-transform: inherit;
  background: none; border: 0; padding: 6px 2px; cursor: pointer; color: var(--faint);
  border-bottom: 2px solid transparent; transition: color .15s, border-color .15s;
}
.persona button[aria-pressed="true"] { color: var(--accent-deep); border-bottom-color: var(--accent); }
.persona .knob {
  width: 46px; height: 26px; border-radius: 999px; background: #fff;
  border: 1px solid var(--line-tint); position: relative; flex: none;
}
.persona .knob::after {
  content: ""; position: absolute; top: 3px; left: 4px; width: 18px; height: 18px;
  border-radius: 50%; background: var(--accent); transition: transform .2s;
}
.persona.right .knob::after { transform: translateX(19px); }

/* ============================================================
   ALTERNATING ROWS (screenshot ↔ copy)
   ============================================================ */
.rowalt {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 5vw, 76px);
  align-items: center; padding: 64px 0;
}
.rowalt + .rowalt { border-top: 1px solid var(--line); }
.rowalt .copy h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 700; margin-bottom: 14px; }
.rowalt .copy p { font-size: 1.02rem; }
.rowalt .copy .cta-row { margin-top: 26px; }
.rowalt.flip .media { order: -1; }

/* ============================================================
   THESIS — Systems > Headcount
   ============================================================ */
.thesis { text-align: center; }
.thesis .big {
  font-family: var(--font-display); font-size: clamp(2.5rem, 6vw, 4.4rem);
  font-weight: 700; letter-spacing: -0.035em; line-height: 1; color: var(--head); margin: 0 0 10px;
}
.contrast { max-width: 920px; margin: 52px auto 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.contrast .row {
  display: grid; grid-template-columns: 1fr 64px 1fr; align-items: center;
  text-align: left; border-top: 1px solid var(--line);
}
.contrast .row:first-child { border-top: 0; }
.contrast .a { padding: 26px 28px; font-size: 1.05rem; font-weight: 500; color: var(--faint); text-align: right; }
.contrast .vs {
  font-family: var(--font-mono); font-weight: 600; font-size: .8rem; color: var(--accent);
  text-align: center; align-self: stretch; display: flex; align-items: center; justify-content: center;
  border-left: 1px solid var(--line); border-right: 1px solid var(--line); background: var(--tint);
}
.contrast .b { padding: 26px 28px; font-size: 1.05rem; font-weight: 600; color: var(--head); }
.receipt { margin: 38px auto 0; max-width: 640px; color: var(--body); font-size: 1rem; }

/* ============================================================
   STEPS
   ============================================================ */
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.stepcard { border: 1px solid var(--line); border-radius: var(--r); padding: 30px 28px; background: #fff; }
.stepcard .n {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--tint); border: 1px solid var(--tint-deep);
  color: var(--accent-deep); font-family: var(--font-mono); font-weight: 600; font-size: 1rem;
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.stepcard h4 { font-size: 1.1rem; font-weight: 600; margin-bottom: 8px; }
.stepcard p { font-size: .94rem; margin: 0; }

/* ============================================================
   OFFER CARDS (ladder)
   ============================================================ */
.offer-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.ocard {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 32px 32px 28px; display: flex; flex-direction: column;
  transition: border-color .15s, box-shadow .15s;
}
.ocard:hover { border-color: var(--tint-deep); box-shadow: 0 14px 40px rgba(199,68,0,.08); }
.ocard.lead { border-color: var(--accent-deep); box-shadow: 0 14px 44px rgba(199,68,0,.1); position: relative; }
.otag {
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .07em;
  text-transform: uppercase; color: var(--faint); margin-bottom: 14px;
}
.ocard.lead .otag { color: var(--accent-deep); }
.ocard h3 { font-size: 1.34rem; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 10px; }
.ocard p { font-size: .97rem; margin: 0 0 18px; flex: 1; }
.pricesoft { font-size: .86rem; color: var(--faint); margin-bottom: 16px; }
.pricesoft b { color: var(--head); font-weight: 700; }
.more { font-weight: 600; font-size: .93rem; color: var(--accent-deep); }
.more:hover { color: var(--accent); }

/* ============================================================
   QUOTE / MAGNET
   ============================================================ */
.magnet {
  background: var(--tint); border: 1px solid var(--line-tint); border-radius: 20px;
  padding: 56px clamp(28px, 5vw, 64px); position: relative; overflow: hidden;
}
.magnet h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); max-width: 22ch; }
.magnet .body { font-size: 1.08rem; max-width: 60ch; margin: 20px 0 28px; }
.magnet .mrow { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.magnet .mrow span { color: var(--faint); font-size: .95rem; }

.capture { display: flex; gap: 10px; max-width: 460px; flex-wrap: wrap; }
.capture input {
  flex: 1; min-width: 200px; background: #fff; border: 1px solid var(--line);
  border-radius: 9px; padding: 14px 16px; color: var(--head); font-size: .95rem; font-family: inherit;
}
.capture input::placeholder { color: var(--faint); }
.capture input:focus { outline: none; border-color: var(--accent); }
.capture button {
  background: var(--ink); color: #fff; border: 1px solid var(--ink); border-radius: 9px;
  padding: 14px 20px; font-weight: 700; font-size: .82rem; letter-spacing: .05em;
  text-transform: uppercase; font-family: inherit; cursor: pointer; transition: background .15s;
}
.capture button:hover { background: #292219; }
.capture.on-dark input { background: rgba(255,255,255,.06); border-color: var(--line-dark); color: #fff; }
.capture.on-dark input::placeholder { color: var(--white-mute); }
.capture.on-dark button { background: #fff; border-color: #fff; color: var(--ink); }
.capture.on-dark button:hover { background: var(--tint-deep); }

/* ============================================================
   DARK FINAL CTA
   ============================================================ */
.cta-dark { padding: 120px 0; text-align: center; }
.cta-dark h2 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); font-weight: 700; max-width: 20ch; margin: 0 auto; }
.cta-dark .cta-row { justify-content: center; margin-top: 36px; }
.cta-dark .follow { margin: 52px auto 0; max-width: 480px; padding-top: 38px; border-top: 1px solid var(--line-dark); }
.cta-dark .follow p { color: var(--white-soft); margin-bottom: 16px; font-size: .98rem; }
.cta-dark .capture { margin: 0 auto; justify-content: center; }

/* ============================================================
   FOOTER — dark, multi-column
   ============================================================ */
footer.footer { background: var(--ink); color: var(--white-mute); padding: 72px 0 40px; border-top: 1px solid var(--line-dark); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.foot-brand .logo { margin-bottom: 16px; }
.foot-brand .spine { font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; color: #fff; margin: 0 0 10px; }
.foot-brand .spine .o { color: var(--accent); }
.foot-brand p { font-size: .9rem; line-height: 1.6; max-width: 34ch; }
.fcol h5 {
  font-family: var(--font-mono); font-weight: 500; font-size: .72rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--white-mute); margin: 0 0 16px;
}
.fcol a { display: block; color: var(--white-soft); font-size: .92rem; padding: 5px 0; }
.fcol a:hover { color: var(--accent); }
.foot-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: .84rem;
}
.foot-bottom .handle { display: flex; align-items: center; gap: .5em; }
.foot-bottom .handle .d { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); display: inline-block; }

/* ============================================================
   INNER PAGES
   ============================================================ */
.page-hero { margin-top: -80px; padding: 168px 0 64px; }
.page-hero h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.4rem); font-weight: 700;
  letter-spacing: -0.03em; line-height: 1.08; max-width: 24ch; margin: 0;
}
.page-hero .lede { font-size: 1.12rem; line-height: 1.62; color: var(--white-soft); max-width: 62ch; margin: 22px 0 0; }
.page-hero .lede b, .page-hero .lede strong { color: #fff; }
.page-hero .dcta, .page-hero .cta-row { margin-top: 30px; }

.prose { max-width: 780px; }
.prose.wide { max-width: 960px; }
.prose h2 { font-size: clamp(1.45rem, 2.6vw, 1.95rem); font-weight: 700; margin: 2.1em 0 .6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.16rem; font-weight: 600; margin: 1.7em 0 .5em; }
.prose p { font-size: 1.02rem; line-height: 1.68; }
.prose a { font-weight: 600; }

.back { display: inline-block; font-size: .88rem; font-weight: 600; color: var(--faint); }
.back:hover { color: var(--accent-deep); }

.kicker {
  display: inline-flex; align-items: center; gap: .65em;
  font-family: var(--font-mono); font-size: .74rem; font-weight: 500; letter-spacing: .07em;
  text-transform: uppercase; color: var(--white-soft);
  background: rgba(255,255,255,.06); border: 1px solid var(--line-dark);
  border-radius: 999px; padding: 7px 16px; margin-bottom: 20px;
}

.badge {
  display: inline-flex; align-items: center; gap: .45em;
  font-family: var(--font-mono); font-size: .68rem; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; padding: 4px 11px; border-radius: 999px;
}
.badge.live { background: rgba(31,157,97,.1); color: var(--good); border: 1px solid rgba(31,157,97,.3); }
.badge.live .live-dot { width: 7px; height: 7px; box-shadow: none; }
.badge.progress { background: var(--tint); color: var(--accent-deep); border: 1px solid var(--tint-deep); }

.callout {
  background: var(--tint); border: 1px solid var(--line-tint); border-left: 3px solid var(--accent-deep);
  border-radius: 12px; padding: 20px 24px; margin: 28px 0; font-size: 1rem; line-height: 1.62;
}
.callout a { font-weight: 700; }

.scope {
  display: flex; align-items: flex-start; gap: 18px;
  background: var(--tint); border: 1px solid var(--tint-deep); border-left: 3px solid var(--accent-deep); border-radius: var(--r);
  padding: 26px 30px; margin: 32px 0;
}
.scope .ic {
  flex: none; width: 40px; height: 40px; border-radius: 11px;
  background: #fff; border: 1px solid var(--tint-deep); color: var(--accent-deep);
  font-family: var(--font-mono); font-weight: 600; font-size: 1.15rem;
  display: flex; align-items: center; justify-content: center;
}
.scope .big { font-family: var(--font-display); font-size: 1.16rem; font-weight: 600; color: var(--head); letter-spacing: -0.015em; line-height: 1.32; }
.scope .sub { color: var(--body); font-size: .95rem; margin-top: 5px; line-height: 1.55; }

ul.clean { list-style: none; padding-left: 0; margin: 0 0 1.2em; }
ul.clean li { position: relative; padding-left: 30px; margin-bottom: .7em; line-height: 1.6; }
ul.clean li::before { content: "→"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

ul.no { list-style: none; padding-left: 0; margin: 0 0 1.2em; }
ul.no li { position: relative; padding-left: 30px; margin-bottom: .6em; color: var(--faint); line-height: 1.55; }
ul.no li::before { content: "×"; position: absolute; left: 5px; color: #cb3a31; font-weight: 700; }

ol.steps { counter-reset: step; list-style: none; padding-left: 0; margin: 10px 0 1.4em; }
ol.steps li { position: relative; padding-left: 54px; margin-bottom: 1.15em; line-height: 1.62; }
ol.steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: -2px; width: 34px; height: 34px; border-radius: 9px;
  background: var(--tint); border: 1px solid var(--tint-deep); color: var(--accent-deep);
  font-family: var(--font-mono); font-weight: 600; font-size: .95rem;
  display: flex; align-items: center; justify-content: center;
}

.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 32px 0; }
.metric { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px; }
.metric .num { font-family: var(--font-display); font-size: 1.9rem; font-weight: 700; letter-spacing: -0.02em; color: var(--head); }
.metric .num span { color: var(--accent); }
.metric .lbl { font-size: .88rem; color: var(--faint); margin-top: 5px; line-height: 1.45; }

figure.fig { margin: 32px 0; }
figure.fig figcaption { font-size: .87rem; color: var(--faint); margin-top: 12px; line-height: 1.5; }

.note { font-size: .92rem; color: var(--faint); line-height: 1.58; }
hr.soft { border: 0; border-top: 1px solid var(--line); margin: 48px 0; }
.dcta { display: flex; flex-wrap: wrap; gap: 14px; margin: 42px 0 0; align-items: center; }

/* proof index cards */
.pcards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.pcard {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
  display: flex; flex-direction: column; transition: border-color .15s, box-shadow .15s, transform .15s;
}
.pcard:hover { border-color: var(--tint-deep); box-shadow: 0 16px 44px rgba(199,68,0,.1); transform: translateY(-2px); }
.pcard .thumb { height: 190px; background: var(--tint); border-bottom: 1px solid var(--line); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.pcard .thumb img { width: 100%; height: 100%; object-fit: cover; object-position: left top; display: block; }
.pcard .pbody { padding: 24px 26px 26px; flex: 1; display: flex; flex-direction: column; }
.pcard .ptag { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: 10px; }
.pcard h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: -0.015em; margin-bottom: 8px; line-height: 1.25; }
.pcard p { font-size: .94rem; margin: 0 0 18px; flex: 1; }
.pcard .seeit { font-weight: 600; font-size: .92rem; color: var(--accent-deep); }

/* pipeline motif (diagnostic card placeholder art) */
.pipe { display: flex; align-items: center; gap: 9px; }
.pipe .node { width: 26px; height: 26px; border-radius: 7px; border: 1px solid var(--tint-deep); background: #fff; }
.pipe .node.on { border-color: var(--accent); background: var(--tint-deep); }
.pipe .wire { width: 22px; height: 1px; background: var(--tint-deep); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1020px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .wrap { padding: 0 22px; }
  .section { padding: 72px 0; }
  .hero { padding: 150px 0 48px; }
  .nav-links .nav-link { display: none; }
  .strip-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
  .rowalt { grid-template-columns: 1fr; gap: 30px; padding: 48px 0; }
  .rowalt.flip .media { order: 0; }
  .steps3, .offer-grid, .pcards { grid-template-columns: 1fr; }
  .contrast .row { grid-template-columns: 1fr; }
  .contrast .a { text-align: left; padding-bottom: 8px; }
  .contrast .vs { border: 0; border-top: 1px dashed var(--line-tint); border-bottom: 1px dashed var(--line-tint); padding: 6px 0; }
  .contrast .b { padding-top: 8px; }
  .magnet { padding: 40px 24px; }
  .sec-head { margin-bottom: 40px; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .scope { flex-direction: column; gap: 14px; padding: 22px; }
  .page-hero { padding: 140px 0 48px; }
}
@media (max-width: 460px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .cta-row .btn { width: 100%; }
  .hero .cta-row .btn, .cta-dark .cta-row .btn { width: 100%; }
  .strip-grid { grid-template-columns: 1fr; }
  .stat { border-left: 0 !important; border-top: 1px solid var(--line-dark); }
  .stat:first-child { border-top: 0; }
}

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

/* ---- engine room map (2026-07-09 repositioning) ---- */
.engines { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ecard { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; display: flex; flex-direction: column; }
.ecard h3 { font-size: 1.08rem; font-weight: 600; letter-spacing: -0.015em; margin: 0 0 8px; }
.ecard p { font-size: .9rem; margin: 0; flex: 1; }
.estatus { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .09em; text-transform: uppercase; display: flex; align-items: center; gap: 7px; margin-bottom: 12px; color: var(--faint); }
.estatus .dot { width: 8px; height: 8px; border-radius: 50%; background: #cfc9c2; flex: none; }
.estatus.live { color: var(--good); }
.estatus.live .dot { background: var(--good); box-shadow: 0 0 0 4px rgba(31,157,97,.14); }
.estatus.installing { color: var(--accent-deep); }
.estatus.installing .dot { background: var(--accent-deep); box-shadow: 0 0 0 4px rgba(199,68,0,.12); }
.plain { font-size: .85rem; color: var(--faint); margin-top: 10px; }
.plain b { color: var(--body); font-weight: 600; }
@media (max-width: 900px) { .engines { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .engines { grid-template-columns: 1fr; } }
