:root {
  color-scheme: dark;
  --black: #080808;
  --panel: #141414;
  --panel-2: #1c1c1c;
  --ink: #111111;
  --paper: #faf8f2;
  --subtle: #eae7e0;
  --body: #dedede;
  --muted: #b3b3b3;
  --yellow: #ffd447;
  --red: #e52e37;
  --orange: #f58220;
  --green: #159957;
  --blue: #2274d4;
  --purple: #8e41b5;
  --line: #2a2a2a;
  --line-soft: #222222;
  --radius: 16px;
  --radius-sm: 9px;
  --shadow: 0 30px 70px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  --gutter: clamp(18px, 4vw, 64px);
  --max: 1240px;
  --display: "Arial Black", "Helvetica Neue", Impact, sans-serif;
  --text: "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  --accent: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  overflow-x: clip;
  background:
    radial-gradient(1100px 620px at 82% -8%, rgba(255, 212, 71, 0.09), transparent 62%),
    radial-gradient(900px 520px at -10% 18%, rgba(34, 116, 212, 0.08), transparent 60%),
    radial-gradient(700px 500px at 50% 110%, rgba(142, 65, 181, 0.08), transparent 65%),
    var(--black);
  color: var(--body);
  font: 16px/1.6 var(--text);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--yellow); text-underline-offset: 3px; }
a:hover { color: var(--paper); }
img { max-width: 100%; display: block; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.15em; }

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--paper); color: var(--ink); padding: 12px 18px; border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 780px; }

/* Masthead */
.masthead {
  position: sticky; top: 0; z-index: 40;
  background: rgba(8, 8, 8, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: 76px;
}
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo img { height: 46px; width: auto; }
.navlinks { display: flex; flex-wrap: wrap; gap: 6px 26px; justify-content: flex-end; }
.navlinks a {
  color: var(--muted); text-decoration: none;
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600;
  padding: 10px 0; min-height: 44px; display: inline-flex; align-items: center;
}
.navlinks a:hover, .navlinks a[aria-current="page"] { color: var(--paper); }
.navlinks a[aria-current="page"] { box-shadow: 0 2px 0 var(--yellow); }

/* Typography */
h1, h2, h3 {
  font-family: var(--display);
  color: var(--paper);
  text-transform: uppercase;
  letter-spacing: -0.015em;
  line-height: 0.98;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.5rem, 6.4vw, 5.4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); }
p { max-width: 68ch; }
.lede { font-size: clamp(1.08rem, 1.8vw, 1.32rem); color: var(--subtle); max-width: 60ch; }
.eyebrow {
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--yellow); font-weight: 700; margin: 0 0 14px;
}
.eyebrow::before {
  content: ""; display: inline-block; width: 26px; height: 2px;
  background: var(--yellow); vertical-align: middle; margin-right: 10px;
}
.status {
  display: inline-block; margin: 6px 0 20px; padding: 7px 14px;
  border: 1px solid rgba(255, 212, 71, 0.45); border-radius: 999px;
  color: var(--yellow); font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase;
}
.note { color: var(--muted); font-size: 0.92rem; }
.meta { color: var(--muted); font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; }
.help { color: var(--muted); font-size: 0.82rem; margin: 6px 0 0; }
.script { font-family: var(--accent); font-style: italic; color: var(--yellow); }

/* Hero */
.hero {
  display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center;
  gap: clamp(28px, 5vw, 72px);
  padding-block: clamp(56px, 9vw, 120px);
  max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter);
}
.hero-copy p { color: var(--body); }
.hero-copy .lede { color: var(--subtle); margin-bottom: 1.1em; }
.hero-art {
  position: relative; min-height: clamp(340px, 46vw, 560px); border-radius: 24px;
  isolation: isolate; overflow: hidden;
}
.art-panel {
  position: absolute; border-radius: 18px; border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.55);
  display: flex; align-items: flex-end; padding: 18px;
  overflow: hidden;
}
.art-panel span {
  position: relative; z-index: 2; color: var(--paper);
  font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6);
}
.art-panel::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.6));
}
.art-panel-a {
  inset: 4% 26% 42% 0;
  background:
    radial-gradient(120% 90% at 15% 10%, rgba(255, 212, 71, 0.9), transparent 55%),
    radial-gradient(110% 100% at 90% 80%, rgba(229, 46, 55, 0.85), transparent 60%),
    #2a1608;
  transform: rotate(-2.5deg);
}
.art-panel-b {
  inset: 40% 0 8% 34%;
  background:
    radial-gradient(120% 100% at 80% 10%, rgba(34, 116, 212, 0.92), transparent 58%),
    radial-gradient(120% 120% at 10% 90%, rgba(21, 153, 87, 0.85), transparent 60%),
    #08182a;
  transform: rotate(2.5deg);
}
.art-panel-c {
  inset: 10% 0 52% 62%;
  background:
    radial-gradient(130% 110% at 20% 20%, rgba(142, 65, 181, 0.95), transparent 60%),
    radial-gradient(110% 110% at 90% 90%, rgba(245, 130, 32, 0.8), transparent 58%),
    #1a0f24;
  transform: rotate(3.5deg);
}
.art-glow {
  position: absolute; inset: 18% 12% 12% 18%; z-index: -1;
  background: radial-gradient(closest-side, rgba(255, 212, 71, 0.22), transparent 70%);
  filter: blur(30px);
}

