@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin.938c6e8019b6.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

:root {
  --ink: #222222;
  --muted: #626262;
  --line: #dedede;
  --surface: #ffffff;
  --soft: #f7f7f7;
  --navy: #222222;
  --teal: #087f7c;
  --teal-dark: #056865;
  --orange: #f5ad18;
  --danger: #a52a2a;
  --shadow: 0 28px 80px rgba(34, 34, 34, .13);
  color-scheme: light;
  font-family: "Manrope", "Avenir Next", Avenir, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; line-height: 1.55; }
button, input, select, textarea { font: inherit; }
a { color: var(--teal-dark); }

.topbar {
  min-height: 72px;
  padding: 0 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,.13);
  background: var(--navy);
  color: #fff;
}
.brand { display: inline-flex; align-items: center; gap: .7rem; color: inherit; text-decoration: none; font-weight: 750; letter-spacing: -.01em; }
.brand-mark { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: .5rem; background: var(--orange); color: var(--navy); font-weight: 900; }
.service-name { color: #d9e9ee; font-size: .9rem; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(520px, 1.2fr);
  gap: clamp(2rem, 5vw, 5.5rem);
  align-items: start;
  padding: clamp(3rem, 7vw, 7rem) max(5vw, calc((100vw - 1440px) / 2));
  background:
    radial-gradient(circle at 10% 20%, rgba(0, 125, 131, .15), transparent 31rem),
    linear-gradient(145deg, #eef7f7 0%, #f8fbfc 62%);
}
.hero-copy { position: sticky; top: 2rem; padding-top: 2rem; max-width: 39rem; }
.eyebrow, .form-kicker { margin: 0 0 .6rem; color: var(--teal-dark); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.035em; }
h1 { margin: 0; font-size: clamp(2.5rem, 5vw, 4.8rem); }
.lede { margin: 1.5rem 0; color: var(--muted); font-size: clamp(1.05rem, 1.5vw, 1.22rem); }
.principle { display: flex; gap: .7rem; align-items: center; margin-top: 2rem; font-weight: 750; }
.principle span { display: grid; place-items: center; width: 1.65rem; height: 1.65rem; border-radius: 50%; background: var(--teal); color: #fff; }

.form-shell { background: var(--surface); border: 1px solid rgba(34, 34, 34, .1); border-radius: 1.65rem; box-shadow: var(--shadow); overflow: hidden; }
.form-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.8rem 2rem 1.25rem; }
.form-heading h2 { margin: 0; font-size: 1.75rem; font-weight: 760; letter-spacing: -.04em; }
.form-kicker { margin-bottom: .25rem; }
.step-count { min-width: 4.5rem; text-align: right; color: var(--muted); font-size: .9rem; }
.progress { height: 5px; background: #eeeeee; }
.progress span { display: block; width: 50%; height: 100%; background: var(--orange); transition: width .25s ease; }

form { padding: 1.8rem 2rem 2.1rem; }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
legend { width: 100%; padding: 0; font-size: 1.42rem; font-weight: 760; letter-spacing: -.035em; }
.step-intro { margin: .45rem 0 1.6rem; color: var(--muted); }
.form-step { display: none; }
.form-step.is-active { display: block; animation: reveal .2s ease-out; }
@keyframes reveal { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }

.field { margin-bottom: 1.3rem; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label, .label-like { display: block; margin-bottom: .48rem; font-size: .9rem; font-weight: 700; }
.optional { color: var(--muted); font-size: .78rem; font-weight: 500; }
input:not([type="checkbox"]):not([type="file"]), select, textarea {
  width: 100%;
  min-height: 54px;
  padding: .86rem .95rem;
  border: 1px solid #d2d2d2;
  border-radius: .9rem;
  background: #fff;
  color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
textarea { min-height: 112px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(245, 173, 24, .2); }
.has-error input, .has-error select, .has-error textarea { border-color: var(--danger); }
.help, .consent { margin: .35rem 0 0; color: var(--muted); font-size: .8rem; }
.field-error { margin: .35rem 0 0; color: var(--danger); font-size: .84rem; font-weight: 650; }
.conditional { padding-left: 1rem; border-left: 3px solid var(--orange); }

.upload-field { padding: 1.15rem; border: 1px dashed #aaaaaa; border-radius: 1.1rem; background: var(--soft); }
.upload-actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.upload-button { display: inline-flex; align-items: center; gap: .42rem; min-height: 46px; margin: 0; padding: .65rem .9rem; border: 1px solid #c7c7c7; border-radius: .8rem; background: #fff; cursor: pointer; }
.camera-button { border-color: var(--teal); color: var(--teal-dark); }
.upload-field input[type="file"] { position: absolute; inline-size: 1px; block-size: 1px; opacity: 0; pointer-events: none; }
.selected-files { margin: .7rem 0 0; padding-left: 1.2rem; color: var(--muted); font-size: .84rem; }

.checkbox-field ul { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; margin: .55rem 0 0; padding: 0; list-style: none; }
.checkbox-field li label { display: flex; gap: .6rem; align-items: flex-start; height: 100%; margin: 0; padding: .78rem; border: 1px solid var(--line); border-radius: .85rem; font-weight: 500; cursor: pointer; }
.checkbox-field input { width: 1.1rem; height: 1.1rem; margin-top: .15rem; accent-color: var(--teal); flex: 0 0 auto; }
.checkbox-field li label:has(input:checked) { border-color: var(--teal); background: #edf8f8; }

.step-actions { display: flex; justify-content: space-between; gap: .75rem; margin-top: 1.7rem; }
.step-actions-end { justify-content: flex-end; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 52px; padding: .78rem 1.25rem; border: 1px solid transparent; border-radius: .9rem; text-decoration: none; font-weight: 760; cursor: pointer; transition: transform .15s ease, background .15s ease, box-shadow .15s ease; }
.button-primary { background: var(--ink); color: #fff; box-shadow: 0 8px 20px rgba(34, 34, 34, .14); }
.button-primary:hover { background: #3a3a3a; transform: translateY(-1px); }
.button-secondary { border-color: #afbec6; background: #fff; color: var(--ink); }
.button:disabled { opacity: .55; cursor: not-allowed; }
.consent { margin-top: 1.2rem; }
.notice { margin: 0 2rem 1rem; padding: .85rem 1rem; border-radius: .55rem; }
.notice p { margin: 0; }
.notice-error { background: #fff0f0; color: #802020; }
.notice-warning { background: #fff6df; color: #66430a; }

.how-it-works { max-width: 1240px; margin: 0 auto; padding: clamp(4rem, 8vw, 7rem) 5vw; }
.how-it-works > h2 { max-width: 43rem; margin: 0 0 2rem; font-size: clamp(2rem, 4vw, 3.2rem); }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.steps-grid article { padding: 2rem 2rem 1rem 0; }
.steps-grid article + article { padding-left: 2rem; border-left: 1px solid var(--line); }
.steps-grid .number { color: var(--teal); font-size: .82rem; font-weight: 850; letter-spacing: .12em; }
.steps-grid h3 { margin: .8rem 0; font-size: 1.35rem; }
.steps-grid p { margin: 0; color: var(--muted); }
.technical-notice { display: flex; gap: 1rem; align-items: flex-start; max-width: 1120px; margin: 0 auto 5rem; padding: 1.25rem 1.4rem; border: 1px solid var(--line); border-radius: .8rem; background: var(--soft); color: var(--muted); font-size: .88rem; }
.technical-notice span { display: grid; place-items: center; flex: 0 0 auto; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; }
.technical-notice p { margin: 0; }
footer { padding: 1.4rem 5vw; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; text-align: center; }
.embedded { background: #fff; }
.embedded .hero { display: block; padding: 0; background: transparent; }
.embedded .form-shell { max-width: 780px; margin: 0 auto; border: 0; border-radius: 1.25rem; box-shadow: none; }

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

.success-page { min-height: 100vh; display: grid; place-items: center; padding: 1.5rem; background: radial-gradient(circle at 50% 10%, rgba(0,125,131,.18), transparent 32rem), #f8fbfc; }
.success-shell { width: min(100%, 620px); padding: clamp(2rem, 7vw, 4.5rem); border: 1px solid var(--line); border-radius: 1.2rem; background: #fff; box-shadow: var(--shadow); text-align: center; }
.success-shell h1 { font-size: clamp(2rem, 7vw, 3.5rem); }
.success-mark { display: grid; place-items: center; width: 4rem; height: 4rem; margin: 0 auto 1.5rem; border-radius: 50%; background: var(--teal); color: #fff; font-size: 2rem; font-weight: 800; }
.protocol { display: grid; gap: .2rem; margin: 2rem 0; padding: 1rem; border-radius: .7rem; background: var(--soft); }
.protocol span { color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; }
.protocol strong { font-size: clamp(1.25rem, 5vw, 1.75rem); letter-spacing: .03em; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding-top: 2.5rem; }
  .hero-copy { position: static; padding-top: 0; max-width: 55rem; }
  h1 { font-size: clamp(2.4rem, 8vw, 4.2rem); }
}
@media (max-width: 660px) {
  .topbar { min-height: 62px; padding-inline: 1rem; }
  .service-name { display: none; }
  .hero { padding: 2.3rem 1rem 3.5rem; gap: 2rem; }
  .lede { font-size: 1rem; }
  .form-heading, form { padding-left: 1.1rem; padding-right: 1.1rem; }
  .notice { margin-left: 1.1rem; margin-right: 1.1rem; }
  .field-grid, .checkbox-field ul, .steps-grid { grid-template-columns: 1fr; }
  .checkbox-field ul { gap: .45rem; }
  .step-actions { flex-direction: column-reverse; }
  .button { width: 100%; }
  .steps-grid article, .steps-grid article + article { padding: 1.6rem 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .technical-notice { margin: 0 1rem 3rem; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
