:root { color-scheme: dark; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; font-family: Inter, system-ui, sans-serif; background: var(--bg); color: var(--text); }
button, input { font: inherit; }
a { color: inherit; }
[hidden] { display: none !important; }
.waiver-shell { width: min(1080px, calc(100% - 32px)); margin: 0 auto; padding: 24px 0 72px; }
.waiver-brand { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 36px; }
.waiver-brand img { display: block; max-width: 220px; max-height: 86px; object-fit: contain; }
.waiver-brand a { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; text-underline-offset: 5px; }
.waiver-layout { display: grid; grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr); gap: clamp(28px, 6vw, 72px); align-items: start; }
.waiver-intro { position: sticky; top: 24px; }
.eyebrow { margin: 0 0 14px; color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
h1 { margin: 0; font-size: clamp(46px, 7vw, 84px); line-height: .9; letter-spacing: -.06em; text-transform: uppercase; }
.lede { margin: 24px 0; color: var(--muted); font-size: 18px; line-height: 1.6; }
.fact-list { display: grid; gap: 10px; margin: 30px 0 0; padding: 0; list-style: none; }
.fact-list li { padding-top: 10px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.form-card { padding: clamp(22px, 4vw, 40px); background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); scroll-margin-top: 12px; }
.form-card fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.wizard-progress { margin-bottom: 30px; }
.progress-label { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 10px; color: var(--muted); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.progress-track { width: 100%; height: 6px; overflow: hidden; background: var(--input); border: 1px solid var(--line); border-radius: 999px; }
.progress-bar { height: 100%; width: 33.333%; background: var(--accent); transition: width .22s ease; }
.section { padding: 0; border: 0; }
.step-kicker { margin: 0 0 8px; color: var(--accent); font-size: 12px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.step-heading { margin: 0 0 8px; font-size: clamp(28px, 5vw, 40px); line-height: 1.08; letter-spacing: -.025em; }
.step-heading:focus { outline: 0; }
.step-intro { margin: 0 0 28px; color: var(--muted); font-size: 17px; line-height: 1.55; }
.field-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.field { display: grid; gap: 9px; }
label, legend { font-size: 17px; font-weight: 800; }
.required { color: var(--accent); }
.hint, .disclosure { display: block; color: var(--muted); font-size: 14px; line-height: 1.55; }
input[type="text"], input[type="email"], input[type="tel"] { width: 100%; min-height: 60px; padding: 14px 16px; color: var(--text); background: var(--input); border: 2px solid var(--line); border-radius: 10px; outline: 0; font-size: 18px; }
input:focus-visible, button:focus-visible, a:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
input[aria-invalid="true"] { border-color: #ff6b6b; }
.signature-note { margin: 2px 0 0; padding: 14px 16px; color: var(--muted); background: color-mix(in srgb, var(--accent) 8%, transparent); border-left: 4px solid var(--accent); font-size: 14px; line-height: 1.5; }
.waiver-copy { padding: 0; background: transparent; border: 0; }
.waiver-copy h3 { margin: 25px 0 8px; font-size: 18px; line-height: 1.35; }
.waiver-copy h3:first-child { margin-top: 0; }
.waiver-copy p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.agreement-box { margin-top: 30px; padding: 20px; background: var(--input); border: 2px solid var(--accent); border-radius: 10px; }
.check { display: grid; grid-template-columns: 30px 1fr; gap: 14px; align-items: start; cursor: pointer; }
.check + .check { margin-top: 18px; }
.check input { width: 28px; height: 28px; margin: 0; accent-color: var(--accent); }
.check strong { display: block; margin-bottom: 5px; font-size: 17px; line-height: 1.35; }
.consent-box { padding: 20px; background: var(--input); border: 1px solid var(--line); border-radius: 10px; }
.consent-box + .consent-box { margin-top: 16px; }
.wizard-actions { display: grid; grid-template-columns: minmax(110px, .42fr) minmax(0, 1fr); gap: 12px; margin-top: 30px; }
.wizard-actions.single { grid-template-columns: 1fr; }
.action-button { min-height: 58px; padding: 12px 18px; border-radius: 10px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.action-primary { color: var(--button-text); background: var(--accent); border: 2px solid var(--accent); }
.action-secondary { color: var(--text); background: transparent; border: 2px solid var(--line); }
.action-button:hover { filter: brightness(1.08); transform: translateY(-1px); }
.action-button:disabled { opacity: .55; cursor: wait; transform: none; }
.status { margin: 0 0 24px; padding: 16px; border: 2px solid var(--line); border-radius: 10px; font-weight: 700; line-height: 1.45; }
.status[data-kind="success"] { border-color: #54d68b; color: #a7f2c5; }
.status[data-kind="error"] { border-color: #ff6b6b; color: #ffc1c1; }
.status[data-kind="preview"] { border-color: var(--accent); }
.status[data-kind="success"] > strong, .reset-countdown { display: block; }
.reset-countdown { margin-top: 5px; color: var(--muted); font-size: 14px; font-weight: 600; }
.reset-button { width: 100%; min-height: 52px; margin-top: 14px; padding: 10px 14px; color: var(--button-text); background: var(--accent); border: 0; border-radius: 8px; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; cursor: pointer; }
.reset-button:hover { filter: brightness(1.08); }
.fallback { margin: 22px 0 0; text-align: center; color: var(--muted); font-size: 13px; }
.hp { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.submission-frame { display: none; }
@media (max-width: 820px) {
  .waiver-shell { width: min(100% - 24px, 680px); padding-top: 16px; }
  .waiver-layout { grid-template-columns: 1fr; gap: 22px; }
  .waiver-intro { position: static; }
  .waiver-brand { margin-bottom: 24px; }
  h1 { font-size: clamp(44px, 14vw, 68px); }
  .lede { margin: 18px 0 0; font-size: 16px; }
  .fact-list { display: none; }
}
@media (max-width: 520px) {
  .waiver-shell { width: 100%; padding: 12px 12px 44px; }
  .waiver-brand { align-items: center; margin-bottom: 20px; }
  .waiver-brand img { max-width: 145px; max-height: 58px; }
  .waiver-brand a { max-width: 110px; text-align: right; font-size: 10px; }
  .waiver-intro h1 { font-size: clamp(40px, 13vw, 58px); }
  .form-card { padding: 24px 18px; }
  .wizard-progress { margin-bottom: 25px; }
  .step-heading { font-size: 30px; }
  .step-intro { margin-bottom: 24px; font-size: 16px; }
  .waiver-copy p { font-size: 16px; line-height: 1.68; }
  .agreement-box { margin-top: 26px; padding: 18px 15px; }
  .wizard-actions { grid-template-columns: 1fr; }
  .wizard-actions .action-primary { order: -1; }
  .action-button { min-height: 60px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }
