/* Paddock Club suite intake 2027.
   Colors and type follow the Miami Grand Prix site theme (f1miamigp.com, read 2026-10-28):
   carbon #15151E, Miami pink #E6006F, aqua #00CFDE, light #F7F7F7, text #333333 / #5B5B5B, Montserrat.
   No logos or licensed display fonts are used. */
:root {
  --carbon: #15151E;
  --carbon-2: #23232E;
  --pod: #0B0B12;
  --bulb-off: #2E2E3A;
  --pink: #E6006F;
  --pink-dark: #B8005A;
  --aqua: #00CFDE;
  --aqua-tint: #E6FAFC;
  --pink-tint: #FFF5F9;
  --page: #F7F7F7;
  --card: #FFFFFF;
  --line: #E1E1E6;
  --control: #707079;
  --text: #333333;
  --muted: #5B5B5B;
  --error: #B3003E;
  --radius: 10px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--page); color: var(--text);
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif; font-size: 16px; line-height: 1.6;
}
.wrap { max-width: 780px; margin: 0 auto; padding: 0 16px; }

/* Header */
.top { padding: 40px 0 8px; text-align: center; }
.brand-line { margin: 0; font-weight: 600; font-size: 15px; color: var(--carbon); letter-spacing: .01em; }
.logo-slot img { max-height: 72px; max-width: 260px; }
h1 {
  font-weight: 800; font-size: clamp(34px, 6vw, 52px); line-height: 1.05; letter-spacing: -.01em;
  margin: 14px 0 16px; color: var(--carbon);
}
.intro { max-width: 62ch; margin: 0 auto; }
.due { margin: 16px 0 0; color: var(--pink); font-weight: 700; font-size: 19px; }

