:root {
  --paper:#f4f3ef;
  --white:#fdfdfa;
  --ink:#182729;
  --muted:#657274;
  --line:#d6ddda;
  --teal:#087f82;
  --dark:#17282b;
}
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
  margin:0;
  font-family:"Segoe UI",Arial,sans-serif;
  color:var(--ink);
  background:var(--paper);
  -webkit-font-smoothing:antialiased;
}
button,input,select,textarea { font:inherit; }
a { color:inherit; }
[hidden] { display:none !important; }
:focus-visible { outline:2px solid var(--teal); outline-offset:3px; }
.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;
}
.skip-link { position:absolute;top:-100px;left:12px;background:white;padding:12px;z-index:10; }
.skip-link:focus { top:12px; }

.topbar {
  min-height:83px;
  padding:16px clamp(22px,5vw,85px);
  display:flex;
  justify-content:space-between;
  align-items:center;
  border-bottom:1px solid var(--line);
}
.brand {
  display:inline-flex;
  flex-direction:column;
  text-decoration:none;
  font-size:27px;
  font-weight:750;
  letter-spacing:.1em;
  line-height:1;
}
.brand-accent { color:var(--teal); }
.brand-name {
  margin-top:7px;
  font-size:9px;
  letter-spacing:.35em;
}
.return-link {
  font-size:13px;
  font-weight:600;
  text-decoration:none;
}
.return-link span { margin-right:9px; }
.return-link:hover { color:var(--teal); }

