/* CrashTest EA - site styles. Brand: yellow #FFC800, black #111111, cream #F5F1E6, Space Grotesk. */
:root {
  --yellow: #FFC800;
  --black: #111111;
  --ink: #1c1b19;
  --cream: #F5F1E6;
  --paper: #FBF9F4;
  --muted: #5f5b55;
  --line: #e3ddd0;
  --red: #c83232;
  --green: #2ea05a;
  --radius: 14px;
  --max: 1080px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* nav */
.nav { background: var(--black); color: var(--cream); position: sticky; top: 0; z-index: 10; }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 19px; letter-spacing: -0.3px; white-space: nowrap; }
.brand img { width: 34px; height: 34px; }
.brand b { color: var(--yellow); font-weight: 600; }
.nav ul { list-style: none; display: flex; gap: 22px; margin: 0; padding: 0; }
.nav ul a { text-decoration: none; color: #cfc9bd; font-size: 15px; }
.nav ul a:hover, .nav ul a[aria-current="page"] { color: var(--yellow); }
.hazard { height: 8px; background: repeating-linear-gradient(45deg, var(--black) 0 10px, var(--yellow) 10px 20px); }

/* hero */
.hero { background: var(--black); color: var(--cream); padding: 72px 0 80px; }
.hero .wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
.kicker { display: inline-block; background: var(--yellow); color: var(--black); font-size: 13px; font-weight: 600; letter-spacing: 1px; padding: 4px 10px; border-radius: 6px; text-transform: uppercase; }
.hero h1 { font-size: clamp(36px, 5.4vw, 60px); line-height: 1.05; letter-spacing: -1.5px; margin: 18px 0 18px; font-weight: 600; }
.hero h1 span { color: var(--yellow); }
.hero p.lead { color: #bdb7aa; font-size: 19px; max-width: 34ch; margin: 0 0 28px; }
.hero .mark { width: 100%; max-width: 320px; justify-self: center; animation: spin-in 1.2s ease-out both; }
@keyframes spin-in { from { transform: rotate(-60deg) scale(.9); } to { transform: rotate(0) scale(1); } }
@media (prefers-reduced-motion: reduce) { .hero .mark { animation: none; } }

/* buttons */
.btn { display: inline-block; text-decoration: none; font-weight: 600; padding: 13px 22px; border-radius: 10px; border: 2px solid var(--yellow); }
.btn.primary { background: var(--yellow); color: var(--black); }
.btn.ghost { color: var(--yellow); margin-left: 10px; }
.btn:hover { filter: brightness(1.05); transform: translateY(-1px); }

/* sections */
section { padding: 72px 0; }
section.alt { background: var(--cream); }
h2 { font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -0.8px; line-height: 1.15; margin: 0 0 14px; font-weight: 600; }
.sub { color: var(--muted); max-width: 62ch; margin: 0 0 36px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { margin: 0 0 8px; font-size: 20px; font-weight: 600; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.num { display: inline-flex; width: 34px; height: 34px; border-radius: 50%; background: var(--black); color: var(--yellow); align-items: center; justify-content: center; font-weight: 600; margin-bottom: 12px; }

/* promise strip */
.promise { background: var(--yellow); color: var(--black); padding: 36px 0; }
.promise .wrap { display: flex; flex-wrap: wrap; gap: 14px 40px; align-items: center; justify-content: space-between; }
.promise strong { font-size: 26px; letter-spacing: -0.5px; }
.promise ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px 26px; font-weight: 500; }
.promise li::before { content: "✓ "; }

/* grade sample */
.gradecard { display: grid; grid-template-columns: 150px 1fr; gap: 24px; background: var(--black); color: var(--cream); border-radius: var(--radius); padding: 26px; }
.grade { width: 150px; height: 150px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 84px; font-weight: 600; color: var(--black); }
.g-a { background: var(--green); } .g-f { background: var(--red); } .g-c { background: #e6aa28; }
.gradecard dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin: 10px 0 0; font-size: 15px; }
.gradecard dt { color: #9d978b; } .gradecard dd { margin: 0; }
.warn { color: #ffb4b4; font-size: 15px; margin: 14px 0 0; padding-left: 18px; }
.warn li { margin: 2px 0; }
.tag { font-size: 12px; color: #9d978b; text-transform: uppercase; letter-spacing: 1px; }

/* signup */
.signup { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.signup input { flex: 1 1 260px; padding: 13px 14px; border-radius: 10px; border: 1px solid var(--line); font: inherit; }
.note { font-size: 14px; color: var(--muted); margin-top: 10px; }

/* page header */
.pagehead { background: var(--black); color: var(--cream); padding: 56px 0 46px; }
.pagehead h1 { font-size: clamp(32px, 4.6vw, 48px); margin: 12px 0 8px; letter-spacing: -1px; font-weight: 600; }
.pagehead p { color: #bdb7aa; margin: 0; max-width: 60ch; }
.prose { max-width: 760px; }
.prose h2 { font-size: 26px; margin-top: 36px; }
.prose p, .prose li { color: #33302c; }
.soon { display: inline-block; background: var(--black); color: var(--yellow); font-size: 12px; padding: 3px 9px; border-radius: 6px; letter-spacing: 1px; text-transform: uppercase; }
.drop { border: 2px dashed #c9c1b0; border-radius: var(--radius); padding: 48px 20px; text-align: center; color: var(--muted); background: #fff; }

/* footer */
footer { background: var(--black); color: #9d978b; padding: 40px 0; font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; }
footer a { color: #cfc9bd; text-decoration: none; margin-right: 16px; }
footer a:hover { color: var(--yellow); }
footer .small { max-width: 640px; margin-top: 10px; line-height: 1.5; }

@media (max-width: 820px) {
  .hero .wrap, .grid3, .grid2 { grid-template-columns: 1fr; }
  .hero .mark { max-width: 140px; order: -1; justify-self: start; }
  .hero { padding: 40px 0 56px; }
  .brand { font-size: 17px; } .brand img { width: 28px; height: 28px; }
  .nav ul a { font-size: 14px; }
  .nav ul { gap: 14px; }
  .nav ul li.hide-sm { display: none; }
  .gradecard { grid-template-columns: 1fr; }
  .btn.ghost { margin: 10px 0 0; }
}
