:root {
  color-scheme: light;
  --ink: #173d3c;
  --muted: #526865;
  --green: #087464;
  --deep: #07594c;
  --pale: #eff6f1;
  --paper: #f8f9f5;
  --edge: #c9d4cd;
  --softedge: #dce4dc;
  font-family: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.5;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
button, select, input, textarea { font: inherit; }
button, select, label.choice { -webkit-tap-highlight-color: transparent; }
svg { display: block; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.masthead { border-bottom: 1px solid #d6e0d7; background: #fff; }
.mast-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; max-width: 1224px; padding: 19px 48px; margin: auto; }
.brand { display: flex; align-items: center; gap: 18px; }
.wordmark { font-weight: 820; font-size: 1.8rem; letter-spacing: -.085em; line-height: 1.2; color: var(--ink); }
.brand-name { padding-left: 16px; border-left: 1px solid #bdd0c7; font-size: .83rem; font-weight: 580; }
.duration { display: inline-flex; align-items: center; gap: 7px; font-size: .84rem; font-weight: 600; color: var(--muted); white-space: nowrap; }
.shell { max-width: 1224px; margin: auto; padding: clamp(36px,6vw,82px) 48px 64px; display: grid; grid-template-columns: minmax(245px,.78fr) minmax(0,1.45fr); gap: clamp(35px,7vw,100px); align-items: start; }
.context { padding-top: 13px; }
.eyebrow { display: flex; align-items: center; gap: 9px; font-size: .69rem; font-weight: 740; color: var(--green); text-transform: uppercase; letter-spacing: .125em; margin: 0 0 15px; }
.eyebrow span { width: 25px; height: 2px; background: var(--green); }
h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.5rem, 3.8vw, 3.85rem); line-height: 1.04; letter-spacing: -.055em; font-weight: 400; margin: 0; max-width: 9.7em; }
.intro { margin: 20px 0 32px; font-size: 1rem; color: var(--muted); line-height: 1.62; max-width: 32rem; }
.progress-nav { border-top: 1px solid #cdd8ce; padding-top: 24px; }
#progress { margin: 0; list-style: none; padding: 0; display: grid; gap: 0; }
#progress li { position: relative; display: flex; align-items: center; gap: 12px; min-height: 49px; color: var(--muted); font-size: .92rem; }
#progress li:not(:last-child)::after { content: ""; position: absolute; top: calc(50% + 14px); bottom: -11px; left: 14px; border-left: 1px solid #c3d1c7; }
.step-number { position: relative; z-index: 1; width: 30px; height: 30px; display: grid; place-items: center; font-size: .8rem; font-weight: 650; border: 1px solid #afc2b9; background: var(--paper); border-radius: 50%; }
#progress [aria-current="step"] { color: var(--ink); font-weight: 740; }
#progress [aria-current="step"] .step-number { border-color: var(--deep); background: var(--deep); color: #fff; }
#progress .complete .step-number { border-color: #95c0ae; background: #e2eee4; color: var(--deep); }
.privacy-note { margin: 27px 0 0; display: flex; align-items: flex-start; gap: 8px; font-size: .805rem; color: var(--muted); }
.privacy-note svg { margin-top: 2px; }
.panel { background: #fff; border: 1px solid var(--softedge); border-top: 3px solid var(--green); border-radius: 16px; box-shadow: 0 12px 34px #203c3210; padding: clamp(24px,3vw,42px); min-height: 340px; }
.count { font-size: .74rem; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; color: var(--green); margin: 0 0 7px; }
.panel h2 { font-size: clamp(1.7rem,2.7vw,2.3rem); font-weight: 660; letter-spacing: -.055em; line-height: 1.15; margin: 0 0 6px; }
.panel h2:focus { outline: none; }
.step-description { margin: 0; color: var(--muted); font-size: .95rem; }
fieldset { min-width: 0; border: none; padding: 0; margin: 27px 0 0; }
legend { padding: 0; font-size: 1.02rem; line-height: 1.4; font-weight: 660; letter-spacing: -.017em; }
.help { margin: 2px 0 0; color: var(--muted); font-size: .83rem; line-height: 1.45; }
.option-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; margin-top: 11px; }
.option-grid.compact { grid-template-columns: repeat(3,minmax(0,1fr)); }
label.choice { cursor: pointer; display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 10px 12px; color: var(--ink); border: 1px solid var(--edge); border-radius: 8px; font-size: .91rem; line-height: 1.36; transition: border-color .12s, background .12s; }
label.choice input { margin: 0; accent-color: var(--green); width: 16px; height: 16px; flex: 0 0 16px; }
label.choice:has(:checked) { background: var(--pale); border-color: var(--green); box-shadow: inset 0 0 0 .35px var(--green); }
@media (hover:hover) { label.choice:hover, select:hover { border-color: var(--green); } .primary:hover { background: var(--deep); } .secondary:hover { background: var(--pale); } }
label.choice:has(:focus-visible), button:focus-visible, select:focus-visible, textarea:focus-visible, input.field:focus-visible { outline: 3px solid #77aead; outline-offset: 2px; }
.field { width: 100%; margin: 10px 0 0; padding: 11px 12px; line-height: 1.4; color: var(--ink); background: white; border: 1px solid var(--edge); border-radius: 8px; }
.field::placeholder { color: #63746f; }
select.field { min-height: 46px; cursor: pointer; }
textarea.field { resize: vertical; min-height: 75px; }
.small-group { margin-top: 14px; }
.small-group label { display: block; font-size: .87rem; font-weight: 580; }
.small-group .field { margin-top: 6px; }
.error { margin: 8px 0 0; font-size: .86rem; color: #9a3127; font-weight: 565; }
.invalid > legend { color: #8c3025; }
.actions { margin-top: 30px; border-top: 1px solid var(--softedge); padding-top: 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.actions.first { justify-content: flex-end; }
button { border-radius: 8px; padding: 12px 19px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-weight: 640; font-size: .92rem; min-height: 45px; transition: background .15s; }
button.primary { border: 1px solid var(--green); color: #fff; background: var(--green); }
button.secondary { color: var(--ink); background: white; border: 1px solid var(--edge); }
button:disabled { opacity: .7; cursor: progress; }
.loading, .sent-text { color: var(--muted); }
.sent-icon { display: grid; place-items: center; width: 58px; height: 58px; background: var(--pale); color: var(--green); border-radius: 50%; margin-bottom: 24px; }
.sent-text { max-width: 36rem; }
[hidden] { display: none !important; }
@media(max-width:850px) {
  .mast-inner { padding: 16px 28px; } .shell { padding: 36px 28px 48px; grid-template-columns: .73fr 1.4fr; gap: 27px; }
  .context h1 { font-size: 2.6rem; } .panel { padding: 24px; } .option-grid:not(.compact) { grid-template-columns: 1fr; }
}
@media(max-width:670px) {
  .mast-inner { padding: 13px 20px; } .brand { gap: 11px; } .brand-name { font-size: .74rem; padding-left: 11px; }
  .wordmark { font-size: 1.52rem; } .duration { font-size: .75rem; gap: 4px; }
  .shell { display: flex; flex-direction: column; gap: 17px; padding: 22px 14px 36px; } .context { padding: 0 5px; width: 100%; }
  .eyebrow { margin-bottom: 9px; font-size: .64rem; }
  .context h1 { max-width: 100%; font-size: clamp(1.9rem,5.7vw,2.55rem); }
  .intro { margin: 11px 0 16px; font-size: .9rem; line-height: 1.5; }
  .progress-nav { padding-top: 13px; } #progress { display: flex; align-items: flex-start; justify-content: space-between; gap: 4px; }
  #progress li { flex: 1 0 0; flex-direction: column; align-items: center; gap: 5px; min-height: auto; text-align: center; font-size: .72rem; line-height: 1.25; }
  #progress li:not(:last-child)::after { left: calc(50% + 20px); right: calc(-50% + 16px); top: 13px; bottom: auto; border-left: none; border-top: 1px solid #c3d1c7; }
  .step-number { width: 26px; height: 26px; font-size: .72rem; } .privacy-note { display: none; }
  .panel { padding: 21px 17px; width: 100%; border-radius: 12px; }
  fieldset { margin-top: 23px; } .panel h2 { font-size: 1.75rem; }
  .step-description { font-size: .9rem; } .field { font-size: 16px; }
  .option-grid.compact { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
