/* Tariff Refund Desk — site-wide styles */
/* Trustworthy fintech look: light background, navy ink, one amber accent. */

:root {
  --ink: #14213d;
  --ink-soft: #3d4a63;
  --muted: #64748b;
  --bg: #f8fafc;
  --card: #ffffff;
  --line: #e2e8f0;
  --accent: #b45309;
  --accent-dark: #92400e;
  --accent-soft: #fef3e2;
  --green: #15803d;
  --radius: 10px;
  --shadow: 0 1px 3px rgba(20, 33, 61, .08), 0 8px 24px rgba(20, 33, 61, .06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 680px; }

h1 { font-size: 2.5rem; line-height: 1.15; margin: 0 0 18px; letter-spacing: -0.02em; }
h2 { font-size: 1.7rem; margin: 0 0 10px; letter-spacing: -0.01em; }
h3 { font-size: 1.05rem; margin: 0 0 8px; }
p { margin: 0 0 14px; }
a { color: var(--accent-dark); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; }
.brand { font-weight: 800; font-size: 1.05rem; letter-spacing: -0.01em; color: var(--ink); text-decoration: none; }
.header-nav { display: flex; align-items: center; gap: 20px; }
.header-nav a { color: var(--ink-soft); text-decoration: none; font-size: .92rem; }
.header-nav a:hover { color: var(--ink); }
.header-cta {
  background: var(--ink); color: #fff !important;
  padding: 8px 16px; border-radius: 8px; font-weight: 600;
}
.header-cta:hover { background: var(--accent-dark); }

/* Trust strip above hero */
.trust-strip {
  background: var(--ink); color: #cbd5e1;
  font-size: .82rem; text-align: center; padding: 8px 16px;
}
.trust-strip strong { color: #fbbf24; font-weight: 700; }

/* Hero with inline checker */
.hero {
  background: linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
  padding: 56px 0 44px;
  border-bottom: 1px solid var(--line);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: start; }
.eyebrow {
  text-transform: uppercase; letter-spacing: .08em; font-size: .78rem;
  font-weight: 700; color: var(--accent); margin-bottom: 14px;
}
.subhead { font-size: 1.12rem; color: var(--ink-soft); }
.hero-points { list-style: none; padding: 0; margin: 18px 0 0; }
.hero-points li { position: relative; padding-left: 26px; margin-bottom: 8px; color: var(--ink-soft); font-size: .95rem; }
.hero-points li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }

/* Checker card (hero + section variants) */
.checker-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow);
}
.checker-card h2, .checker-card h3 { margin-bottom: 4px; }
.checker-meta {
  display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0 18px;
}
.chip {
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  background: var(--accent-soft); color: var(--accent-dark);
  padding: 4px 10px; border-radius: 20px;
}

