/* Extracted from public/audit.html during Eleventy migration. */
    /* ===== Audit Page Styles ===== */
    .audit-page {
      max-width: 900px;
      margin: 0 auto;
      padding: 0 24px 80px;
    }

    /* --- Landing State --- */
    .audit-hero {
      text-align: center;
      padding: 48px 24px 56px;
    }

    .audit-badge {
      display: inline-block;
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--accent);
      margin-bottom: 20px;
    }

    .audit-hero h1 {
      font-family: 'Fraunces', Georgia, serif;
      /* Match home page hero-headline scale (landing.css) so all
         marketing pages share one display-heading rhythm. */
      font-size: clamp(2.5rem, 5.5vw, 4.2rem);
      font-weight: 500;
      letter-spacing: -0.02em;
      line-height: 1.06;
      margin-bottom: 20px;
      max-width: 700px;
      margin-left: auto;
      margin-right: auto;
      text-wrap: pretty;
    }

    .audit-hero h1 .accent {
      color: var(--accent);
    }

    .audit-hero .subtitle {
      color: var(--text-secondary);
      font-size: 18px;
      line-height: 1.6;
      max-width: 560px;
      margin: 0 auto 36px;
    }

    .audit-cta-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      flex-wrap: wrap;
      gap: 10px;
      padding: 18px 44px;
      background: var(--accent);
      color: var(--bg-body);
      font-size: 17px;
      font-weight: 700;
      border-radius: 12px;
      border: none;
      cursor: pointer;
      text-decoration: none;
      transition: opacity 0.15s, transform 0.15s;
      max-width: 100%;
    }

    .audit-cta-btn:hover {
      opacity: 0.9;
      transform: translateY(-1px);
    }

    .audit-cta-btn svg {
      width: 20px;
      height: 20px;
    }

    .audit-trust {
      display: flex;
      justify-content: center;
      gap: 28px;
      flex-wrap: wrap;
      margin-top: 32px;
      font-size: 13px;
      color: var(--text-muted);
    }
    /* Stripe-branded primary CTA — uses Stripe's purple so prospects
       recognize this as an official Stripe sign-in button. */
    .audit-cta-btn.audit-cta-stripe {
      background: #635bff;
      color: #ffffff;
      box-shadow: 0 4px 20px rgba(99, 91, 255, 0.35);
    }
    .audit-cta-btn.audit-cta-stripe:hover {
      background: #554fe0;
      opacity: 1;
    }
    .audit-cta-btn .stripe-mark {
      height: 18px;
      width: auto;
      color: #ffffff;
      display: inline-block;
      vertical-align: middle;
    }
    /* Secondary "paste a key instead" link — small, de-emphasized so
       OAuth is the obvious first choice. */
    .audit-alt-cta {
      margin-top: 20px;
      font-size: 13px;
      color: var(--text-muted);
      text-align: center;
    }
    .audit-alt-cta a {
      color: var(--text-secondary);
      text-decoration: underline;
      text-underline-offset: 3px;
    }
    .audit-alt-cta a:hover {
      color: var(--accent);
    }

    .audit-calc-link {
      margin-top: 8px;
      font-size: 13px;
      color: var(--text-muted);
      text-align: center;
    }
    .audit-calc-link a {
      color: var(--accent);
      text-decoration: none;
    }
    .audit-calc-link a:hover { text-decoration: underline; }

    .audit-trust-band {
      margin: 32px auto 0;
      max-width: 1100px;
    }

    .audit-trust span {
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .audit-trust svg {
      width: 14px;
      height: 14px;
      color: var(--accent);
      flex-shrink: 0;
    }

    /* --- How It Works --- */
    .audit-steps {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
      margin-top: 60px;
    }

    .audit-step {
      background: var(--bg-tile);
      border: 1px solid var(--border-tile);
      border-radius: var(--card-radius);
      padding: 28px 24px;
      text-align: center;
    }

    .audit-step-num {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 32px;
      height: 32px;
      border-radius: 50%;
      background: rgba(63, 184, 114, 0.12);
      color: var(--accent);
      font-weight: 700;
      font-size: 14px;
      margin-bottom: 14px;
    }

    .audit-step h3 {
      font-size: 15px;
      font-weight: 700;
      margin-bottom: 6px;
    }

    .audit-step p {
      font-size: 13px;
      color: var(--text-secondary);
      line-height: 1.5;
    }

    /* --- Loading State --- */
    .audit-loading {
      display: none;
      text-align: center;
      padding: 120px 24px;
    }

    .audit-loading.active {
      display: block;
    }

    .audit-spinner {
      width: 48px;
      height: 48px;
      border: 3px solid var(--border-tile);
      border-top-color: var(--accent);
      border-radius: 50%;
      animation: spin 0.8s linear infinite;
      margin: 0 auto 28px;
    }

    @keyframes spin {
      to { transform: rotate(360deg); }
    }

    .audit-loading h2 {
      font-size: 22px;
      font-weight: 700;
      margin-bottom: 12px;
    }

    .audit-loading-status {
      color: var(--text-secondary);
      font-size: 15px;
    }

    .audit-steps-progress {
      display: flex;
      flex-direction: column;
      gap: 12px;
      max-width: 300px;
      margin: 32px auto 0;
      text-align: left;
    }

    .audit-step-item {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 14px;
      color: var(--text-muted);
      transition: color 0.3s;
    }

    .audit-step-item.active {
      color: var(--accent);
    }

    .audit-step-item.done {
      color: var(--text-secondary);
    }

    .step-icon {
      width: 18px;
      height: 18px;
      flex-shrink: 0;
    }

    /* --- Results State --- */
    .audit-results {
      display: none;
    }

    .audit-results.active {
      display: block;
    }

    .audit-results-header {
      text-align: center;
      margin-bottom: 40px;
    }

    .audit-results-header h1 {
      font-family: 'Fraunces', Georgia, serif;
      /* Match home page hero scale for visual parity across marketing pages. */
      font-size: clamp(2.5rem, 5.5vw, 4.2rem);
      font-weight: 500;
      letter-spacing: -0.02em;
      line-height: 1.06;
      margin-bottom: 8px;
    }

    .audit-results-header .audit-date {
      font-size: 13px;
      color: var(--text-muted);
    }

    /* Stats grid */
    .audit-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
      margin-bottom: 20px;
    }

    .audit-card {
      background: var(--bg-tile);
      border: 1px solid var(--border-tile);
      border-radius: var(--card-radius);
      padding: 24px;
    }

    .audit-card.full {
      grid-column: 1 / -1;
    }

    .audit-card-label {
      font-size: 12px;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--text-muted);
      margin-bottom: 8px;
    }

    .audit-card-value {
      font-size: 28px;
      font-weight: 800;
      line-height: 1.2;
    }

    .audit-card-value.green { color: var(--accent); }
    .audit-card-value.red { color: #e74c3c; }
    .audit-card-value.amber { color: #e67e22; }

    .audit-card-sub {
      font-size: 13px;
      color: var(--text-secondary);
      margin-top: 4px;
    }

    /* Section titles */
    .audit-section-title {
      font-size: 13px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: var(--text-muted);
      margin: 32px 0 14px;
    }

    .audit-section-title.red { color: #e74c3c; }
    .audit-section-title.amber { color: #e67e22; }
    .audit-section-title.green { color: var(--accent); }

    /* Decline breakdown */
    .decline-split {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 24px;
      align-items: start;
    }

    .decline-bars {
      display: flex;
      flex-direction: column;
      gap: 14px;
    }

    .decline-bar-row {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .decline-bar-label {
      font-size: 13px;
      color: var(--text-secondary);
      min-width: 80px;
    }

    .decline-bar-track {
      flex: 1;
      height: 24px;
      background: rgba(255,255,255,0.04);
      border-radius: 6px;
      overflow: hidden;
    }

    .decline-bar-fill {
      height: 100%;
      border-radius: 6px;
      transition: width 0.6s ease;
    }

    .decline-bar-fill.soft { background: #e67e22; }
    .decline-bar-fill.hard { background: #e74c3c; }
    .decline-bar-fill.fraud { background: #9b59b6; }

    .decline-bar-count {
      font-size: 13px;
      font-weight: 600;
      min-width: 36px;
      text-align: right;
    }

    .decline-codes {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .decline-code-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 10px 14px;
      background: rgba(255,255,255,0.02);
      border-radius: 8px;
    }

    .decline-code-name {
      font-size: 13px;
      color: var(--text-primary);
      font-family: monospace;
      overflow-wrap: anywhere;
    }

    .decline-code-count {
      font-size: 13px;
      font-weight: 600;
      color: var(--text-secondary);
    }

    /* Benchmark bar */
    .benchmark-container {
      display: flex;
      flex-direction: column;
      gap: 16px;
      padding: 8px 0;
    }

    .benchmark-row {
      display: flex;
      align-items: center;
      gap: 16px;
    }

    .benchmark-label {
      font-size: 13px;
      color: var(--text-secondary);
      min-width: 140px;
      flex-shrink: 0;
    }

    .benchmark-track {
      flex: 1;
      height: 28px;
      background: rgba(255,255,255,0.04);
      border-radius: 8px;
      overflow: hidden;
      position: relative;
    }

    .benchmark-fill {
      height: 100%;
      border-radius: 8px;
      transition: width 0.8s ease;
      display: flex;
      align-items: center;
      padding: 0 10px;
      font-size: 13px;
      font-weight: 700;
    }

    .benchmark-fill.yours { background: rgba(231, 76, 60, 0.3); color: #e74c3c; }
    .benchmark-fill.yours.good { background: rgba(63, 184, 114, 0.2); color: var(--accent); }
    .benchmark-fill.industry { background: rgba(255,255,255,0.08); color: var(--text-secondary); }

    /* Monthly trend */
    .trend-bars {
      display: flex;
      align-items: flex-end;
      gap: 16px;
      height: 140px;
      padding: 16px 0;
    }

    .trend-bar-col {
      flex: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 8px;
      height: 100%;
      justify-content: flex-end;
    }

    .trend-bar {
      width: 100%;
      max-width: 80px;
      background: rgba(231, 76, 60, 0.25);
      border-radius: 6px 6px 0 0;
      transition: height 0.6s ease;
      position: relative;
    }

    .trend-bar-amount {
      position: absolute;
      top: -22px;
      left: 50%;
      transform: translateX(-50%);
      font-size: 12px;
      font-weight: 700;
      color: #e74c3c;
      white-space: nowrap;
    }

    .trend-bar-label {
      font-size: 12px;
      color: var(--text-muted);
    }

    /* Expiring cards */
    .expiring-list {
      display: flex;
      flex-direction: column;
      gap: 8px;
      margin-top: 12px;
    }

    .expiring-item {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 10px 14px;
      background: rgba(230, 126, 34, 0.06);
      border: 1px solid rgba(230, 126, 34, 0.15);
      border-radius: 8px;
      font-size: 13px;
    }

    .expiring-email {
      color: var(--text-secondary);
      font-family: monospace;
      overflow-wrap: anywhere;
    }

    .expiring-days {
      color: #e67e22;
      font-weight: 600;
    }

    /* Recovery CTA */
    .audit-recovery-cta {
      background: linear-gradient(135deg, rgba(63,184,114,0.08), rgba(63,184,114,0.02));
      border: 1px solid rgba(63,184,114,0.2);
      border-radius: var(--card-radius);
      padding: 48px 32px;
      text-align: center;
      margin-top: 32px;
    }

    .audit-recovery-cta h2 {
      font-family: 'Fraunces', Georgia, serif;
      /* Match cta-band h2 scale on the home page (landing.css). */
      font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
      font-weight: 500;
      letter-spacing: -0.03em;
      line-height: 1.1;
      margin-bottom: 8px;
    }

    .audit-recovery-cta h2 .amount {
      color: var(--accent);
    }

    .audit-recovery-cta .cta-sub {
      color: var(--text-secondary);
      font-size: 15px;
      margin-bottom: 28px;
    }

    .audit-cta-row {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 16px;
      flex-wrap: wrap;
    }

    .btn-secondary {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 14px 28px;
      background: transparent;
      color: var(--text-primary);
      font-size: 15px;
      font-weight: 600;
      border-radius: 10px;
      border: 1px solid var(--border-tile);
      cursor: pointer;
      text-decoration: none;
      transition: border-color 0.15s;
    }

    .btn-secondary:hover {
      border-color: var(--text-muted);
    }

    .btn-secondary svg {
      width: 16px;
      height: 16px;
    }

    /* Email capture */
    .audit-email-row {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      margin-top: 24px;
      flex-wrap: wrap;
    }

    .audit-email-row input {
      padding: 12px 16px;
      background: var(--bg-tile);
      border: 1px solid var(--border-tile);
      border-radius: 8px;
      color: var(--text-primary);
      font-size: 14px;
      width: 260px;
      max-width: 100%;
    }

    .audit-email-row input::placeholder {
      color: var(--text-muted);
    }

    .audit-email-row button {
      padding: 12px 20px;
      background: var(--bg-tile);
      border: 1px solid var(--border-tile);
      color: var(--text-primary);
      font-size: 14px;
      font-weight: 600;
      border-radius: 8px;
      cursor: pointer;
      transition: border-color 0.15s;
      max-width: 100%;
    }

    .audit-email-row button:hover {
      border-color: var(--accent);
    }

    .audit-email-success {
      display: none;
      color: var(--accent);
      font-size: 14px;
      margin-top: 8px;
    }

    .audit-email-note {
      color: var(--text-muted);
      font-size: 12px;
      margin-top: 8px;
    }

    /* Error state */
    .audit-error {
      display: none;
      text-align: center;
      padding: 80px 24px;
    }

    .audit-error.active {
      display: block;
    }

    .audit-error h2 {
      font-size: 22px;
      font-weight: 700;
      margin-bottom: 12px;
      color: #e74c3c;
    }

    .audit-error p {
      color: var(--text-secondary);
      margin-bottom: 24px;
    }

    /* ===== Key Paste Modal ===== */
    .key-modal {
      position: fixed;
      inset: 0;
      z-index: 1000;
      display: none;
      align-items: center;
      justify-content: center;
      padding: 20px;
    }
    .key-modal.active {
      display: flex;
    }
    .key-modal-backdrop {
      position: absolute;
      inset: 0;
      background: rgba(5, 7, 14, 0.75);
      backdrop-filter: blur(6px);
    }
    .key-modal-panel {
      position: relative;
      background: var(--bg-tile);
      border: 1px solid var(--border-tile);
      border-radius: 16px;
      padding: 32px;
      max-width: 520px;
      width: 100%;
      max-height: 90vh;
      overflow-y: auto;
      box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
    }
    .key-modal-close {
      position: absolute;
      top: 16px;
      right: 16px;
      background: transparent;
      border: none;
      color: var(--text-muted);
      font-size: 26px;
      line-height: 1;
      cursor: pointer;
      padding: 4px 10px;
      border-radius: 6px;
    }
    .key-modal-close:hover {
      color: var(--text-primary);
      background: rgba(255,255,255,0.04);
    }
    .key-modal-panel h2 {
      font-size: 22px;
      font-weight: 800;
      margin: 0 0 8px;
      line-height: 1.25;
    }
    .key-modal-sub {
      color: var(--text-secondary);
      font-size: 14px;
      line-height: 1.6;
      margin-bottom: 20px;
    }
    .key-modal-steps {
      list-style: decimal;
      padding-left: 22px;
      margin: 0 0 24px;
      color: var(--text-secondary);
      font-size: 14px;
      line-height: 1.7;
    }
    .key-modal-steps li {
      margin-bottom: 10px;
    }
    .key-modal-steps strong {
      color: var(--text-primary);
      font-weight: 600;
    }
    .key-modal-steps a {
      color: var(--accent);
      text-decoration: underline;
      text-underline-offset: 2px;
    }
    .key-modal-steps code {
      background: rgba(63, 184, 114, 0.08);
      border: 1px solid rgba(63, 184, 114, 0.18);
      padding: 1px 6px;
      border-radius: 4px;
      font-size: 12px;
      color: var(--accent);
      font-family: 'SF Mono', Menlo, Consolas, monospace;
    }
    .key-modal-hint {
      color: var(--text-muted);
      font-size: 12px;
      display: block;
      margin-top: 2px;
    }
    .key-modal-label {
      display: block;
      font-size: 13px;
      font-weight: 600;
      color: var(--text-primary);
      margin-bottom: 8px;
    }
    .key-modal-input {
      width: 100%;
      box-sizing: border-box;
      padding: 14px 16px;
      background: var(--surface);
      border: 1px solid var(--border-tile);
      border-radius: 10px;
      color: var(--text-primary);
      font-family: 'SF Mono', Menlo, Consolas, monospace;
      font-size: 13px;
      outline: none;
      transition: border-color 0.15s;
    }
    .key-modal-input:focus {
      border-color: var(--accent);
    }
    .key-modal-error {
      min-height: 20px;
      color: #e74c3c;
      font-size: 13px;
      line-height: 1.4;
      margin: 8px 0 0;
    }
    .key-modal-submit {
      width: 100%;
      margin-top: 14px;
      padding: 14px 20px;
      background: var(--accent);
      color: var(--bg-body);
      font-size: 15px;
      font-weight: 700;
      border-radius: 10px;
      border: none;
      cursor: pointer;
      transition: opacity 0.15s, transform 0.15s;
    }
    .key-modal-submit:hover {
      opacity: 0.9;
      transform: translateY(-1px);
    }
    .key-modal-footer {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-top: 20px;
      padding-top: 16px;
      border-top: 1px solid var(--border-tile);
      color: var(--text-muted);
      font-size: 12px;
      line-height: 1.5;
    }
    .key-modal-footer svg {
      color: var(--accent);
      flex-shrink: 0;
    }

    /* Clean bill of health */
    .audit-clean {
      text-align: center;
      padding: 20px;
    }

    .audit-clean svg {
      width: 48px;
      height: 48px;
      color: var(--accent);
      margin-bottom: 16px;
    }

    .audit-clean h3 {
      font-size: 20px;
      font-weight: 700;
      margin-bottom: 8px;
    }

    .audit-clean p {
      color: var(--text-secondary);
      font-size: 15px;
    }

    .action-list {
      display: flex;
      flex-direction: column;
      gap: 10px;
      margin-top: 12px;
    }

    .action-item {
      padding: 12px 14px;
      border-radius: 10px;
      border: 1px solid var(--border-tile);
      background: rgba(255, 255, 255, 0.02);
    }

    .action-item-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      margin-bottom: 6px;
    }

    .action-title {
      font-size: 14px;
      font-weight: 700;
      color: var(--text-primary);
      overflow-wrap: anywhere;
    }

    .action-priority {
      font-size: 11px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--text-muted);
      flex-shrink: 0;
    }

    .action-priority.high {
      color: #e67e22;
    }

    .action-priority.medium {
      color: #638cff;
    }

    .action-priority.low {
      color: var(--accent);
    }

    .action-detail {
      font-size: 13px;
      color: var(--text-secondary);
      line-height: 1.5;
    }

    /* --- Security Section --- */
    .audit-security {
      margin-top: 64px;
      text-align: center;
    }

    .audit-security h2 {
      font-family: 'Fraunces', Georgia, serif;
      /* Match marketing section h2 scale (landing.css). */
      font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
      font-weight: 500;
      letter-spacing: -0.03em;
      line-height: 1.1;
      margin-bottom: 8px;
    }

    .audit-security > p {
      color: var(--text-secondary);
      font-size: 15px;
      max-width: 520px;
      margin: 0 auto 32px;
      line-height: 1.6;
    }

    .security-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 16px;
      text-align: left;
    }

    .security-card {
      background: var(--bg-tile);
      border: 1px solid var(--border-tile);
      border-radius: var(--card-radius);
      padding: 24px;
      display: flex;
      gap: 14px;
    }

    .security-card-icon {
      flex-shrink: 0;
      width: 36px;
      height: 36px;
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .security-card-icon svg {
      width: 18px;
      height: 18px;
    }

    .security-card-icon.green {
      background: rgba(63, 184, 114, 0.1);
      color: var(--accent);
    }

    .security-card-icon.blue {
      background: rgba(99, 140, 255, 0.1);
      color: #638cff;
    }

    .security-card-icon.amber {
      background: rgba(230, 126, 34, 0.1);
      color: #e67e22;
    }

    .security-card-icon.purple {
      background: rgba(155, 89, 182, 0.1);
      color: #9b59b6;
    }

    .security-card h4 {
      font-size: 14px;
      font-weight: 700;
      margin-bottom: 4px;
    }

    .security-card p {
      font-size: 13px;
      color: var(--text-secondary);
      line-height: 1.5;
    }

    .security-used-by {
      margin-top: 24px;
      font-size: 13px;
      color: var(--text-muted);
      line-height: 1.6;
    }

    .security-used-by strong {
      color: var(--text-secondary);
    }

    /* --- Sample Report Preview --- */
    .audit-preview {
      margin-top: 56px;
      text-align: center;
    }

    .audit-preview h2 {
      font-family: 'Fraunces', Georgia, serif;
      /* Match marketing section h2 scale (landing.css). */
      font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
      font-weight: 500;
      letter-spacing: -0.03em;
      line-height: 1.1;
      margin-bottom: 8px;
    }

    .audit-preview > p {
      color: var(--text-secondary);
      font-size: 15px;
      max-width: 500px;
      margin: 0 auto 28px;
      line-height: 1.6;
    }

    .preview-dashboard {
      background: var(--bg-tile);
      border: 1px solid var(--border-tile);
      border-radius: var(--card-radius);
      padding: 28px;
      text-align: left;
    }

    .preview-label {
      font-size: 11px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: var(--text-muted);
      margin-bottom: 16px;
    }

    .preview-stats {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 14px;
      margin-bottom: 20px;
    }

    .preview-stat {
      background: var(--surface);
      border-radius: 10px;
      padding: 16px;
    }

    .preview-stat-label {
      font-size: 11px;
      color: var(--text-muted);
      margin-bottom: 4px;
    }

    .preview-stat-value {
      font-size: 22px;
      font-weight: 800;
    }

    .preview-stat-value.green { color: var(--accent); }
    .preview-stat-value.red { color: #e74c3c; }
    .preview-stat-value.amber { color: #e67e22; }

    .preview-bars-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 14px;
    }

    .preview-mini-card {
      background: var(--surface);
      border-radius: 10px;
      padding: 16px;
    }

    .preview-mini-label {
      font-size: 11px;
      color: var(--text-muted);
      margin-bottom: 10px;
    }

    .preview-bar-stack {
      display: flex;
      flex-direction: column;
      gap: 6px;
    }

    .preview-bar-item {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 12px;
    }

    .preview-bar-item .bar {
      height: 8px;
      border-radius: 4px;
    }

    .preview-bar-item .label {
      color: var(--text-muted);
      min-width: 40px;
    }

    .preview-bar-item .val {
      font-weight: 600;
      margin-left: auto;
    }

    .preview-blur-note {
      text-align: center;
      margin-top: 20px;
      font-size: 13px;
      color: var(--text-muted);
      font-style: italic;
    }

    /* --- FAQ Section --- */
    .audit-faq {
      margin-top: 56px;
    }

    .audit-faq-header {
      text-align: center;
      margin-bottom: 28px;
    }

    .audit-faq-header h2 {
      font-size: clamp(22px, 4vw, 28px);
      font-weight: 800;
    }

    .audit-faq-list {
      max-width: 700px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .audit-faq-item {
      background: var(--bg-tile);
      border: 1px solid var(--border-tile);
      border-radius: 12px;
      overflow: hidden;
      transition: border-color 0.2s;
    }

    .audit-faq-item:hover {
      border-color: var(--border-tile-hover);
    }

    .audit-faq-q {
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
      padding: 18px 20px;
      background: transparent;
      border: none;
      color: var(--text-primary);
      font-size: 15px;
      font-weight: 600;
      text-align: left;
      cursor: pointer;
      font-family: inherit;
    }

    .audit-faq-q .faq-toggle {
      font-size: 20px;
      color: var(--text-muted);
      transition: transform 0.2s;
      flex-shrink: 0;
      margin-left: 16px;
    }

    .audit-faq-item.open .faq-toggle {
      transform: rotate(45deg);
    }

    .audit-faq-a {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease;
    }

    .audit-faq-item.open .audit-faq-a {
      max-height: 300px;
    }

    .audit-faq-a p {
      padding: 0 20px 18px;
      font-size: 14px;
      color: var(--text-secondary);
      line-height: 1.7;
    }

    /* Responsive — only audit-page rules below. The legacy .nav / .nav-links
       responsive rules that lived here were removed during Eleventy
       migration; the marketing nav is now handled by /css/components.css
       and /js/landing.js. */

    @media (max-width: 1100px) {
      .audit-page {
        max-width: 960px;
      }

      .audit-steps {
        grid-template-columns: repeat(2, 1fr);
      }

      .audit-step:last-child {
        grid-column: 1 / -1;
      }

      .audit-grid {
        grid-template-columns: repeat(2, 1fr);
      }

      .preview-stats {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 900px) {
      .decline-split {
        grid-template-columns: 1fr;
      }

      .preview-bars-row {
        grid-template-columns: 1fr;
      }

      .security-grid {
        grid-template-columns: 1fr;
      }

      .audit-recovery-cta {
        padding: 36px 24px;
      }
    }

    @media (max-width: 768px) {
      .audit-page {
        padding: 0 16px 60px;
      }

      .audit-hero {
        padding: 32px 16px 40px;
      }

      .audit-steps,
      .audit-grid,
      .preview-stats {
        grid-template-columns: 1fr;
      }

      .audit-step:last-child {
        grid-column: auto;
      }

      .benchmark-row {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
      }

      .benchmark-label {
        min-width: auto;
      }

      .audit-card,
      .preview-dashboard {
        padding: 20px 16px;
      }

      .trend-bars {
        height: 120px;
        gap: 10px;
      }

      .audit-cta-row {
        flex-direction: column;
        align-items: stretch;
      }

      .audit-cta-row .audit-cta-btn,
      .audit-cta-row .btn-secondary {
        width: 100%;
      }

      .audit-email-row {
        flex-direction: column;
        align-items: stretch;
      }

      .audit-email-row input,
      .audit-email-row button {
        width: 100%;
      }

      .action-item-header {
        flex-direction: column;
        align-items: flex-start;
      }

      .expiring-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
      }
    }

    @media (max-width: 480px) {
      .audit-hero .subtitle {
        font-size: 16px;
      }

      .audit-cta-btn {
        padding: 16px 20px;
        font-size: 16px;
      }

      .audit-card-value {
        font-size: 24px;
      }

      .trend-bar-amount {
        font-size: 11px;
      }

      .audit-faq-q {
        padding: 16px;
        font-size: 14px;
      }
    }
