:root {
  --ocean: #0b3b46;
  --ocean-deep: #062731;
  --teal: #12757c;
  --teal-soft: #e7f1ef;
  --sand: #e9c98d;
  --amber: #d99b3f;
  --coral: #ec5d4c;
  --coral-deep: #d34c3d;
  --ink: #14262c;
  --muted: #5d6f73;
  --paper: #f5f7f5;
  --card: #ffffff;
  --line: #dce5e2;
  --white: #ffffff;
  --shadow: 0 12px 28px rgba(11, 59, 70, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.45;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.has-sticky {
  padding-bottom: 76px;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  letter-spacing: 0;
}

svg {
  display: block;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding-left: 18px;
  padding-right: 18px;
}

.trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 34px;
  padding: 7px 14px;
  background: var(--ink);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.trust-bar i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--amber);
  flex: 0 0 auto;
}

.trust-bar span {
  white-space: nowrap;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 10px 18px;
  padding-top: calc(10px + env(safe-area-inset-top));
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.topbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1 1 auto;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  color: var(--white);
  background: var(--ocean);
  border-radius: 8px;
}

.brand-mark svg {
  width: 18px;
  height: 18px;
}

.brand-name {
  font-family: "Archivo", "Inter", sans-serif;
  font-size: 18px;
  font-weight: 900;
  color: var(--ocean);
  white-space: nowrap;
}

.brand-name em {
  font-style: normal;
  color: var(--coral);
}

.official-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ocean);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  flex: 0 0 auto;
}

.official-link svg {
  width: 15px;
  height: 15px;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 3px;
  flex: 0 0 auto;
  padding: 3px;
  background: #e5eeec;
  border-radius: 8px;
}

.lang-btn {
  min-width: 38px;
  height: 32px;
  padding: 0 9px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.lang-btn.is-active {
  background: var(--white);
  color: var(--ocean);
  box-shadow: 0 2px 8px rgba(11, 59, 70, 0.16);
}

@media (max-width: 459px) {
  .official-link {
    padding: 0 10px;
  }

  .official-link span {
    display: none;
  }
}

@media (max-width: 339px) {
  .brand-name {
    display: none;
  }

  .lang-btn {
    min-width: 34px;
    padding: 0 7px;
  }
}

.hero {
  position: relative;
  min-height: 92vh;
  min-height: 92svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 39, 49, 0.2) 0%, rgba(6, 39, 49, 0.48) 48%, rgba(6, 39, 49, 0.86) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 60px;
  padding-bottom: 46px;
}

.hero-eyebrow {
  margin-bottom: 12px;
  color: var(--sand);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 560px;
  margin-bottom: 14px;
  font-family: "Archivo", "Inter", sans-serif;
  font-size: 34px;
  line-height: 1.12;
  font-weight: 900;
}

.hero-sub {
  max-width: 460px;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 15px;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 13px 18px;
  border: 0;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.btn-primary {
  background: var(--coral);
  color: var(--white);
  box-shadow: 0 10px 22px rgba(236, 93, 76, 0.32);
}

.btn-primary:hover {
  background: var(--coral-deep);
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: transparent;
  color: var(--white);
}

.btn-lg {
  min-height: 56px;
  width: 100%;
  font-size: 16px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 28px;
}

.hero-stat {
  min-width: 0;
  padding-top: 12px;
  border-top: 2px solid rgba(233, 201, 141, 0.65);
}

.hero-stat strong {
  display: block;
  font-family: "Archivo", "Inter", sans-serif;
  font-size: 18px;
  font-weight: 900;
}

.hero-stat span {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 10.5px;
  line-height: 1.35;
}

.quiz-section {
  padding: 30px 0 92px;
  background: var(--teal-soft);
  scroll-margin-top: 76px;
}

.quiz-shell {
  max-width: 620px;
}

.quiz-head {
  margin-bottom: 18px;
}

.quiz-progress-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.quiz-step {
  font-size: 13px;
  font-weight: 800;
  color: var(--ocean);
}

.quiz-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}

.progress-track {
  height: 6px;
  border-radius: 6px;
  background: #d3e2de;
  overflow: hidden;
}

.progress-fill {
  display: block;
  width: 20%;
  height: 100%;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--coral), var(--amber));
  transition: width 0.35s ease;
}

.quiz-body {
  scroll-margin-top: 84px;
}

