@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("./fonts/plus-jakarta-sans-latin-ext.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("./fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  color-scheme: light;
  --ink: #101e2c;
  --secondary: #465764;
  --navy: #0b1b2b;
  --gold: #d9bb78;
  --line: #d9dedf;
  font: 100%/1.6 "Plus Jakarta Sans", "Segoe UI", sans-serif;
  color: var(--ink);
  background: #f7f6f2;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
.wrap { max-width: 1224px; margin: 0 auto; padding: 0 clamp(22px, 5.5vw, 76px); }
.visually-hidden, .trap, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: absolute; z-index: 10; top: 8px; left: 8px; padding: 10px 14px; color: #fff; background: var(--navy); }
a { color: inherit; }
:focus-visible { outline: 3px solid #987123; outline-offset: 3px; }
.mast { background: #081421; color: #f1eee5; border-bottom: 1px solid #ffffff24; }
.mast-inner { height: 75px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { width: 116px; height: 52px; display: block; overflow: hidden; position: relative; }
.brand img { width: 116px; height: 116px; position: absolute; top: -31px; left: 0; }
.home-link { text-decoration: none; font-size: .92rem; font-weight: 550; }
.home-link span, .success-link span { padding-left: .4em; }
.home-link:hover, .success-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.hero { position: relative; overflow: hidden; isolation: isolate; background: linear-gradient(106deg, #0b1b2b 20%, #122b40 73%, #193548); color: #f9f5e9; }
.hero-inner { position: relative; z-index: 1; padding-top: 45px; padding-bottom: 53px; }
.kicker, .eyebrow { margin: 0; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.kicker { display: flex; align-items: center; gap: 11px; color: var(--gold); }
.kicker span { background: var(--gold); width: 28px; height: 1px; }
h1, h2 { margin: 0; font-weight: 650; text-wrap: balance; }
h1 { margin-top: 12px; max-width: min(78%, 17ch); font-size: clamp(2.5rem, 5.8vw, 4.8rem); letter-spacing: -.045em; line-height: 1.08; }
.hero h1 span { color: var(--gold); }
.intro { color: #e5e8eb; margin: 18px 0 0; font-size: clamp(1rem, 1.3vw, 1.13rem); max-width: 540px; }
.survey { position: absolute; inset: -65% -5% -60% 62%; pointer-events: none; transform: rotate(-28deg); opacity: .8; border: 1px solid #cfb07144; background-color: #112c3e; background-image: repeating-linear-gradient(90deg, transparent 0 43px, #bed4dd17 43px 44px), repeating-linear-gradient(0deg, transparent 0 43px, #bed4dd17 43px 44px); }
.survey i { position: absolute; display: block; border: 1px solid #cfb0717a; }
.survey i:nth-child(1) { inset: -10% 46% 62% 11%; background: #223b47; }
.survey i:nth-child(2) { inset: 38% 46% 27% 11%; background: #27434e; }
.survey i:nth-child(3) { inset: 25% 5% 46% 54%; background: #193748; }
.survey i:nth-child(4) { inset: 54% 5% 11% 54%; background: #203d4b; }
.survey i:nth-child(5) { inset: 73% 46% -8% 11%; }
.work { display: grid; grid-template-columns: minmax(190px, 246px) minmax(0, 1fr); gap: clamp(26px, 4.2vw, 64px); align-items: start; padding-top: clamp(26px, 4vw, 46px); padding-bottom: 66px; }
.contents { padding-top: 2px; position: sticky; top: 22px; }
.aside-title { margin: 0 0 14px; font-size: 1.25rem; font-weight: 650; letter-spacing: -.025em; }
.contents ol { list-style: none; padding: 0; margin: 0; counter-reset: steps; }
.contents li { counter-increment: steps; }
.contents nav a { position: relative; display: flex; align-items: center; gap: 12px; padding: 9px 0; color: #4b5962; text-decoration: none; }
.contents nav a::before { content: counter(steps, decimal-leading-zero); position: relative; z-index: 1; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-variant-numeric: tabular-nums; font-size: .66rem; font-weight: 650; letter-spacing: .03em; background: #f7f6f2; border: 1px solid #c7cecc; }
.contents nav li:not(:last-child) a::after { content: ""; border-left: 1px solid #c7cecc; position: absolute; left: 14.5px; top: 38px; height: 19px; }
.contents nav a[aria-current="step"] { color: var(--ink); font-weight: 700; }
.contents nav a[aria-current="step"]::before { color: var(--gold); background: var(--navy); border-color: var(--navy); }
.contents nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.test-flag { font-size: .79rem; color: #514623; background: #ede8d9; padding: 5px 9px; width: fit-content; margin: 0 0 13px; border-radius: 3px; }
.paper { border: 1px solid #d6dcda; background: #fff; box-shadow: 0 8px 32px #14253508; padding: clamp(22px, 3vw, 40px); min-width: 0; }
.controls, .schedule { min-width: 0; border: 0; margin: 0; padding: 0; }
.step + .step { margin-top: 36px; }
.enhanced .step + .step { margin-top: 0; }
.eyebrow { color: #79602d; }
h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); letter-spacing: -.035em; line-height: 1.18; margin: 7px 0 11px; }
h2[tabindex]:focus, #success:focus { outline: none; }
.desc { margin: 0 0 25px; color: var(--secondary); }
.grid, .stack, .day-grid { display: grid; gap: 19px 20px; }
.grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.stack + .grid { margin-top: 18px; }
.wide { grid-column: 1 / -1; }
label, .schedule legend { display: block; color: #223542; font-size: 1rem; line-height: 1.5; font-weight: 600; }
input:not([type=checkbox]), select, textarea { margin-top: 6px; display: block; width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #9daab2; border-radius: 4px; background: #fff; color: #111f2b; font: inherit; font-size: 1rem; font-weight: 400; }
select { padding-right: 24px; }
textarea { resize: vertical; }
input::placeholder, textarea::placeholder { color: #687783; opacity: 1; }
input:focus, textarea:focus, select:focus { border-color: #836124; }
input[aria-invalid="true"],textarea[aria-invalid="true"],select[aria-invalid="true"] { border-color: #a02d28; }
small, .hint, .optional, .field-error { display: block; color: #536570; font-size: .855rem; line-height: 1.45; font-weight: 400; margin-top: 5px; }
.optional { display: inline; font-size: .83rem; }
.field-error { color: #982b28; font-weight: 600; }
.schedule { margin: 22px 0; }
.schedule legend { padding: 0; }
.hint { margin: 4px 0 14px; }
.day-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px 12px; }
.day-grid label { font-size: .88rem; }
.standalone, .consent { margin-top: 22px; }
.consent { display: grid; grid-template-columns: 18px 1fr; align-items: start; gap: 0 12px; padding: 14px; background: #f4f5f1; font-weight: 450; }
.consent .field-error { grid-column: 2; }
.consent input { flex: none; width: 18px; height: 18px; margin: 2px 0; accent-color: var(--navy); }
.form-actions { display: flex; gap: 12px; align-items: center; border-top: 1px solid var(--line); margin-top: 26px; padding-top: 20px; }
button { font-family: inherit; font-size: 1rem; font-weight: 650; line-height: 1.3; cursor: pointer; }
.primary, .back { padding: 12px 19px; min-height: 44px; border-radius: 4px; border: 1px solid var(--navy); }
.primary { display: inline-flex; align-items: center; justify-content: center; gap: 20px; margin-left: auto; background: var(--navy); color: #fff; }
.primary span { color: var(--gold); font-size: 1.2em; }
.primary:hover { background: #224259; }
.back { background: transparent; border-color: #bdc7ca; color: var(--ink); }
.back:hover { background: #f0f2ee; }
button:disabled { cursor: wait; opacity: .7; }
.notice { border-left: 3px solid #9d392e; background: #fbefed; padding: 11px 14px; margin: 0 0 18px; }
.reference { border-top: 1px solid var(--line); padding: 12px 0; }
.reference strong { margin-left: 8px; overflow-wrap: anywhere; }
.success-link { display: inline-block; font-weight: 650; padding: 7px 0; }
footer { background: #0a1828; color: #efe9dc; padding: 20px 0; font-size: .88rem; }
footer .wrap { display: flex; justify-content: space-between; }
footer span { color: #c7d1d6; }
@media (max-width: 780px) {
  .work { grid-template-columns: 1fr; gap: 18px; }
  .contents { position: static; }
  .aside-title { display: none; }
  .contents ol { display: flex; flex-wrap: wrap; gap: 4px 13px; }
  .contents nav a { font-size: .82rem; gap: 4px; padding: 3px 0; }
  .contents nav a::before { font-size: .65rem; border: 0; width: auto; height: auto; background: transparent; }
  .contents nav a[aria-current="step"] { color: #695020; text-decoration: underline; text-underline-offset: 4px; }
  .contents nav a[aria-current="step"]::before { background: none; color: inherit; }
  .contents nav li:not(:last-child) a::after { display: none; }
  .hero-inner { padding-top: 32px; padding-bottom: 34px; }
  .intro { max-width: 72%; }
  .survey { left: 74%; }
}
@media (max-width: 540px) {
  .mast-inner { height: 62px; }
  .hero-inner { padding-top: 28px; padding-bottom: 32px; }
  h1 { max-width: 100%; }
  .intro { max-width: 95%; }
  .survey { left: 89%; opacity: .36; }
  .grid { grid-template-columns: 1fr; gap: 17px; }
  .day-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .paper { padding: 22px 17px; }
  .work { padding: 22px 14px 36px; }
  .contents { padding: 0 8px; }
}
