:root {
  color-scheme: dark;
  --bg: #101011;
  --bg-soft: #171619;
  --card: #201f24;
  --card-2: #2a282f;
  --line: #39343d;
  --text: #fff7f5;
  --muted: #c8bdc1;
  --soft: #91858b;
  --accent: #c83f55;
  --accent-dark: #8e2538;
  --accent-soft: #f0788d;
  --purple: #8e5ab7;
  --logo-navy: #151020;
  --logo-pink: #ff4f91;
  --logo-violet: #9a5cff;
  --good: #64d69b;
  --warn: #f0c56b;
  --bad: #ef7474;
  --radius: 22px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(180deg, #101011 0%, #181417 46%, #111012 100%);
  color: var(--text);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(200, 63, 85, 0.12), transparent 38%),
    linear-gradient(240deg, rgba(142, 90, 183, 0.11), transparent 42%);
  opacity: 0.9;
}

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

button {
  cursor: pointer;
}

a {
  color: inherit;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(2.5rem, 10vw, 5.9rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(1.55rem, 5vw, 2.55rem);
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.15rem;
}

p,
li {
  color: var(--muted);
  line-height: 1.62;
}

.loading-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.app-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
}

.public-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(10px, 2vw, 22px);
  padding: 12px max(16px, env(safe-area-inset-left)) 12px max(16px, env(safe-area-inset-right));
  background: rgba(13, 12, 15, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.075);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(20px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  flex: 0 0 auto;
  text-decoration: none;
  color: var(--text);
}

.unlocked-logo {
  display: block;
  width: clamp(148px, 20vw, 208px);
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 0 10px rgba(255, 79, 145, 0.12));
  transform-origin: left center;
  animation: logo-enter 560ms ease-out both;
}

.unlocked-logo .logo-mark,
.unlocked-logo .lock-shackle,
.unlocked-logo .lock-body,
.unlocked-logo .heart-shape,
.unlocked-logo .spark,
.unlocked-logo .pulse-line,
.unlocked-logo .wordmark-o {
  transform-box: fill-box;
  transform-origin: center;
}

.unlocked-logo .lock-shackle {
  transform-origin: center bottom;
  animation: logo-shackle-load 620ms 140ms ease-out both;
}

.unlocked-logo .heart-shape {
  animation: logo-heart-load 660ms 180ms ease-out both;
}

.unlocked-logo .spark {
  transform-origin: center;
  animation: logo-spark-load 760ms 220ms ease-out both;
}

.unlocked-logo .pulse-line {
  stroke-dasharray: 86;
  stroke-dashoffset: 0;
}

.unlocked-logo .lock-shackle,
.unlocked-logo .heart-shape,
.unlocked-logo .spark,
.unlocked-logo .wordmark-o {
  transition: transform 240ms ease, opacity 240ms ease, stroke 240ms ease;
}

.brand:hover .unlocked-logo .lock-shackle,
.brand:focus-visible .unlocked-logo .lock-shackle {
  transform: translate(-1px, -1.5px) rotate(-3deg);
}

.brand:hover .unlocked-logo .heart-shape,
.brand:focus-visible .unlocked-logo .heart-shape {
  transform: scale(1.014);
}

.brand:hover .unlocked-logo .spark,
.brand:focus-visible .unlocked-logo .spark {
  transform: scale(1.08) rotate(7deg);
  opacity: 1;
}

.brand:hover .unlocked-logo .wordmark-o,
.brand:focus-visible .unlocked-logo .wordmark-o {
  transform: rotate(-9deg);
  stroke: var(--logo-pink);
}

.brand:hover .unlocked-logo .pulse-line,
.brand:focus-visible .unlocked-logo .pulse-line {
  animation: logo-pulse-line 760ms ease-in-out;
}

.nav {
  display: none;
  gap: 6px;
  align-items: center;
}

