:root {
  --blue: #1c69d4;
  --blue-deep: #0653b6;
  --sky: #81c4ff;
  --tint: #eef5ff;
  --ink: #101828;
  --muted: #667085;
  --line: #e4e9f0;
  --field: #f4f7fb;
  --bg: #ffffff;
  --err: #d92d20;
  --m-light: #81c4ff;
  --m-dark: #0066b1;
  --m-red: #e7222e;
  --r: 14px;
  --shadow: 0 1px 2px rgba(16,24,40,.04), 0 12px 32px -12px rgba(16,24,40,.12);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.55; -webkit-font-smoothing: antialiased; font-size: 16px; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
.hidden { display: none !important; }

/* Header */
.site-header { background: rgba(255,255,255,.88); backdrop-filter: blur(12px); position: sticky; top: 0; z-index: 20; }
.m-stripe { display: flex; height: 3px; }
.m-stripe i { flex: 1; }
.m-stripe i:nth-child(1) { background: var(--m-light); }
.m-stripe i:nth-child(2) { background: var(--m-dark); }
.m-stripe i:nth-child(3) { background: var(--m-red); }
.header-row { display: flex; align-items: center; justify-content: space-between; padding: 14px clamp(20px, 5vw, 64px); gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.roundel { width: 38px; height: 38px; flex: none; }
.brand-text { font-size: 14px; font-weight: 400; line-height: 1.25; color: var(--muted); }
.brand-text b { display: block; font-weight: 700; font-size: 14px; color: var(--ink); letter-spacing: -.01em; }
.mini-mark { font-size: 10px; font-weight: 700; border: 1.5px solid var(--ink); border-radius: 50%; width: 38px; height: 38px; display: grid; place-items: center; }
.logo-note { font-size: 11px; color: var(--muted); background: var(--field); padding: 4px 10px; border-radius: 999px; }

/* Landing */
.hero { background: var(--bg); min-height: calc(100vh - 69px); display: flex; align-items: center; }
.hero-inner { width: 100%; max-width: 1240px; margin: 0 auto; padding: 48px clamp(20px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(40px, 5.6vw, 76px); font-weight: 600; line-height: 1.02; letter-spacing: -.045em; margin: 0 0 24px; color: var(--ink); }
.hero p.lead { font-size: 19px; max-width: 40ch; margin: 0 0 36px; color: var(--muted); }
.benefits { list-style: none; margin: 0; padding: 12px 40px; background: linear-gradient(145deg, var(--blue) 0%, var(--blue-deep) 100%); color: #fff; border-radius: 32px; box-shadow: 0 30px 60px -24px rgba(28,105,212,.55); position: relative; overflow: hidden; }
.benefits::after { content: ""; position: absolute; right: -90px; top: -90px; width: 260px; height: 260px; border-radius: 50%; background: rgba(129,196,255,.22); pointer-events: none; }
.benefits li { padding: 26px 0 26px 48px; position: relative; font-size: 17px; line-height: 1.45; border-bottom: 1px solid rgba(255,255,255,.2); z-index: 1; }
.benefits li:last-child { border-bottom: 0; }
.benefits li::before { content: ""; position: absolute; left: 0; top: 26px; width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='11' viewBox='0 0 14 11'%3E%3Cpath d='M1 5.5l4 4L13 1.5' fill='none' stroke='white' stroke-width='2'/%3E%3C/svg%3E") center / 14px no-repeat; }
.benefits li strong { font-weight: 700; }
.fine { margin-top: 20px; font-size: 14px; color: var(--muted); }
.fine a { color: var(--blue); text-decoration: none; font-weight: 600; }
.fine a:hover { text-decoration: underline; }

.btn { font: inherit; font-weight: 600; font-size: 16px; border: 0; cursor: pointer; padding: 16px 32px; min-width: 150px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; transition: background .15s, color .15s, box-shadow .15s, transform .15s; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px -8px rgba(28,105,212,.7); }
.btn-primary:hover { background: var(--blue-deep); box-shadow: 0 12px 24px -8px rgba(28,105,212,.75); }
.btn-primary:active { transform: translateY(1px); }
.btn-primary .chev { transition: transform .15s; }
.btn-primary:hover .chev { transform: translateX(3px); }
.btn-ghost { background: var(--field); color: var(--ink); }
.btn-ghost:hover { background: var(--line); }
.chev { width: 9px; height: 14px; }

/* Form layout */
.form-wrap { max-width: 1160px; margin: 0 auto; padding: 40px clamp(20px, 5vw, 64px) 120px; display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 56px; align-items: start; }
.rail { position: sticky; top: 100px; }
.rail h2 { font-size: 13px; font-weight: 600; margin: 0 0 12px 14px; color: var(--muted); }
.rail ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.rail li a { display: block; padding: 10px 14px; color: var(--muted); text-decoration: none; font-size: 14.5px; font-weight: 500; border-radius: 10px; transition: background .15s, color .15s; }
.rail li a:hover { background: var(--field); color: var(--ink); }
.rail li a.on { background: var(--tint); color: var(--blue); font-weight: 600; }
.rail .step-meter { margin: 20px 0 0 14px; font-size: 13px; color: var(--muted); }

.panel { background: transparent; padding: 0; max-width: 820px; }
.panel > .form-title { font-size: clamp(28px, 3.6vw, 42px); font-weight: 600; letter-spacing: -.035em; line-height: 1.1; margin: 0 0 12px; }
.panel > .form-intro { color: var(--muted); font-size: 17px; margin: 0 0 20px; max-width: 58ch; }
.req-note { font-size: 13px; color: var(--muted); margin-bottom: 28px; }
.req-note span, .req { color: var(--err); }
#requesterForm { border: 1px solid var(--line); border-radius: 28px; padding: clamp(24px, 5vw, 48px); box-shadow: var(--shadow); }

fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset[id^="sec-"] { border: 1px solid var(--line); border-radius: 24px; padding: clamp(22px, 3.5vw, 36px); margin: 0 0 20px; scroll-margin-top: 90px; }
legend { padding: 0; float: left; width: 100%; font-size: 20px; font-weight: 600; letter-spacing: -.02em; color: var(--ink); }
legend + * { clear: both; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; margin-top: 24px; }
.span-2 { grid-column: 1 / -1; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.field { display: flex; flex-direction: column; position: relative; }
.field > label, .group-label { font-size: 13px; font-weight: 500; color: var(--muted); margin-bottom: 8px; }
.field input, .field select { font: inherit; font-size: 16px; color: var(--ink); background: var(--field); border: 1.5px solid transparent; border-radius: var(--r); padding: 14px 16px; width: 100%; transition: border-color .15s, background .15s, box-shadow .15s; appearance: none; -webkit-appearance: none; }
.field input::placeholder { color: transparent; }
.field input:hover, .field select:hover { background: #edf2f9; }
.field input:focus, .field select:focus { outline: none; background: #fff; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(28,105,212,.14); }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%231c69d4' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px; }
.field.invalid input, .field.invalid select { border-color: var(--err); background: #fff6f5; }
.field .msg { font-size: 13px; color: var(--err); margin-top: 6px; display: none; }
.field.invalid .msg { display: block; }
.field .length-msg { font-size: 13px; color: var(--err); margin-top: 6px; }
.hint { font-size: 13px; color: var(--muted); margin-top: 6px; }
.field.disabled { opacity: .45; }
.field.disabled input { cursor: not-allowed; }

.choice-group { border: 0; padding: 0; margin: 0; min-width: 0; }
.choice-group > legend { float: none; font-size: 13px; color: var(--muted); font-weight: 500; margin-bottom: 10px; letter-spacing: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span { display: flex; align-items: center; gap: 8px; padding: 10px 18px; border: 1.5px solid var(--line); background: #fff; font-size: 15px; font-weight: 500; border-radius: 999px; transition: border-color .15s, background .15s, color .15s; min-height: 44px; }
.choice:hover span { border-color: var(--blue); color: var(--blue); }
.choice input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.choice input:focus-visible + span { outline: 3px solid var(--sky); outline-offset: 2px; }
.choice.check input:checked + span::before { content: ""; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px, -1px); }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
.tiles .choice span { min-height: 54px; border-radius: var(--r); }
.group-err { font-size: 13px; color: var(--err); margin-top: 8px; display: none; }
.choice-group.invalid .group-err { display: block; }
.choice-group.invalid .choice span { border-color: var(--err); }

.consent { background: var(--field); padding: 22px 24px; font-size: 14px; color: #344054; border-radius: 18px; }
.consent p { margin: 0 0 12px; max-width: 80ch; }
.consent p:last-child { margin-bottom: 0; }
.consent a { color: var(--blue); font-weight: 500; }

.actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 32px; }
.errsum { border-radius: 14px; background: #fff1f0; color: #912018; padding: 14px 18px; margin-bottom: 20px; font-size: 15px; font-weight: 500; }
.progress { display: flex; gap: 6px; margin-bottom: 28px; }
.progress i { height: 4px; flex: 1; background: var(--line); border-radius: 999px; }
.progress i.done { background: var(--blue); }
.step-label { font-size: 13px; font-weight: 600; color: var(--blue); background: var(--tint); display: inline-block; padding: 4px 12px; border-radius: 999px; margin-bottom: 16px; }

.done-wrap { max-width: 720px; margin: 0 auto; padding: 96px clamp(20px, 5vw, 64px); }
.done-wrap h1 { font-size: clamp(34px, 5vw, 54px); font-weight: 600; letter-spacing: -.04em; line-height: 1.05; margin: 0 0 16px; }
.done-wrap p { font-size: 18px; color: var(--muted); max-width: 52ch; }
.tick { width: 72px; height: 72px; background: var(--tint); border-radius: 50%; display: grid; place-items: center; margin-bottom: 28px; }
.tick svg { width: 30px; height: 30px; }

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .form-wrap { grid-template-columns: 1fr; gap: 0; padding-top: 20px; }
  .rail { display: none; }
}
@media (max-width: 640px) {
  .grid, .grid-3 { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .mini-mark, .logo-note { display: none; }
  .benefits { padding: 8px 24px; border-radius: 24px; }
}
