:root {
  color-scheme: light;
  --ink: #153d4c;
  --ink-strong: #103344;
  --muted: #63777e;
  --muted-light: #829399;
  --teal: #187f78;
  --teal-dark: #116a65;
  --mint: #e4f4ef;
  --paper: #ffffff;
  --canvas: #f4f7f5;
  --line: #e1e9e6;
  --gold: #d8a750;
  --danger: #ae4747;
  --shadow: 0 18px 54px rgba(23, 54, 65, .09);
  font-family: Inter, 'Segoe UI', Arial, sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--canvas); color: var(--ink); min-height: 100vh; }
button, input, select { font: inherit; }
button { cursor: pointer; }
a { color: var(--teal-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

.site-header { min-height: 74px; padding: 0 clamp(20px, 6vw, 84px); display: flex; align-items: center; justify-content: space-between; background: var(--paper); border-bottom: 1px solid rgba(21,61,76,.07); }
.brand { display: inline-flex; align-items: center; gap: 15px; color: var(--ink-strong); text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand-mark { font: 800 23px/1 Inter, 'Segoe UI', Arial, sans-serif; letter-spacing: -1.6px; color: var(--teal); }
.brand-mark span { color: var(--ink); }
.brand-divider { width: 1px; height: 27px; background: #dce6e4; }
.brand-caption, .secure-label, .language-label { font-size: 10px; font-weight: 700; letter-spacing: 1.2px; }
.brand-caption { color: #59717a; }
.header-right { display: flex; align-items: center; gap: 22px; color: var(--muted); }
.secure-label { display: flex; align-items: center; gap: 8px; letter-spacing: .3px; text-transform: none; font-size: 12px; font-weight: 600; }
.secure-dot { width: 8px; height: 8px; display: inline-block; border-radius: 50%; background: #57a98d; box-shadow: 0 0 0 3px #e7f4ef; flex: 0 0 auto; }
.language-label { color: #647b82; border: 1px solid var(--line); border-radius: 20px; padding: 7px 10px; }

.page-shell { width: min(100% - 32px, 938px); margin: 0 auto; padding: 47px 0 28px; }
.page-intro { text-align: center; margin-bottom: 28px; }
.eyebrow { margin: 0 0 10px; font-size: 10px; line-height: 1.4; font-weight: 700; color: var(--teal); letter-spacing: 1.8px; }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 12px; color: var(--ink-strong); font: 700 clamp(30px, 4vw, 42px)/1.14 Inter, 'Segoe UI', Arial, sans-serif; letter-spacing: -1.65px; }
h1 span { color: #51827e; }
.intro-copy { max-width: 555px; margin: 0 auto; color: var(--muted); font-size: 14px; line-height: 1.65; }

.service-guide { margin: 0 auto 18px; padding: 17px 20px 15px; border: 1px solid #e1eae6; border-radius: 12px; background: #fff; box-shadow: 0 5px 18px rgba(20,57,70,.035); }
.independent-note { display: flex; align-items: flex-start; gap: 10px; padding-bottom: 13px; border-bottom: 1px solid #edf1ef; color: #4c6268; font-size: 11px; line-height: 1.55; }
.independent-note p { margin: 0; }
.independent-note strong { color: var(--ink-strong); }
.journey-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 14px 0 12px; padding: 0; list-style: none; }
.journey-steps li { display: flex; gap: 9px; min-width: 0; }
.journey-steps li > span { display: grid; place-items: center; width: 23px; height: 23px; flex: 0 0 auto; border-radius: 50%; color: #27766f; background: #e9f4f0; font-size: 10px; font-weight: 700; }
.journey-steps li div { display: flex; flex-direction: column; gap: 4px; }
.journey-steps strong { color: #294b56; font-size: 10px; }
.journey-steps small { color: #75898d; font-size: 9px; line-height: 1.45; }
.success-rule { margin: 0; padding-top: 11px; border-top: 1px solid #edf1ef; color: #536c70; font-size: 10px; line-height: 1.5; }
.success-rule strong { color: #23685f; }

.gouda-product-link { display: flex; align-items: center; gap: 13px; margin: 0 auto 18px; padding: 15px 18px; color: var(--ink); background: #f1f8f5; border: 1px solid #cfe3dc; border-radius: 10px; }
.gouda-product-link:hover { text-decoration: none; border-color: #83b2aa; background: #edf7f3; }
.gouda-product-link > span:nth-child(2) { display: flex; flex: 1; flex-direction: column; gap: 5px; }
.gouda-product-link strong { font-size: 12px; }
.gouda-product-link small { color: var(--muted); font-size: 10px; line-height: 1.5; }
.gouda-product-link > span:last-child { color: var(--teal); font-weight: 700; }

.portal-card { background: var(--paper); border: 1px solid rgba(21,61,76,.07); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; }
.card-topline { padding: 18px 29px 0; display: flex; justify-content: space-between; align-items: center; color: #839399; font-weight: 700; letter-spacing: 1.4px; font-size: 9px; }
.demo-tag { display: inline-flex; align-items: center; gap: 6px; color: #8a6728; letter-spacing: .2px; text-transform: uppercase; font-size: 9px; background: #fff7e8; border-radius: 30px; padding: 6px 9px; }
.demo-tag span { width: 6px; height: 6px; background: var(--gold); border-radius: 50%; }
.steps { display: flex; align-items: center; gap: 10px; padding: 23px 29px 22px; border-bottom: 1px solid #edf1ef; }
.step { display: flex; align-items: center; gap: 8px; color: #9aa8aa; white-space: nowrap; font-size: 11px; font-weight: 600; }
.step-number { width: 24px; height: 24px; display: grid; place-items: center; border: 1px solid #dbe4e1; border-radius: 50%; font-size: 10px; }
.step.active { color: var(--ink); }
.step.active .step-number, .step.done .step-number { background: var(--teal); border-color: var(--teal); color: white; }
.step.done { color: var(--teal-dark); }
.step-line { flex: 1; height: 1px; background: #e4ebe8; min-width: 15px; }
.prototype-notice { display: flex; align-items: flex-start; gap: 10px; margin: 20px 29px 0; padding: 11px 13px; color: #755b2e; background: #fffaf0; border: 1px solid #f0e5ca; border-radius: 7px; }
.prototype-notice p { margin: 0; font-size: 11px; line-height: 1.55; }
.prototype-notice strong { font-weight: 700; }
.notice-icon { flex: 0 0 auto; width: 16px; height: 16px; display: grid; place-items: center; border: 1px solid #d9b86d; border-radius: 50%; font: 700 10px Georgia, serif; }
.view { padding: 27px 29px 25px; }
.hidden { display: none !important; }
.view-heading { margin-bottom: 22px; }
.view-heading .eyebrow { margin-bottom: 7px; }
h2 { margin-bottom: 7px; font: 700 23px/1.25 Inter, 'Segoe UI', Arial, sans-serif; letter-spacing: -.65px; color: var(--ink-strong); }
.view-heading > p:last-child { max-width: 630px; margin-bottom: 0; color: var(--muted); font-size: 12.5px; line-height: 1.6; }
.centered { text-align: center; }
.centered > p:last-child { margin-left: auto; margin-right: auto; }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px 17px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; color: #344f59; font-size: 11px; font-weight: 600; }
.field.full-width, .full-width { grid-column: 1 / -1; }
.field input, .field select { width: 100%; height: 42px; padding: 0 12px; color: #304d57; border: 1px solid #dbe5e2; border-radius: 6px; outline: none; background-color: #fff; font-size: 12px; font-weight: 400; transition: border-color .15s, box-shadow .15s; }
.field input::placeholder { color: #aab6b7; }
.field input:focus, .field select:focus { border-color: #65a49c; box-shadow: 0 0 0 3px rgba(24,127,120,.1); }
.field small { margin-top: -1px; color: #849396; font-size: 10px; line-height: 1.4; font-weight: 400; }
.section-label { grid-column: 1 / -1; margin: 8px 0 -3px; padding-bottom: 8px; border-bottom: 1px solid #edf1ef; color: #5f817e; font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.field em { color: var(--danger); font-style: normal; }
.form-actions { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 23px; }
.form-actions.full-width { grid-column: 1 / -1; }
.button { min-height: 41px; display: inline-flex; align-items: center; justify-content: center; gap: 14px; border: 0; border-radius: 6px; padding: 0 17px; font-size: 11px; font-weight: 700; transition: background .15s, transform .15s, box-shadow .15s; }
.button.primary { color: white; background: var(--teal); box-shadow: 0 5px 12px rgba(24,127,120,.13); }
.button.primary:hover:not(:disabled) { background: var(--teal-dark); transform: translateY(-1px); }
.button.primary:disabled { cursor: not-allowed; opacity: .45; box-shadow: none; }
.button.text-button { padding: 0; min-height: auto; color: #61777d; background: transparent; }
.button.text-button:hover { color: var(--teal-dark); }
.quiet-note { color: var(--muted-light); font-size: 10px; }
.form-error { margin: 8px 0 0; color: var(--danger); font-size: 11px; }

.service-options { display: grid; gap: 11px; }
.service-option { display: flex; width: 100%; align-items: center; gap: 13px; padding: 15px 16px; text-align: left; background: #fff; border: 1px solid #dfe8e5; border-radius: 8px; color: var(--ink); transition: .15s ease; }
.service-option:hover { border-color: #83b2aa; background: #fcfefd; }
.service-option:disabled, .service-option.disabled-option { cursor: not-allowed; opacity: .55; }
.service-option:disabled:hover, .service-option.disabled-option:hover { border-color: #dfe8e5; background: #fff; }
.service-option.selected { background: #f4faf8; border-color: var(--teal); box-shadow: 0 0 0 2px rgba(24,127,120,.08); }
.service-icon { width: 39px; height: 39px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 9px; font-size: 22px; }
.city-icon { color: #397e78; background: #e8f4f0; }
.student-icon { color: #a27a34; background: #fbf1dc; }
.alert-icon { color: #8b6b2f; background: #fbf3df; }
.assist-icon { color: #397e78; background: #e8f4f0; }
.service-copy { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.service-copy strong { font-size: 12px; }
.service-copy small { color: var(--muted); font-size: 10.5px; }
.ind-icon { color: #536a89; background: #edf0f7; }
.service-unavailable { flex: 0 1 128px; min-width: 0; color: var(--muted); font-size: 9px; font-weight: 600; line-height: 1.35; text-align: right; }
.radio-indicator { position: relative; width: 16px; height: 16px; flex: 0 0 auto; border: 1px solid #cad7d4; border-radius: 50%; }
.selected .radio-indicator { border: 5px solid var(--teal); }

.review-panel { margin: 0 0 17px; padding: 15px 17px; background: #f8faf9; border: 1px solid #e9efec; border-radius: 8px; }
.review-group + .review-group { margin-top: 14px; padding-top: 13px; border-top: 1px solid #e3ebe7; }
.review-group h3 { margin: 0 0 9px; font-size: 10px; letter-spacing: .7px; text-transform: uppercase; color: #68837f; }
.review-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; }
.review-item { min-width: 0; }
.review-item span { display: block; margin-bottom: 3px; color: #839294; font-size: 9px; }
.review-item strong { display: block; overflow-wrap: anywhere; color: #314d57; font-size: 10.5px; font-weight: 600; }
.consent-check { display: flex; align-items: flex-start; gap: 9px; color: #536a70; font-size: 10.5px; line-height: 1.5; }
.consent-check input { width: 15px; height: 15px; margin: 0; accent-color: var(--teal); flex: 0 0 auto; }
.success-mark { width: 48px; height: 48px; display: grid; place-items: center; margin: 6px auto 16px; color: #fff; background: #318c7b; border-radius: 50%; font-size: 23px; box-shadow: 0 6px 0 #e3f2ec; }
.case-number { display: flex; align-items: center; justify-content: space-between; margin: 20px 0 18px; padding: 13px 15px; border: 1px solid #e3ece8; background: #f8fbf9; border-radius: 7px; }
.case-number span { color: #788b8e; font-size: 9px; font-weight: 700; letter-spacing: 1px; }
.case-number strong { color: var(--ink); font: 700 13px Inter, 'Segoe UI', Arial, sans-serif; letter-spacing: .4px; }
.timeline { margin-left: 7px; }
.timeline-item { position: relative; display: grid; grid-template-columns: 18px 1fr auto; gap: 10px; min-height: 52px; color: #809093; }
.timeline-item:not(:last-child)::after { content: ''; position: absolute; left: 6px; top: 15px; bottom: -1px; width: 1px; background: #dfe8e4; }
.timeline-node { z-index: 1; width: 13px; height: 13px; margin-top: 1px; border: 2px solid #d4dfdb; background: #fff; border-radius: 50%; }
.timeline-item.complete .timeline-node { border: 4px solid #3c9882; }
.timeline-item.current .timeline-node { border-color: #d3a148; box-shadow: 0 0 0 3px #fbf2df; }
.timeline-item div { display: flex; flex-direction: column; gap: 3px; }
.timeline-item strong { color: #526a70; font-size: 10.5px; }
.timeline-item.complete strong, .timeline-item.current strong { color: var(--ink); }
.timeline-item small { font-size: 9.5px; }
.timeline-state { font-size: 9px; }
.timeline-item.complete .timeline-state { color: #338272; }
.timeline-item.current .timeline-state { color: #9d742e; }
.status-footer { display: flex; align-items: center; gap: 9px; margin-top: 13px; padding-top: 13px; border-top: 1px solid #edf1ef; color: #6e8387; font-size: 10px; }
.status-proof-note { margin: 11px 0 0; padding: 11px 13px; border: 1px solid #e4ebe7; border-radius: 7px; background: #f7faf8; color: #5e7378; font-size: 10px; line-height: 1.5; }
.status-proof-note strong { color: #31565a; }
.success-mark { background: #b98b3d; box-shadow: 0 6px 0 #f8f1e3; }
.success-mark.verified { background: #318c7b; box-shadow: 0 6px 0 #e3f2ec; }
.restart-button { display: flex; margin: 20px auto 0; }
.card-footer { display: flex; justify-content: space-between; gap: 14px; padding: 14px 29px; border-top: 1px solid #edf1ef; color: #879497; font-size: 9.5px; }
.card-footer a { font-weight: 600; }
.trust-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding: 21px 8px 0; }
.trust-row > div { display: flex; align-items: center; gap: 9px; }
.trust-icon { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid #dfe8e4; border-radius: 50%; color: #548780; background: #f9fcfa; font-size: 14px; }
.trust-row > div > span:last-child { display: flex; flex-direction: column; gap: 3px; }
.trust-row strong { color: #526b71; font-size: 9.5px; }
.trust-row small { color: #8a999b; font-size: 9px; }
.site-footer { padding: 16px 10px 21px; color: #9aa6a6; text-align: center; font-size: 9px; }
.site-footer span { padding: 0 5px; color: #c0cac7; }

@media (max-width: 640px) {
  .site-header { min-height: 64px; padding: 0 17px; }
  .brand { gap: 10px; }
  .brand-mark { font-size: 21px; }
  .brand-caption { font-size: 8px; letter-spacing: .8px; }
  .brand-divider { height: 22px; }
  .header-right { gap: 11px; }
  .secure-label { font-size: 10px; }
  .page-shell { width: min(100% - 22px, 938px); padding-top: 31px; }
  .page-intro { margin-bottom: 21px; }
  .service-guide { padding: 15px 15px 13px; }
  .journey-steps { grid-template-columns: 1fr; gap: 11px; }
  .journey-steps small { font-size: 10px; }
  h1 { font-size: 31px; }
  .intro-copy { max-width: 400px; font-size: 12px; }
  .card-topline { padding: 15px 17px 0; }
  .steps { gap: 5px; padding: 19px 14px; }
  .step { gap: 5px; font-size: 9px; }
  .step-number { width: 21px; height: 21px; font-size: 9px; }
  .step-line { min-width: 5px; }
  .prototype-notice { margin: 15px 15px 0; }
  .view { padding: 23px 17px 20px; }
  h2 { font-size: 21px; }
  .view-heading > p:last-child { font-size: 11.5px; }
  .form-grid { grid-template-columns: 1fr; gap: 13px; }
  .field.full-width, .full-width, .section-label { grid-column: auto; }
  .form-actions.full-width { grid-column: auto; }
  .form-actions { margin-top: 20px; }
  .button { min-height: 40px; padding: 0 13px; font-size: 10px; }
  .service-option { padding: 12px; gap: 10px; }
  .service-copy small { line-height: 1.4; }
  .service-unavailable { flex-basis: 90px; }
  .card-footer { padding: 13px 16px; font-size: 8.5px; }
  .trust-row { grid-template-columns: 1fr; gap: 11px; padding: 17px 8px 4px; }
  .trust-row > div { justify-content: flex-start; }
  .review-items { grid-template-columns: 1fr; }
}
.language-picker select {
  border: 1px solid #d7e2df;
  border-radius: 8px;
  background: #fff;
  color: #164451;
  font: inherit;
  font-size: 13px;
  padding: 7px 28px 7px 10px;
  cursor: pointer;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.demo-verify-note {
  margin: 24px 0 0;
  padding: 18px 20px;
  border: 1px solid #dbe9e5;
  border-radius: 12px;
  background: #f4f9f7;
  color: #24444b;
}

.demo-verify-note strong {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
}

.demo-verify-note p {
  margin: 0;
  color: #62757a;
  font-size: 13px;
  line-height: 1.65;
}

.mode-detail { margin-top: 15px; padding: 16px 18px; border: 1px solid #e0eae5; border-radius: 9px; background: #f8fbf9; color: #304e56; font-size: 11px; line-height: 1.55; }
.mode-detail > p { margin: 7px 0 0; color: #63777b; }
.mode-detail > strong { color: #254851; font-size: 12px; }
.mode-unavailable { padding: 10px 12px; border: 1px solid #f0e3c9; border-radius: 6px; background: #fffaf0; }
.mode-unavailable strong { color: #795d2a; }
.mode-detail .button { margin-top: 13px; }
.mode-detail .button:disabled { background: #839497; box-shadow: none; opacity: .8; }
.mode-consent { margin-top: 12px; }
.assisted-mode-detail .quiet-note { display: block; margin: 9px 0 0; }
.alert-scope-note { margin: 12px 0 0; }
.alert-filter-form { margin-top: 12px; }
.alert-filter-fields { width: 100%; min-width: 0; margin: 0; padding: 0; border: 0; }
.alert-filter-fields:disabled { opacity: .82; }
