:root {
  --navy: #08243d;
  --navy-deep: #041725;
  --blue: #0f5d78;
  --sea: #5fb3b6;
  --foam: #d9ece8;
  --sand: #f3e8d2;
  --sun: #e5b968;
  --paper: #f8f6f0;
  --ink: #10283b;
  --muted: #60717d;
  --line: rgba(8, 36, 61, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
a {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 4px;
}

.topbar {
  align-items: center;
  background: rgba(248, 246, 240, 0.92);
  border-bottom: 1px solid var(--line);
  display: flex;
  height: 78px;
  justify-content: space-between;
  padding: 0 clamp(22px, 5vw, 80px);
  position: relative;
  z-index: 20;
}

.brand,
.footer-brand {
  align-items: center;
  color: var(--navy);
  display: flex;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  align-items: center;
  background: white;
  border: 1px solid rgba(8, 36, 61, 0.12);
  border-radius: 999px;
  display: inline-flex;
  height: 48px;
  justify-content: center;
  overflow: hidden;
  width: 48px;
}

.brand-mark img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.brand strong,
.footer-brand strong {
  display: block;
  font-size: 0.93rem;
  letter-spacing: 0.12em;
}

.brand small,
.footer-brand small {
  color: var(--muted);
  display: block;
  font-size: 0.67rem;
  letter-spacing: 0.08em;
  margin-top: 3px;
  text-transform: uppercase;
}

.instagram-link,
.top-links a {
  color: var(--navy);
  font-size: 0.83rem;
  font-weight: 700;
  text-decoration: none;
}

.instagram-link span,
.top-links span {
  color: var(--sea);
  margin-left: 5px;
}

.top-links {
  align-items: center;
  display: flex;
  gap: clamp(16px, 2.5vw, 34px);
}

.top-links a:hover {
  color: var(--blue);
}

.hero {
  height: min(760px, calc(100svh - 78px));
  min-height: 620px;
  overflow: hidden;
  position: relative;
}

.hero-picture,
.hero-picture img,
.hero-overlay {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.hero-picture img {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(2, 19, 32, 0.88) 0%, rgba(3, 24, 39, 0.64) 44%, rgba(2, 24, 39, 0.08) 76%),
    linear-gradient(0deg, rgba(4, 23, 37, 0.42) 0%, transparent 35%);
}

.hero-content {
  color: white;
  left: clamp(24px, 8vw, 120px);
  max-width: 720px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
}

.location-pill {
  align-items: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.7rem;
  font-weight: 700;
  gap: 9px;
  letter-spacing: 0.13em;
  padding: 10px 14px;
  text-transform: uppercase;
}

.location-pill i {
  background: #85d3bf;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(133, 211, 191, 0.16);
  height: 7px;
  width: 7px;
}

.hero h1,
.matcher-intro h2,
.how-section h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.91;
  margin: 28px 0 24px;
}

.hero h1 {
  font-size: clamp(4rem, 7.3vw, 7.8rem);
}

.hero h1 em,
.matcher-intro h2 em,
.how-section h2 em {
  color: var(--sun);
  font-weight: 400;
}

.hero-content > p {
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 1.45vw, 1.25rem);
  line-height: 1.65;
  margin: 0 0 30px;
  max-width: 600px;
}

.primary-button {
  align-items: center;
  background: var(--navy);
  border: 0;
  border-radius: 999px;
  color: white;
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 800;
  gap: 18px;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease;
}

.primary-button:hover {
  background: #0f4964;
  transform: translateY(-2px);
}

.hero-button {
  background: white;
  color: var(--navy);
}

.hero-button:hover {
  background: var(--sand);
}

.hero-button span,
.result-cta span {
  color: var(--sea);
  font-size: 1.2rem;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 26px;
}