.page-shell {
  display:grid;
  grid-template-columns:minmax(300px,40%) minmax(0,60%);
  min-height:calc(100vh - 83px);
}
.intro-panel {
  background:var(--dark);
  color:white;
  padding:clamp(40px,5.5vw,90px);
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  gap:90px;
}
.small-label,.step-label {
  font-size:11px;
  font-weight:700;
  letter-spacing:.14em;
  text-transform:uppercase;
}
.small-label { color:#83c5bf; }
.intro-panel h1 {
  max-width:550px;
  font-size:clamp(40px,4vw,65px);
  font-weight:600;
  line-height:1.13;
  letter-spacing:-.055em;
  margin:40px 0 28px;
}
.intro-copy {
  max-width:440px;
  color:#b8cecb;
  line-height:1.85;
  font-size:16px;
}
.side-line { width:65px;height:2px;background:#5ab5af; }
.intro-bottom p {
  font-size:22px;
  line-height:1.45;
  letter-spacing:-.02em;
}
.intro-bottom > span { font-size:12px;color:#a9c4c0; }

.form-panel {
  padding:clamp(32px,5vw,80px) clamp(22px,6vw,100px);
}
.form-container { max-width:750px;margin:0 auto; }
.form-heading {
  display:flex;
  justify-content:space-between;
  gap:15px;
  font-size:11px;
  font-weight:650;
  letter-spacing:.12em;
  color:var(--muted);
}
.progress-track {
  height:3px;
  background:#d8dfdc;
  margin:21px 0 62px;
}
.progress-fill {
  width:25%;
  height:100%;
  background:var(--teal);
  transition:width .25s ease;
}
.step-label { color:var(--teal); }
.form-step h2 {
  font-size:clamp(30px,3vw,46px);
  font-weight:600;
  letter-spacing:-.045em;
  line-height:1.18;
  margin:14px 0;
}
.step-description {
  color:var(--muted);
  font-size:15px;
  line-height:1.8;
  margin-bottom:35px;
  max-width:530px;
}
fieldset { border:0;padding:0;margin:0;min-width:0; }
.project-choices {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}
.choice { position:relative;cursor:pointer; }
.choice input {
  position:absolute;
  top:17px;
  right:17px;
  width:18px;
  height:18px;
  accent-color:var(--teal);
}
.choice-body {
  min-height:157px;
  padding:21px;
  background:var(--white);
  border:1px solid var(--line);
  display:flex;
  align-items:flex-start;
  flex-direction:column;
  transition:border-color .2s,background .2s;
}
.choice-body:hover { border-color:#81aca8; }
.choice input:checked + .choice-body {
  border-color:var(--teal);
  background:#eaf3ef;
  box-shadow:inset 0 0 0 1px var(--teal);
}
.choice input:focus-visible + .choice-body {
  outline:2px solid var(--teal);
  outline-offset:3px;
}
.choice-icon {
  margin-bottom:20px;
  color:var(--teal);
  font-weight:700;
  font-size:12px;
}
.choice-body strong { font-size:15px; }
.choice-body small {
  margin-top:5px;
  font-size:12px;
  color:var(--muted);
  line-height:1.5;
  padding-right:5px;
}
.choice-wide { grid-column:1/-1; }
.choice-wide .choice-body { min-height:115px; }
.choice-wide .choice-icon { margin-bottom:10px; }

.field { margin:0 0 25px; }
.field label,fieldset legend {
  display:block;
  margin-bottom:10px;
  font-size:13px;
  font-weight:650;
}
.optional { color:var(--muted);font-weight:400; }
.field input,.field textarea,.field select {
  display:block;
  width:100%;
  border:1px solid #cbd5d1;
  background:var(--white);
  border-radius:0;
  padding:14px 15px;
  color:var(--ink);
  font-size:15px;
  min-height:50px;
}
.field textarea { resize:vertical;min-height:135px; }
.field :is(input,textarea,select):focus {
  outline:2px solid var(--teal);
  outline-offset:1px;
}
.field-hint { display:block;margin-top:8px;color:var(--muted);font-size:12px; }
.field-pair {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}
.feature-fieldset,.readiness-fieldset { margin:28px 0; }
.feature-grid,.readiness-options {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}
.feature-grid label,.readiness-options label {
  display:flex;
  align-items:center;
  gap:10px;
  padding:13px;
  background:var(--white);
  border:1px solid var(--line);
  font-size:13px;
  cursor:pointer;
}
.feature-grid input,.readiness-options input,.consent input {
  flex-shrink:0;
  accent-color:var(--teal);
  width:16px;height:16px;
}
.consent {
  display:flex;
  gap:12px;
  align-items:flex-start;
  margin:20px 0;
  font-size:13px;
  color:#4d5e60;
  line-height:1.65;
}
.consent input { margin-top:3px; }
.review {
  margin-top:32px;
  background:#e8eeea;
  padding:22px;
  border:1px solid #d1dbd5;
}
.review-head {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-bottom:15px;
}
.review-head span { color:var(--muted);font-size:11px; }
.review dl { margin:0; }
.review dt {
  color:var(--muted);
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.09em;
  margin-top:15px;
}
.review dd {
  margin:4px 0 0;
  font-size:13px;
  overflow-wrap:anywhere;
  white-space:pre-wrap;
}
.form-error {
  margin-top:20px;
  color:#9e3832;
  font-size:13px;
  font-weight:600;
}
.form-navigation {
  display:flex;
  justify-content:flex-end;
  gap:12px;
  align-items:center;
  margin-top:36px;
}
.next-button,.back-button {
  border:0;
  cursor:pointer;
  padding:14px 22px;
  min-height:50px;
  font-size:13px;
  font-weight:650;
}
.next-button {
  color:white;
  background:var(--dark);
}
.next-button:hover { background:var(--teal); }
.next-button span { margin-left:25px; }
.back-button { background:transparent;color:var(--ink); }
.back-button:hover { color:var(--teal); }
.back-button span { margin-right:10px; }
.form-footnote {
  margin-top:40px;
  color:var(--muted);
  font-size:11px;
  line-height:1.7;
}
@media(max-width:1050px) {
  .page-shell { grid-template-columns:1fr; }
  .intro-panel { gap:30px;padding:45px 6%; }
  .intro-panel h1 { max-width:740px;margin:18px 0; }
  .intro-bottom { display:none; }
  .form-panel { padding:50px 6% 80px; }
}
@media(max-width:600px) {
  .topbar { padding:16px 5%; }
  .return-link { font-size:12px; }
  .intro-panel { padding:35px 5%; }
  .intro-panel h1 { font-size:36px; }
  .form-panel { padding:35px 5% 60px; }
  .progress-track { margin-bottom:40px; }
  .project-choices,.field-pair,.feature-grid,.readiness-options {
    grid-template-columns:1fr;
  }
  .choice-wide { grid-column:auto; }
  .choice-body { min-height:120px; }
  .choice-icon { margin-bottom:10px; }
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after {
    transition:none !important;
    scroll-behavior:auto !important;
  }
}
/* Direct consultation submission */
.spam-trap {
  position:absolute;
  left:-10000px;
  width:1px;
  height:1px;
  overflow:hidden;
}
.next-button:disabled {
  opacity:.65;
  cursor:wait;
}
.submission-success {
  border-top:3px solid var(--teal);
  padding:48px 0;
}
.submission-success h2 {
  font-size:clamp(34px,4vw,52px);
  letter-spacing:-.045em;
  line-height:1.15;
}
.submission-success p {
  color:var(--muted);
  line-height:1.75;
}
.submission-success .reference-number {
  color:var(--teal);
  font-weight:650;
  margin-top:25px;
}