:root {
  color-scheme: light;
  --ink: #0b0d10;
  --paper: #f4f4f2;
  --soft: #d8d8d3;
  --line: rgba(11, 13, 16, 0.18);
  --muted: #5d6065;
  --blue: #073d82;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 14px clamp(20px, 4vw, 64px);
  background: rgba(244, 244, 242, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand { display: inline-flex; width: min(360px, 56vw); }
.brand img { display: block; width: 100%; height: auto; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.portal-link,
.header-quote {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease;
}

.header-quote {
  color: white;
  background: var(--ink);
}

.quote-label-short { display: none; }

.portal-link:hover,
.portal-link:focus-visible { color: white; background: var(--ink); }

.header-quote:hover,
.header-quote:focus-visible { color: var(--ink); background: transparent; }

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 100svh;
  padding: 140px clamp(24px, 8vw, 124px) 80px;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 24%, rgba(255,255,255,.9), transparent 28%),
    linear-gradient(135deg, #ececea 0%, #cacbc8 52%, #f7f7f5 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 76px 0 0 55%;
  border-left: 1px solid rgba(11, 13, 16, 0.1);
  transform: skewX(-16deg);
}

.hero-copy { position: relative; z-index: 1; max-width: 870px; }

.eyebrow {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  margin-bottom: 28px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.4rem, 9vw, 8.6rem);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.88;
}

.lede {
  max-width: 590px;
  margin-bottom: 0;
  color: #35383c;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.55;
}

.scroll-cue {
  position: absolute;
  right: clamp(24px, 5vw, 72px);
  bottom: 34px;
  width: 1px;
  height: 70px;
  background: var(--line);
}

.scroll-cue span { display: block; width: 1px; height: 24px; background: var(--ink); animation: scroll 2s infinite; }

@keyframes scroll {
  0% { transform: translateY(0); opacity: 0; }
  25% { opacity: 1; }
  100% { transform: translateY(46px); opacity: 0; }
}

.workflow {
  min-height: 100svh;
  padding: clamp(96px, 13vw, 180px) clamp(24px, 6vw, 96px);
  background: #ececea;
}

.section-heading { max-width: 760px; margin-bottom: clamp(60px, 9vw, 120px); }

h2 {
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 7vw, 7rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.process {
  display: grid;
  grid-template-columns: minmax(0,1fr) 70px minmax(0,1fr) 70px minmax(0,1fr);
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}

.process-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 360px;
  padding: 38px 26px;
  background: rgba(255,255,255,0.42);
  border: 1px solid var(--line);
  text-align: center;
}

.step-number {
  position: absolute;
  top: 18px;
  left: 20px;
  color: #777b80;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.process-step h3 { margin: 34px 0 8px; font-size: 1.2rem; }
.process-step p { margin-bottom: 0; color: var(--muted); font-size: 0.95rem; }

.connector { height: 1px; background: var(--ink); }
.connector span { display: block; float: right; width: 9px; height: 9px; border-top: 1px solid; border-right: 1px solid; transform: translateY(-4px) rotate(45deg); }

.submission-pair {
  display: grid;
  grid-template-columns: 98px 28px 74px;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.ultrasound-thumb {
  display: block;
  width: 98px;
  height: 98px;
  overflow: hidden;
  background: #050505;
  border: 1px solid var(--ink);
  box-shadow: 7px 7px 0 #c7c7c4;
  transform: rotate(-3deg);
}

.ultrasound-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.plus-mark {
  display: grid;
  place-items: center;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
}

.pdf-sheet {
  position: relative;
  display: grid;
  place-items: end center;
  width: 74px;
  height: 96px;
  padding-bottom: 14px;
  background: #fafaf8;
  border: 1px solid var(--ink);
  box-shadow: 7px 7px 0 #c7c7c4;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  transform: rotate(3deg);
}

.pdf-sheet::before,
.pdf-sheet::after {
  content: "";
  position: absolute;
  left: 15px;
  right: 15px;
  height: 1px;
  background: #9b9d9f;
}
.pdf-sheet::before { top: 25px; }
.pdf-sheet::after { top: 42px; }

.portal-window { width: 154px; height: 108px; background: #111317; border: 1px solid #111317; box-shadow: 12px 12px 0 #c7c7c4; }
.window-bar { display: flex; gap: 4px; height: 20px; padding: 7px; background: #f8f8f6; }
.window-bar i { width: 5px; height: 5px; border-radius: 50%; background: #777; }
.upload-mark { display: grid; place-items: center; height: 86px; color: white; font-family: Georgia, serif; font-size: 2.5rem; }

.report-sheet { position: relative; width: 96px; height: 126px; padding: 25px 18px; background: #fafaf8; border: 1px solid var(--ink); }
.report-sheet span { display: block; height: 1px; margin-bottom: 15px; background: #777; }
.report-sheet b { position: absolute; right: -16px; bottom: 12px; display: grid; place-items: center; width: 42px; height: 42px; color: white; background: var(--ink); border-radius: 50%; font-size: 1.2rem; }

.value {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #dededb;
}

.value p { display: grid; place-items: center; min-height: 140px; margin: 0; padding: 24px; border-right: 1px solid var(--line); font-family: Georgia, serif; font-size: clamp(1.3rem, 2.4vw, 2.1rem); text-align: center; }
.value p:last-child { border-right: 0; }

.quote {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(360px, 1.15fr);
  gap: clamp(54px, 9vw, 140px);
  min-height: 100svh;
  padding: clamp(110px, 13vw, 180px) clamp(24px, 8vw, 124px);
  color: white;
  background: #0b0d10;
}

.quote .eyebrow { color: #a5a7aa; }
.quote h2 { position: sticky; top: 120px; }

.quote-form { align-self: center; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.quote-form label { display: block; margin-bottom: 28px; }
.quote-form label > span { display: block; margin-bottom: 10px; color: #b8babd; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.quote-form input,
.quote-form textarea {
  width: 100%;
  padding: 13px 0;
  color: white;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #6b6d70;
  border-radius: 0;
  font: inherit;
  font-size: 1.05rem;
  outline: 0;
}
.quote-form textarea { resize: vertical; }
.quote-form input:focus,
.quote-form textarea:focus { border-color: white; box-shadow: 0 1px 0 white; }
.quote-form button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 62px;
  margin-top: 22px;
  padding: 0 22px;
  color: var(--ink);
  background: white;
  border: 1px solid white;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease;
}
.quote-form button:hover,
.quote-form button:focus-visible { color: white; background: transparent; }
.form-note { margin-top: 14px; color: #9ea0a4; font-size: 0.78rem; }
#form-note:empty { display: none; }
.quote-form button:disabled { opacity: .65; cursor: wait; }

footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px 40px;
  align-items: end;
  padding: 50px clamp(24px, 6vw, 96px);
  background: #f4f4f2;
  border-top: 1px solid var(--line);
}
footer img { width: min(330px, 72vw); }
footer a { font-weight: 700; }
footer p { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 0.74rem; }

@media (max-width: 820px) {
  .site-header { min-height: 68px; padding: 12px 18px; }
  .brand { width: min(210px, 39vw); }
  .header-actions { gap: 6px; }
  .portal-link,
  .header-quote { min-height: 42px; padding: 0 10px; font-size: 0.68rem; }
  .quote-label-full { display: none; }
  .quote-label-short { display: inline; }
  .hero { min-height: 92svh; padding: 130px 24px 76px; }
  .hero::after { display: none; }
  h1 {
    font-size: clamp(3.15rem, 15vw, 5.8rem);
    line-height: 1.12;
  }
  .workflow { padding: 100px 24px; }
  .process { grid-template-columns: 1fr; max-width: 430px; }
  .process-step { min-height: 320px; }
  .connector { width: 1px; height: 58px; margin: auto; }
  .connector span { float: none; margin-top: 49px; transform: translateX(-4px) rotate(135deg); }
  .value { grid-template-columns: 1fr; }
  .value p { min-height: 110px; border-right: 0; border-bottom: 1px solid var(--line); }
  .value p:last-child { border-bottom: 0; }
  .quote { grid-template-columns: 1fr; min-height: auto; }
  .quote h2 { position: static; }
  .field-grid { grid-template-columns: 1fr; gap: 0; }
  footer { grid-template-columns: 1fr; align-items: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
