:root {
  --ivory: #fbf7ef;
  --ivory-deep: #f3eadc;
  --navy: #15243a;
  --navy-soft: #243653;
  --gold: #c89645;
  --gold-dark: #9f7431;
  --rose: #c88b88;
  --rose-soft: #f1dcda;
  --beige: #e8d8c2;
  --neutral: #776b61;
  --ink: #1f2630;
  --white: #ffffff;
  --shadow: 0 20px 60px rgba(28, 35, 47, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font-family: "Inter", "Noto Sans Devanagari", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  overflow-x: hidden;
}

.container,
.row,
.row > * {
  min-width: 0;
}

body.lang-hi {
  font-family: "Noto Sans Devanagari", "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body[data-page="profiles"] {
  font-family: "Montserrat", "Inter", "Noto Sans Devanagari", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body[data-page="profiles"].lang-hi {
  font-family: "Montserrat", "Noto Sans Devanagari", "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body[data-page="home"],
body[data-page="question"] {
  color: #f9fafb;
  background:
    radial-gradient(circle at 0% 18%, rgba(43, 104, 255, 0.38), transparent 30rem),
    radial-gradient(circle at 100% 20%, rgba(216, 86, 128, 0.32), transparent 28rem),
    linear-gradient(135deg, #0b1120 0%, #111827 54%, #15111c 100%);
}

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

.navbar {
  background: rgba(251, 247, 239, 0.94);
  border-bottom: 1px solid rgba(21, 36, 58, 0.08);
  backdrop-filter: blur(18px);
}

.navbar-brand {
  color: var(--navy);
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: inline-grid;
  width: 36px;
  height: 36px;
  margin-right: 10px;
  place-items: center;
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold), #ead7a8);
  border-radius: 50%;
  font-size: 0.85rem;
}

.navbar-nav .nav-link {
  color: var(--navy-soft);
  font-weight: 600;
  font-size: 0.94rem;
}

.navbar-nav .nav-link.active {
  color: var(--gold-dark);
}

body[data-page="home"] .navbar {
  background: rgba(11, 17, 32, 0.74);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

body[data-page="home"] .navbar-brand,
body[data-page="home"] .navbar-nav .nav-link {
  color: rgba(249, 250, 251, 0.82);
}

body[data-page="home"] .navbar-nav .nav-link.active {
  color: #d4a373;
}

body[data-page="home"] .language-switcher {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.1);
}

body[data-page="home"] .language-switcher button {
  color: rgba(249, 250, 251, 0.76);
}

body[data-page="home"] .language-switcher button.active {
  color: #111827;
  background: #d4a373;
}

.language-switcher {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  background: var(--white);
  border: 1px solid rgba(21, 36, 58, 0.1);
  border-radius: 999px;
}

.language-switcher button {
  min-width: 76px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--navy-soft);
  font-weight: 700;
  padding: 7px 12px;
}

.language-switcher button.active {
  color: var(--white);
  background: var(--navy);
}

.hero-section {
  min-height: calc(92vh - 72px);
  display: flex;
  align-items: center;
  padding: 94px 0 74px;
  background:
    radial-gradient(circle at 0% 24%, rgba(38, 99, 235, 0.48), transparent 34rem),
    radial-gradient(circle at 100% 22%, rgba(216, 86, 128, 0.36), transparent 30rem),
    linear-gradient(135deg, #0b1120 0%, #111827 55%, #17131f 100%);
}

.minimal-hero-copy {
  width: min(100%, 820px);
  max-width: calc(100vw - 32px);
  margin: 0 auto;
  text-align: center;
}

.display-heading {
  max-width: 820px;
  margin-inline: auto;
  color: #f9fafb;
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: 0;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.eyebrow {
  display: inline-flex;
  color: var(--gold-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

body[data-page="home"] .eyebrow {
  color: #d4a373;
}

body.lang-hi .eyebrow {
  letter-spacing: 0;
}

.lead-copy {
  max-width: 680px;
  color: rgba(249, 250, 251, 0.88);
  font-size: 1rem;
  margin: 22px auto 0;
  overflow-wrap: anywhere;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.minimal-hero-copy .hero-actions {
  justify-content: center;
  width: 100%;
}

.btn {
  max-width: 100%;
  border-radius: 999px;
  font-weight: 800;
  padding: 0.7rem 1.05rem;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
}

.btn-gold {
  color: #111827;
  background: linear-gradient(135deg, #d4a373, #c9975b);
  border-color: #d4a373;
  box-shadow: 0 14px 34px rgba(212, 163, 115, 0.22);
}

.btn-gold:hover {
  color: var(--navy);
  background: #d8a857;
  border-color: #d8a857;
}

.btn:disabled,
.btn[aria-disabled="true"] {
  cursor: not-allowed;
  filter: grayscale(0.45);
  opacity: 0.55;
}

.btn-outline-navy {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.48);
  border-color: rgba(21, 36, 58, 0.22);
}

.btn-outline-navy:hover {
  color: var(--white);
  background: var(--navy);
  border-color: var(--navy);
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 520px;
  margin-top: 38px;
}

.trust-row div {
  padding: 18px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(21, 36, 58, 0.08);
  border-radius: var(--radius);
}

.trust-row strong {
  display: block;
  color: var(--navy);
  font-size: 1.5rem;
  line-height: 1;
}

.trust-row span {
  display: block;
  color: var(--neutral);
  font-size: 0.88rem;
  margin-top: 7px;
}

.hero-trust-line {
  margin: 18px 0 0;
  color: rgba(249, 250, 251, 0.84);
  font-size: 0.88rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.hero-visual {
  min-height: 500px;
  display: grid;
  place-items: center;
  position: relative;
  background:
    linear-gradient(135deg, rgba(21, 36, 58, 0.92), rgba(36, 54, 83, 0.86)),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.04) 0 2px, transparent 2px 18px);
  border: 1px solid rgba(21, 36, 58, 0.14);
  border-radius: 24px 24px 80px 24px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(232, 216, 194, 0.36);
  border-radius: 50%;
}

.hero-visual::before {
  width: 340px;
  height: 340px;
}

.hero-visual::after {
  width: 230px;
  height: 230px;
}

.score-orbit {
  position: relative;
  z-index: 1;
  width: min(82vw, 360px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.score-card-main {
  width: 240px;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 28px;
  color: var(--navy);
  text-align: center;
  background: var(--ivory);
  border-radius: 50%;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.score-card-main span,
.score-card-main small {
  color: var(--neutral);
  font-weight: 700;
}

.score-card-main strong {
  color: var(--navy);
  font-size: 3.15rem;
  line-height: 1;
}

.insight-pill {
  position: absolute;
  max-width: 220px;
  padding: 12px 16px;
  color: var(--navy);
  background: var(--beige);
  border-radius: 999px;
  font-weight: 800;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.insight-top {
  top: 12px;
  right: -10px;
}

.insight-bottom {
  bottom: 20px;
  left: -14px;
  background: var(--rose-soft);
}

.insight-chip {
  position: absolute;
  padding: 8px 12px;
  color: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

.chip-a {
  top: 88px;
  left: 12px;
}

.chip-b {
  top: 150px;
  right: -2px;
}

.chip-c {
  bottom: 98px;
  right: 18px;
}

.chip-d {
  bottom: 120px;
  left: -2px;
}

.section {
  padding: 64px 0;
}

.section-tint {
  background: #f6eee4;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 36px;
}

.section h2,
.intro-card h1,
.result-header h1,
.form-copy h1 {
  color: var(--navy);
  font-size: clamp(2rem, 3vw, 3.4rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: 0;
}

.section-copy {
  color: var(--neutral);
  font-size: 0.98rem;
  margin-top: 16px;
}

.narrow-copy {
  max-width: 760px;
}

.quiz-bridge {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.9fr);
  gap: 24px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(21, 36, 58, 0.08);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.quiz-bridge-copy h2 {
  margin-bottom: 12px;
}

.quiz-bridge-points {
  display: grid;
  gap: 12px;
  margin: 24px 0 28px;
}

.quiz-bridge-points div,
.quiz-bridge-meta div {
  padding: 14px 16px;
  background: rgba(248, 239, 232, 0.78);
  border: 1px solid rgba(21, 36, 58, 0.08);
  border-radius: 14px;
}

.quiz-bridge-meta {
  display: grid;
  gap: 14px;
  align-content: start;
}

.quiz-bridge-meta strong {
  display: block;
  color: var(--navy);
  font-size: 1.4rem;
  line-height: 1.1;
}

.quiz-bridge-meta span {
  display: block;
  margin-top: 6px;
  color: var(--neutral);
  font-size: 0.92rem;
}

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

.problem-card {
  padding: 22px;
  background: var(--white);
  border: 1px solid rgba(21, 36, 58, 0.08);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(28, 35, 47, 0.08);
}

.problem-card span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--gold-dark);
  font-size: 0.84rem;
  font-weight: 800;
}

.problem-card p {
  margin: 0;
  color: var(--navy-soft);
}

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

.faq-item {
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(21, 36, 58, 0.08);
  border-radius: 16px;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  color: var(--navy);
  font-weight: 700;
}

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

.faq-item p {
  margin: 0 0 18px;
  color: var(--neutral);
}

.feature-card,
.benefit-item,
.story-panel,
.future-panel,
.intro-card,
.question-card,
.static-form,
.score-tile,
.category-card,
.partner-type,
.profile-card,
.profile-suggestion-summary,
.privacy-controls-preview,
.compatibility-matching-preview,
.connect-request-preview,
.messaging-system-preview,
.match-recommendations-preview,
.coming-soon,
.readiness-preview {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(21, 36, 58, 0.09);
  border-radius: var(--radius);
  box-shadow: 0 16px 44px rgba(28, 35, 47, 0.08);
}

.feature-card {
  min-height: 250px;
  padding: 30px;
}

.feature-card h3,
.benefit-item h3,
.category-card h3,
.profile-card h3 {
  color: var(--navy);
  font-size: 1.12rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.feature-card p,
.benefit-item p,
.story-panel p,
.future-panel p,
.category-card p,
.profile-card p,
.coming-soon p {
  color: var(--neutral);
  margin: 0 0 10px;
}

.coming-soon p:last-child {
  margin-bottom: 0;
}

.step-number {
  display: inline-block;
  color: var(--gold-dark);
  font-weight: 900;
  margin-bottom: 36px;
}

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

.benefit-item-wide {
  grid-column: 1 / -1;
}

.benefit-item {
  padding: 24px;
}

.benefit-icon {
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: var(--white);
  background: var(--navy);
  border-radius: 50%;
  font-size: 0.82rem;
  font-weight: 900;
  margin-bottom: 18px;
}

.story-panel,
.future-panel {
  padding: 42px;
}

.position-card {
  min-height: 260px;
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid rgba(21, 36, 58, 0.1);
  box-shadow: 0 16px 44px rgba(28, 35, 47, 0.08);
}

.is-card {
  background: rgba(255, 255, 255, 0.78);
}

.not-card {
  background: linear-gradient(160deg, #fff7ef, #f5ece5);
}

.position-label {
  display: inline-flex;
  color: var(--gold-dark);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 16px;
}

body.lang-hi .position-label {
  text-transform: none;
}

.position-card h3 {
  color: var(--navy);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 12px;
}

.position-card p {
  color: var(--neutral);
  margin: 0;
}

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

.audience-card {
  min-height: 220px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(21, 36, 58, 0.09);
  border-radius: var(--radius);
  box-shadow: 0 16px 44px rgba(28, 35, 47, 0.08);
}

.audience-card h3 {
  color: var(--navy);
  font-size: 1.12rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.audience-card p {
  color: var(--neutral);
  margin: 0;
}

.report-list {
  display: grid;
  gap: 12px;
}

.report-list div {
  display: grid;
  gap: 5px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(21, 36, 58, 0.09);
  border-radius: var(--radius);
}

.report-list strong {
  color: var(--navy);
  font-size: 1rem;
}

.report-list span {
  color: var(--neutral);
}

.lower-cta {
  padding: clamp(30px, 5vw, 52px);
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), #263c61);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.lower-cta h2 {
  max-width: 760px;
  color: var(--white);
  font-size: clamp(2rem, 3vw, 3.3rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 12px;
}

.lower-cta p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
  margin: 0 0 24px;
}

.privacy-note {
  padding: 24px 28px;
  border-radius: var(--radius);
  border: 1px solid rgba(21, 36, 58, 0.12);
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.88), rgba(241, 220, 218, 0.42));
}

.privacy-note h3 {
  color: var(--navy);
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.privacy-note p {
  color: var(--neutral);
  margin: 0 0 6px;
}

.privacy-note p:last-child {
  margin-bottom: 0;
}

.text-link {
  display: inline-flex;
  color: var(--gold-dark);
  font-weight: 800;
  margin-top: 22px;
}

.site-footer {
  padding: 46px 0;
  color: rgba(255, 255, 255, 0.78);
  background: var(--navy);
}

.site-footer strong {
  color: var(--white);
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}

body {
  padding-bottom: 112px;
}

.page-shell {
  min-height: calc(100vh - 72px);
  padding: 92px 0 78px;
  background:
    radial-gradient(circle at 16% 10%, rgba(200, 139, 136, 0.17), transparent 28%),
    linear-gradient(180deg, var(--ivory) 0%, #f7eee6 100%);
}

.quiz-focus-shell {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: clamp(28px, 5vw, 64px) 0;
  background:
    radial-gradient(circle at 0% 18%, rgba(43, 104, 255, 0.36), transparent 30rem),
    radial-gradient(circle at 100% 20%, rgba(216, 86, 128, 0.28), transparent 28rem),
    linear-gradient(135deg, #0b1120 0%, #111827 54%, #15111c 100%);
}

body[data-page="profiles"] .page-shell {
  padding-bottom: 150px;
}

.intro-card {
  padding: clamp(28px, 5vw, 58px);
}

.quiz-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 24px;
}

.quiz-meta div {
  min-width: 150px;
  padding: 16px 18px;
  background: var(--ivory);
  border: 1px solid rgba(21, 36, 58, 0.08);
  border-radius: var(--radius);
}

.quiz-meta strong,
.quiz-meta span {
  display: block;
}

.quiz-meta strong {
  color: var(--navy);
  font-size: 1.04rem;
}

.quiz-meta span {
  color: var(--neutral);
  font-size: 0.9rem;
}

.readiness-preview {
  padding: 30px;
  background: linear-gradient(145deg, var(--navy), #21375b);
}

.readiness-preview h2 {
  color: var(--white);
  font-size: 1.6rem;
  font-weight: 800;
}

.readiness-preview p {
  color: rgba(255, 255, 255, 0.74);
  margin: 0;
}

.answer-scope {
  margin: 0 0 30px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(21, 36, 58, 0.08);
  border-radius: var(--radius);
}

.answer-scope h2 {
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.answer-scope ul {
  display: grid;
  gap: 8px;
  padding-left: 20px;
  margin: 0;
}

.answer-scope li {
  color: var(--neutral);
}

.start-promises {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 28px;
}

.start-promises div {
  min-height: 130px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(21, 36, 58, 0.08);
  border-radius: var(--radius);
}

.start-promises strong,
.start-promises span {
  display: block;
}

.start-promises strong {
  color: var(--navy);
  font-size: 0.95rem;
  line-height: 1.25;
}

.start-promises span {
  color: var(--neutral);
  font-size: 0.88rem;
  margin-top: 8px;
}

.mini-scale {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 84px;
}

.mini-scale span {
  height: 80px;
  border-radius: 999px 999px 10px 10px;
  background: rgba(255, 255, 255, 0.16);
}

.mini-scale span:nth-child(2),
.mini-scale span:nth-child(4) {
  background: rgba(200, 150, 69, 0.72);
}

.mini-scale span:nth-child(3) {
  background: rgba(200, 139, 136, 0.84);
}

.question-container {
  width: min(calc(100% - 24px), 820px);
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

.question-card {
  padding: clamp(24px, 5vw, 52px);
  min-width: 0;
  overflow: hidden;
  background: rgba(17, 24, 39, 0.72);
  border-color: rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.quiz-language-switcher {
  display: flex;
  gap: 6px;
  justify-content: flex-end;
  margin-bottom: 22px;
}

.quiz-language-switcher button {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: rgba(249, 250, 251, 0.76);
  background: rgba(255, 255, 255, 0.06);
  font-weight: 800;
  padding: 8px 12px;
}

.quiz-language-switcher button.active {
  color: #111827;
  background: #d4a373;
  border-color: #d4a373;
}

.question-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(249, 250, 251, 0.72);
  font-weight: 800;
  margin-bottom: 12px;
}

.soft-progress {
  height: 10px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}

.soft-progress .progress-bar {
  background: linear-gradient(90deg, #d4a373, #d8a7b1);
  border-radius: 999px;
  transition: width 220ms ease;
}

.question-screen {
  min-width: 0;
  padding: 40px 0 10px;
  transition: opacity 160ms ease, transform 160ms ease;
}

.question-screen.is-changing {
  opacity: 0;
  transform: translateX(12px);
}

.quiz-question-kicker {
  margin: 0 0 12px;
  color: #d4a373;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  overflow-wrap: anywhere;
  text-transform: uppercase;
}

body.lang-hi .quiz-question-kicker {
  letter-spacing: 0;
  text-transform: none;
}

.question-screen h1 {
  color: #f9fafb;
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 26px;
  overflow-wrap: anywhere;
}

.option-list {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.option-button {
  width: 100%;
  min-width: 0;
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  color: #f9fafb;
  text-align: left;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.option-button::before {
  content: "";
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
}

.option-button.is-selected {
  color: #111827;
  border-color: #d4a373;
  background: linear-gradient(135deg, #d4a373, #c9975b);
}

.option-button.is-selected::before {
  border-color: #111827;
  background: radial-gradient(circle, #111827 0 40%, transparent 43%);
}

.insight-box {
  margin-top: 24px;
  padding: 20px;
  color: rgba(249, 250, 251, 0.82);
  background: rgba(216, 167, 177, 0.1);
  border: 1px solid rgba(216, 167, 177, 0.18);
  border-radius: 14px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.quiz-submit-screen {
  display: grid;
  gap: 18px;
  padding: clamp(18px, 5vw, 38px) 0;
  text-align: center;
}

.quiz-submit-screen span {
  color: #d4a373;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quiz-submit-screen h1 {
  margin: 0;
}

.quiz-submit-screen p {
  max-width: 560px;
  margin: 0 auto;
  color: rgba(249, 250, 251, 0.72);
  font-weight: 700;
}

.question-actions {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-top: 22px;
}

.question-nav-btn {
  min-width: 150px;
}

.flow-note {
  color: rgba(249, 250, 251, 0.62);
  font-size: 0.9rem;
  margin: 16px 0 0;
  text-align: center;
}

.question-required {
  color: #d4a373;
  font-size: 0.9rem;
  font-weight: 800;
  margin: 14px 0 0;
  text-align: center;
}

.question-save-status {
  min-height: 1.45rem;
  margin: 10px 0 0;
  color: rgba(249, 250, 251, 0.62);
  font-size: 0.88rem;
  font-weight: 800;
  text-align: center;
}

.question-save-status.is-saved {
  color: #d4a373;
}

.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  gap: 30px;
  align-items: start;
}

.form-layout > * {
  min-width: 0;
}

.form-copy {
  padding: 42px 0;
}

.trust-list {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.trust-list p {
  margin: 0;
  padding: 14px 16px;
  color: var(--neutral);
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(21, 36, 58, 0.08);
  border-radius: var(--radius);
}

.static-form {
  max-width: 100%;
  padding: 30px;
}

.otp-panel {
  padding: 18px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(21, 36, 58, 0.1);
  border-radius: var(--radius);
}

.otp-panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.otp-title {
  margin: 0;
  color: var(--navy);
  font-weight: 800;
}

.otp-copy {
  margin: 6px 0 0;
  color: var(--neutral);
  font-size: 0.95rem;
}

.otp-send-btn,
.otp-verify-btn {
  flex-shrink: 0;
}

.otp-fields {
  margin-top: 16px;
}

.otp-input-row {
  display: flex;
  gap: 12px;
}

.otp-helper {
  margin: 10px 0 0;
  color: var(--neutral);
  font-size: 0.84rem;
}

.otp-status {
  min-height: 1.5rem;
  margin: 12px 0 0;
  color: var(--neutral);
  font-size: 0.9rem;
  font-weight: 700;
}

.otp-status.is-success {
  color: #2f6b47;
}

.otp-status.is-error {
  color: #a14d4b;
}

.verification-note {
  margin: 12px 0 0;
  color: var(--gold-dark);
  font-size: 0.88rem;
  text-align: center;
  font-weight: 700;
}

.field-helper {
  margin: 8px 0 0;
  color: var(--neutral);
  font-size: 0.84rem;
}

.registration-summary {
  display: grid;
  gap: 6px;
  margin-top: 16px;
  padding: 16px;
  color: var(--navy-soft);
  background: #edf7f0;
  border: 1px solid rgba(47, 107, 71, 0.2);
  border-radius: var(--radius);
}

.registration-summary strong {
  color: #24513a;
  font-size: 1rem;
}

.registration-summary p {
  margin: 0;
  font-size: 0.9rem;
}

.login-secondary-actions {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}

.login-secondary-actions .btn {
  width: 100%;
}

.admin-question-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.8fr);
  gap: 24px;
  align-items: start;
}

.admin-question-sidebar,
.admin-question-form {
  min-width: 0;
}

.admin-question-sidebar {
  padding: 24px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(21, 36, 58, 0.09);
  border-radius: var(--radius);
  box-shadow: 0 16px 44px rgba(28, 35, 47, 0.08);
}

.admin-panel-header {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
}

.admin-panel-header h2,
.admin-question-form h2 {
  color: var(--navy);
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0;
}

.admin-question-list {
  display: grid;
  gap: 10px;
}

.admin-question-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 4px 10px;
  width: 100%;
  padding: 13px;
  text-align: left;
  background: rgba(248, 239, 232, 0.72);
  border: 1px solid rgba(21, 36, 58, 0.09);
  border-radius: var(--radius);
}

.admin-question-row.is-active {
  background: #fff7e8;
  border-color: var(--gold);
}

.admin-question-row span {
  grid-row: span 2;
  display: inline-grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: var(--navy);
  background: var(--gold);
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 900;
}

.admin-question-row strong,
.admin-question-row small {
  min-width: 0;
  overflow-wrap: anywhere;
}

.admin-question-row strong {
  color: var(--navy);
  font-size: 0.92rem;
  line-height: 1.35;
}

.admin-question-row small {
  color: var(--neutral);
  font-weight: 800;
}

.admin-options-grid {
  display: grid;
  grid-template-columns: minmax(120px, 0.7fr) repeat(2, minmax(180px, 1fr));
  gap: 10px;
  margin: 24px 0;
}

.admin-option-head {
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 900;
}

.admin-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.payment-settings-panel {
  margin-top: 28px;
  padding: clamp(24px, 4vw, 38px);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(21, 36, 58, 0.09);
  border-radius: var(--radius);
  box-shadow: 0 16px 44px rgba(28, 35, 47, 0.08);
}

.compact-heading {
  margin-bottom: 20px;
}

.payment-settings-form {
  display: grid;
  gap: 20px;
}

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

.payment-provider-grid fieldset {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 20px;
  background: rgba(248, 239, 232, 0.62);
  border: 1px solid rgba(21, 36, 58, 0.08);
  border-radius: var(--radius);
}

.payment-provider-grid legend {
  float: none;
  width: auto;
  color: var(--navy);
  font-size: 1rem;
  font-weight: 900;
  margin: 0 0 6px;
}

.form-label {
  color: var(--navy);
  font-weight: 800;
}

.form-control {
  border-color: rgba(21, 36, 58, 0.16);
  border-radius: var(--radius);
}

.form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 0.2rem rgba(200, 150, 69, 0.18);
}

.form-note {
  color: var(--neutral);
  font-size: 0.88rem;
  text-align: center;
  margin: 14px 0 0;
}

.result-header {
  max-width: 780px;
  margin-bottom: 18px;
}

.result-header p {
  color: var(--neutral);
  font-size: 1rem;
  margin-top: 10px;
}

.profile-preview-note {
  display: inline-flex;
  padding: 10px 14px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(21, 36, 58, 0.09);
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 800;
}

[data-phase4-panel][hidden] {
  display: none !important;
}

.phase4-tabs {
  position: sticky;
  top: 74px;
  z-index: 20;
  display: flex;
  gap: 8px;
  max-width: 100%;
  margin: 0 0 18px;
  padding: 8px;
  overflow-x: auto;
  background: rgba(251, 247, 239, 0.92);
  border: 1px solid rgba(21, 36, 58, 0.1);
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(28, 35, 47, 0.08);
  backdrop-filter: blur(18px);
  scrollbar-width: thin;
}

.phase4-tabs button {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 10px 14px;
  color: var(--navy-soft);
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(21, 36, 58, 0.09);
  border-radius: var(--radius);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 800;
  white-space: nowrap;
}

.phase4-tabs button.is-active {
  color: var(--white);
  background: var(--navy);
  border-color: var(--navy);
}

.profile-suggestion-summary {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
  gap: 22px;
  align-items: center;
  padding: 24px;
  margin-bottom: 28px;
}

.profile-suggestion-summary h2 {
  color: var(--navy);
  font-size: 1.35rem;
  font-weight: 850;
  margin: 8px 0 0;
}

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

.profile-source-grid div {
  padding: 12px 14px;
  border: 1px solid rgba(21, 36, 58, 0.08);
  border-radius: 14px;
  background: rgba(251, 247, 239, 0.72);
}

.profile-source-grid span,
.profile-source-grid strong {
  display: block;
}

.profile-source-grid span {
  color: var(--neutral);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.profile-source-grid strong {
  color: var(--navy);
  font-size: 0.95rem;
  line-height: 1.35;
  margin-top: 4px;
}

.privacy-controls-preview {
  padding: 24px;
  margin-bottom: 28px;
}

.privacy-controls-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 18px;
}

.privacy-controls-heading h2 {
  color: var(--navy);
  font-size: 1.35rem;
  font-weight: 850;
  margin: 8px 0 0;
}

.privacy-controls-heading p,
.privacy-note,
.privacy-save-status {
  color: var(--neutral);
  margin: 10px 0 0;
}

.privacy-status-card {
  flex: 0 0 min(260px, 100%);
  display: grid;
  gap: 6px;
  padding: 16px;
  background: rgba(21, 36, 58, 0.08);
  border-radius: 18px;
}

.privacy-status-card span,
.privacy-visibility-options legend {
  color: var(--neutral);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.privacy-status-card strong {
  color: var(--navy);
  font-size: 1rem;
}

.privacy-visibility-options {
  display: grid;
  gap: 10px;
  margin: 0 0 16px;
  padding: 16px;
  background: rgba(248, 239, 232, 0.62);
  border: 1px solid rgba(21, 36, 58, 0.08);
  border-radius: var(--radius);
}

.privacy-visibility-options legend {
  float: none;
  width: auto;
  margin-bottom: 8px;
}

.privacy-visibility-options label,
.privacy-toggle-grid label {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 9px;
  align-items: flex-start;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 800;
}

.privacy-visibility-options input,
.privacy-toggle-grid input {
  margin-top: 3px;
  accent-color: var(--navy);
}

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

.privacy-toggle-grid label {
  padding: 14px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(21, 36, 58, 0.08);
  border-radius: var(--radius);
}

.privacy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.compatibility-matching-preview {
  padding: 24px;
  margin-bottom: 28px;
}

.compatibility-preview-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 20px;
}

.compatibility-preview-heading h2 {
  color: var(--navy);
  font-size: 1.35rem;
  font-weight: 850;
  margin: 8px 0 0;
}

.compatibility-preview-heading p {
  max-width: 760px;
  color: var(--neutral);
  margin: 10px 0 0;
}

.compatibility-preview-method {
  flex: 0 0 min(320px, 100%);
  display: grid;
  gap: 6px;
  padding: 14px;
  background: rgba(251, 247, 239, 0.72);
  border: 1px solid rgba(21, 36, 58, 0.08);
  border-radius: 14px;
}

.compatibility-preview-method span {
  color: var(--neutral);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.compatibility-preview-method strong {
  color: var(--navy);
  font-size: 0.94rem;
  line-height: 1.4;
}

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

.compatibility-preview-grid article {
  padding: 16px;
  background: rgba(248, 239, 232, 0.62);
  border: 1px solid rgba(21, 36, 58, 0.08);
  border-radius: var(--radius);
}

.compatibility-preview-grid span,
.compatibility-preview-grid strong,
.compatibility-preview-grid p {
  display: block;
}

.compatibility-preview-grid span {
  color: var(--neutral);
  font-size: 0.86rem;
  font-weight: 800;
}

.compatibility-preview-grid strong {
  color: var(--navy);
  font-size: 2rem;
  line-height: 1;
  margin: 10px 0 6px;
}

.compatibility-preview-grid p {
  color: var(--neutral);
  font-size: 0.9rem;
  font-weight: 750;
  margin: 0;
}

.connect-request-preview {
  padding: 24px;
  margin-bottom: 28px;
}

.connect-request-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 18px;
}

.connect-request-heading h2 {
  color: var(--navy);
  font-size: 1.35rem;
  font-weight: 850;
  margin: 8px 0 0;
}

.connect-request-heading p,
.connect-request-note {
  color: var(--neutral);
  margin: 10px 0 0;
}

.connect-request-count {
  flex: 0 0 160px;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(190, 145, 67, 0.13);
  border-radius: 18px;
}

.connect-request-count span {
  color: var(--neutral);
  font-size: 0.78rem;
  font-weight: 850;
  text-align: center;
  text-transform: uppercase;
}

.connect-request-count strong {
  color: var(--navy);
  font-size: 2rem;
  line-height: 1;
  margin-top: 8px;
}

.connect-request-list {
  display: grid;
  gap: 10px;
}

.connect-request-list article,
.connect-request-list p {
  margin: 0;
  padding: 14px;
  background: rgba(248, 239, 232, 0.62);
  border: 1px solid rgba(21, 36, 58, 0.08);
  border-radius: var(--radius);
}

.connect-request-list strong,
.connect-request-list span {
  display: block;
}

.connect-request-list strong {
  color: var(--navy);
}

.connect-request-list span,
.connect-request-list p {
  color: var(--neutral);
  font-weight: 750;
}

.messaging-system-preview {
  padding: 24px;
  margin-bottom: 28px;
}

.messaging-preview-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 18px;
}

.messaging-preview-heading h2 {
  color: var(--navy);
  font-size: 1.35rem;
  font-weight: 850;
  margin: 8px 0 0;
}

.messaging-preview-heading p,
.message-empty-state,
.message-privacy-note {
  color: var(--neutral);
  margin: 10px 0 0;
}

.message-draft-count {
  flex: 0 0 160px;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(21, 36, 58, 0.08);
  border-radius: 18px;
}

.message-draft-count span {
  color: var(--neutral);
  font-size: 0.78rem;
  font-weight: 850;
  text-align: center;
  text-transform: uppercase;
}

.message-draft-count strong {
  color: var(--navy);
  font-size: 2rem;
  line-height: 1;
  margin-top: 8px;
}

.message-preview-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 18px;
  background: rgba(248, 239, 232, 0.62);
  border: 1px solid rgba(21, 36, 58, 0.08);
  border-radius: var(--radius);
}

.message-preview-form label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 850;
}

.message-preview-form select,
.message-preview-form textarea {
  width: 100%;
  padding: 12px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(21, 36, 58, 0.14);
  border-radius: 14px;
  font: inherit;
}

.message-preview-wide,
.message-preview-consent,
.message-preview-form .btn {
  grid-column: 1 / -1;
}

.message-preview-consent {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: flex-start;
  color: var(--neutral);
  font-weight: 750;
}

.message-preview-consent input {
  margin-top: 3px;
  accent-color: var(--navy);
}

.message-draft-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.message-draft-list article {
  padding: 14px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(21, 36, 58, 0.08);
  border-radius: var(--radius);
}

.message-draft-list strong,
.message-draft-list span {
  display: block;
}

.message-draft-list strong {
  color: var(--navy);
}

.message-draft-list p {
  color: var(--neutral);
  margin: 8px 0;
}

.message-draft-list span {
  color: #24513a;
  font-size: 0.86rem;
  font-weight: 850;
}

.match-recommendations-preview {
  padding: 24px;
  margin-bottom: 28px;
}

.recommendation-preview-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 18px;
}

.recommendation-preview-heading h2 {
  color: var(--navy);
  font-size: 1.35rem;
  font-weight: 850;
  margin: 8px 0 0;
}

.recommendation-preview-heading p,
.recommendation-note {
  color: var(--neutral);
  margin: 10px 0 0;
}

.recommendation-source-card {
  flex: 0 0 min(340px, 100%);
  display: grid;
  gap: 6px;
  padding: 16px;
  background: rgba(248, 239, 232, 0.72);
  border: 1px solid rgba(21, 36, 58, 0.08);
  border-radius: 18px;
}

.recommendation-source-card span {
  color: var(--neutral);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.recommendation-source-card strong {
  color: var(--navy);
  font-size: 0.94rem;
  line-height: 1.4;
}

.recommendation-list {
  display: grid;
  gap: 12px;
}

.recommendation-list article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
  padding: 16px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(21, 36, 58, 0.08);
  border-radius: var(--radius);
}

.recommendation-rank {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--navy);
  border-radius: 50%;
  font-weight: 900;
}

.recommendation-list span {
  color: var(--gold-dark);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.recommendation-list h3 {
  color: var(--navy);
  font-size: 1.08rem;
  font-weight: 850;
  margin: 6px 0 8px;
}

.recommendation-list p {
  color: var(--neutral);
  margin: 6px 0 0;
}

.recommendation-list p strong {
  color: var(--navy);
}

.recommendation-score {
  color: var(--navy);
  font-size: 1.35rem;
}

/* Compact contrast pass: static frontend pages. */
.display-heading,
.question-screen h1,
.quiz-submit-screen h1 {
  font-size: clamp(1.9rem, 4vw, 3.4rem);
}

.hero-section {
  min-height: calc(84vh - 72px);
  padding: 82px 0 56px;
}

.minimal-hero-copy {
  max-width: 760px;
}

.hero-actions {
  gap: 10px;
  margin-top: 26px;
}

.feature-card,
.benefit-item,
.problem-card,
.audience-card,
.position-card,
.story-panel,
.future-panel,
.intro-card,
.static-form,
.profile-suggestion-summary,
.privacy-controls-preview,
.compatibility-matching-preview,
.connect-request-preview,
.messaging-system-preview,
.match-recommendations-preview {
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(21, 36, 58, 0.14);
  border-radius: 8px;
}

.feature-card,
.benefit-item,
.problem-card,
.audience-card,
.position-card {
  padding: 20px;
}

.feature-card p,
.benefit-item p,
.story-panel p,
.future-panel p,
.category-card p,
.profile-card p,
.coming-soon p,
.position-card p,
.audience-card p,
.report-list span,
.trust-list p,
.profile-source-grid span,
.privacy-controls-heading p,
.compatibility-preview-heading p,
.connect-request-heading p,
.messaging-preview-heading p,
.recommendation-preview-heading p,
.recommendation-list p {
  color: #544940;
  font-size: 0.92rem;
  line-height: 1.55;
}

.question-topline,
.flow-note,
.question-save-status,
.quiz-submit-screen p {
  color: rgba(249, 250, 251, 0.82);
}

.option-button {
  min-height: 56px;
  padding: 13px 15px;
}

.insight-box {
  color: rgba(249, 250, 251, 0.9);
}

.site-footer,
.lower-cta {
  color: rgba(255, 255, 255, 0.9);
}

.score-row {
  margin-bottom: 14px;
}

.score-tile {
  display: flex;
  min-height: 180px;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  background: linear-gradient(145deg, var(--navy), #263c61);
}

.score-tile.rose {
  background: linear-gradient(145deg, #8d4f58, #c88b88);
}

.score-tile span {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 800;
}

.score-tile strong {
  color: var(--white);
  font-size: clamp(2.7rem, 6vw, 4.5rem);
  line-height: 1;
}

.score-disclaimer {
  max-width: 780px;
  margin: 0 0 24px;
  color: var(--neutral);
  font-size: 0.94rem;
  font-weight: 700;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0;
}

.category-card {
  padding: 22px;
}

.category-meter {
  height: 8px;
  margin: 18px 0 0;
  background: var(--ivory-deep);
  border-radius: 999px;
  overflow: hidden;
}

.category-meter span {
  display: block;
  height: 100%;
  background: var(--gold);
  border-radius: inherit;
}

.ai-insight-panel {
  margin-top: 24px;
  padding: clamp(26px, 4vw, 42px);
  background:
    radial-gradient(circle at 92% 0%, rgba(200, 139, 136, 0.18), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(246, 238, 228, 0.86));
  border: 1px solid rgba(21, 36, 58, 0.09);
  border-radius: var(--radius);
  box-shadow: 0 16px 44px rgba(28, 35, 47, 0.08);
}

.ai-insight-heading {
  max-width: 760px;
  margin-bottom: 22px;
}

.ai-insight-heading h2 {
  color: var(--navy);
  font-size: clamp(1.75rem, 3vw, 2.65rem);
  font-weight: 800;
  line-height: 1.14;
}

.ai-insight-heading p {
  color: var(--neutral);
  margin: 12px 0 0;
}

.ai-insight-context {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 18px;
}

.ai-insight-context span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  color: var(--navy-soft);
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(21, 36, 58, 0.08);
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 700;
}

.ai-insight-context strong {
  color: var(--gold-dark);
  font-size: 0.74rem;
  text-transform: uppercase;
}

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

.ai-insight-grid article {
  padding: 20px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(21, 36, 58, 0.08);
  border-radius: var(--radius);
}

.ai-insight-grid strong {
  display: block;
  color: var(--navy);
  font-size: 1rem;
  margin-bottom: 10px;
}

.ai-insight-grid p {
  color: var(--neutral);
  margin: 0;
}

.ai-report-panel {
  margin-top: 24px;
  padding: clamp(26px, 4vw, 42px);
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(21, 36, 58, 0.09);
  border-radius: var(--radius);
  box-shadow: 0 16px 44px rgba(28, 35, 47, 0.08);
}

.ai-report-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 22px;
}

.ai-report-heading h2 {
  max-width: 760px;
  color: var(--navy);
  font-size: clamp(1.65rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.14;
  margin: 0;
}

.ai-report-heading p {
  max-width: 820px;
  color: var(--neutral);
  margin: 12px 0 0;
}

.ai-report-status {
  flex: 0 0 min(280px, 100%);
  display: grid;
  gap: 7px;
  padding: 16px;
  background: var(--ivory-deep);
  border: 1px solid rgba(21, 36, 58, 0.08);
  border-radius: var(--radius);
}

.ai-report-status strong {
  color: var(--navy);
  font-size: 0.98rem;
}

.ai-report-status span {
  color: var(--neutral);
  font-size: 0.86rem;
  font-weight: 700;
}

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

.ai-report-sections article {
  padding: 20px;
  background: rgba(248, 239, 232, 0.62);
  border: 1px solid rgba(21, 36, 58, 0.08);
  border-radius: var(--radius);
}

.ai-report-sections h3 {
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0 0 10px;
}

.ai-report-sections p {
  color: var(--neutral);
  margin: 0;
}

.ai-report-answer-source {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(21, 36, 58, 0.08);
}

.ai-report-answer-source > div {
  display: grid;
  gap: 10px;
}

.ai-report-answer-source p {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 14px;
  margin: 0;
  padding: 14px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(21, 36, 58, 0.07);
  border-radius: var(--radius);
}

.ai-report-answer-source strong,
.ai-report-answer-source span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.ai-report-answer-source strong {
  color: var(--navy);
}

.ai-report-answer-source span {
  color: var(--neutral);
  font-weight: 700;
}

.partner-type,
.coming-soon {
  padding: clamp(28px, 5vw, 46px);
  margin-top: 24px;
}

.partner-type h2,
.coming-soon h2 {
  color: var(--navy);
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  font-weight: 800;
}

.partner-type p {
  max-width: 900px;
  color: var(--neutral);
  font-size: 1.12rem;
  margin: 14px 0 24px;
}

.partner-type-status {
  display: grid;
  gap: 6px;
  max-width: 900px;
  margin: 0 0 18px;
}

.partner-type-status span {
  color: #24513a;
  font-weight: 900;
}

.partner-type-status small {
  color: var(--neutral);
  font-weight: 700;
}

.partner-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 24px;
}

.partner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.partner-tags span {
  padding: 8px 12px;
  color: var(--navy);
  background: var(--ivory-deep);
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.9rem;
}

.score-readiness-report {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.score-report-intro {
  max-width: 920px;
}

.score-report-intro h2 {
  color: var(--navy);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 800;
  margin: 6px 0 10px;
}

.score-report-intro p {
  color: var(--neutral);
  margin: 0;
}

.score-preview-table-wrap {
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(21, 36, 58, 0.09);
  border-radius: var(--radius);
  box-shadow: 0 16px 44px rgba(28, 35, 47, 0.08);
  overflow: hidden;
}

.score-preview-heading {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 18px 20px;
}

.score-preview-heading h3 {
  color: var(--navy);
  font-size: 1.08rem;
  font-weight: 900;
  margin: 0;
}

.score-preview-heading span {
  background: rgba(76, 126, 91, 0.14);
  border-radius: 999px;
  color: #37644a;
  font-size: 0.78rem;
  font-weight: 900;
  padding: 8px 10px;
  white-space: nowrap;
}

.premium-preview-locked .score-preview-heading span {
  background: rgba(185, 128, 58, 0.16);
  color: #7a5523;
}

.score-preview-table {
  border-collapse: collapse;
  width: 100%;
}

.score-preview-table th,
.score-preview-table td {
  border-top: 1px solid rgba(21, 36, 58, 0.08);
  padding: 15px 18px;
  text-align: left;
  vertical-align: top;
}

.score-preview-table th {
  background: rgba(248, 242, 233, 0.8);
  color: var(--navy);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.score-preview-table td {
  color: var(--neutral);
  font-weight: 700;
}

.score-preview-table td:first-child {
  color: var(--navy);
}

.premium-preview-body {
  position: relative;
}

.premium-preview-locked .score-preview-table {
  filter: blur(5px);
  pointer-events: none;
  user-select: none;
}

.premium-preview-overlay {
  align-content: center;
  background: rgba(255, 255, 255, 0.7);
  display: grid;
  inset: 0;
  justify-items: center;
  padding: 24px;
  position: absolute;
  text-align: center;
}

.premium-preview-overlay strong {
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 900;
}

.premium-preview-overlay span {
  color: var(--neutral);
  font-weight: 800;
  margin-top: 6px;
}

.download-panel {
  margin-top: 28px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.54);
  border: 1px solid rgba(21, 36, 58, 0.08);
  border-radius: var(--radius);
}

.download-panel h3 {
  color: var(--navy);
  font-size: 1.3rem;
  font-weight: 800;
  margin: 0;
}

.download-panel p {
  color: var(--neutral);
  margin: 10px 0 0;
}

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

.download-grid .btn {
  min-height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.download-note {
  font-size: 0.88rem;
}

.payment-upgrade-panel {
  display: grid;
  gap: 18px;
  margin-top: 24px;
  padding: clamp(22px, 4vw, 34px);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(21, 36, 58, 0.08);
  border-radius: var(--radius);
}

.payment-upgrade-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.payment-upgrade-heading h2 {
  color: var(--navy);
  font-size: clamp(1.45rem, 3vw, 2.15rem);
  font-weight: 800;
  margin: 0;
}

.payment-upgrade-heading p {
  max-width: 720px;
  color: var(--neutral);
  margin: 10px 0 0;
}

.payment-plan-summary {
  flex: 0 0 min(240px, 100%);
  display: grid;
  gap: 4px;
  padding: 16px;
  background: var(--ivory-deep);
  border: 1px solid rgba(21, 36, 58, 0.08);
  border-radius: var(--radius);
}

.payment-plan-summary span,
.payment-plan-summary small {
  color: var(--neutral);
  font-weight: 800;
}

.payment-plan-summary strong {
  color: var(--navy);
  font-size: 1.35rem;
}

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

.payment-provider-card {
  display: grid;
  gap: 16px;
  min-width: 0;
  padding: 18px;
  background: rgba(248, 239, 232, 0.62);
  border: 1px solid rgba(21, 36, 58, 0.08);
  border-radius: var(--radius);
}

.payment-provider-card > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.payment-provider-name {
  color: var(--navy);
  font-size: 1rem;
  font-weight: 900;
}

.payment-status-pill {
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  white-space: nowrap;
}

.payment-status-pill.is-configured {
  color: #24513a;
  background: rgba(36, 81, 58, 0.12);
}

.payment-status-pill.is-pending {
  color: #7c5520;
  background: rgba(200, 150, 69, 0.16);
}

.payment-success {
  color: #24513a;
  font-weight: 900;
  margin: 0;
}

.payment-note {
  color: var(--neutral);
  font-size: 0.9rem;
  font-weight: 700;
  margin: 0;
}

.profile-card {
  position: relative;
  min-height: 100%;
  padding: 24px;
  overflow: hidden;
}

.profile-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(251, 247, 239, 0.56);
  backdrop-filter: blur(6px);
  pointer-events: none;
}

.profile-content {
  position: relative;
  z-index: 1;
}

.profile-avatar {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--navy);
  border-radius: 50%;
  font-weight: 900;
  margin-bottom: 24px;
}

.profile-stats {
  display: grid;
  gap: 10px;
  margin: 20px 0;
}

.profile-stats div {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(21, 36, 58, 0.08);
}

.profile-stats span {
  color: var(--neutral);
  font-size: 0.84rem;
  font-weight: 700;
}

.profile-stats strong {
  color: var(--navy);
  font-size: 0.9rem;
  text-align: right;
}

.profile-suggestion-reason {
  padding: 14px;
  border-radius: 14px;
  background: rgba(21, 36, 58, 0.05);
}

.compatibility-card-score {
  display: grid;
  gap: 4px;
  padding: 14px;
  margin-bottom: 14px;
  border-radius: 14px;
  background: rgba(190, 145, 67, 0.12);
}

.compatibility-card-score span,
.compatibility-card-score small {
  color: var(--neutral);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.compatibility-card-score strong {
  color: var(--navy);
  font-size: 1.8rem;
  line-height: 1;
}

.compatibility-card-score small {
  text-transform: none;
}

.compatibility-dimensions {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.compatibility-dimensions div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 5px 10px;
}

.compatibility-dimensions span,
.compatibility-dimensions strong {
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 800;
}

.compatibility-dimensions strong {
  color: var(--neutral);
}

.compatibility-dimensions em {
  grid-column: 1 / -1;
  display: block;
  height: 7px;
  max-width: 100%;
  background: linear-gradient(90deg, var(--gold), var(--navy));
  border-radius: 999px;
}

.profile-suggestion-reason strong {
  display: block;
  color: var(--navy);
  font-size: 0.86rem;
  margin-bottom: 6px;
}

.profile-suggestion-reason p,
.profile-no-contact {
  color: var(--neutral);
  font-size: 0.9rem;
  line-height: 1.55;
  margin: 0;
}

.profile-signal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

.profile-signal-tags span {
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--navy);
  background: rgba(190, 145, 67, 0.13);
  font-size: 0.8rem;
  font-weight: 800;
}

.connect-request-controls {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.connect-request-controls label {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 9px;
  align-items: flex-start;
  color: var(--neutral);
  font-size: 0.86rem;
  font-weight: 750;
  line-height: 1.45;
}

.connect-request-controls input {
  margin-top: 3px;
  accent-color: var(--navy);
}

.connect-request-controls .btn {
  width: 100%;
}

.connect-request-controls small {
  color: var(--neutral);
  font-weight: 850;
}

.locked-btn {
  width: 100%;
  color: var(--white);
  background: rgba(21, 36, 58, 0.72);
  border-color: transparent;
}

.profile-no-contact {
  margin-top: 12px;
}

.dashboard-root {
  display: grid;
  gap: 22px;
}

.dashboard-hero-panel,
.dashboard-panel {
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(21, 36, 58, 0.09);
  border-radius: var(--radius);
  box-shadow: 0 16px 44px rgba(28, 35, 47, 0.08);
}

.dashboard-hero-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(28px, 5vw, 52px);
}

.dashboard-hero-panel h1 {
  max-width: 820px;
  color: var(--navy);
  font-size: clamp(2.2rem, 4.6vw, 4.3rem);
  font-weight: 800;
  line-height: 1.06;
  margin: 0;
}

.dashboard-hero-panel p {
  max-width: 760px;
  color: var(--neutral);
  font-size: 1.08rem;
  margin: 16px 0 0;
}

.dashboard-avatar {
  flex: 0 0 auto;
  width: clamp(86px, 14vw, 136px);
  height: clamp(86px, 14vw, 136px);
  display: grid;
  place-items: center;
  color: var(--white);
  background: linear-gradient(145deg, var(--navy), #263c61);
  border-radius: 50%;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, 0.9fr));
  gap: 16px;
}

.dashboard-panel {
  min-width: 0;
  padding: 24px;
}

.dashboard-panel h2 {
  color: var(--navy);
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 0;
}

.dashboard-panel p {
  color: var(--neutral);
  margin: 14px 0 0;
}

.dashboard-detail-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.dashboard-detail-list div,
.dashboard-score-values div {
  display: grid;
  gap: 3px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(21, 36, 58, 0.08);
}

.dashboard-detail-list span,
.dashboard-score-values span {
  color: var(--neutral);
  font-size: 0.82rem;
  font-weight: 800;
}

.dashboard-detail-list strong,
.dashboard-score-values strong {
  min-width: 0;
  color: var(--navy);
  overflow-wrap: anywhere;
}

.dashboard-score-panel {
  color: var(--white);
  background: linear-gradient(145deg, var(--navy), #263c61);
}

.dashboard-score-panel .eyebrow,
.dashboard-score-panel h2,
.dashboard-score-panel p,
.dashboard-score-panel span,
.dashboard-score-panel strong {
  color: var(--white);
}

.dashboard-score-panel p {
  color: rgba(255, 255, 255, 0.78);
}

.dashboard-score-panel .category-meter {
  background: rgba(255, 255, 255, 0.18);
}

.dashboard-score-values {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.dashboard-score-values strong {
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
}

.dashboard-progress {
  margin-top: 20px;
  overflow: hidden;
}

.dashboard-progress span {
  display: block;
  height: 100%;
  background: var(--gold);
  border-radius: inherit;
}

.dashboard-actions-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.dashboard-ai-insight-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background:
    radial-gradient(circle at 98% 0%, rgba(200, 139, 136, 0.16), transparent 30%),
    rgba(255, 255, 255, 0.74);
}

.dashboard-ai-insight-panel small {
  display: block;
  color: var(--neutral);
  margin-top: 12px;
  font-weight: 700;
}

.dashboard-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.dashboard-answer-list {
  display: grid;
  gap: 10px;
}

.dashboard-answer-row {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(21, 36, 58, 0.08);
  border-radius: var(--radius);
}

.dashboard-answer-row > div {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.dashboard-answer-row span {
  display: inline-grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: var(--navy);
  background: var(--gold);
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 900;
}

.dashboard-answer-row strong,
.dashboard-answer-row p,
.dashboard-answer-row small {
  min-width: 0;
  overflow-wrap: anywhere;
}

.dashboard-answer-row strong {
  color: var(--navy);
  font-size: 0.95rem;
  line-height: 1.35;
}

.dashboard-answer-row p {
  color: var(--neutral);
  font-weight: 700;
  margin: 0;
}

.dashboard-answer-row small {
  justify-self: end;
  padding: 6px 9px;
  color: #7b4f13;
  background: #f8e6bd;
  border-radius: 999px;
  font-weight: 900;
}

.dashboard-answer-row.is-complete small {
  color: #24513a;
  background: #dff1e7;
}

.checklist-page {
  min-height: 100vh;
  padding: 70px 0;
  background:
    radial-gradient(circle at 88% 8%, rgba(200, 139, 136, 0.2), transparent 28%),
    linear-gradient(180deg, var(--ivory) 0%, #f6eee4 100%);
}

.checklist-hero,
.checklist-lock {
  padding: clamp(28px, 5vw, 54px);
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(21, 36, 58, 0.09);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.checklist-hero h1,
.checklist-lock h2 {
  max-width: 820px;
  color: var(--navy);
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  font-weight: 800;
  line-height: 1.04;
}

.checklist-hero p,
.checklist-lock p {
  max-width: 760px;
  color: var(--neutral);
  font-size: 1.08rem;
  margin: 18px 0 0;
}

.checklist-progress {
  height: 14px;
  margin: 32px 0 12px;
  background: var(--ivory-deep);
  border-radius: 999px;
  overflow: hidden;
}

.checklist-progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), #e5ba69);
  border-radius: inherit;
}

.checklist-percent {
  color: var(--navy);
  font-size: 1rem;
}

.checklist-sections {
  display: grid;
  gap: 20px;
  margin: 28px 0;
}

.checklist-status-panel,
.checklist-section-card {
  padding: clamp(22px, 4vw, 34px);
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(21, 36, 58, 0.09);
  border-radius: var(--radius);
  box-shadow: 0 12px 34px rgba(28, 35, 47, 0.08);
}

.status-lines {
  display: grid;
  gap: 8px;
}

.status-lines p {
  margin: 0;
  color: var(--navy);
  font-weight: 800;
}

.checklist-section-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.checklist-section-header h2 {
  color: var(--navy);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  margin: 0;
}

.checklist-section-header strong {
  color: var(--navy);
  font-size: 1.4rem;
  font-weight: 800;
}

.section-progress {
  margin: 18px 0;
}

.checklist-task-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.checklist-task {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: rgba(251, 247, 239, 0.72);
  border: 1px solid rgba(21, 36, 58, 0.08);
  border-radius: 14px;
}

.checklist-task input {
  width: 22px;
  height: 22px;
  margin: 0;
  accent-color: var(--gold);
}

.checklist-task span {
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
}

.checklist-task.is-complete span {
  color: #24513a;
  background: #dff1e7;
}

.checklist-task.is-pending span {
  color: #7b4f13;
  background: #f8e6bd;
}

.checklist-task p {
  color: var(--navy-soft);
  font-weight: 700;
  margin: 0;
}

.checklist-lock {
  background: linear-gradient(135deg, rgba(21, 36, 58, 0.94), rgba(36, 54, 83, 0.9));
}

.checklist-lock .eyebrow,
.checklist-lock h2 {
  color: var(--white);
}

.checklist-lock p {
  color: rgba(255, 255, 255, 0.76);
}

.checklist-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

@media (max-width: 991.98px) {
  .hero-section {
    min-height: auto;
    padding-top: 62px;
  }

  .hero-visual {
    min-height: 420px;
  }

  .form-layout {
    grid-template-columns: 1fr;
  }

  .admin-question-layout {
    grid-template-columns: 1fr;
  }

  .payment-provider-grid,
  .payment-provider-actions {
    grid-template-columns: 1fr;
  }

  .profile-suggestion-summary {
    grid-template-columns: 1fr;
  }

  .phase4-tabs {
    top: 66px;
  }

  .privacy-controls-heading {
    flex-direction: column;
  }

  .compatibility-preview-heading {
    flex-direction: column;
  }

  .connect-request-heading {
    flex-direction: column;
  }

  .messaging-preview-heading {
    flex-direction: column;
  }

  .recommendation-preview-heading {
    flex-direction: column;
  }

  .connect-request-count,
  .message-draft-count {
    width: 100%;
    place-items: start;
  }

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

  .dashboard-actions-panel,
  .dashboard-ai-insight-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .ai-report-heading {
    flex-direction: column;
  }

  .payment-upgrade-heading {
    flex-direction: column;
  }

  .ai-report-sections {
    grid-template-columns: 1fr;
  }

  .dashboard-actions {
    justify-content: flex-start;
  }

  .form-copy {
    padding: 0;
  }

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

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

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

@media (max-width: 767.98px) {
  body {
    width: 100%;
  }

  main,
  section {
    max-width: 100%;
    overflow-x: clip;
  }

  .row {
    --bs-gutter-x: 0;
    margin-left: 0;
    margin-right: 0;
  }

  .display-heading {
    max-width: 280px;
    font-size: 1.95rem;
    line-height: 1.06;
  }

  .hero-section .lead-copy,
  .hero-trust-line {
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
  }

  .trust-row,
  .benefit-grid,
  .problem-grid,
  .start-promises,
  .ai-insight-grid,
  .category-grid,
  .compatibility-preview-grid,
  .message-preview-form,
  .privacy-toggle-grid,
  .profile-source-grid,
  .download-grid {
    grid-template-columns: 1fr;
  }

  .checklist-task-list {
    grid-template-columns: 1fr;
  }

  .benefit-item-wide {
    grid-column: auto;
  }

  .hero-actions,
  .question-actions {
    width: 100%;
    flex-direction: column;
  }

  .hero-actions .btn,
  .question-actions .btn {
    width: 100%;
  }

  .minimal-hero-copy .hero-actions .btn {
    width: min(100%, 340px);
  }

  .hero-visual {
    min-height: auto;
    padding: 28px 18px;
    border-radius: 18px 18px 54px 18px;
  }

  .quiz-bridge {
    grid-template-columns: 1fr;
    max-width: calc(100vw - 24px);
    padding: 22px;
    overflow: hidden;
  }

  .quiz-bridge-copy {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
  }

  .quiz-bridge-copy h2 {
    max-width: 100%;
    font-size: 1.35rem !important;
    overflow-wrap: anywhere;
  }

  .quiz-bridge-copy .section-copy {
    max-width: 260px;
    font-size: 0.95rem;
  }

  .quiz-bridge-points {
    display: none;
  }

  .score-card-main {
    width: 205px;
    min-height: 205px;
  }

  .score-card-main strong {
    font-size: 2.45rem;
  }

  .insight-pill {
    position: static;
    max-width: 100%;
    margin-top: 12px;
  }

  .insight-chip {
    position: static;
    display: inline-flex;
    margin-top: 10px;
    margin-right: 8px;
  }

  .score-orbit {
    width: 100%;
    aspect-ratio: auto;
    align-content: center;
  }

  .section,
  .page-shell {
    padding: 58px 0;
  }

  body[data-page="profiles"] .page-shell {
    padding-bottom: 190px;
  }

  .phase4-tabs {
    top: 0;
    margin-left: -2px;
    margin-right: -2px;
  }

  .story-panel,
  .future-panel,
  .position-card,
  .audience-card {
    padding: 28px;
  }

  .container {
    max-width: 100%;
  }

  .question-card {
    padding: 24px;
  }

  .otp-panel-header,
  .otp-input-row {
    flex-direction: column;
  }

  .otp-send-btn,
  .otp-verify-btn {
    width: 100%;
  }

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

  .dashboard-hero-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .dashboard-avatar {
    width: 84px;
    height: 84px;
    font-size: 1.5rem;
  }

  .dashboard-actions,
  .dashboard-actions .btn {
    width: 100%;
  }

  .dashboard-answer-row {
    grid-template-columns: 1fr;
  }

  .ai-report-answer-source p {
    grid-template-columns: 1fr;
  }

  .score-preview-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .score-preview-table-wrap {
    overflow-x: auto;
  }

  .score-preview-table {
    min-width: 680px;
  }

  .dashboard-answer-row small {
    justify-self: start;
  }

  .admin-option-head {
    display: none;
  }

  .recommendation-list article {
    grid-template-columns: 1fr;
  }
}

/* Global UI system pass: static frontend parity with PHP UI. */
:root {
  --twk-static-panel: rgba(255, 255, 255, 0.9);
  --twk-static-panel-dark: rgba(31, 41, 55, 0.9);
  --twk-static-line: rgba(21, 36, 58, 0.14);
  --twk-static-copy: #40372f;
  --twk-static-heading: #15243a;
}

html {
  background: #111827;
}

.minimal-hero,
.hero-section {
  min-height: 64vh;
}

.display-heading,
.section-title,
.question-screen h1,
.quiz-submit-screen h1,
.ai-insight-heading h2,
.ai-report-heading h2 {
  letter-spacing: 0;
}

.feature-card,
.benefit-item,
.problem-card,
.audience-card,
.position-card,
.story-panel,
.future-panel,
.intro-card,
.static-form,
.profile-suggestion-summary,
.privacy-controls-preview,
.compatibility-matching-preview,
.connect-request-preview,
.messaging-system-preview,
.match-recommendations-preview,
.ai-insight-panel,
.ai-report-panel,
.ai-insight-grid article,
.ai-report-sections article,
.recommendation-source-card,
.recommendation-list article {
  background: var(--twk-static-panel);
  border-color: var(--twk-static-line);
  border-radius: 8px;
  color: var(--twk-static-heading);
}

.feature-card h3,
.benefit-item h3,
.problem-card h3,
.audience-card h3,
.position-card h3,
.story-panel h2,
.future-panel h2,
.intro-card h2,
.profile-suggestion-summary h2,
.privacy-controls-heading h2,
.compatibility-preview-heading h2,
.connect-request-heading h2,
.messaging-preview-heading h2,
.recommendation-preview-heading h2,
.ai-insight-heading h2,
.ai-report-heading h2,
.ai-insight-grid strong,
.ai-report-sections h3,
.recommendation-source-card strong,
.recommendation-list h3,
.recommendation-list p strong {
  color: var(--twk-static-heading);
}

.feature-card p,
.benefit-item p,
.problem-card p,
.audience-card p,
.position-card p,
.story-panel p,
.future-panel p,
.intro-card p,
.section-copy,
.profile-suggestion-summary p,
.privacy-controls-heading p,
.compatibility-preview-heading p,
.connect-request-heading p,
.messaging-preview-heading p,
.recommendation-preview-heading p,
.recommendation-note,
.recommendation-list p,
.ai-insight-heading p,
.ai-insight-grid p,
.ai-report-heading p,
.ai-report-status span,
.ai-report-sections p,
.ai-report-answer-source span {
  color: var(--twk-static-copy);
}

.question-card,
.question-option,
.quiz-submit-screen,
.insight-box,
.score-card-main,
.score-orbit,
.dashboard-ai-insight-panel {
  border-radius: 8px;
}

.question-topline,
.flow-note,
.question-save-status,
.quiz-submit-screen p,
.insight-box {
  color: rgba(249, 250, 251, 0.88);
}

.static-form input,
.static-form select,
.static-form textarea,
.message-preview-form input,
.message-preview-form select,
.message-preview-form textarea {
  color: var(--twk-static-heading);
  max-width: 100%;
  min-width: 0;
}

.static-form input::placeholder,
.message-preview-form input::placeholder,
.message-preview-form textarea::placeholder {
  color: rgba(64, 55, 47, 0.7);
}

.recommendation-rank,
.profile-source-grid span,
.ai-insight-context span {
  color: var(--twk-static-heading);
}

.site-footer,
.lower-cta {
  background-color: #111827;
  color: rgba(249, 250, 251, 0.9);
}

.site-footer p,
.lower-cta p {
  color: rgba(249, 250, 251, 0.82);
}

@media (max-width: 720px) {
  .minimal-hero,
  .hero-section {
    min-height: auto;
  }

  .static-form,
  .question-card,
  .ai-insight-panel,
  .ai-report-panel,
  .match-recommendations-preview {
    padding: 20px;
  }

  .recommendation-preview-heading,
  .ai-report-heading {
    flex-direction: column;
  }
}
