:root {
  color: #16364c;
  background: #f1f5f7;
  font: 100%/1.55 "Aptos", "Segoe UI", system-ui, sans-serif;
  --blue: #005293;
  --navy: #13374d;
  --muted: #526b7a;
  --border: #d5e2e9;
  --tint: #eaf4fa;
  --white: #fff;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
input, textarea, button { font: inherit; }
a { color: var(--blue); text-underline-offset: .18em; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .65; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #1684be; outline-offset: 3px; }

.skip {
  position: absolute;
  top: .5rem;
  left: .5rem;
  z-index: 2;
  padding: .6rem 1rem;
  background: var(--white);
  transform: translateY(-150%);
}
.skip:focus { transform: none; }
.masthead { background: var(--white); border-bottom: 1px solid #e0e9ee; }
.masthead-inner {
  max-width: 78rem;
  margin: auto;
  padding: .7rem clamp(1rem, 4vw, 2.5rem);
  min-height: 5.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.masthead img { display: block; height: auto; }
.masthead-inner > img { width: clamp(8.4rem, 22vw, 9.6rem); }
.prepared-by {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: var(--muted);
  font-size: .875rem;
}
.prepared-by > span { white-space: nowrap; }
.partner-logos { display: flex; align-items: center; gap: .65rem; }
.partner-logo-coax { width: 6.5rem; }
.partner-logo-excitation { width: 7rem; }
.page { max-width: 78rem; margin: auto; padding: 1.75rem clamp(1rem, 4vw, 2.5rem) 2rem; }
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1.03fr 1fr;
  overflow: hidden;
  min-height: 20.5rem;
  border-radius: 1.15rem;
  background: #dcecf5;
  box-shadow: inset 0 0 0 1px #d4e7f2;
}
.hero-copy {
  z-index: 1;
  position: relative;
  align-self: center;
  padding: clamp(1.7rem, 5vw, 3.4rem) 0 clamp(1.7rem, 5vw, 3.4rem) clamp(1.4rem, 5vw, 3.4rem);
}
.hero h1 {
  max-width: 10ch;
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.5rem, 5.7vw, 4.45rem);
  letter-spacing: -.065em;
  font-weight: 720;
  line-height: .99;
}
.hero p { max-width: 30ch; margin: 1rem 0 1.25rem; color: #2d5268; font-size: clamp(1rem, 1.75vw, 1.13rem); }
.hero-image { width: 100%; height: 100%; object-fit: cover; object-position: right center; position: absolute; inset: 0; z-index: -2; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #e6f2f9 0%, #e6f2f9 35%, #e6f2f9ed 45%, #e6f2f900 65%);
}
.workspace {
  display: grid;
  grid-template-columns: minmax(13.5rem, .29fr) minmax(0, 1fr);
  gap: 1.4rem;
  align-items: start;
  margin-top: 1.5rem;
  scroll-margin-top: 1rem;
}
.outline, .question-card {
  background: var(--white);
  border: 1px solid #dce6eb;
  border-radius: 1.05rem;
  box-shadow: 0 8px 26px #11364a06;
}
.outline { position: sticky; top: 1rem; padding: 1.15rem; }
.outline-heading h2 { font-size: 1.15rem; margin: 0; letter-spacing: -.02em; }
.outline-heading p { margin: .25rem 0 .2rem; font-size: .875rem; color: var(--muted); }
progress {
  display: block;
  appearance: none;
  width: 100%;
  height: .38rem;
  overflow: hidden;
  border: none;
  border-radius: 1rem;
  background: #dce9ee;
  color: #2c7f65;
}
progress::-webkit-progress-bar { background: #dce9ee; }
progress::-webkit-progress-value { background: #2c7f65; border-radius: 1rem; }
progress::-moz-progress-bar { background: #2c7f65; }
.outline ol { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .25rem; }
.outline button {
  width: 100%;
  background: none;
  border: 1px solid transparent;
  border-radius: .45rem;
  color: #37546a;
  padding: .5rem .55rem;
  text-align: left;
  font-size: .925rem;
  font-weight: 600;
  line-height: 1.26;
}
.outline button:hover { background: #f0f6f9; }
.outline button[aria-current="step"] { background: var(--tint); color: #084b7c; border-color: #cde3f2; }
.draft-state {
  border-top: 1px solid #e3ebef;
  margin: .9rem 0 0;
  padding: .78rem 0 0;
  color: var(--muted);
  font-size: .875rem;
}
.question-card { min-width: 0; padding: clamp(1.1rem, 4vw, 2.1rem); }
.step-header { margin-bottom: 1.25rem; }
.interview-note { margin: .5rem 0 0; color: var(--muted); font-size: .875rem; }
.step-header h2, .review-main h1 {
  color: var(--navy);
  margin: 0;
  font-size: clamp(1.65rem, 4vw, 2.45rem);
  line-height: 1.15;
  font-weight: 690;
  letter-spacing: -.036em;
}
.step-header > p:last-child { color: var(--muted); margin: .5rem 0 0; max-width: 61ch; }
.question {
  margin: 0 0 1rem;
  padding: 0 0 1rem;
  border: 0;
  border-bottom: 1px solid #e5edf1;
  min-width: 0;
}
.question label, .question legend { font-size: 1.02rem; font-weight: 650; color: var(--navy); }
.question > label { display: block; }
.question legend { padding: 0; width: 100%; }
.hint { margin: .23rem 0 .55rem; color: var(--muted); font-size: .94rem; }
.required { font-size: .81rem; font-weight: 550; color: var(--muted); margin-left: .42rem; }
textarea, .text-input {
  display: block;
  width: 100%;
  border: 1px solid #b9d0dd;
  border-radius: .55rem;
  background: #fbfdfe;
  color: var(--navy);
  padding: .66rem .75rem;
}
textarea { min-height: 6.2rem; resize: vertical; }
textarea::placeholder, .text-input::placeholder { color: #5f7685; }
.options { display: flex; flex-wrap: wrap; gap: .45rem; margin: .55rem 0 .1rem; }
.question .option {
  display: inline-flex;
  align-items: center;
  gap: .42rem;
  padding: .48rem .62rem;
  border: 1px solid #cedde6;
  border-radius: .5rem;
  background: #fbfdfe;
  color: #294b63;
  font-size: .92rem;
  font-weight: 550;
  cursor: pointer;
}
.option:has(input:checked) { background: #eaf4fa; border-color: #548db3; color: #134b72; }
.option input { flex: none; accent-color: var(--blue); width: 1.05rem; height: 1.05rem; margin: 0; }
.guide, .access-panel, .review-section {
  border: 1px solid #c9dfec;
  border-radius: .7rem;
  padding: 1rem;
  margin-bottom: 1.25rem;
  background: #f3f9fc;
}
.guide h3, .access-panel h3, .review-section h3 { margin: 0 0 .35rem; color: var(--navy); font-size: 1.11rem; line-height: 1.3; }
.guide h4 { margin: .85rem 0 .2rem; font-size: 1rem; }
.guide p, .access-panel p, .review-section p { margin: .35rem 0; font-size: .95rem; }
.guide ol { padding-left: 1.35rem; margin: .7rem 0 .5rem; }
.guide li + li { margin-top: .5rem; }
.guide-links { display: flex; flex-wrap: wrap; column-gap: 1rem; }
.copy-banner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .45rem 1rem; }
.copy-value { display: block; font-size: 1.13rem; font-weight: 680; color: #063f6c; overflow-wrap: anywhere; }
.copy-value[data-digits] { font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.copy-button { min-height: 2.45rem !important; padding: .34rem .65rem !important; }
.access-panel label { font-weight: 650; display: block; margin: .5rem 0 .3rem; }
.access-panel .button { margin-top: .65rem; }
.review-section { background: #fbfdfe; border-color: var(--border); }
.review-section header { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; }
.review-section dl { margin: .25rem 0 0; }
.review-section dt { font-weight: 650; margin-top: .65rem; }
.review-section dd { margin: .12rem 0 .5rem; white-space: pre-wrap; overflow-wrap: anywhere; }
.text-button {
  padding: .25rem .2rem;
  border: 0;
  background: none;
  color: var(--blue);
  font-weight: 640;
  text-decoration: underline;
  text-underline-offset: .15em;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  padding: .58rem 1rem;
  border: 1px solid transparent;
  border-radius: .49rem;
  font-weight: 660;
  text-decoration: none;
  line-height: 1.25;
  font-size: .97rem;
}
.primary { color: var(--white); background: var(--blue); }
.primary:hover:enabled, a.primary:hover { background: #004273; }
.secondary { color: #154e74; background: #fff; border-color: #b6cedd; }
.secondary:hover:enabled { background: #e9f5fc; }
.step-actions { display: flex; justify-content: space-between; gap: .7rem; }
.step-actions .primary { margin-left: auto; }
.interaction-status { color: #245a49; font-weight: 620; font-size: .93rem; margin: .6rem 0; }
.interaction-status:empty { display: none; }
.interaction-status[data-error="true"] { color: #843024; }
.review-meta { color: var(--muted); font-size: .94rem; }
.review-main { max-width: 62rem; margin: auto; padding: 2rem clamp(1rem, 4vw, 2rem); }
.review-main > p { margin: .6rem 0 1.2rem; }
.review-main .question-card { margin-bottom: 1rem; }
.review-toolbar { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; margin-bottom: 1rem; }
.noscript { padding: 1rem; border: 1px solid #b9d0dd; background: #fff; }

@media (max-width: 850px) {
  .hero-image { width: 67%; left: auto; object-position: 93% center; }
  .hero::after { background: linear-gradient(90deg, #e6f2f9 0%, #e6f2f9 38%, #e6f2f9ee 50%, #e6f2f900 76%); }
  .workspace { grid-template-columns: 11.75rem minmax(0, 1fr); gap: .9rem; }
  .outline { padding: .85rem; }
}

@media (max-width: 620px) {
  .masthead-inner { min-height: 4.35rem; gap: .75rem; }
  .masthead-inner > img { width: clamp(6.6rem, 29vw, 8.4rem); }
  .prepared-by { flex-direction: column; align-items: flex-end; gap: .15rem; }
  .prepared-by > span { font-size: .78rem; }
  .partner-logos { gap: .35rem; }
  .partner-logo-coax { width: clamp(4.4rem, 16vw, 6.5rem); }
  .partner-logo-excitation { width: clamp(4.8rem, 18vw, 7rem); }
  .page { padding-top: 1rem; }
  .hero { display: flex; flex-direction: column; min-height: 0; }
  .hero-copy { align-self: stretch; padding: 1.4rem 1.2rem 1.15rem; }
  .hero h1 { font-size: clamp(2.25rem, 8vw, 3.4rem); }
  .hero p { margin: .65rem 0 .9rem; }
  .hero-image { position: static; display: block; width: 100%; height: 9rem; object-position: right center; }
  .hero::after { display: none; }
  .workspace { grid-template-columns: minmax(0, 1fr); margin-top: 1rem; }
  .outline { position: static; }
  .outline nav { margin-top: .6rem; }
  .outline ol { margin: 0; grid-template-columns: 1fr 1fr; }
  .outline button { height: 100%; }
  .draft-state { padding-top: .5rem; margin-top: .55rem; }
  .question-card { padding: 1.1rem; }
}
