/* Seven Wells — site styles
   Palette: brand navy taken down to night; light (not colour) is the accent. */

/* ---------- Fonts: Mona Sans (variable weight + width) ---------- */
@font-face {
  font-family: "Mona Sans";
  src: url("/assets/fonts/mona-sans-core.woff2") format("woff2");
  font-weight: 200 900;
  font-stretch: 75% 125%;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0020-007E, U+00A0, U+00A9, U+00AE, U+00B7, U+00D7, U+2013-2014, U+2018-2019,
    U+201C-201D, U+2022, U+2026, U+20AC, U+2122, U+2190-2193, U+2212;
}
@font-face {
  font-family: "Mona Sans";
  src: url("/assets/fonts/mona-sans-latin.woff2") format("woff2");
  font-weight: 200 900;
  font-stretch: 75% 125%;
  font-style: normal;
  font-display: swap;
  unicode-range: U+00A1-00A8, U+00AA-00AD, U+00AF-00B6, U+00B8-00D6, U+00D8-00FF, U+0131, U+0152-0153,
    U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-2012, U+2015-2017, U+201A-201B,
    U+201E-2021, U+2023-2025, U+2027-206F, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Mona Sans";
  src: url("/assets/fonts/mona-sans-latin-ext.woff2") format("woff2");
  font-weight: 200 900;
  font-stretch: 75% 125%;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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;
}

/* ---------- Tokens ---------- */
:root {
  --night: #060d1b;
  --deep: #0a1426;
  --navy: #132440;
  --navy-lift: #1a2e52;
  --line: rgba(176, 196, 232, 0.14);
  --line-strong: rgba(176, 196, 232, 0.26);
  --text: #eef2f8;
  --muted: #8f9bb3;
  --faint: #66728b;
  --glow: #bfd1ff;
  --error: #f4a39c;

  --font: "Mona Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial,
    sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-3: clamp(1.625rem, 2.4vw, 2.125rem);
  --step-4: clamp(2.25rem, 4.6vw, 3.5rem);
  --step-5: clamp(3rem, 8.2vw, 6.75rem);

  --container: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --section: clamp(96px, 11vw, 160px);
  --nav-h: 76px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  color-scheme: dark;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  background: var(--night);
}
body {
  margin: 0;
  min-height: 100vh;
  background: var(--night);
  color: var(--text);
  font-family: var(--font);
  font-size: var(--step-0);
  font-weight: 400;
  font-stretch: 100%;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3,
p,
ol,
ul,
dl,
dd,
figure {
  margin: 0;
}
ol,
ul {
  padding: 0;
  list-style: none;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
:focus-visible {
  outline: 2px solid var(--glow);
  outline-offset: 3px;
  border-radius: 4px;
}
::selection {
  background: rgba(191, 209, 255, 0.28);
  color: #fff;
}
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--text);
  color: var(--night);
  font-weight: 560;
  transition: top 0.2s;
}
.skip:focus {
  top: 16px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  height: 52px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 560;
  font-stretch: 106%;
  letter-spacing: -0.005em;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 0.25s var(--ease),
    border-color 0.25s var(--ease),
    color 0.25s var(--ease),
    box-shadow 0.4s var(--ease);
}
.btn--primary {
  background: var(--text);
  color: var(--night);
}
.btn--primary:hover {
  background: #fff;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.6),
    0 0 36px 4px rgba(191, 209, 255, 0.32);
}
.btn--ghost {
  height: 40px;
  padding: 0 18px;
  border-color: var(--line-strong);
  color: var(--text);
  font-size: 0.9375rem;
}
.btn--ghost:hover {
  border-color: rgba(238, 242, 248, 0.6);
  background: rgba(238, 242, 248, 0.06);
}
.btn[disabled] {
  opacity: 0.6;
  cursor: progress;
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition:
    background-color 0.3s,
    border-color 0.3s;
}
.nav.is-scrolled,
.nav.is-open {
  background: rgba(6, 13, 27, 0.78);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 40px;
  height: var(--nav-h);
}
.nav__brand {
  display: flex;
  flex: none;
  padding: 6px 0;
  border-radius: 4px;
}
.nav__brand img {
  width: auto;
  height: 28px;
}
.nav__links {
  display: flex;
  gap: 34px;
  margin-left: auto;
  font-size: 0.9375rem;
  color: var(--muted);
}
.nav__links a {
  padding: 6px 0;
  transition: color 0.2s;
}
.nav__links a:hover,
.nav__links a[aria-current="page"] {
  color: var(--text);
}
.nav__cta {
  flex: none;
}
.nav__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-right: -8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: none;
  cursor: pointer;
}
.nav__toggle span {
  position: relative;
  width: 18px;
  height: 1.5px;
  background: var(--text);
  transition: background-color 0.2s;
}
.nav__toggle span::before,
.nav__toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.25s var(--ease);
}
.nav__toggle span::before {
  transform: translateY(-6px);
}
.nav__toggle span::after {
  transform: translateY(6px);
}
.nav__toggle[aria-expanded="true"] span {
  background: transparent;
}
.nav__toggle[aria-expanded="true"] span::before {
  transform: rotate(45deg);
}
.nav__toggle[aria-expanded="true"] span::after {
  transform: rotate(-45deg);
}
.menu[hidden] {
  display: none;
}
.menu__list {
  display: grid;
  padding-bottom: 20px;
}
.menu__list a {
  display: block;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  font-size: 1.25rem;
  font-weight: 520;
  font-stretch: 110%;
}
@media (max-width: 760px) {
  .nav__links {
    display: none;
  }
  .nav__cta {
    margin-left: auto;
  }
  .nav__toggle {
    display: inline-flex;
  }
  .nav__inner {
    gap: 12px;
  }
}

