:root {
  color-scheme: dark;
  --ink: #f4f1e9;
  --muted: #aeb5c3;
  --night: #07101f;
  --night-soft: #0d182a;
  --line: rgba(219, 198, 144, .22);
  --gold: #d9c287;
  --gold-bright: #f0d99e;
  --safe: #9fd7bd;
}
* { box-sizing: border-box; }
html { min-height: 100%; background: var(--night); }
body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 80% 12%, rgba(39, 76, 118, .28), transparent 34rem),
    radial-gradient(circle at 15% 90%, rgba(145, 110, 47, .12), transparent 30rem),
    var(--night);
  font: 16px/1.6 Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}
.shell { width: min(1120px, calc(100% - 40px)); margin: 0 auto; padding: 30px 0 28px; }
.brand { display: flex; align-items: center; gap: 11px; min-height: 46px; font-size: .78rem; font-weight: 750; letter-spacing: .15em; }
.mark { width: 14px; height: 14px; border: 1px solid var(--gold); border-radius: 50%; box-shadow: 0 0 22px rgba(217,194,135,.55), inset 0 0 8px rgba(217,194,135,.3); }
.stage { margin-left: auto; color: var(--muted); border: 1px solid rgba(255,255,255,.12); border-radius: 999px; padding: 6px 10px; letter-spacing: .05em; font-size: .68rem; text-transform: uppercase; }
.hero { max-width: 850px; padding: clamp(70px, 10vw, 126px) 0 64px; }
.eyebrow { margin: 0 0 18px; color: var(--gold); font-size: .75rem; font-weight: 760; letter-spacing: .14em; text-transform: uppercase; }
h1 { max-width: 780px; margin: 0; font: 500 clamp(3rem, 8vw, 6.7rem)/.92 Georgia, "Times New Roman", serif; letter-spacing: -.055em; text-wrap: balance; }
.lede { max-width: 680px; margin: 34px 0 0; color: #cad0db; font-size: clamp(1.06rem, 2vw, 1.3rem); line-height: 1.55; }
.retained { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 44px 0; }
.retained > div { min-height: 132px; padding: 20px; display: flex; gap: 14px; border: 1px solid var(--line); border-radius: 14px; background: rgba(13,24,42,.62); backdrop-filter: blur(8px); }
.retained strong, .retained small { display: block; }
.retained strong { margin-top: 1px; font-size: .96rem; }
.retained small { margin-top: 7px; color: var(--muted); line-height: 1.45; }
.check { color: var(--safe); font-weight: 800; }
.action-block { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
button { min-height: 54px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: space-between; gap: 22px; color: #0a1320; background: var(--gold-bright); border: 0; border-radius: 9px; font: inherit; font-weight: 760; cursor: pointer; transition: transform .18s ease, background .18s ease, opacity .18s ease; }
button:not(:disabled):hover { transform: translateY(-1px); background: #ffe8ad; }
button:focus-visible, a:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
button:disabled { cursor: wait; opacity: .52; }
.status { margin: 0; max-width: 360px; color: var(--muted); font-size: .88rem; }
.status.error { color: #ffb4ad; }
.status.success { color: var(--safe); }
.note { max-width: 760px; margin: 20px 0 80px; padding: 28px 30px; border-left: 2px solid var(--gold); background: linear-gradient(90deg, rgba(217,194,135,.09), transparent); }
.note ul { margin: 0; padding-left: 18px; color: var(--muted); }
.note li + li { margin-top: 8px; }
footer { padding-top: 24px; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.11); color: var(--muted); font-size: .82rem; }
footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
a { color: var(--ink); text-underline-offset: 4px; }
noscript { display: block; padding: 16px; color: #fff; background: #851b1b; }
@media (max-width: 760px) {
  body { overflow-x: hidden; }
  .shell { width: min(100% - 28px, 620px); min-width: 0; }
  .brand { gap: 8px; }
  .stage { padding: 5px 8px; font-size: .58rem; }
  .hero { min-width: 0; padding-top: 58px; }
  h1 { max-width: 100%; font-size: clamp(2.45rem, 12vw, 3.5rem); letter-spacing: -.045em; }
  .lede { max-width: 100%; }
  .retained { grid-template-columns: minmax(0, 1fr); }
  .retained > div { min-width: 0; min-height: auto; }
  .action-block, footer { min-width: 0; align-items: stretch; flex-direction: column; }
  button { width: 100%; max-width: 100%; min-width: 0; min-height: 58px; gap: 8px; padding: 10px 16px; font-size: .91rem; text-align: left; }
  button span:first-child { min-width: 0; white-space: normal; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