.nav a {
  color: var(--muted);
  font-weight: 760;
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 999px;
  transition: color 180ms ease, background 180ms ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.header-cta {
  flex: 0 0 auto;
  white-space: nowrap;
  min-height: 44px;
  padding-inline: 16px;
}

.main {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: clamp(20px, 4vw, 34px) 16px 54px;
}

.hero {
  display: grid;
  gap: clamp(26px, 5vw, 48px);
  min-height: min(780px, calc(100vh - 70px));
  align-items: center;
  padding: clamp(26px, 5vw, 58px) 0 clamp(28px, 5vw, 54px);
}

.hero-copy {
  max-width: 650px;
  animation: frontpage-rise 620ms ease-out both;
}

.hero h1 {
  max-width: 640px;
  margin-bottom: 18px;
  font-size: clamp(2.35rem, 6.2vw, 4.35rem);
  line-height: 1.01;
}

.hero p {
  max-width: 610px;
  font-size: clamp(1.02rem, 2vw, 1.18rem);
  line-height: 1.66;
}

.match-insights {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: 20px;
  padding: clamp(18px, 3vw, 28px);
  overflow: hidden;
  border: 1px solid rgba(231, 116, 255, 0.18);
  border-radius: 30px;
  background: #010117;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.36);
  animation: frontpage-rise 720ms 80ms ease-out both;
}

.match-insights::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 45%;
  width: 160px;
  height: 120px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 79, 145, 0.16), transparent 66%);
  transform: translate(-50%, -50%);
  opacity: 0.6;
  pointer-events: none;
  animation: match-heart-pulse 4.8s ease-in-out infinite;
  z-index: 0;
}

.match-insights > * {
  position: relative;
  z-index: 1;
}

.match-insights-copy {
  display: grid;
  gap: 10px;
  max-width: 680px;
}

.match-insights h2,
.match-insights h3,
.match-insights p {
  margin: 0;
}

.match-insights h2 {
  max-width: 560px;
  font-size: clamp(1.45rem, 3.6vw, 2.15rem);
  line-height: 1.12;
}

.hero .match-insights-copy p {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(0.98rem, 2vw, 1.06rem);
  line-height: 1.55;
}

.match-insights-hero {
  display: block;
  width: min(100%, 560px);
  height: auto;
  margin: -2px auto 0;
  background: #010117;
  border-radius: 22px;
  animation: hero-float 7s ease-in-out infinite;
}

.match-insights-grid {
  display: grid;
  gap: 12px;
}

.match-insights-card {
  display: grid;
  grid-template-rows: auto auto 1fr;
  align-content: start;
  gap: 9px;
  min-height: 100%;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background: #010117;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.match-insights-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 79, 145, 0.24);
  background: #05051b;
}

.match-insights-card img {
  width: 62px;
  height: 62px;
  object-fit: cover;
  border-radius: 999px;
  background: #010117;
  justify-self: center;
}

.match-insights-card h3 {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.18;
  text-align: center;
}

.hero .match-insights-card p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.48;
  text-align: center;
}

.section {
  padding: clamp(44px, 7vw, 78px) 0;
}

.section-header {
  max-width: 680px;
  margin-bottom: 22px;
}

.section-header p {
  max-width: 560px;
}

.grid {
  display: grid;
  gap: 16px;
}

.cards {
  display: grid;
  gap: 14px;
}

.card,
.pack-card,
.question-card,
.locked-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background: rgba(32, 31, 36, 0.92);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.24);
}

.card,
.pack-card,
.question-card,
.locked-card {
  padding: 18px;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}

.card:hover,
.pack-card:hover,
.locked-card:hover {
  transform: translateY(-2px);
  border-color: rgba(240, 120, 141, 0.24);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
}

.icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  vertical-align: -0.18em;
}

