/* Anvil Tax homepage. Tokens match the Anvil Homepage Wireframe canvas. */
:root {
  --ground: #F4F0E8;
  --sand: #EAE4D9;
  --ink: #1D1B18;
  --ink-2: #3A362F;
  --muted: #6B6358;
  --line: #D9D2C5;
  --chip: #BFB5A4;
  --ph-fill: #E4DDD0;
  --ph-line: #A99F8E;
  --card-dark: #2A2723;
  --on-dark: #F4F0E8;
  --on-dark-2: #CFC8BB;
  --on-dark-3: #E6E0D5;
  --on-dark-4: #B7AFA2;
  --peach: #F4B08A;
  --accent: #A8431B;
  --accent-hover: #8E3715;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'IBM Plex Sans', system-ui, sans-serif;
  --gutter: 96px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
a { color: #9A3412; }
a:hover { color: #7C2D12; }

.wrap { max-width: 1440px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.stack { display: flex; flex-direction: column; gap: 24px; }
.stack-lg { display: flex; flex-direction: column; gap: 56px; }
.stack-sm { display: flex; flex-direction: column; gap: 14px; }
.stack-xs { display: flex; flex-direction: column; gap: 10px; }
.center { text-align: center; align-items: center; display: flex; flex-direction: column; }
.narrow { max-width: 880px; }
.grow { flex: 1 1 auto; }

h1, h2, h3, .wordmark { font-family: var(--serif); font-weight: 700; }
h1 { font-size: 76px; line-height: 1.02; letter-spacing: -1.5px; }
h2 { font-size: 52px; line-height: 1.1; }
.split h2 { font-size: 48px; }
h3 { font-size: 28px; }

.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }
.lede { font-size: 21px; line-height: 1.55; color: var(--ink-2); max-width: 560px; }
.center .lede { max-width: none; font-size: 20px; }
.body { font-size: 19px; line-height: 1.65; color: var(--ink-2); }
.kicker { font-size: 22px; font-weight: 600; }
.muted { font-size: 15px; color: var(--muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 18px 30px; border-radius: 6px; font: 600 18px/1.2 var(--sans); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; }
.btn-sm { padding: 14px 24px; font-size: 16px; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--ground); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--ground); color: var(--ink); }
.actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Header */
.site-header { display: flex; align-items: center; justify-content: space-between; padding: 24px var(--gutter); border-bottom: 1px solid var(--line); max-width: 1440px; margin: 0 auto; }
.wordmark { font-size: 28px; letter-spacing: -0.5px; }
.wordmark-light { color: var(--on-dark); font-size: 24px; }
.nav { display: flex; align-items: center; gap: 40px; font-size: 16px; font-weight: 500; }
.nav-link { color: var(--ink); text-decoration: none; }
.nav-link:hover { color: var(--accent); }
.nav .short { display: none; }

/* Split sections */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: center; padding-top: 120px; padding-bottom: 120px; }
.split-wide { gap: 80px; }
.hero { padding-top: 112px; }
.hero .stack { gap: 28px; }

.placeholder { background: var(--ph-fill); border: 1.5px dashed var(--ph-line); border-radius: 12px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 32px; color: var(--muted); font-size: 16px; }
.ph-hero { height: 520px; }
.ph-guide { height: 500px; }
.ph-systems { height: 420px; }

/* Dark bands */
.dark { background: var(--ink); color: var(--on-dark); padding: 112px 0; }
.lede-dark { font-size: 20px; line-height: 1.6; color: var(--on-dark-2); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
.leak { background: var(--card-dark); border-radius: 10px; padding: 36px; display: flex; flex-direction: column; gap: 14px; }
.leak h3 { color: var(--peach); }
.leak p { font-size: 18px; line-height: 1.6; color: var(--on-dark-3); }
.pull { font-family: var(--serif); font-size: 26px; line-height: 1.45; font-style: italic; max-width: 980px; }

/* Guide */
.badges { list-style: none; padding: 0; display: flex; gap: 12px; flex-wrap: wrap; }
.badges li { padding: 10px 16px; border: 1px solid var(--chip); border-radius: 999px; font-size: 15px; font-weight: 500; }
.quote { margin-top: 12px; padding: 28px 32px; background: #fff; border-radius: 10px; display: flex; flex-direction: column; gap: 12px; }
.quote blockquote { font-family: var(--serif); font-size: 22px; line-height: 1.45; }
.quote figcaption { font-size: 15px; color: var(--muted); }

/* Plan */
.sand { background: var(--sand); padding: 112px 0; }
.steps { list-style: none; padding: 0; }
.step { background: #fff; border-radius: 12px; padding: 40px; display: flex; flex-direction: column; gap: 16px; scroll-margin-top: 24px; }
.step-num { font-family: var(--serif); font-size: 56px; font-weight: 700; color: var(--accent); line-height: 1; }
.step h3 { font-family: var(--sans); font-size: 24px; font-weight: 600; }
.step p { font-size: 17px; line-height: 1.6; color: var(--ink-2); }

/* Outcomes */
.outcome { display: flex; flex-direction: column; gap: 20px; padding: 44px; border-radius: 12px; }
.outcome h3 { font-size: 34px; }
.outcome ul { list-style: none; padding: 0; font-size: 19px; line-height: 1.8; }
.outcome-win { border: 1px solid var(--peach); }
.outcome-win h3 { color: var(--peach); }
.outcome-win ul { color: var(--on-dark-3); }
.outcome-lose { border: 1px solid #4A453E; }
.outcome-lose h3 { color: var(--on-dark-2); }
.outcome-lose ul { color: var(--on-dark-4); }

/* Lead generator */
.lead-wrap { padding-top: 104px; padding-bottom: 104px; display: flex; justify-content: center; }
.lead { width: 100%; max-width: 1040px; background: #fff; border-radius: 16px; padding: 56px; display: flex; gap: 48px; align-items: center; }
.lead-title { font-size: 34px; line-height: 1.15; }
.lead-form { display: flex; flex-direction: column; gap: 10px; width: 340px; flex: 0 0 auto; }
.lead-form label { font-size: 15px; font-weight: 500; }
.lead-form input { height: 52px; padding: 0 16px; border: 1.5px solid var(--chip); border-radius: 6px; font: 16px var(--sans); background: #fff; color: var(--ink); }
.lead-form .btn { height: 52px; padding: 0 20px; font-size: 16px; }

/* Closing band */
.accent-band { background: var(--accent); color: #fff; padding: 104px 0; }
.accent-band .stack { gap: 28px; }
.accent-band h2 { font-size: 56px; line-height: 1.08; }
.lede-light { font-size: 21px; line-height: 1.55; max-width: 720px; }

/* Footer */
.site-footer { background: var(--ink); color: var(--on-dark-2); padding: 64px 0; font-size: 15px; }
.site-footer a { color: var(--on-dark-2); }
.site-footer a:hover { color: var(--on-dark); }
.footer-inner { display: flex; justify-content: space-between; gap: 48px; }
.footer-nav { display: flex; gap: 40px; }

/* Tablet */
@media (max-width: 1100px) {
  :root { --gutter: 48px; }
  h1 { font-size: 60px; }
  .nav { gap: 24px; }
}

/* Mobile, per the 390px artboard */
@media (max-width: 760px) {
  :root { --gutter: 20px; }
  h1 { font-size: 44px; }
  h2, .split h2 { font-size: 34px; }
  #guide h2, .split-wide h2 { font-size: 32px; }
  .site-header { padding: 18px var(--gutter); }
  .wordmark { font-size: 24px; }
  .nav-link { display: none; }
  .nav .btn-sm { padding: 12px 16px; font-size: 15px; }
  .nav .long { display: none; }
  .nav .short { display: inline; }
  .split, .grid-3, .grid-2 { grid-template-columns: minmax(0, 1fr); }
  .split { gap: 36px; padding-top: 56px; padding-bottom: 56px; }
  .hero { padding-top: 48px; }
  .lede { font-size: 18px; }
  .actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .actions .btn { text-align: center; }
  .ph-hero, .ph-guide { height: 300px; }
  .ph-systems { height: 260px; }
  .dark, .sand { padding: 56px 0; }
  .leak, .step, .outcome { padding: 28px; }
  .pull { font-size: 22px; }
  .quote { padding: 24px; }
  .lead-wrap { padding-top: 56px; padding-bottom: 56px; }
  .lead { flex-direction: column; align-items: stretch; padding: 28px; gap: 28px; }
  .lead-form { width: 100%; }
  .accent-band { padding: 56px 0; }
  .accent-band h2 { font-size: 38px; line-height: 1.1; }
  .lede-light { font-size: 18px; }
  .site-footer { padding: 40px 0; }
  .footer-inner, .footer-nav { flex-direction: column; gap: 28px; }
  .footer-nav { gap: 14px; }
}
