*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --black: #111; --red: #cc0000; --red-dark: #990000;
  --amber: #d97706; --amber-light: #fffbeb; --amber-border: #fde68a;
  --white: #fff; --grey: #f4f4f4; --border: #d1d5db;
  --text: #111; --text-mid: #4b5563; --text-hint: #9ca3af;
  --green: #16a34a;
  --font-display: 'Barlow Condensed', sans-serif;
  --font-body: 'Barlow', sans-serif;
  --radius: 10px; --radius-sm: 6px; --max-w: 720px;
}
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: #f0f0f0; color: var(--text); min-height: 100vh; display: flex; flex-direction: column; font-size: 16px; line-height: 1.6; }
.navbar { background: var(--black); border-bottom: 3px solid var(--amber); position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 12px rgba(0,0,0,0.3); }
.nav-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; height: 60px; display: flex; align-items: center; justify-content: space-between; }
.nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.nav-badge { width: 32px; height: 32px; object-fit: contain; }
.nav-back { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.85rem; font-weight: 500; padding: 0.35rem 0.75rem; border-radius: var(--radius-sm); transition: color 0.15s, background 0.15s; }
.nav-back:hover { color: #fff; background: rgba(255,255,255,0.1); }
.page { flex: 1; padding: 2rem 1rem 3rem; }
.page-inner { max-width: var(--max-w); margin: 0 auto; display: flex; flex-direction: column; gap: 1.25rem; }
.page-header { text-align: center; margin-bottom: 0.5rem; }
.page-icon { font-size: 2.5rem; margin-bottom: 0.5rem; }
.page-header h1 { font-family: var(--font-display); font-size: 2rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.03em; color: var(--black); margin-bottom: 0.5rem; }
.page-header p { font-size: 0.95rem; color: var(--text-mid); max-width: 520px; margin: 0 auto 1rem; line-height: 1.6; }
.coach-notice { display: inline-flex; align-items: center; gap: 8px; background: var(--amber-light); border: 1px solid var(--amber-border); border-radius: var(--radius-sm); padding: 0.5rem 1rem; font-size: 0.85rem; font-weight: 600; color: #92400e; }
.card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; box-shadow: 0 1px 3px rgba(0,0,0,0.07); }
.card-title { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--black); margin-bottom: 1rem; padding-bottom: 0.6rem; border-bottom: 2px solid #f3f4f6; }
.field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 1rem; }
.field:last-child { margin-bottom: 0; }
label { font-size: 0.82rem; font-weight: 600; color: var(--text-mid); text-transform: uppercase; letter-spacing: 0.04em; }
.req { color: var(--red); }
.optional { font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--text-hint); font-size: 0.78rem; }
input[type="text"], input[type="email"], input[type="date"], select, textarea {
  width: 100%; padding: 0.55rem 0.75rem; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 0.95rem; color: var(--text); background: var(--white);
  transition: border-color 0.15s, box-shadow 0.15s; outline: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--amber); box-shadow: 0 0 0 3px rgba(217,119,6,0.12); }
input.error, select.error, textarea.error { border-color: var(--red); }
input::placeholder, textarea::placeholder { color: var(--text-hint); }
textarea { resize: vertical; min-height: 100px; }
.emergency-card { border-color: #fca5a5; background: #fff5f5; }
.emergency-card .card-title { color: var(--red); border-bottom-color: #fecaca; }
.emergency-card p { font-size: 0.88rem; color: #7f1d1d; margin-bottom: 0.75rem; }
.emergency-list { list-style: none; }
.emergency-list li { padding: 0.4rem 0 0.4rem 1rem; position: relative; font-size: 0.88rem; color: #7f1d1d; border-bottom: 1px solid #fecaca; }
.emergency-list li:last-child { border-bottom: none; }
.emergency-list li::before { content: '!'; position: absolute; left: 0; color: var(--red); font-weight: 700; }
.btn-row { display: flex; justify-content: space-between; align-items: center; margin-top: 0.5rem; }
.btn-secondary { background: transparent; color: var(--text-mid); border: 1.5px solid var(--border); padding: 0.65rem 1.25rem; border-radius: var(--radius-sm); font-family: var(--font-display); font-size: 0.95rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; text-decoration: none; cursor: pointer; transition: background 0.15s; }
.btn-secondary:hover { background: #f3f4f6; }
.btn-submit { background: var(--amber); color: var(--white); border: none; padding: 0.7rem 2rem; border-radius: var(--radius-sm); font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; cursor: pointer; transition: background 0.15s, transform 0.1s; box-shadow: 0 2px 8px rgba(217,119,6,0.3); }
.btn-submit:hover { background: #b45309; transform: translateY(-1px); }
.error-msg { font-size: 0.78rem; color: var(--red); margin-top: 3px; }
.success-screen { background: var(--white); border: 1.5px solid #bbf7d0; border-radius: var(--radius); padding: 2.5rem 1.5rem; text-align: center; }
.success-screen[hidden] { display: none; }
.success-icon { font-size: 3rem; margin-bottom: 1rem; }
.success-screen h2 { font-family: var(--font-display); font-size: 1.8rem; font-weight: 800; text-transform: uppercase; color: var(--green); margin-bottom: 0.75rem; }
.success-screen p { font-size: 0.9rem; color: var(--text-mid); margin-bottom: 0.75rem; max-width: 440px; margin-left: auto; margin-right: auto; line-height: 1.6; }
.btn-home { display: inline-block; background: var(--black); color: var(--white); padding: 0.65rem 1.5rem; border-radius: var(--radius-sm); font-family: var(--font-display); font-size: 0.95rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; text-decoration: none; border: 2px solid var(--amber); transition: background 0.15s; margin-top: 0.5rem; cursor: pointer; }
.btn-home:hover { background: var(--amber); }
.page-footer { text-align: center; padding: 1.25rem; font-size: 0.78rem; color: var(--text-hint); border-top: 1px solid var(--border); background: var(--white); }
@media (max-width: 560px) { .field-grid { grid-template-columns: 1fr; } }
