.compass-section {
  overflow: hidden;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background:
    radial-gradient(circle at 85% 12%, rgba(215, 172, 79, 0.13), transparent 27%),
    linear-gradient(145deg, #0d0d0c, #080808 68%);
}

.compass-intro {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: end;
  gap: clamp(45px, 8vw, 105px);
  margin-bottom: 54px;
}

.compass-intro h2 {
  max-width: 13ch;
  margin-bottom: 0;
}

.compass-intro .lead {
  margin-bottom: 20px;
}

.compass-promises {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  color: #c9c3b8;
  font-size: 0.78rem;
  font-weight: 700;
}

.compass-promises span::first-letter {
  color: var(--gold-light);
}

.compass {
  overflow: hidden;
  border: 1px solid rgba(242, 215, 131, 0.3);
  border-radius: 22px;
  background: var(--paper);
  color: #191814;
  box-shadow: 0 38px 100px rgba(0, 0, 0, 0.38);
}

.compass [hidden] {
  display: none !important;
}

.compass__top {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 17px clamp(22px, 4vw, 38px);
  background: #11110f;
  color: var(--paper);
}

.compass__top div,
.compass__top span,
.compass__top strong {
  display: block;
}

.compass__top span {
  margin-bottom: 3px;
  color: var(--gold-light);
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.compass__top strong {
  font-family: var(--serif);
  font-size: 1.04rem;
  font-weight: 400;
}

.compass__reset,
.compass__back {
  min-height: 44px;
  padding: 8px 2px;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-weight: 700;
}

.compass__reset {
  color: #c9c3b8;
  font-size: 0.75rem;
  text-decoration: underline;
  text-decoration-color: rgba(242, 215, 131, 0.42);
  text-underline-offset: 5px;
}

.compass__progress {
  height: 5px;
  overflow: hidden;
  background: #27251f;
}

.compass__progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
  box-shadow: 0 0 20px rgba(242, 215, 131, 0.38);
  transition: width 0.35s ease;
}

.compass__body {
  display: grid;
  grid-template-columns: 285px minmax(0, 1fr);
  min-height: 610px;
}

.compass__aside {
  padding: 39px 30px;
  background:
    radial-gradient(circle at 10% 90%, rgba(215, 172, 79, 0.13), transparent 35%),
    #171612;
  color: #d8d2c8;
}

.compass__duration {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-light);
  font-size: 0.69rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.compass__duration::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-light);
  content: "";
  box-shadow: 0 0 0 5px rgba(242, 215, 131, 0.09);
}

.compass__roadmap {
  display: grid;
  gap: 0;
  margin: 35px 0;
  padding: 0;
  list-style: none;
}

.compass__roadmap li {
  position: relative;
  display: grid;
  grid-template-columns: 38px 1fr;
  min-height: 58px;
  align-items: start;
  color: #a19c93;
  font-size: 0.78rem;
  transition: color 0.2s ease;
}

.compass__roadmap li::after {
  position: absolute;
  top: 28px;
  bottom: 0;
  left: 13px;
  width: 1px;
  background: rgba(255, 255, 255, 0.11);
  content: "";
}

.compass__roadmap li:last-child::after {
  display: none;
}

.compass__roadmap b {
  position: relative;
  z-index: 1;
  display: grid;
  width: 27px;
  height: 27px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: #171612;
  font-size: 0.62rem;
  place-items: center;
}

.compass__roadmap span {
  padding-top: 3px;
}

.compass__roadmap li.is-active {
  color: var(--gold-light);
  font-weight: 750;
}

.compass__roadmap li.is-active b {
  border-color: var(--gold-light);
  box-shadow: 0 0 0 5px rgba(242, 215, 131, 0.08);
}

.compass__roadmap li.is-done {
  color: #c3bdb2;
}

.compass__roadmap li.is-done b {
  border-color: var(--gold-dark);
  background: var(--gold-dark);
  color: #0e0d0a;
}

.compass__privacy {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  margin: 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #aaa49a;
  font-size: 0.69rem;
}

.compass__privacy svg {
  width: 20px;
  height: 20px;
  color: var(--gold-light);
}

.compass__main {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: clamp(34px, 5vw, 62px);
}

.compass__view {
  min-width: 0;
  flex: 1;
  outline: none;
}

.compass__status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.compass__view.is-changing {
  animation: compass-view-in 0.28s ease both;
}

@keyframes compass-view-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.compass__loading {
  color: #6c675e;
}

.compass-question {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.compass-question legend {
  max-width: 16ch;
  margin-bottom: 16px;
  padding: 0;
  color: #171612;
  font-family: var(--serif);
  font-size: clamp(2.15rem, 4.3vw, 3.7rem);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.035em;
  overflow-wrap: anywhere;
}

.compass-question__hint {
  max-width: 650px;
  margin-bottom: 30px;
  color: #666158;
}

.compass-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.compass-option {
  position: relative;
  min-width: 0;
  cursor: pointer;
}

.compass-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.compass-option__content {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 24px;
  min-height: 108px;
  align-items: center;
  gap: 13px;
  padding: 18px;
  border: 1px solid rgba(36, 32, 25, 0.16);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.48);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.compass-option:hover .compass-option__content {
  border-color: rgba(142, 104, 36, 0.52);
  background: white;
  transform: translateY(-2px);
}

.compass-option input:focus-visible + .compass-option__content {
  outline: 2px solid #9a701f;
  outline-offset: 3px;
}

.compass-option input:checked + .compass-option__content {
  border-color: #a57822;
  background: #fffdf7;
  box-shadow: 0 11px 27px rgba(63, 46, 13, 0.1);
}

.compass-option__code {
  display: grid;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(154, 111, 30, 0.28);
  border-radius: 50%;
  color: #94691b;
  font-family: var(--serif);
  font-size: 0.85rem;
  place-items: center;
}

.compass-option__copy,
.compass-option__copy strong,
.compass-option__copy small {
  display: block;
  min-width: 0;
}

.compass-option__copy strong {
  margin-bottom: 4px;
  color: #25221d;
  font-size: 0.93rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.compass-option__copy small {
  color: #777168;
  font-size: 0.71rem;
  line-height: 1.45;
}

.compass-option__check {
  display: grid;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(36, 32, 25, 0.24);
  border-radius: 50%;
  color: transparent;
  font-size: 0.72rem;
  place-items: center;
}

.compass-option input:checked + .compass-option__content .compass-option__check {
  border-color: #a57822;
  background: #a57822;
  color: white;
}

.compass__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 35px;
  padding-top: 24px;
  border-top: 1px solid rgba(36, 32, 25, 0.13);
}

.compass__back {
  color: #5f5a51;
  font-size: 0.79rem;
}

.compass__back:hover,
.compass__reset:hover {
  color: var(--gold-dark);
}

.compass__next {
  min-width: 220px;
}

.compass__next:disabled {
  cursor: not-allowed;
  filter: grayscale(0.5);
  opacity: 0.48;
  box-shadow: none;
}

.compass-result__eyebrow {
  display: inline-flex;
  margin-bottom: 17px;
  padding: 7px 12px;
  border: 1px solid rgba(154, 111, 30, 0.28);
  border-radius: 999px;
  background: rgba(215, 172, 79, 0.09);
  color: #895f16;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.compass-result h3 {
  max-width: 17ch;
  margin-bottom: 17px;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.7rem);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.compass-result__lead {
  max-width: 680px;
  color: #625e55;
}

.compass-result__summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  margin: 28px 0;
  border: 1px solid rgba(36, 32, 25, 0.13);
  border-radius: 12px;
  background: rgba(36, 32, 25, 0.11);
}

.compass-result__summary div {
  padding: 17px;
  background: #fffdf8;
}

.compass-result__summary span,
.compass-result__summary strong {
  display: block;
}

.compass-result__summary span {
  margin-bottom: 5px;
  color: #6e685f;
  font-size: 0.64rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.compass-result__summary strong {
  color: #2b2823;
  font-size: 0.83rem;
  line-height: 1.4;
}

.compass-result__next {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  margin-bottom: 27px;
  padding: 21px;
  border-left: 3px solid #a57822;
  border-radius: 0 12px 12px 0;
  background: rgba(215, 172, 79, 0.09);
}

.compass-result__next b {
  display: grid;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #15130f;
  color: var(--gold-light);
  font-family: var(--serif);
  place-items: center;
}

.compass-result__next strong,
.compass-result__next span {
  display: block;
}

.compass-result__next strong {
  margin-bottom: 3px;
  color: #28251f;
}

.compass-result__next span {
  color: #6d675d;
  font-size: 0.82rem;
}

.compass-result__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 13px;
}

.compass-result__call {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  color: #725019;
  font-size: 0.78rem;
  font-weight: 750;
}

.compass-result__call svg {
  width: 19px;
  height: 19px;
}

.compass-result__disclaimer {
  margin: 20px 0 0;
  color: #6d675e;
  font-size: 0.68rem;
}

.compass-noscript {
  margin-top: 20px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--paper-muted);
}

.compass-noscript p {
  margin: 4px 0 0;
}

.compass-noscript a {
  color: var(--gold-light);
  text-decoration: underline;
}

@media (max-width: 980px) {
  .compass-intro {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 24px;
  }

  .compass-intro h2 {
    max-width: 15ch;
  }

  .compass__body {
    grid-template-columns: 1fr;
  }

  .compass__aside {
    padding: 25px 28px;
  }

  .compass__roadmap {
    grid-template-columns: repeat(5, 1fr);
    margin: 25px 0 20px;
  }

  .compass__roadmap li {
    grid-template-columns: 30px 1fr;
    min-height: 0;
    padding-right: 8px;
  }

  .compass__roadmap li::after {
    top: 13px;
    right: 0;
    bottom: auto;
    left: 27px;
    width: calc(100% - 25px);
    height: 1px;
  }

  .compass__privacy {
    max-width: 620px;
  }
}

@media (max-width: 680px) {
  .compass-section {
    padding-top: 82px;
  }

  .compass-intro {
    margin-bottom: 34px;
  }

  .compass-intro h2 {
    font-size: clamp(2.45rem, 12vw, 3.7rem);
  }

  .compass {
    border-radius: 15px;
  }

  .compass__top {
    min-height: 72px;
    padding: 14px 18px;
  }

  .compass__top strong {
    font-size: 0.94rem;
  }

  .compass__aside {
    padding: 20px 18px;
  }

  .compass__roadmap {
    display: none;
  }

  .compass__privacy {
    margin-top: 17px;
    padding-top: 17px;
  }

  .compass__main {
    padding: 29px 18px 22px;
  }

  .compass-question legend {
    font-size: clamp(2rem, 10vw, 2.8rem);
  }

  .compass-question__hint {
    margin-bottom: 23px;
    font-size: 0.9rem;
  }

  .compass-options {
    grid-template-columns: 1fr;
  }

  .compass-option__content {
    min-height: 94px;
    padding: 15px;
  }

  .compass__controls {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .compass__next {
    width: 100%;
    min-width: 0;
  }

  .compass__back {
    width: 100%;
  }

  .compass-result__summary {
    grid-template-columns: 1fr;
  }

  .compass-result__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .compass-result__actions .btn,
  .compass-result__call {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .compass__progress span {
    transition: none;
  }

  .compass__view.is-changing {
    animation: none;
  }
}
