/* GTM Bomber — shared stylesheet for all pages. */
  :root {
    /* Design tokens — matched to the v2 app's light system.
       Contrast-validated 2026-07-25 against --bg and --card:
         ink 15.22 / dim 4.96 / forest 10.84  -> AA small text, pass
         mint 3.13 / amber 3.49               -> AA large + non-text only.
       Mint and amber are ACCENT AND BORDER COLORS. Never use them for
       body copy, eyebrows, labels, or any text under 24px. */
    --bg:     #f5f6f2;
    --card:   #ffffff;
    --ink:    #12221c;
    --dim:    #5a6f66;
    --line:   #e3e8e2;
    --forest: #123f33;
    --mint:   #1e9e6f;
    --amber:  #a97b1e;

    --display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    --body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --mono:    'IBM Plex Mono', ui-monospace, Menlo, monospace;

    --nav-h: 60px;
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition: none !important; }
  }

  body {
    background: var(--bg);
    color: var(--ink);
    font-family: var(--body);
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
  }

  .container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 40px;
  }

  .eyebrow {
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--dim);
  }

  /* ============ NAV ============ */
  nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
  }
  nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-h);
    gap: 24px;
  }
  .logo {
    display: flex;
    align-items: center;
    gap: 9px;
    text-decoration: none;
    color: var(--ink);
    flex-shrink: 0;
  }
  .logo-text {
    font-family: var(--display);
    font-weight: 600;
    font-size: 17px;
    letter-spacing: -0.015em;
  }
  .logo-text .by {
    font-family: var(--mono);
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.1em;
    color: var(--dim);
    margin-left: 7px;
  }

  .nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
  }
  .nav-links > a,
  .nav-drop > button {
    font-family: var(--body);
    font-size: 14px;
    font-weight: 500;
    color: var(--dim);
    text-decoration: none;
    background: none;
    border: 0;
    cursor: pointer;
    padding: 0;
    transition: color 0.15s;
  }
  .nav-links > a:hover,
  .nav-drop > button:hover { color: var(--ink); }

  /* Scenarios dropdown — CSS only, opens on hover and on keyboard focus */
  .nav-drop { position: relative; }
  .nav-drop > button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
  .nav-drop > button::after {
    content: '';
    width: 5px; height: 5px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
  }
  .nav-drop-menu {
    position: absolute;
    top: calc(100% + 14px);
    left: -18px;
    min-width: 268px;
    background: var(--card);
    border: 1px solid var(--line);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
  }
  .nav-drop:hover .nav-drop-menu,
  .nav-drop:focus-within .nav-drop-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .nav-drop-menu::before {
    content: '';
    position: absolute;
    top: -14px; left: 0; right: 0; height: 14px;
  }
  .nav-drop-menu a {
    display: block;
    padding: 10px 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    text-decoration: none;
    border-left: 2px solid transparent;
    transition: background 0.15s, border-color 0.15s;
  }
  .nav-drop-menu a span {
    display: block;
    font-size: 12.5px;
    font-weight: 400;
    color: var(--dim);
    margin-top: 2px;
  }
  .nav-drop-menu a:hover { background: var(--bg); }
  .nav-drop-menu a:nth-child(1):hover { border-left-color: var(--mint); }
  .nav-drop-menu a:nth-child(2):hover { border-left-color: var(--amber); }
  .nav-drop-menu a:nth-child(3):hover { border-left-color: var(--forest); }

  /* ============ BUTTONS ============ */
  .btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 13px 20px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
    white-space: nowrap;
  }
  .btn-primary {
    background: var(--forest);
    color: #ffffff;         /* 11.77:1 on forest */
  }
  .btn-primary:hover { background: var(--ink); }
  .btn-ghost {
    color: var(--forest);
    border-color: var(--line);
    background: var(--card);
  }
  .btn-ghost:hover { border-color: var(--forest); }
  .btn .arrow { transition: transform 0.15s; }
  .btn:hover .arrow { transform: translateX(3px); }
  .btn-nav { padding: 10px 16px; font-size: 11px; }

  a:focus-visible,
  button:focus-visible {
    outline: 2px solid var(--forest);
    outline-offset: 3px;
  }

  /* ============ MASTHEAD — hero + the three scenarios, above the fold ============ */
  .masthead {
    min-height: calc(100svh - var(--nav-h));
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(28px, 4.5vh, 52px) 0 clamp(32px, 5vh, 60px);
  }
  /* The gap must live on the container — it, not hero/scenarios, is the
     masthead's only flex child. */
  .masthead > .container {
    display: flex;
    flex-direction: column;
    gap: clamp(40px, 6vh, 72px);
  }

  .hero {
    display: grid;
    grid-template-columns: 1.08fr 1fr;
    gap: clamp(32px, 5vw, 72px);
    align-items: end;
  }
  .hero h1 {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(36px, 4.1vw, 56px);
    line-height: 1.04;
    letter-spacing: -0.03em;
    margin-top: 16px;
  }
  .hero h1 .test {
    color: var(--forest);
    display: block;
  }
  .hero-right { padding-bottom: 4px; }
  .hero-sub {
    font-size: clamp(16px, 1.25vw, 18px);
    line-height: 1.5;
    color: var(--dim);
    max-width: 520px;
    margin-bottom: 26px;
  }
  .hero-cta-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
  }

  /* ============ SCENARIO SELECTOR ============ */
  .scenarios {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .scenario {
    background: var(--card);
    border: 1px solid var(--line);
    border-left: 3px solid var(--line);
    padding: 26px 24px 22px;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: transform 0.15s, box-shadow 0.15s;
  }
  .scenario:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(18, 34, 28, 0.07);
  }
  .scenario.s-mint   { border-left-color: var(--mint); }
  .scenario.s-amber  { border-left-color: var(--amber); }
  .scenario.s-forest { border-left-color: var(--forest); }

  .scenario h2 {
    font-family: var(--display);
    font-size: clamp(19px, 1.6vw, 23px);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 10px;
  }
  .scenario .stance {
    font-size: 15px;
    font-weight: 600;
    color: var(--forest);
    line-height: 1.35;
    margin-bottom: 12px;
  }
  .scenario p {
    font-size: 14.5px;
    line-height: 1.5;
    color: var(--dim);
    margin-bottom: 22px;
  }
  .scenario .go {
    margin-top: auto;
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: var(--forest);
    display: inline-flex;
    align-items: center;
    gap: 7px;
  }
  .scenario .go .arrow { transition: transform 0.15s; }
  .scenario:hover .go .arrow { transform: translateX(3px); }

  /* ============ SECTIONS ============ */
  section.band {
    padding: clamp(72px, 9vw, 116px) 0;
    border-top: 1px solid var(--line);
  }
  .section-head { margin-bottom: 56px; max-width: 780px; }
  .section-head h2 {
    font-family: var(--display);
    font-size: clamp(30px, 3.4vw, 46px);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.028em;
    margin-top: 16px;
  }

  /* ============ ENGINE — five steps ============ */
  .steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    border-top: 1px solid var(--line);
  }
  .step {
    padding: 28px 22px 26px 0;
    border-right: 1px solid var(--line);
    position: relative;
  }
  .step:first-child { padding-left: 0; }
  .step:not(:first-child) { padding-left: 22px; }
  .step:last-child { border-right: 0; padding-right: 0; }
  .step::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 28px;
    height: 2px;
    background: var(--forest);
  }
  .step:not(:first-child)::before { left: 22px; }
  .step-num {
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.14em;
    color: var(--dim);
    margin-bottom: 16px;
  }
  .step h3 {
    font-family: var(--display);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.015em;
    line-height: 1.2;
    margin-bottom: 10px;
  }
  .step p {
    font-size: 14.5px;
    line-height: 1.5;
    color: var(--dim);
  }

  /* ============ WALKTHROUGH VIDEO ============
     Click-to-play facade. The Phase 0 audit found the old page's eager
     YouTube embed was its single biggest performance cost — it pulled the
     full player, DoubleClick, and attestation calls on every page load.
     Here nothing third-party loads until the visitor actually clicks. */
  .walkthrough {
    margin-top: 64px;
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: clamp(28px, 4vw, 56px);
    align-items: center;
  }
  .walkthrough h3 {
    font-family: var(--display);
    font-size: clamp(22px, 2.2vw, 30px);
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.12;
    margin: 14px 0 12px;
  }
  .walkthrough p {
    font-size: 15.5px;
    line-height: 1.55;
    color: var(--dim);
  }
  .video-facade {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 1px solid var(--line);
    background: var(--ink) center/cover no-repeat;
    padding: 0;
    cursor: pointer;
    overflow: hidden;
    display: block;
  }
  .video-facade img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .video-facade .play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .video-facade .play span {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: var(--forest);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s, background 0.15s;
  }
  .video-facade:hover .play span {
    transform: scale(1.07);
    background: var(--mint);
  }
  .video-facade iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
  }

  /* ============ APP SCREENSHOT ============
     A real v2 app capture. Not a mockup, not a fabricated state. */
  .shot {
    margin-top: 64px;
  }
  .shot img {
    width: 100%;
    height: auto;
    display: block;
    border: 1px solid var(--line);
    background: var(--card);
  }
  .shot figcaption {
    margin-top: 16px;
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--dim);
    max-width: 720px;
  }
  .shot figcaption b {
    color: var(--ink);
    font-weight: 600;
  }

  /* ============ PROOF — principle-led ============ */
  .principles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .principle {
    background: var(--card);
    border: 1px solid var(--line);
    border-left: 3px solid var(--forest);
    padding: 28px 26px;
  }
  .principle h3 {
    font-family: var(--display);
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
  }
  .principle p {
    font-size: 15px;
    line-height: 1.55;
    color: var(--dim);
  }

  /* ============ FOOTER CTA ============ */
  .footer-cta {
    background: var(--forest);
    color: #ffffff;
    padding: clamp(76px, 9vw, 112px) 0;
    text-align: center;
  }
  .footer-cta h2 {
    font-family: var(--display);
    font-size: clamp(30px, 3.8vw, 50px);
    font-weight: 600;
    line-height: 1.06;
    letter-spacing: -0.03em;
    margin-bottom: 32px;
  }
  .footer-cta .btn-primary {
    background: var(--bg);
    color: var(--forest);
  }
  .footer-cta .btn-primary:hover { background: #ffffff; }

  /* ============ FOOTER ============ */
  footer {
    background: var(--bg);
    padding: 64px 0 32px;
    border-top: 1px solid var(--line);
  }
  .footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.4fr;
    gap: 48px;
    padding-bottom: 44px;
  }
  .footer-tagline {
    font-size: 15px;
    line-height: 1.55;
    color: var(--dim);
    margin-top: 16px;
    max-width: 280px;
  }
  .footer-col h3 {
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--dim);
    margin-bottom: 18px;
  }
  .footer-col a {
    display: block;
    font-size: 14.5px;
    color: var(--ink);
    text-decoration: none;
    margin-bottom: 11px;
    transition: color 0.15s;
  }
  .footer-col a:hover { color: var(--forest); }
  .suite a { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
  .suite a .what {
    font-size: 13.5px;
    color: var(--dim);
  }
  .footer-bottom {
    border-top: 1px solid var(--line);
    padding-top: 22px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    color: var(--dim);
  }
  .footer-bottom a { color: var(--dim); text-decoration: none; }

  /* ============ RESPONSIVE ============ */
  @media (max-width: 1080px) {
    .steps { grid-template-columns: repeat(2, 1fr); }
    .step { border-bottom: 1px solid var(--line); }
    .step:nth-child(2n) { border-right: 0; }
    .step:last-child { border-bottom: 0; }
  }

  @media (max-width: 900px) {
    .container { padding: 0 22px; }
    .masthead {
      min-height: 0;
      padding: 44px 0 56px;
      gap: 40px;
    }
    .hero {
      grid-template-columns: 1fr;
      gap: 26px;
      align-items: start;
    }
    .hero h1 { margin-top: 14px; }
    .hero h1 .test { display: inline; }
    .scenarios { grid-template-columns: 1fr; }
    .principles { grid-template-columns: 1fr; }
    .walkthrough { grid-template-columns: 1fr; gap: 24px; }
    .footer-grid { grid-template-columns: 1fr; gap: 36px; }
    .nav-links > a:not(.btn),
    .nav-drop { display: none; }
  }

  @media (max-width: 620px) {
    .steps { grid-template-columns: 1fr; }
    .step { border-right: 0; padding-left: 0 !important; }
    .step::before { left: 0 !important; }
    .hero-cta-row .btn { flex: 1 1 auto; justify-content: center; }
  }

  /* ==================================================================
     SCENARIO PAGES (/find-your-icp, /test-target-accounts,
     /clone-your-best-customers) — shared template.
     Each page sets its accent via a body class. Accent is used for
     borders and rules only, never for small text: mint and amber fail
     WCAG AA below 24px on this background.
     ================================================================== */
  body.t-mint   { --accent: var(--mint); }
  body.t-amber  { --accent: var(--amber); }
  body.t-forest { --accent: var(--forest); }

  /* ---- Hero ---- */
  .page-hero {
    padding: clamp(52px, 7vw, 92px) 0 clamp(48px, 6vw, 76px);
  }
  .page-hero .accent-rule {
    width: 52px;
    height: 4px;
    background: var(--accent);
    margin-bottom: 26px;
  }
  .page-hero h1 {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(34px, 4.2vw, 58px);
    line-height: 1.04;
    letter-spacing: -0.03em;
    margin: 14px 0 24px;
    max-width: 880px;
  }
  .page-hero .lede {
    font-size: clamp(16.5px, 1.35vw, 19px);
    line-height: 1.55;
    color: var(--dim);
    max-width: 720px;
    margin-bottom: 32px;
  }
  .breadcrumb {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--dim);
    text-decoration: none;
    display: inline-block;
    margin-bottom: 22px;
  }
  .breadcrumb:hover { color: var(--ink); }

  /* ---- Who this is for ---- */
  .who {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .who li {
    list-style: none;
    background: var(--card);
    border: 1px solid var(--line);
    border-left: 3px solid var(--accent);
    padding: 24px 22px;
    font-size: 15.5px;
    line-height: 1.5;
    color: var(--ink);
  }

  /* ---- What you bring / What you get ---- */
  .exchange {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 16px;
    align-items: start;
  }
  .panel {
    background: var(--card);
    border: 1px solid var(--line);
    padding: 30px 28px;
  }
  .panel.out { border-left: 3px solid var(--accent); }
  .panel h3 {
    font-family: var(--display);
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 18px;
  }
  .panel ul { list-style: none; }
  .panel li {
    position: relative;
    padding-left: 22px;
    font-size: 15.5px;
    line-height: 1.55;
    color: var(--dim);
  }
  .panel li + li {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
  }
  .panel li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 8px;
    height: 8px;
    border: 1.5px solid var(--accent);
  }
  .panel li + li::before { top: 23px; }
  .panel li b { color: var(--ink); font-weight: 600; }

  /* ---- Mini-walkthrough ---- */
  .mini {
    border-top: 1px solid var(--line);
  }
  .mini-step {
    display: grid;
    grid-template-columns: 58px 260px 1fr;
    gap: 28px;
    padding: 26px 0;
    border-bottom: 1px solid var(--line);
    align-items: start;
  }
  .mini-num {
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.12em;
    color: var(--dim);
    padding-top: 4px;
  }
  .mini-step h3 {
    font-family: var(--display);
    font-size: 19px;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.2;
  }
  .mini-step p {
    font-size: 15.5px;
    line-height: 1.55;
    color: var(--dim);
  }

  /* ---- Suite handoff note ---- */
  .handoff {
    margin-top: 40px;
    border-left: 3px solid var(--accent);
    background: var(--card);
    border-top: 1px solid var(--line);
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 22px 26px;
    font-size: 15.5px;
    line-height: 1.55;
    color: var(--dim);
    max-width: 760px;
  }
  .handoff b { color: var(--ink); font-weight: 600; }
  .handoff a { color: var(--forest); }

  /* ---- FAQ ---- */
  .faq { border-top: 1px solid var(--line); max-width: 860px; }
  .faq-item {
    border-bottom: 1px solid var(--line);
    padding: 26px 0;
  }
  .faq-item h3 {
    font-family: var(--display);
    font-size: 19px;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.25;
    margin-bottom: 10px;
  }
  .faq-item p {
    font-size: 15.5px;
    line-height: 1.6;
    color: var(--dim);
  }

  /* ---- Cross-links to the other two scenarios ---- */
  .other-scenarios {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .other {
    background: var(--card);
    border: 1px solid var(--line);
    border-left: 3px solid var(--line);
    padding: 24px 22px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.15s, box-shadow 0.15s;
  }
  .other:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(18,34,28,0.07); }
  .other.s-mint   { border-left-color: var(--mint); }
  .other.s-amber  { border-left-color: var(--amber); }
  .other.s-forest { border-left-color: var(--forest); }
  .other h3 {
    font-family: var(--display);
    font-size: 19px;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
  }
  .other p { font-size: 14.5px; color: var(--dim); line-height: 1.5; }
  .other .go {
    display: inline-block;
    margin-top: 16px;
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: var(--forest);
  }

  @media (max-width: 900px) {
    .who { grid-template-columns: 1fr; }
    .exchange { grid-template-columns: 1fr; }
    .other-scenarios { grid-template-columns: 1fr; }
    .mini-step { grid-template-columns: 44px 1fr; gap: 16px; }
    .mini-step p { grid-column: 2 / -1; }
  }