.question-title {
  margin-bottom: 8px;
  font-family: "Archivo", "Inter", sans-serif;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 900;
  color: var(--ocean);
}

.question-hint {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 14px;
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.option-card {
  position: relative;
  min-height: 128px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  background: var(--ocean);
  color: var(--white);
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.option-card:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
}

.option-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.option-card:active img {
  transform: scale(1.04);
}

.option-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 39, 49, 0.1) 35%, rgba(6, 39, 49, 0.82) 100%);
}

.option-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px;
}

.option-label {
  display: block;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
}

.option-sub {
  display: block;
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 11.5px;
  line-height: 1.35;
}

.option-check {
  position: absolute;
  top: 10px;
  right: 10px;
  display: none;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 3px 10px rgba(6, 39, 49, 0.35);
}

.option-check svg {
  width: 14px;
  height: 14px;
}

.option-card.is-selected {
  border-color: var(--coral);
  box-shadow: 0 8px 20px rgba(236, 93, 76, 0.28);
}

.option-card.is-selected .option-check {
  display: flex;
}

.quiz-nav {
  margin-top: 18px;
}

.quiz-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 10px;
  border: 0;
  background: transparent;
  color: var(--ocean);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.quiz-back svg {
  width: 17px;
  height: 17px;
}

.match-anim {
  padding: 66px 18px 76px;
  background: var(--ocean-deep);
  color: var(--white);
  text-align: center;
}

.match-anim-inner {
  max-width: 480px;
}

.route-orbit {
  width: 220px;
  margin: 0 auto 22px;
  color: var(--sand);
}

.route-orbit svg {
  width: 100%;
  height: auto;
}

.route-plane {
  transform-box: fill-box;
  transform-origin: center;
  animation: planeFly 1.1s ease-in-out infinite alternate;
}

.match-kicker {
  margin-bottom: 8px;
  color: var(--sand);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.match-anim h2 {
  margin-bottom: 0;
  font-family: "Archivo", "Inter", sans-serif;
  font-size: 26px;
  font-weight: 900;
}

@keyframes planeFly {
  from {
    opacity: 0.45;
    transform: translate(-8px, 5px);
  }
  to {
    opacity: 1;
    transform: translate(8px, -5px);
  }
}

.result-hero {
  position: relative;
  min-height: 250px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background-color: var(--ocean-deep);
  background-size: cover;
  background-position: center;
  color: var(--white);
}

.result-hero-inner {
  position: relative;
  z-index: 1;
  padding-top: 54px;
  padding-bottom: 26px;
}

.result-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  margin-bottom: 12px;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--sand);
  color: var(--ocean-deep);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.result-kicker {
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.result-hero h2 {
  margin-bottom: 8px;
  font-family: "Archivo", "Inter", sans-serif;
  font-size: 28px;
  line-height: 1.15;
  font-weight: 900;
}

.result-meta {
  margin-bottom: 10px;
  color: var(--sand);
  font-size: 13px;
  font-weight: 700;
}

.result-blurb {
  max-width: 560px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  line-height: 1.5;
}

.result-body {
  max-width: 900px;
  padding-top: 22px;
  padding-bottom: 58px;
}

.result-panel {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.result-price-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.result-price-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.result-price-row strong {
  font-family: "Archivo", "Inter", sans-serif;
  font-size: 26px;
  line-height: 1;
  font-weight: 900;
  color: var(--ocean);
}

.result-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.tag-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 6px;
  background: var(--teal-soft);
  color: var(--ocean);
  font-size: 12px;
  font-weight: 800;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  color: var(--ocean);
  font-size: 14px;
  font-weight: 800;
}

.text-link svg {
  width: 16px;
  height: 16px;
}

.hold-chip {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 14px;
  padding: 11px 12px;
  border: 1px solid #ecd9ad;
  border-radius: 8px;
  background: #fdf4e3;
  color: #7a5a1f;
  font-size: 13px;
  font-weight: 800;
}

.hold-chip.is-ready {
  border-color: #bfdcd6;
  background: var(--teal-soft);
  color: var(--ocean);
}

.hold-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
  flex: 0 0 auto;
  animation: pulse 1.2s ease-in-out infinite;
}

.hold-chip.is-ready .hold-dot {
  background: var(--teal);
  animation: none;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.45;
    transform: scale(0.85);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}

.retake-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  margin-top: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.retake-btn svg {
  width: 16px;
  height: 16px;
}

