/* Signal design: editorial, data-forward, restrained color. */

    :root {
      /* Dark neutral base with a green-tinted charcoal cast. */
      --bg: #0f1512;
      --bg-2: #131a16;
      --surface: #181f1b;
      --surface-2: #1f2922;
      --surface-3: #283329;

      /* Text */
      --text: #e6ebdd;
      --text-strong: #fbf8ee;
      --muted: #b8c2af;
      --quiet: #8a968b;

      /* Borders */
      --line: rgba(226, 233, 218, 0.10);
      --line-strong: rgba(226, 233, 218, 0.20);

      /* Violet is reserved for AI intelligence moments. */
      --violet: #9d7cf4;
      --violet-soft: #b89cf7;
      --violet-deep: #5d3fa8;
      --violet-tint: rgba(157, 124, 244, 0.10);
      --violet-glow: rgba(157, 124, 244, 0.20);

      /* Green marks progress and readiness. */
      --green: #62c994;
      --green-soft: #7fdbab;
      --green-tint: rgba(98, 201, 148, 0.12);

      /* Brass is a rare premium accent and the logo stem. */
      --brass: #d8b867;
      --brass-soft: #f0d88d;

      /* Status */
      --amber: #d8a94d;
      --red: #df6a5e;

      /* Type */
      --font-body: "IBM Plex Sans", system-ui, -apple-system, sans-serif;
      --font-display: "IBM Plex Sans Condensed", "IBM Plex Sans", system-ui, sans-serif;
      --font-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;

      /* Radii */
      --r-xs: 6px;
      --r-sm: 9px;
      --r-md: 14px;
      --r-lg: 20px;

      /* Layout */
      --max: 1140px;
      --gutter: clamp(20px, 4vw, 44px);
      --section: clamp(72px, 9vw, 120px);
    }

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

    html { scroll-behavior: smooth; background: var(--bg); }

    body {
      min-width: 320px;
      background: var(--bg);
      color: var(--text);
      font-family: var(--font-body);
      font-size: 16px;
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }

    /* Subtle flat texture. */
    body::before {
      content: "";
      position: fixed;
      inset: 0;
      z-index: -1;
      pointer-events: none;
      background-image:
        repeating-linear-gradient(0deg, transparent 0 39px, rgba(226,233,218,0.015) 39px 40px);
    }

    img, svg { display: block; }
    a { color: inherit; text-decoration: none; }

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

    /* Header */

    .site-header {
      position: sticky;
      top: 0;
      z-index: 50;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
      width: min(calc(100% - var(--gutter) * 2), var(--max));
      margin: 0 auto;
      padding: 18px 0 14px;
      transition: background 180ms ease, border-color 180ms ease;
    }

    .site-header.is-scrolled {
      width: 100%;
      max-width: none;
      padding: 10px var(--gutter);
      background: rgba(15, 21, 18, 0.90);
      border-bottom: 1px solid var(--line);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
    }

    .brand {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      min-height: 40px;
      font-family: var(--font-display);
      font-weight: 700;
    }

    .brand-mark {
      width: 32px;
      height: 32px;
      flex-shrink: 0;
    }

    .nav-toggle {
      display: none;
      align-items: center;
      justify-content: center;
      min-width: 42px;
      min-height: 42px;
      border: 1px solid var(--line-strong);
      border-radius: var(--r-xs);
      color: var(--text-strong);
      background: rgba(255,255,255,0.04);
      cursor: pointer;
    }

    .nav-toggle svg { width: 20px; height: 20px; }

    .site-nav {
      display: flex;
      align-items: center;
      gap: 4px;
      font-weight: 500;
      font-size: 1rem;
      color: var(--muted);
    }

    .site-nav a {
      min-height: 38px;
      display: inline-flex;
      align-items: center;
      border-radius: var(--r-xs);
      padding: 0 12px;
      transition: color 160ms ease, background 160ms ease;
    }

    .site-nav a:hover {
      color: var(--text-strong);
      background: rgba(255,255,255,0.04);
    }

    /* Neutral CTA with restraint. */
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 46px;
      border-radius: var(--r-xs);
      padding: 0 20px;
      font-family: var(--font-body);
      font-weight: 600;
      font-size: 1rem;
      letter-spacing: 0;
      line-height: 1.35;
      transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
      cursor: pointer;
      border: 1px solid var(--line-strong);
      background: rgba(255,255,255,0.04);
      color: var(--text-strong);
    }

    .btn:hover {
      transform: translateY(-1px);
      border-color: rgba(226,233,218,0.35);
      background: rgba(255,255,255,0.07);
    }

    .btn-ghost {
      border-color: transparent;
      background: transparent;
    }

    .btn-ghost:hover {
      background: rgba(255,255,255,0.04);
      border-color: var(--line);
    }

    /* Layout helpers */

    .section {
      width: min(calc(100% - var(--gutter) * 2), var(--max));
      margin: 0 auto;
      padding: var(--section) 0;
    }

    .eyebrow {
      display: inline-block;
      margin-bottom: 14px;
      color: var(--quiet);
      font-family: var(--font-mono);
      font-size: 1rem;
      font-weight: 500;
      letter-spacing: 0;
    }

    h1, h2, h3 {
      font-family: var(--font-display);
      color: var(--text-strong);
      line-height: 1.3;
      letter-spacing: 0;
    }

    h1 {
      margin-bottom: 22px;
      font-size: 4rem;
      font-size: clamp(2.8rem, 5.8vw, 5rem);
      letter-spacing: 0;
    }

    h2 {
      margin-bottom: 20px;
      font-size: 3rem;
      font-size: clamp(2rem, 4vw, 3.4rem);
    }

    h3 {
      margin-bottom: 8px;
      font-size: 1.5rem;
      font-size: clamp(1.35rem, 1.5vw, 1.5rem);
    }

    p { color: var(--muted); }

    .lede {
      max-width: 580px;
      margin-bottom: 30px;
      color: var(--muted);
      font-size: 1.25rem;
      font-size: clamp(1.25rem, 1.8vw, 1.3rem);
      line-height: 1.5;
    }

    /* Hero */

    .hero {
      display: grid;
      grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
      align-items: center;
      gap: clamp(36px, 5vw, 64px);
      padding-top: clamp(28px, 4vw, 52px);
      padding-bottom: clamp(40px, 5vw, 64px);
    }

    .hero-copy { min-width: 0; }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-bottom: 36px;
    }

    /* Signal list */
    .signal-list {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 18px;
      max-width: 580px;
    }

    .signal-list > div {
      border-left: 1px solid var(--violet);
      padding-left: 14px;
    }

    .signal-list dt {
      margin-bottom: 4px;
      color: var(--text-strong);
      font-weight: 600;
      font-size: 1rem;
    }

    .signal-list dd {
      margin: 0;
      color: var(--quiet);
      font-size: 1rem;
      line-height: 1.45;
    }

    /* Product console */

    .console {
      border: 1px solid var(--line-strong);
      border-radius: var(--r-md);
      background: var(--surface);
      overflow: hidden;
      box-shadow: 0 24px 70px rgba(8,6,12,0.30);
    }

    .console-bar {
      display: flex;
      align-items: center;
      gap: 8px;
      border-bottom: 1px solid var(--line);
      padding: 13px 16px;
    }

    .dot {
      width: 9px;
      height: 9px;
      border-radius: 50%;
      background: var(--quiet);
      opacity: 0.5;
    }

    .console-title {
      margin-left: 6px;
      color: var(--text-strong);
      font-weight: 600;
      font-size: 1rem;
    }

    .console-time {
      margin-left: auto;
      color: var(--quiet);
      font-family: var(--font-mono);
      font-size: 1rem;
      font-variant-numeric: tabular-nums;
    }

    .console-body { padding: 20px 16px; }

    /* Stage pills */
    .stage-row {
      display: flex;
      gap: 0;
      margin-bottom: 22px;
      border: 1px solid var(--line);
      border-radius: 999px;
      overflow: hidden;
    }

    .stage {
      flex: 1;
      padding: 7px 10px;
      text-align: center;
      font-size: 1rem;
      font-weight: 600;
      color: var(--quiet);
      white-space: nowrap;
    }

    .stage + .stage { border-left: 1px solid var(--line); }

    .stage.is-active {
      color: var(--text-strong);
      background: var(--violet-tint);
      border-bottom: 2px solid var(--violet);
    }

    /* Violet intelligence waveform */
    .waveform {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 3px;
      height: 80px;
      margin-bottom: 20px;
    }

    .waveform span {
      width: 4px;
      min-height: 8px;
      height: var(--h);
      border-radius: 999px;
      background: var(--violet-deep);
      opacity: 0.6;
    }

    .waveform span.lit {
      background: var(--violet);
      opacity: 1;
    }

    /* Call grid */
    .call-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 12px;
    }

    .call-block {
      border: 1px solid var(--line);
      border-radius: var(--r-sm);
      padding: 14px;
      background: rgba(0,0,0,0.15);
    }

    .block-label {
      margin-bottom: 10px;
      font-family: var(--font-mono);
      font-size: 1rem;
      font-weight: 500;
      letter-spacing: 0;
    }

    .transcript-block .block-label { color: var(--quiet); }
    .coach-block .block-label { color: var(--violet-soft); }

    .call-block p {
      margin-bottom: 8px;
      font-size: 1rem;
      line-height: 1.45;
    }

    .call-block p:last-child { margin-bottom: 0; }

    .call-block strong { color: var(--text-strong); font-weight: 600; }

    .coach-hint {
      padding-top: 8px;
      border-top: 1px solid var(--line);
      color: var(--violet-soft) !important;
      font-size: 1rem !important;
    }

    /* Console footer metrics */
    .console-footer {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      border-top: 1px solid var(--line);
    }

    .mini-metric {
      padding: 12px 16px;
    }

    .mini-metric + .mini-metric { border-left: 1px solid var(--line); }

    .mini-metric span {
      display: block;
      margin-bottom: 3px;
      color: var(--quiet);
      font-size: 1rem;
    }

    .mini-metric strong {
      color: var(--text-strong);
      font-family: var(--font-mono);
      font-size: 1.25rem;
      font-variant-numeric: tabular-nums;
    }

    .mini-metric .progress { color: var(--green); }

    /* Problem section */

    .problem {
      border-top: 1px solid var(--line);
      border-bottom: 1px solid var(--line);
      padding-top: 72px;
      padding-bottom: 72px;
    }

    .split-copy {
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(260px, 0.5fr);
      gap: clamp(28px, 5vw, 64px);
      align-items: start;
    }

    .split-copy h2 { margin-bottom: 0; }

    .split-copy p {
      font-size: 1.25rem;
      font-size: clamp(1.25rem, 1.4vw, 1.3rem);
      line-height: 1.55;
    }

    /* How it works */

    .section-head {
      margin-bottom: 36px;
    }

    .steps {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      border-top: 1px solid var(--line-strong);
    }

    .step {
      padding: 28px 24px 4px 0;
    }

    .step + .step {
      border-left: 1px solid var(--line);
      padding-left: 24px;
    }

    .step-num {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 18px;
      color: var(--violet-soft);
      font-family: var(--font-mono);
      font-size: 1rem;
      font-weight: 500;
      letter-spacing: 0;
    }

    .step-num::before {
      content: "";
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--violet);
    }

    .step p {
      font-size: 1rem;
      line-height: 1.5;
    }

    /* Skill board */

    .skill-board {
      border: 1px solid var(--line-strong);
      border-radius: var(--r-md);
      padding: 8px;
      background: var(--surface);
      overflow: hidden;
    }

    .skill-row {
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(200px, 0.5fr);
      gap: clamp(18px, 3vw, 40px);
      align-items: center;
      padding: 22px clamp(18px, 3vw, 28px);
    }

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

    .skill-row h3 { margin-bottom: 4px; }

    .skill-row p {
      margin: 0;
      font-size: 1rem;
      max-width: 520px;
    }

    .skill-meter {
      position: relative;
      height: 8px;
      border-radius: 999px;
      background: rgba(255,255,255,0.06);
      overflow: hidden;
    }

    .skill-meter span {
      display: block;
      width: var(--level);
      height: 100%;
      border-radius: inherit;
      background: var(--green);
    }

    .skill-pct {
      display: block;
      margin-top: 6px;
      color: var(--quiet);
      font-family: var(--font-mono);
      font-size: 1rem;
      font-variant-numeric: tabular-nums;
    }

    /* Manager section */

    .managers {
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(320px, 0.7fr);
      gap: clamp(32px, 5vw, 72px);
      align-items: center;
    }

    .check-list {
      display: grid;
      gap: 12px;
      margin: 24px 0 0;
      padding: 0;
      list-style: none;
    }

    .check-list li {
      position: relative;
      padding-left: 26px;
      color: var(--muted);
      font-size: 1rem;
    }

    .check-list li::before {
      content: "";
      position: absolute;
      left: 0;
      top: 0.5em;
      width: 12px;
      height: 7px;
      border-left: 2px solid var(--green);
      border-bottom: 2px solid var(--green);
      transform: rotate(-45deg);
    }

    .manager-panel {
      border: 1px solid var(--line-strong);
      border-radius: var(--r-md);
      background: var(--surface);
      overflow: hidden;
    }

    .panel-head {
      display: flex;
      justify-content: space-between;
      align-items: center;
      border-bottom: 1px solid var(--line);
      padding: 14px 16px;
    }

    .panel-head span { color: var(--quiet); font-size: 1rem; font-weight: 500; }
    .panel-head strong { color: var(--text-strong); font-weight: 600; }

    .team-score {
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 4px 16px;
      padding: 20px 16px 16px;
    }

    .team-score span { color: var(--muted); font-size: 1rem; }

    .team-score strong {
      color: var(--text-strong);
      font-family: var(--font-display);
      font-size: 2.6rem;
      line-height: 1.3;
    }

    .team-bar {
      grid-column: 1 / -1;
      height: 8px;
      border-radius: 999px;
      background: rgba(255,255,255,0.06);
      overflow: hidden;
    }

    .team-bar span {
      display: block;
      width: 86%;
      height: 100%;
      border-radius: inherit;
      background: var(--green);
    }

    .heatmap {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 6px;
      padding: 0 16px 16px;
    }

    .heatmap span {
      aspect-ratio: 1.6 / 1;
      border: 1px solid var(--line);
      border-radius: var(--r-xs);
    }

    .heatmap .good { background: var(--green-tint); }
    .heatmap .mid { background: rgba(216,169,77,0.18); }
    .heatmap .low { background: rgba(223,106,94,0.16); }

    .drill-card {
      margin: 0 16px 16px;
      border: 1px solid var(--line);
      border-radius: var(--r-sm);
      padding: 14px;
      background: rgba(0,0,0,0.15);
    }

    .drill-card span {
      display: block;
      margin-bottom: 4px;
      color: var(--violet-soft);
      font-family: var(--font-mono);
      font-size: 1rem;
      font-weight: 500;
      letter-spacing: 0;
    }

    .drill-card strong {
      display: block;
      margin-bottom: 4px;
      color: var(--text-strong);
      font-family: var(--font-display);
      font-size: 1.25rem;
    }

    .drill-card p { margin: 0; font-size: 1rem; }

    /* Final CTA */

    .final-cta {
      margin-bottom: var(--section);
      padding: 48px 40px;
      border: 1px solid var(--line-strong);
      border-radius: var(--r-lg);
      background: var(--surface);
      text-align: center;
    }

    .final-cta h2 {
      max-width: 720px;
      margin: 0 auto 16px;
    }

    .final-cta p {
      max-width: 520px;
      margin: 0 auto 26px;
      font-size: 1.25rem;
    }

    /* Footer */

    .site-footer {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
      width: min(calc(100% - var(--gutter) * 2), var(--max));
      margin: 0 auto;
      padding: 24px 0 40px;
      border-top: 1px solid var(--line);
    }

    .footer-meta {
      color: var(--quiet);
      font-size: 1rem;
    }

    /* Responsive */

    @media (max-width: 900px) {
      .hero, .managers, .split-copy { grid-template-columns: 1fr; }
      .steps { grid-template-columns: 1fr; }
      .step + .step { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
      .call-grid { grid-template-columns: 1fr; }
      .skill-row { grid-template-columns: 1fr; }
      .nav-toggle { display: inline-flex; }
      .site-nav {
        position: absolute;
        top: calc(100% + 8px);
        right: var(--gutter);
        left: var(--gutter);
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        border: 1px solid var(--line-strong);
        border-radius: var(--r-sm);
        padding: 8px;
        background: rgba(15, 21, 18, 0.96);
        box-shadow: 0 24px 70px rgba(8,6,12,0.30);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
      }
      .site-nav.is-open { display: flex; }
      .site-nav a { justify-content: space-between; min-height: 46px; }
    }

    @media (max-width: 600px) {
      .site-header { padding-top: 14px; }

      .signal-list { grid-template-columns: 1fr; }
      .hero-actions { flex-direction: column; }
      .btn { width: 100%; }
      .console-footer { grid-template-columns: 1fr; }
      .mini-metric + .mini-metric { border-left: 0; border-top: 1px solid var(--line); }
    }

    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
      }
    }
    .skip-link {
      position: fixed;
      top: 10px;
      left: 10px;
      z-index: 100;
      transform: translateY(-160%);
      padding: 10px 14px;
      border-radius: var(--r-xs);
      background: var(--text-strong);
      color: #111611;
      font-weight: 700;
    }

    .skip-link:focus { transform: translateY(0); }
