:root {
  color-scheme: dark;
  --night: #09130f;
  --paper: #eff4ed;
  --ink: #15271e;
  --mint: #9df5be;
  --line: #344039;
  font: 100%/1.5 Inter, "Segoe UI", system-ui, sans-serif;
  color: #f2f7f1;
  background: var(--night);
}
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid #4bba88; outline-offset: 4px;
}
.wrap { width: min(77rem, calc(100% - clamp(2.5rem, 10vw, 10rem))); margin-inline: auto; }
.skip { position: absolute; top: -6rem; left: 1rem; z-index: 2; padding: .75rem 1rem; background: white; color: var(--ink); }
.skip:focus { top: .5rem; }
.masthead, .footer, nav, .brand { display: flex; align-items: center; }
.masthead, .footer { justify-content: space-between; gap: 1rem; }
.masthead { min-height: 5.1rem; border-bottom: 1px solid var(--line); }
.brand { gap: .65rem; font-size: 1.23rem; font-weight: 700; letter-spacing: -.04em; white-space: nowrap; }
.brand span {
  display: grid; place-content: center; width: 2rem; height: 2rem; padding-right: .1rem;
  color: #153d28; background: var(--mint); border-radius: .55rem;
  font-size: 1.65rem; line-height: 1; font-weight: 800; letter-spacing: -.12em;
}
nav { gap: clamp(1.2rem, 3vw, 2.5rem); font-size: .93rem; font-weight: 550; }
.nav-section, .footer > a:last-child { color: #c1cfc5; }
.nav-section:hover, .footer > a:hover { color: var(--mint); }
.login { border: 1px solid #66786b; border-radius: 999px; padding: .57rem 1.15rem; white-space: nowrap; }
.login:hover { background: #223328; }
.hero { display: grid; grid-template-columns: 1fr 1.03fr; align-items: center; padding-block: clamp(3.25rem, 6.6vw, 6rem); }
.hero-copy { position: relative; z-index: 1; }
.kicker, .channel { font: 650 .8rem/1.4 ui-monospace, Consolas, monospace; letter-spacing: .095em; text-transform: uppercase; }
.kicker { color: var(--mint); margin-bottom: 1.2rem; }
h1, h2, h3 { line-height: 1.1; }
h1 { font-size: clamp(3.25rem, 5.55vw, 5.65rem); font-weight: 660; line-height: 1.01; letter-spacing: -.062em; }
h1 em { color: var(--mint); font-style: normal; }
.intro { max-width: 30rem; margin-block: 1.5rem 1.8rem; color: #c0cec4; font-size: clamp(1.05rem, 1.4vw, 1.22rem); }
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: .7rem 1.4rem;
  border: 1px solid transparent; border-radius: 999px; font: inherit; font-weight: 650; cursor: pointer;
  color: #123420; background: var(--mint);
}
.button:hover { background: #befad3; }
.hero-art { margin: -.8rem -4% -1rem -7%; mix-blend-mode: screen; }
.hero-art img {
  display: block; width: 100%; height: auto;
  mask-image: linear-gradient(to bottom, transparent, #000 7%, #000 77%, transparent), linear-gradient(to right, transparent, #000 10%, #000 93%, transparent);
  mask-composite: intersect;
}
.platform { border-top: 1px solid var(--line); padding-block: 2.4rem clamp(3rem, 5.1vw, 5rem); }
.platform h2 { font-size: clamp(1.65rem, 2.6vw, 2.55rem); letter-spacing: -.045em; font-weight: 630; }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 1.85rem; }
.features article { padding-inline: clamp(1rem, 2.5vw, 2.6rem); border-left: 1px solid var(--line); }
.features article:first-child { padding-left: 0; border: 0; }
.features article:last-child { padding-right: 0; }
.channel { color: #a5d1b7; letter-spacing: .055em; font-size: .78rem; }
.features h3 { margin-block: .55rem .55rem; font-size: clamp(1.18rem, 1.65vw, 1.48rem); letter-spacing: -.028em; }
.features p { color: #b9c8be; line-height: 1.55; max-width: 36ch; }
.apply { color-scheme: light; color: var(--ink); background: var(--paper); padding-block: clamp(3.5rem, 6vw, 6.5rem); }
.apply-layout { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(2rem, 8vw, 9rem); align-items: start; }
.apply-copy { padding-top: .5rem; }
.apply-copy .kicker { color: #366b4d; }
.apply-copy h2 { font-size: clamp(2.4rem, 4.3vw, 4.25rem); letter-spacing: -.06em; font-weight: 640; line-height: 1.03; }
.apply-copy > p:last-child { color: #486052; margin-top: 1.4rem; max-width: 34ch; font-size: 1.08rem; }
.paper { background: #fff; border: 1px solid #ced9cf; padding: clamp(1.25rem, 2.8vw, 2.4rem); border-radius: 1.4rem; }
.application-form { display: grid; gap: 1.15rem; }
.field { display: grid; gap: .35rem; min-width: 0; }
.field label { font-weight: 650; }
.field label span, .hint { font-size: .875rem; color: #52665a; font-weight: 400; }
.field label span { margin-left: .3rem; }
.field input, .field textarea {
  width: 100%; min-width: 0; padding: .68rem .8rem; color: var(--ink); background: #fbfdfb;
  border: 1px solid #a6b7aa; border-radius: .55rem; font: inherit;
}
.field textarea { resize: vertical; min-height: 5rem; }
::placeholder { color: #607366; opacity: 1; }
.submit { background: #143d2a; color: white; justify-self: start; }
.submit:hover { background: #205439; }
.error, .form-alert { color: #962b36; }
.error { font-size: .9rem; }
.form-alert { border-left: 3px solid #a93b43; padding: .6rem .8rem; background: #fff3f1; }
[aria-invalid="true"] { border-color: #a93b43 !important; }
.receipt h3 { margin-block: 1.1rem .65rem; font-size: 1.7rem; letter-spacing: -.04em; }
.receipt p { color: #486052; }
.check { display: inline-grid; place-items: center; width: 2.8rem; height: 2.8rem; background: #d1f2dc; border-radius: 50%; font-size: 1.55rem; }
.text-link { display: inline-block; margin-top: 1.2rem; color: #176139; text-decoration: underline; text-underline-offset: .2em; }
.footer { padding-block: 1.6rem; font-size: .93rem; }
.language-picker { position: relative; z-index: 2; }
.language-picker summary { cursor: pointer; padding: .55rem .65rem; border: 1px solid var(--line); border-radius: .55rem; list-style: none; font-weight: 650; }
.language-picker summary::-webkit-details-marker { display: none; }
.language-picker ul { position: absolute; right: 0; top: calc(100% + .4rem); width: max-content; min-width: 8rem; margin: 0; padding: .35rem; list-style: none; border-radius: .65rem; background: #182a21; border: 1px solid var(--line); box-shadow: 0 .7rem 1.5rem #0005; }
.language-picker li a { display: block; padding: .35rem .6rem; border-radius: .35rem; }
.language-picker a[aria-current="true"], .language-picker a:hover { background: #263e31; }
@media (max-width: 52rem) {
  .hero { grid-template-columns: 1fr .85fr; }
  h1 { font-size: clamp(2.65rem, 6vw, 3.5rem); }
  .features article { padding-inline: 1.1rem; }
  .apply-layout { grid-template-columns: .8fr 1.2fr; gap: 1.5rem; }
}
@media (max-width: 40rem) {
  .masthead { min-height: 4.3rem; gap: .5rem; }
  .masthead nav { gap: .5rem; }
  .masthead .brand { font-size: 1rem; gap: .35rem; }
  .nav-section { display: none; }
  .login { padding: .45rem .65rem; font-size: .88rem; line-height: 1.2; text-align: center; white-space: normal; }
  .hero { grid-template-columns: 1fr; padding-block: 2.85rem 1.2rem; }
  h1 { font-size: clamp(2.5rem, 9.5vw, 4.1rem); }
  .intro { margin-block: 1.1rem 1.3rem; }
  .hero-art { justify-self: center; width: min(100%, 26rem); margin: 1.1rem 0 0; }
  .features, .apply-layout { grid-template-columns: 1fr; }
  .features { gap: 1.2rem; margin-top: 1.35rem; }
  .features article, .features article:first-child { border: 0; padding: 0; }
  .features article + article { border-top: 1px solid var(--line); padding-top: 1.1rem; }
  .features p { max-width: none; }
  .apply-layout { gap: 1.75rem; }
  .apply-copy { padding-top: 0; }
  .submit { width: 100%; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .button, .login { transition: background-color .16s ease; }
}
