:root {
  --navy: #0b1c2c;
  --ink: #e8eef4;
  --muted: #9aaebc;
  --gold: #c9a15b;
  --card: rgba(255,255,255,0.06);
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink);
  background: var(--navy);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 36px 24px 28px;
}
.bg {
  position: fixed; inset: 0; z-index: -1;
  background:
    radial-gradient(900px 500px at 80% -10%, rgba(201,161,91,0.18), transparent 55%),
    radial-gradient(700px 400px at 10% 110%, rgba(80,140,170,0.16), transparent 50%),
    var(--navy);
}
header { max-width: 720px; margin: 0 auto 48px; width: 100%; }
.wordmark {
  font-family: system-ui, sans-serif;
  font-weight: 650;
  letter-spacing: 0.02em;
  font-size: 22px;
}
.wordmark span { font-size: 0.6em; vertical-align: super; opacity: 0.7; }
main { max-width: 720px; margin: 0 auto; width: 100%; flex: 1; }
.eyebrow {
  font-family: system-ui, sans-serif;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--gold);
  margin: 0 0 16px;
}
h1 {
  font-weight: 500;
  font-size: clamp(36px, 6vw, 56px);
  line-height: 1.12;
  margin: 0 0 18px;
}
.lede {
  font-family: system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.5;
  color: var(--muted);
  max-width: 38rem;
  margin: 0 0 32px;
}
form { max-width: 520px; }
.row { display: flex; gap: 10px; flex-wrap: wrap; }
input[type="email"],
input[type="text"] {
  flex: 1 1 160px;
  font-family: system-ui, sans-serif;
  font-size: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,0.16);
  background: var(--card);
  color: var(--ink);
  border-radius: 8px;
  outline: none;
}
#zip { flex: 0 1 130px; }
input::placeholder { color: #7d8f9c; }
input:focus { border-color: var(--gold); }
button {
  font-family: system-ui, sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 20px;
  margin-top: 10px;
  border: 0;
  border-radius: 8px;
  background: var(--gold);
  color: #1a1408;
  cursor: pointer;
}
button:hover { filter: brightness(1.08); }
.fine, footer p {
  font-family: system-ui, sans-serif;
  font-size: 13px;
  color: #7d8f9c;
}
.fine { margin: 12px 0 0; }
footer { max-width: 720px; margin: 48px auto 0; width: 100%; }
.hidden { display: none; }
.sr {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0);
}
.back {
  font-family: system-ui, sans-serif;
  color: var(--gold);
  text-decoration: none;
}
.back:hover { text-decoration: underline; }
@media (max-width: 520px) {
  button, #zip { width: 100%; }
}

select {
  flex: 1 1 160px;
  font-family: system-ui, sans-serif;
  font-size: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,0.16);
  background: var(--card);
  color: var(--ink);
  border-radius: 8px;
  outline: none;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #9aaebc 50%), linear-gradient(135deg, #9aaebc 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
select:focus { border-color: var(--gold); }
.row-miles {
  margin-top: 10px;
  align-items: center;
}
.row-miles label {
  font-family: system-ui, sans-serif;
  font-size: 14px;
  color: var(--muted);
  flex: 1 1 180px;
}
@media (max-width: 520px) {
  select { width: 100%; }
}

.price {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(40px, 6vw, 56px);
  margin: 0 0 8px;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.price span {
  font-family: system-ui, sans-serif;
  font-size: 16px;
  color: var(--muted);
  font-weight: 500;
  margin-left: 8px;
  letter-spacing: 0;
}
.includes {
  list-style: none;
  padding: 0;
  margin: 20px 0 28px;
  display: grid;
  gap: 8px;
}
.includes li {
  font-family: system-ui, sans-serif;
  font-size: 15px;
  color: var(--ink);
  padding-left: 18px;
  position: relative;
}
.includes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}
.steps {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  counter-reset: step;
  display: grid;
  gap: 12px;
}
.steps li {
  font-family: system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.45;
  color: var(--muted);
  padding: 12px 14px 12px 48px;
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  position: relative;
}
.steps li strong { color: var(--ink); font-weight: 650; }
.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 14px;
  top: 12px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold);
  color: #1a1408;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.form-lead {
  font-family: system-ui, sans-serif;
  font-size: 15px;
  color: var(--ink);
  margin: 0 0 14px;
  max-width: 34rem;
}

