/* ====================================================================
       TuffOps brand system (matches index.html / pricing.html / blog)
       ==================================================================== */
    :root {
      --bg: #0c1117;
      --surface: #141b24;
      --surface-2: #19222e;
      --bg-soft: #10171f;          /* slight section tint, lighter than bg */
      --bg-dark: #060a0f;          /* darker than bg, for table headers etc. */
      --line: #243042;
      --border: #243042;
      --ink: #e8eef5;
      --ink-soft: #8b9cb3;
      --text: #e8eef5;
      --muted: #8b9cb3;
      --soft: #d8e0ea;
      --brand: #3d9cf5;            /* TuffOps primary accent */
      --accent: #3d9cf5;
      --brand-dark: #2563a8;
      --warm: #f59e0b;             /* warm/secondary accent */
      --good: #34d399;
      --success: #34d399;
      --bad: #f87171;
      --radius: 12px;
      --shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 8px 24px rgba(0, 0, 0, .25);
      --max: 1080px;
      --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
      --serif: Georgia, "Times New Roman", Times, serif;
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    html, body { margin: 0; padding: 0; }
    body {
      font-family: var(--font);
      color: var(--ink);
      background: var(--bg);
      line-height: 1.6;
      font-size: 1.02rem;
      -webkit-font-smoothing: antialiased;
    }

    a { color: var(--brand); text-decoration: none; }
    a:hover { text-decoration: underline; }
    h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; color: var(--ink); }
    p { margin: 0 0 1em; }
    strong { color: var(--ink); }
    code { background: var(--surface); border: 1px solid var(--line); padding: 0.1rem 0.4rem; border-radius: 4px; font-size: 0.92em; color: var(--ink); }

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

    /* Top bar */