.hero-proof span {
  align-items: center;
  color: rgba(255, 255, 255, 0.78);
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 700;
  gap: 7px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.hero-proof span::before {
  color: #8ed4c3;
  content: "✓";
}

.hero-number {
  bottom: -45px;
  color: rgba(255, 255, 255, 0.08);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20rem;
  font-weight: 700;
  line-height: 1;
  position: absolute;
  right: -20px;
  z-index: 2;
}

.hero-number span {
  font-size: 3.2rem;
  letter-spacing: 0.22em;
}

.matcher-section {
  display: grid;
  gap: clamp(42px, 6vw, 90px);
  grid-template-columns: minmax(270px, 0.78fr) minmax(560px, 1.35fr);
  margin: 0 auto;
  max-width: 1440px;
  padding: 120px clamp(22px, 5vw, 80px);
  scroll-margin-top: 20px;
}

.section-label,
.question-kicker,
.result-eyebrow {
  color: var(--blue);
  display: block;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.matcher-intro h2,
.how-section h2 {
  color: var(--navy);
  font-size: clamp(3rem, 4.7vw, 5.5rem);
}

.matcher-intro > p {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.75;
  max-width: 500px;
}

.matcher-card {
  align-self: start;
  background: white;
  border: 1px solid rgba(8, 36, 61, 0.1);
  border-radius: 28px;
  box-shadow: 0 24px 80px rgba(8, 36, 61, 0.12);
  min-height: 610px;
  overflow: hidden;
  position: relative;
}

.matcher-progress {
  background: #e7eceb;
  height: 5px;
  inset: 0 0 auto 0;
  position: absolute;
}

.matcher-progress span {
  background: linear-gradient(90deg, var(--sea), var(--blue));
  display: block;
  height: 100%;
  transition: width 280ms ease;
}

.question-view {
  animation: reveal 300ms ease both;
  padding: clamp(30px, 5vw, 62px);
}

@keyframes reveal {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.question-meta {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 50px;
}

.question-meta > span {
  color: #8a969e;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.86rem;
  letter-spacing: 0.1em;
}

.question-meta button,
.result-actions button {
  background: transparent;
  border: 0;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 8px 0;
}

.question-meta button:disabled {
  opacity: 0;
  pointer-events: none;
}

.question-view h3 {
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3vw, 3.2rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.02;
  margin: 13px 0 12px;
}

.question-view > p:not(.privacy-note) {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

.choice-list {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
  margin-top: 36px;
}

.choice-list.three {
  grid-template-columns: 1fr;
}

.answer-card {
  align-items: center;
  background: #fbfaf7;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--navy);
  cursor: pointer;
  display: grid;
  gap: 14px;
  grid-template-columns: 34px 1fr 22px;
  min-height: 82px;
  padding: 14px 17px;
  text-align: left;
  transition: border 150ms ease, background 150ms ease, transform 150ms ease;
}

.answer-card:hover,
.answer-card.selected {
  background: #f0f8f6;
  border-color: var(--sea);
  transform: translateY(-2px);
}

.answer-index {
  align-items: center;
  background: white;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--blue);
  display: inline-flex;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.8rem;
  height: 32px;
  justify-content: center;
  width: 32px;
}

.answer-card strong,
.answer-card small {
  display: block;
}

.answer-card strong {
  font-size: 0.9rem;
  line-height: 1.25;
}

.answer-card small {
  color: var(--muted);
  font-size: 0.7rem;
  margin-top: 5px;
}

.answer-arrow {
  color: var(--sea);
  font-size: 1.1rem;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 150ms ease, transform 150ms ease;
}

.answer-card:hover .answer-arrow,
.answer-card.selected .answer-arrow {
  opacity: 1;
  transform: translateX(0);
}

.privacy-note {
  color: #87949b;
  font-size: 0.68rem;
  margin: 28px 0 0;
}

.privacy-note span {
  color: var(--sea);
  margin-right: 5px;
}

.result-mode {
  min-height: 760px;
}

.result-view {
  animation: reveal 360ms ease both;
  display: grid;
  grid-template-columns: minmax(250px, 0.85fr) minmax(360px, 1.15fr);
}

.result-image-wrap {
  min-height: 645px;
  overflow: hidden;
  position: relative;
}

.result-image-wrap::after {
  background: linear-gradient(0deg, rgba(4, 23, 37, 0.5), transparent 50%);
  content: "";
  inset: 0;
  position: absolute;
}

.result-image-wrap img {
  height: 100%;
  object-fit: cover;
  position: absolute;
  width: 100%;
}

.result-image-wrap > span {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  bottom: 24px;
  color: var(--navy);
  font-size: 0.62rem;
  font-weight: 800;
  left: 24px;
  letter-spacing: 0.14em;
  padding: 10px 13px;
  position: absolute;
  text-transform: uppercase;
  z-index: 2;
}

.result-content {
  padding: 48px 44px 36px;
}

.result-content h3 {
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.8rem, 6.3vw, 6.4rem);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.9;
  margin: 16px 0 20px;
}

.result-content h3 i {
  color: var(--sun);
  font-style: normal;
}

.result-statement {
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.16rem;
  line-height: 1.35;
  margin: 0 0 13px;
}

.result-description {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.65;
  margin: 0;
}

.reason-list {
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  gap: 10px;
  margin: 23px 0;
  padding: 18px 0;
}

.reason-list span {
  align-items: flex-start;
  color: #425767;
  display: flex;
  font-size: 0.74rem;
  gap: 9px;
  line-height: 1.4;
}

.reason-list i {
  color: var(--sea);
  font-style: normal;
  font-weight: 900;
}

.result-cta {
  padding-inline: 20px;
  width: 100%;
}

.partner-note {
  color: #87949b;
  font-size: 0.62rem;
  line-height: 1.45;
  margin: 10px 0 0;
  text-align: center;
}

.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 17px;
  justify-content: center;
  margin-top: 10px;
}

.result-actions button:hover {
  color: var(--blue);
}

.comparison {
  background: #f1f5f2;
  border-top: 1px solid var(--line);
  grid-column: 1 / -1;
  padding: 24px 32px 28px;
}

.comparison-label {
  color: var(--muted);
  display: block;
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.comparison-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr 1fr;
}

.comparison article {
  display: grid;
  gap: 9px;
}

.comparison article > div:first-child {
  align-items: baseline;
  display: flex;
  justify-content: space-between;
}

.comparison strong {
  color: var(--navy);
  font-size: 0.8rem;
}

.comparison article > div:first-child span {
  color: var(--muted);
  font-size: 0.62rem;
}

.score-track {
  background: #dce5e2;
  border-radius: 99px;
  height: 5px;
  overflow: hidden;
}

.score-track span {
  background: var(--sea);
  border-radius: 99px;
  display: block;
  height: 100%;
}

.how-section {
  align-items: start;
  background: var(--navy);
  color: white;
  display: grid;
  gap: clamp(50px, 8vw, 120px);
  grid-template-columns: minmax(300px, 0.9fr) minmax(420px, 1fr);
  padding: 110px clamp(22px, 8vw, 120px);
}

.section-label.light {
  color: #8ac9c9;
}

.how-section h2 {
  color: white;
  margin-bottom: 0;
}

.steps {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.steps article {
  align-items: flex-start;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  display: grid;
  gap: 28px;
  grid-template-columns: 54px 1fr;
  padding: 28px 0;
}

.steps article > span {
  color: var(--sea);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
}

.steps strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 8px;
}

.steps p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.83rem;
  line-height: 1.6;
  margin: 0;
}

