/* SoleTax — design-system tokens (docs/design/design_system.md §2) */
:root {
  --orange: #E8440A;
  --green: #22C87E;
  --paid-text: #159C5E;
  --amber: #F5A623;
  --ink: #1A1A1A;
  --ink-soft: #3A352F;
  --muted: #8A857F;
  --ghost: #C8C3BE;
  --cream: #FFFBF8;
  --field: #F4F0EC;
  --card: #FFFFFF;
  --track: #E2DDD8;
  --peach: #FCE6DD;
  --tile: #F5F1EE;
  --hero-label: #9A7B5E;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--field);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 1060px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 720px; margin: 0 auto; padding: 0 24px; }

/* Header */
header.site {
  padding: 22px 0;
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between;
}
.wordmark {
  font-size: 22px; font-weight: 600; letter-spacing: -0.02em;
  color: var(--ink); text-decoration: none;
}
header.site nav a {
  color: var(--ink-soft); text-decoration: none; font-size: 15px; font-weight: 500;
  margin-left: 24px;
}
header.site nav a:hover { color: var(--ink); }
header.site nav a.cta {
  color: #fff; background: var(--orange);
  padding: 9px 18px; border-radius: 999px;
}
header.site nav a.cta:hover { color: #fff; background: #d43d08; }

/* Hero */
.hero { padding: 48px 0 24px; position: relative; overflow: hidden; }
.hero .wrap {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center;
}
.hero h1 {
  font-size: 52px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.08;
}
.hero .sub {
  margin-top: 20px; font-size: 19px; color: var(--ink-soft); max-width: 32em;
}
.cta-row { margin-top: 32px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.btn-primary {
  display: inline-block; background: var(--orange); color: #fff;
  font-size: 17px; font-weight: 600; text-decoration: none;
  padding: 15px 30px; border-radius: 999px;
}
.btn-primary:hover { background: #d43d08; }
.cta-note { font-size: 15px; color: var(--muted); }

.phone-shot { position: relative; text-align: center; }
.phone-shot::before {
  /* the Solar Glow */
  content: ""; position: absolute; inset: -8% -18%;
  background:
    radial-gradient(42% 38% at 38% 30%, rgba(232, 68, 10, 0.14), transparent 70%),
    radial-gradient(46% 42% at 66% 62%, rgba(34, 200, 126, 0.10), transparent 70%);
  z-index: 0;
}
.phone-shot img {
  position: relative; z-index: 1; width: 100%; max-width: 380px; height: auto;
  border-radius: 28px;
}

/* Section scaffolding */
section { padding: 56px 0; }
h2 {
  font-size: 34px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.15;
  margin-bottom: 28px;
}
.kicker {
  font-size: 13px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--hero-label); margin-bottom: 12px;
}

/* Feature band */
.moves { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.move {
  background: var(--card); border-radius: 20px; padding: 28px;
}
.move .tile {
  width: 44px; height: 44px; border-radius: 12px; background: var(--peach);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
  font-size: 22px;
}
.move h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 10px; }
.move p { font-size: 16px; color: var(--ink-soft); }

/* MTD band */
.mtd-band { background: var(--cream); border-radius: 28px; padding: 48px; }
.mtd-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 8px 0 28px; }
.fact {
  background: var(--card); border-radius: 16px; padding: 22px;
  font-size: 15.5px; color: var(--ink-soft);
}
.fact strong { color: var(--ink); }
.honesty {
  border-left: 3px solid var(--amber); padding: 4px 0 4px 18px;
  font-size: 16px; color: var(--ink-soft); max-width: 46em;
}
.dateline { font-size: 13px; color: var(--muted); margin-top: 18px; }

/* Pricing */
.price-card {
  background: var(--card); border-radius: 20px; padding: 36px;
  max-width: 560px;
}
.price-card .big { font-size: 34px; font-weight: 600; letter-spacing: -0.02em; }
.price-card .big span { font-size: 17px; font-weight: 400; color: var(--muted); }
.price-card p { margin-top: 12px; color: var(--ink-soft); font-size: 16px; }

/* FAQ */
.faq details {
  background: var(--card); border-radius: 16px; padding: 20px 24px; margin-bottom: 12px;
}
.faq summary {
  font-size: 17px; font-weight: 600; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::after { content: "+"; color: var(--ghost); font-size: 22px; font-weight: 400; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin-top: 12px; color: var(--ink-soft); font-size: 16px; max-width: 60em; }
.faq a { color: var(--orange); }

/* Footer */
footer.site {
  border-top: 1px solid var(--track); margin-top: 40px; padding: 40px 0 56px;
  font-size: 14px; color: var(--muted);
}
footer.site .canonical {
  font-size: 15px; color: var(--ink-soft); max-width: 44em; margin-bottom: 20px;
}
footer.site nav { margin-bottom: 20px; }
footer.site nav a { color: var(--ink-soft); text-decoration: none; margin-right: 20px; font-weight: 500; }
footer.site nav a:hover { color: var(--ink); }
footer.site .company { line-height: 1.7; }

/* Legal / content pages */
.page { padding: 24px 0 64px; }
.page h1 { font-size: 38px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 8px; }
.page .meta { color: var(--muted); font-size: 15px; margin-bottom: 36px; }
.page h2 { font-size: 24px; margin: 40px 0 14px; }
.page p, .page li { color: var(--ink-soft); font-size: 16.5px; margin-bottom: 14px; }
.page ul { padding-left: 22px; margin-bottom: 14px; }
.page li { margin-bottom: 8px; }
.page a { color: var(--orange); }
.page strong { color: var(--ink); }
.page table {
  width: 100%; border-collapse: collapse; background: var(--card);
  border-radius: 12px; overflow: hidden; margin: 20px 0; font-size: 15.5px;
}
.page th, .page td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--field); color: var(--ink-soft); }
.page th { background: var(--tile); color: var(--ink); font-weight: 600; }
.page .card-block {
  background: var(--card); border-radius: 16px; padding: 24px 28px; margin: 20px 0;
}

/* Responsive */
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; }
  .hero h1 { font-size: 38px; }
  .phone-shot img { max-width: 300px; }
  .moves, .mtd-facts { grid-template-columns: 1fr; }
  .mtd-band { padding: 32px 24px; }
  h2 { font-size: 28px; }
  header.site nav a:not(.cta) { display: none; }
}
