@font-face{font-family:"Outfit";font-weight:800;font-style:normal;font-display:swap;src:url("/fonts/outfit-latin-800-normal.woff2") format("woff2")}
@font-face{font-family:"Inter";font-weight:400;font-style:normal;font-display:swap;src:url("/fonts/inter-latin-400-normal.woff2") format("woff2")}
@font-face{font-family:"Inter";font-weight:500;font-style:normal;font-display:swap;src:url("/fonts/inter-latin-500-normal.woff2") format("woff2")}
@font-face{font-family:"Inter";font-weight:600;font-style:normal;font-display:swap;src:url("/fonts/inter-latin-600-normal.woff2") format("woff2")}

:root{
  --navy:#0C0C1E;--deep:#161628;--amber:#F65A14;--magenta:#E8005A;--volt:#7B2FFF;--cream:#FFFAF5;
  --line:rgba(255,250,245,.28);--muted:rgba(255,250,245,.74);
}
*{box-sizing:border-box}
html{color-scheme:dark;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--navy);color:var(--cream);font:400 17px/1.5 "Inter",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;-webkit-font-smoothing:antialiased;min-height:100vh;min-height:100dvh}
[hidden]{display:none!important}
img{max-width:100%;height:auto}

.page{min-height:100vh;min-height:100dvh;display:flex;flex-direction:column}
.split{flex:1;display:grid;grid-template-columns:minmax(0,1fr)}

/* brand column */
.brand{padding:24px 20px 20px;display:flex;flex-direction:column;gap:22px}
.logo-btn{all:unset;display:inline-block;cursor:default;-webkit-tap-highlight-color:transparent;align-self:flex-start}
.logo-btn img{display:block;height:40px;width:auto}
.eyebrow{margin:0 0 10px;font-size:14px;letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}
.hero{margin:0;font:800 clamp(38px,9vw,60px)/1.02 "Outfit","Inter",sans-serif;letter-spacing:-.01em}
.accent{color:var(--amber)}
.lede{margin:14px 0 0;max-width:34ch;color:var(--muted);font-size:17px}

/* form panel */
.panel{background:var(--deep);padding:24px 20px 32px;border-radius:20px 20px 0 0}
h1,h2,h3{font-family:"Outfit","Inter",sans-serif;font-weight:800;letter-spacing:-.005em;margin:0}
h1{font-size:34px;line-height:1.1}
.sub{margin:8px 0 24px;color:var(--muted)}
.row{display:grid;grid-template-columns:minmax(0,1fr);gap:18px;margin-bottom:18px}
.field{display:flex;flex-direction:column;gap:8px;min-width:0}
label{font-weight:500;font-size:16px}
.opt{margin-left:6px;font-weight:400;font-size:14px;color:var(--muted)}

input:not([type=checkbox]),select,textarea{
  width:100%;min-height:56px;padding:14px 16px;background:var(--navy);color:var(--cream);
  border:1.5px solid var(--line);border-radius:12px;font:inherit;font-size:18px;appearance:none;-webkit-appearance:none;border-radius:12px
}
textarea{min-height:96px;resize:vertical}
select{
  padding-right:48px;cursor:pointer;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23FFFAF5' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 16px center
}
select option{background:var(--navy);color:var(--cream)}
select:invalid{color:var(--muted)}
input::placeholder{color:var(--muted)}
input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--amber);outline-offset:2px;border-color:var(--amber)}
[aria-invalid="true"]{border-color:var(--magenta)!important}

.err,.form-error{margin:0;font-size:15px;color:var(--cream);border-left:4px solid var(--magenta);padding:2px 0 2px 10px}
.form-error{margin-bottom:14px;padding:10px 12px;background:var(--navy);border-radius:0 10px 10px 0}

.notes-block{margin:-4px 0 18px}
.link{all:unset;cursor:pointer;color:var(--amber);font-weight:500;font-size:16px;padding:8px 0}
.link:focus-visible{outline:3px solid var(--cream);outline-offset:3px}
#notesWrap{margin-top:8px;display:flex;flex-direction:column;gap:8px}

