/* Tokens copied from the live www.satorixr.ai :root (Inter, #000 page, #f4d966 gold, neutral grey ramp). */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter-latin-wght-normal.woff2") format("woff2");
}

:root {
  --gold: #f4d966;
  --gold-light: #f8e898;
  --black: #000;
  --g900: #171717;
  --g800: #262626;
  --g700: #404040;
  --g400: #a3a3a3;
  --g300: #d4d4d4;
  --danger-border: #e61c1c;
  --danger-text: #ff7b7b;
  --font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius-md: 10px;
  --radius-lg: 16px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--black) radial-gradient(60% 38% at 50% 0%, rgba(244, 217, 102, 0.1), transparent 70%) no-repeat;
  color: #fff;
  font-family: var(--font-family);
  -webkit-font-smoothing: antialiased;
  padding: 32px 16px 40px;
}

[hidden] { display: none !important; }

/* ---------- page chrome ---------- */
.site-header { width: 100%; max-width: 520px; margin: 0 auto 28px; }
.logo { display: inline-flex; }
.logo img { display: block; height: 30px; width: auto; }
.stage { width: 100%; max-width: 520px; margin: 0 auto; flex: 1; }
.site-footer { width: 100%; max-width: 520px; margin: 40px auto 0; padding-top: 24px; border-top: 1px solid var(--g800); display: flex; justify-content: center; }
.site-link {
  color: var(--g300); font-size: 14px; font-weight: 500; text-decoration: none;
  border-bottom: 1px solid var(--g700); padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.site-link:hover { color: var(--gold); border-color: var(--gold); }
.site-link:focus-visible, .logo:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 4px; }

/* ---------- card ---------- */
.card {
  background: var(--g900); border: 1px solid var(--g800); border-radius: var(--radius-lg);
  padding: 36px 32px; box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6);
}
.bar { width: 40px; height: 3px; border-radius: 2px; background: var(--gold); margin-bottom: 18px; }
h1 { font-size: 24px; line-height: 1.25; font-weight: 700; margin: 0 0 26px; letter-spacing: -0.01em; }

/* ---------- fields ---------- */
.row { margin: 0 0 18px; }
.l { display: block; font-size: 14px; font-weight: 500; color: #fff; margin: 0 0 8px; }
.req { color: var(--gold); margin-left: 2px; }
.in {
  width: 100%; height: 46px; background: #0a0a0a; border: 1px solid var(--g700); border-radius: var(--radius-md);
  color: #fff; font: 400 16px var(--font-family); padding: 0 14px; outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.in:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(244, 217, 102, 0.25); }
.in[aria-invalid="true"] { border-color: var(--danger-border); }
.in[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(230, 28, 28, 0.25); }
.err { color: var(--danger-text); font-size: 13px; margin: 7px 0 0; }
.form-err {
  color: var(--danger-text); font-size: 14px; line-height: 1.5; margin: 18px 0 0;
  padding: 12px 14px; border: 1px solid rgba(230, 28, 28, 0.5); border-radius: var(--radius-md); background: rgba(230, 28, 28, 0.08);
}

/* ---------- checkboxes (real inputs, visually replaced) ---------- */
.chk-group { margin: 0 0 18px; }
.chk { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: 14px; font-weight: 500; color: #fff; margin: 0; position: relative; }
.hint { margin: 4px 0 0 32px; font-size: 13px; line-height: 1.5; color: var(--g400); } /* 32px = checkbox 20px + 12px gap, so it lines up under the label text */
.chk-in { position: absolute; opacity: 0; width: 20px; height: 20px; margin: 0; cursor: pointer; }
.box {
  flex: none; width: 20px; height: 20px; margin-top: 1px; border: 1px solid var(--g700); border-radius: 6px; background: #0a0a0a;
  display: grid; place-items: center; transition: background 0.15s ease, border-color 0.15s ease;
}
.chk-in:checked + .box { background: var(--gold); border-color: var(--gold); }
.chk-in:checked + .box::after { content: ""; width: 10px; height: 6px; border-left: 2px solid #000; border-bottom: 2px solid #000; transform: translateY(-1px) rotate(-45deg); }
.chk-in:focus-visible + .box { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ---------- honeypot: off-screen, NOT display:none (bots skip display:none fields) ---------- */
.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.ts { margin-top: 8px; min-height: 0; }

/* ---------- buttons ---------- */
.actions { display: flex; gap: 12px; margin-top: 26px; }
.btn { height: 46px; border-radius: var(--radius-md); font: 600 15px var(--font-family); padding: 0 22px; cursor: pointer; transition: background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease; }
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.btn.primary { background: var(--gold); color: #000; border: 1px solid var(--gold); flex: 1; }
.btn.primary:hover:not(:disabled) { background: var(--gold-light); border-color: var(--gold-light); }
.btn:disabled { opacity: 0.6; cursor: not-allowed; }

/* ---------- submitted ---------- */
.done { text-align: center; padding: 56px 24px; }
.tick { width: 56px; height: 56px; border-radius: 50%; background: rgba(244, 217, 102, 0.12); border: 1px solid var(--gold); margin: 0 auto 20px; display: grid; place-items: center; }
.tick::after { content: ""; width: 18px; height: 10px; border-left: 3px solid var(--gold); border-bottom: 3px solid var(--gold); transform: translateY(-2px) rotate(-45deg); }
.done h2 { font-size: 22px; margin: 0 0 10px; outline: none; }
.done p { color: var(--g300); font-size: 15px; line-height: 1.55; margin: 0; }

@media (max-width: 480px) {
  body { padding: 24px 16px 32px; }
  .card { padding: 28px 20px; }
  h1 { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