.icon-badge {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.icon-badge .icon {
  width: 20px;
  height: 20px;
}

.icon-badge.lg {
  width: 48px;
  height: 48px;
  border-radius: 16px;
}

.icon-badge.lg .icon {
  width: 24px;
  height: 24px;
}

.icon-badge.red {
  color: #ffdbe1;
  background: linear-gradient(135deg, rgba(200, 63, 85, 0.3), rgba(142, 37, 56, 0.22));
}

.icon-badge.purple {
  color: #f2ddff;
  background: linear-gradient(135deg, rgba(142, 90, 183, 0.32), rgba(200, 63, 85, 0.14));
}

.icon-badge.green {
  color: #ddffec;
  background: rgba(100, 214, 155, 0.14);
}

.card-heading {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

.card-heading h2 {
  margin: 0;
}

.home-panel-grid {
  align-items: stretch;
  gap: 18px;
}

.home-panel-card {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 16px;
  min-height: 100%;
  padding: 12px 12px 16px;
  overflow: hidden;
  animation: frontpage-rise 560ms ease-out both;
}

.home-panel-image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  transition: transform 520ms ease;
}

.home-panel-card:hover .home-panel-image {
  transform: scale(1.025);
}

.home-panel-body {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 0 5px;
}

.home-panel-eyebrow {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  padding: 4px 9px;
  border-radius: 999px;
  color: #ffdbe4;
  background: rgba(200, 63, 85, 0.12);
  border: 1px solid rgba(200, 63, 85, 0.14);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
}

.home-panel-card:nth-child(n + 4) .home-panel-eyebrow {
  color: #eedcff;
  background: rgba(142, 90, 183, 0.14);
  border-color: rgba(142, 90, 183, 0.18);
}

.home-panel-eyebrow .icon {
  color: var(--accent);
}

.home-panel-card h2 {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.25;
}

.home-panel-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

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

.icon-list span,
.icon-line,
.field-title {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.field-title {
  color: var(--muted);
}

.check-label span {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.locked-glow {
  border-color: rgba(200, 63, 85, 0.22);
  box-shadow: 0 18px 68px rgba(200, 63, 85, 0.11);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  padding: 0 20px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-weight: 850;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  box-shadow: 0 14px 36px rgba(200, 63, 85, 0.2);
}

.button.primary:hover,
.button.primary:focus-visible {
  box-shadow: 0 18px 44px rgba(240, 120, 141, 0.28);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.09);
}

.button.ghost {
  border: 1px solid var(--line);
  background: transparent;
}

.button.ghost:hover,
.button.ghost:focus-visible {
  border-color: rgba(240, 120, 141, 0.36);
  background: rgba(255, 255, 255, 0.045);
}

.button.full {
  width: 100%;
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.62;
  transform: none;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  min-height: 30px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.badge .icon,
.button .icon {
  width: 17px;
  height: 17px;
}

.badge.good {
  color: #d9ffe9;
  background: rgba(100, 214, 155, 0.16);
}

.badge.warn {
  color: #ffe9b7;
  background: rgba(240, 197, 107, 0.16);
}

.badge.locked {
  color: #ffd4dc;
  background: rgba(200, 63, 85, 0.18);
}

.start-page {
  padding-top: clamp(24px, 5vw, 58px);
}

.start-layout {
  display: grid;
  gap: clamp(22px, 5vw, 46px);
  align-items: start;
}

.start-intro {
  display: grid;
  gap: 18px;
  max-width: 650px;
}

.start-intro h1 {
  margin: 0;
  font-size: clamp(2.25rem, 6vw, 4.2rem);
  line-height: 1.02;
}

.start-intro > p {
  max-width: 590px;
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.13rem);
}

.start-steps {
  display: grid;
  gap: 10px;
  margin-top: 6px;
}

.start-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
}

.start-step span {
  display: grid;
  gap: 2px;
}

.start-step strong {
  color: var(--text);
}

.start-step small {
  color: var(--muted);
  line-height: 1.45;
}

.start-context {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  padding: 13px 14px;
  border: 1px solid rgba(142, 90, 183, 0.18);
  border-radius: 18px;
  background: rgba(142, 90, 183, 0.09);
}

.start-context .icon {
  margin-top: 3px;
  color: #e8cfff;
}

.start-card {
  gap: 18px;
  padding: clamp(18px, 3vw, 26px);
  border-color: rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.045), transparent 40%),
    rgba(32, 31, 36, 0.95);
}

.start-card-header {
  display: grid;
  gap: 8px;
}

.start-card-header h2,
.start-card-header p {
  margin: 0;
}

.start-card-header h2 {
  font-size: clamp(1.45rem, 3.5vw, 2.15rem);
}

.start-form-grid {
  gap: 13px;
}

.start-field-full {
  grid-column: 1 / -1;
}

.start-consents {
  display: grid;
  gap: 10px;
}

.start-consents label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 13px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  font-weight: 780;
}

.start-consents input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 2px 0 0;
  accent-color: var(--accent);
  flex: 0 0 auto;
}

