:root {
  --bg: #050913;
  --bg-soft: #09111f;
  --panel: rgba(8, 14, 26, 0.9);
  --panel-strong: rgba(11, 18, 33, 0.98);
  --panel-soft: rgba(13, 21, 38, 0.74);
  --ink: #eef4ff;
  --muted: #97a9c7;
  --line: rgba(123, 145, 182, 0.2);
  --line-strong: rgba(123, 145, 182, 0.32);
  --accent: #3b82f6;
  --accent-strong: #1d4ed8;
  --accent-soft: rgba(59, 130, 246, 0.16);
  --accent-glow: rgba(59, 130, 246, 0.28);
  --success: #34d399;
  --danger: #f87171;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --max-width: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Sora", sans-serif;
  line-height: 1.6;
  background:
    radial-gradient(circle at 14% 18%, rgba(59, 130, 246, 0.18), transparent 24%),
    radial-gradient(circle at 88% 10%, rgba(96, 165, 250, 0.14), transparent 22%),
    radial-gradient(circle at 50% 120%, rgba(29, 78, 216, 0.18), transparent 32%),
    linear-gradient(180deg, #03060d 0%, #07101c 48%, #040811 100%);
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.page-shell {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
}

.ambient {
  position: fixed;
  width: 24rem;
  height: 24rem;
  border-radius: 999px;
  filter: blur(40px);
  opacity: 0.76;
  pointer-events: none;
  z-index: 0;
  animation: float 18s ease-in-out infinite;
}

.ambient-one {
  top: 4rem;
  right: -6rem;
  background: rgba(59, 130, 246, 0.16);
}

.ambient-two {
  bottom: 8rem;
  left: -8rem;
  background: rgba(29, 78, 216, 0.18);
  animation-delay: -9s;
}

.topbar,
.section {
  position: relative;
  z-index: 1;
}

.topbar {
  width: min(calc(100% - 28px), var(--max-width));
  margin: 18px auto 0;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  position: sticky;
  top: 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(5, 10, 19, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.28);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-copy strong {
  font-size: 1.02rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand-copy small,
.hero-text,
.section-head p,
.quiz-top p,
.answer-summary,
.flow-card p,
.faq-item p,
.contact-card small,
.strategy-mini article small,
.live-match small,
.proof-grid small,
.service-card p,
.service-card li,
.result-card p,
.result-side li,
.side-card li,
.inline-link,
.ghost-button {
  color: var(--muted);
}

.topbar-actions,
.hero-actions,
.hero-points,
.micro-proof,
.quiz-actions,
.result-actions,
.strategy-mini-actions,
.service-card-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.btn {
  padding: 14px 20px;
  border: 0;
  cursor: pointer;
}

.btn-small {
  padding: 12px 18px;
}

.btn:hover,
.ghost-button:hover,
.service-card:hover,
.flow-card:hover,
.faq-item:hover,
.contact-card:hover,
.side-card:hover,
.quiz-option:hover,
.result-card:hover,
.result-side:hover {
  transform: translateY(-3px);
}

.btn-primary {
  background: linear-gradient(135deg, #2563eb, #60a5fa);
  color: #eff6ff;
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.28);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  border: 1px solid var(--line);
}

.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.inline-link:hover {
  color: #dbeafe;
}

.ghost-button {
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  font-weight: 600;
}

.section {
  width: min(calc(100% - 28px), var(--max-width));
  margin: 0 auto;
  padding: 88px 0;
}

.hero {
  min-height: calc(100vh - 118px);
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  align-items: center;
  gap: 28px;
}

.eyebrow,
.pill,
.service-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: #dbeafe;
  font-size: 0.88rem;
}

.hero h1,
.section-head h2,
.result-card h2 {
  margin: 18px 0 0;
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 6rem);
}

.section-head h2,
.result-card h2 {
  font-size: clamp(2.1rem, 4.1vw, 4.1rem);
}

.hero h1 em,
.section-head h2 em {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-weight: 400;
  color: #93c5fd;
}

.hero-text {
  max-width: 58ch;
  font-size: 1.04rem;
  margin: 24px 0 0;
}

.hero-points {
  margin-top: 24px;
}

.hero-points span,
.micro-proof span {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: #cfe0ff;
}

.hero-panel,
.quiz-card,
.insight-card,
.result-card,
.result-side,
.service-card,
.flow-card,
.faq-item,
.contact-card,
.strategy-mini,
.side-card {
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: 8px;
}

.panel-stack {
  display: grid;
  gap: 16px;
}

.side-card {
  padding: 24px;
  background:
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.14), transparent 30%),
    linear-gradient(160deg, rgba(11, 20, 35, 0.98), rgba(8, 16, 29, 0.94));
}

