/* PreFlight landing styles. External (not inline) so the CSP can use style-src 'self'. */
:root {
  --bg: #0f1620;
  --panel: #18222f;
  --panel-2: #1f2c3c;
  --ink: #eef3f8;
  --muted: #9fb0c3;
  --line: #2a3a4d;
  --accent: #4cc2a0;
  --accent-ink: #06231b;
  --warn: #e8b04b;
  --max: 720px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
header.hero { padding: 56px 0 28px; }
.kicker {
  display: inline-block; font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); font-weight: 700; margin-bottom: 18px;
}
h1 { font-size: clamp(28px, 6vw, 42px); line-height: 1.12; margin: 0 0 18px; letter-spacing: -0.02em; }
.sub { font-size: clamp(17px, 2.4vw, 19px); color: var(--muted); margin: 0 0 28px; }

/* Form */
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: 16px;
  padding: 22px; margin: 8px 0 10px;
}
label { display: block; font-size: 14px; font-weight: 600; margin: 14px 0 6px; }
label:first-child { margin-top: 0; }
input[type=text], input[type=email], input[type=date], select {
  width: 100%; padding: 13px 14px; font-size: 16px; color: var(--ink);
  background: var(--panel-2); border: 1px solid var(--line); border-radius: 10px;
  appearance: none;
}
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%239fb0c3' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px;
}
select:invalid { color: var(--muted); }
input:focus, select:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
button {
  margin-top: 18px; width: 100%; padding: 15px 18px; font-size: 17px; font-weight: 700;
  color: var(--accent-ink); background: var(--accent); border: 0; border-radius: 10px; cursor: pointer;
}
button:hover { filter: brightness(1.05); }
button:disabled { opacity: .6; cursor: progress; }
.microcopy { font-size: 13px; color: var(--muted); margin: 12px 2px 0; }
.err { color: var(--warn); font-size: 14px; margin-top: 12px; min-height: 1px; }
.turnstile { margin-top: 18px; min-height: 65px; }

/* Pricing screen */
.pricing h2 { font-size: 22px; margin: 0 0 6px; }
.pricing p { color: var(--muted); margin: 0 0 18px; }
.choices { display: flex; gap: 10px; }
.choices button { margin-top: 0; background: var(--panel-2); color: var(--ink); border: 1px solid var(--line); }
.choices button:hover { border-color: var(--accent); }
.thanks { color: var(--accent); font-weight: 600; }
[hidden] { display: none !important; }

/* Sections */
section { padding: 34px 0; border-top: 1px solid var(--line); }
h2.section { font-size: 22px; margin: 0 0 14px; letter-spacing: -0.01em; }
h3 { font-size: 17px; margin: 22px 0 6px; }
.muted { color: var(--muted); }

.teaser {
  background: var(--panel); border: 1px solid var(--line); border-left: 3px solid var(--accent);
  border-radius: 12px; padding: 18px 20px;
}
.teaser .posture { font-weight: 700; color: var(--warn); }
.cut { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line); font-weight: 600; }
.cut a { color: var(--accent); }

details { border-bottom: 1px solid var(--line); padding: 14px 0; }
details summary { cursor: pointer; font-weight: 600; list-style: none; }
details summary::-webkit-details-marker { display: none; }
details summary::before { content: "+ "; color: var(--accent); font-weight: 700; }
details[open] summary::before { content: "– "; }
details p { color: var(--muted); margin: 10px 0 0; }

footer { padding: 28px 0 56px; color: var(--muted); font-size: 14px; }
footer a { color: var(--muted); }
a { color: var(--accent); }

/* Smooth in-page jumps (the "form's at the top" link). */
html { scroll-behavior: smooth; }