.start-consents span {
  display: inline-flex;
  gap: 8px;
  align-items: flex-start;
  line-height: 1.45;
}

.start-consents .icon {
  margin-top: 1px;
  color: var(--accent-soft);
}

.start-turnstile {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 0;
  font-size: 0.94rem;
}

.start-submit {
  min-height: 54px;
}

.start-message {
  margin: 0;
}

.start-message:empty {
  display: none;
}

.form {
  display: grid;
  gap: 14px;
}

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

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 760;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 11px 13px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
}

textarea {
  min-height: 98px;
  resize: vertical;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(240, 120, 141, 0.35);
  outline-offset: 2px;
}

.hint,
.muted {
  color: var(--muted);
}

.small {
  font-size: 0.9rem;
}

.message {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--muted);
}

.message.error {
  color: #ffd6d6;
  background: rgba(239, 116, 116, 0.14);
}

.message.success {
  color: #d9ffe9;
  background: rgba(100, 214, 155, 0.14);
}

.progress {
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

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

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

.choice-button {
  width: 100%;
  min-height: 58px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.075);
  color: var(--text);
  text-align: left;
  font-weight: 820;
}

.choice-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
}

.choice-check {
  display: inline-flex;
  color: var(--accent-soft);
  opacity: 0;
  transform: scale(0.82);
  transition: opacity 160ms ease, transform 160ms ease;
}

.choice-button.selected {
  border-color: rgba(240, 120, 141, 0.75);
  background: rgba(200, 63, 85, 0.22);
}

.choice-button.selected .choice-check {
  opacity: 1;
  transform: scale(1);
}

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

.status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.locked-grid,
.stat-grid {
  display: grid;
  gap: 12px;
}

.stat {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  display: grid;
  gap: 8px;
}

.stat strong {
  display: block;
  font-size: 2rem;
}

.bar {
  display: grid;
  gap: 8px;
}

.bar-track {
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--purple));
}

.pie {
  width: 148px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(var(--good) 0 var(--positive), var(--warn) var(--positive) var(--neutral), var(--bad) var(--neutral) 100%);
  box-shadow: inset 0 0 0 26px var(--card);
}

.completed-soft {
  opacity: 0.72;
}

.legal-content {
  max-width: 820px;
}

.legal-content .card {
  margin-bottom: 16px;
}

.blog-strip {
  padding-top: clamp(26px, 5vw, 52px);
}

.blog-actions {
  margin-top: 18px;
}

.blog-grid {
  align-items: stretch;
}

.blog-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100%;
  overflow: hidden;
}

.blog-card-image {
  display: block;
  width: calc(100% + 36px);
  max-width: none;
  aspect-ratio: 16 / 9;
  height: auto;
  margin: -18px -18px 16px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.05);
}

.blog-card-icon {
  margin-bottom: 16px;
}

.blog-card-body {
  display: grid;
  align-content: start;
  gap: 10px;
}

.blog-card h2 {
  margin: 0;
  font-size: 1.22rem;
  line-height: 1.22;
}

.blog-card p {
  margin: 0;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  color: var(--soft);
  font-size: 0.9rem;
}

.text-link,
.back-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  width: fit-content;
  color: #ffd8e0;
  font-weight: 850;
  text-decoration: none;
}

.text-link:hover,
.text-link:focus-visible,
.back-link:hover,
.back-link:focus-visible {
  color: var(--text);
}

.article-page {
  max-width: 900px;
  margin-inline: auto;
}

.article-card {
  padding: clamp(22px, 5vw, 44px);
}

.article-card h1 {
  margin-top: 18px;
  font-size: clamp(2.1rem, 6vw, 4.1rem);
  line-height: 1.02;
}

.article-excerpt {
  max-width: 700px;
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  color: #e3d6da;
}

.article-cover {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 22px 0;
  border-radius: 18px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.article-prose {
  display: grid;
  gap: 14px;
  max-width: 760px;
  margin-top: 22px;
}

.article-prose h2,
.article-prose h3,
.article-prose p,
.article-prose ul,
.article-prose ol {
  margin: 0;
}

.article-prose h2 {
  padding-top: 12px;
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.article-prose h3 {
  padding-top: 8px;
  color: var(--text);
}

.article-prose ul,
.article-prose ol {
  display: grid;
  gap: 8px;
  padding-left: 22px;
}

.article-prose strong {
  color: var(--text);
}

.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.085);
  padding: 36px 16px 48px;
  background: linear-gradient(180deg, rgba(16, 16, 17, 0), rgba(1, 1, 23, 0.38));
  color: var(--muted);
}