button:disabled { opacity: 0.55; cursor: not-allowed; }
a.btn {
  display: inline-block;
  font-family: system-ui, sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 20px;
  margin-top: 10px;
  border: 0;
  border-radius: 8px;
  background: var(--gold);
  color: #1a1408;
  text-decoration: none;
  cursor: pointer;
}
a.btn:hover { filter: brightness(1.08); }
.success-line {
  font-family: system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.45;
  color: var(--ink);
  margin: 0 0 16px;
  max-width: 34rem;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0 0 14px;
  max-width: 520px;
}
.field label, .field legend, .when h2, .cal-month {
  font-family: system-ui, sans-serif;
  font-size: 14px;
  color: var(--muted);
}
.when h2 {
  font-size: 18px;
  color: var(--ink);
  font-weight: 650;
  margin: 28px 0 8px;
}
.gender {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  border: 0;
  padding: 0;
  margin: 0 0 14px;
}
.gender legend {
  margin-bottom: 8px;
}
.gender label {
  font-family: system-ui, sans-serif;
  font-size: 16px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
}
input[type="date"],
textarea {
  flex: 1 1 160px;
  font-family: system-ui, sans-serif;
  font-size: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,0.16);
  background: var(--card);
  color: var(--ink);
  border-radius: 8px;
  outline: none;
  width: 100%;
}
textarea { min-height: 88px; resize: vertical; }
input[type="date"]:focus,
textarea:focus { border-color: var(--gold); }
.cal {
  max-width: 520px;
  margin: 12px 0 8px;
}
.cal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.cal-nav button {
  margin-top: 0;
  padding: 8px 12px;
  font-size: 13px;
}
.cal-month {
  color: var(--ink);
  font-weight: 650;
  font-size: 15px;
}
.cal-dow, .cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}
.cal-dow span {
  font-family: system-ui, sans-serif;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #7d8f9c;
  text-align: center;
}
.cal-day {
  aspect-ratio: 1;
  min-height: 40px;
  border: 1px solid rgba(255,255,255,0.12);
  background: var(--card);
  color: var(--ink);
  border-radius: 8px;
  font-family: system-ui, sans-serif;
  font-size: 14px;
  cursor: pointer;
  padding: 0;
  margin: 0;
}
.cal-day.is-muted {
  opacity: 0.28;
  cursor: default;
  background: transparent;
  border-color: transparent;
}
.cal-day.is-selected {
  background: var(--gold);
  color: #1a1408;
  border-color: var(--gold);
}
.cal-slots {
  display: grid;
  gap: 10px;
  margin: 16px 0;
  max-width: 520px;
}
.slot {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  padding: 10px 12px;
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
}
.slot-date {
  font-family: system-ui, sans-serif;
  font-size: 14px;
  color: var(--ink);
  flex: 1 1 140px;
}
.slot select { flex: 1 1 200px; margin: 0; }
.confirm {
  font-family: system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink);
  max-width: 34rem;
}
@media (max-width: 520px) {
  .cal-day { min-height: 36px; font-size: 13px; }
  a.btn { width: 100%; text-align: center; }
}

input[type="tel"],
input[type="number"] {
  flex: 1 1 160px;
  font-family: system-ui, sans-serif;
  font-size: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,0.16);
  background: var(--card);
  color: var(--ink);
  border-radius: 8px;
  outline: none;
  width: 100%;
}
input[type="tel"]:focus,
input[type="number"]:focus { border-color: var(--gold); }
.choice {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  border: 0;
  padding: 0;
  margin: 0 0 14px;
}
.choice legend {
  font-family: system-ui, sans-serif;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 8px;
}
.choice label {
  font-family: system-ui, sans-serif;
  font-size: 16px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
}
.split {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  max-width: 520px;
}
.split .field { flex: 1 1 140px; }
.split .field-state { flex: 0 1 150px; }
.split .field-zip { flex: 0 1 120px; }
.split .field-ht { flex: 1 1 120px; }
.field #zip { flex: 1 1 auto; width: 100%; }
@media (max-width: 520px) {
  .split .field,
  .split .field-state,
  .split .field-zip,
  .split .field-ht { flex: 1 1 100%; }
}

.field input[type="email"],
.field input[type="text"],
.field input[type="tel"],
.field input[type="number"],
.field input[type="date"],
.field select {
  flex: 0 0 auto;
  width: 100%;
  height: 44px;
  min-height: 44px;
  max-height: 44px;
  padding: 10px 12px;
  line-height: 1.2;
}
.field textarea {
  flex: 0 0 auto;
  width: 100%;
  height: auto;
  min-height: 88px;
  max-height: none;
}


