/* ============ Core design system (shared) ============ */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;600&display=swap');

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

  :root {
    --ink:      #1C1A16;
    --navy:     #16233F;
    --navy-2:   #24406B;
    --gold:     #B8863B;
    --gold-2:   #E7CD8C;
    --paper:    #FBF6EA;
    --white:    #FFFFFF;
    --border:   #E6DCC4;
    --muted:    #86795F;
    --accent:   #2F6B4F;
    --stamp:    #8E3B3B;
  }

  body {
    font-family: 'DM Sans', sans-serif;
    background: var(--paper);
    color: var(--ink);
    min-height: 100vh;
    padding: 0;
  }

  /* ── Header ── */
  .header {
    background: linear-gradient(155deg, var(--navy) 0%, #0C1729 100%);
    color: var(--white);
    padding: 44px 32px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  .header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
      transparent,
      transparent 27px,
      rgba(231,205,140,0.05) 27px,
      rgba(231,205,140,0.05) 28px
    );
    pointer-events: none;
  }
  .header::after {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(184,134,59,0.22) 0%, transparent 70%);
    pointer-events: none;
  }
  .header-contact {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: rgba(231,205,140,0.08);
    border: 1px solid rgba(231,205,140,0.35);
    border-radius: 30px;
    font-size: 12.5px;
    color: var(--gold-2);
    letter-spacing: 0.02em;
    font-weight: 500;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
  }

  .header-stamp {
    position: absolute;
    top: 22px;
    right: 22px;
    width: 66px;
    height: 66px;
    border: 1.5px dashed rgba(231,205,140,0.55);
    border-radius: 50%;
    display: grid;
    place-items: center;
    transform: rotate(-11deg);
    font-family: 'JetBrains Mono', monospace;
    font-size: 7.5px;
    letter-spacing: 0.08em;
    color: var(--gold-2);
    text-transform: uppercase;
    text-align: center;
    line-height: 1.5;
    opacity: 0.75;
    z-index: 1;
  }
  .header-stamp span { display: block; }
  .header-stamp .stamp-mid { font-size: 13px; margin: 1px 0; }

  .header-eyebrow {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.18em;
    color: var(--gold-2);
    text-transform: uppercase;
    margin-bottom: 10px;
    opacity: 0.85;
    position: relative;
    z-index: 1;
  }
  .header h1 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(28px, 5vw, 46px);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 1;
  }
  .header h1 em {
    font-style: italic;
    color: var(--gold-2);
  }
  .header-sub {
    margin-top: 12px;
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    font-weight: 300;
    position: relative;
    z-index: 1;
  }
  /* ── Layout ── */
  .shell {
    max-width: 620px;
    margin: 0 auto;
    padding: 36px 20px 0;
  }

  /* ── Panel ── */
  .panel {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(28,26,22,0.05);
  }
  .panel-head {
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--border);
  }
  .panel-head.dark { background: var(--ink); color: var(--white); }
  .panel-head.green { background: var(--navy); color: var(--white); }
  .panel-head-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.12em;
    opacity: 0.55;
    flex-shrink: 0;
  }
  .panel-head-label {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }
  .panel-body { padding: 8px 0; }

  /* ── Stream row ── */
  .stream-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 20px;
    cursor: pointer;
    border-bottom: 1px solid var(--border);
    border-left: 3px solid transparent;
    transition: background 0.15s, border-color 0.15s;
    user-select: none;
  }
  .stream-row:last-child { border-bottom: none; }
  .stream-row:hover { background: var(--paper); }
  .stream-row.selected { background: #FBF3DF; border-left-color: var(--gold); }
  .stream-row.qty-row { cursor: default; }

  .cb {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border);
    border-radius: 4px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    transition: background 0.15s, border-color 0.15s;
  }
  .cb svg { opacity: 0; transition: opacity 0.15s; }
  .stream-row.selected .cb {
    background: var(--navy);
    border-color: var(--navy);
  }
  .stream-row.selected .cb svg { opacity: 1; }

  .stream-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    font-size: 17px;
  }

  .stream-info { flex: 1; min-width: 0; }
  .stream-name {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.3;
  }
  .stream-desc {
    font-size: 11.5px;
    color: var(--muted);
    margin-top: 2px;
    line-height: 1.4;
  }

  .stream-fee {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    flex-shrink: 0;
    white-space: nowrap;
  }

  /* ── Quantity stepper ── */
  .stepper {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
  }
  .stepper-btn {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    background: var(--white);
    color: var(--navy);
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
  }
  .stepper-btn:hover { border-color: var(--navy); }
  .stepper-btn:active { transform: scale(0.94); }
  .stepper-count {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    font-weight: 700;
    min-width: 14px;
    text-align: center;
    color: var(--ink);
  }
  .stream-row.selected .stepper-btn.plus { background: var(--navy); border-color: var(--navy); color: var(--white); }

  /* ── Summary panel ── */
  .summary-panel {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
  }
  .fee-section {
    display: none;
    max-width: 620px;
    margin: 0 auto 40px;
    padding: 0 20px;
  }
  .fee-section.open { display: block; animation: slideIn 0.35s ease; }

  .total-block {
    padding: 28px 24px 24px;
    text-align: center;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
  }
  .total-block::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
      transparent, transparent 26px,
      rgba(231,205,140,0.05) 26px, rgba(231,205,140,0.05) 27px
    );
    pointer-events: none;
  }
  .total-label {
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    opacity: 0.65;
    font-family: 'JetBrains Mono', monospace;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
  }
  .total-amount {
    font-family: 'DM Serif Display', serif;
    font-size: 54px;
    line-height: 1;
    letter-spacing: -0.03em;
    transition: all 0.3s;
    position: relative;
    z-index: 1;
  }
  .total-amount .dollar { font-size: 36px; vertical-align: middle; margin-right: 2px; color: var(--gold-2); }
  .total-tax {
    margin-top: 8px;
    font-size: 11.5px;
    opacity: 0.55;
    position: relative;
    z-index: 1;
  }

  /* ── Breakdown list ── */
  .breakdown-head {
    padding: 14px 20px 8px;
    font-size: 10.5px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    font-family: 'JetBrains Mono', monospace;
    font-weight: 600;
  }
  .breakdown-list { min-height: 90px; }
  .breakdown-empty {
    padding: 20px 20px 16px;
    font-size: 13px;
    color: var(--muted);
    text-align: center;
    line-height: 1.6;
  }

  @keyframes slideIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  /* ── Divider total row ── */
  .total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    border-top: 2px solid var(--ink);
    margin-top: 2px;
  }
  .total-row-label { font-size: 13px; font-weight: 700; color: var(--ink); }
  .total-row-fee {
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    font-weight: 700;
    color: var(--navy);
  }

  /* ── Badge ── */
  .badge {
    margin: 16px 20px;
    padding: 12px 14px;
    background: #F4EAD3;
    border: 1px solid #E9D9AE;
    border-radius: 8px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
  }
  .badge-icon { font-size: 18px; flex-shrink: 0; margin-top: 1px; }
  .badge-text { font-size: 12px; line-height: 1.5; color: #7A5A22; font-weight: 500; }
  .badge-text strong { display: block; margin-bottom: 2px; font-size: 12.5px; color: var(--navy); }

  /* ── Footer note ── */
  .info-row {
    padding: 10px 20px 16px;
    font-size: 11.5px;
    color: var(--muted);
    display: flex;
    gap: 7px;
    align-items: flex-start;
    border-top: 1px solid var(--border);
    margin-top: 4px;
  }

  /* ── Action buttons ── */
  .action-bar {
    max-width: 620px;
    margin: 24px auto 24px;
    padding: 0 20px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
  }
  .action-btn {
    flex: 1;
    min-width: 220px;
    border: none;
    border-radius: 10px;
    padding: 15px 20px;
    font-family: 'DM Sans', sans-serif;
    font-size: 14.5px;
    font-weight: 600;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s, opacity 0.15s;
  }
  .action-btn:active { transform: scale(0.98); }
  .price-btn {
    background: linear-gradient(135deg, var(--gold) 0%, #9C6E2B 100%);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(184,134,59,0.32);
  }
  .price-btn:hover { box-shadow: 0 8px 22px rgba(184,134,59,0.42); transform: translateY(-1px); }
  .docs-btn {
    background: var(--white);
    color: var(--navy);
    border: 1.5px solid var(--navy);
  }
  .docs-btn:hover { background: var(--navy); color: var(--white); transform: translateY(-1px); }

  /* ── Modal ── */
  .modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(14,26,43,0.55);
    z-index: 100;
    align-items: center;
    justify-content: center;
    padding: 20px;
  }
  .modal-overlay.open { display: flex; }
  .modal-box {
    background: var(--white);
    border-radius: 14px;
    max-width: 480px;
    width: 100%;
    max-height: 82vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: slideIn 0.2s ease;
  }
  .modal-head {
    background: linear-gradient(135deg, var(--navy) 0%, #0C1729 100%);
    color: var(--white);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: 'DM Serif Display', serif;
    font-size: 19px;
    border-bottom: 2px solid var(--gold);
  }
  .modal-close {
    background: rgba(231,205,140,0.15);
    border: none;
    color: var(--white);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
  }
  .modal-body {
    padding: 20px 22px;
    overflow-y: auto;
  }
  .doc-group { margin-bottom: 16px; }
  .doc-group:last-child { margin-bottom: 0; }
  .doc-group-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 6px;
    padding-bottom: 4px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .doc-list {
    list-style: none;
    padding: 0;
  }
  .doc-list li {
    font-size: 13px;
    color: var(--ink);
    padding: 6px 0 6px 20px;
    position: relative;
    border-bottom: 1px dashed var(--border);
  }
  .doc-list li:last-child { border-bottom: none; }
  .doc-list li::before {
    content: "•";
    color: var(--accent);
    position: absolute;
    left: 4px;
    font-weight: 700;
  }
  .modal-empty {
    text-align: center;
    color: var(--muted);
    font-size: 13.5px;
    padding: 10px 0;
  }

  /* ── Group header ── */
  .group-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px 6px;
    background: var(--paper);
    border-bottom: 1px solid var(--border);
  }
  .group-label {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    font-family: 'JetBrains Mono', monospace;
  }
  .group-fee-badge {
    margin-left: auto;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10.5px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
    white-space: nowrap;
  }
  .group-note {
    font-size: 10px;
    color: var(--muted);
    padding: 4px 20px 2px;
    background: var(--paper);
    border-bottom: 1px solid var(--border);
    font-style: italic;
  }
  /* tier color classes — ledger ink tabs */
  .tier-basic .group-fee-badge { background: #E4EEE7; color: #3F6D51; }
  .tier-invest .group-fee-badge { background: #F4E9CE; color: #A6752C; }
  .tier-rental .group-fee-badge { background: #F6E3D3; color: #A9552C; }
  .tier-foreign .group-fee-badge { background: #F3DEE0; color: #8E3B3B; }
  .tier-advanced .group-fee-badge { background: #E3E9F2; color: #2F4F7A; }

  .stream-row.tier-basic.selected { background: #EEF4EF; border-left-color: #3F6D51; }
  .stream-row.tier-basic.selected .cb { background: #3F6D51; border-color: #3F6D51; }
  .stream-row.tier-invest.selected { background: #FBF3DF; border-left-color: var(--gold); }
  .stream-row.tier-invest.selected .cb { background: var(--gold); border-color: var(--gold); }
  .stream-row.tier-rental.selected { background: #FBEDE1; border-left-color: #A9552C; }
  .stream-row.tier-rental.selected .cb { background: #A9552C; border-color: #A9552C; }
  .stream-row.tier-foreign.selected { background: #F8E9EA; border-left-color: #8E3B3B; }
  .stream-row.tier-foreign.selected .cb { background: #8E3B3B; border-color: #8E3B3B; }
  .stream-row.tier-advanced.selected { background: #ECF0F7; border-left-color: #2F4F7A; }
  .stream-row.tier-advanced.selected .cb { background: #2F4F7A; border-color: #2F4F7A; }

  .stream-row.tier-basic .stream-fee { color: #3F6D51; }
  .stream-row.tier-invest .stream-fee { color: #A6752C; }
  .stream-row.tier-rental .stream-fee { color: #A9552C; }
  .stream-row.tier-foreign .stream-fee { color: #8E3B3B; }
  .stream-row.tier-advanced .stream-fee { color: #2F4F7A; }

  /* breakdown tier rows */
  .breakdown-group-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 10px 20px;
    font-size: 13px;
    border-bottom: 1px dashed var(--border);
    animation: slideIn 0.2s ease;
    gap: 10px;
  }
  .breakdown-group-row:last-child { border-bottom: none; }
  .bdg-names { color: var(--ink); font-weight: 500; line-height: 1.5; }
  .bdg-sub { font-size: 11px; color: var(--muted); font-weight: 400; margin-top: 1px; }
  .bdg-fee {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
  }

  /* ── Shared section wrapper ── */
  .section-block {
    max-width: 620px;
    margin: 0 auto 32px;
    padding: 0 20px;
  }
  .section-head {
    text-align: center;
    margin-bottom: 18px;
  }
  .section-eyebrow {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10.5px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 700;
    margin-bottom: 8px;
  }
  .section-title {
    font-family: 'DM Serif Display', serif;
    font-size: 24px;
    color: var(--navy);
    font-weight: 400;
    line-height: 1.25;
  }

  /* ── Trust strip ── */
  .trust-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: -8px auto 32px;
  }
  .trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 30px;
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 600;
    color: var(--navy);
    box-shadow: 0 2px 8px rgba(28,26,22,0.05);
    transition: transform 0.15s, box-shadow 0.15s;
  }
  .trust-badge:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(28,26,22,0.09); }

  /* ── Benefit grid ── */
  .benefit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  @media (max-width: 480px) { .benefit-grid, .included-grid, .serve-grid { grid-template-columns: 1fr; } }
  .benefit-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px 14px;
    box-shadow: 0 2px 10px rgba(28,26,22,0.05);
    transition: transform 0.15s, box-shadow 0.15s;
  }
  .benefit-card:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(28,26,22,0.09); }
  .benefit-icon { font-size: 20px; margin-bottom: 8px; }
  .benefit-title { font-size: 13px; font-weight: 700; color: var(--navy); line-height: 1.35; margin-bottom: 4px; }
  .benefit-desc { font-size: 11.5px; color: var(--muted); line-height: 1.5; }

  /* ── Who we serve ── */
  .serve-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
  @media (max-width: 480px) { .serve-grid { grid-template-columns: repeat(2, 1fr); } }
  .serve-chip {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px 10px;
    text-align: center;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--navy);
    box-shadow: 0 2px 8px rgba(28,26,22,0.05);
  }

  /* ── What's included ── */
  .included-panel {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(28,26,22,0.05);
    padding: 20px;
  }
  .included-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 14px;
  }
  .included-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12.5px;
    color: var(--ink);
    font-weight: 500;
    line-height: 1.4;
  }
  .included-item .tick {
    color: var(--accent);
    font-size: 13px;
    flex-shrink: 0;
    margin-top: 1px;
  }
  .included-note {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px dashed var(--border);
    font-size: 11.5px;
    color: var(--muted);
    font-style: italic;
    line-height: 1.6;
  }

  /* ── FAQ ── */
  .faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .faq-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(28,26,22,0.05);
  }
  .faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 15px 18px;
    font-family: 'DM Sans', sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--navy);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
  }
  .faq-chevron {
    flex-shrink: 0;
    font-size: 12px;
    color: var(--gold);
    transition: transform 0.25s;
  }
  .faq-item.open .faq-chevron { transform: rotate(180deg); }
  .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .faq-item.open .faq-answer { max-height: 260px; }
  .faq-answer-inner {
    padding: 0 18px 16px;
    font-size: 12.5px;
    color: var(--muted);
    line-height: 1.6;
  }
  .faq-doc-btn {
    margin-top: 10px;
    display: inline-block;
    background: var(--navy);
    color: var(--white);
    border: none;
    border-radius: 8px;
    padding: 9px 16px;
    font-size: 12px;
    font-weight: 600;
    font-family: 'DM Sans', sans-serif;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
  }
  .faq-doc-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(22,35,63,0.28); }

  /* ── CTA ── */
  .cta-panel {
    background: linear-gradient(155deg, var(--navy) 0%, #0C1729 100%);
    border-radius: 14px;
    padding: 34px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(16,24,42,0.25);
  }
  .cta-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
      transparent, transparent 26px,
      rgba(231,205,140,0.05) 26px, rgba(231,205,140,0.05) 27px
    );
    pointer-events: none;
  }
  .cta-title {
    font-family: 'DM Serif Display', serif;
    font-size: 26px;
    color: var(--white);
    font-weight: 400;
    line-height: 1.2;
    position: relative;
    z-index: 1;
  }
  .cta-sub {
    margin-top: 10px;
    font-size: 13.5px;
    color: rgba(255,255,255,0.65);
    line-height: 1.6;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
  }
  .cta-buttons {
    margin-top: 22px;
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
  }
  .cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 22px;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    font-family: 'DM Sans', sans-serif;
    transition: transform 0.15s, box-shadow 0.15s;
  }
  .cta-btn:hover { transform: translateY(-2px); }
  .cta-btn.whatsapp {
    background: linear-gradient(135deg, var(--gold) 0%, #9C6E2B 100%);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(184,134,59,0.35);
  }
  .cta-btn.calendly {
    background: rgba(255,255,255,0.08);
    color: var(--white);
    border: 1.5px solid rgba(231,205,140,0.5);
  }
  .cta-btn.calendly:hover { background: rgba(231,205,140,0.12); }
  .cta-btn.upload {
    background: rgba(47,107,79,0.25);
    color: var(--white);
    border: 1.5px solid rgba(76,175,120,0.5);
  }
  .cta-btn.upload:hover { background: rgba(47,107,79,0.4); }

  /* ── Footer ── */
  .footer-pro {
    background: var(--ink);
    color: rgba(255,255,255,0.55);
    text-align: center;
    padding: 32px 20px 22px;
  }
  .footer-pro .footer-name {
    font-family: 'DM Serif Display', serif;
    font-size: 19px;
    color: var(--white);
  }
  .footer-pro .footer-role {
    margin-top: 3px;
    font-size: 12px;
    color: var(--gold-2);
    letter-spacing: 0.03em;
  }
  .footer-pro .footer-services {
    margin-top: 8px;
    font-size: 11.5px;
    color: rgba(255,255,255,0.45);
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0.05em;
  }
  .footer-pro .footer-contact {
    margin-top: 16px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px 18px;
    font-size: 12.5px;
    color: rgba(255,255,255,0.7);
  }
  .footer-pro .footer-contact a { color: rgba(255,255,255,0.7); text-decoration: none; }
  .footer-pro .footer-contact a:hover { color: var(--gold-2); }
  .footer-pro .footer-divider {
    height: 1px;
    max-width: 200px;
    margin: 18px auto;
    background: rgba(255,255,255,0.12);
  }
  .footer-pro .footer-note {
    font-size: 11px;
    letter-spacing: 0.04em;
    color: rgba(255,255,255,0.4);
  }

  /* ══════════ Multi-screen navigation flow ══════════ */
  .screen {
    display: none;
    opacity: 0;
    transform: translateY(10px);
  }
  .screen.active {
    display: block;
    animation: screenIn 0.4s ease forwards;
  }
  @keyframes screenIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  /* ── Back button ── */
  .calc-topbar {
    max-width: 620px;
    margin: 0 auto;
    padding: 22px 20px 0;
  }
  .back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--white);
    border: 1.5px solid var(--border);
    color: var(--navy);
    font-family: 'DM Sans', sans-serif;
    font-size: 12.5px;
    font-weight: 600;
    padding: 9px 16px;
    border-radius: 30px;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
  }
  .back-btn:hover { border-color: var(--navy); box-shadow: 0 2px 8px rgba(28,26,22,0.08); transform: translateX(-2px); }

  /* ── Landing / entity selection heroes ── */
  .picker-hero {
    max-width: 680px;
    margin: 0 auto;
    padding: 48px 20px 8px;
    text-align: center;
  }
  .picker-hero .section-eyebrow { margin-bottom: 10px; }
  .picker-hero h2 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(26px, 5vw, 38px);
    color: var(--navy);
    font-weight: 400;
    line-height: 1.2;
  }
  .picker-hero p {
    margin-top: 12px;
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
  }

  /* ── Selection cards ── */
  .picker-grid {
    max-width: 900px;
    margin: 32px auto 56px;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .picker-grid.entities { grid-template-columns: repeat(4, 1fr); max-width: 1100px; }
  @media (max-width: 760px) { .picker-grid.entities { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 480px) { .picker-grid, .picker-grid.entities { grid-template-columns: 1fr; } }

  .picker-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px 24px;
    box-shadow: 0 3px 14px rgba(28,26,22,0.06);
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    display: flex;
    flex-direction: column;
    text-align: left;
  }
  .picker-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(22,35,63,0.14);
    border-color: var(--gold);
  }
  .picker-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--paper);
    border: 1px solid var(--border);
    display: grid;
    place-items: center;
    font-size: 24px;
    margin-bottom: 16px;
  }
  .picker-card-title {
    font-family: 'DM Serif Display', serif;
    font-size: 20px;
    color: var(--navy);
    font-weight: 400;
    line-height: 1.25;
  }
  .picker-card-formtag {
    display: inline-block;
    margin-top: 6px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10.5px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 700;
  }
  .picker-card-desc {
    margin-top: 10px;
    font-size: 12.5px;
    color: var(--muted);
    line-height: 1.55;
    flex: 1;
  }
  .picker-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 14px;
  }
  .picker-chip {
    font-size: 10.5px;
    font-weight: 600;
    color: var(--navy);
    background: var(--paper);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 4px 10px;
  }
  .picker-card-btn {
    margin-top: 20px;
    width: 100%;
    border: none;
    border-radius: 10px;
    padding: 13px 18px;
    font-family: 'DM Sans', sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--white);
    background: linear-gradient(135deg, var(--navy) 0%, #0C1729 100%);
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s, opacity 0.15s;
  }
  .picker-card-btn:hover { box-shadow: 0 8px 20px rgba(22,35,63,0.32); transform: translateY(-1px); }
  .picker-card-btn.gold {
    background: linear-gradient(135deg, var(--gold) 0%, #9C6E2B 100%);
    box-shadow: 0 4px 14px rgba(184,134,59,0.32);
  }

  /* ── Entity hero blurb inside a business calculator screen ── */
  .entity-hero {
    max-width: 620px;
    margin: 18px auto 0;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 14px;
  }
  .entity-hero-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid var(--border);
    display: grid;
    place-items: center;
    font-size: 22px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(28,26,22,0.06);
  }
  .entity-hero-title {
    font-family: 'DM Serif Display', serif;
    font-size: 21px;
    color: var(--navy);
    line-height: 1.2;
  }
  .entity-hero-sub {
    font-size: 12px;
    color: var(--muted);
    margin-top: 2px;
  }
  .base-fee-note {
    max-width: 620px;
    margin: 16px auto 0;
    padding: 0 20px;
  }
  .base-fee-note-inner {
    background: #EEF4EF;
    border: 1px solid #D3E5D9;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 12.5px;
    color: #2E5A40;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  /* ══════════ NEW: Filing status step ══════════ */
  .radio {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border);
    border-radius: 50%;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    transition: border-color 0.15s;
  }
  .radio-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--navy);
    opacity: 0;
    transition: opacity 0.15s;
  }
  .stream-row.selected .radio { border-color: var(--navy); }
  .stream-row.selected .radio .radio-dot { opacity: 1; }

  #incomeStepWrap.locked { display: none; }
  #incomeStepWrap.unlocked { display: block; animation: screenIn 0.4s ease; }

  .filing-status-chip-wrap {
    padding: 14px 20px 0;
    text-align: center;
    position: relative;
    z-index: 1;
  }
  .filing-status-chip {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--navy);
    background: var(--gold-2);
    padding: 5px 14px;
    border-radius: 20px;
  }

  /* ══════════ NEW: Accessibility ══════════ */
  .skip-link {
    position: absolute;
    top: -50px;
    left: 12px;
    background: var(--navy);
    color: var(--white);
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    z-index: 999;
    transition: top 0.15s;
  }
  .skip-link:focus { top: 12px; }

  .stream-row:focus-visible,
  .picker-card-btn:focus-visible,
  .back-btn:focus-visible,
  .action-btn:focus-visible,
  .stepper-btn:focus-visible,
  .cta-btn:focus-visible,
  .faq-question:focus-visible,
  .modal-close:focus-visible,
  .subnav-link:focus-visible,
  .footer-link-btn:focus-visible {
    outline: 2.5px solid var(--gold);
    outline-offset: 2px;
  }

  /* ══════════ NEW: Urgency banner ══════════ */
  .urgency-banner {
    background: linear-gradient(90deg, #8E3B3B 0%, #A9552C 100%);
    color: var(--white);
    text-align: center;
    padding: 9px 16px;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.01em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
  }
  .urgency-banner strong { font-family: 'JetBrains Mono', monospace; letter-spacing: 0.04em; }

  /* ══════════ NEW: Progress indicator (Individual flow) ══════════ */
  .progress-track {
    max-width: 620px;
    margin: 20px auto 0;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .progress-step {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .progress-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--border);
    color: var(--muted);
    display: grid;
    place-items: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
  }
  .progress-step.done .progress-dot { background: var(--accent); border-color: var(--accent); color: var(--white); }
  .progress-step.active .progress-dot { background: var(--navy); border-color: var(--navy); color: var(--white); }
  .progress-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--muted);
    white-space: nowrap;
  }
  .progress-step.active .progress-label, .progress-step.done .progress-label { color: var(--ink); }
  .progress-line {
    flex: 1;
    height: 2px;
    background: var(--border);
    margin: 0 2px;
  }
  .progress-step.done + .progress-line { background: var(--accent); }
  @media (max-width: 560px) { .progress-label { display: none; } }

  /* ══════════ NEW: Sticky in-page subnav ══════════ */
  .subnav {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(251,246,234,0.94);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: center;
    gap: 4px;
    padding: 10px 12px;
    flex-wrap: wrap;
  }
  .subnav-link {
    font-size: 12px;
    font-weight: 600;
    color: var(--navy);
    background: none;
    border: none;
    padding: 6px 12px;
    border-radius: 20px;
    cursor: pointer;
    transition: background 0.15s;
    white-space: nowrap;
  }
  .subnav-link:hover { background: var(--white); }

  /* ══════════ NEW: "Not sure?" entity helper ══════════ */
  .entity-help {
    max-width: 900px;
    margin: 0 auto 8px;
    padding: 0 20px;
  }
  .entity-help-inner {
    background: var(--white);
    border: 1px dashed var(--gold);
    border-radius: 12px;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
  }
  .entity-help-text { flex: 1; min-width: 220px; font-size: 12.5px; color: var(--muted); line-height: 1.6; }
  .entity-help-text strong { color: var(--navy); }
  .entity-help-btn {
    flex-shrink: 0;
    background: var(--navy);
    color: var(--white);
    border: none;
    border-radius: 8px;
    padding: 9px 16px;
    font-size: 12.5px;
    font-weight: 600;
    font-family: 'DM Sans', sans-serif;
    cursor: pointer;
  }
  .entity-help-btn:hover { background: #0C1729; }

  /* ══════════ NEW: Email-my-estimate button ══════════ */
  .email-estimate-btn {
    display: block;
    width: calc(100% - 40px);
    margin: 4px 20px 16px;
    background: var(--white);
    border: 1.5px solid var(--border);
    color: var(--navy);
    border-radius: 10px;
    padding: 12px 16px;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
  }
  .email-estimate-btn:hover { border-color: var(--navy); background: var(--paper); }

  /* ══════════ NEW: Scroll reveal ══════════ */
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
  .reveal.reveal-visible { opacity: 1; transform: translateY(0); }

  /* ══════════ NEW: Stats section ══════════ */
  .stats-grid {
    max-width: 900px;
    margin: 0 auto 40px;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
  }
  @media (max-width: 640px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
  .stat-card {
    background: var(--navy);
    background: linear-gradient(155deg, var(--navy) 0%, #0C1729 100%);
    border-radius: 14px;
    padding: 22px 14px;
    text-align: center;
    color: var(--white);
  }
  .stat-num {
    font-family: 'DM Serif Display', serif;
    font-size: 30px;
    color: var(--gold-2);
    line-height: 1;
  }
  .stat-label {
    margin-top: 8px;
    font-size: 11px;
    color: rgba(255,255,255,0.65);
    letter-spacing: 0.03em;
    line-height: 1.4;
  }

  /* ══════════ NEW: How It Works timeline ══════════ */
  .timeline {
    max-width: 900px;
    margin: 0 auto 40px;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
  }
  @media (max-width: 900px) { .timeline { grid-template-columns: repeat(3, 1fr); } }
  @media (max-width: 480px) { .timeline { grid-template-columns: 1fr; } }
  .timeline-step {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 18px 12px;
    text-align: center;
    position: relative;
  }
  .timeline-step-num {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--white);
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 700;
    display: grid;
    place-items: center;
    margin: 0 auto 10px;
  }
  .timeline-step-icon { font-size: 20px; margin-bottom: 8px; }
  .timeline-step-title { font-size: 12.5px; font-weight: 700; color: var(--navy); line-height: 1.3; }
  .timeline-step-desc { font-size: 10.5px; color: var(--muted); margin-top: 4px; line-height: 1.4; }

  /* ══════════ NEW: Testimonial carousel ══════════ */
  .testimonial-wrap {
    max-width: 680px;
    margin: 0 auto 40px;
    padding: 0 20px;
    position: relative;
  }
  .testimonial-track-outer { overflow: hidden; border-radius: 14px; }
  .testimonial-track {
    display: flex;
    transition: transform 0.4s ease;
  }
  .testimonial-card {
    flex: 0 0 100%;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 26px 24px;
    box-shadow: 0 3px 14px rgba(28,26,22,0.06);
  }
  .testimonial-stars { color: var(--gold); font-size: 14px; letter-spacing: 2px; }
  .testimonial-quote {
    margin-top: 10px;
    font-size: 13.5px;
    color: var(--ink);
    line-height: 1.7;
    font-style: italic;
  }
  .testimonial-author {
    margin-top: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .testimonial-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--paper);
    border: 1px solid var(--border);
    display: grid;
    place-items: center;
    font-size: 15px;
    flex-shrink: 0;
  }
  .testimonial-name { font-size: 12.5px; font-weight: 700; color: var(--navy); }
  .testimonial-role { font-size: 11px; color: var(--muted); }
  .carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin-top: 16px;
  }
  .carousel-arrow {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    background: var(--white);
    color: var(--navy);
    font-size: 15px;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: border-color 0.15s;
  }
  .carousel-arrow:hover { border-color: var(--navy); }
  .carousel-dots { display: flex; gap: 6px; }
  .carousel-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--border);
    cursor: pointer;
    border: none;
    padding: 0;
  }
  .carousel-dot.active { background: var(--gold); width: 18px; border-radius: 5px; transition: width 0.2s; }

  /* ══════════ NEW: Comparison table ══════════ */
  .compare-wrap {
    max-width: 700px;
    margin: 0 auto 40px;
    padding: 0 20px;
    overflow-x: auto;
  }
  .compare-table {
    width: 100%;
    min-width: 480px;
    border-collapse: collapse;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
  }
  .compare-table th, .compare-table td {
    padding: 11px 12px;
    font-size: 12px;
    text-align: center;
    border-bottom: 1px solid var(--border);
  }
  .compare-table th:first-child, .compare-table td:first-child { text-align: left; font-weight: 600; color: var(--ink); }
  .compare-table thead th {
    background: var(--ink);
    color: var(--white);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }
  .compare-table thead th.highlight { background: var(--gold); }
  .compare-table tbody td.highlight { background: #FBF3DF; font-weight: 600; }
  .compare-yes { color: var(--accent); font-weight: 700; }
  .compare-no { color: var(--stamp); }

  /* ══════════ NEW: Case studies ══════════ */
  .case-grid {
    max-width: 900px;
    margin: 0 auto 40px;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
  @media (max-width: 760px) { .case-grid { grid-template-columns: 1fr; } }
  .case-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 20px 18px;
    box-shadow: 0 2px 10px rgba(28,26,22,0.05);
  }
  .case-tag {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 8px;
  }
  .case-title { font-size: 13.5px; font-weight: 700; color: var(--navy); line-height: 1.3; }
  .case-desc { margin-top: 8px; font-size: 12px; color: var(--muted); line-height: 1.55; }
  .case-result {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed var(--border);
    font-size: 12.5px;
    font-weight: 700;
    color: var(--accent);
  }

  /* ══════════ NEW: Refund optimization split ══════════ */
  .refund-split {
    max-width: 900px;
    margin: 0 auto 40px;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: center;
  }
  @media (max-width: 700px) { .refund-split { grid-template-columns: 1fr; } }
  .refund-copy h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 22px;
    color: var(--navy);
    font-weight: 400;
    line-height: 1.25;
  }
  .refund-copy p { margin-top: 10px; font-size: 12.5px; color: var(--muted); line-height: 1.65; }
  .refund-list { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
  .refund-list-item { display: flex; gap: 8px; font-size: 12.5px; color: var(--ink); font-weight: 500; }
  .refund-list-item span:first-child { color: var(--accent); flex-shrink: 0; }
  .refund-visual {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 22px;
    text-align: center;
    box-shadow: 0 3px 14px rgba(28,26,22,0.06);
  }
  .refund-visual-num { font-family: 'DM Serif Display', serif; font-size: 34px; color: var(--accent); }
  .refund-visual-label { font-size: 11px; color: var(--muted); margin-top: 4px; }

  /* ══════════ NEW: Secure document portal preview ══════════ */
  .portal-grid {
    max-width: 900px;
    margin: 0 auto 40px;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
  @media (max-width: 760px) { .portal-grid { grid-template-columns: 1fr; } }
  .portal-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(28,26,22,0.05);
  }
  .portal-card-screen {
    background: linear-gradient(155deg, var(--navy) 0%, #0C1729 100%);
    padding: 22px 16px;
    text-align: center;
    color: var(--white);
  }
  .portal-card-icon { font-size: 26px; }
  .portal-card-body { padding: 14px 16px 18px; }
  .portal-card-title { font-size: 12.5px; font-weight: 700; color: var(--navy); }
  .portal-card-desc { font-size: 11.5px; color: var(--muted); margin-top: 4px; line-height: 1.5; }

  /* ══════════ NEW: Specialty topics grid ══════════ */
  .specialty-grid {
    max-width: 900px;
    margin: 0 auto 40px;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
  @media (max-width: 760px) { .specialty-grid { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 480px) { .specialty-grid { grid-template-columns: 1fr; } }
  .specialty-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 18px 16px;
    box-shadow: 0 2px 10px rgba(28,26,22,0.05);
    transition: transform 0.15s, box-shadow 0.15s;
  }
  .specialty-card:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(28,26,22,0.1); }
  .specialty-icon { font-size: 20px; margin-bottom: 8px; }
  .specialty-title { font-size: 13px; font-weight: 700; color: var(--navy); }
  .specialty-desc { font-size: 11.5px; color: var(--muted); margin-top: 6px; line-height: 1.5; }

  /* ══════════ NEW: Credentials / memberships strip ══════════ */
  .credentials-strip {
    max-width: 900px;
    margin: 0 auto 40px;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
  }
  .credential-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px 16px;
    font-size: 12px;
    font-weight: 600;
    color: var(--navy);
    box-shadow: 0 2px 8px rgba(28,26,22,0.05);
  }
  .credential-pill .num { font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--muted); font-weight: 500; margin-left: 2px; }

  /* ══════════ NEW: Footer legal links ══════════ */
  .footer-links {
    margin-top: 14px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px 16px;
  }
  .footer-link-btn {
    background: none;
    border: none;
    color: rgba(255,255,255,0.6);
    font-size: 11.5px;
    font-family: 'DM Sans', sans-serif;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
  }
  .footer-link-btn:hover { color: var(--gold-2); }

  /* ══════════ AI TAX NAVIGATOR ══════════ */
  .ai-nav-section{max-width:900px;margin:0 auto 44px;padding:0 20px}.ai-nav-card{background:linear-gradient(145deg,#16233F 0%,#0C1729 100%);border-radius:18px;padding:30px;color:#fff;box-shadow:0 12px 32px rgba(16,24,42,.22);overflow:hidden;position:relative}.ai-nav-card:after{content:'✦';position:absolute;right:22px;top:10px;font-size:90px;color:rgba(231,205,140,.07)}.ai-nav-badge{font-family:'JetBrains Mono',monospace;font-size:10px;letter-spacing:.12em;color:#E7CD8C;font-weight:700}.ai-nav-card h2{font-family:'DM Serif Display',serif;font-size:30px;font-weight:400;line-height:1.2;max-width:620px;margin-top:8px}.ai-nav-sub{color:rgba(255,255,255,.68);font-size:13px;line-height:1.6;max-width:650px;margin-top:9px}.ai-nav-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:20px;margin-top:22px}.ai-nav-points{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.ai-nav-points div{background:rgba(255,255,255,.06);border:1px solid rgba(231,205,140,.16);border-radius:10px;padding:12px}.ai-nav-points span{font-family:'JetBrains Mono',monospace;color:#E7CD8C;font-size:10px;display:block}.ai-nav-points b{font-size:12px;display:block;margin-top:5px}.ai-nav-points small{display:block;color:rgba(255,255,255,.52);font-size:10.5px;line-height:1.4;margin-top:3px}.ai-nav-start{margin-top:14px;border:0;border-radius:10px;padding:13px 18px;background:linear-gradient(135deg,#B8863B,#9C6E2B);color:#fff;font:600 13.5px 'DM Sans',sans-serif;cursor:pointer;box-shadow:0 5px 15px rgba(184,134,59,.3)}.ai-nav-note{margin-top:8px;color:rgba(255,255,255,.45);font-size:10.5px;line-height:1.5}.ai-nav-preview{background:#fff;color:#16233F;border-radius:12px;padding:18px;display:flex;gap:11px;align-items:flex-start}.ai-preview-icon{width:34px;height:34px;border-radius:50%;background:#FBF3DF;color:#B8863B;display:grid;place-items:center;flex-shrink:0}.ai-nav-preview b{font-size:12px}.ai-nav-preview p{font-size:12px;line-height:1.55;margin:5px 0;color:#86795F}.ai-nav-preview strong{font-size:11px;line-height:1.5;display:block;color:#2F6B4F}.ai-modal-overlay{display:none;position:fixed;inset:0;background:rgba(14,26,43,.65);z-index:200;align-items:center;justify-content:center;padding:16px}.ai-modal-overlay.open{display:flex}.ai-modal{background:#fff;width:min(720px,100%);max-height:90vh;overflow:hidden;border-radius:16px;box-shadow:0 24px 70px rgba(0,0,0,.3)}.ai-modal-head{background:linear-gradient(135deg,#16233F,#0C1729);color:#fff;padding:18px 20px;display:flex;justify-content:space-between;gap:15px}.ai-modal-eyebrow{font:700 9.5px 'JetBrains Mono',monospace;letter-spacing:.12em;color:#E7CD8C}.ai-modal-head h3{font:400 22px 'DM Serif Display',serif;margin-top:4px}.ai-modal-close{border:0;background:rgba(255,255,255,.1);color:#fff;width:30px;height:30px;border-radius:50%;cursor:pointer}.ai-progress{height:4px;background:#E6DCC4}.ai-progress div{height:100%;width:0;background:#B8863B;transition:width .25s}.ai-modal-body{padding:22px;overflow:auto;max-height:calc(90vh - 95px)}.ai-q-kicker{font:700 10px 'JetBrains Mono',monospace;color:#B8863B;letter-spacing:.1em;text-transform:uppercase}.ai-q-title{font:400 25px 'DM Serif Display',serif;color:#16233F;margin:7px 0}.ai-q-help{font-size:12px;color:#86795F;line-height:1.5;margin-bottom:16px}.ai-options{display:grid;grid-template-columns:1fr 1fr;gap:10px}.ai-option{border:1px solid #E6DCC4;background:#fff;border-radius:10px;padding:13px;text-align:left;cursor:pointer;font:600 12.5px 'DM Sans',sans-serif;color:#16233F}.ai-option:hover{border-color:#B8863B;background:#FBF3DF}.ai-option.selected{border-color:#16233F;background:#EEF4EF;box-shadow:inset 3px 0 #2F6B4F}.ai-checks{display:grid;grid-template-columns:1fr 1fr;gap:8px}.ai-check{display:flex;gap:8px;align-items:flex-start;border:1px solid #E6DCC4;border-radius:9px;padding:10px;font-size:12px;color:#1C1A16;cursor:pointer}.ai-check input{margin-top:2px}.ai-free{width:100%;min-height:95px;border:1px solid #E6DCC4;border-radius:10px;padding:12px;font:13px 'DM Sans',sans-serif;resize:vertical}.ai-modal-actions{display:flex;justify-content:space-between;gap:10px;margin-top:20px}.ai-back,.ai-next{border-radius:9px;padding:11px 16px;font:600 12.5px 'DM Sans',sans-serif;cursor:pointer}.ai-back{background:#fff;border:1px solid #E6DCC4;color:#16233F}.ai-next{border:0;background:#16233F;color:#fff}.ai-result{margin-top:8px}.ai-result-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.ai-result-card{border:1px solid #E6DCC4;border-radius:11px;padding:14px}.ai-result-card h4{font-size:12px;color:#16233F;margin-bottom:7px}.ai-result-card p,.ai-result-card li{font-size:12px;line-height:1.55;color:#86795F}.ai-result-card ul{padding-left:18px}.ai-flag{border-left:3px solid #8E3B3B;background:#F8E9EA;padding:9px 10px;margin-top:7px;border-radius:5px;font-size:11.5px;line-height:1.45;color:#6d3030}.ai-success{background:#EEF4EF;border:1px solid #D3E5D9;color:#2E5A40;border-radius:9px;padding:11px;font-size:12px;line-height:1.5;margin-bottom:12px}.ai-result-cta{display:flex;gap:9px;flex-wrap:wrap;margin-top:14px}.ai-result-cta a{display:inline-flex;text-decoration:none;border-radius:9px;padding:11px 14px;font:600 12px 'DM Sans',sans-serif}.ai-result-cta .primary{background:#B8863B;color:#fff}.ai-result-cta .secondary{border:1px solid #16233F;color:#16233F}@media(max-width:650px){.ai-nav-grid{grid-template-columns:1fr}.ai-nav-points{grid-template-columns:1fr}.ai-options,.ai-checks,.ai-result-grid{grid-template-columns:1fr}.ai-nav-card{padding:23px}.ai-modal-body{padding:18px}}


/* ============ Header WhatsApp link ============ */

.header-contact .header-wa-link {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: opacity .2s ease, color .2s ease;
}
.header-contact .header-wa-link:hover {
  opacity: .85;
  color: #d8b36a;
  text-decoration: underline;
  text-underline-offset: 3px;
}


/* ============ Deadline marquee banner ============ */

.urgency-banner {
  position: relative;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
  white-space: nowrap;
}
.urgency-marquee-track {
  display: flex;
  width: max-content;
  align-items: center;
  animation: taxAceDeadlineMarquee 32s linear infinite;
  will-change: transform;
}
.urgency-marquee-track span {
  flex: 0 0 auto;
  display: inline-block;
  padding-right: 180px; /* space before the next copy starts */
}
@keyframes taxAceDeadlineMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.urgency-banner:hover .urgency-marquee-track {
  animation-play-state: paused;
}
@media (prefers-reduced-motion: reduce) {
  .urgency-marquee-track {
    animation: none;
    width: 100%;
    justify-content: center;
    white-space: normal;
  }
  .urgency-marquee-track span {
    display: none;
  }
  .urgency-marquee-track span:first-child {
    display: block;
    padding-right: 0;
    text-align: center;
  }
}


/* ============ Real logo mark ============ */

.site-brand-logo{
  display:flex;
  align-items:center;
  justify-content:center;
  width:58px;
  height:58px;
  flex:0 0 58px;
  overflow:hidden;
  text-decoration:none;
  border-radius:10px;
  background:#fff;
}
.site-brand-logo img{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
}
.header .site-brand-logo{margin-right:10px}
@media(max-width:760px){
  .site-brand-logo{width:48px;height:48px;flex-basis:48px}
}


/* ============ Landing page (index.html) patches ============ */

.light-subnav{justify-content:center}
.light-subnav .subnav-link{text-decoration:none}
.light-service-grid{grid-template-columns:repeat(3,1fr)!important;max-width:1100px!important}
.itin-card{border-color:#e3d3aa}
.itin-card .picker-card-btn{display:block;text-align:center;text-decoration:none}
.light-proof-section{max-width:1000px;margin:36px auto 48px;padding:0 20px}
.light-proof-head{text-align:center;max-width:650px;margin:0 auto 22px}
.light-proof-head h2{font-family:'DM Serif Display',serif;font-size:28px;color:var(--navy);font-weight:400;line-height:1.2}
.light-proof-head p{margin-top:9px;font-size:13px;color:var(--muted);line-height:1.6}
.light-proof-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:14px}
.light-proof-grid>div{background:var(--navy);border-radius:12px;padding:18px;text-align:center;color:#fff}
.light-proof-grid strong{display:block;font-family:'DM Serif Display',serif;font-size:28px;color:var(--gold-2)}
.light-proof-grid span{display:block;margin-top:5px;font-size:10.5px;color:rgba(255,255,255,.65)}
.light-benefits{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.light-benefits>div{background:#fff;border:1px solid var(--border);border-radius:12px;padding:15px}
.light-benefits b{display:block;font-size:12.5px;color:var(--navy)}
.light-benefits small{display:block;margin-top:5px;font-size:11.5px;line-height:1.5;color:var(--muted)}
.light-info-cta{margin-top:18px;border:1px solid var(--border);border-radius:14px;background:#fff;padding:17px 18px;display:flex;align-items:center;justify-content:space-between;gap:15px}
.light-info-cta b{display:block;color:var(--navy);font-size:13px}.light-info-cta span{display:block;color:var(--muted);font-size:11.5px;margin-top:4px}
.light-info-cta a{flex-shrink:0;background:var(--navy);color:#fff;text-decoration:none;padding:10px 15px;border-radius:9px;font-size:12px;font-weight:700}
@media(max-width:760px){.light-service-grid{grid-template-columns:1fr!important}.light-proof-grid,.light-benefits{grid-template-columns:1fr}.light-info-cta{flex-direction:column;align-items:flex-start}.light-info-cta a{width:100%;text-align:center}}

.subnav.light-subnav {
  position: sticky !important;
  top: 0 !important;
  z-index: 99999 !important;
  pointer-events: auto !important;
}
.subnav.light-subnav .subnav-link {
  position: relative;
  z-index: 100000;
  pointer-events: auto !important;
  cursor: pointer;
}
html { scroll-behavior: smooth; }

.itin-card .picker-card-formtag{font-weight:800}
.itin-card .picker-chip-row{margin-top:10px}
.ai-result-card ul{margin:8px 0 0 18px}.ai-result-card li{margin:4px 0}
#screen-landing>.section-block:empty{display:none!important}

.taxacepro-ai-float{
  position:fixed;
  right:24px;
  bottom:24px;
  z-index:100000;
  min-width:286px;
  padding:14px 24px 15px;
  border-radius:40px;
  background:linear-gradient(135deg,#c79238 0%,#b47d25 100%);
  color:#fff;
  text-align:center;
  cursor:pointer;
  box-shadow:0 12px 30px rgba(30,25,18,.22),0 3px 8px rgba(30,25,18,.14);
  border:1px solid rgba(255,255,255,.18);
  transition:transform .18s ease,box-shadow .18s ease;
  font-family:inherit;
}
.taxacepro-ai-float:hover{
  transform:translateY(-2px);
  box-shadow:0 16px 34px rgba(30,25,18,.27),0 4px 10px rgba(30,25,18,.16);
}
.taxacepro-ai-float:focus-visible{
  outline:3px solid rgba(255,255,255,.9);
  outline-offset:3px;
}
.taxacepro-ai-float-title{
  font-size:17px;
  line-height:1.1;
  font-weight:800;
  letter-spacing:.01em;
}
.taxacepro-ai-float-subtitle{
  margin-top:3px;
  font-size:14px;
  line-height:1.15;
  font-weight:700;
}
@media(max-width:600px){
  .taxacepro-ai-float{
    right:14px;
    left:14px;
    bottom:14px;
    min-width:0;
    padding:12px 18px 13px;
  }
  .taxacepro-ai-float-title{font-size:15px}
  .taxacepro-ai-float-subtitle{font-size:12.5px}
}


/* ============ Tax Information page patches ============ */

.info-page{display:block!important;opacity:1!important;transform:none!important}
.info-hero{max-width:950px;margin:0 auto;padding:54px 20px 30px;text-align:center}
.info-hero h1{font-family:'DM Serif Display',serif;font-weight:400;color:var(--navy);font-size:clamp(32px,5vw,48px);line-height:1.15}
.info-hero p{max-width:680px;margin:13px auto 0;color:var(--muted);font-size:14px;line-height:1.7}
.info-quick-links{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin-top:20px}
.info-quick-links a{background:#fff;border:1px solid var(--border);color:var(--navy);text-decoration:none;border-radius:20px;padding:8px 13px;font-size:11.5px;font-weight:700}
.info-feature{max-width:950px;margin:0 auto 46px;padding:0 20px}
.info-feature-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:16px}
.info-feature-card{background:#fff;border:1px solid var(--border);border-radius:15px;padding:24px;box-shadow:0 3px 14px rgba(28,26,22,.05)}
.info-feature-card h3{font-family:'DM Serif Display',serif;color:var(--navy);font-weight:400;font-size:24px;line-height:1.25}
.info-feature-card p{margin-top:9px;font-size:12.5px;color:var(--muted);line-height:1.65}
.info-feature-card ul{margin:15px 0 0;padding-left:18px;color:var(--ink);font-size:12px;line-height:1.8}
.big-icon{font-size:28px;margin-bottom:10px}.muted-card{background:#f8f3e7}
.info-warning{margin-top:16px;background:#fbf3df;border:1px solid #ead8a8;color:#755822;border-radius:10px;padding:12px;font-size:11.5px;line-height:1.55}
.info-primary-btn{display:inline-block;margin-top:18px;background:var(--gold);color:#fff;text-decoration:none;border-radius:9px;padding:11px 16px;font-size:12px;font-weight:700}
.service-detail-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.service-detail-grid>div{background:#fff;border:1px solid var(--border);border-radius:13px;padding:16px}
.service-detail-grid b{display:block;color:var(--navy);font-size:13px}.service-detail-grid span{display:block;margin-top:6px;color:var(--muted);font-size:11.5px;line-height:1.55}
.info-page .section-block{margin-bottom:22px}.info-page .stats-grid,.info-page .timeline,.info-page .testimonial-wrap,.info-page .compare-wrap,.info-page .case-grid,.info-page .refund-split,.info-page .portal-grid,.info-page .specialty-grid,.info-page .credentials-strip{margin-bottom:46px}
.info-page .section-head{margin-bottom:20px}
.info-page .faq-list{max-width:950px;margin:0 auto 46px;padding:0 20px}
.info-page .faq-item{box-shadow:none}
.info-page .footer-pro{margin-top:10px}
@media(max-width:760px){.info-feature-grid,.service-detail-grid{grid-template-columns:1fr}.info-hero{padding-top:38px}}

.info-page .subnav {
  position: sticky !important;
  top: 0 !important;
  z-index: 99999 !important;
  pointer-events: auto !important;
}
.info-page .subnav-link {
  position: relative;
  z-index: 100000;
  pointer-events: auto !important;
  cursor: pointer;
}
html { scroll-behavior: smooth; }

.info-hero{padding-bottom:24px}
.info-feature{margin-bottom:34px}
.info-page .section-block{margin-bottom:18px}
.info-page .stats-grid,.info-page .timeline,.info-page .testimonial-wrap,.info-page .compare-wrap,.info-page .case-grid,.info-page .refund-split,.info-page .portal-grid,.info-page .specialty-grid,.info-page .credentials-strip{margin-bottom:30px}
.itin-lead{max-width:820px;margin:0 auto 18px;color:var(--muted);font-size:13px;line-height:1.7;text-align:center}
.itin-fee-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:14px}
.itin-fee-card{background:#fff;border:1px solid var(--border);border-radius:14px;padding:17px;box-shadow:0 3px 14px rgba(28,26,22,.04)}
.itin-fee-label{font-size:11px;font-weight:800;color:var(--navy);text-transform:uppercase;letter-spacing:.05em}.itin-fee{font-family:'DM Serif Display',serif;font-size:30px;color:var(--gold);margin-top:5px}.itin-fee span{font-family:inherit;font-size:11px;color:var(--muted)}.itin-fee-card small{display:block;margin-top:5px;color:var(--muted);font-size:11px;line-height:1.5}
.itin-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.itin-steps{display:grid;gap:9px;margin-top:12px}.itin-steps>div{padding:10px 11px;background:#f8f3e7;border-radius:9px}.itin-steps b{display:block;color:var(--navy);font-size:11.5px}.itin-steps span{display:block;color:var(--muted);font-size:11px;line-height:1.45;margin-top:3px}
.itin-cta-row{margin-top:14px;padding:15px 17px;border-radius:13px;background:var(--navy);color:#fff;display:flex;align-items:center;justify-content:space-between;gap:15px}.itin-cta-row b{display:block;font-size:13px}.itin-cta-row span{display:block;color:rgba(255,255,255,.65);font-size:11px;margin-top:4px}.itin-cta-row .info-primary-btn{margin-top:0;flex-shrink:0}.itin-source-note{text-align:center;color:#8b8170;font-size:10px;margin:10px 0 0}
@media(max-width:760px){.itin-fee-grid,.itin-detail-grid{grid-template-columns:1fr}.itin-cta-row{flex-direction:column;align-items:flex-start}.itin-cta-row .info-primary-btn{width:100%;text-align:center}}

.info-page .section-block{margin-top:20px;margin-bottom:26px}.info-page .section-head{margin-bottom:14px}
.info-page .faq-list{margin-top:0}.info-page .faq-answer{font-size:12px;line-height:1.6;color:var(--muted);padding:0 15px 14px}
.ai-info-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.ai-info-grid>div{background:#fff;border:1px solid var(--border);border-radius:13px;padding:16px}.ai-info-grid span{display:block;font-size:11px;color:var(--gold);font-weight:800}.ai-info-grid b{display:block;margin-top:5px;color:var(--navy);font-size:13px}.ai-info-grid p{margin-top:5px;color:var(--muted);font-size:11px;line-height:1.5}
@media(max-width:760px){.ai-info-grid{grid-template-columns:1fr 1fr}}@media(max-width:480px){.ai-info-grid{grid-template-columns:1fr}}

/* ============================================================
   NEW: Global site navigation (shared across all pages)
   ============================================================ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.site-nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.site-brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.site-brand-wordmark {
  font-family: 'DM Serif Display', serif;
  font-size: 17px;
  color: var(--navy);
  line-height: 1.15;
}
.site-brand-wordmark small {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  width: 40px;
  height: 38px;
  font-size: 18px;
  color: var(--navy);
  cursor: pointer;
}
.site-nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
.site-nav-links a {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  padding: 7px 10px;
  border-radius: 8px;
  white-space: nowrap;
  transition: background 0.15s;
}
.site-nav-links a:hover { background: var(--paper); }
.site-nav-cta {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.nav-cta-primary, .nav-cta-secondary {
  font-size: 12px;
  font-weight: 700;
  padding: 9px 14px;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
}
.nav-cta-primary {
  background: linear-gradient(135deg, var(--gold) 0%, #9C6E2B 100%);
  color: var(--white);
}
.nav-cta-secondary {
  border: 1.5px solid var(--navy);
  color: var(--navy);
}
@media (max-width: 980px) {
  .site-nav-inner { flex-wrap: wrap; }
  .nav-toggle { display: block; order: 2; }
  .site-nav-links {
    order: 4;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .site-nav-links.open { max-height: 400px; padding-top: 8px; }
  .site-nav-links a { padding: 10px 8px; border-bottom: 1px solid var(--border); }
  .site-nav-cta { order: 3; margin-left: 0; }
  .nav-cta-secondary { display: none; }
}

/* ============================================================
   NEW: Wide SEO content sections (site-wide, wider than the
   620px calculator shell used by the pricing tools)
   ============================================================ */
.wide-section {
  max-width: 1100px;
  margin: 0 auto 44px;
  padding: 0 20px;
}
.wide-section-head { max-width: 720px; margin: 0 auto 22px; text-align: center; }
.wide-section-head .section-eyebrow { margin-bottom: 8px; }
.wide-section-head p { margin-top: 10px; font-size: 13.5px; color: var(--muted); line-height: 1.65; }

.seo-teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 860px) { .seo-teaser-grid { grid-template-columns: 1fr; } }
.seo-teaser-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px 22px;
  box-shadow: 0 2px 10px rgba(28,26,22,0.05);
  display: flex;
  flex-direction: column;
}
.seo-teaser-icon { font-size: 24px; margin-bottom: 12px; }
.seo-teaser-title { font-family: 'DM Serif Display', serif; font-size: 18px; color: var(--navy); line-height: 1.25; }
.seo-teaser-desc { margin-top: 8px; font-size: 12.5px; color: var(--muted); line-height: 1.6; flex: 1; }
.seo-teaser-link {
  margin-top: 14px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--gold);
  text-decoration: none;
}
.seo-teaser-link:hover { text-decoration: underline; }

.problem-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.problem-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 13px 16px;
  font-size: 13px;
  color: var(--ink);
  display: flex;
  gap: 10px;
}
.problem-item span:first-child { flex-shrink: 0; }

.about-copy {
  max-width: 720px;
  margin: 0 auto;
}
.about-copy p { font-size: 13px; color: var(--muted); line-height: 1.7; margin-bottom: 12px; }
.about-copy strong { color: var(--navy); }

.contact-grid {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
@media (max-width: 640px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }
.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 12px;
  text-align: center;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}
.contact-card:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(28,26,22,0.08); }
.contact-card-icon { font-size: 20px; }
.contact-card-title { margin-top: 6px; font-size: 12px; font-weight: 700; color: var(--navy); }
.contact-card-desc { margin-top: 2px; font-size: 11px; color: var(--muted); }

.cta-note { margin-top: 14px; font-size: 11px; color: rgba(255,255,255,0.55); position: relative; z-index: 1; }

/* ============================================================
   NEW: SEO article/service page layout
   ============================================================ */
.article-hero {
  background: linear-gradient(155deg, var(--navy) 0%, #0C1729 100%);
  color: var(--white);
  padding: 44px 20px 40px;
  text-align: center;
}
.article-hero .section-eyebrow { color: var(--gold-2); }
.article-hero h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(26px, 4.5vw, 40px);
  font-weight: 400;
  line-height: 1.2;
  margin-top: 10px;
}
.article-hero p {
  margin-top: 12px;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}
.article-breadcrumb {
  max-width: 1100px;
  margin: 16px auto 0;
  padding: 0 20px;
  font-size: 11.5px;
  color: var(--muted);
}
.article-breadcrumb a { color: var(--muted); text-decoration: none; }
.article-breadcrumb a:hover { text-decoration: underline; }
.article-body {
  max-width: 760px;
  margin: 0 auto 44px;
  padding: 0 20px;
}
.article-body h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  color: var(--navy);
  font-weight: 400;
  margin: 34px 0 12px;
}
.article-body h2:first-child { margin-top: 0; }
.article-body h3 {
  font-size: 15px;
  color: var(--navy);
  font-weight: 700;
  margin: 20px 0 8px;
}
.article-body p { font-size: 13.5px; color: var(--ink); line-height: 1.75; margin-bottom: 12px; }
.article-body ul, .article-body ol { margin: 0 0 14px 20px; }
.article-body li { font-size: 13.5px; color: var(--ink); line-height: 1.7; margin-bottom: 6px; }
.article-body strong { color: var(--navy); }
.article-note {
  background: #FBF3DF;
  border: 1px solid #E9D9AE;
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 12.5px;
  color: #7A5A22;
  line-height: 1.6;
  margin: 16px 0;
}
.article-note strong { color: var(--navy); }
.article-table-wrap { overflow-x: auto; margin: 16px 0; }
.article-table { width: 100%; min-width: 480px; border-collapse: collapse; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.article-table th, .article-table td { padding: 10px 12px; font-size: 12.5px; text-align: left; border-bottom: 1px solid var(--border); }
.article-table thead th { background: var(--ink); color: var(--white); font-size: 11px; text-transform: uppercase; }
.article-cta-box {
  background: linear-gradient(155deg, var(--navy) 0%, #0C1729 100%);
  border-radius: 14px;
  padding: 26px 24px;
  text-align: center;
  margin: 28px 0;
}
.article-cta-box h3 { color: var(--white); font-family: 'DM Serif Display', serif; font-size: 19px; font-weight: 400; margin: 0 0 8px; }
.article-cta-box p { color: rgba(255,255,255,0.65); font-size: 12.5px; margin-bottom: 16px; }
.article-cta-buttons { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.related-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 20px; }
.related-links a {
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 7px 14px;
  text-decoration: none;
}
.related-links a:hover { border-color: var(--gold); }
.disclaimer-box {
  background: var(--paper);
  border: 1px dashed var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.6;
  margin: 20px 0;
}

/* ============================================================
   NEW: Resources hub cards
   ============================================================ */
.resource-cat { margin-bottom: 32px; }
.resource-cat-title { font-size: 13px; font-weight: 700; color: var(--navy); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 10px; }
.resource-links { display: flex; flex-direction: column; gap: 8px; }
.resource-links a {
  display: block;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
}
.resource-links a:hover { border-color: var(--gold); }

/* ============================================================
   NEW: Compliance Assessment form (1120 + 5472 package page)
   ============================================================ */
.assessment-form {
  max-width: 760px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
}
.af-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 640px) { .af-grid { grid-template-columns: 1fr; } }
.af-full { grid-column: 1 / -1; }
.assessment-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
}
.assessment-form input,
.assessment-form select,
.assessment-form textarea {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  padding: 10px 12px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  color: var(--ink);
  background: var(--paper);
}
.assessment-form input:focus,
.assessment-form select:focus,
.assessment-form textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}
.af-submit { margin-top: 18px; width: 100%; }

/* ============================================================
   FIX: Floating AI Navigator chip had zero CSS anywhere and was
   rendering as unstyled plain text. This gives it an actual
   compact, low-footprint floating pill — the sole entry point
   to the AI Navigator now that the big card section is gone.
   ============================================================ */
.taxacepro-ai-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 150;
  max-width: 230px;
  background: linear-gradient(135deg, var(--navy) 0%, #0C1729 100%);
  color: var(--white);
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: 0 8px 22px rgba(22,35,63,0.28);
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}
.taxacepro-ai-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(22,35,63,0.36);
}
.taxacepro-ai-float:focus-visible {
  outline: 2.5px solid var(--gold);
  outline-offset: 2px;
}
.taxacepro-ai-float-title {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--gold-2);
  line-height: 1.3;
}
.taxacepro-ai-float-subtitle {
  margin-top: 2px;
  font-size: 10.5px;
  color: rgba(255,255,255,0.65);
  line-height: 1.3;
}
@media (max-width: 560px) {
  .taxacepro-ai-float { right: 12px; bottom: 12px; max-width: 190px; padding: 10px 13px; }
}
