:root {
  color-scheme: light;
  --navy: #10243a;
  --deep: #091828;
  --ink: #182f45;
  --muted: #4a5d70;
  --cream: #f7f4ed;
  --line: #c9d4dd;
  --orange: #ffab61;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; font: 1rem/1.6 system-ui,sans-serif; color: var(--ink); }
a { color: inherit; text-underline-offset: .2em; }
:focus-visible { outline: 3px solid #ba4d05; outline-offset: 4px; }
h1,h2,h3,p { margin: 0 0 .75rem; }
h1,h2 { font-family: Georgia,serif; font-weight: 600; line-height: 1.05; letter-spacing: -.035em; }
h1 { font-size: clamp(3.5rem,8vw,7rem); margin-bottom: 1.35rem; }
h2 { font-size: clamp(2.25rem,4vw,3.3rem); }
h3 { font-size: 1.15rem; }
.wrap { width: min(1120px, calc(100% - 2.5rem)); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: -5rem; padding: .6rem 1rem; background: white; z-index: 2; }
.skip:focus { top: .5rem; }
.header,.footer { background: var(--deep); color: white; }
.header { border-bottom: 1px solid #30465c; }
.bar,nav,.actions,.share-actions { display: flex; align-items: center; flex-wrap: wrap; }
.bar { justify-content: space-between; gap: .65rem 1rem; padding-block: 1.2rem; }
nav { gap: .45rem clamp(.8rem,2vw,1.65rem); }
nav a,.brand { text-decoration: none; }
nav a:hover { text-decoration: underline; }
.brand { font-weight: 850; letter-spacing: .14em; white-space: nowrap; }
.brand::before { content: ""; display: inline-block; width: .55em; height: .55em; margin-right: .6em; border-radius: 50%; background: var(--orange); vertical-align: .1em; }
.hero { background: radial-gradient(ellipse at 85% 70%,#294761,var(--navy) 55%,var(--deep)); color: white; padding: clamp(3rem,8vw,6rem) 0; }
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; align-items: end; gap: 2.3rem; }
.hero p:not(.eyebrow):not(.message) { color: #dfebf5; font-size: 1.1rem; max-width: 45ch; }
.eyebrow { color: var(--orange); font-size: .88rem; letter-spacing: .12em; font-weight: 800; text-transform: uppercase; }
h1 em { color: var(--orange); font-weight: 500; }
.actions { gap: .75rem; margin-top: 1.5rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: .65rem 1rem; border: 1px solid transparent; border-radius: .4rem; font: inherit; font-weight: 750; text-decoration: none; cursor: pointer; }
.primary { background: var(--orange); color: var(--deep); }
.primary:hover { background: #ffd0a7; }
.outline { border-color: #9cb0c3; color: white; }
.outline:hover { background: #34516d; }
.secondary { background: white; color: var(--navy); border-color: var(--line); }
.secondary:hover { background: #edf2f6; }
.share { display: flex; gap: .9rem; align-items: center; background: #f7fafc; color: var(--ink); padding: 1rem; border-radius: .6rem; box-shadow: 0 15px 45px #030d1773; }
.share img { display: block; width: clamp(78px,12vw,120px); height: auto; border: 1px solid var(--line); border-radius: .2rem; }
.share h2 { font: 800 1.08rem/1.25 system-ui,sans-serif; letter-spacing: 0; margin-bottom: .25rem; }
.short-url { overflow-wrap: anywhere; }
.share-actions { column-gap: 1rem; margin-top: .2rem; }
.share-actions a,.share-actions button { min-height: 44px; display: inline-flex; align-items: center; font-size: .875rem; }
.share-actions button { padding: 0; border: 0; background: transparent; color: inherit; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; font-weight: 750; }
.message { margin: .5rem 0 0; color: var(--muted); font-size: .875rem; }
.message:empty { display: none; }
.section { padding: clamp(2.8rem,6vw,5.5rem) 0; scroll-margin: 1rem; }
.filters { display: grid; grid-template-columns: 1fr 1.45fr auto; gap: .85rem; align-items: end; margin: 1.4rem 0; }
label { display: block; font-size: .93rem; font-weight: 700; }
input:not([type=checkbox]),select,textarea { display: block; width: 100%; min-height: 46px; margin-top: .25rem; padding: .55rem .7rem; border: 1px solid #8fa3b4; border-radius: .35rem; color: var(--ink); background: white; font: inherit; font-weight: 400; }
textarea { resize: vertical; }
.notice { background: #eff4f8; border-left: 4px solid #52718d; padding: .95rem 1rem; margin: 1.25rem 0; }
.checks,.small { color: var(--muted); font-size: .875rem; font-weight: 400; }
.results { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,270px),1fr)); gap: 1rem; padding: 0; list-style: none; }
.results li { border: 1px solid var(--line); border-radius: .5rem; padding: 1rem; overflow-wrap: anywhere; }
.results li p:first-of-type { font-weight: 700; }
.apply { background: var(--cream); }
.apply-grid { display: grid; grid-template-columns: .8fr 1.35fr; gap: clamp(1.5rem,5vw,4rem); }
.requirements { border-top: 2px solid #d86c27; margin-top: 1.5rem; padding-top: 1.1rem; }
.requirements ul { padding-left: 1.2rem; }
.requirements li + li { margin-top: .7rem; }
.form-card { padding: clamp(1rem,3vw,2rem); background: white; border: 1px solid var(--line); border-radius: .65rem; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.full { grid-column: 1 / -1; }
.checkbox { display: flex; gap: .6rem; align-items: start; margin: 1.1rem 0; }
.checkbox input { width: 1.15rem; height: 1.15rem; margin: .2rem 0 0; flex: none; accent-color: var(--navy); }
form + p { margin-top: 1rem; }
summary { cursor: pointer; font-size: .9rem; font-weight: 700; }
details p { margin-top: .5rem; }
@media (max-width: 780px) {
  .hero-grid,.apply-grid { grid-template-columns: 1fr; }
  .share { max-width: 29rem; }
}
@media (max-width: 550px) {
  .filters,.fields { grid-template-columns: 1fr; }
  .filters button { justify-self: start; }
}