.topbar .cta-link:hover { color: var(--brand); text-decoration: none; }
    .topbar-actions { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }

    /* Hero */
    .hero {
      padding: 72px 0 56px;
      background: radial-gradient(ellipse 80% 60% at 50% -20%, rgba(61, 156, 245, 0.18), transparent);
      border-bottom: 1px solid var(--line);
    }
    .hero .eyebrow {
      display: inline-block;
      font-size: 13px;
      font-weight: 700;
      color: var(--brand);
      background: rgba(61, 156, 245, .12);
      border: 1px solid rgba(61, 156, 245, .25);
      padding: 6px 12px;
      border-radius: 999px;
      margin-bottom: 20px;
      letter-spacing: .04em;
      text-transform: uppercase;
    }
    .hero h1 {
      font-family: var(--serif);
      font-weight: 400;
      font-size: clamp(2.2rem, 5vw, 3.35rem);
      line-height: 1.08;
      letter-spacing: -.025em;
      max-width: 880px;
      margin-bottom: 1rem;
    }
    .hero .sub {
      font-size: clamp(17px, 1.6vw, 20px);
      color: var(--ink-soft);
      max-width: 760px;
      margin-bottom: 28px;
    }
    .hero .sub strong { color: var(--ink); }
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background: var(--brand);
      color: #06101c;
      font-weight: 600;
      font-size: 16px;
      padding: 0.9rem 1.5rem;
      border-radius: 8px;
      border: none;
      cursor: pointer;
      transition: background .15s ease;
      text-decoration: none;
    }
    .btn:hover { background: #5eb0ff; color: #06101c; text-decoration: none; }
    .btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
    .btn-ghost:hover { border-color: var(--ink-soft); color: var(--ink); background: transparent; }
    .btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
    .secondary-link { font-size: 14px; color: var(--ink-soft); }
    .hero-meta {
      margin-top: 32px;
      display: flex;
      flex-wrap: wrap;
      gap: 24px;
      font-size: 14px;
      color: var(--ink-soft);
    }
    .hero-meta span::before {
      content: "✓ ";
      color: var(--good);
      font-weight: 700;
      margin-right: 4px;
    }

    /* Section base */
    section { padding: 64px 0; border-bottom: 1px solid var(--line); }
    section h2 {
      font-family: var(--serif);
      font-weight: 400;
      font-size: clamp(1.85rem, 3.5vw, 2.5rem);
      letter-spacing: -.015em;
      margin-bottom: 16px;
    }
    section .lede {
      font-size: 17px;
      color: var(--ink-soft);
      max-width: 720px;
      margin-bottom: 32px;
    }
    section .lede strong { color: var(--ink); }

    /* Problem callout */
    .problem { background: var(--bg-soft); }
    .problem-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
      margin-top: 24px;
    }
    .problem-card {
      background: var(--surface);
      border: 1px solid var(--line);
      border-radius: var(--radius);
      padding: 22px;
    }
    .problem-card .stat {
      font-family: var(--serif);
      font-size: 2rem;
      font-weight: 400;
      color: var(--bad);
      margin-bottom: 8px;
      letter-spacing: -.01em;
      line-height: 1;
    }
    .problem-card .label {
      font-size: 14px;
      color: var(--ink-soft);
    }
    .problem-card .label strong { color: var(--ink); }

    /* What EPA can ask for table */
    .epa-table {
      width: 100%;
      border-collapse: collapse;
      margin-top: 16px;
      font-size: 15px;
      background: var(--surface);
      border: 1px solid var(--line);
      box-shadow: var(--shadow);
      border-radius: var(--radius);
      overflow: hidden;
    }
    .epa-table th, .epa-table td {
      padding: 14px 16px;
      text-align: left;
      vertical-align: top;
      border-bottom: 1px solid var(--line);
      color: var(--ink);
    }
    .epa-table th {
      background: rgba(61, 156, 245, 0.08);
      color: var(--ink);
      font-weight: 700;
      font-size: 13px;
      letter-spacing: .04em;
      text-transform: uppercase;
    }
    .epa-table tr:last-child td { border-bottom: none; }
    .epa-table .num {
      font-weight: 700;
      color: var(--brand);
      width: 32px;
    }
    .epa-table .ready { color: var(--good); font-weight: 600; }

    /* Capabilities grid */
    .caps-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 16px;
    }
    .cap {
      display: flex;
      gap: 14px;
      align-items: flex-start;
      padding: 20px;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: var(--surface);
    }
    .cap-check {
      flex-shrink: 0;
      width: 28px;
      height: 28px;
      border-radius: 999px;
      background: rgba(52, 211, 153, .15);
      color: var(--good);
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      font-size: 14px;
    }
    .cap-body { flex: 1; min-width: 0; }
    .cap h4 {
      font-size: 16px;
      margin-bottom: 4px;
      color: var(--ink);
    }
    .cap-cite {
      display: inline-block;
      font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
      font-size: 12px;
      color: var(--ink-soft);
      background: var(--bg-dark);
      border: 1px solid var(--line);
      padding: 3px 8px;
      border-radius: 4px;
      margin-top: 8px;
    }
    .cap p {
      font-size: 14px;
      color: var(--ink-soft);
      margin: 6px 0 0;
    }
    .cap p code { background: var(--bg-dark); }

    /* Comparison table */
    .compare {
      width: 100%;
      border-collapse: separate;
      border-spacing: 0;
      margin-top: 16px;
      font-size: 14px;
      background: var(--surface);
      border: 1px solid var(--line);
      border-radius: var(--radius);
      overflow: hidden;
      box-shadow: var(--shadow);
    }
    .compare th, .compare td {
      padding: 14px 16px;
      text-align: center;
      border-bottom: 1px solid var(--line);
      color: var(--ink);
    }
    .compare th:first-child, .compare td:first-child {
      text-align: left;
      font-weight: 500;
      color: var(--ink);
    }
    .compare thead th {
      background: var(--bg-dark);
      font-weight: 700;
      font-size: 12px;
      color: var(--ink-soft);
      text-transform: uppercase;
      letter-spacing: .06em;
    }
    .compare thead th.us {
      background: var(--brand);
      color: #06101c;
    }
    .compare .yes { color: var(--good); font-weight: 700; font-size: 18px; }
    .compare .no { color: var(--bad); font-weight: 700; font-size: 18px; }
    .compare .partial { color: var(--warm); font-weight: 700; }
    .compare tr:last-child td { border-bottom: none; }
    .compare .us-col {
      background: rgba(61, 156, 245, .07);
    }

    /* 30-day timeline */
    .timeline {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 16px;
      margin-top: 24px;
    }
    .week {
      background: var(--surface);
      border: 1px solid var(--line);
      border-top: 3px solid var(--brand);
      border-radius: var(--radius);
      padding: 22px;
    }
    .week-num {
      font-size: 12px;
      font-weight: 700;
      color: var(--brand);
      text-transform: uppercase;
      letter-spacing: .08em;
      margin-bottom: 8px;
    }
    .week h4 {
      font-size: 16px;
      margin-bottom: 8px;
      color: var(--ink);
    }
    .week p {
      font-size: 14px;
      color: var(--ink-soft);
      margin: 0;
    }

    /* Quote */
    .quote-block {
      background: linear-gradient(135deg, rgba(61,156,245,0.08), rgba(245,158,11,0.05));
      border-bottom: 1px solid var(--line);
      padding: 56px 0;
    }
    .quote-block blockquote {
      margin: 0;
      font-family: var(--serif);
      font-size: clamp(22px, 2.6vw, 30px);
      line-height: 1.35;
      max-width: 820px;
      letter-spacing: -.01em;
      color: var(--ink);
    }
    .quote-block .attrib {
      margin-top: 20px;
      font-size: 14px;
      color: var(--ink-soft);
    }

    /* FAQ */
    details {
      border-bottom: 1px solid var(--line);
      padding: 18px 0;
    }
    details summary {
      cursor: pointer;
      font-weight: 700;
      font-size: 17px;
      color: var(--ink);
      list-style: none;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 1rem;
    }
    details summary::-webkit-details-marker { display: none; }
    details summary::after {
      content: "+";
      font-size: 24px;
      font-weight: 400;
      color: var(--brand);
      line-height: 1;
      flex-shrink: 0;
    }
    details[open] summary::after { content: "−"; }
    details p {
      margin: 14px 0 0;
      color: var(--ink-soft);
      font-size: 16px;
    }
    details p strong { color: var(--ink); }

    /* Final CTA */
    .final-cta {
      background: linear-gradient(135deg, rgba(61,156,245,0.18) 0%, rgba(37,99,168,0.28) 100%);
      border-top: 1px solid var(--line);
      color: var(--ink);
      text-align: center;
      padding: 80px 24px;
    }
    .final-cta h2 {
      font-family: var(--serif);
      font-weight: 400;
      color: var(--ink);
      font-size: clamp(2rem, 3.5vw, 2.75rem);
      margin-bottom: 16px;
      letter-spacing: -.02em;
    }
    .final-cta p {
      color: var(--ink-soft);
      font-size: 17px;
      max-width: 620px;
      margin: 0 auto 28px;
    }
    .final-cta .btn { background: var(--brand); color: #06101c; }
    .final-cta .btn:hover { background: #5eb0ff; }
    .final-cta .alt-contact {
      margin-top: 20px;
      font-size: 14px;
      color: var(--ink-soft);
    }
    .final-cta .alt-contact a { color: var(--brand); text-decoration: underline; }
    .final-cta .alt-contact a:hover { color: #5eb0ff; }

    /* Footer */
    footer {
      padding: 32px 0;
      font-size: 13px;
      color: var(--ink-soft);
      text-align: center;
      background: var(--bg);
      border-top: 1px solid var(--line);
    }
    footer nav a { color: var(--ink-soft); }
    footer nav a:hover { color: var(--ink); text-decoration: none; }
    footer .disclaimer {
      max-width: 720px;
      margin: 12px auto 0;
      font-size: 12px;
      color: var(--ink-soft);
      line-height: 1.55;
      opacity: 0.85;
    }

    .site-footer {
      padding: 0;
      text-align: left;
    }

    .site-footer .footer-column,
    .site-footer .footer-column a,
    .site-footer .footer-supplement {
      text-align: left;
    }

    /* Accessibility — skip link (visible on focus only) */
    .skip-link {
      position: absolute;
      top: -40px;
      left: 8px;
      background: var(--brand);
      color: #06101c;
      padding: 8px 16px;
      border-radius: 4px;
      font-size: 14px;
      font-weight: 600;
      z-index: 1000;
      text-decoration: none;
    }
    .skip-link:focus {
      top: 8px;
      text-decoration: none;
    }

    /* Responsive */
    @media (max-width: 760px) {
      section { padding: 48px 0; }
      .hero { padding: 48px 0 40px; }
      .problem-grid { grid-template-columns: 1fr; }
      .caps-grid { grid-template-columns: 1fr; }
      .timeline { grid-template-columns: 1fr 1fr; }
      .epa-table, .compare { font-size: 13px; }
      .epa-table th, .epa-table td,
      .compare th, .compare td { padding: 10px; }
    }
    @media (max-width: 480px) {
      .timeline { grid-template-columns: 1fr; }
    }

.hero-borderless, .final-cta-borderless { border-bottom: none; }
.section-soft { background: var(--bg-soft); }
.source-note { margin-top: 16px; font-size: 13px; color: var(--ink-soft); }
.wrap-narrow { max-width: 820px; }
.aim-flow-panel { margin-top: 2rem; }

