:root {
  color-scheme: light dark;
  --bg: #f3f1eb;
  --surface: #fcfaf4;
  --ink: #20201e;
  --muted: #666159;
  --line: #cfcbc1;
  --accent: #d94f3a;
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); }
main { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 40px 0 30px; }
.hero { min-height: calc(100dvh - 80px); display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: clamp(36px, 8vw, 110px); }
.eyebrow { margin: 0 0 16px; color: var(--accent); font-size: 0.77rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
h1 { max-width: 9ch; margin: 0; font-size: clamp(4rem, 9vw, 8.2rem); line-height: 0.88; letter-spacing: -0.07em; }
.lede { max-width: 33ch; margin: 28px 0; color: var(--muted); font-size: clamp(1rem, 2vw, 1.25rem); line-height: 1.55; }
.source-link { min-height: 50px; display: inline-flex; align-items: center; padding: 0 20px; border-radius: 14px; background: var(--ink); color: var(--bg); font-weight: 800; text-decoration: none; }
.source-link:active { transform: scale(0.985); }
.source-link:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 55%, transparent); outline-offset: 4px; }
figure { margin: 0; padding: 14px; border-radius: 14px; background: var(--surface); box-shadow: 0 28px 80px rgba(56, 45, 36, 0.15); transform: rotate(1.6deg); }
img { width: 100%; display: block; border-radius: 8px; }
.how-it-works { padding: 100px 0; }
.how-it-works h2 { margin: 0 0 32px; font-size: clamp(2rem, 5vw, 4rem); letter-spacing: -0.045em; }
ol { margin: 0; padding: 0; display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 12px; list-style: none; }
li { min-height: 190px; padding: 24px; display: grid; align-content: space-between; border: 1px solid var(--line); border-radius: 14px; }
li:first-child { background: var(--accent); color: #fffaf3; border-color: var(--accent); }
li strong { font-size: 1.35rem; }
li span { max-width: 28ch; line-height: 1.45; }
footer { padding: 24px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.85rem; }
@media (max-width: 760px) {
  main { width: min(100% - 28px, 620px); padding-top: 28px; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding: 50px 0 70px; }
  h1 { font-size: clamp(4rem, 20vw, 6.6rem); }
  figure { transform: none; }
  ol { grid-template-columns: 1fr; }
  li { min-height: 150px; }
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #171716; --surface: #222220; --ink: #f2eee5; --muted: #b5b0a7; --line: #45423d; --accent: #e36a52; }
  figure { box-shadow: 0 28px 80px rgba(0, 0, 0, 0.3); }
  li:first-child { color: #171716; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