.footer-inner {
  width: min(100%, 1180px);
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.footer strong {
  color: var(--text);
  font-size: 1.08rem;
  letter-spacing: 0.08em;
}

.footer p {
  max-width: 620px;
  margin: 0;
}

.footer-trust {
  width: fit-content;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #e6dade;
  font-size: 0.92rem;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}

.footer a {
  color: var(--muted);
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 999px;
  transition: color 180ms ease, background 180ms ease;
}

.footer a:hover,
.footer a:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.055);
}

.toast {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 70;
  max-width: min(360px, calc(100vw - 32px));
  padding: 14px 16px;
  border-radius: 16px;
  background: #2a242b;
  border: 1px solid var(--line);
  color: var(--text);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

@keyframes frontpage-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@keyframes match-heart-pulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(0.96);
    opacity: 0.34;
  }
  48% {
    transform: translate(-50%, -50%) scale(1.06);
    opacity: 0.62;
  }
}

@keyframes logo-enter {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes logo-shackle-load {
  0% {
    transform: translate(-1px, -2px) rotate(-4deg);
  }
  72% {
    transform: translate(0, 0.5px) rotate(0.8deg);
  }
  100% {
    transform: translate(0, 0) rotate(0);
  }
}

@keyframes logo-heart-load {
  0%,
  100% {
    transform: scale(1);
  }
  42% {
    transform: scale(1.018);
  }
}

@keyframes logo-spark-load {
  0%,
  42% {
    opacity: 0;
    transform: scale(0.82) rotate(-5deg);
  }
  68% {
    opacity: 1;
    transform: scale(1.08) rotate(5deg);
  }
  100% {
    opacity: 0.9;
    transform: scale(1) rotate(0);
  }
}

@keyframes logo-pulse-line {
  0% {
    stroke-dashoffset: 86;
  }
  100% {
    stroke-dashoffset: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto;
  }

  .hero-copy,
  .match-insights,
  .match-insights::after,
  .match-insights-hero,
  .home-panel-card {
    animation: none;
  }

  .card,
  .pack-card,
  .locked-card,
  .match-insights-card,
  .home-panel-image,
  .button {
    transition: none;
  }

  .unlocked-logo,
  .unlocked-logo .lock-shackle,
  .unlocked-logo .heart-shape,
  .unlocked-logo .spark,
  .brand:hover .unlocked-logo .pulse-line,
  .brand:focus-visible .unlocked-logo .pulse-line {
    animation: none;
    transition: none;
  }

  .brand:hover .unlocked-logo .lock-shackle,
  .brand:focus-visible .unlocked-logo .lock-shackle,
  .brand:hover .unlocked-logo .heart-shape,
  .brand:focus-visible .unlocked-logo .heart-shape,
  .brand:hover .unlocked-logo .spark,
  .brand:focus-visible .unlocked-logo .spark,
  .card:hover,
  .pack-card:hover,
  .locked-card:hover,
  .match-insights-card:hover,
  .button:hover,
  .home-panel-card:hover .home-panel-image {
    transform: none;
  }
}

@media (max-width: 430px) {
  .public-header {
    gap: 8px;
  }

  .unlocked-logo {
    width: 136px;
  }

  .header-cta {
    min-height: 42px;
    padding-inline: 13px;
  }

  .header-cta .icon {
    display: none;
  }

  .actions {
    width: 100%;
  }

  .actions .button {
    flex: 1 1 150px;
  }
}

@media (min-width: 720px) {
  .nav {
    display: flex;
  }

  .main {
    padding-inline: 24px;
  }

  .hero {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .start-layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1fr);
  }

  .start-card {
    position: sticky;
    top: 92px;
  }

  .cards,
  .locked-grid,
  .stat-grid,
  .dashboard-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

  .pack-card.wide,
  .card.wide {
    grid-column: span 2;
  }
}

@media (min-width: 1024px) {
  .cards.four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .match-insights {
    padding: 28px;
  }

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