[hidden] { display: none !important; }
/* Waypoint Compliance — Heritage Red brand */
:root {
  --red: #B3121F;
  --red-dark: #8E0E18;
  --red-tint: #FBEDEE;
  --jet: #111111;
  --body: #4D4D4D;
  --chrome: #A7ADB3;
  --line: #ECECEC;
  --line-strong: #BDBDBD;
  --bg: #FFFFFF;
  --bg-soft: #F7F7F7;
  --ok: #1E6B3A;
  --radius: 10px;
  --font-head: "Manrope", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--jet); font-family: var(--font-body); font-size: 16px; line-height: 1.55; }
img, svg { max-width: 100%; }
a { color: var(--red); }
a:hover { color: var(--red-dark); }
h1, h2, h3 { font-family: var(--font-head); letter-spacing: -0.02em; line-height: 1.12; margin: 0 0 12px; }
h1 { font-size: clamp(32px, 5vw, 52px); font-weight: 800; }
h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; }
h3 { font-size: 19px; font-weight: 700; }
p { margin: 0 0 14px; }
.muted { color: var(--body); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.small { font-size: 14px; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--jet); color: #fff; padding: 8px 12px; border-radius: 6px; z-index: 10; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 5; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--jet); }
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 19px; letter-spacing: -0.01em; }
.brand-name span { font-weight: 500; color: var(--body); }
.nav { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
.nav a:not(.btn) { color: var(--body); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav a:not(.btn):hover { color: var(--jet); }
.nav a.btn-primary { color: #fff; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 8px; font-weight: 600; font-size: 16px; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; font-family: inherit; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); color: #fff; }
.btn-secondary { background: #fff; color: var(--jet); border-color: var(--line-strong); }
.btn-secondary:hover { border-color: var(--jet); color: var(--jet); }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-small { min-height: 44px; padding: 0 16px; font-size: 15px; }

/* Sections */
.hero { padding: 72px 0 56px; }
.hero .eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: 14px; }
.hero p.lead { font-size: 19px; color: var(--body); max-width: 640px; }
.disclaimer { font-size: 13px; color: var(--body); margin-top: 16px; }
section { padding: 56px 0; }
section.soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { margin-bottom: 8px; }
.card ul { margin: 0; padding-left: 20px; color: var(--body); }
.card li { margin-bottom: 4px; }
.step-num { display: inline-flex; width: 34px; height: 34px; border-radius: 999px; background: var(--red-tint); color: var(--red); font-weight: 700; align-items: center; justify-content: center; margin-bottom: 10px; }
.plan .tag { font-size: 13px; color: var(--body); margin-bottom: 10px; display: block; }
.plan-price { font-family: var(--font-head); font-weight: 700; font-size: 17px; color: var(--red); margin: 12px 0 0; }
.trust { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.trust div { display: flex; gap: 10px; align-items: flex-start; }
.check { flex: none; width: 22px; height: 22px; margin-top: 2px; color: var(--red); }

/* Forms */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 28px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label, .field legend { font-weight: 600; font-size: 15px; }
.field .hint { font-size: 13px; color: var(--body); }
.req { color: var(--red); }
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=date], select, textarea {
  width: 100%; min-height: 46px; padding: 10px 12px; font: inherit; font-size: 16px; color: var(--jet);
  background: #fff; border: 1px solid var(--line-strong); border-radius: 8px;
}
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--jet); outline: 3px solid var(--red-tint); }
input[type=file] { font: inherit; font-size: 15px; }
.row { display: grid; gap: 0 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 15px; }
.checkbox input { width: 22px; height: 22px; margin-top: 1px; flex: none; accent-color: var(--red); }
.error-msg { color: var(--red); font-size: 14px; font-weight: 500; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--red); }
.alert { border-radius: 10px; padding: 14px 16px; font-size: 15px; margin-bottom: 16px; }
.alert-error { background: var(--red-tint); color: var(--red-dark); border: 1px solid #F1C4C8; }
.alert-ok { background: #EAF5EE; color: var(--ok); border: 1px solid #C6E3D0; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }

/* Intake steps */
.progress { display: flex; gap: 6px; margin: 0 0 24px; padding: 0; list-style: none; flex-wrap: wrap; }
.progress li { flex: 1 1 90px; font-size: 13px; color: var(--body); border-top: 4px solid var(--line); padding-top: 8px; }
.progress li.active { color: var(--jet); font-weight: 600; border-color: var(--red); }
.progress li.done { border-color: var(--chrome); }
.step[hidden] { display: none; }
.repeat-item { border: 1px solid var(--line); border-radius: 12px; padding: 20px; margin-bottom: 16px; background: #fff; }
.repeat-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.repeat-head h3 { margin: 0; }
.link-btn { background: none; border: none; color: var(--red); font: inherit; font-weight: 600; cursor: pointer; min-height: 44px; padding: 0 4px; }
.review dl { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 6px 16px; margin: 0 0 16px; }
.review dt { color: var(--body); font-size: 14px; }
.review dd { margin: 0; font-size: 15px; word-break: break-word; }
.review h3 { margin-top: 20px; border-top: 1px solid var(--line); padding-top: 16px; }
.step-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; flex-wrap: wrap; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0 40px; font-size: 14px; color: var(--body); }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

@media (max-width: 560px) {
  .hero { padding: 48px 0 40px; }
  .form-card { padding: 20px; }
  .review dl { grid-template-columns: 1fr; }
  .review dt { margin-top: 6px; }
}
