:root {
  --navy: #03101e;
  --navy-2: #071b2d;
  --cream: #fffaf2;
  --muted: rgba(255, 250, 242, 0.68);
  --orange: #f07832;
  --teal: #2cb8ad;
  --line: rgba(255,255,255,.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--navy); color: var(--cream); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
button, input, select { font: inherit; }

.hero { min-height: 100svh; position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(390px, .62fr); grid-template-rows: auto 1fr auto; padding: 34px clamp(26px, 5vw, 78px) 28px; gap: 26px 5vw; isolation: isolate; }
.visual { position: absolute; inset: 0; z-index: -3; background: url('./frontliner-hero.png') center right 22% / cover no-repeat; transform: scale(1.01); }
.shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(2,10,20,.98) 0%, rgba(2,10,20,.89) 38%, rgba(2,10,20,.46) 68%, rgba(2,10,20,.65) 100%), linear-gradient(180deg, rgba(3,16,30,.25), rgba(3,16,30,.18) 58%, rgba(3,16,30,.86)); }
.noise { position: fixed; inset: 0; z-index: 20; pointer-events: none; opacity: .14; mix-blend-mode: soft-light; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.28'/%3E%3C/svg%3E"); }

.topbar { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { width: min(280px, 48vw); height: auto; display: block; }
.eyebrow { color: rgba(255,250,242,.62); font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }

.message { align-self: center; max-width: 760px; padding: 40px 0 60px; }
.manifesto-label { display: flex; align-items: center; gap: 14px; color: #ff9b55; font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.manifesto-label span { display: block; width: 48px; height: 2px; background: var(--orange); box-shadow: 0 0 14px rgba(240,120,50,.6); }
h1 { margin: 0 0 24px; max-width: 740px; font-family: "Arial Narrow", Impact, sans-serif; font-size: clamp(46px, 5vw, 83px); line-height: .91; letter-spacing: -.045em; text-transform: uppercase; text-wrap: balance; }
h1 em { display: block; color: #ff934c; font-style: normal; }
.lead { max-width: 680px; margin: 0; color: var(--muted); font-size: clamp(17px, 1.35vw, 21px); line-height: 1.55; }
.lead strong { color: var(--cream); }
.positioning { margin-top: 36px; padding-top: 26px; border-top: 1px solid var(--line); display: flex; align-items: flex-start; gap: 18px; max-width: 620px; }
.positioning-number { color: var(--orange); font-size: 12px; font-weight: 900; letter-spacing: .16em; }
.positioning p { margin: 0; color: rgba(255,250,242,.66); line-height: 1.45; }
.positioning strong { color: var(--cream); }

.form-card { align-self: center; justify-self: end; width: min(100%, 500px); padding: clamp(28px, 3vw, 48px); background: linear-gradient(145deg, rgba(8,30,48,.92), rgba(3,16,29,.96)); border: 1px solid rgba(255,255,255,.15); box-shadow: 0 36px 90px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.07); backdrop-filter: blur(18px); position: relative; }
.form-card:before { content: ""; position: absolute; left: -1px; top: 52px; width: 3px; height: 86px; background: linear-gradient(var(--orange), var(--teal)); box-shadow: 0 0 20px rgba(44,184,173,.5); }
.form-kicker { color: #ff9b55; font-size: 11px; font-weight: 900; letter-spacing: .2em; text-transform: uppercase; }
.form-heading h2, .success h2 { margin: 12px 0 10px; font-family: "Arial Narrow", Impact, sans-serif; font-size: clamp(31px, 3vw, 45px); line-height: 1; letter-spacing: -.025em; text-transform: uppercase; }
.form-heading p, .success p { margin: 0; color: var(--muted); line-height: 1.5; }
.progress { height: 3px; background: rgba(255,255,255,.1); margin: 28px 0; overflow: hidden; }
.progress span { display: block; width: 50%; height: 100%; background: linear-gradient(90deg, var(--orange), var(--teal)); transition: width .3s ease; }
.form-step { display: none; }
.form-step.active { display: block; animation: enter .28s ease both; }
.step-count { display: block; margin-bottom: 8px; color: rgba(255,255,255,.38); font-size: 10px; font-weight: 900; letter-spacing: .18em; }
@keyframes enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
label:not(.consent) { display: block; margin: 11px 0 12px; font-size: clamp(18px, 1.6vw, 23px); line-height: 1.25; font-weight: 750; color: rgba(255,250,242,.94); }
input, select { width: 100%; min-height: 51px; padding: 0 15px; color: var(--cream); background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.15); border-radius: 0; outline: none; transition: border .2s, background .2s, box-shadow .2s; }
input::placeholder { color: rgba(255,255,255,.34); }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #c8d0d6 50%), linear-gradient(135deg, #c8d0d6 50%, transparent 50%); background-position: calc(100% - 19px) 22px, calc(100% - 14px) 22px; background-size: 5px 5px; background-repeat: no-repeat; }
select option { background: #071b2d; }
input:focus, select:focus { border-color: var(--teal); background: rgba(255,255,255,.08); box-shadow: 0 0 0 3px rgba(44,184,173,.1); }
.consent { display: flex; gap: 11px; align-items: flex-start; margin: 22px 0 2px; color: rgba(255,250,242,.62); font-size: 12px; line-height: 1.4; }
.consent input { width: 18px; min-height: 18px; height: 18px; padding: 0; accent-color: var(--teal); flex: 0 0 auto; }
.error { min-height: 19px; margin: 9px 0 0; color: #ff9b7b; font-size: 12px; }
.primary, .back { min-height: 54px; border: 0; cursor: pointer; font-weight: 900; letter-spacing: .04em; transition: transform .2s, filter .2s; }
.primary { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 0 20px; color: white; background: linear-gradient(90deg, #e96827, #f18a3f); text-transform: uppercase; font-size: 12px; box-shadow: 0 12px 28px rgba(233,104,39,.2); }
.primary:hover { transform: translateY(-2px); filter: brightness(1.07); }
.primary:disabled { cursor: wait; opacity: .65; transform: none; }
.button-row { display: grid; grid-template-columns: 95px 1fr; gap: 10px; margin-top: 12px; }
.back { color: rgba(255,255,255,.7); background: rgba(255,255,255,.07); }
.privacy { margin-top: 17px; color: rgba(255,255,255,.34); text-align: center; font-size: 10px; }
.form-positioning { margin-top: 24px; padding-top: 20px; gap: 13px; }
.form-positioning p { font-size: 13px; }
.post-form-label { grid-column: 1 / -1; margin-top: 2px; }
.success { display: none; padding: 45px 0; text-align: center; }
.success.active { display: block; animation: enter .35s ease both; }
.success-mark { width: 72px; height: 72px; display: grid; place-items: center; margin: 0 auto 24px; border: 1px solid var(--teal); border-radius: 50%; color: white; font-size: 32px; font-weight: 900; box-shadow: 0 0 34px rgba(44,184,173,.24); }

.page-footer { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 18px; padding-top: 22px; border-top: 1px solid var(--line); color: rgba(255,250,242,.48); font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding: 26px 22px 22px; row-gap: 6px; }
  .visual { background-position: 66% center; }
  .shade { background: linear-gradient(180deg, rgba(2,10,20,.48), rgba(2,10,20,.92) 42%, rgba(2,10,20,.99) 100%); }
  .message { padding: 10px 0 18px; }
  h1 { max-width: 760px; }
  .form-card { justify-self: stretch; width: 100%; max-width: 660px; margin: 0 auto; }
  .page-footer { margin-top: 24px; }
}

@media (max-width: 560px) {
  .hero { padding: 20px 17px 18px; row-gap: 12px; }
  .eyebrow { display: none; }
  .logo { width: 210px; }
  .message { padding: 8px 0 12px; }
  h1 { font-size: clamp(39px, 12vw, 56px); }
  .lead { font-size: 16px; }
  .form-card { padding: 27px 21px; }
  .button-row { grid-template-columns: 1fr; }
  .button-row .back { order: 2; }
  .post-form-label { margin: 12px 0 8px; font-size: 10px; letter-spacing: .14em; }
  .post-form-label span { width: 30px; }
  .page-footer { flex-direction: column; }
}
