:root {
  --bg: #ffffff;
  --bg-alt: #f7f9f8;
  --bg-deep: #f1f5f2;
  --text: #14171a;
  --text-muted: #5b6570;
  --border: #e6eae7;
  --accent: #16A34A;
  --accent-hover: #128a3e;
  --accent-soft: #e6f7ec;
  --accent-text-on: #ffffff;
  --card-shadow: 0 1px 2px rgba(20, 30, 25, 0.04), 0 6px 20px rgba(20, 30, 25, 0.05);
  --radius: 22px;
  --radius-sm: 14px;
  --max-width: 1120px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1210;
    --bg-alt: #141815;
    --bg-deep: #191e1b;
    --text: #f1f4f2;
    --text-muted: #a3ada6;
    --border: #262b27;
    --accent: #32c56a;
    --accent-hover: #4fdc82;
    --accent-soft: #16311f;
    --accent-text-on: #0e1210;
    --card-shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.35);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--accent); }

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

/* ---------- Header ---------- */
header.site-header {
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(12px);
  z-index: 20;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.brand {
  font-weight: 800;
  font-size: 1.15rem;
  text-decoration: none;
  color: var(--text);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.brand .dot { color: var(--accent); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 600;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent);
  color: var(--accent-text-on) !important;
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 700 !important;
  font-size: 0.9rem !important;
}
.nav-mobile-toggle { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.02rem;
  border: 1px solid transparent;
  transition: transform 0.08s ease, background 0.15s ease;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-primary { background: var(--accent); color: var(--accent-text-on); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary { background: transparent; color: var(--text); border-color: var(--border); }
.btn-secondary:hover { background: var(--bg-alt); }
.btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; align-items: center; }

/* ---------- Hero ---------- */
.hero {
  padding: 88px 0 40px;
  text-align: center;
}
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}
h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin: 0 0 22px;
  font-weight: 800;
}
.hero h1 .accent-word { color: var(--accent); }
.subhead {
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  color: var(--text);
  max-width: 640px;
  margin: 0 auto 12px;
  font-weight: 500;
}
.microcopy {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 34px;
}
.microcopy strong { color: var(--text); }

/* ---------- Sections ---------- */
section { padding: 76px 0; }
.section-alt { background: var(--bg-alt); }
.section-deep { background: var(--bg-deep); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0 0 14px;
  letter-spacing: -0.02em;
  font-weight: 800;
  line-height: 1.1;
}
.section-head p { color: var(--text-muted); margin: 0; font-size: 1.08rem; }

/* ---------- Steps (voice demo) ---------- */
.step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  align-items: start;
}
.step-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--card-shadow);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 16px;
}
.step-card h3 { margin: 0 0 10px; font-size: 1.15rem; letter-spacing: -0.01em; }
.step-card p { margin: 0; color: var(--text-muted); font-size: 0.96rem; }
.step-card .quote {
  margin-top: 14px;
  padding: 14px 16px;
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  font-style: italic;
  font-size: 0.92rem;
  color: var(--text);
}
.mini-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 14px;
  font-size: 0.88rem;
}
.mini-table th, .mini-table td {
  text-align: left;
  padding: 7px 6px;
  border-bottom: 1px solid var(--border);
}
.mini-table th { color: var(--text-muted); font-weight: 600; }

/* ---------- Phone / screenshot visuals ---------- */
.phone-shot {
  border-radius: 26px;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border);
}
.phone-single { text-align: center; margin-top: 44px; }
.phone-single img { width: 270px; margin: 0 auto; }
.phone-row {
  display: flex;
  gap: 22px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 44px;
}
.phone-row img { width: 220px; }