.consents{margin:6px 0 10px;display:flex;flex-direction:column;gap:4px}
.check{position:relative;display:flex;align-items:flex-start;gap:14px;padding:8px 0;cursor:pointer;font-weight:400;font-size:17px;line-height:1.35}
.check input{position:absolute;left:0;top:8px;width:28px;height:28px;margin:0;opacity:0;cursor:pointer}
.box{flex:none;width:28px;height:28px;border-radius:8px;border:1.5px solid var(--line);background:var(--navy);display:grid;place-items:center;margin-top:1px}
.check input:checked + .box{background:var(--amber);border-color:var(--amber)}
.check input:checked + .box::after{content:"";width:14px;height:8px;border-left:3px solid var(--deep);border-bottom:3px solid var(--deep);transform:rotate(-45deg) translate(1px,-2px)}
.check input:focus-visible + .box{outline:3px solid var(--cream);outline-offset:3px}
.check input[aria-invalid="true"] + .box{border-color:var(--magenta);border-width:2.5px}
.check-text small{display:block;color:var(--muted);font-size:14px}
.privacy{margin:8px 0 18px;font-size:14px;color:var(--muted)}
.privacy a{color:var(--cream)}
.hp{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden}
#turnstile{margin:0 0 14px;min-height:0}

.btn{display:block;width:100%;min-height:60px;padding:14px 20px;border:0;border-radius:14px;background:var(--amber);color:var(--deep);font:500 19px/1.2 "Inter",system-ui,sans-serif;cursor:pointer;-webkit-tap-highlight-color:transparent;touch-action:manipulation}
.btn:hover{filter:brightness(1.06)}
.btn:active{transform:translateY(1px)}
.btn:focus-visible{outline:3px solid var(--cream);outline-offset:3px}
.btn[disabled]{opacity:.65;cursor:progress}
.btn.secondary{background:transparent;color:var(--cream);border:1.5px solid var(--line)}
.btn.small{min-height:52px;font-size:17px}

/* thank-you */
.thanks{min-height:360px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:14px;outline:none;padding:16px 0}
.tick{width:84px;height:84px;border-radius:50%;background:var(--amber);color:var(--deep);display:grid;place-items:center}
.thanks h2{font-size:38px;line-height:1.1}
.thanks p{margin:0;max-width:30ch;color:var(--muted);font-size:19px}
.thanks .btn{margin-top:18px;max-width:320px}

/* footer */
.foot{padding:20px;display:flex;flex-direction:column;gap:12px;background:var(--navy)}
.legal{margin:0;font-size:12px;line-height:1.55;color:var(--muted);max-width:110ch}
.status{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--muted)}
.dot{width:10px;height:10px;border-radius:50%;background:var(--cream);flex:none}
.status[data-state="waiting"] .dot{background:var(--amber)}
.status[data-state="attention"] .dot{background:var(--magenta)}

/* mode switching */
body[data-mode="public"] .kiosk-only{display:none!important}
body[data-mode="kiosk"] .public-only{display:none!important}

/* admin modal */
.modal{position:fixed;inset:0;z-index:50;background:rgba(12,12,30,.94);display:flex;align-items:center;justify-content:center;padding:16px;overflow:auto}
.modal-card{width:100%;max-width:560px;background:var(--deep);border:1.5px solid var(--line);border-radius:20px;padding:24px;display:flex;flex-direction:column;gap:16px}
.modal h2{font-size:28px}
.modal h3{font-size:20px;margin-top:8px}
.modal p{margin:0}
.btn-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.btn-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:0}
.stats div{background:var(--navy);border-radius:12px;padding:12px}
.stats dt{font-size:13px;color:var(--muted)}
.stats dd{margin:2px 0 0;font:800 30px/1 "Outfit","Inter",sans-serif}
.muted{color:var(--muted);font-size:14px}
.noscript{padding:20px;margin:0}

/* wide screens: split layout (tablet landscape, desktop) */
@media (min-width:640px){
  .row.two{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (min-width:900px){
  .split{grid-template-columns:minmax(0,5fr) minmax(0,7fr)}
  .brand{padding:44px 48px;justify-content:space-between}
  .hero{font-size:clamp(48px,5.2vw,76px)}
  .panel{border-radius:0;padding:36px 48px;display:flex;flex-direction:column;justify-content:center}
  .foot{padding:18px 48px;flex-direction:row;align-items:flex-start;gap:32px}
  .status{flex:none;padding-top:2px;min-width:230px}
}
@media (min-width:900px) and (max-height:820px){
  .sub{margin-bottom:16px}
  .row{margin-bottom:14px}
  .panel{padding-top:24px;padding-bottom:24px}
}
@media (prefers-reduced-motion:no-preference){
  .btn,input,select,textarea{transition:border-color .12s,filter .12s}
}