footer {
  align-items: center;
  background: var(--navy-deep);
  color: white;
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr auto;
  padding: 42px clamp(22px, 5vw, 80px);
}

footer .brand-mark {
  height: 42px;
  width: 42px;
}

footer .footer-brand,
footer .footer-brand strong {
  color: white;
}

footer .footer-brand small {
  color: rgba(255, 255, 255, 0.55);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: flex-end;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.72rem;
  font-weight: 700;
  text-decoration: none;
}

footer > p {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.62rem;
  grid-column: 1 / -1;
  line-height: 1.55;
  margin: 0;
  max-width: 830px;
}

@media (max-width: 1050px) {
  .matcher-section {
    grid-template-columns: 1fr;
  }

  .matcher-intro {
    max-width: 720px;
  }

  .matcher-card {
    width: 100%;
  }

  .how-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .topbar {
    height: 68px;
    padding-inline: 18px;
  }

  .brand-mark {
    height: 42px;
    width: 42px;
  }

  .brand strong {
    font-size: 0.79rem;
  }

  .brand small {
    display: none;
  }

  .top-links {
    gap: 14px;
  }

  .top-links a {
    display: none;
    font-size: 0.72rem;
  }

  .top-links a:first-child,
  .top-links a:nth-child(3) {
    display: inline;
  }

  .hero {
    height: calc(100svh - 68px);
    min-height: 640px;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(3, 20, 34, 0.9) 0%, rgba(3, 22, 37, 0.56) 60%, rgba(3, 22, 37, 0.15) 100%),
      linear-gradient(90deg, rgba(3, 22, 37, 0.26), transparent);
  }

  .hero-content {
    bottom: 62px;
    left: 20px;
    max-width: calc(100% - 40px);
    top: auto;
    transform: none;
  }

  .location-pill {
    font-size: 0.57rem;
    letter-spacing: 0.1em;
    padding: 8px 10px;
  }

  .hero h1 {
    font-size: clamp(3.35rem, 16vw, 5.2rem);
    margin: 22px 0 18px;
  }

  .hero-content > p {
    font-size: 0.92rem;
    line-height: 1.55;
    margin-bottom: 23px;
  }

  .hero-proof {
    gap: 11px 16px;
    margin-top: 19px;
  }

  .hero-proof span {
    font-size: 0.59rem;
  }

  .hero-number {
    display: none;
  }

  .matcher-section {
    gap: 36px;
    padding: 82px 16px;
  }

  .matcher-intro {
    padding-inline: 8px;
  }

  .matcher-intro h2,
  .how-section h2 {
    font-size: clamp(2.9rem, 13vw, 4.2rem);
    margin-block: 20px;
  }

  .matcher-card {
    border-radius: 22px;
    min-height: 620px;
  }

  .question-view {
    padding: 32px 20px 26px;
  }

  .question-meta {
    margin-bottom: 38px;
  }

  .question-view h3 {
    font-size: 2.15rem;
  }

  .choice-list,
  .choice-list.three {
    grid-template-columns: 1fr;
    margin-top: 27px;
  }

  .answer-card {
    min-height: 74px;
  }

  .result-mode {
    min-height: unset;
  }

  .result-view {
    grid-template-columns: 1fr;
  }

  .result-image-wrap {
    min-height: 265px;
  }

  .result-content {
    padding: 34px 22px 27px;
  }

  .result-content h3 {
    font-size: 4.7rem;
  }

  .result-statement {
    font-size: 1.05rem;
  }

  .result-actions {
    gap: 11px 17px;
  }

  .comparison {
    padding: 24px 22px 28px;
  }

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

  .how-section {
    padding: 80px 22px;
  }

  footer {
    grid-template-columns: 1fr;
    padding: 36px 22px;
  }

  .footer-links {
    gap: 18px;
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
