:root {
  /* DiamondEra palette: Ink, Ivory, Citron, Stone (brand/BRAND-GUIDELINES.md).
     Citron only ever sits on Ink: on Ivory its contrast is 1.0:1. */
  --bg: #F4F1E9;
  --surface: #ECE8DE;
  --ink: #191A20;
  --muted: #55575E;
  --line: #DCD7CB;
  --brand: #191A20;
  --brand-ink: #F4F1E9;
  --accent: #191A20;
  --citron: #DFFF60;
  --stone: #B8BBB0;
  --radius: 14px;
  --wrap: 1040px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

h1, h2 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 16px; }
h1 { font-size: clamp(34px, 5.4vw, 58px); max-width: 17ch; }
h2 { font-size: clamp(26px, 3.4vw, 36px); }
p { margin: 0 0 16px; }

a { color: var(--accent); }

section { padding: 72px 0; }
.band { background: var(--surface); border-block: 1px solid var(--line); }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: var(--bg); border-bottom: 1px solid var(--line); }
.top__in { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; }
.brand img { display: block; height: 38px; width: auto; }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--brand);
  color: var(--brand-ink);
  font-weight: 600;
  text-decoration: none;
  padding: 14px 22px;
  border-radius: 999px;
  transition: background-color 150ms ease, transform 150ms ease;
}
.btn:hover { background: #2E3039; }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.btn--small { padding: 9px 16px; font-size: 15px; }
.btn--light { background: var(--citron); color: var(--ink); }
.btn--light:hover { background: #EAFF8C; }
.btn--light:focus-visible { outline-color: var(--citron); }

/* Hero */
.hero { padding: 96px 0 80px; }
.eyebrow { color: var(--muted); font-weight: 600; font-size: 15px; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px; }
.lead { font-size: 21px; color: var(--muted); max-width: 46ch; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 28px; }
.hint { color: var(--muted); font-size: 16px; }

/* Cards */
.sub { color: var(--muted); margin-bottom: 32px; }
.grid3 { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card p:last-child { margin: 0; color: var(--muted); }
.card__big { font-size: 34px; font-weight: 700; color: var(--brand); letter-spacing: -0.02em; margin-bottom: 8px; }

/* List */
.list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; max-width: 760px; }
.list li { padding-left: 28px; position: relative; }
.list li::before { content: ""; position: absolute; left: 4px; top: 0.55em; width: 10px; height: 10px; background: var(--accent); transform: rotate(45deg); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
.steps li { display: flex; gap: 16px; align-items: flex-start; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.steps__n { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: var(--brand-ink); font-weight: 700; font-size: 16px; }

/* FAQ */
.faq > * { max-width: 760px; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-weight: 700; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 10px 0 0; color: var(--muted); }

/* CTA */
.cta { background: var(--brand); color: var(--brand-ink); }
.cta p { color: var(--stone); max-width: 46ch; }

/* Footer */
.foot { padding: 28px 0; color: var(--muted); font-size: 15px; }
.foot__in { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

@media (max-width: 760px) {
  body { font-size: 17px; }
  section { padding: 56px 0; }
  .hero { padding: 64px 0 56px; }
  .grid3, .steps { grid-template-columns: 1fr; }
  .top .btn--small { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
}