.side-card h3,
.quiz-top h3,
.insight-card h3,
.result-side h3,
.flow-card h3,
.faq-item h3,
.service-card h3,
.contact-card strong,
.result-card h2,
.strategy-mini strong {
  display: block;
  margin-top: 12px;
}

.side-card ul,
.result-side ul,
.service-card ul,
.result-points {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.side-card li,
.result-side li,
.service-card li,
.result-points li {
  position: relative;
  padding-left: 18px;
}

.side-card li + li,
.result-side li + li,
.service-card li + li,
.result-points li + li {
  margin-top: 10px;
}

.side-card li::before,
.result-side li::before,
.service-card li::before,
.result-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, #60a5fa, #1d4ed8);
}

.side-card-strong {
  border-color: rgba(96, 165, 250, 0.28);
}

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

.proof-grid div,
.strategy-mini article {
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.proof-grid strong,
.strategy-mini strong {
  display: block;
  margin-top: 8px;
  font-size: 1.02rem;
}

.section-head {
  max-width: 760px;
}

.section-head p {
  margin-top: 16px;
  font-size: 1rem;
}

.section-head-compact {
  max-width: 690px;
}

.funnel {
  padding-top: 34px;
}

.funnel-shell {
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 20px;
  align-items: start;
}

.quiz-card,
.insight-card,
.result-card,
.result-side,
.strategy-mini {
  padding: 28px;
}

.quiz-top,
.service-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.quiz-count {
  min-width: 76px;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  text-align: center;
  color: #dbeafe;
  font-weight: 700;
}

.quiz-count span {
  font-size: 1.1rem;
}

.quiz-count small {
  color: var(--muted);
}

.progress-bar {
  margin-top: 22px;
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.progress-bar span {
  display: block;
  width: 20%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb, #60a5fa);
  box-shadow: 0 0 26px rgba(59, 130, 246, 0.36);
  transition: width 0.24s ease;
}

.option-grid {
  margin-top: 22px;
  display: grid;
  gap: 12px;
}

.quiz-option {
  width: 100%;
  padding: 18px 18px 17px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.quiz-option:hover,
.quiz-option:focus-visible {
  border-color: rgba(96, 165, 250, 0.38);
  background: rgba(59, 130, 246, 0.08);
  box-shadow: 0 14px 32px rgba(8, 15, 29, 0.34);
  outline: none;
}

.quiz-option strong {
  display: block;
  font-size: 1rem;
}

.quiz-option small {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  line-height: 1.45;
}

.quiz-actions {
  margin-top: 18px;
  align-items: center;
  justify-content: space-between;
}

.broker-helper {
  margin-top: 18px;
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(96, 165, 250, 0.22);
  background: rgba(59, 130, 246, 0.08);
}

.broker-helper-label {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: #dbeafe;
}

.broker-helper-input {
  width: 100%;
  margin-top: 12px;
  padding: 14px 15px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(6, 12, 22, 0.86);
  color: var(--ink);
  outline: none;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.broker-helper-input::placeholder {
  color: rgba(156, 174, 202, 0.72);
}

.broker-helper-input:focus {
  border-color: rgba(96, 165, 250, 0.42);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.14);
  background: rgba(8, 15, 27, 0.95);
}

.broker-helper-copy {
  margin-top: 12px;
  color: #d6e4fb;
  line-height: 1.5;
}

.broker-helper-actions {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.broker-helper-link.is-hidden {
  display: none;
}

.insight-card {
  position: sticky;
  top: 98px;
  background:
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(12, 22, 38, 0.96), rgba(8, 15, 27, 0.98));
}

.live-match {
  margin-top: 20px;
  padding: 18px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(96, 165, 250, 0.26);
  background: rgba(59, 130, 246, 0.08);
}

.live-match strong {
  display: block;
  margin-top: 6px;
  font-size: 1.14rem;
}

.answer-summary {
  margin-top: 18px;
  padding: 18px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.answer-summary p {
  margin: 0;
}

.answer-summary ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.answer-summary li + li {
  margin-top: 10px;
}

.answer-summary strong {
  display: block;
  color: #dbeafe;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.answer-summary span {
  color: #d8e4f8;
}

.is-hidden {
  display: none;
}

.result-section {
  padding-top: 10px;
}

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

.result-card {
  background:
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(12, 22, 38, 0.96), rgba(8, 15, 27, 0.98));
}

.result-card p {
  margin-top: 18px;
}

.result-points {
  margin-top: 18px;
}

.broker-result-box {
  margin-top: 22px;
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(96, 165, 250, 0.24);
  background: rgba(255, 255, 255, 0.04);
}

.broker-result-box h3 {
  margin-top: 14px;
}

.broker-result-box p {
  margin-top: 12px;
}

.broker-result-box .btn {
  margin-top: 16px;
}

.services-section {
  padding-top: 30px;
}

.service-grid,
.faq-grid,
.contact-grid {
  margin-top: 30px;
  display: grid;
  gap: 18px;
}

.faq-list {
  margin-top: 30px;
  display: grid;
  gap: 14px;
}

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

.service-card {
  padding: 22px;
  display: flex;
  flex-direction: column;
  min-height: 320px;
}

.service-card.is-recommended {
  border-color: rgba(96, 165, 250, 0.36);
  background:
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(14, 26, 48, 0.96), rgba(9, 17, 31, 0.96));
}

.service-card p {
  margin: 16px 0 0;
}

.service-card ul {
  margin: 18px 0 0;
}

.service-card-actions {
  margin-top: auto;
  padding-top: 22px;
}

.service-tag {
  font-size: 0.82rem;
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.flow-card {
  padding: 24px;
}

.flow-card span {
  color: #93c5fd;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 700;
}

.flow-card p {
  margin-top: 14px;
}

.strategy-mini-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.strategy-mini-actions {
  margin-top: 20px;
}

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

.faq-item,
.contact-card {
  padding: 22px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin: 14px 0 4px;
}

.warning-box {
  margin-top: 22px;
  padding: 22px 24px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background:
    linear-gradient(140deg, rgba(29, 78, 216, 0.24), rgba(9, 17, 31, 0.96)),
    linear-gradient(0deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.03));
  box-shadow: var(--shadow);
}

.warning-box strong {
  display: block;
  color: #dbeafe;
}

.warning-box p {
  margin-top: 10px;
}

.contact-card {
  display: block;
  background:
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.12), transparent 34%),
    rgba(8, 14, 26, 0.9);
}