/* Reports portal (dummy / sample) */
.rpt-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.rpt-head-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: system-ui, sans-serif;
}
.sample-badge {
  font-family: system-ui, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #1a1408;
  background: var(--gold);
  padding: 5px 9px;
  border-radius: 999px;
}
.signout {
  font-family: system-ui, sans-serif;
  font-size: 13px;
  color: var(--gold);
  text-decoration: none;
}
.signout:hover { text-decoration: underline; }
.rpt-cards {
  display: grid;
  gap: 12px;
  margin: 8px 0 0;
}
.rpt-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px 18px;
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
}
.rpt-card h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 500;
  margin: 0;
  color: var(--ink);
}
.rpt-card .btn { margin-top: 0; }
.rpt-note {
  font-family: system-ui, sans-serif;
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 20px;
}

body.report-sheet { padding: 28px 20px 24px; }
.report-sheet main { max-width: 720px; position: relative; z-index: 1; }
.rpt-watermark {
  position: fixed;
  inset: 12% 4%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 0;
  font-family: system-ui, sans-serif;
  font-size: clamp(26px, 5.4vw, 52px);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(201,161,91,0.09);
  transform: rotate(-18deg);
  text-align: center;
  line-height: 1.25;
}
.rpt-tech {
  font-family: system-ui, sans-serif;
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 18px;
}
.rpt-patient {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
  margin: 0 0 22px;
  padding: 14px 16px;
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
}
.rpt-patient div {
  font-family: system-ui, sans-serif;
  font-size: 14px;
  color: var(--ink);
}
.rpt-patient span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 3px;
}
.rpt-banner {
  display: inline-block;
  margin: 0 0 22px;
  padding: 14px 22px;
  border-radius: 999px;
  background: #061018;
  border: 1px solid rgba(201,161,91,0.38);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 4vw, 32px);
  line-height: 1.2;
  color: var(--gold);
}
.rpt-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 28px;
  font-family: system-ui, sans-serif;
  font-size: 15px;
}
.rpt-table th,
.rpt-table td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.rpt-table th {
  color: var(--muted);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.rpt-table td { color: var(--ink); }
.rpt-table tr:last-child td { border-bottom: 0; }
.rpt-edu {
  display: grid;
  gap: 12px;
  margin: 0 0 22px;
  padding: 16px 16px;
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
}
.rpt-edu p {
  margin: 0;
  font-family: system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink);
}
.rpt-edu strong {
  display: block;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
  font-weight: 700;
}
.rpt-caveat {
  font-family: system-ui, sans-serif;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
  margin: 0 0 18px;
}
.rpt-actions { margin: 8px 0 0; }
@media (max-width: 520px) {
  .rpt-patient { grid-template-columns: 1fr; }
  .rpt-card .btn { width: 100%; text-align: center; }
}
@media print {
  .bg, .rpt-actions, .rpt-head-actions .signout, .back { display: none !important; }
  body.report-sheet {
    background: #fff;
    color: #0b1c2c;
    padding: 16px;
  }
  .report-sheet .wordmark,
  .report-sheet h1,
  .report-sheet .rpt-table td,
  .report-sheet .rpt-patient div { color: #0b1c2c; }
  .report-sheet .eyebrow,
  .report-sheet .rpt-tech,
  .report-sheet .rpt-patient span,
  .report-sheet .rpt-table th,
  .report-sheet .rpt-caveat,
  .report-sheet footer p { color: #4a5a66; }
  .report-sheet .rpt-banner {
    background: #0b1c2c;
    color: #c9a15b;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .rpt-watermark { color: rgba(11,28,44,0.08); }
  .sample-badge {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}

.fax-sheet {
  margin: 0 0 28px;
  padding: 18px 18px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 8px;
}
.fax-banner {
  font-family: system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px dashed rgba(201,161,91,0.35);
}
.fax-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
  margin: 0 0 18px;
}
.fax-meta div {
  font-family: system-ui, sans-serif;
  font-size: 14px;
  color: var(--ink);
}
.fax-meta span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 3px;
}
.fax-exam {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  margin: 0 0 14px;
  color: var(--ink);
}
.fax-body p {
  font-family: system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 12px;
}
.fax-body p:last-child { margin-bottom: 0; }
.fax-sign {
  margin-top: 18px !important;
  color: var(--muted) !important;
  font-size: 14px !important;
}
@media (max-width: 520px) {
  .fax-meta { grid-template-columns: 1fr; }
}
@media print {
  .fax-sheet {
    background: #fff;
    border-color: #c9c9c9;
  }
  .fax-exam, .fax-body p, .fax-meta div { color: #0b1c2c; }
  .fax-meta span, .fax-sign { color: #4a5a66 !important; }
}