/* Card and start lights */
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; margin: 30px 0 40px; }
.gantry { background: var(--carbon); color: #fff; padding: 20px 20px 16px; border-radius: 15px 15px 0 0; }
@media (min-width: 640px) { .gantry { position: sticky; top: 0; z-index: 5; } }
.lights { display: flex; justify-content: center; gap: 10px; }
.pod {
  width: 46px; padding: 8px 0; background: var(--pod); border-radius: 10px;
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  outline: 2px solid transparent; outline-offset: 2px;
}
.pod.current { outline-color: var(--aqua); }
.bulb { width: 18px; height: 18px; border-radius: 50%; background: var(--bulb-off); transition: background .18s ease, box-shadow .18s ease; }
.pod.on .bulb { background: var(--pink); box-shadow: 0 0 12px 2px rgba(230, 0, 111, .65); }
.step-name { text-align: center; margin: 12px 0 0; font-size: 14px; color: #B9BAC4; }
.step-name b { color: var(--aqua); font-weight: 600; }

.body { padding: 28px 20px 24px; }
@media (min-width: 640px) { .body { padding: 38px 42px 34px; } }
h2 { font-weight: 800; font-size: 30px; line-height: 1.15; margin: 0 0 24px; color: var(--carbon); }
h2:focus { outline: none; }

fieldset { border: 0; padding: 0; margin: 0 0 30px; min-width: 0; }
legend { display: block; font-weight: 700; font-size: 17px; line-height: 1.4; margin: 0 0 4px; padding: 0; color: var(--carbon); }
.req { color: var(--pink); font-weight: 700; }
.help { color: var(--muted); font-size: 14.5px; margin: 0 0 12px; }
.field { margin: 0 0 24px; }
.text-label { display: block; font-weight: 700; margin: 0 0 6px; color: var(--carbon); }
input[type=text], input[type=email], input[type=tel], textarea {
  width: 100%; font: inherit; color: var(--text); background: #fff;
  border: 1px solid var(--control); border-radius: 8px; padding: 12px 14px;
}
textarea { min-height: 112px; resize: vertical; }
.readonly { padding: 12px 14px; border-radius: 8px; background: var(--aqua-tint); font-weight: 700; color: var(--carbon); border: 1px solid #BDEFF4; }
input:focus-visible, textarea:focus-visible, button:focus-visible, .opt:focus-within, .chip:focus-within span, .drop:focus-within {
  outline: 3px solid var(--carbon); outline-offset: 2px;
}
.two { display: grid; gap: 14px; }
@media (min-width: 640px) { .two { grid-template-columns: 1fr 1fr; } }

/* Option rows */
.opts { display: grid; gap: 10px; }
.opt {
  display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start;
  padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius);
  cursor: pointer; background: #fff; transition: border-color .12s, background .12s; position: relative;
}
.opt:hover { border-color: #A9A9B2; }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.mark { width: 20px; height: 20px; margin-top: 2px; border: 1.5px solid var(--control); background: #fff; display: grid; place-items: center; }
.opt[data-type=radio] .mark { border-radius: 50%; }
.opt[data-type=checkbox] .mark { border-radius: 5px; }
.opt.is-on { border-color: var(--carbon); background: var(--aqua-tint); }
.opt.is-on .mark { border-color: var(--carbon); background: var(--carbon); }
.opt.is-on[data-type=radio] .mark::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--aqua); }
.opt.is-on[data-type=checkbox] .mark::after {
  content: ""; width: 10px; height: 6px; border-left: 2px solid var(--aqua); border-bottom: 2px solid var(--aqua);
  transform: rotate(-45deg) translate(1px, -1px);
}
.opt-title { font-weight: 600; display: block; color: var(--carbon); }
.opt-desc { display: block; color: var(--muted); font-size: 14.5px; margin-top: 2px; }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: inline-block; padding: 10px 18px; border: 1px solid var(--control); border-radius: 999px;
  background: #fff; cursor: pointer; font-weight: 600; min-width: 56px; min-height: 44px; text-align: center; color: var(--carbon);
}
.chip.is-on span { background: var(--carbon); border-color: var(--carbon); color: #fff; box-shadow: inset 0 -3px 0 var(--aqua); }

.reveal { margin-top: 14px; padding-left: 16px; border-left: 3px solid var(--aqua); }
.reveal[hidden] { display: none; }
.reveal .sub { margin-top: 14px; }
.reveal-title { margin: 0 0 10px; }
.print-row { margin-top: 22px; }

/* Upload */
.drop {
  display: block; position: relative; border: 1.5px dashed var(--control); border-radius: var(--radius); padding: 18px;
  text-align: center; color: var(--muted); cursor: pointer; background: #FCFCFC;
}
.drop.over { background: var(--aqua-tint); border-color: var(--carbon); }
.drop strong { color: var(--carbon); }
.drop input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.files { list-style: none; padding: 0; margin: 10px 0 0; font-size: 14px; }
.files li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.files li span:first-child { min-width: 0; overflow-wrap: anywhere; }
.files li span:last-child { flex: none; color: var(--muted); }

.error { color: var(--error); font-size: 14px; font-weight: 600; margin: 8px 0 0; }
.error[hidden] { display: none; }
.has-error .opt, .has-error .chip span, .has-error input[type=text], .has-error input[type=email], .has-error textarea { border-color: var(--error); }

.note { background: var(--pink-tint); border-radius: var(--radius); padding: 14px 16px; margin: 10px 0 22px; font-size: 15px; }
.notice { border-radius: var(--radius); padding: 14px 16px; margin: 18px 0 0; font-size: 15px; background: var(--pink-tint); color: var(--error); font-weight: 600; }
.notice[hidden] { display: none; }

/* Nav */
.nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; padding-top: 22px; border-top: 1px solid var(--line); }
button { font: inherit; font-weight: 600; border-radius: 8px; padding: 12px 24px; cursor: pointer; border: 1px solid var(--carbon); min-height: 44px; }
.btn-primary { background: var(--pink); border-color: var(--pink); color: #fff; }
.btn-primary:hover { background: var(--pink-dark); border-color: var(--pink-dark); }
.btn-primary[disabled] { opacity: .6; cursor: wait; }
.btn-ghost { background: #fff; color: var(--carbon); }
.btn-ghost[disabled] { visibility: hidden; }
.linkish { background: none; border: 0; padding: 10px 6px; color: var(--carbon); text-decoration: underline; font-weight: 600; min-height: 44px; }

/* Bot check */
.botcheck { margin: 22px 0 0; min-height: 0; }

/* Answers list (review and thank-you) */
.answers-group { border: 1px solid var(--line); border-radius: var(--radius); margin: 0 0 14px; text-align: left; }
.answers-head { display: flex; justify-content: space-between; align-items: center; padding: 4px 8px 4px 16px; border-bottom: 1px solid var(--line); }
.answers-head h3 { margin: 0; font-size: 16px; padding: 8px 0; color: var(--carbon); }
.answers-group dl { margin: 0; padding: 4px 16px 14px; }
.answers-group dt { font-size: 14px; color: var(--muted); margin-top: 12px; }
.answers-group dd { margin: 2px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--carbon); }

/* Thank you */
.thanks { padding: 44px 20px 36px; }
.thanks:focus { outline: none; }
@media (min-width: 640px) { .thanks { padding: 56px 42px 44px; } }
.thanks-text { text-align: center; }
.thanks h2 { font-size: 40px; margin-bottom: 14px; }
.thanks-text p { max-width: 54ch; margin: 10px auto; }
.thanks h3.your { font-weight: 800; font-size: 22px; color: var(--carbon); margin: 34px 0 14px; }

footer { text-align: center; padding: 0 0 48px; color: var(--muted); font-size: 14px; font-weight: 600; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
@media print {
  .gantry, .nav, footer, #printBtn, .answers-head button, .botcheck { display: none !important; }
  body { background: #fff; }
  .card { border: 0; }
}

/* Shown instead of the form after the closing date */
.closed-note { font-size: 17px; line-height: 1.6; margin: 0; padding: 8px 0; }