.contact-card strong {
  font-size: 1.2rem;
}

.contact-card small {
  display: block;
  margin-top: 10px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes float {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, 18px, 0);
  }
}

@media (max-width: 1080px) {
  .hero,
  .funnel-shell,
  .result-shell {
    grid-template-columns: 1fr;
  }

  .insight-card {
    position: static;
  }

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

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

@media (max-width: 760px) {
  .section {
    width: min(calc(100% - 18px), var(--max-width));
    padding: 72px 0;
  }

  .topbar {
    width: min(calc(100% - 18px), var(--max-width));
    position: static;
    border-radius: 28px;
    align-items: flex-start;
    flex-direction: column;
  }

  .topbar-actions {
    width: 100%;
  }

  .topbar-actions .btn {
    flex: 1;
  }

  .hero {
    min-height: auto;
    padding-top: 20px;
  }

  .hero-actions .btn,
  .result-actions .btn,
  .strategy-mini-actions .btn {
    width: 100%;
  }

  .proof-grid,
  .service-grid,
  .flow-grid,
  .faq-grid,
  .contact-grid,
  .strategy-mini-grid {
    grid-template-columns: 1fr;
  }

  .quiz-top,
  .service-card-top {
    flex-direction: column;
  }

  .quiz-count {
    min-width: 0;
  }

  .quiz-actions {
    gap: 10px;
    flex-direction: column;
    align-items: flex-start;
  }

  .broker-helper-actions {
    flex-direction: column;
    align-items: stretch;
  }
}
