:root {
  --ink: #07345d;
  --ink-soft: #47627b;
  --paper: #f2f6fa;
  --line: #d6e1ed;
  --accent: #ff0066;
  --accent-dark: #cf0053;
  --hero-blue: #073d73;
  --ink-deep: #03294f;
  font-family: Arial, Helvetica, "Segoe UI", sans-serif;
  color: var(--ink);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: white;
  background:
    linear-gradient(90deg, rgba(3,41,79,.9), rgba(3,41,79,.35)),
    url("/assets/facade-navy.png") center bottom / cover fixed no-repeat,
    var(--ink-deep);
}
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
.top-rule { height: 4px; background: var(--accent); }
.site-header {
  max-width: 1380px;
  margin: auto;
  padding: 34px clamp(24px, 5vw, 80px) 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.brand { display: inline-block; line-height: 0; }
.brand img {
  display: block;
  width: clamp(154px, 17vw, 250px);
  height: auto;
  transform: translateX(-5.62%);
}
.site-header span {
  font-size: .875rem;
  font-weight: 700;
  color: #d3e2f1;
  letter-spacing: .09em;
  text-transform: uppercase;
  padding-top: 5px;
}
.shell {
  max-width: 1380px;
  margin: 0 auto 72px;
  padding: 0 clamp(24px, 5vw, 80px);
  display: grid;
  grid-template-columns: minmax(300px, .95fr) minmax(0, 1.05fr);
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}
.intro { padding: 26px 0 0; }
.eyebrow {
  margin: 0 0 20px;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: #d7e9ff;
  font-size: .875rem;
  font-weight: 700;
}
.intro h1 {
  max-width: 11ch;
  font-size: clamp(2.8rem, 5vw, 5.1rem);
  line-height: 1.04;
  letter-spacing: -.04em;
  font-weight: 800;
  margin: 0 0 30px;
}
.intro h1::after {
  content: "";
  display: block;
  width: 52px;
  height: 4px;
  background: var(--accent);
  margin-top: 28px;
}
.intro > p:not(.eyebrow) {
  color: #e0ebf6;
  line-height: 1.6;
  font-size: 1.0625rem;
  max-width: 34rem;
}
.steps {
  list-style: none;
  margin: 40px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid rgba(255,255,255,.25);
}
.steps li {
  display: flex;
  gap: 18px;
  align-items: baseline;
  padding: 9px 0;
  color: #b9d1e7;
  font-weight: 400;
}
.steps li span { color: #ff70aa; font-size: .875rem; font-weight: 800; }
.steps li.active { color: #fff; font-weight: 700; }
.steps li.done span { color: #fff; }
.reassurance {
  margin-top: 36px;
  padding: 18px 20px;
  border-left: 3px solid var(--accent);
  background: rgba(3,41,79,.55);
}
.reassurance strong { font-size: .9rem; }
.reassurance p { color: #d3e2f1; margin: 7px 0 0; line-height: 1.5; font-size: .875rem; }
.card {
  color: var(--ink);
  background: rgba(255,255,255,.98);
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  border-radius: 5px;
  box-shadow: 0 28px 80px rgba(0,15,35,.38), 0 6px 20px rgba(0,15,35,.18);
  padding: clamp(26px, 3.4vw, 50px);
  min-height: 580px;
}
.card .eyebrow { color: var(--ink-soft); margin-bottom: 12px; }
.card h2 {
  font-size: clamp(1.7rem, 2.4vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -.035em;
  font-weight: 800;
  margin: 0 0 14px;
}
.muted { color: var(--ink-soft); line-height: 1.6; }
.card-head .muted { margin: 0 0 26px; }
.progress { height: 4px; background: #dce9f5; margin: 20px 0 30px; }
.progress span { display: block; height: 100%; background: var(--accent); transition: width .2s; }
.step-panel { display: grid; gap: 20px; }
.grid { display: grid; gap: 18px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.two > .field { justify-content: flex-end; }
.field { position: relative; display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field label, fieldset legend { font-size: .9rem; font-weight: 700; }
.field label span { color: #71869b; font-size: .82rem; font-weight: 400; }
em { color: var(--accent-dark); font-style: normal; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #8ba3bc;
  border-radius: 4px;
  background: white;
  color: var(--ink-deep);
  outline: 0;
  padding: 11px 12px;
}
.field textarea { resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--hero-blue); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--hero-blue); box-shadow: 0 0 0 3px #dce9f5; }
.field input.invalid, .field select.invalid { border-color: var(--accent-dark); }
.hint { color: #62788e; font-size: .84rem; line-height: 1.5; margin: 0; }
.hint a { color: var(--hero-blue); }
.options {
  list-style: none;
  margin: 0;
  padding: 5px;
  position: absolute;
  z-index: 5;
  top: 77px;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: 0 15px 35px #03294f44;
  max-height: 260px;
  overflow: auto;
}
.options li button { border: 0; background: transparent; width: 100%; text-align: left; padding: 11px 12px; border-radius: 3px; color: var(--ink); }
.options li button:hover, .options li button:focus { background: #eef4fa; }
fieldset { border: 0; padding: 0; margin: 0; }
fieldset legend { margin-bottom: 12px; }
.checks { display: flex; flex-wrap: wrap; gap: 10px; }
.checks label { border: 1px solid var(--line); border-radius: 3px; padding: 10px 12px; font-size: .88rem; }
.checks input, .consent input { accent-color: var(--accent-dark); }
details { border-top: 1px solid var(--line); padding: 17px 0 0; }
summary { cursor: pointer; color: var(--hero-blue); font-weight: 700; }
.address-grid { padding-top: 18px; }
.wide { grid-column: 1 / -1; }
.actions { display: flex; justify-content: flex-end; gap: 12px; border-top: 1px solid var(--line); margin-top: 30px; padding-top: 22px; }
.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
}
.button.primary { background: var(--accent-dark); border-color: var(--accent-dark); box-shadow: inset 0 3px 0 var(--accent); color: white; }
.button.primary:hover { background: #b80049; border-color: #b80049; }
.button.secondary { background: var(--hero-blue); color: white; }
.button.secondary:hover { background: var(--ink-deep); }
.button:disabled { opacity: .55; cursor: wait; }
.error { color: #a6243d; background: #fff0f6; padding: 12px 14px; margin: 18px 0 0; border-left: 3px solid var(--accent); }
.review { display: grid; gap: 10px; }
.review article { border: 1px solid var(--line); border-left: 3px solid var(--accent); background: #f8fafc; padding: 14px 16px; }
.review article strong { display: block; color: var(--hero-blue); font-size: .86rem; margin-bottom: 6px; }
.review article p { margin: 0; white-space: pre-line; line-height: 1.5; }
.consent { display: block; line-height: 1.5; color: var(--ink-soft); font-size: .89rem; }
.consent a { color: var(--hero-blue); }
#verify-stage, #submit-stage, #success-stage { padding: 35px 0; }
#verify-stage p, #submit-stage p, #success-stage p { line-height: 1.6; }
.success-account { border-top: 1px solid var(--line); margin-top: 28px; padding-top: 22px; }
.success-account h3 { margin: 0 0 8px; }
.success-account p { color: var(--ink-soft); }
footer { color: #c3d7eb; text-align: center; padding: 20px 24px 32px; font-size: .8rem; }
@media (max-width: 860px) {
  .site-header { padding-bottom: 0; }
  .shell { grid-template-columns: 1fr; gap: 26px; }
  .intro { padding-top: 0; }
  .intro h1 { max-width: 18ch; font-size: clamp(2.5rem, 8vw, 4rem); }
  .steps { display: flex; justify-content: space-between; margin: 25px 0 0; }
  .steps li { font-size: 0; padding: 4px 2px; }
  .steps li span { font-size: .75rem; }
  .reassurance { display: none; }
  .card { min-height: 0; }
}
@media (max-width: 560px) {
  .site-header { padding: 22px 20px 0; }
  .brand img { width: 148px; }
  .site-header span { font-size: .7rem; }
  .shell { padding: 0 14px; margin-bottom: 32px; }
  .intro h1 { font-size: 2.5rem; }
  .card { padding: 24px 18px; }
  .grid.two { grid-template-columns: 1fr; }
  .wide { grid-column: auto; }
  .actions { flex-wrap: wrap; }
  .actions .button { flex: 1; }
}

.contact-address { border-top: 1px solid var(--line); padding-top: 20px; }
.contact-address h3 { margin: 0 0 10px; }

.entry-page .field input, .entry-page .field select { height: 48px; min-height: 48px; }

#portal-context{margin:0 0 1.5rem;color:#526d87;font-size:.9rem}#portal-context a{color:#073d73;font-weight:700}#portal-context p{margin:.5rem 0 0}#profile-reuse{padding:1.2rem;margin:0 0 1.8rem;background:#f0f5fb;border:1px solid #d6e3f0;border-radius:8px}#profile-reuse h3{font-size:1.15rem}#profile-reuse p{font-size:.95rem;line-height:1.5}#profile-reuse-summary{white-space:pre-line}#profile-reuse .actions{justify-content:flex-start;flex-wrap:wrap;padding:0;margin:.8rem 0;border:0}#profile-reuse .button{white-space:normal}#profile-choice-status:empty{display:none}#email[readonly]{background:#f1f5fa;color:#526d87}

/* Shared wizard inside the private workspace, without a second page shell. */
html.embedded-request,html.embedded-request body{min-height:0!important;height:auto!important;background:transparent!important;min-width:0;color:var(--ink)}
.embedded-request .top-rule,.embedded-request .entry-header,.embedded-request .entry-footer,.embedded-request .entry-intro{display:none!important}
.embedded-request .entry-shell{display:block!important;max-width:none!important;padding:0!important;margin:0!important;min-height:0!important}
.embedded-request .card{width:100%!important;max-width:none!important;margin:0!important;box-shadow:none;border:1px solid var(--line);border-top:3px solid var(--accent);border-radius:12px;padding:32px!important}
.embedded-request #portal-context{margin:0 0 1rem}.embedded-request #portal-context a{display:none}
@media(max-width:620px){.embedded-request .card{padding:20px!important}}