/* ---------- Feature grid ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}
.feature-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  background: var(--bg);
}
.feature-card .f-icon {
  width: 48px; height: 48px;
  border-radius: 13px;
  background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: 14px;
}
.feature-card h4 { margin: 0 0 6px; font-size: 1.05rem; }
.feature-card p { margin: 0; color: var(--text-muted); font-size: 0.94rem; }

/* ---------- Privacy icon row ---------- */
.privacy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 28px;
  text-align: center;
}
.privacy-item .p-icon { font-size: 34px; margin-bottom: 14px; }
.privacy-item h4 { margin: 0 0 8px; font-size: 1.08rem; }
.privacy-item p { margin: 0; color: var(--text-muted); font-size: 0.94rem; }

/* ---------- Pricing ---------- */
.price-card {
  max-width: 520px;
  margin: 0 auto;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  padding: 44px 40px;
  text-align: center;
}
.price-amount {
  font-size: clamp(3rem, 8vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--accent);
  line-height: 1;
}
.price-per { color: var(--text-muted); font-size: 1rem; margin: 6px 0 26px; }
.price-not { color: var(--text-muted); font-size: 0.92rem; margin: 0 0 26px; }
.price-not div { margin-bottom: 3px; }
.check-list { list-style: none; padding: 0; margin: 0 0 30px; text-align: left; display: inline-block; }
.check-list li {
  padding: 9px 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.98rem;
}
.check-list li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 800;
  flex-shrink: 0;
}
.price-footnote {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 18px;
}

/* ---------- Comparison table ---------- */
.compare-wrap { overflow-x: auto; }
table.compare {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  min-width: 560px;
}
table.compare th, table.compare td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}
table.compare thead th {
  background: var(--bg-alt);
  font-weight: 700;
  color: var(--text);
}
table.compare th:not(:first-child), table.compare td:not(:first-child) {
  text-align: center;
}
table.compare tbody tr:last-child td { border-bottom: none; }
table.compare td.give-cell { color: var(--accent); font-weight: 700; }
table.compare td.typical-cell { color: var(--text-muted); }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; padding: 84px 0; }
.cta-band h2 { margin: 0 0 14px; font-size: clamp(1.7rem, 4vw, 2.4rem); font-weight: 800; letter-spacing: -0.02em; }
.cta-band p { color: var(--text-muted); margin: 0 0 34px; font-size: 1.05rem; }
.cta-band .fine-print { margin-top: 20px; font-size: 0.88rem; color: var(--text-muted); }

/* ---------- Detail body (content pages) ---------- */
.page-hero { padding: 68px 0 44px; text-align: center; }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3rem); }
.detail-body { max-width: 720px; margin: 0 auto; }
.detail-body p { color: var(--text-muted); margin: 0 0 18px; font-size: 1.02rem; }
.detail-body h2 { font-size: 1.5rem; margin: 40px 0 14px; letter-spacing: -0.01em; }
.detail-body h3 { font-size: 1.15rem; margin: 28px 0 10px; }
.detail-body ul, .detail-body ol { color: var(--text-muted); padding-left: 22px; margin: 0 0 18px; }
.detail-body li { margin-bottom: 8px; }
.breadcrumb { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb span { margin: 0 6px; }

/* ---------- Tax guide index ---------- */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.guide-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--bg);
}
.guide-card h4 { margin: 0 0 8px; font-size: 1.02rem; }
.guide-card p { margin: 0; color: var(--text-muted); font-size: 0.9rem; }
.guide-status {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  background: var(--bg-alt);
  padding: 3px 9px;
  border-radius: 999px;
  margin-top: 10px;
}

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); padding: 22px 0; }
.faq-item h3 { margin: 0 0 8px; font-size: 1.08rem; }
.faq-item p { margin: 0; color: var(--text-muted); }

/* ---------- Footer ---------- */
footer.site-footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 36px;
  color: var(--text-muted);
  font-size: 0.88rem;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 28px;
}
.footer-col h5 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text);
  margin: 0 0 12px;
}
.footer-col a {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 8px;
  font-size: 0.9rem;
}
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Badge ---------- */
.badge-soon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 26px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 1rem;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1.5px dashed var(--accent);
}

@media (max-width: 720px) {
  .nav-links { gap: 16px; }
  .nav-links li:not(.nav-cta-item) { display: none; }
}