.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
.field input[type="number"],
.field input[type="email"],
.field input[type="text"],
.field select {
  width: 100%; padding: 11px 12px; font-size: 1rem;
  border: 1px solid var(--line); border-radius: 8px;
  background: #fff; color: var(--ink);
}
.field input:focus, .field select:focus {
  outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent);
}
.field input.invalid, .field select.invalid { border-color: #dc2626; }
.helper { font-size: .82rem; color: var(--muted); margin: 6px 0 0; }
.field-error { font-size: .82rem; color: #dc2626; margin: 6px 0 0; }
.field-checkbox label { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.field-checkbox input { width: 18px; height: 18px; }
.form-error {
  margin: 14px 0 0; padding: 12px 14px;
  background: #fef2f2; border: 1px solid #fecaca; border-radius: 8px;
  color: #b91c1c; font-size: .9rem;
}
.privacy-note { font-size: .82rem; color: var(--muted); margin-top: 12px; }

/* Buttons */
.btn {
  display: inline-block; border: 0; cursor: pointer;
  font-size: 1rem; font-weight: 700; text-decoration: none;
  border-radius: 8px; padding: 13px 24px;
  transition: background .15s ease;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-primary:disabled { opacity: .6; cursor: wait; }
.btn-lg { padding: 15px 30px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn .spinner {
  display: inline-block; width: 16px; height: 16px; margin-left: 8px;
  border: 2px solid rgba(255, 255, 255, .4); border-top-color: #fff;
  border-radius: 50%; vertical-align: -3px;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.pain-chips-label { font-size: .82rem; font-weight: 700; color: var(--muted); margin: 22px 0 8px; }
.pain-chips { display: flex; flex-wrap: wrap; gap: 8px; max-width: 620px; }
.pain-chips span {
  font-size: .8rem; font-weight: 600; color: var(--accent-dark);
  background: var(--accent-soft); border: 1px solid #f3e0bd;
  padding: 6px 12px; border-radius: 20px;
}

/* Stat bar */
.stat-bar {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin-top: 36px; padding: 22px 26px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.stat { display: flex; flex-direction: column; }
.stat-num { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; }
.stat-label { font-size: .82rem; color: var(--muted); }
.stat-source { grid-column: 1 / -1; font-size: .75rem; color: var(--muted); margin-top: 2px; }

/* Sections */
section { padding: 56px 0; }
.section-sub { color: var(--muted); margin-bottom: 24px; }
.section-link { font-weight: 600; font-size: .95rem; }
.alt-bg { background: #fff; border-bottom: 1px solid var(--line); }

/* News / updates */
.news-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 22px; }
.news-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow);
}
.news-date {
  font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
  color: var(--accent); margin-bottom: 6px;
}
.news-card h3 { font-size: .98rem; margin-bottom: 6px; }
.news-card p { font-size: .9rem; color: var(--ink-soft); margin: 0; }
.updated-stamp { font-size: .8rem; color: var(--muted); margin-top: 16px; }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 24px; }
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow);
}
.card p { color: var(--ink-soft); font-size: .95rem; margin: 0; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 24px; }
.step {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px 22px 20px; box-shadow: var(--shadow);
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--ink); color: #fff; font-weight: 700;
  margin-bottom: 12px;
}
.step p { color: var(--ink-soft); font-size: .95rem; margin: 0; }

/* Comparison table */
.compare-wrap { overflow-x: auto; margin-top: 22px; }
.compare {
  width: 100%; border-collapse: collapse; background: var(--card);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  font-size: .92rem; min-width: 640px;
}
.compare th, .compare td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.compare thead th { background: var(--ink); color: #fff; font-size: .85rem; }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare td:first-child { font-weight: 600; }
.compare .us-col { background: var(--accent-soft); font-weight: 600; }
.compare thead .us-col { background: var(--accent-dark); }

/* Pain quotes */
.pain-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 24px; }
.pain-card {
  margin: 0; padding: 22px; background: var(--card);
  border: 1px solid var(--line); border-left: 4px solid var(--accent);
  border-radius: var(--radius); font-style: italic; color: var(--ink-soft);
  box-shadow: var(--shadow);
}

/* Wizard */
.wizard-progress {
  height: 6px; background: var(--line); border-radius: 6px;
  overflow: hidden; margin: 18px 0 8px;
}
.wizard-bar {
  height: 100%; width: 25%; background: var(--accent);
  border-radius: 6px; transition: width .3s ease;
}
.wizard-step-label {
  font-size: .78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .05em; color: var(--muted); margin: 0 0 14px;
}
.wizard-step[hidden] { display: none; }
.wizard-note {
  font-size: .85rem; color: var(--ink-soft);
  background: var(--bg); border: 1px solid var(--line);
  border-radius: 8px; padding: 10px 14px; margin: 0 0 16px;
}
.wizard-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.wizard-nav .btn { flex: 1; }
.btn-ghost {
  background: none; border: 0; color: var(--muted); font-size: .92rem;
  font-weight: 600; cursor: pointer; padding: 13px 8px; white-space: nowrap;
}
.btn-ghost:hover { color: var(--ink); }

/* Refund score badge */
.score-badge {
  display: inline-block; font-size: .85rem; font-weight: 800;
  padding: 7px 16px; border-radius: 20px; margin: 0 0 14px;
}
.score-badge[hidden] { display: none; }
.score-go { background: #dcfce7; color: #166534; }
.score-tight { background: #fef9c3; color: #854d0e; }
.score-warn { background: #fee2e2; color: #991b1b; }
.methodology {
  font-size: .82rem; color: var(--muted); margin: -6px 0 16px;
}

/* Teaser / gate / report */
.teaser { background: var(--accent-soft); border-top: 1px solid #f3e0bd; border-bottom: 1px solid #f3e0bd; }
.refund-range {
  font-size: 2.2rem; font-weight: 800; letter-spacing: -0.02em;
  color: var(--accent-dark); margin: 8px 0 14px;
}
.teaser-findings { font-size: 1.05rem; font-weight: 600; }
.teaser-list { list-style: none; padding: 0; margin: 18px 0 0; }
.teaser-list li {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255, 255, 255, .7); border: 1px solid #f0e2c8;
  border-radius: 8px; padding: 12px 14px; margin-bottom: 10px;
}
.finding-type {
  flex-shrink: 0; font-size: .75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .05em; background: var(--ink); color: #fff;
  padding: 4px 10px; border-radius: 20px;
}
.finding-title { filter: blur(5px); user-select: none; color: var(--ink-soft); }
.teaser-cta-note { margin-top: 16px; font-weight: 600; }

.gate { background: #fff; }
.gate form {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow);
}

.report { background: var(--accent-soft); border-top: 1px solid #f3e0bd; }
.finding-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px; margin-bottom: 14px; box-shadow: var(--shadow);
}
.finding-badge {
  display: inline-block; font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .05em;
  background: var(--ink); color: #fff; padding: 4px 10px;
  border-radius: 20px; margin-bottom: 10px;
}
.finding-card h3 { margin-bottom: 6px; }
.finding-card p { color: var(--ink-soft); font-size: .95rem; margin: 0; }
.disclaimer { font-size: .85rem; color: var(--muted); margin-top: 18px; }
.next-steps {
  margin-top: 24px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow);
}
.next-steps p { color: var(--ink-soft); margin: 0; }

/* Qualify lists */
.qualify-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 24px; }
.qualify-col {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow);
}
.check-list, .x-list { list-style: none; padding: 0; margin: 14px 0 0; }
.check-list li, .x-list li { position: relative; padding-left: 28px; margin-bottom: 12px; color: var(--ink-soft); font-size: .95rem; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }
.x-list li::before { content: "⚠"; position: absolute; left: 0; color: var(--accent); }

/* FAQ */
.faq-list details {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px 20px; margin-bottom: 12px;
  box-shadow: var(--shadow);
}
.faq-list summary { font-weight: 700; cursor: pointer; }
.faq-list details p { color: var(--ink-soft); margin: 12px 0 0; font-size: .95rem; }

/* Urgency band */
.urgency { text-align: center; }
.urgency p { color: var(--ink-soft); max-width: 640px; margin: 0 auto 24px; }

/* Article pages (guides) */
.article { max-width: 720px; margin: 0 auto; }
.article h1 { font-size: 2.1rem; }
.article h2 { font-size: 1.3rem; margin-top: 34px; }
.article h3 { font-size: 1.05rem; margin-top: 22px; }
.article p, .article li { color: var(--ink-soft); font-size: 1rem; }
.article ul, .article ol { padding-left: 22px; }
.article li { margin-bottom: 8px; }
.article-meta { font-size: .82rem; color: var(--muted); margin-bottom: 26px; }
.callout {
  background: var(--accent-soft); border: 1px solid #f3e0bd;
  border-radius: var(--radius); padding: 16px 20px; margin: 20px 0;
  font-size: .95rem; color: var(--ink-soft);
}
.callout strong { color: var(--accent-dark); }
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 24px; }
.guide-card {
  display: block; text-decoration: none; color: var(--ink);
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow);
}
.guide-card:hover { border-color: var(--accent); }
.guide-card p { color: var(--ink-soft); font-size: .92rem; margin: 8px 0 0; }
.guide-tag {
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  color: var(--accent);
}