.alt-card {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  overflow: hidden;
}

.alt-media {
  min-height: 110px;
  background: var(--teal-soft);
}

.alt-media img {
  width: 100%;
  height: 100%;
  min-height: 110px;
  object-fit: cover;
}

.alt-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 14px;
}

.alt-label {
  margin-bottom: 5px;
  color: var(--coral);
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
}

.alt-copy h3 {
  margin-bottom: 3px;
  font-family: "Archivo", "Inter", sans-serif;
  font-size: 16px;
  font-weight: 900;
  color: var(--ocean);
}

.alt-copy p {
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 12.5px;
}

.proof-section {
  padding: 28px 0;
  background: var(--ocean-deep);
  color: var(--white);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 14px;
}

.proof-item {
  text-align: center;
}

.proof-item strong {
  display: block;
  margin-bottom: 3px;
  font-family: "Archivo", "Inter", sans-serif;
  font-size: 26px;
  font-weight: 900;
  color: var(--sand);
}

.proof-item span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
}

.why-section {
  padding: 46px 0 52px;
  background: var(--paper);
}

.section-head {
  max-width: 620px;
  margin-bottom: 22px;
}

.section-label {
  margin-bottom: 8px;
  color: var(--coral);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.section-label-light {
  color: var(--sand);
}

.section-head h2,
.final-inner h2 {
  margin-bottom: 0;
  font-family: "Archivo", "Inter", sans-serif;
  font-size: 26px;
  line-height: 1.18;
  font-weight: 900;
  color: var(--ocean);
}

.why-grid {
  display: grid;
  gap: 14px;
}

.why-item {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
}

.why-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 12px;
  border-radius: 8px;
  background: var(--teal-soft);
  color: var(--ocean);
}

.why-icon svg {
  width: 21px;
  height: 21px;
}

.why-item h3 {
  margin-bottom: 6px;
  font-family: "Archivo", "Inter", sans-serif;
  font-size: 17px;
  font-weight: 900;
  color: var(--ocean);
}

.why-item p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.5;
}

.final-handoff {
  padding: 48px 0 54px;
  background: linear-gradient(135deg, var(--ocean-deep), var(--teal));
  color: var(--white);
}

.final-inner {
  max-width: 620px;
  text-align: center;
}

.final-inner h2 {
  color: var(--white);
  font-size: 28px;
}

.final-inner > p {
  margin: 12px auto 22px;
  max-width: 460px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
}

.handoff-actions {
  display: grid;
  gap: 10px;
}

.site-footer {
  padding: 24px 0;
  padding-bottom: calc(24px + env(safe-area-inset-bottom));
  background: #061f26;
  color: rgba(255, 255, 255, 0.72);
}

.footer-inner {
  text-align: center;
}

.footer-brand {
  display: block;
  margin-bottom: 6px;
  font-family: "Archivo", "Inter", sans-serif;
  font-size: 18px;
  font-weight: 900;
  color: var(--white);
}

.footer-brand em {
  font-style: normal;
  color: var(--sand);
}

.footer-inner p {
  max-width: 520px;
  margin: 0 auto;
  font-size: 12px;
  line-height: 1.5;
}

.sticky-cta {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(10px + env(safe-area-inset-bottom));
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 14px 16px;
  border-radius: 8px;
  background: var(--coral);
  color: var(--white);
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 10px 26px rgba(6, 39, 49, 0.34);
}

.sticky-cta svg {
  width: 18px;
  height: 18px;
}

.sticky-cta[hidden] {
  display: none;
}

@media (min-width: 640px) {
  .hero {
    min-height: 600px;
  }

  .hero h1 {
    font-size: 44px;
  }

  .hero-sub {
    font-size: 17px;
  }

  .hero-stat strong {
    font-size: 21px;
  }

  .hero-stat span {
    font-size: 12px;
  }

  .quiz-section {
    padding-top: 44px;
  }

  .option-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .option-card {
    min-height: 150px;
  }

  .result-hero {
    min-height: 300px;
  }

  .result-hero h2 {
    font-size: 36px;
  }

  .result-body {
    padding-top: 26px;
  }

  .proof-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .why-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .handoff-actions {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    max-width: 480px;
    margin: 0 auto;
  }
}

@media (min-width: 760px) {
  .result-body {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    align-items: start;
    gap: 16px;
  }

  .alt-card {
    margin-top: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
