:root {
  --red: #E42728;
  --red-hover: #C91F20;
  --ink: #1C2237;
  --muted: #4A5268;
  --line: #D6DEE8;
  --surface: #FFFFFF;
  --tint: #F5F7FA;
  --tint-2: #E8EDF5;
  --radius: 14px;
  --display: "Sora", system-ui, sans-serif;
  --body: "Source Sans 3", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font: 400 18px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 600; }
h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(720px, 100% - 32px); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; z-index: 20; }

mark.todo { background: #FFE58A; color: inherit; padding: 0 4px; border-radius: 4px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 2px solid var(--red);
  background: var(--red); color: #fff; font: 600 1rem/1 var(--body); text-decoration: none; cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}
.btn:hover { background: var(--red-hover); border-color: var(--red-hover); }
.btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--tint); border-color: var(--ink); color: var(--ink); }
.btn-small { min-height: 40px; padding: 0 16px; font-size: .95rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Top bar */
.topbar { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 16px; }
.brand { display: flex; align-items: baseline; gap: 8px; text-decoration: none; }
.brand-name { font: 700 1.2rem/1 var(--display); letter-spacing: -0.02em; }
.brand-by { display: inline-flex; align-items: center; gap: 6px; font-size: .9rem; color: var(--muted); }
.brand-by img { height: 16px; width: auto; transform: translateY(2px); }
.topnav { display: flex; align-items: center; gap: 22px; font-size: 1rem; }
.topnav a:not(.btn) { text-decoration: none; color: var(--muted); }
.topnav a:not(.btn):hover { color: var(--ink); }

/* Hero */
.hero { padding: 72px 0 40px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.lead { font-size: 1.25rem; color: var(--muted); max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 18px; }
.note { font-size: 1rem; color: var(--muted); }
.hero-art { position: relative; height: 560px; }
.fan { position: absolute; width: 58%; border-radius: 10px; box-shadow: 0 24px 60px rgba(28,34,55,.18), 0 2px 6px rgba(28,34,55,.08); }
.fan-1 { left: 0; top: 70px; transform: rotate(-7deg); }
.fan-2 { right: 0; top: 50px; transform: rotate(6deg); }
.fan-3 { left: 21%; top: 0; z-index: 2; }

/* Sections */
.section { padding: 88px 0; }
.section-tint { background: var(--tint); }
.section-lead { color: var(--muted); font-size: 1.15rem; max-width: 40em; margin-bottom: 40px; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; align-items: start; }
.gallery figure { margin: 0; }
.gallery a { display: block; border-radius: 10px; overflow: hidden; box-shadow: 0 10px 30px rgba(28,34,55,.12); transition: transform .2s, box-shadow .2s; }
.gallery a:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(28,34,55,.18); }
.gallery a:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.gallery img { aspect-ratio: 760 / 1150; object-fit: cover; object-position: top; width: 100%; }
.gallery figcaption { margin-top: 14px; font-size: 1rem; color: var(--muted); }
.gallery figcaption strong { color: var(--ink); }

.steps { list-style: none; padding: 0; margin: 32px 0 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.step-n { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--red); color: #fff; font: 600 1rem/1 var(--display); margin-bottom: 16px; }
.steps p { color: var(--muted); margin: 0; }
.behind { max-width: 46em; color: var(--muted); border-left: 3px solid var(--red); padding-left: 18px; }

/* Form */
.form-wrap { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; align-items: start; }
.form-intro p { color: var(--muted); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: 0 10px 30px rgba(28,34,55,.06); }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; }
.optional { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px;
  font: inherit; color: var(--ink); background: #fff;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(228,39,40,.25); border-color: var(--red); }
.hint { font-size: .9rem; color: var(--muted); margin: 6px 0 0; }
.turnstile { margin: 4px 0 16px; min-height: 65px; }
.form-msg { margin: 16px 0 0; padding: 12px 14px; border-radius: 10px; font-size: 1rem; }
.form-msg.ok { background: #E3F7EE; color: #11603F; }
.form-msg.error { background: #FDECEC; color: #8F1414; }

.waitlist-mount { margin-top: 24px; }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
details:first-of-type { border-top: 1px solid var(--line); }
summary { cursor: pointer; font: 600 1.1rem/1.4 var(--display); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--red); font-size: 1.4rem; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { margin: 12px 0 0; color: var(--muted); }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 28px 0; font-size: .95rem; color: var(--muted); }
.footer-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* Consent */
.consent { position: fixed; left: 16px; bottom: 16px; z-index: 30; max-width: 380px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; box-shadow: 0 16px 40px rgba(28,34,55,.18); font-size: .95rem; }
.consent p { margin: 0 0 10px; }
.consent-actions { display: flex; gap: 10px; }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(900px, 94vw); max-height: 94vh; overflow: auto; }
.lightbox::backdrop { background: rgba(14,17,26,.85); }
.lightbox img { width: 100%; border-radius: 8px; }
.lightbox-close { position: sticky; top: 8px; float: right; margin: 8px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; font-size: 1.5rem; cursor: pointer; z-index: 1; }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .form-wrap { grid-template-columns: 1fr; }
  .hero-art { height: 420px; max-width: 520px; width: 100%; margin-inline: auto; }
  .gallery, .steps { grid-template-columns: 1fr; }
  .gallery { max-width: 480px; margin-inline: auto; }
  .topnav a:not(.btn) { display: none; }
}
@media (max-width: 520px) {
  body { font-size: 17px; }
  .hero { padding-top: 40px; }
  .section { padding: 64px 0; }
  .hero-art { height: 340px; }
  .card { padding: 22px; }
  .cta-row .btn { width: 100%; }
  .brand-by { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .gallery a { transition: none; }
}
