/* Homepage content styles. The palette and page chrome are in chrome.css. */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: var(--link); text-underline-offset: .15em; }
a:hover { text-decoration-thickness: 2px; }
/* hero */
.hero { position: relative; color: #fff; background: linear-gradient(180deg, var(--sky-a) 0%, var(--sky-a) 35%, var(--sky-b) 100%); overflow: hidden; }
.hero .wrap { position: relative; z-index: 1; padding-top: 4.5rem; padding-bottom: 9rem; }
.hero h1 { font-size: clamp(2rem, 5.5vw, 3.4rem); line-height: 1.1; margin: 0 0 .8rem; max-width: 18ch; text-wrap: balance; }
.hero p { font-size: 1.15rem; max-width: 38rem; margin: 0 0 1.5rem; color: #eef3f5; }
.hero .eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; margin: 0 0 .8rem; color: #ffd9b3; }
.hero .ridge { height: 9rem; }
.btn { display: inline-block; padding: .7rem 1.2rem; border-radius: 8px; font-weight: 600; text-decoration: none; margin: 0 .5rem .5rem 0; border: 2px solid transparent; }
.btn.primary { background: var(--accent); color: #fff; }
.btn.primary:hover { filter: brightness(1.08); }
.btn.ghost { border-color: #fff; color: #fff; }
.btn.ghost:hover { background: rgba(255,255,255,.14); }
.btn:focus-visible, a:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* content */
main { padding: 2rem 0 3rem; }
main h2 { font-size: 1.6rem; line-height: 1.25; margin: 2.4rem 0 .6rem; }
main h2:first-child { margin-top: 0; }
main h3 { font-size: 1.15rem; margin: 1.6rem 0 .3rem; }
main p, main li { max-width: 46rem; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 44rem; }
.grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); margin: 1.2rem 0; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 1.1rem 1.2rem; }
.card h3 { margin-top: 0; }
.card p { margin: .3rem 0 0; color: var(--muted); }
.steps { counter-reset: s; list-style: none; padding: 0; }
.steps li { counter-increment: s; position: relative; padding: 0 0 1.1rem 3rem; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -.1rem; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--brand); color: var(--brand-ink); display: grid; place-items: center; font-weight: 700; }
.note { border-left: 4px solid var(--accent); background: var(--surface); padding: .8rem 1rem; border-radius: 0 8px 8px 0; margin: 1.2rem 0; max-width: 46rem; }
table { border-collapse: collapse; width: 100%; max-width: 46rem; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; margin: 1rem 0; }
th, td { text-align: left; padding: .55rem .8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--bg); font-size: .9rem; color: var(--muted); font-weight: 600; }
tr:last-child td { border-bottom: 0; }
code { background: var(--surface); border: 1px solid var(--line); padding: .05em .35em; border-radius: 4px; font-size: .92em; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
