@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/Manrope.ttf") format("truetype");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("assets/fonts/DM-Sans.ttf") format("truetype");
  font-weight: 100 1000;
  font-display: swap;
}
:root {
  --bg: #222629;
  --panel: #282d31;
  --deep: #1b1f21;
  --ink: #f1ece6;
  --muted: #cdc6be;
  --logo-dark: #131212;
  --highlight: #fdf9f3;
  --accent: #86c232;
  --accent-hover: #96cf40;
  --tint: #343b3b;
  --line: #42494d;
  --border-strong: #747d81;
  --paper: var(--bg);
  --white: #fff;
  --sans: "DM Sans", Arial, sans-serif;
  --display: "Manrope", "DM Sans", Arial, sans-serif;
  --serif: var(--display);
  --gutter: clamp(1.15rem, 4.25vw, 4.6rem);
  --header: 6.25rem;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 1rem); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1rem/1.6 var(--sans); overflow-wrap: break-word; }
::selection { background: var(--accent); color: var(--logo-dark); }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; }
h1, h2 { text-wrap: balance; }
h2 { font-size: clamp(2.7rem, 4.6vw, 4.7rem); line-height: 1.045; letter-spacing: -.065em; }
h3 { font-size: clamp(1.28rem, 2vw, 1.65rem); line-height: 1.25; letter-spacing: -.04em; }
a { color: inherit; text-underline-offset: .24em; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
img { display: block; max-width: 100%; }
.wrap { width: min(calc(100% - var(--gutter) * 2), 77.5rem); margin-inline: auto; }
.section { padding-block: clamp(3.6rem, 7.6vw, 7.4rem); }
.eyebrow { display: flex; align-items: center; gap: .7rem; font: 650 .78rem/1.5 var(--sans); color: var(--muted); text-transform: uppercase; letter-spacing: .16em; margin-bottom: 1.25rem; }
.eyebrow::before { content: ""; width: 1.7rem; height: 1px; background: #80a64e; }
.icon { width: 1.6rem; height: 1.6rem; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linejoin: round; stroke-linecap: round; flex: none; }
.svg-sprite, .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip-link { position: fixed; top: .5rem; left: .75rem; z-index: 15; transform: translateY(-180%); background: var(--accent); color: var(--logo-dark); padding: .55rem 1rem; }
.skip-link:focus { transform: none; }
.header { position: sticky; z-index: 8; top: 0; background: rgba(34,38,41,.97); }
.header-inner { min-height: var(--header); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem; border-bottom: 1px solid #3b4042; }
.brand { justify-self: start; padding-block: .55rem; }
.brand img { width: clamp(6.2rem, 8vw, 8.35rem); height: auto; }
.main-nav { display: flex; align-items: center; justify-content: center; gap: clamp(1.6rem, 3vw, 3.1rem); }
.main-nav a { position: relative; padding: .65rem 0; font-size: .93rem; text-decoration: none; color: var(--muted); }
.main-nav a:hover, .main-nav a[aria-current] { color: var(--ink); }
.main-nav a[aria-current]::after { position: absolute; content: ""; height: 2px; bottom: .18rem; left: 0; right: 0; background: var(--accent); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 1rem; min-height: 3.05rem; padding: .8rem 1.55rem; border-radius: .36rem; border: 1px solid transparent; background: var(--accent); color: var(--logo-dark); font: 680 .95rem/1.25 var(--sans); text-decoration: none; transition: background-color .18s, border-color .18s; }
.button:hover { background: var(--accent-hover); }
.nav-apply { justify-self: end; min-height: 2.65rem; padding: .65rem 1.35rem; }
.secondary { border-color: #555c5e; background: #2c3134e6; color: var(--ink); }
.secondary:hover { background: #393f42; border-color: #7b8488; }
.grid-glyph { width: .85rem; height: .85rem; background: linear-gradient(currentColor 0 0) top left/40% 40%, linear-gradient(currentColor 0 0) top right/40% 40%, linear-gradient(currentColor 0 0) bottom left/40% 40%, linear-gradient(currentColor 0 0) bottom right/40% 40%; background-repeat: no-repeat; opacity: .77; }
.recruiting-page .header { background: #0c192c; }
.recruiting-page .header-inner { border-color: #283c55; }
.recruiting-page .header, .hero {
  --accent: #af344a;
  --accent-hover: #c13c54;
}
.recruiting-page .nav-apply, .hero-apply { color: #fff; }
.recruiting-page .header :focus-visible, .hero :focus-visible { outline-color: #cae3ff; }
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: radial-gradient(ellipse at 78% 45%, #192f4b 0%, #0e2039 42%, #0b192d 72%);
}
.hero-cartography {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  opacity: .72;
  pointer-events: none;
  user-select: none;
  mask-image: linear-gradient(90deg, transparent 31%, #0001 42%, #0006 49%, #000d 60%, #000 73%);
}
.hero-map {
  position: absolute;
  display: block;
  width: min(62%, 55rem);
  height: auto;
  top: 50%;
  right: max(calc((100% - 86rem) / 2), 0px);
  transform: translateY(-50%);
  pointer-events: none;
}
.hero-layout {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: clamp(28rem, 39vw, 37rem);
  padding-block: clamp(4.25rem, 6.6vw, 6.5rem);
}
.hero-copy { width: min(58%, 41rem); }
.footer-main .eyebrow { justify-content: center; }
.hero .eyebrow { color: #e3e6ef; }
.hero .eyebrow::before { width: 1.7rem; height: 2px; background: #eb6979; }
.hero h1 { color: #fbf8f5; font-size: clamp(2.65rem, 4.75vw, 4.45rem); font-weight: 540; letter-spacing: -.06em; line-height: 1.04; }
.hero-intro { margin-top: 1.45rem; max-width: 47ch; color: var(--muted); font-size: clamp(1rem, 1.3vw, 1.12rem); line-height: 1.65; text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.85rem; }
.hero .secondary { background: #152740; border-color: #54708c; color: #f3f5f9; }
.hero .secondary:hover { background: #213957; border-color: #96b1c9; }
.facts { border-block: 1px solid var(--line); background: #202426; }
.fact-grid { display: grid; grid-template-columns: repeat(3,1fr); }
.fact-grid a { display: grid; grid-template-columns: auto minmax(0, 13ch); gap: .45rem 1rem; justify-content: center; align-items: center; text-decoration: none; padding: 1.5rem .7rem; }
.fact-grid a + a { border-left: 1px solid var(--line); }
.fact-grid strong { font: 600 clamp(1.5rem,2.5vw,2.4rem)/1.1 var(--display); letter-spacing: -.07em; }
.fact-grid strong span { color: var(--muted); }
.fact-grid a > span { color: var(--muted); font-size: .92rem; }
.fact-grid a:hover strong { color: var(--highlight); }
.section-intro { max-width: 53rem; }
.section-intro > p:last-child, .offer-copy > p:not(.eyebrow), .product-intro { margin: 1.3rem 0 0; max-width: 38rem; color: var(--muted); font-size: 1.08rem; }
.systems-workspace { margin-top: 2.45rem; background: #292e32; border: 1px solid #4a5155; border-radius: .8rem; overflow: hidden; box-shadow: 0 18px 38px #13161730; }
.workspace-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem 1.45rem; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.workspace-brand { font-weight: 650; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.workspace-body { display: grid; grid-template-columns: minmax(12rem, 24%) 1fr; }
.system-nav { display: flex; flex-direction: column; gap: .5rem; border-right: 1px solid var(--line); padding: 1.55rem 1rem; background: #252a2d; }
.system-nav a { display: flex; align-items: center; gap: .8rem; padding: .75rem .9rem; text-decoration: none; border: 1px solid transparent; border-radius: .4rem; color: var(--muted); }
.system-nav .icon { width: 1.15rem; height: 1.15rem; }
.system-nav [aria-selected="true"] { background: #384334; border-color: #566b42; color: var(--ink); }
.system-nav a:hover { background: #343b3c; }
.system-panel { padding: clamp(1.4rem, 3vw, 2.75rem); background: radial-gradient(ellipse at top right, #38403e 0%, #292e32 60%); }
.system-panel > .icon, .path > .icon { color: var(--accent); width: 2.1rem; height: 2.1rem; margin-bottom: .8rem; }
.system-panel h3 { font-size: clamp(1.85rem, 3vw, 2.8rem); line-height: 1.1; letter-spacing: -.055em; }
.system-panel p { color: var(--muted); margin-top: .8rem; max-width: 56ch; }
.system-panel dl { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 1.4rem; }
.system-panel dl div { border-top: 1px solid var(--line); padding-top: .7rem; }
.system-panel dt { font-weight: 650; } .system-panel dd { font-size: .92rem; color: var(--muted); }
[hidden] { display: none !important; }
.carriers-section { background: var(--deep); border-block: 1px solid var(--line); }
.carrier-directory { display: grid; grid-template-columns: .92fr 1.2fr; grid-template-rows: auto 1fr; gap: 1.7rem clamp(2rem, 7vw, 7rem); align-items: start; }
.carrier-display { grid-row: 1 / 3; align-self: start; position: sticky; top: calc(var(--header) + 2rem); padding: .5rem; }
.carrier-ring { position: relative; isolation: isolate; width: 100%; max-width: 29rem; margin: 1rem auto; aspect-ratio: 1; border-radius: 50%; border: 1px solid #536144; background: radial-gradient(circle, #343c30 0, #222825 44%, transparent 72%); display: grid; place-items: center; }
.carrier-ring::before, .carrier-ring::after { content: ""; position: absolute; border: 1px solid #61735475; border-radius: 50%; inset: 8%; }
.carrier-ring::after { inset: 21%; border-style: dashed; opacity: .7; }
.carrier-ring b { color: var(--muted); font: 500 clamp(4.5rem,9vw,9rem)/1 var(--display); letter-spacing: -.11em; transform: translateX(-.045em); }
.carrier-ring b span { font-size: .6em; vertical-align: top; line-height: 1.3; }
.carrier-ring i { position: absolute; top: 14.2%; left: 14.2%; width: .53rem; height: .53rem; background: var(--accent); border-radius: 50%; }
.carrier-copy .text-link { margin-top: 1.1rem; }
.text-link { display: inline-block; font-weight: 600; color: var(--ink); text-decoration-color: var(--muted); }
.text-link:hover, .footer-email:hover, #legal-links a:hover { color: var(--highlight); }
.carrier-caption { margin-bottom: .8rem; font-weight: 650; }
.carrier-grid { padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-rows: repeat(11, auto); grid-auto-flow: column; gap: 0 1.4rem; border-top: 1px solid #75816f; }
.carrier-grid li { font-size: 1rem; padding: .63rem 0; border-bottom: 1px solid #393f42; }
.products-section { padding-block: clamp(2.9rem, 5.5vw, 5.2rem); background: #252a2c; border-bottom: 1px solid var(--line); }
.product-layout, .offer-layout, .faq-layout { display: grid; grid-template-columns: .96fr 1.1fr; gap: clamp(2.4rem, 7vw, 8rem); align-items: start; }
.product-layout h2 { max-width: 13ch; }
.contract-lines > h3, .faqs > h3 { margin-bottom: 1rem; }
.product-lines > div { display: grid; grid-template-columns: 1fr 1.75fr; gap: 1rem; padding: .8rem 0; border-top: 1px solid var(--line); }
.product-lines dt, .steps h3 { font-weight: 650; }
.product-lines dd, .other-contracts p { color: var(--muted); }
.other-contracts { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; border-top: 1px solid var(--line); padding-top: 1.2rem; }
.other-contracts p { margin-top: .55rem; }
.opportunity-section { background: radial-gradient(ellipse at 82% 40%, #31382f 0%, transparent 55%), var(--deep); }
.offer-layout { align-items: center; }
.offer-copy .button { margin-top: 1.65rem; }
.offer-card { position: relative; border: 1px solid #556148; border-radius: .8rem; background: linear-gradient(135deg,#30362f,#252a2b 78%); padding: clamp(1.6rem, 3.7vw, 3.4rem); }
.offer-card h3 { font-size: 1rem; letter-spacing: 0; }
.offer-amount { padding-block: 1.55rem .35rem; }
.offer-amount span { display: block; font-size: 1.05rem; line-height: 1.2; }
.offer-amount strong { font: 550 clamp(4.65rem, 7.8vw, 7.8rem)/1 var(--display); letter-spacing: -.09em; color: var(--ink); }
.offer-card > p:last-child { margin-top: 1.25rem; padding-top: 1.15rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .93rem; }
.independence-section { padding-top: 0; background: var(--deep); }
.independence-section h2, .paths-section h2 { font-size: clamp(2.2rem,3.8vw,3.75rem); }
.ownership-grid, .paths { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(1.25rem, 3vw, 3rem); margin-top: 2rem; }
.ownership-grid article, .path { border-top: 1px solid #515951; padding-top: 1.3rem; }
.ownership-grid p, .path p { color: var(--muted); margin-top: .65rem; }
.path { display: flex; flex-direction: column; align-items: start; }
.path .text-link { margin-top: auto; padding-top: 1.2rem; }
.paths-section, .faq-section { border-top: 1px solid var(--line); }
.faq-section { background: #252a2d; }
.steps { padding: 0; margin-top: 1.75rem; list-style: none; }
.steps li { display: flex; gap: 1.1rem; align-items: baseline; padding: .85rem 0; }
.steps li > span { font-size: .85rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.steps h3 { font-size: 1.05rem; letter-spacing: -.015em; } .steps p { color: var(--muted); margin-top: .3rem; }
.faqs > h3 { font-size: 1.65rem; }
.faqs details { border-top: 1px solid var(--line); }
.faqs details:last-child { border-bottom: 1px solid var(--line); }
.faqs summary { position: relative; padding: 1.1rem 2.05rem 1.1rem 0; list-style: none; font-weight: 600; cursor: pointer; line-height: 1.45; }
.faqs summary::-webkit-details-marker { display: none; }
.faqs summary::after { content: "+"; position: absolute; right: .15rem; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 1.4rem; font-weight: 400; }
.faqs details[open] > summary::after { content: "−"; }
.faqs details p { color: var(--muted); padding-bottom: 1.2rem; }
.faqs details a { color: var(--ink); }
.footer { background: #1a1e20; border-top: 1px solid var(--line); }
.footer-main { text-align: center; display: grid; justify-items: center; padding: clamp(3.5rem,7vw,6.7rem) 0; }
.footer-main h2 { margin-bottom: 1.75rem; }
.footer-email { margin-top: 1.15rem; color: var(--muted); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; border-top: 1px solid var(--line); padding: 1.75rem 0; }
.footer-brand { width: 8.5rem; } .footer-brand img { height: auto; }
#legal-links { display: flex; flex-wrap: wrap; gap: .6rem 1.3rem; } #legal-links a { color: var(--muted); font-size: .9rem; }
.legal-notice { max-width: 48rem; margin: auto; padding: 2rem var(--gutter); background: var(--panel); }
.legal-notice:not(:target) { display: none; }
.legal-notice h2 { margin: .4rem 0; font-size: clamp(2rem, 4vw, 3rem); }
.legal-notice h3 { margin: 1.4rem 0 .4rem; font-size: 1.25rem; }
.legal-notice p { margin: .7rem 0; color: var(--muted); }
.legal-status, .legal-close { font-size: .9rem; }
.legal-close { float: right; padding: .2rem; }
.legal-dialog { width: min(92vw, 43rem); max-height: 84dvh; padding: 0; background: var(--panel); color: var(--ink); border: 1px solid var(--border-strong); border-radius: .65rem; }
.legal-dialog::backdrop { background: #0d1012cb; backdrop-filter: blur(5px); }
.legal-dialog[open] .legal-notice { display: block; padding: clamp(1.25rem,4vw,2.7rem); }
body:has(dialog[open]) { overflow: hidden; }
@media (max-width: 53rem) {
  :root { --header: 5rem; }
  .header-inner { gap: 1rem; }
  .hero-copy { width: min(69%, 34rem); }
  .hero h1 { font-size: clamp(2.65rem, 5.2vw, 3.4rem); }
  .hero-map { width: 71%; right: -7%; }
  .brand img { width: 5.5rem; }
  .main-nav { gap: 1.15rem; }
  .fact-grid a { display: flex; align-content: center; flex-direction: column; gap: .35rem; }
  .workspace-body { grid-template-columns: minmax(10.75rem, 30%) 1fr; }
  .carrier-directory { gap: 1.5rem 2rem; grid-template-columns: .74fr 1.16fr; }
  .offer-layout, .faq-layout, .product-layout { gap: 2.25rem; }
  .ownership-grid, .paths { gap: 1.2rem; }
}
@media (max-width: 41rem) {
  :root { --header: 6.6rem; }
  .header-inner { grid-template-columns: 1fr auto; gap: 0; padding-top: .2rem; }
  .brand { padding-block: .15rem; } .brand img { width: 4.8rem; }
  .nav-apply { grid-row: 1; grid-column: 2; min-height: 2.45rem; padding: .6rem 1.1rem; }
  .main-nav { grid-row: 2; grid-column: 1 / -1; justify-content: space-between; gap: .5rem; border-top: 1px solid #383e41; }
  .main-nav a { font-size: .86rem; padding: .6rem .05rem; }
  .hero-layout { min-height: 28rem; padding-block: 2.8rem clamp(6.7rem, 19vw, 8.5rem); }
  .hero-copy { width: min(100%, 30rem); }
  .hero h1 { font-size: clamp(2.1rem, 8.7vw, 3.35rem); }
  .hero-cartography { mask-image: linear-gradient(132deg, transparent 20%, #0001 37%, #0006 57%, #000d 76%, #000 93%); }
  .hero-map { width: min(106%, 35rem); top: auto; bottom: -.1rem; right: -9%; transform: none; }
  .hero-intro { margin-top: 1.25rem; }
  .hero-actions { gap: .55rem; margin-top: 1.35rem; }
  .hero-actions .button { font-size: .9rem; padding: .75rem .9rem; }
  .hero .eyebrow { font-size: .71rem; }
  .fact-grid a { text-align: center; padding: .9rem .35rem; }
  .fact-grid strong { font-size: clamp(1.18rem,4.6vw,1.65rem); }
  .fact-grid a > span { font-size: .8rem; line-height: 1.35; }
  .workspace-body, .offer-layout, .product-layout, .faq-layout { grid-template-columns: minmax(0,1fr); }
  .workspace-bar { padding: .75rem 1rem; }
  .system-nav { flex-direction: row; flex-wrap: wrap; padding: .65rem; gap: .3rem; border: 0; border-bottom: 1px solid var(--line); }
  .system-nav a { padding: .55rem .6rem; gap: .4rem; font-size: .86rem; }
  .system-nav .icon { display: none; }
  .system-panel dl { grid-template-columns: 1fr; gap: .8rem; }
  .carrier-directory { grid-template-columns: 1fr auto; align-items: center; gap: 1.6rem .8rem; }
  .carrier-display { grid-row: 1; grid-column: 2; position: static; padding: 0; width: clamp(5rem,22vw,9rem); align-self: center; }
  .carrier-ring { margin: 0; }
  .carrier-ring b { font-size: clamp(2.1rem,8vw,3.3rem); }
  .carrier-ring i { width: .27rem; height: .27rem; }
  .carrier-copy { grid-row: 1; grid-column: 1; }
  .carrier-copy h2 { font-size: clamp(2.4rem,7.8vw,3.2rem); }
  .carrier-roster { grid-column: 1/-1; }
  .carrier-grid { gap: 0 1rem; }
  .product-layout h2 { max-width: 16ch; }
  .product-lines > div { grid-template-columns: minmax(0,1fr) minmax(0,1.6fr); }
  .ownership-grid, .paths { grid-template-columns: 1fr; gap: 1.4rem; margin-top: 1.45rem; }
  .path > .icon { width: 1.55rem; height: 1.55rem; margin-bottom: .6rem; }
  .offer-card { max-width: 30rem; }
  .footer-bottom { align-items: start; flex-direction: column; }
}
@media (max-width: 30rem) {
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .button { width: min(100%, 14rem); }
  .carrier-grid { grid-template-columns: minmax(0,1fr); grid-template-rows: none; grid-auto-flow: row; }
  .product-lines > div { display: block; }
  .product-lines dd { margin-top: .18rem; }
  .other-contracts { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

.hero-map .map-land {
  fill: url(#network-land-ink);
  stroke: #86a7cc;
  stroke-opacity: .75;
  stroke-width: .9px;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.hero-map .map-borders {
  stroke: #8ba9ca;
  stroke-opacity: .48;
  stroke-width: .58px;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.network-route {
  stroke: #78a9ed;
  stroke-opacity: .85;
  stroke-width: 1.1px;
  vector-effect: non-scaling-stroke;
}
.network-marker { fill: #152942; stroke: #a8c9ea; stroke-width: 1.6; }
.network-pin { fill: #edf6ff; }
.network-journey[data-color="red"] { color: #ff596f; }
.network-journey[data-color="blue"] { color: #74b6ff; }
.network-core { fill: currentColor; }
.network-pulse { fill: none; stroke: currentColor; stroke-width: 1.8; }
.network-traffic { display: none; }

/* Keep a fully static map when motion is reduced or CSS motion paths are unavailable. */
@media (prefers-reduced-motion: no-preference) {
  @supports (offset-path: path("M0 0L1 1")) {
    .network-traffic { display: inline; }
    .network-traveler {
      offset-path: var(--curve);
      offset-anchor: 0px 0px;
      offset-rotate: auto;
      animation: network-flight var(--cycle) linear var(--phase) infinite both;
    }
    .network-pulse {
      animation: network-arrival var(--cycle) linear var(--phase) infinite both;
    }
  }
}
@keyframes network-flight {
  0% { offset-distance: 0%; opacity: 0; }
  5% { opacity: 1; }
  78% { opacity: 1; }
  82% { offset-distance: 100%; opacity: .85; }
  86%, 100% { offset-distance: 100%; opacity: 0; }
}
@keyframes network-arrival {
  0%, 82% { r: 5.8px; opacity: 0; }
  85% { opacity: .72; }
  90% { opacity: .35; }
  100% { r: 17px; opacity: 0; }
}

.application-form,
.application-receipt {
  min-width: 0;
  padding: clamp(1.25rem, 4vw, 2.5rem);
  color: var(--ink);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: .65rem;
}

.application-form .form-body {
  display: grid;
  gap: 1.2rem;
}

.application-form .form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.05rem 1rem;
}

.application-form .form-field {
  display: grid;
  align-content: start;
  gap: .4rem;
  min-width: 0;
}

.application-form .full-width {
  grid-column: 1 / -1;
}

.application-form .form-field > label {
  color: var(--ink);
  font: 600 .94rem/1.4 var(--sans);
}

.application-form .form-field :is(input, select, textarea) {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: .6rem .75rem;
  border: 1px solid var(--border-strong);
  border-radius: .375rem;
  color: var(--ink);
  background-color: var(--bg);
  font: 400 1rem/1.45 var(--sans);
}

.application-form .form-field textarea {
  display: block;
  min-height: 5rem;
  resize: vertical;
}

.application-form .form-field ::placeholder {
  color: var(--muted);
  opacity: 1;
}

.application-form .form-field select {
  appearance: none;
  padding-right: 2.3rem;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%),
                    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 1.08rem) 52%, calc(100% - .76rem) 52%;
  background-size: .32rem .32rem;
  background-repeat: no-repeat;
}

.application-form .form-status {
  color: var(--muted);
  font: 400 .9rem/1.5 var(--sans);
}

.application-form .form-status:empty {
  display: none;
}

.application-form .form-status-error {
  color: var(--ink);
}

.application-form .form-submit {
  width: 100%;
  min-height: 46px;
  padding: .72rem 1rem;
  border: 1px solid var(--accent);
  border-radius: .375rem;
  color: var(--logo-dark);
  background: var(--accent);
  font: 700 .96rem/1.4 var(--sans);
  cursor: pointer;
}

.application-form .form-submit:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

.application-form .form-submit:disabled {
  opacity: .7;
  cursor: wait;
}

.application-form :focus-visible,
.application-receipt :focus-visible {
  outline: 2px solid #a3d862;
  outline-offset: 2px;
}

.application-receipt h3 {
  margin: 0 0 .6rem;
  font-size: 1.75rem;
}

.application-receipt p {
  color: var(--muted);
}

@media (max-width: 30rem) {
  .application-form .form-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: .8rem;
  }
}

@media (forced-colors: active) {
  .application-form .form-field select {
    appearance: auto;
  }
}

.application-dialog {
  --border-strong: #737d81;
  width: min(35rem, calc(100% - 2rem));
  max-width: none;
  max-height: 90vh;
  max-height: 90dvh;
  margin: auto;
  padding: 0;
  overflow: hidden;
  color: var(--ink);
  background: #272c30;
  border: 1px solid #454c4f;
  border-radius: .75rem;
  box-shadow: 0 1.5rem 6rem #0008;
}

.application-dialog:not([open]) { display: none; }
.application-dialog[open] { display: flex; flex-direction: column; }
.application-dialog::backdrop { background: #090c0dbf; backdrop-filter: blur(5px); }

.application-dialog-header {
  position: relative;
  flex: none;
  padding: 1.75rem 4.25rem 0 1.8rem;
}

.application-dialog-header h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.8rem, 4vw, 2.15rem);
  line-height: 1.12;
  letter-spacing: -.045em;
}

.application-dialog-header p {
  margin: .65rem 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.45;
}

.application-dialog-close {
  position: absolute;
  top: .85rem;
  right: .85rem;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  color: var(--ink);
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  background: transparent;
  font: 400 1.6rem/1 var(--sans);
  cursor: pointer;
}

.application-dialog-close:hover { background: #3b4346; }

.application-dialog-body {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 1.4rem 1.8rem 1.8rem;
}

.application-dialog .application-form,
.application-dialog .application-receipt {
  padding: 0;
  border: 0;
  background: transparent;
}

.application-dialog .application-receipt {
  padding-right: 2.25rem;
}

@media (max-width: 32rem) {
  .application-dialog {
    width: calc(100% - 1.25rem);
    max-height: 94vh;
    max-height: 94dvh;
  }
  .application-dialog-header { padding: 1.4rem 3.7rem 0 1.2rem; }
  .application-dialog-body { padding: 1.15rem 1.2rem 1.3rem; }
}

@media (max-height: 27rem) {
  .application-dialog[open] { display: block; overflow-y: auto; }
  .application-dialog-body { overflow-y: visible; }
}
