/* Front page (home.html). Builds on style.css tokens and the line/chip styles in estimate.css. No inline styles: the CSP forbids them. */
main#main { max-width: none; padding: 0; }  /* the shared "main" style caps the width; the bands here run edge to edge */
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; border: 1px solid var(--accent); border-radius: 6px; z-index: 10; }
.skip:focus { left: 8px; }

header.site { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
header.site .bar { display: flex; align-items: center; gap: 24px; padding-top: 12px; padding-bottom: 12px; }
header.site .brand { font-weight: 700; font-size: 18px; color: var(--text); text-decoration: none; }
header.site nav { display: flex; gap: 20px; flex: 1; flex-wrap: wrap; }
header.site nav a { color: var(--muted); text-decoration: none; }
header.site nav a:hover { color: var(--text); text-decoration: underline; }
a.button.big { padding: 12px 22px; font-size: 16px; }

.hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; padding-top: 56px; padding-bottom: 56px; }
.eyebrow { display: inline-block; margin: 0 0 12px; padding: 2px 10px; border: 1px solid var(--warn); border-radius: 999px; color: var(--warn); font-size: 13px; font-weight: 600; }
.hero h1 { font-size: 40px; line-height: 1.15; margin: 0 0 16px; }
.lead { font-size: 18px; color: var(--muted); margin: 0 0 24px; }
.hero .actions { align-items: center; margin-top: 0; }

figure.example { margin: 0; }
figure.example figcaption { margin-bottom: 8px; }
figure.example article.line { margin: 0; box-shadow: 0 6px 24px color-mix(in srgb, var(--text) 10%, transparent); }

.band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 48px 0; }
.section { padding-top: 48px; padding-bottom: 48px; }
main h2 { font-size: 28px; margin: 0 0 12px; }
.lead-sm { font-size: 17px; max-width: 760px; margin: 0 0 24px; }

ol.steps { list-style: none; counter-reset: step; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
ol.steps li { counter-increment: step; position: relative; padding-top: 48px; }
ol.steps li::before { content: counter(step); position: absolute; top: 0; left: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: var(--accent-text); font-weight: 700; display: flex; align-items: center; justify-content: center; }
ol.steps h3 { margin: 0 0 6px; font-size: 17px; }
ol.steps p { margin: 0; color: var(--muted); }

.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 18px 20px; }
.tile h3 { margin: 0 0 6px; font-size: 17px; }
.tile p { margin: 0; color: var(--muted); }

table.trades { background: var(--bg); border: 1px solid var(--line); border-radius: 8px; margin: 8px 0 12px; }
table.trades td:first-child { font-weight: 600; white-space: nowrap; }

ul.choices { padding-left: 20px; max-width: 760px; }
ul.choices li { margin: 8px 0; }

.cta { text-align: center; }
.cta .lead-sm { margin-left: auto; margin-right: auto; }

footer.site { padding: 24px 0 40px; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 32px; padding-bottom: 32px; }
  .hero h1 { font-size: 32px; }
  ol.steps, .grid { grid-template-columns: 1fr; }
  header.site nav { display: none; }
  header.site .bar { justify-content: space-between; }
}