/* ---------- Horizon: the line of light through the star ---------- */
.horizon {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  transform: translateY(-50%);
  background: linear-gradient(
    90deg,
    rgba(191, 209, 255, 0) 0%,
    rgba(191, 209, 255, 0.16) 16%,
    rgba(214, 226, 255, 0.55) 38%,
    rgba(240, 245, 255, 0.95) 50%,
    rgba(214, 226, 255, 0.55) 62%,
    rgba(191, 209, 255, 0.16) 84%,
    rgba(191, 209, 255, 0) 100%
  );
  pointer-events: none;
}
.horizon::after {
  content: "";
  position: absolute;
  left: 25%;
  right: 25%;
  top: 50%;
  height: 40px;
  transform: translateY(-50%);
  background: radial-gradient(50% 50% at 50% 50%, rgba(191, 209, 255, 0.2), rgba(191, 209, 255, 0) 70%);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--nav-h) + 40px) 0 clamp(56px, 9vh, 96px);
  overflow: hidden;
  text-align: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(48% 40% at 50% 34%, rgba(48, 82, 158, 0.3), rgba(48, 82, 158, 0) 72%);
}
.hero__mark {
  position: relative;
  display: grid;
  place-items: center;
  margin-bottom: clamp(24px, 4.5vh, 52px);
}
.hero__star {
  position: relative;
  width: auto;
  height: clamp(168px, 33vh, 340px);
  overflow: visible;
}
.hero__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero__title {
  font-size: var(--step-5);
  font-weight: 620;
  font-stretch: 118%;
  letter-spacing: -0.042em;
  line-height: 0.96;
  text-wrap: balance;
}
.hero__lede {
  max-width: 54ch;
  margin-top: clamp(18px, 2.6vh, 28px);
  color: var(--muted);
  font-size: clamp(1.0625rem, 1.35vw, 1.25rem);
  line-height: 1.55;
  text-wrap: balance;
}
.hero__copy .btn {
  margin-top: clamp(28px, 4.2vh, 44px);
}
.hero__rise,
.hero__sink {
  transform-box: fill-box;
}

@media (prefers-reduced-motion: no-preference) {
  .js .hero .horizon {
    animation: sw-horizon 1.7s var(--ease) both;
  }
  .js .hero__rise {
    animation: sw-rise 1.9s 0.3s var(--ease) both;
  }
  .js .hero__sink {
    animation: sw-sink 1.9s 0.3s var(--ease) both;
  }
  .js .hero__copy {
    animation: sw-fade 1.1s 0.85s ease both;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero__reflection {
    filter: none;
  }
}
@keyframes sw-horizon {
  from {
    opacity: 0;
    transform: translateY(-50%) scaleX(0.04);
  }
  to {
    opacity: 1;
    transform: translateY(-50%) scaleX(1);
  }
}
@keyframes sw-rise {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}
@keyframes sw-sink {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}
@keyframes sw-fade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Sections ---------- */
.section {
  padding-block: var(--section);
}
.section__title {
  font-size: var(--step-4);
  font-weight: 600;
  font-stretch: 112%;
  letter-spacing: -0.032em;
  line-height: 1.02;
  text-wrap: balance;
}
.split {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 44px;
  align-items: start;
}
.split > .section__title {
  grid-column: 1 / span 4;
}
.split > .split__body {
  grid-column: 5 / -1;
}
@media (max-width: 900px) {
  .split > .section__title,
  .split > .split__body {
    grid-column: 1 / -1;
  }
}

/* What we offer */
.offer {
  border-top: 1px solid var(--line);
}
.offer__item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1.25fr);
  column-gap: 24px;
  align-items: baseline;
  padding: 34px 0 36px;
  border-bottom: 1px solid var(--line);
}
.offer__num {
  color: var(--faint);
  font-size: 0.9375rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.offer__name {
  font-size: var(--step-3);
  font-weight: 560;
  font-stretch: 112%;
  letter-spacing: -0.022em;
  line-height: 1.1;
}
.offer__text {
  max-width: 38ch;
  color: var(--muted);
}
@media (max-width: 640px) {
  .offer__item {
    grid-template-columns: 40px minmax(0, 1fr);
    row-gap: 10px;
    padding: 28px 0 30px;
  }
  .offer__text {
    grid-column: 2;
  }
}

/* Stats */
.section--stats {
  padding-block: calc(var(--section) * 0.55);
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 44px 28px 42px;
  border-left: 1px solid var(--line);
}
.stat:first-child {
  padding-left: 0;
  border-left: 0;
}
.stat__value {
  order: -1;
  font-size: clamp(2.25rem, 4.3vw, 3.75rem);
  font-weight: 540;
  font-stretch: 112%;
  letter-spacing: -0.04em;
  line-height: 1;
  white-space: nowrap;
}
.stat__label {
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.4;
}
@media (max-width: 900px) {
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stat:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }
  .stat:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
}
@media (max-width: 420px) {
  .stat {
    padding: 32px 0 30px 18px;
  }
}

