:root {
  --ivory: #f6f1e3;
  --ink: #0e0f0e;
  --orange: #ff400a;
  --muted: #ddd8cb;
  --paper: #fffdf7;
  color-scheme: light;
  font-family: ui-rounded, "SF Pro Rounded", "Avenir Next", system-ui, sans-serif;
}

@font-face {
  font-family: "Russo One";
  src: url("/RussoOne-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

* { box-sizing: border-box; }

html { background: var(--ivory); }

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(14,15,14,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14,15,14,.045) 1px, transparent 1px),
    var(--ivory);
  background-size: 32px 32px;
  line-height: 1.55;
}

a { color: inherit; }

.shell { width: min(1080px, calc(100% - 32px)); margin: 0 auto; }

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 2px solid var(--ink);
}

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: "Russo One", ui-rounded, system-ui, sans-serif; font-weight: 400; letter-spacing: .02em; }
.brand img { width: 42px; height: 42px; border-radius: 10px; }
nav { display: flex; gap: 18px; font-size: .95rem; font-weight: 750; }
nav a { text-decoration-thickness: 2px; text-underline-offset: 4px; }

main { padding: 72px 0 96px; }

.eyebrow { margin: 0 0 10px; color: var(--orange); font-size: .83rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
h1, h2 { margin: 0; font-family: "Russo One", ui-rounded, system-ui, sans-serif; font-weight: 400; letter-spacing: -.02em; line-height: .96; }
h1 { max-width: 820px; font-size: clamp(3.1rem, 9vw, 7.4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3.2rem); }
.lede { max-width: 700px; margin: 28px 0 0; font-size: clamp(1.1rem, 2.2vw, 1.4rem); }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { display: inline-block; padding: 13px 18px; border: 2px solid var(--ink); border-radius: 12px; font-weight: 850; text-decoration: none; box-shadow: 4px 4px 0 var(--ink); }
.button.primary { color: white; background: var(--orange); }
.button.secondary { background: var(--paper); }

.panel { margin-top: 64px; padding: clamp(24px, 5vw, 54px); color: white; background: var(--ink); border-radius: 26px; }
.panel strong { color: var(--orange); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.card { padding: 22px; border: 2px solid var(--ink); border-radius: 18px; background: rgba(255,253,247,.86); }
.card p:last-child { margin-bottom: 0; }

.document { max-width: 760px; }
.document h1 { font-size: clamp(2.8rem, 8vw, 5.8rem); }
.document h2 { margin-top: 42px; font-size: 1.7rem; line-height: 1.1; }
.document h3 { margin: 28px 0 4px; }
.document p, .document li { font-size: 1.04rem; }
.document .updated { margin-top: 18px; color: #53534e; }
.notice { margin: 28px 0; padding: 18px 20px; border-left: 7px solid var(--orange); background: var(--paper); }

footer { padding: 28px 0 46px; border-top: 2px solid var(--ink); font-size: .9rem; }
footer .shell { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }

@media (max-width: 720px) {
  header { align-items: flex-start; }
  nav { flex-direction: column; gap: 7px; text-align: right; }
  main { padding-top: 48px; }
  .grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: no-preference) {
  .button { transition: transform .16s ease, box-shadow .16s ease; }
  .button:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
}