/* Breadcrumb */
.breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--muted); }

/* SSO buttons */
.sso-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 6px; }
.sso-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  padding: 12px 14px; font-size: .95rem; font-weight: 600; color: var(--ink);
  cursor: pointer; box-shadow: var(--shadow); transition: border-color .15s ease;
}
.sso-btn:hover { border-color: var(--accent); }
.sso-btn.selected { border-color: var(--accent); outline: 2px solid var(--accent); }
.sso-status {
  margin: 12px 0 0; padding: 10px 14px; font-size: .9rem; font-weight: 600;
  background: var(--accent-soft); border: 1px solid #f3e0bd; border-radius: 8px;
  color: var(--accent-dark);
}
.sso-divider {
  display: flex; align-items: center; gap: 12px; margin: 18px 0;
  color: var(--muted); font-size: .82rem;
}
.sso-divider::before, .sso-divider::after {
  content: ""; flex: 1; height: 1px; background: var(--line);
}

/* Dashboard preview (limited "client portal") */
.dash { background: var(--bg); padding: 48px 0; }
.dash-frame {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 4px 40px rgba(20, 33, 61, .14); overflow: hidden;
}
.dash-chrome {
  display: flex; align-items: center; gap: 6px;
  background: #eef1f5; padding: 9px 14px; border-bottom: 1px solid var(--line);
}
.dash-chrome span { width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; }
.dash-chrome span:first-child { background: #f87171; }
.dash-chrome span:nth-child(2) { background: #fbbf24; }
.dash-chrome span:nth-child(3) { background: #34d399; }
.dash-url {
  margin: 0 0 0 10px; font-size: .75rem; color: var(--muted);
  background: #fff; border: 1px solid var(--line); border-radius: 6px;
  padding: 3px 12px; flex: 1; max-width: 340px;
}
.dash-header {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: var(--ink); color: #fff; padding: 12px 20px; flex-wrap: wrap;
}
.dash-brand { font-weight: 800; font-size: .95rem; }
.dash-portal-tag {
  font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  background: rgba(255,255,255,.15); padding: 3px 8px; border-radius: 4px; margin-left: 6px;
}
.dash-nav { display: flex; gap: 18px; font-size: .82rem; }
.dash-nav .active { border-bottom: 2px solid #fbbf24; padding-bottom: 2px; font-weight: 700; }
.dash-nav .locked { color: rgba(255,255,255,.55); }
.dash-user {
  font-size: .78rem; color: rgba(255,255,255,.75);
  border: 1px solid rgba(255,255,255,.3); border-radius: 20px; padding: 4px 12px;
}
.dash-body { padding: 24px; }
.dash-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.dash-card {
  position: relative; background: var(--bg); border: 1px solid var(--line);
  border-radius: 10px; padding: 18px;
}
.dash-label { font-size: .78rem; font-weight: 600; color: var(--muted); margin: 0 0 8px; }
.dash-value { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 4px; }
.dash-sub { font-size: .78rem; color: var(--muted); margin: 0; }
.blur { filter: blur(6px); user-select: none; }
.lock-overlay {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.45); border-radius: 10px; text-decoration: none;
}
.lock-pill {
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  box-shadow: var(--shadow); font-size: .78rem; font-weight: 700; color: var(--ink);
  padding: 7px 14px;
}
.lock-overlay:hover .lock-pill { border-color: var(--accent); color: var(--accent-dark); }
.dash-feed { margin-top: 20px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.dash-feed-head {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--bg); padding: 12px 16px; font-weight: 700; font-size: .9rem;
  border-bottom: 1px solid var(--line);
}
.dash-live { font-size: .72rem; color: var(--green); font-weight: 700; }
.dash-feed-item {
  position: relative; display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 16px; border-bottom: 1px solid var(--line); font-size: .9rem; color: var(--ink-soft);
}
.dash-feed-item:last-child { border-bottom: 0; }
.dash-tag {
  flex-shrink: 0; font-size: .7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .05em; background: var(--ink); color: #fff;
  padding: 3px 9px; border-radius: 12px; margin-top: 1px;
}
.locked-feed { padding-right: 140px; }
.locked-feed .lock-overlay { background: none; justify-content: flex-end; padding-right: 14px; }
.dash-locked-bar {
  margin-top: 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: var(--ink); color: #fff; border-radius: 10px; padding: 16px 20px; flex-wrap: wrap;
}
.dash-locked-bar span { font-size: .9rem; }
@media (max-width: 860px) {
  .dash-cards { grid-template-columns: 1fr 1fr; }
  .dash-nav { display: none; }
  .locked-feed { padding-right: 16px; }
}

/* Signup card (old FinESG-style modal card, inline) */
.signup-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 12px; box-shadow: var(--shadow); overflow: hidden;
}
.signup-head {
  padding: 22px 26px; border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.signup-head h2 { margin: 0 0 4px; }
.signup-head p { margin: 0; color: var(--muted); font-size: .92rem; }
.signup-body { padding: 30px 30px 26px; text-align: center; }
.shield-icon {
  width: 60px; height: 60px; margin: 0 auto 18px;
  background: var(--bg); border: 1px solid var(--line); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.signup-body h3 { font-size: 1.25rem; margin-bottom: 8px; }
.signup-sub { color: var(--ink-soft); font-size: .92rem; max-width: 400px; margin: 0 auto 20px; }
.signup-points {
  list-style: none; padding: 0; margin: 0 auto 24px; max-width: 400px; text-align: left;
}
.signup-points li {
  position: relative; padding-left: 24px; margin-bottom: 8px;
  color: var(--ink-soft); font-size: .92rem;
}
.signup-points li::before { content: "✓"; position: absolute; left: 0; color: var(--ink); font-weight: 800; }
.sso-btn-big {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  width: 100%; padding: 14px; font-size: 1rem; font-weight: 600;
  border-radius: 8px; cursor: pointer; transition: background .15s ease;
}
.sso-ms { background: #0078d4; color: #fff; border: 0; }
.sso-ms:hover { background: #005a9e; }
.sso-g { background: #fff; color: var(--ink); border: 1px solid #cbd5e1; }
.sso-g:hover { background: var(--bg); }
.signup-secure { font-size: .8rem; color: var(--muted); margin-top: 16px; }
#signup-email form { max-width: 400px; margin: 0 auto; }

/* HTS search */
.hts-search-row { display: flex; gap: 10px; }
.hts-search-row input { flex: 1; }
.hts-search-row .btn { padding: 11px 18px; white-space: nowrap; }
#hts-results { margin: 4px 0 14px; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.hts-row {
  display: flex; gap: 10px; align-items: baseline; width: 100%;
  padding: 10px 12px; border: 0; border-bottom: 1px solid var(--line);
  background: #fff; text-align: left; cursor: pointer; font-size: .85rem;
}
.hts-row:last-child { border-bottom: 0; }
.hts-row:hover { background: var(--bg); }
.hts-row.selected { background: var(--accent-soft); outline: 2px solid var(--accent); outline-offset: -2px; }
.hts-code { font-weight: 800; color: var(--ink); white-space: nowrap; font-family: ui-monospace, monospace; }
.hts-desc { flex: 1; color: var(--ink-soft); }
.hts-rate { font-weight: 800; color: var(--accent-dark); white-space: nowrap; }
.hts-empty { padding: 12px 14px; margin: 0; font-size: .88rem; color: var(--muted); }
.hts-selected {
  margin: 0 0 14px; padding: 10px 14px; font-size: .88rem; font-weight: 600;
  background: #dcfce7; border: 1px solid #bbf7d0; border-radius: 8px; color: #166534;
}

/* Report breakdown */
#report-breakdown { margin: 18px 0 22px; }
#report-breakdown h3 { margin-bottom: 10px; }
.bd-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  background: #fff; border: 1px solid var(--line); border-bottom: 0;
  padding: 10px 14px; font-size: .92rem;
}
.bd-row:first-of-type { border-radius: 8px 8px 0 0; }
.bd-row.bd-total {
  border-bottom: 1px solid var(--line); border-radius: 0 0 8px 8px;
  font-weight: 800; background: var(--accent-soft);
}
.bd-label { flex: 1; color: var(--ink-soft); }
.bd-rate { color: var(--muted); font-size: .82rem; white-space: nowrap; }
.bd-amount { font-weight: 700; white-space: nowrap; }

/* Footer */
.site-footer { background: var(--ink); color: #cbd5e1; padding: 52px 0 26px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.footer-brand { font-weight: 800; color: #fff; font-size: 1.05rem; }
.footer-head { font-weight: 700; color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px; }
.site-footer p, .site-footer li { font-size: .85rem; }
.site-footer a { color: #cbd5e1; text-decoration: none; }
.site-footer a:hover { color: #fbbf24; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-disclaimer {
  margin-top: 30px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .15);
  font-size: .78rem; color: #94a3b8;
}
.copyright { font-size: .8rem; color: #94a3b8; margin-top: 10px; }

/* Responsive */
@media (max-width: 860px) {
  h1 { font-size: 1.9rem; }
  .hero-grid { grid-template-columns: 1fr; }
  .stat-bar { grid-template-columns: repeat(2, 1fr); }
  .card-grid, .steps, .pain-grid, .qualify-grid, .news-grid, .guide-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .header-nav a:not(.header-cta) { display: none; }
}