/* Team */
.team {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 48px 24px;
  margin-top: clamp(40px, 6vw, 72px);
}
.person__photo {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 3px;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(64, 98, 170, 0.45), rgba(64, 98, 170, 0) 70%),
    linear-gradient(180deg, var(--navy-lift), var(--deep));
}
.person__photo::before {
  content: attr(data-initials);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(238, 242, 248, 0.42);
  font-size: clamp(2.25rem, 4.6vw, 3.5rem);
  font-weight: 300;
  font-stretch: 122%;
  letter-spacing: 0.02em;
}
.person__photo:has(img)::before {
  content: none;
}
.person__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.06);
  mix-blend-mode: luminosity;
}
.person__name {
  margin-top: 22px;
  font-size: var(--step-1);
  font-weight: 560;
  font-stretch: 108%;
  letter-spacing: -0.012em;
  line-height: 1.25;
}
.person__role {
  margin-top: 2px;
  color: rgba(191, 209, 255, 0.86);
  font-size: 0.9375rem;
}
.person__bio {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}
@media (max-width: 980px) {
  .team {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .team {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .person {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    column-gap: 20px;
    align-content: start;
  }
  .person__photo {
    grid-row: 1 / span 3;
    align-self: start;
  }
  .person__name {
    margin-top: 0;
  }
  .person__bio {
    margin-top: 8px;
  }
}

/* Closing call to action */
.closing {
  position: relative;
  padding-block: clamp(112px, 15vw, 200px);
  overflow: hidden;
  text-align: center;
}
.closing__mark {
  position: relative;
  display: grid;
  place-items: center;
  margin-bottom: 44px;
}
.closing__mark img {
  position: relative;
  width: auto;
  height: 76px;
}
.closing__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.closing__inner .btn {
  margin-top: 40px;
}

/* ---------- Footer ---------- */
.footer {
  padding: 72px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9375rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
}
.footer__brand img {
  width: auto;
  height: 24px;
}
.footer__brand p {
  max-width: 30ch;
  margin-top: 20px;
}
.footer__heading {
  margin-bottom: 14px;
  color: var(--text);
  font-size: 0.9375rem;
  font-weight: 540;
}
.footer__list {
  display: grid;
  gap: 10px;
}
.footer__list a {
  transition: color 0.2s;
}
.footer__list a:hover {
  color: var(--text);
}
.footer__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 0.875rem;
}
@media (max-width: 760px) {
  .footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer__brand {
    grid-column: 1 / -1;
  }
}

/* ---------- Inner pages (apply, thanks, 404) ---------- */
.page {
  padding: calc(var(--nav-h) + clamp(64px, 9vw, 112px)) 0 var(--section);
}
.page__head {
  max-width: 760px;
}
.page__title {
  font-size: clamp(2.5rem, 6.4vw, 4.75rem);
  font-weight: 620;
  font-stretch: 116%;
  letter-spacing: -0.04em;
  line-height: 1;
  text-wrap: balance;
}
.page__lede {
  max-width: 46ch;
  margin-top: 22px;
  color: var(--muted);
  font-size: clamp(1.0625rem, 1.3vw, 1.1875rem);
}
.page--center {
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  text-align: center;
}
.page--center .page__lede {
  margin-inline: auto;
}
.page--center .btn {
  margin-top: 36px;
}
.page__star {
  width: auto;
  height: 64px;
  margin: 0 auto 36px;
}

/* ---------- Application form ---------- */
.apply-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(0, 1fr);
  column-gap: clamp(48px, 7vw, 104px);
  align-items: start;
}
.process {
  position: sticky;
  top: calc(var(--nav-h) + 40px);
  margin-top: clamp(48px, 7vw, 80px);
  max-width: 340px;
}
.process__title {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  font-size: var(--step-1);
  font-weight: 560;
  font-stretch: 110%;
  letter-spacing: -0.01em;
}
.process__step {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.process__num {
  color: var(--faint);
  font-size: 0.9375rem;
}
.process__name {
  font-size: 1rem;
  font-weight: 540;
}
.process__text {
  grid-column: 2;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.5;
}
@media (max-width: 1080px) {
  .apply-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .process {
    position: static;
    max-width: 760px;
    margin-top: 72px;
  }
}
.form {
  max-width: 760px;
  margin-top: clamp(48px, 7vw, 80px);
}
.form__group {
  margin: 0 0 56px;
  padding: 0;
  border: 0;
}
.form__legend {
  width: 100%;
  margin-bottom: 26px;
  padding: 0 0 14px;
  border-bottom: 1px solid var(--line);
  font-size: var(--step-1);
  font-weight: 560;
  font-stretch: 110%;
  letter-spacing: -0.01em;
}
.fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 20px;
}
.field--full {
  grid-column: 1 / -1;
}
.field--group {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.field--group > legend {
  padding: 0;
}
.field__label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9375rem;
  font-weight: 520;
}
.field__label .optional {
  color: var(--faint);
  font-weight: 400;
}
.field__hint {
  display: block;
  margin: -2px 0 10px;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.5;
}
.input,
.select,
.textarea {
  display: block;
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--deep);
  color: var(--text);
  font-size: 1rem;
  line-height: 1.4;
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    background-color 0.2s;
}
.input::placeholder,
.textarea::placeholder {
  color: var(--faint);
}
.input:hover,
.select:hover,
.textarea:hover {
  border-color: rgba(176, 196, 232, 0.4);
}
.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: rgba(191, 209, 255, 0.75);
  box-shadow: 0 0 0 4px rgba(191, 209, 255, 0.12);
}
.textarea {
  min-height: 148px;
  line-height: 1.55;
  resize: vertical;
}
.select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%238F9BB3' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}
.select:invalid {
  color: var(--faint);
}
.select option {
  background: var(--deep);
  color: var(--text);
}
.field.is-invalid .input,
.field.is-invalid .select,
.field.is-invalid .textarea {
  border-color: rgba(244, 163, 156, 0.7);
}
.field__error {
  margin-top: 8px;
  color: var(--error);
  font-size: 0.875rem;
}
.choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.choice {
  position: relative;
  display: block;
  padding: 18px 18px 18px 52px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--deep);
  cursor: pointer;
  transition:
    border-color 0.2s,
    background-color 0.2s,
    opacity 0.2s;
}
.choice:hover {
  border-color: rgba(176, 196, 232, 0.42);
}
.choice input {
  position: absolute;
  top: 21px;
  left: 18px;
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--text);
  cursor: pointer;
}
.choice__title {
  display: block;
  font-weight: 540;
  line-height: 1.35;
}
.choice__text {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.5;
}
.choice:has(input:checked) {
  border-color: rgba(191, 209, 255, 0.75);
  background: #0e1b33;
}
.choice:has(input:disabled) {
  opacity: 0.45;
  cursor: not-allowed;
}
.choice:has(input:focus-visible) {
  outline: 2px solid var(--glow);
  outline-offset: 2px;
}
.field.is-invalid .choice {
  border-color: rgba(244, 163, 156, 0.45);
}
.form__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
}
.form__note {
  color: var(--muted);
  font-size: 0.9375rem;
}
.form__status {
  margin-bottom: 24px;
  padding: 14px 16px;
  border: 1px solid rgba(244, 163, 156, 0.4);
  border-radius: 10px;
  background: rgba(244, 163, 156, 0.06);
  color: var(--error);
  font-size: 0.9375rem;
}
.form__status a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.form__trap {
  position: absolute;
  left: -9999px;
}
.success {
  max-width: 560px;
  margin-top: clamp(48px, 7vw, 80px);
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.success:focus {
  outline: none;
}
.success img {
  width: auto;
  height: 44px;
  margin-bottom: 28px;
}
.success h2 {
  font-size: var(--step-3);
  font-weight: 560;
  font-stretch: 112%;
  letter-spacing: -0.02em;
}
.success p {
  margin-top: 12px;
  color: var(--muted);
}
.success .btn {
  margin-top: 32px;
}
@media (max-width: 640px) {
  .fields,
  .choices {
    grid-template-columns: 1fr;
  }
  .form__actions .btn {
    width: 100%;
  }
}