/* Buttons and links */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px;
  background: var(--paper); color: var(--ink);
  border: 1px solid var(--paper); border-radius: var(--radius-sm);
  font: 700 0.78rem/1 var(--text); letter-spacing: 0.13em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.btn:hover { background: #fff; color: var(--ink); transform: translateY(-2px); }
.btn.outline { background: transparent; color: var(--paper); border-color: rgba(250, 248, 242, 0.4); }
.btn.outline:hover { background: rgba(250, 248, 242, 0.08); color: var(--paper); }
.btn[disabled] { opacity: 0.55; cursor: progress; transform: none; }
.text-link { color: var(--yellow); font-weight: 600; text-decoration: none; }
.text-link:hover { color: var(--paper); }

/* Sections */
.section { padding-block: clamp(56px, 8vw, 104px); }
.section-alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 30%);
  border-block: 1px solid var(--line-soft);
}
.section-head { max-width: 760px; margin-bottom: clamp(26px, 4vw, 44px); }
.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
.split-narrow { max-width: 1040px; margin-inline: auto; }
.split-copy { padding-top: 6px; }

/* Panels */
.panel {
  background: linear-gradient(160deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(22px, 3.4vw, 40px);
}
.panel-label {
  font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--yellow); font-weight: 700; margin: 0 0 12px;
}
.categories-panel { max-width: 100%; }
.category-list {
  list-style: none; padding: 0; margin: 0 0 18px;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 22px;
}
.category-list li {
  position: relative; padding-left: 18px; color: var(--subtle); font-size: 0.96rem;
}
.category-list li::before {
  content: ""; position: absolute; left: 0; top: 0.62em;
  width: 7px; height: 7px; border-radius: 2px;
  background: linear-gradient(135deg, var(--yellow), var(--red));
}
.checks { list-style: none; padding: 0; margin: 18px 0 22px; }
.checks li { position: relative; padding-left: 28px; margin-bottom: 8px; color: var(--subtle); }
.checks li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--yellow); font-weight: 700;
}

/* Forms */
.form-panel h3 { margin-bottom: 6px; }
.form-intro { color: var(--muted); font-size: 0.94rem; }
.form { display: grid; gap: 14px; margin-top: 18px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label, .check label { font-size: 0.86rem; color: var(--subtle); }
.field label { font-weight: 600; }
input[type="text"], input[type="email"], input[type="tel"], input[type="url"],
select, textarea {
  width: 100%; padding: 11px 13px;
  background: #0e0e0e; color: var(--paper);
  border: 1px solid #333; border-radius: var(--radius-sm);
  font: inherit; font-size: 0.95rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
textarea { resize: vertical; min-height: 88px; }
input:focus, select:focus, textarea:focus {
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(255, 212, 71, 0.16);
  outline: none;
}
input::placeholder, textarea::placeholder { color: #6f6f6f; }
input[type="file"] {
  width: 100%; padding: 12px; background: #0e0e0e;
  border: 1px dashed #3a3a3a; border-radius: var(--radius-sm); color: var(--muted);
  font-size: 0.88rem;
}
input[type="file"]::file-selector-button {
  margin-right: 12px; padding: 8px 14px; border: 0; border-radius: 6px;
  background: var(--paper); color: var(--ink); font-weight: 700; cursor: pointer;
}
.check { display: flex; gap: 10px; align-items: flex-start; }
.check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--yellow); flex: 0 0 auto; }
.check label { line-height: 1.45; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.turnstile { min-height: 0; }
.form-status { min-height: 1.2em; margin: 0; font-size: 0.9rem; }
.form-status.is-success { color: #7ee2a8; }
.form-status.is-error { color: #ff8a90; }

/* Rainbow rule */
.rainbow-rule {
  height: 5px; width: 100%;
  background: linear-gradient(90deg, var(--red), var(--orange), var(--yellow), var(--green), var(--blue), var(--purple));
  opacity: 0.85;
}

/* Page and footer */
.page { padding-block: clamp(44px, 7vw, 88px); }
.page h2 { margin-top: 1.7em; }
.page ul li { margin-bottom: 6px; }
.footer { border-top: 1px solid var(--line-soft); padding-block: 30px; }
.footer-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  color: var(--muted); font-size: 0.82rem;
}
.footer a { color: var(--muted); text-decoration: none; margin-right: 18px; }
.footer a:hover { color: var(--paper); }
.footer .tag { letter-spacing: 0.16em; text-transform: uppercase; font-size: 0.66rem; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.footer-brand img { height: 34px; width: auto; }

/* Responsive */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; }
  .hero-art { min-height: 320px; order: -1; }
  .split { grid-template-columns: 1fr; }
  .category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .nav { flex-wrap: wrap; gap: 0; min-height: 0; padding-block: 10px; }
  .logo img { height: 38px; }
  .navlinks { width: 100%; justify-content: flex-start; gap: 2px 18px; }
  .navlinks a { font-size: 0.66rem; }
  .field-grid { grid-template-columns: 1fr; }
  .category-list { grid-template-columns: 1fr; }
  .hero-art { min-height: 260px; }
  .art-panel-a { inset: 4% 30% 44% 0; }
  .art-panel-b { inset: 42% 0 6% 26%; }
  .art-panel-c { inset: 8% 0 56% 56%; }
  .btn { width: 100%; }
  .actions .btn { width: auto; flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.001ms !important; animation-duration: 0.001ms !important; }
}
