:root {
  --crimson: #841617;
  --crimson-dark: #5e1011;
  --turf: #2e7d52;
  --ink: #1b1c1e;
  --sub: #5a5f66;
  --line: #e6e7ea;
  --bg: #ffffff;
  --panel: #f7f8fa;
  --max: 1080px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--crimson); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand .logo { width: 30px; height: 30px; object-fit: contain; }
.nav a { color: var(--sub); font-weight: 600; font-size: 14px; margin-left: 22px; }
.nav a:hover { color: var(--ink); text-decoration: none; }

/* Hero */
.hero { text-align: center; padding: 84px 0 64px; }
.hero .badge { display: inline-block; background: var(--panel); border: 1px solid var(--line); color: var(--sub); font-size: 12.5px; font-weight: 700; letter-spacing: 0.3px; padding: 6px 14px; border-radius: 999px; margin-bottom: 22px; text-transform: uppercase; }
.hero h1 { font-size: clamp(34px, 6vw, 56px); line-height: 1.07; letter-spacing: -1.2px; font-weight: 850; }
.hero h1 .accent { color: var(--crimson); }
.hero p.lede { font-size: clamp(17px, 2.4vw, 21px); color: var(--sub); max-width: 640px; margin: 20px auto 0; }
.cta { margin-top: 34px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn { display: inline-block; font-weight: 700; font-size: 15px; padding: 13px 24px; border-radius: 12px; border: 1px solid transparent; }
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--crimson); color: #fff; }
.btn-primary:hover { background: var(--crimson-dark); }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { background: var(--panel); }
.hero .note { margin-top: 16px; font-size: 13px; color: var(--sub); }

/* Sections */
section.block { padding: 64px 0; border-top: 1px solid var(--line); }
section.block.alt { background: var(--panel); }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 44px; }
.section-head h2 { font-size: clamp(26px, 4vw, 36px); letter-spacing: -0.6px; font-weight: 820; }
.section-head p { color: var(--sub); font-size: 17px; margin-top: 12px; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 760px) { .grid { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 26px; }
section.alt .card { background: #fff; }
.card .ico { width: 42px; height: 42px; border-radius: 11px; background: rgba(132, 22, 23, 0.08); color: var(--crimson); display: grid; place-items: center; font-size: 20px; margin-bottom: 16px; }
.card h3 { font-size: 18px; font-weight: 780; }
.card p { color: var(--sub); font-size: 14.5px; margin-top: 8px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr 1fr; } }
.step { text-align: center; }
.step .n { width: 38px; height: 38px; border-radius: 50%; background: var(--crimson); color: #fff; font-weight: 800; display: grid; place-items: center; margin: 0 auto 12px; }
.step h4 { font-size: 16px; font-weight: 760; }
.step p { color: var(--sub); font-size: 14px; margin-top: 5px; }

/* CTA band */
.band { text-align: center; padding: 72px 0; background: var(--crimson); color: #fff; border: 0; }
.band h2 { font-size: clamp(26px, 4vw, 38px); letter-spacing: -0.6px; }
.band p { opacity: 0.92; margin-top: 12px; font-size: 17px; }
.band .btn-primary { background: #fff; color: var(--crimson); margin-top: 26px; }
.band .btn-primary:hover { background: #f1f1f1; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0; color: var(--sub); font-size: 14px; }
.site-footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; align-items: center; }
.site-footer .links a { color: var(--sub); margin-left: 18px; }
.site-footer .links a:first-child { margin-left: 0; }

/* Legal pages */
.legal { padding: 56px 0 72px; max-width: 760px; }
.legal h1 { font-size: 34px; letter-spacing: -0.8px; font-weight: 840; }
.legal .updated { color: var(--sub); font-size: 14px; margin: 8px 0 32px; }
.legal h2 { font-size: 21px; margin: 32px 0 10px; font-weight: 760; }
.legal p, .legal li { color: #2c2f34; font-size: 15.5px; margin-top: 10px; }
.legal ul { margin-top: 10px; padding-left: 22px; }
.legal a { font-weight: 600; }
