:root {
  --gold: #f3c14e;
  --gold-bright: #fbc441;
  --navy: #151b49;
  --night: #050403;
  --cream: #f7f2e9;
  --ink: #060606;
  --muted: #5b5f7a;
  --line: #dccfb6;
  --label: #a6620d;
  --font-display: Oswald, "Arial Narrow", sans-serif;
  --font-sans: Montserrat, "Helvetica Neue", Arial, sans-serif;
}

body {
  margin: 0;
  background: #ffffff;
  font-family: Montserrat, "Helvetica Neue", Arial, sans-serif;
  color: #151b49;
}
a { color: #151b49; }
a:hover { color: #060606; }
a:focus-visible,
summary:focus-visible,
button:focus-visible {
  outline: 2px solid #f3c14e;
  outline-offset: 2px;
}
summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
details[open] .faq-plus { transform: rotate(45deg); }
input[type="range"] { accent-color: #f3c14e; }

.hero-title { white-space: nowrap; }
[hidden] { display: none !important; }
button[data-open-apply] {
  border: 0;
  cursor: pointer;
  background: transparent;
  font-family: inherit;
}

.tl-step { position: relative; padding-bottom: 20px; }
.tl-step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 42px;
  bottom: -2px;
  border-left: 2px dashed #e8a847;
}
.tl-step[open]:not(:last-child)::before { border-left: 2px solid #050403; }
.tl-dot {
  flex: none;
  width: 32px;
  height: 32px;
  margin-top: 6px;
  border-radius: 9999px;
  border: 2px solid #e8a847;
  background: #ffffff;
  color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}
.tl-step[open] .tl-dot { background: #050403; border-color: #050403; color: #f3c14e; }
.tl-step summary:hover .tl-dot { border-color: #a6620d; }

.q-row {
  position: relative;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #dccfb6;
  padding: 26px 0 26px 4px;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 28px;
  font: inherit;
  color: inherit;
  transition: padding 0.25s;
}
.q-row:first-child { border-top: 1px solid #dccfb6; }
.q-row::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: 0;
  background: #050403;
  transition: width 0.35s;
}
.q-n {
  flex: none;
  width: 28px;
  padding-top: 9px;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: #6b6457;
}
.q-t {
  font-family: Oswald, "Arial Narrow", sans-serif;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.1;
  color: #7a7365;
  transition: color 0.2s;
}
.q-d {
  display: none;
  font-size: 16px;
  line-height: 1.6;
  color: #151b49;
  max-width: 420px;
}
.q-row:hover .q-t { color: #060606; }
.q-row.is-active { padding-left: 16px; }
.q-row.is-active::after { width: 100%; }
.q-row.is-active .q-n { color: #8a520b; font-weight: 700; }
.q-row.is-active .q-t { color: #060606; font-weight: 600; }
.q-row.is-active .q-d { display: block; }

.p-dot {
  display: block;
  height: 6px;
  border-radius: 9999px;
  width: 6px;
  background: #3a3127;
  transition: width 0.3s;
}
.p-dot.is-on { width: 22px; background: #f3c14e; }

.m-apply { display: none; }
@media (max-width: 640px) {
  .m-apply { display: flex; }
  .hide-sm { display: none; }
}
@media (max-width: 980px) {
  .hero-title {
    font-size: 46px !important;
    white-space: normal !important;
  }
}

body.modal-open { overflow: hidden; }
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.apply-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(5, 4, 3, 0.72);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 28px 16px;
  overflow: auto;
}
.apply-modal[hidden] { display: none; }
.apply-modal, .apply-modal * { box-sizing: border-box; }
.apply-card {
  width: min(760px, 100%);
  margin: auto;
  background: #fff;
  color: #151b49;
  border-radius: 20px;
  padding: 28px 28px 22px;
  position: relative;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}
.apply-card h2 {
  margin: 4px 0 8px;
  font-family: Oswald, "Arial Narrow", sans-serif;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 0.95;
  color: #060606;
}
.apply-lead { margin: 0 0 16px; color: #5b5f7a; }
.kicker {
  letter-spacing: 0.28em;
  font-size: 13px;
  font-weight: 700;
  color: #8a520b;
}
.apply-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: #050403;
  color: #f3c14e;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
.apply-progress {
  height: 4px;
  background: #efe6d4;
  border-radius: 999px;
  margin: 4px 0 28px;
  overflow: hidden;
}
.apply-progress span {
  display: block;
  height: 100%;
  width: 33%;
  background: #f3c14e;
}
.apply-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.apply-field { margin: 0 0 16px; border: 0; padding: 0; min-width: 0; }
.apply-field legend,
.apply-field label {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #a6620d;
}
.apply-field input[type="text"],
.apply-field input[type="tel"],
.apply-field input[type="email"],
.apply-field textarea {
  width: 100%;
  max-width: 100%;
  border: 1px solid #e6dccb;
  border-radius: 12px;
  min-height: 52px;
  padding: 12px 14px;
  font: inherit;
  color: #060606;
  background: #fff;
  outline: none;
}
.apply-field input:focus,
.apply-field textarea:focus {
  border-color: #050403;
  outline: none;
}
.apply-field textarea { min-height: 96px; resize: vertical; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice-grid-3 { grid-template-columns: repeat(3, 1fr); }
.choice {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #dccfb6;
  border-radius: 12px;
  padding: 12px 14px;
  cursor: pointer;
  background: #fff;
  min-height: 58px;
}
.choice input { accent-color: #a6731c; width: 18px; height: 18px; flex: 0 0 auto; }
.choice span { display: flex; flex-direction: column; line-height: 1.2; }
.choice b { font-family: Oswald, "Arial Narrow", sans-serif; font-size: 18px; color: #060606; }
.choice small { color: #5b5f7a; }
.choice:has(input:checked) {
  border-color: #060606;
  background: #fff8e8;
  box-shadow: inset 0 0 0 1px #060606;
}
.apply-nav { display: flex; justify-content: flex-end; gap: 10px; margin-top: 8px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 4px;
  text-decoration: none;
  font-family: Oswald, "Arial Narrow", sans-serif;
  font-weight: 600;
  letter-spacing: 0.06em;
  border: 0;
  cursor: pointer;
}
.btn-dark { background: #050403; color: #f3c14e; border-radius: 999px; }
.btn-gold { background: #f3c14e; color: #060606; }
.btn-ghost { background: transparent; color: #060606; border: 1px solid #dccfb6; }
.form-submit-status { margin: 12px 0 0; font-weight: 600; }
.form-status--error { color: #9b1c1c; }
.form-status--ok { color: #1d6b3a; }
.atlas-success-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(5, 4, 3, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.atlas-success-modal__card {
  width: min(480px, 100%);
  background: #fff;
  border-radius: 20px;
  padding: 28px;
}
.atlas-success-modal__message { margin: 0 0 18px; color: #151b49; }
.atlas-success-modal__ok {
  background: #050403;
  color: #f3c14e;
  border: 0;
  border-radius: 999px;
  min-height: 44px;
  padding: 0 22px;
  font-family: Oswald, "Arial Narrow", sans-serif;
  letter-spacing: 0.06em;
  cursor: pointer;
}

@media (max-width: 860px) {
  .apply-grid,
  .choice-grid,
  .choice-grid-3 { grid-template-columns: 1fr; }
}
