:root {
  --ink: #123f42;
  --muted: #65797b;
  --line: #cbdadb;
  --paper: #fff;
  --surface: #f3f7f6;
  --brand: #4f9f9b;
  --brand-dark: #174c4e;
  --notice: #fff7e5;
  --notice-line: #d69b2d;
}

* { box-sizing: border-box; }
html { background: #e8ecea; color: var(--ink); font-family: Arial, Helvetica, sans-serif; }
body { margin: 0; min-height: 100vh; padding-bottom: env(safe-area-inset-bottom); }
button, input { font: inherit; letter-spacing: 0; }
a { color: var(--brand-dark); font-weight: 700; }
.page-shell { background: var(--surface); margin: 0 auto; min-height: 100vh; max-width: 760px; }
.page-header { align-items: center; background: var(--paper); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 42px 1fr; min-height: 72px; padding: 12px 22px; }
.brand-mark { align-items: center; background: var(--brand-dark); border-radius: 6px; color: #fff; display: flex; font-size: 14px; font-weight: 700; height: 34px; justify-content: center; width: 34px; }
.brand-copy strong, .brand-copy span { display: block; }
.brand-copy strong { font-size: 18px; }
.brand-copy span { color: var(--muted); font-size: 12px; margin-top: 2px; }
.page-content { padding: 30px 24px 48px; }
.eyebrow { color: #517174; font-size: 11px; font-weight: 700; margin: 0 0 7px; }
h1 { font-size: 32px; line-height: 1.12; margin: 0 0 12px; }
h2 { font-size: 20px; margin: 28px 0 10px; }
p, li { font-size: 15px; line-height: 1.55; }
.intro { color: var(--muted); font-size: 16px; margin: 0 0 24px; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 24px; }
.panel-heading { border-bottom: 1px solid var(--line); margin-bottom: 22px; padding-bottom: 18px; }
.panel-heading h2 { margin: 4px 0 8px; }
.panel-heading p { color: var(--muted); margin: 0; }
.step-label { color: #517174 !important; font-size: 11px !important; font-weight: 700; }
.form-label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 8px; }
.phone-input { border: 1px solid #7fb7b4; border-radius: 6px; color: var(--ink); font-size: 18px; min-height: 54px; padding: 12px 14px; width: 100%; }
.phone-input:focus { box-shadow: 0 0 0 3px #d5efed; outline: 0; }
.phone-input[aria-invalid="true"] { border-color: #c83c34; box-shadow: 0 0 0 2px #fde3e0; }
.field-help { color: var(--muted); font-size: 12px; margin: 7px 0 18px; }
.program-details { background: var(--surface); border: 1px solid var(--line); border-radius: 7px; padding: 16px; }
.program-details h3 { font-size: 16px; margin: 0 0 8px; }
.program-details ul { margin: 0 0 14px; padding-left: 20px; }
.program-details li { font-size: 14px; margin: 4px 0; }
.program-details dl { border-top: 1px solid var(--line); margin: 0; }
.program-details dl div { border-bottom: 1px solid var(--line); display: grid; gap: 12px; grid-template-columns: 145px 1fr; padding: 10px 0; }
.program-details dl div:last-child { border-bottom: 0; padding-bottom: 0; }
.program-details dt, .program-details dd { font-size: 13px; line-height: 1.4; margin: 0; }
.program-details dt { font-weight: 700; }
.program-details dd { color: var(--muted); }
.consent-row { align-items: flex-start; background: #f8fbfa; border: 1px solid var(--line); border-radius: 7px; display: flex; gap: 12px; margin: 18px 0 12px; padding: 15px; }
.consent-row input { accent-color: var(--brand-dark); flex: 0 0 24px; height: 24px; margin: 1px 0 0; width: 24px; }
.consent-row label { color: #294b4d; font-size: 14px; line-height: 1.52; }
.policy-consent { color: var(--muted); font-size: 12px; margin: 0 0 16px; text-align: center; }
.primary-button { background: var(--brand-dark); border: 0; border-radius: 6px; color: #fff; font-weight: 700; min-height: 52px; padding: 12px 18px; width: 100%; }
.primary-button:disabled { background: #a8c6c4; cursor: default; }
.message { background: #e9f7ee; border: 1px solid #9bc9ad; border-radius: 6px; color: #236b45; font-size: 14px; font-weight: 700; margin: 16px 0 0; padding: 12px; text-align: center; }
.notice { background: var(--notice); border-left: 4px solid var(--notice-line); display: grid; gap: 4px; margin: 22px 0; padding: 14px 16px; }
.notice span { font-size: 14px; line-height: 1.5; }
.fine-print { color: var(--muted); font-size: 12px; margin: 14px 0 0; }
.policy-nav { border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 18px; margin-top: 28px; padding-top: 18px; }
.policy-section { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 2px; }
.policy-section:first-of-type { border-top: 0; margin-top: 0; }
.effective { color: var(--muted); font-size: 13px; }
ul { padding-left: 22px; }

@media (max-width: 520px) {
  .page-header { padding: 10px 16px; }
  .page-content { padding: 24px 12px 36px; }
  .panel { padding: 18px 14px; }
  h1 { font-size: 27px; }
  h2 { font-size: 19px; }
  .intro { font-size: 15px; }
  .program-details { padding: 14px; }
  .program-details dl div { display: block; }
  .program-details dd { margin-top: 3px; }
  .consent-row { padding: 13px; }
  .policy-nav { display: grid; gap: 12px; grid-template-columns: 1fr; }
  .policy-nav a { align-items: center; border: 1px solid var(--line); border-radius: 6px; display: flex; justify-content: center; min-height: 48px; text-align: center; }
}
