@font-face { font-family: Aileron; src: url(/fonts/Aileron-Regular.woff) format('woff'); font-weight: 400; font-display: swap; }
@font-face { font-family: Aileron; src: url(/fonts/Aileron-Bold.woff) format('woff'); font-weight: 700; font-display: swap; }

:root {
  --red: #E53935; --navy: #3C3B6E; --blue: #1E4FA8; --white: #FFFFFF;
  --ink: #1b1b2b; --muted: #5d5d73; --line: #dcdce6; --bg: #f3f3f7;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.5 Aileron, system-ui, sans-serif; color: var(--ink); background: var(--bg); }
main { max-width: 560px; margin: 0 auto; padding: 16px 16px 8px; }
a { color: var(--blue); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 8px; }
h2 { font-size: 1.15rem; }
small { color: var(--muted); font-weight: 400; }
[hidden] { display: none !important; }

.demo-bar { background: var(--navy); color: var(--white); text-align: center; font-size: 13px; padding: 6px 16px; }
.hero { text-align: center; padding: 20px 0 12px; }
.hero h1 { font-size: 1.7rem; margin-top: 12px; }
.hero p { margin: 0; color: var(--muted); }
.badge { width: 76px; height: 76px; margin: 0 auto; border-radius: 20px; background: var(--navy); color: var(--white);
  display: grid; place-items: center; font-weight: 700; font-size: 1.6rem; letter-spacing: 1px; }
.title { font-size: 1.6rem; margin: 6px 0 12px; }
.back { display: inline-block; color: var(--muted); text-decoration: none; font-size: 14px; padding: 4px 0; }
.card { background: var(--white); border-radius: 14px; padding: 18px 16px; margin: 0 0 14px; box-shadow: 0 1px 2px rgb(0 0 0 / 6%); }
.center { text-align: center; }
.quiet { color: var(--muted); font-size: 14px; }
.hint { color: var(--muted); font-size: 14px; margin: -2px 0 12px; }
.fine { color: var(--muted); font-size: 13px; margin: 12px 0 0; }
.ticks { padding: 0; margin: 4px 0 18px; list-style: none; }
.ticks li { padding: 5px 0 5px 28px; position: relative; }
.ticks li::before { content: '✓'; position: absolute; left: 4px; color: var(--red); font-weight: 700; }

.btn { display: block; width: 100%; padding: 15px 18px; border: 0; border-radius: 12px; background: var(--red); color: var(--white);
  font: 700 1.05rem Aileron, system-ui, sans-serif; text-align: center; text-decoration: none; cursor: pointer; }
.btn:disabled { opacity: .55; }
.btn.ghost { background: transparent; color: var(--navy); border: 2px solid var(--navy); margin-top: 8px; }
.btn.small { display: inline-block; width: auto; padding: 8px 12px; font-size: 14px; margin: 0; }
.link { background: none; border: 0; color: var(--blue); font: inherit; font-size: 14px; padding: 4px 0; cursor: pointer; text-decoration: underline; }

label { display: block; font-weight: 700; font-size: 14px; margin: 0 0 12px; }
label small { margin-left: 4px; }
.label { font-weight: 700; font-size: 14px; margin: 4px 0 6px; }
input[type=text], input:not([type]), input[type=email], input[type=tel], input[type=date], input[type=search] {
  display: block; width: 100%; margin-top: 4px; padding: 12px; border: 1.5px solid var(--line); border-radius: 10px;
  font: 16px Aileron, system-ui, sans-serif; background: var(--white); color: var(--ink); min-height: 48px; }
input:focus-visible, .btn:focus-visible, .choice input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.choice { display: grid; gap: 8px; }
.choice.two { grid-template-columns: 1fr 1fr; margin-bottom: 4px; }
.choice label { margin: 0; }
.choice input { position: absolute; opacity: 0; }
.choice span { display: block; padding: 13px 14px; border: 2px solid var(--line); border-radius: 12px; font-size: 16px; cursor: pointer; }
.choice span small { display: block; font-size: 13px; margin: 0; }
.choice input:checked + span { border-color: var(--red); background: #fdeceb; }

.kid { border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px 2px; margin: 0 0 10px; }
.kid legend { font-weight: 700; padding: 0 6px; color: var(--navy); }
.kid .link { margin: -6px 0 8px; }

/* The waiver itself. Body is 12pt, so Florida's notice (12pt + bump) is always at least 5 points larger. */
.waiver { font-size: 12pt; line-height: 1.45; border-left: 3px solid var(--navy); padding: 2px 0 2px 12px; margin: 14px 0; }
.waiver h3 { font-size: 12pt; color: var(--navy); }
.waiver p { margin: 0 0 10px; }
.notice { font-size: calc(12pt + var(--bump)); font-weight: 700; line-height: 1.3; text-transform: uppercase; margin: 8px 0 14px;
  overflow-wrap: break-word; }

/* Demo only: what each field replaces (yellow) vs. the law's fixed wording (blue). */
.field-words { background: #fff6cc; border: 2px dashed #d9a400; border-radius: 10px; padding: 10px 12px 2px; margin: 8px 0 12px; }
.law { background: #e9effa; border: 2px solid var(--blue); border-radius: 10px; padding: 10px 12px 2px; margin: 8px 0 12px; }
.law .notice { margin: 0 0 8px; }
.waiver .tag { font: 700 12px/1.3 Aileron, system-ui, sans-serif; text-transform: uppercase; letter-spacing: .04em; color: #7a5600; margin: 0 0 6px; }
.law .tag { color: var(--blue); }
.legend { line-height: 1.7; }
.key { display: inline-block; width: 14px; height: 14px; border-radius: 4px; vertical-align: -2px; margin-right: 6px; }
.field-key { background: #fff6cc; border: 2px dashed #d9a400; }
.law-key { background: #e9effa; border: 2px solid var(--blue); }

.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 15px; }
.check input { width: 22px; height: 22px; flex: none; margin: 1px 0 0; accent-color: var(--red); }
.optin { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.pad { position: relative; margin-bottom: 4px; }
.pad canvas { width: 100%; aspect-ratio: 3 / 1; border: 1.5px dashed var(--muted); border-radius: 10px; background: #fff;
  touch-action: none; display: block; }
.pad .link { position: absolute; right: 8px; top: 4px; }
.error { color: #b3261e; background: #fdeceb; border-radius: 10px; padding: 10px 12px; font-weight: 700; }

.done { text-align: center; }
.big-tick { width: 64px; height: 64px; margin: 4px auto 10px; border-radius: 50%; background: #1f8a4c; color: #fff;
  display: grid; place-items: center; font-size: 34px; font-weight: 700; }
.copies { list-style: none; padding: 0; margin: 14px 0; text-align: left; }
.copies li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); }
.copies small { display: block; }
.tpa { display: flex; gap: 14px; align-items: flex-start; }
.tpa p { margin: 0 0 6px; color: var(--muted); font-size: 14px; }

.staff-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.staff-head input { width: auto; margin: 0; }
.summary { color: var(--muted); margin: 0 0 10px; }
.list { list-style: none; padding: 0; margin: 12px 0; background: var(--white); border-radius: 14px; }
.list li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.list li:last-child { border-bottom: 0; }
.list .who span { display: block; font-size: 14px; color: var(--muted); }
.list .keep { font-size: 12px !important; }
.list .empty { color: var(--muted); justify-content: center; }

.foot { display: flex; justify-content: center; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; padding: 8px 16px 28px; }

.policy { font-size: 15px; }
.policy li { margin-bottom: 6px; }
