:root {
  --bg: #faf8f5;
  --bg-soft: #f4efe8;
  --surface: #ffffff;
  --surface-2: #fffaf6;
  --surface-3: #f6ece6;
  --line: rgba(42, 27, 38, 0.09);
  --line-strong: rgba(42, 27, 38, 0.16);
  --text: #241824;
  --muted: #706169;
  --brand: #d94b6f;
  --brand-2: #c98334;
  --brand-ink: #2b0d18;
  --accent: #0e8d7b;
  --accent-soft: #d9f2ec;
  --ok: #178a5b;
  --danger: #c63a4b;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 24px 70px rgba(72, 42, 55, 0.12);
  --glass: rgba(255, 255, 255, 0.78);
  --glass-strong: rgba(255, 255, 255, 0.94);
  --nav-bg: rgba(250, 248, 245, 0.88);
  --input-bg: #fffdfb;
  --photo-bg: #efe5de;
  --soft-pink: rgba(217, 75, 111, 0.1);
  --soft-amber: rgba(201, 131, 52, 0.12);
  --soft-teal: rgba(14, 141, 123, 0.1);
  --toast-bg: #241824;
  --toast-text: #fffaf7;
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

[data-theme="dark"] {
  --bg: #0c0716;
  --bg-soft: #120b22;
  --surface: #191028;
  --surface-2: #221634;
  --surface-3: #2b1c41;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f7f2ff;
  --muted: #a99fc2;
  --brand: #ff5c8a;
  --brand-2: #ffb347;
  --brand-ink: #200a15;
  --accent: #38e8c6;
  --accent-soft: rgba(56, 232, 198, 0.12);
  --ok: #3ddc97;
  --danger: #ff5f6d;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  --glass: rgba(255, 255, 255, 0.045);
  --glass-strong: rgba(255, 255, 255, 0.065);
  --nav-bg: rgba(12, 7, 22, 0.8);
  --input-bg: rgba(10, 6, 18, 0.55);
  --photo-bg: #241834;
  --soft-pink: rgba(255, 92, 138, 0.12);
  --soft-amber: rgba(255, 179, 71, 0.12);
  --soft-teal: rgba(56, 232, 198, 0.1);
  --toast-bg: rgba(28, 18, 44, 0.96);
  --toast-text: #f7f2ff;
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(1100px 700px at 8% -8%, rgba(217, 75, 111, 0.1), transparent 60%),
    radial-gradient(900px 600px at 100% 0%, rgba(14, 141, 123, 0.07), transparent 55%),
    radial-gradient(900px 700px at 50% 110%, rgba(201, 131, 52, 0.08), transparent 60%),
    var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

button {
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.4em;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

p {
  margin: 0 0 1em;
}

.container {
  width: min(1180px, 92vw);
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.9rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  display: block;
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 10px 26px rgba(228, 47, 127, 0.28);
  flex: 0 0 auto;
}

.brand-name {
  font-size: 1.18rem;
  background: linear-gradient(100deg, var(--text), var(--brand) 55%, var(--brand-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.72rem 1.35rem;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.1;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, border-color 0.16s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.btn:active {
  transform: translateY(0);
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.btn-primary {
  background: linear-gradient(100deg, var(--brand), var(--brand-2));
  color: var(--brand-ink);
  box-shadow: 0 14px 34px rgba(217, 75, 111, 0.22);
}

.btn-primary:hover {
  box-shadow: 0 18px 40px rgba(255, 92, 138, 0.4);
}

.btn-ghost {
  background: var(--glass);
  border-color: var(--line-strong);
  color: var(--text);
}

.btn-ghost:hover {
  background: var(--glass-strong);
}

.btn-soft {
  background: rgba(255, 92, 138, 0.12);
  border-color: rgba(255, 92, 138, 0.34);
  color: var(--brand);
}

.btn-danger {
  background: rgba(255, 95, 109, 0.12);
  border-color: rgba(255, 95, 109, 0.4);
  color: var(--danger);
}

.btn-sm {
  padding: 0.48rem 0.9rem;
  font-size: 0.84rem;
}

.btn-block {
  width: 100%;
}

.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
}

.text-muted {
  color: var(--muted);
}

.small {
  font-size: 0.85rem;
}

.center {
  text-align: center;
}

/* ---------------- Landing ---------------- */

.landing-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: var(--nav-bg);
  border-bottom: 1px solid var(--line);
}

.landing-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.9rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.nav-links a:hover {
  color: var(--text);
  text-decoration: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.hero {
  position: relative;
  padding: 4.5rem 0 5rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.5rem, 5.4vw, 4.4rem);
  max-width: 12ch;
}

.hero h1 .gradient {
  background: linear-gradient(100deg, var(--brand), var(--brand-2) 60%, #ffe0a8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  color: var(--muted);
  max-width: 54ch;
  margin-bottom: 1.8rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.6rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.hero-trust svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
}

.hero-art {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.hero-art::before {
  content: "";
  position: absolute;
  inset: 8% 2% 4%;
  z-index: -1;
  border-radius: 50%;
  background:
    radial-gradient(closest-side, rgba(255, 92, 138, 0.24), transparent 72%),
    radial-gradient(closest-side at 70% 70%, rgba(56, 232, 198, 0.12), transparent 75%);
  filter: blur(32px);
}

.hero-illustration {
  width: min(100%, 620px);
  height: auto;
  filter: drop-shadow(0 36px 70px rgba(5, 2, 11, 0.5));
  animation: hero-float 9s ease-in-out infinite;
}

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

.section {
  padding: 4.5rem 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 2.4rem;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.section-head p {
  color: var(--muted);
  margin: 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.feature-card {
  background: linear-gradient(160deg, var(--glass-strong), var(--glass));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
}

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, rgba(255, 92, 138, 0.2), rgba(255, 179, 71, 0.12));
  border: 1px solid rgba(255, 92, 138, 0.28);
  color: var(--brand);
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.feature-card h3 {
  font-size: 1.05rem;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  counter-reset: step;
}

.step {
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--glass);
  position: relative;
}

.step-number {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--brand-ink);
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}

.step h3 {
  font-size: 1.02rem;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.safety-band {
  border-radius: 28px;
  border: 1px solid rgba(56, 232, 198, 0.24);
  background:
    radial-gradient(600px 300px at 15% 0%, rgba(56, 232, 198, 0.14), transparent 70%),
    linear-gradient(150deg, var(--surface), var(--bg-soft));
  padding: 3rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.safety-band h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.safety-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.safety-list li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  color: var(--muted);
  font-size: 0.95rem;
}

.safety-list svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex: 0 0 auto;
  margin-top: 0.15rem;
}

.cta-band {
  margin: 2rem 0 5rem;
  border-radius: 30px;
  padding: 3.2rem;
  text-align: center;
  background:
    radial-gradient(700px 320px at 50% 0%, rgba(255, 179, 71, 0.24), transparent 70%),
    linear-gradient(135deg, rgba(255, 92, 138, 0.9), rgba(123, 47, 247, 0.9));
  box-shadow: 0 30px 80px rgba(255, 92, 138, 0.25);
}

.cta-band h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  color: #fff;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 55ch;
  margin: 0 auto 1.6rem;
}

.cta-band .btn {
  background: #160a2a;
  color: #fff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.4rem 0 3rem;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  align-items: flex-start;
}

.footer-note {
  color: var(--muted);
  font-size: 0.82rem;
  max-width: 46ch;
  margin: 0.8rem 0 0;
}

.footer-links {
  display: flex;
  gap: 1.4rem;
  font-size: 0.88rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--text);
}

/* ---------------- Auth ---------------- */

.auth-screen {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.auth-aside {
  position: relative;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--line);
  background:
    radial-gradient(700px 500px at 10% 0%, rgba(255, 92, 138, 0.2), transparent 60%),
    radial-gradient(600px 500px at 90% 100%, rgba(56, 232, 198, 0.12), transparent 60%),
    var(--surface-2);
}

.auth-aside h2 {
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  max-width: 14ch;
}

.auth-aside p {
  color: var(--muted);
  max-width: 40ch;
}

.auth-art {
  width: clamp(210px, 24vw, 320px);
  margin: 1rem auto 1.4rem;
  filter: drop-shadow(0 26px 50px rgba(5, 2, 11, 0.45));
}

.auth-art img {
  width: 100%;
  height: auto;
}

.auth-benefits {
  list-style: none;
  padding: 0;
  margin: 1.6rem 0 0;
  display: grid;
  gap: 0.85rem;
}

.auth-benefits li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  color: var(--muted);
  font-size: 0.92rem;
}

.auth-benefits svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex: 0 0 auto;
  margin-top: 0.15rem;
}

.auth-main {
  padding: 3rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-card {
  width: min(560px, 100%);
  background: linear-gradient(170deg, var(--glass-strong), var(--glass));
  border: 1px solid var(--line-strong);
  border-radius: 26px;
  padding: 2rem;
  box-shadow: var(--shadow);
}

.auth-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.auth-tabs {
  display: flex;
  background: var(--surface-3);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.28rem;
  margin-bottom: 1.5rem;
}

.auth-tabs button {
  flex: 1;
  border: 0;
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  padding: 0.6rem 0.8rem;
  font-weight: 700;
  font-size: 0.9rem;
}

.auth-tabs button.active {
  background: linear-gradient(100deg, var(--brand), var(--brand-2));
  color: var(--brand-ink);
}

.auth-form {
  display: grid;
  gap: 1rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.field {
  display: grid;
  gap: 0.38rem;
}

.field > label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: var(--input-bg);
  padding: 0.7rem 0.85rem;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(255, 92, 138, 0.65);
  box-shadow: 0 0 0 3px rgba(255, 92, 138, 0.16);
}

.field textarea {
  resize: vertical;
  min-height: 96px;
}

.field .hint {
  font-size: 0.76rem;
  color: var(--muted);
}

.field .error-text {
  color: var(--danger);
  font-size: 0.8rem;
}

.form-error {
  display: none;
  border: 1px solid rgba(255, 95, 109, 0.4);
  background: rgba(255, 95, 109, 0.1);
  color: var(--danger);
  border-radius: 12px;
  padding: 0.65rem 0.85rem;
  font-size: 0.86rem;
}

.form-error.visible {
  display: block;
}

.auth-footnote {
  margin: 1.2rem 0 0;
  color: var(--muted);
  font-size: 0.8rem;
  text-align: center;
}

.auth-title {
  margin: 0 0 0.35rem;
  font-size: 1.3rem;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 1.1rem 0 0.9rem;
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}

.btn-google {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  background: #fff;
  border-color: #fff;
  color: #1f1f1f;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.btn-google:hover {
  background: #f2f2f2;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
}

.btn-google svg {
  flex: none;
}

.field input[readonly] {
  color: var(--muted);
  background: var(--bg-soft);
}

/* ---------------- App shell ---------------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: var(--nav-bg);
  border-bottom: 1px solid var(--line);
}

.topbar .container {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding-block: 0.7rem;
}

.mainnav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.25rem;
}

.mainnav a {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.87rem;
  font-weight: 700;
  color: var(--muted);
}

.mainnav a:hover {
  color: var(--text);
  text-decoration: none;
}

.mainnav a.active {
  background: linear-gradient(100deg, rgba(255, 92, 138, 0.9), rgba(255, 179, 71, 0.9));
  color: var(--brand-ink);
}

.topbar-user {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}

.topbar-user a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.25rem 0.6rem 0.25rem 0.25rem;
  border-radius: 999px;
  color: var(--text);
  text-decoration: none;
  border: 1px solid transparent;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.topbar-user a:hover {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.05);
}

.topbar-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.18);
}

.view {
  padding: 1.8rem 0 4rem;
  min-height: calc(100vh - 70px);
}

.view .container {
  width: min(1180px, 94vw);
  margin-inline: auto;
}

.view-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.2rem;
  margin-bottom: 1.4rem;
  flex-wrap: wrap;
}

.view-head h1 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  margin: 0;
}

.view-head p {
  color: var(--muted);
  margin: 0.35rem 0 0;
  font-size: 0.92rem;
}

.banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  border-radius: 16px;
  border: 1px solid rgba(255, 179, 71, 0.32);
  background: rgba(255, 179, 71, 0.1);
  padding: 0.9rem 1.1rem;
  margin-bottom: 1.4rem;
  font-size: 0.9rem;
}

.banner strong {
  color: var(--brand-2);
}

#email-banner {
  padding-top: 1.2rem;
}

#email-banner:empty {
  display: none;
}

#email-banner .banner {
  margin-bottom: 0;
}

.auth-title {
  margin: 0 0 0.6rem;
  font-size: 1.45rem;
}

.tabbar {
  display: none;
}

/* ---------------- Filters & cards ---------------- */

.filterbar {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr)) auto;
  gap: 0.7rem;
  align-items: end;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  margin-bottom: 1.5rem;
}

.filterbar .field > label {
  font-size: 0.72rem;
}

.filterbar .field input,
.filterbar .field select {
  padding: 0.55rem 0.7rem;
  font-size: 0.88rem;
}

.discover-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.1rem;
}

.profile-card {
  position: relative;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: linear-gradient(170deg, var(--surface), var(--surface-2));
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.profile-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.35);
}

.card-media {
  position: relative;
  aspect-ratio: 4 / 4.6;
  overflow: hidden;
  background: var(--photo-bg);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-media::after {
  content: "";
  position: absolute;
  inset: 55% 0 0 0;
  background: linear-gradient(transparent, rgba(12, 7, 22, 0.92));
}

.card-badges {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  right: 0.8rem;
  display: flex;
  justify-content: space-between;
  gap: 0.4rem;
  z-index: 2;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  background: rgba(12, 7, 22, 0.55);
  border: 1px solid var(--line-strong);
  color: var(--text);
  backdrop-filter: blur(8px);
}

.badge svg {
  width: 12px;
  height: 12px;
}

.badge-verified {
  color: #b9fbe8;
  border-color: rgba(56, 232, 198, 0.4);
  background: rgba(56, 232, 198, 0.16);
}

.badge-intent {
  color: var(--brand-2);
  border-color: rgba(255, 179, 71, 0.35);
  background: rgba(255, 179, 71, 0.14);
}

.card-name {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0.9rem;
  z-index: 2;
}

.card-name h3 {
  font-size: 1.25rem;
  margin: 0;
}

.card-name p {
  margin: 0.1rem 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
}

.card-body {
  padding: 0.9rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.card-bio {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
}

.card-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: auto;
}

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

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.chip {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.26rem 0.6rem;
  border-radius: 999px;
  background: var(--soft-pink);
  border: 1px solid var(--line);
  color: var(--muted);
}

.empty {
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  padding: 3rem 1.5rem;
  text-align: center;
  color: var(--muted);
}

.empty h3 {
  color: var(--text);
}

.empty p {
  max-width: 46ch;
  margin-inline: auto;
}

.empty-art {
  width: min(230px, 72%);
  height: auto;
  margin: 0 auto 1.2rem;
  filter: drop-shadow(0 18px 32px rgba(5, 2, 11, 0.38));
}

.empty-art-sm {
  width: min(160px, 58%);
  margin-bottom: 0.8rem;
}

.loading {
  padding: 3rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-top-color: var(--brand);
  animation: spin 0.8s linear infinite;
  vertical-align: -3px;
  margin-right: 0.4rem;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ---------------- Matches ---------------- */

.match-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

.match-card {
  display: flex;
  gap: 0.9rem;
  align-items: center;
  padding: 0.9rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--glass);
}

.match-card img {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  object-fit: cover;
  flex: 0 0 auto;
}

.match-card-body {
  min-width: 0;
  flex: 1;
}

.match-card-body h3 {
  font-size: 1rem;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.match-card-body p {
  margin: 0.15rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------------- Chat ---------------- */

.chat-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 1rem;
  min-height: 64vh;
}

.convo-panel,
.chat-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--glass);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.panel-head {
  padding: 1rem 1.1rem;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.panel-head h2 {
  font-size: 1.05rem;
  margin: 0;
}

.convo-list {
  overflow-y: auto;
  flex: 1;
  max-height: 62vh;
}

.convo {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  cursor: pointer;
}

.convo:hover {
  background: rgba(255, 255, 255, 0.04);
  text-decoration: none;
}

.convo.active {
  background: rgba(255, 92, 138, 0.1);
}

.convo img {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  object-fit: cover;
  flex: 0 0 auto;
}

.convo-body {
  min-width: 0;
  flex: 1;
}

.convo-body h3 {
  font-size: 0.93rem;
  margin: 0;
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
}

.convo-body h3 time {
  font-size: 0.68rem;
  color: var(--muted);
  font-weight: 600;
  flex: 0 0 auto;
}

.convo-body p {
  margin: 0.15rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.unread-dot {
  min-width: 20px;
  height: 20px;
  padding-inline: 6px;
  border-radius: 999px;
  background: linear-gradient(100deg, var(--brand), var(--brand-2));
  color: #200a15;
  font-size: 0.68rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.chat-panel {
  min-height: 64vh;
}

.chat-head {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
}

.chat-head img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: cover;
}

.chat-head h2 {
  font-size: 1rem;
  margin: 0;
}

.chat-head p {
  margin: 0;
  font-size: 0.76rem;
  color: var(--muted);
}

.chat-head-actions {
  margin-left: auto;
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.chat-back {
  display: none;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.85rem;
}

.bubbles {
  flex: 1;
  overflow-y: auto;
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  max-height: 48vh;
}

.bubble {
  max-width: min(72%, 520px);
  padding: 0.62rem 0.85rem;
  border-radius: 16px 16px 16px 4px;
  background: var(--surface-3);
  border: 1px solid var(--line);
  font-size: 0.9rem;
  align-self: flex-start;
  overflow-wrap: anywhere;
}

.bubble.mine {
  align-self: flex-end;
  border-radius: 16px 16px 4px 16px;
  background: linear-gradient(120deg, rgba(255, 92, 138, 0.9), rgba(255, 179, 71, 0.9));
  border-color: transparent;
  color: #210a16;
}

.bubble p {
  margin: 0;
}

.bubble time {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.65rem;
  opacity: 0.65;
  text-align: right;
}

.bubble time .receipt {
  font-weight: 600;
}

.bubble time .receipt[data-receipt='read'] {
  color: #7ff0d8;
  opacity: 1;
}

.composer {
  display: flex;
  gap: 0.6rem;
  padding: 0.8rem;
  border-top: 1px solid var(--line);
  align-items: flex-end;
}

.composer textarea {
  flex: 1;
  resize: none;
  min-height: 46px;
  max-height: 140px;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: var(--input-bg);
  padding: 0.7rem 0.85rem;
  outline: none;
}

.composer textarea:focus {
  border-color: rgba(255, 92, 138, 0.6);
}

/* ---------------- Emoji ---------------- */

.composer-wrap {
  position: relative;
  border-top: 1px solid var(--line);
}

.composer-wrap .composer {
  border-top: 0;
}

.emoji-suggest {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.8rem 0;
  min-width: 0;
}

.emoji-suggest-label {
  flex: 0 0 auto;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
}

.emoji-suggest-row {
  display: flex;
  gap: 0.1rem;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.emoji-suggest-row::-webkit-scrollbar {
  display: none;
}

.emoji-suggest-row button {
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  padding: 0.28rem 0.34rem;
  border-radius: 10px;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.emoji-suggest-row button:hover,
.emoji-suggest-row button:focus-visible {
  background: var(--surface-3);
  transform: translateY(-1px);
}

.emoji-toggle {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--input-bg);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.emoji-toggle:hover,
.emoji-toggle:focus-visible,
.emoji-toggle[aria-expanded='true'] {
  border-color: rgba(255, 92, 138, 0.6);
  background: var(--surface-3);
}

.emoji-picker {
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  bottom: calc(100% + 0.5rem);
  z-index: 40;
  display: flex;
  flex-direction: column;
  max-height: min(52vh, 340px);
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: var(--surface-2);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.emoji-picker[hidden] {
  display: none;
}

.emoji-picker-head {
  padding: 0.6rem 0.65rem 0.5rem;
  border-bottom: 1px solid var(--line);
}

.emoji-picker-head input {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--input-bg);
  padding: 0.5rem 0.7rem;
  font: inherit;
  font-size: 0.85rem;
  color: var(--text);
  outline: none;
}

.emoji-picker-head input:focus {
  border-color: rgba(255, 92, 138, 0.6);
}

.emoji-picker-body {
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0.4rem 0.5rem 0.6rem;
}

.emoji-group-title {
  margin: 0.5rem 0.35rem 0.25rem;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
}

.emoji-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(38px, 1fr));
  gap: 2px;
}

.emoji-grid button {
  border: 0;
  background: transparent;
  border-radius: 9px;
  padding: 0.3rem 0;
  font-size: 1.3rem;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.12s ease;
}

.emoji-grid button:hover,
.emoji-grid button:focus-visible {
  background: var(--surface-3);
}

.emoji-empty {
  margin: 1rem 0.5rem;
  color: var(--muted);
  font-size: 0.82rem;
  text-align: center;
}

.bubble.emoji-only p {
  font-size: 1.65rem;
  line-height: 1.25;
  letter-spacing: 0.06em;
}

@media (max-width: 640px) {
  .emoji-suggest-label {
    display: none;
  }

  .emoji-picker {
    left: 0.5rem;
    right: 0.5rem;
    max-height: min(46vh, 300px);
  }

  .emoji-toggle {
    width: 42px;
    height: 42px;
  }
}

.chat-empty {
  flex: 1;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem;
  color: var(--muted);
}

.chat-empty h3 {
  color: var(--text);
}

/* ---------------- Profile ---------------- */

.profile-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 1.2rem;
  align-items: start;
}

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--glass);
  padding: 1.4rem;
}

.panel h2 {
  font-size: 1.1rem;
}

.panel h3 {
  font-size: 0.95rem;
}

.profile-hero {
  display: grid;
  gap: 1rem;
  text-align: center;
}

.profile-hero img {
  width: 100%;
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
  border-radius: 18px;
  background: var(--surface-3);
}

.profile-hero h2 {
  margin: 0;
  font-size: 1.35rem;
}

.profile-hero p {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.detail-list {
  display: grid;
  gap: 0.55rem;
  margin-top: 1rem;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.86rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.detail-row span:first-child {
  color: var(--muted);
}

.detail-row span:last-child {
  text-align: right;
  font-weight: 600;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.8rem;
}

.status.ok {
  color: var(--ok);
}

.status.warn {
  color: #ffcf8a;
}

.stack {
  display: grid;
  gap: 1rem;
}

.form-actions {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-top: 0.4rem;
}

.note-box {
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
  padding: 0.85rem 1rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.note-box strong {
  color: var(--text);
}

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

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin: 0.2rem 0 0.4rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--muted);
  cursor: pointer;
}

.consent-row input {
  flex: none;
  width: 1rem;
  height: 1rem;
  margin-top: 0.15rem;
  accent-color: var(--brand);
}

/* ---------------- Verify ---------------- */

.verify-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.verify-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
}

.upload-box {
  border: 1px dashed var(--line-strong);
  border-radius: 18px;
  background: var(--bg-soft);
  padding: 1rem;
  display: grid;
  gap: 0.7rem;
  text-align: center;
}

.upload-box img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 14px;
  background: var(--surface-3);
}

.upload-box p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.file-input {
  position: relative;
  overflow: hidden;
  display: inline-flex;
}

.file-input input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.result-card {
  border-radius: 16px;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  margin-top: 1rem;
}

.result-card.pass {
  border-color: rgba(61, 220, 151, 0.4);
  background: rgba(61, 220, 151, 0.1);
}

.result-card.fail {
  border-color: rgba(255, 95, 109, 0.4);
  background: rgba(255, 95, 109, 0.1);
}

.result-card.pending {
  border-color: rgba(241, 190, 92, 0.45);
  background: rgba(241, 190, 92, 0.1);
}

.result-card h3 {
  margin: 0 0 0.3rem;
}

.result-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.result-title-row {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

.result-title-row p + p {
  margin-top: 0.3rem;
}

.result-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--ok);
}

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

.result-card .modal-actions {
  margin-top: 0.9rem;
}
.review-message {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-top: 0.85rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.055);
}
.review-message-icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  color: var(--accent);
  background: rgba(255, 92, 138, 0.12);
}
.review-message-icon svg {
  width: 16px;
  height: 16px;
}
.review-message strong {
  display: block;
  font-size: 0.86rem;
}
.review-message p {
  margin: 0.18rem 0 0;
  color: var(--text);
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.review-message-date {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.76rem;
}

.verify-page .view-head .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.35rem;
}

.verify-panel {
  max-width: 1040px;
  padding: 1.5rem;
}

.verify-seal {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
  padding: 0.8rem 1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(86, 200, 104, 0.12), var(--bg-soft));
}
.verify-seal img {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}
.verify-seal strong,
.verify-seal span {
  display: block;
}
.verify-seal strong {
  font-size: 0.94rem;
}
.verify-seal span {
  margin-top: 0.12rem;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.4;
}

.verify-form-area.has-status {
  margin-top: 1.2rem;
}

.verify-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.1rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg-soft);
  color: var(--muted);
  font-size: 0.77rem;
  font-weight: 600;
}

.verify-trust span {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
}

.verify-trust svg {
  width: 15px;
  height: 15px;
  color: var(--accent);
}

.verify-form-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin: 1.2rem 0 0.9rem;
}

.verify-form-head h2 {
  margin: 0 0 0.2rem;
}

.verify-form-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  max-width: 62ch;
}

.verify-secure-badge {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  padding: 0.32rem 0.6rem;
  border-radius: 999px;
  background: var(--soft-teal);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
}

.verify-secure-badge svg {
  width: 14px;
  height: 14px;
}

.verify-stage {
  margin: 1rem 0;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(155deg, var(--surface-2), transparent 75%);
}

.verify-stage-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.verify-stage-head h3 {
  margin: 0 0 0.15rem;
  font-size: 0.98rem;
}

.verify-stage-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.stage-number {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(217, 75, 111, 0.25);
}

.stage-state {
  padding: 0.22rem 0.55rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.stage-state.ready {
  border-color: rgba(23, 138, 91, 0.35);
  background: rgba(23, 138, 91, 0.09);
  color: var(--ok);
}

.verify-upload-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.verify-upload-grid-selfie {
  grid-template-columns: minmax(0, 430px);
}

.verify-slot {
  min-width: 0;
  padding: 0.8rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.verify-slot-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.65rem;
}

.verify-slot-head strong,
.verify-slot-head span {
  display: block;
}

.verify-slot-head strong {
  font-size: 0.88rem;
}

.verify-slot-head div > span {
  margin-top: 0.1rem;
  color: var(--muted);
  font-size: 0.73rem;
}

.capture-chip {
  flex: none;
  padding: 0.16rem 0.42rem;
  border-radius: 999px;
  background: var(--soft-pink);
  color: var(--brand);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.capture-preview {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 178px;
  overflow: hidden;
  border: 1px dashed var(--line-strong);
  border-radius: 13px;
  background:
    linear-gradient(135deg, transparent 49.4%, var(--line) 49.5%, var(--line) 50.5%, transparent 50.6%),
    linear-gradient(45deg, transparent 49.4%, var(--line) 49.5%, var(--line) 50.5%, transparent 50.6%),
    var(--bg-soft);
}

.capture-preview-selfie {
  min-height: 210px;
}

.capture-preview img {
  width: 100%;
  height: 100%;
  min-height: 178px;
  max-height: 270px;
  object-fit: cover;
}

.capture-preview-selfie img {
  min-height: 210px;
  max-height: 310px;
  object-fit: cover;
}

.capture-empty {
  display: grid;
  justify-items: center;
  gap: 0.18rem;
  padding: 1rem;
  text-align: center;
  color: var(--muted);
}

.capture-empty svg {
  width: 24px;
  height: 24px;
  margin-bottom: 0.2rem;
  color: var(--brand);
}

.capture-empty strong {
  color: var(--text);
  font-size: 0.82rem;
}

.capture-empty span {
  font-size: 0.72rem;
}

.capture-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.65rem;
}

.capture-actions .btn {
  gap: 0.3rem;
}

.capture-clear {
  margin-left: auto;
  color: var(--muted);
}

.consent-panel {
  margin-top: 1rem;
}

.verify-privacy-note {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-top: 0.9rem;
  padding: 0.8rem 0.9rem;
  border-radius: 14px;
  background: var(--soft-teal);
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.verify-privacy-note svg {
  flex: none;
  margin-top: 0.1rem;
  color: var(--accent);
}

.verify-privacy-note strong {
  color: var(--text);
}

.verify-actions {
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.verify-eta {
  color: var(--muted);
  font-size: 0.74rem;
}

#profile-photo-panel .panel-head {
  padding: 0 0 0.9rem;
  border-bottom: 0;
  align-items: flex-start;
}

#profile-photo-panel .panel-head p {
  margin: 0.2rem 0 0;
  font-size: 0.82rem;
}

.profile-photo-form {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
}

.profile-photo-preview {
  width: 132px;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--photo-bg);
}

.profile-photo-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-photo-copy strong {
  display: block;
  margin-bottom: 0.2rem;
}

.profile-photo-copy p {
  margin: 0 0 0.5rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.profile-photo-locked {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 0.9rem;
  border: 1px dashed var(--line-strong);
  border-radius: 16px;
  background: var(--bg-soft);
}

.profile-photo-lock {
  flex: none;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--soft-amber);
  color: var(--brand-2);
}

.profile-photo-lock svg {
  width: 21px;
  height: 21px;
}

.profile-photo-locked strong {
  display: block;
}

.profile-photo-locked p {
  margin: 0.2rem 0 0.6rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.camera-card {
  width: min(620px, 100%);
  padding: 1.2rem;
}

.camera-head {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding-right: 2rem;
  margin-bottom: 0.8rem;
}

.camera-head h2 {
  margin: 0 0 0.15rem;
  font-size: 1.1rem;
}

.camera-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.camera-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--soft-pink);
  color: var(--brand);
}

.camera-icon svg {
  width: 22px;
  height: 22px;
}

.camera-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 18px;
  background: #0b0810;
}

.camera-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.camera-guide {
  position: absolute;
  inset: 9%;
  border: 2px dashed rgba(255, 255, 255, 0.62);
  border-radius: 14px;
  pointer-events: none;
}

.camera-status {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(11, 8, 16, 0.72);
  color: #fff;
  font-size: 0.8rem;
  white-space: nowrap;
}

.camera-errors {
  margin-top: 0.65rem;
  color: var(--danger);
  font-size: 0.82rem;
  line-height: 1.45;
  white-space: pre-line;
}

.camera-card .modal-actions {
  margin-top: 0.9rem;
}

/* ---------------- Modal & toast ---------------- */

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(6, 3, 12, 0.7);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
  animation: fade-in 0.18s ease;
}

.modal-card {
  position: relative;
  width: min(760px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 24px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.modal-close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  z-index: 3;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(12, 7, 22, 0.55);
  color: var(--text);
  font-size: 1.1rem;
  line-height: 1;
}

.modal-profile {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.modal-profile img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.modal-profile-body {
  padding: 1.6rem;
}

.modal-profile-body h2 {
  margin-bottom: 0.1rem;
}

.modal-profile-body .meta {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 0.9rem;
}

.modal-profile-body .bio {
  color: var(--text);
  font-size: 0.92rem;
}

.modal-actions {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.2rem;
  flex-wrap: wrap;
}

.toast-root {
  position: fixed;
  left: 50%;
  bottom: 1.4rem;
  transform: translateX(-50%);
  z-index: 200;
  display: grid;
  gap: 0.5rem;
  width: min(420px, 92vw);
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: var(--toast-bg);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  padding: 0.75rem 1rem;
  font-size: 0.88rem;
  animation: toast-in 0.2s ease;
}

.toast.success {
  border-color: rgba(61, 220, 151, 0.45);
}

.toast.error {
  border-color: rgba(255, 95, 109, 0.5);
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
}

/* ---------------- Responsive ---------------- */

@media (max-width: 1080px) {
  .feature-grid,
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-art {
    min-height: 440px;
  }

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

  .filterbar .filter-submit {
    grid-column: 1 / -1;
  }

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

  .profile-hero img {
    max-width: 340px;
    margin-inline: auto;
  }
}

@media (max-width: 900px) {
  .auth-screen {
    grid-template-columns: 1fr;
  }

  .auth-aside {
    display: none;
  }

  .mainnav {
    display: none;
  }

  .topbar-user span {
    display: none;
  }

  .tabbar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 60;
    background: var(--nav-bg);
    backdrop-filter: blur(18px);
    border-top: 1px solid var(--line);
    padding: 0.4rem 0.4rem calc(0.4rem + env(safe-area-inset-bottom));
    justify-content: space-around;
  }

  .tabbar a {
    flex: 1;
    display: grid;
    gap: 0.15rem;
    place-items: center;
    padding: 0.4rem;
    border-radius: 12px;
    color: var(--muted);
    font-size: 0.66rem;
    font-weight: 700;
  }

  .tabbar a:hover {
    text-decoration: none;
  }

  .tabbar a.active {
    color: var(--text);
    background: rgba(255, 255, 255, 0.05);
  }

  .tabbar svg {
    width: 20px;
    height: 20px;
  }

  .view {
    padding-bottom: 6rem;
  }

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

  .chat-layout .chat-panel {
    display: none;
  }

  .chat-layout.has-chat .convo-panel {
    display: none;
  }

  .chat-layout.has-chat .chat-panel {
    display: flex;
  }

  .chat-back {
    display: inline-flex;
  }

  .bubbles {
    max-height: 55vh;
  }

  .safety-band {
    grid-template-columns: 1fr;
    padding: 2rem;
  }

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

  .modal-profile img {
    min-height: 260px;
    max-height: 320px;
  }
}

@media (max-width: 640px) {
  .container {
    width: 94vw;
  }

  .hero {
    padding-top: 2.4rem;
  }

  .hero-art {
    min-height: 0;
  }

  .feature-grid,
  .steps,
  .discover-grid,
  .match-grid {
    grid-template-columns: 1fr;
  }

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

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

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

  .verify-panel {
    padding: 1rem;
  }

  .verify-form-head {
    flex-direction: column;
  }

  .verify-upload-grid,
  .verify-upload-grid-selfie {
    grid-template-columns: 1fr;
  }

  .verify-stage-head {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .stage-state {
    grid-column: 2;
    justify-self: start;
  }

  .verify-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .profile-photo-form {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .profile-photo-preview {
    width: min(100%, 220px);
  }

  .camera-card {
    padding: 1rem;
  }

  .nav-links {
    display: none;
  }

  .auth-main {
    padding: 1.2rem 0.8rem 2rem;
  }

  .auth-card {
    padding: 1.4rem;
    border-radius: 20px;
  }

  .cta-band {
    padding: 2rem 1.4rem;
  }

  .view-head {
    align-items: flex-start;
  }

  .convo-list {
    max-height: none;
  }
}

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

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ========================================================================
   Light-first editorial system, theme controls, and the landing page
   ======================================================================== */

:root {
  --font-display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --max: 1180px;
}

body {
  background:
    radial-gradient(900px 620px at 4% -6%, rgba(217, 75, 111, 0.09), transparent 62%),
    radial-gradient(760px 520px at 100% 2%, rgba(201, 131, 52, 0.08), transparent 60%),
    linear-gradient(180deg, #fdfbf8 0%, #faf7f3 48%, #fffdfb 100%);
}

[data-theme="dark"] body {
  background:
    radial-gradient(1100px 700px at 8% -8%, rgba(255, 92, 138, 0.16), transparent 60%),
    radial-gradient(900px 600px at 100% 0%, rgba(56, 232, 198, 0.1), transparent 55%),
    radial-gradient(900px 700px at 50% 110%, rgba(123, 47, 247, 0.14), transparent 60%),
    var(--bg);
}

html {
  scroll-padding-top: 88px;
}

.landing-page {
  overflow-x: clip;
}

.landing-page h1,
.landing-page h2,
.statement-grid h2,
.hero-copy h1,
.mobile-copy h2,
.trust-panel h2,
.cta-band h2 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.035em;
}

.theme-toggle {
  --toggle-width: 64px;
  --toggle-height: 34px;
  --toggle-thumb: 26px;
  --toggle-pad: 9px;
  --toggle-travel: 32px;
  position: relative;
  width: var(--toggle-width);
  height: var(--toggle-height);
  padding: 0 var(--toggle-pad);
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, var(--glass-strong), var(--glass));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), 0 8px 20px rgba(72, 42, 55, 0.1);
  color: var(--muted);
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.18s ease, box-shadow 0.25s ease;
}

.theme-toggle::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: var(--toggle-thumb);
  height: var(--toggle-thumb);
  border-radius: 50%;
  background: linear-gradient(135deg, #ffb347, #ff5c8a);
  box-shadow: 0 4px 14px rgba(255, 92, 138, 0.42);
  transition: transform 0.38s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease;
}

[data-theme="dark"] .theme-toggle::before {
  transform: translateX(var(--toggle-travel));
  background: linear-gradient(135deg, #8b3dff, #ff5c8a);
}

.theme-toggle:hover {
  background: var(--glass-strong);
  border-color: var(--brand);
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 12px 26px rgba(228, 47, 127, 0.18);
}

.theme-toggle:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--brand) 35%, transparent);
  outline-offset: 2px;
}

.theme-toggle svg {
  position: relative;
  z-index: 1;
  width: 14px;
  height: 14px;
  transition: color 0.25s ease, opacity 0.25s ease, transform 0.35s ease;
}

.theme-icon-sun {
  display: block;
  color: #fff;
  opacity: 1;
  transform: rotate(0deg);
}

.theme-icon-moon {
  display: block;
  color: var(--muted);
  opacity: 0.62;
  transform: rotate(-12deg) scale(0.9);
}

[data-theme="dark"] .theme-icon-sun {
  display: block;
  color: var(--muted);
  opacity: 0.62;
  transform: rotate(-20deg) scale(0.9);
}

[data-theme="dark"] .theme-icon-moon {
  display: block;
  color: #fff;
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-left: 0.2rem;
}

.auth-card-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.auth-card-actions .theme-toggle {
  --toggle-width: 58px;
  --toggle-height: 32px;
  --toggle-thumb: 24px;
  --toggle-pad: 8px;
  --toggle-travel: 28px;
}

.btn-google + .auth-form {
  margin-top: 1.5rem;
}

.auth-divider {
  margin: 1.5rem 0 1.15rem;
}

.btn-google {
  margin-bottom: 0.25rem;
}

.toast {
  color: var(--toast-text);
}

/* Navigation */

.landing-nav .nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding-block: 0.85rem;
}

.landing-nav {
  background: var(--nav-bg);
  border-bottom-color: var(--line);
}

.landing-page .brand-name {
  background: linear-gradient(100deg, var(--text), var(--brand) 60%, var(--brand-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  gap: 1.35rem;
}

.nav-links a {
  position: relative;
  color: var(--muted);
  font-size: 0.86rem;
  letter-spacing: 0.01em;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.18s ease;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-actions {
  gap: 0.55rem;
}

/* Hero */

.home-hero {
  padding: clamp(3.2rem, 6.4vw, 6.2rem) 0 0;
  overflow: visible;
}

.home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}

.hero-copy h1 {
  max-width: 13ch;
  margin-bottom: 1.25rem;
  font-size: clamp(3rem, 6.5vw, 5.9rem);
  line-height: 0.98;
  color: var(--text);
}

.hero-em {
  position: relative;
  display: inline-block;
  font-style: italic;
  color: var(--brand);
}

.hero-em::after {
  content: "";
  position: absolute;
  left: 2%;
  right: 2%;
  bottom: 0.06em;
  height: 0.08em;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  opacity: 0.45;
}

.hero-copy .eyebrow {
  margin-bottom: 1.2rem;
}

.hero-lead {
  max-width: 50ch;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  line-height: 1.68;
  margin-bottom: 1.7rem;
}

.hero-actions {
  margin-bottom: 1.8rem;
}

.hero-copy .btn-primary {
  padding-inline: 1.55rem;
}

.hero-trust {
  gap: 0.55rem 1.3rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.hero-trust span {
  gap: 0.5rem;
}

.hero-trust svg {
  width: 17px;
  height: 17px;
  color: var(--accent);
}

.hero-stage {
  position: relative;
  min-height: 570px;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.stage-glow {
  position: absolute;
  inset: 6% 2% 2%;
  z-index: -1;
  border-radius: 48% 52% 46% 54% / 45% 43% 57% 55%;
  background:
    radial-gradient(closest-side, rgba(217, 75, 111, 0.24), transparent 72%),
    radial-gradient(closest-side at 72% 70%, rgba(201, 131, 52, 0.18), transparent 74%);
  filter: blur(34px);
}

.stage-photo {
  width: min(94%, 520px);
  margin: 0;
  padding: 0.7rem;
  border-radius: 34px;
  background: var(--glass-strong);
  border: 1px solid var(--line-strong);
  box-shadow: 0 34px 80px rgba(76, 45, 55, 0.16);
  transform: rotate(1.4deg);
  animation: stage-float 10s ease-in-out infinite;
}

[data-theme="dark"] .stage-photo {
  box-shadow: 0 38px 90px rgba(0, 0, 0, 0.45);
}

.stage-photo img {
  width: 100%;
  aspect-ratio: 1 / 1.03;
  object-fit: contain;
  border-radius: 26px;
  background: linear-gradient(160deg, var(--surface-3), var(--surface-2));
}

.stage-photo figcaption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 0.4rem 0.2rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

@keyframes stage-float {
  0%, 100% { transform: rotate(1.4deg) translateY(0); }
  50% { transform: rotate(0.5deg) translateY(-12px); }
}

.float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.8rem 0.95rem;
  border-radius: 18px;
  background: var(--glass-strong);
  border: 1px solid var(--line-strong);
  box-shadow: 0 20px 45px rgba(72, 42, 55, 0.13);
  backdrop-filter: blur(14px);
}

[data-theme="dark"] .float-card {
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.42);
}

.float-card strong,
.float-card span {
  display: block;
}

.float-card strong {
  font-size: 0.84rem;
  line-height: 1.2;
}

.float-card span:not(.float-icon) {
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.35;
}

.float-card--verify {
  top: 8%;
  right: -2%;
}

.float-card--match {
  left: -5%;
  bottom: 15%;
}

.float-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--soft-teal);
  color: var(--accent);
  flex: 0 0 auto;
}

.float-icon svg {
  width: 20px;
  height: 20px;
}

.mini-avatars {
  display: flex;
  padding-left: 0.35rem;
}

.mini-avatars span {
  width: 32px;
  height: 32px;
  margin-left: -0.35rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 2px solid var(--glass-strong);
  background: linear-gradient(135deg, #f3c4cf, #d8a48d);
  color: #4a2430;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.mini-avatars span:last-child {
  background: linear-gradient(135deg, #c9ddd8, #8fbcae);
  color: #173b32;
}

.mini-avatars svg {
  width: 15px;
  height: 15px;
}

.float-heart {
  width: 18px;
  height: 18px;
  color: var(--brand);
  margin-left: 0.2rem;
}

.hero-stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: clamp(2.6rem, 5vw, 4.6rem);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--line);
  overflow: hidden;
}

.hero-stat {
  padding: 1.25rem 1.35rem;
  background: var(--surface);
}

.hero-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--brand);
}

.hero-stat span {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.42;
}

/* Statement */

.statement-band {
  padding: clamp(3.4rem, 6vw, 5.6rem) 0;
}

.statement-grid {
  display: grid;
  grid-template-columns: 0.68fr 1.32fr;
  gap: 2rem;
  align-items: start;
  padding-top: clamp(2rem, 4vw, 3.4rem);
  border-top: 1px solid var(--line-strong);
}

.statement-grid h2 {
  max-width: 21ch;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.07;
}

.statement-grid p:not(.eyebrow) {
  max-width: 62ch;
  margin: 1.15rem 0 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

/* Shared section language */

.section {
  padding: clamp(3.6rem, 6vw, 6rem) 0;
}

.section--warm {
  background: linear-gradient(180deg, transparent, rgba(244, 239, 232, 0.72) 12%, rgba(244, 239, 232, 0.72) 88%, transparent);
}

[data-theme="dark"] .section--warm {
  background: linear-gradient(180deg, transparent, rgba(25, 16, 40, 0.5) 12%, rgba(25, 16, 40, 0.5) 88%, transparent);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: clamp(2.2rem, 4vw, 3.4rem);
}

.section-heading h2 {
  max-width: 20ch;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600;
  line-height: 1.06;
}

.section-heading--center {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
}

.section-heading--center h2 {
  max-width: 23ch;
}

.section-heading--center .section-intro {
  max-width: 58ch;
  text-align: center;
}

.section-intro {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

/* Value grid */

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.value-card {
  padding: 1.55rem;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--glass-strong), var(--glass));
  box-shadow: 0 18px 40px rgba(72, 42, 55, 0.05);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.value-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
}

.value-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
  border-radius: 15px;
  color: var(--brand);
  background: var(--soft-pink);
  border: 1px solid rgba(217, 75, 111, 0.2);
}

.value-icon svg {
  width: 23px;
  height: 23px;
}

.value-card h3 {
  margin-bottom: 0.55rem;
  font-size: 1.08rem;
  letter-spacing: -0.015em;
}

.value-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Editorial rows */

.editorial-stack {
  display: grid;
  gap: clamp(3rem, 6vw, 5.5rem);
}

.editorial-row {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(2rem, 6vw, 5.5rem);
  align-items: center;
}

.editorial-row--reverse .editorial-visual {
  order: 2;
}

.editorial-copy h2 {
  max-width: 17ch;
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.9rem);
  font-weight: 600;
  line-height: 1.08;
}

.editorial-copy > p:not(.eyebrow) {
  max-width: 55ch;
  color: var(--muted);
  line-height: 1.7;
}

.editorial-visual {
  min-width: 0;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 1.4rem 0 1.6rem;
  display: grid;
  gap: 0.75rem;
}

.check-list li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.check-list svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex: 0 0 auto;
  margin-top: 0.15rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--brand);
  font-size: 0.9rem;
  font-weight: 800;
}

.text-link svg {
  width: 17px;
  height: 17px;
  transition: transform 0.18s ease;
}

.text-link:hover {
  text-decoration: none;
}

.text-link:hover svg {
  transform: translateX(4px);
}

.review-card,
.filter-card,
.safety-card {
  border-radius: 26px;
  border: 1px solid var(--line-strong);
  background: var(--glass-strong);
  box-shadow: 0 28px 65px rgba(72, 42, 55, 0.12);
  padding: 1.2rem;
}

[data-theme="dark"] .review-card,
[data-theme="dark"] .filter-card,
[data-theme="dark"] .safety-card {
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4);
}

.review-card {
  transform: rotate(-1.4deg);
  max-width: 440px;
  margin-inline: auto;
}

.review-card-top {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.85rem;
}

.review-avatar {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #f2c7d0, #dca48e);
  color: #4a2430;
  font-size: 0.74rem;
  font-weight: 800;
}

.review-avatar svg {
  width: 20px;
  height: 20px;
}

.review-card-top strong,
.review-card-top span {
  display: block;
}

.review-card-top strong {
  font-size: 0.92rem;
}

.review-card-top > div span {
  color: var(--muted);
  font-size: 0.76rem;
}

.review-stamp {
  margin-left: auto;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.review-photo {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1.6 / 1;
  border-radius: 18px;
  overflow: hidden;
  background:
    radial-gradient(circle at 62% 32%, rgba(255, 255, 255, 0.7), transparent 28%),
    linear-gradient(140deg, #eed7cd, #d9b8ae 55%, #cb9f9b);
}

.review-photo-glow {
  position: absolute;
  width: 48%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.34);
  filter: blur(18px);
}

.review-photo svg {
  position: relative;
  width: 58px;
  height: 58px;
  color: rgba(72, 42, 55, 0.55);
}

.review-lines {
  display: grid;
  gap: 0.4rem;
  margin: 0.9rem 0 0.8rem;
}

.review-lines span {
  height: 7px;
  border-radius: 999px;
  background: var(--line-strong);
}

.review-lines span:nth-child(2) {
  width: 82%;
}

.review-lines span:nth-child(3) {
  width: 58%;
}

.review-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--ok);
  font-size: 0.74rem;
  font-weight: 800;
}

.review-status svg {
  width: 15px;
  height: 15px;
}

.filter-card {
  max-width: 440px;
  margin-inline: auto;
  transform: rotate(1.2deg);
}

.filter-card-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.9rem;
  margin-bottom: 0.9rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.86rem;
  font-weight: 800;
}

.filter-count {
  color: var(--brand);
  font-size: 0.72rem;
}

.filter-control {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.9rem;
}

.filter-control > span {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.filter-control strong {
  font-size: 0.88rem;
}

.filter-track {
  height: 6px;
  border-radius: 999px;
  background: var(--surface-3);
  overflow: hidden;
}

.filter-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
}

.filter-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  font-weight: 700;
}

.toggle-on {
  position: relative;
  width: 38px;
  height: 22px;
  border-radius: 999px;
  background: var(--accent);
}

.toggle-on::after {
  content: "";
  position: absolute;
  top: 3px;
  right: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
}

.safety-card {
  max-width: 420px;
  margin-inline: auto;
}

.safety-card-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: 16px;
  background: var(--soft-teal);
  color: var(--accent);
}

.safety-card-icon svg {
  width: 24px;
  height: 24px;
}

.safety-card > strong {
  display: block;
  margin-bottom: 0.45rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
}

.safety-card > p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.safety-card-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  font-weight: 600;
}

.status-pill {
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* How it works */

.steps--four {
  gap: 1rem;
}

.steps--four .step {
  padding: 1.5rem;
  background: var(--glass);
  border-color: var(--line);
}

.steps--four .step-number {
  width: 40px;
  height: 40px;
  margin-bottom: 1.1rem;
  background: transparent;
  color: var(--brand);
  border: 1px solid rgba(217, 75, 111, 0.3);
}

.steps--four .step h3 {
  font-size: 1.02rem;
}

.steps--four .step p {
  line-height: 1.58;
}

/* Community */

.community-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.community-copy h3 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 600;
}

.community-copy > p {
  max-width: 52ch;
  color: var(--muted);
  line-height: 1.7;
}

.community-notes {
  display: grid;
  gap: 0.9rem;
  margin: 1.5rem 0 1.7rem;
}

.community-notes strong,
.community-notes span {
  display: block;
}

.community-notes strong {
  font-size: 0.9rem;
}

.community-notes span {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.circle-stack {
  display: grid;
  gap: 1rem;
  max-width: 470px;
}

.circle-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.2rem 1.3rem;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--glass-strong);
  box-shadow: 0 18px 42px rgba(72, 42, 55, 0.07);
}

.circle-card--offset {
  margin-left: 2.2rem;
}

.circle-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--soft-amber);
  color: var(--brand-2);
  flex: 0 0 auto;
}

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

.circle-status {
  display: inline-block;
  margin-bottom: 0.2rem;
  color: var(--brand);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.circle-card h4 {
  margin: 0 0 0.15rem;
  font-size: 1rem;
}

.circle-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

/* Quote cards */

.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.quote-card {
  position: relative;
  padding: 1.6rem;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: var(--glass-strong);
}

.quote-mark {
  width: 30px;
  height: 30px;
  margin-bottom: 0.9rem;
  color: var(--brand);
  opacity: 0.72;
}

.quote-card blockquote,
.quote-card > strong {
  display: block;
  margin: 0 0 0.9rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.8vw, 1.42rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.quote-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Mobile app */

.mobile-section {
  overflow: hidden;
}

.mobile-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}

.phone-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 620px;
}

.phone-stage::before {
  content: "";
  position: absolute;
  inset: 8% 6%;
  border-radius: 50%;
  background:
    radial-gradient(closest-side, rgba(217, 75, 111, 0.18), transparent 70%),
    radial-gradient(closest-side at 70% 70%, rgba(201, 131, 52, 0.16), transparent 72%);
  filter: blur(20px);
}

.phone {
  position: relative;
  width: min(300px, 80%);
  aspect-ratio: 9 / 18.4;
  padding: 0.55rem;
  border-radius: 42px;
  background: #221b22;
  box-shadow: 0 40px 90px rgba(53, 31, 42, 0.28);
  transform: rotate(-2deg);
}

.phone-notch {
  position: absolute;
  top: 0.75rem;
  left: 50%;
  z-index: 3;
  width: 38%;
  height: 18px;
  border-radius: 999px;
  background: #221b22;
  transform: translateX(-50%);
}

.phone-screen {
  height: 100%;
  overflow: hidden;
  border-radius: 35px;
  background: var(--surface-2);
  color: var(--text);
  padding: 0.7rem 0.72rem 0.5rem;
  display: flex;
  flex-direction: column;
}

.phone-top {
  display: flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.2rem 0.1rem 0.7rem;
  font-size: 0.62rem;
  font-weight: 800;
}

.phone-logo {
  width: 22px;
  height: 22px;
  display: block;
  border-radius: 7px;
  object-fit: contain;
}

.phone-avatar {
  width: 24px;
  height: 24px;
  margin-left: auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface-3);
  font-size: 0.52rem;
}

.phone-avatar svg {
  width: 13px;
  height: 13px;
}

.phone-title {
  padding: 0.1rem 0.1rem 0.55rem;
}

.phone-title span {
  display: block;
  color: var(--muted);
  font-size: 0.58rem;
}

.phone-title strong {
  font-family: var(--font-display);
  font-size: 0.94rem;
  font-weight: 600;
}

.phone-filter-row {
  display: flex;
  gap: 0.3rem;
  margin-bottom: 0.55rem;
}

.phone-filter-row span {
  padding: 0.22rem 0.48rem;
  border-radius: 999px;
  background: var(--soft-pink);
  color: var(--brand);
  font-size: 0.5rem;
  font-weight: 800;
}

.phone-profile {
  flex: 1;
  min-height: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
}

.phone-profile-art {
  position: relative;
  height: 66%;
  overflow: hidden;
  background: linear-gradient(145deg, #e8ccc4, #c99b9e 60%, #a97580);
}

.phone-profile-shape {
  position: absolute;
  inset: 18% 18% 0;
  border-radius: 48% 48% 18% 18%;
  background:
    radial-gradient(circle at 48% 28%, rgba(255, 255, 255, 0.62), transparent 23%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.3), transparent 60%);
}

.phone-verified {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.2rem 0.42rem;
  border-radius: 999px;
  background: rgba(18, 12, 20, 0.54);
  color: #fff;
  font-size: 0.46rem;
  font-weight: 800;
  backdrop-filter: blur(6px);
}

.phone-verified svg {
  width: 10px;
  height: 10px;
}

.phone-profile-copy {
  position: absolute;
  left: 0.6rem;
  right: 0.6rem;
  bottom: 0.55rem;
  z-index: 2;
  color: #fff;
}

.phone-profile-copy strong,
.phone-profile-copy span {
  display: block;
}

.phone-profile-copy strong {
  font-size: 0.82rem;
}

.phone-profile-copy span {
  font-size: 0.54rem;
  opacity: 0.82;
}

.phone-profile-actions {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.5rem;
}

.phone-action {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
}

.phone-action svg {
  width: 16px;
  height: 16px;
}

.phone-action--like {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  border-color: transparent;
  color: #fff;
}

.phone-match-note {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.45rem;
  padding: 0.45rem 0.5rem;
  border-radius: 12px;
  background: var(--soft-teal);
}

.phone-match-icon {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
}

.phone-match-icon svg {
  width: 13px;
  height: 13px;
}

.phone-match-note strong,
.phone-match-note span {
  display: block;
}

.phone-match-note strong {
  font-size: 0.54rem;
}

.phone-match-note > div span {
  color: var(--muted);
  font-size: 0.46rem;
}

.phone-tabbar {
  display: flex;
  justify-content: space-between;
  gap: 0.2rem;
  padding: 0.45rem 0.2rem 0.1rem;
  margin-top: 0.35rem;
  border-top: 1px solid var(--line);
}

.phone-tabbar span {
  display: grid;
  justify-items: center;
  gap: 0.14rem;
  color: var(--muted);
  font-size: 0.42rem;
  font-weight: 700;
}

.phone-tabbar span.active {
  color: var(--brand);
}

.phone-tabbar svg {
  width: 13px;
  height: 13px;
}

.phone-float-card {
  position: absolute;
  right: 0;
  bottom: 2%;
  max-width: 220px;
  padding: 0.85rem 0.95rem;
  border-radius: 17px;
  background: var(--glass-strong);
  border: 1px solid var(--line-strong);
  box-shadow: 0 20px 45px rgba(72, 42, 55, 0.14);
  backdrop-filter: blur(12px);
}

.phone-float-card strong,
.phone-float-card span {
  display: block;
}

.phone-float-card strong {
  margin-bottom: 0.15rem;
  font-size: 0.78rem;
}

.phone-float-card span {
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.4;
}

.mobile-copy h2 {
  max-width: 15ch;
  margin-bottom: 1rem;
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  line-height: 1.06;
}

.mobile-copy > p:not(.eyebrow):not(.small) {
  max-width: 54ch;
  color: var(--muted);
  line-height: 1.7;
}

.app-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1.3rem 0 0.9rem;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 0.95rem;
  border-radius: 13px;
  border: 1px solid var(--line-strong);
  background: var(--text);
  color: var(--bg);
}

[data-theme="dark"] .store-badge {
  background: var(--surface-3);
  color: var(--text);
}

.store-badge svg {
  width: 21px;
  height: 21px;
}

.store-badge span {
  display: block;
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.1;
}

.store-badge small {
  display: block;
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.65;
}

.mobile-note {
  max-width: 48ch;
  color: var(--muted);
}

/* Trust panel */

.trust-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.78fr) 180px;
  gap: clamp(1.6rem, 4vw, 3.4rem);
  align-items: center;
  padding: clamp(1.8rem, 4vw, 3rem);
  border-radius: 30px;
  border: 1px solid rgba(14, 141, 123, 0.26);
  background:
    radial-gradient(620px 320px at 12% 0%, rgba(14, 141, 123, 0.12), transparent 72%),
    linear-gradient(150deg, var(--surface), var(--surface-2));
  box-shadow: 0 28px 65px rgba(72, 42, 55, 0.09);
}

.trust-panel h2 {
  margin-bottom: 0.7rem;
  font-size: clamp(2rem, 3.6vw, 3rem);
}

.trust-panel-copy > p:not(.eyebrow) {
  max-width: 44ch;
  color: var(--muted);
  line-height: 1.65;
}

.trust-panel .btn {
  margin-top: 0.4rem;
}

.safety-list {
  gap: 0.85rem;
}

.safety-list li {
  line-height: 1.48;
}

.trust-seal {
  display: grid;
  justify-items: center;
  gap: 0.5rem;
  padding: 1.4rem 1rem;
  border-radius: 22px;
  border: 1px dashed rgba(14, 141, 123, 0.4);
  background: var(--soft-teal);
  text-align: center;
}

.trust-seal svg {
  width: 40px;
  height: 40px;
  color: var(--accent);
}

.trust-seal strong {
  font-size: 0.86rem;
}

.trust-seal span {
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.4;
}

/* FAQ */

.section--faq {
  border-top: 1px solid var(--line);
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.faq-grid h2 {
  max-width: 16ch;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  font-weight: 600;
  line-height: 1.07;
}

.faq-grid .section-intro {
  margin-top: 1rem;
}

.faq-list {
  display: grid;
  gap: 0.7rem;
}

.faq-list details {
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--glass);
  padding: 0 1.15rem;
}

.faq-list summary {
  padding: 1rem 0;
  cursor: pointer;
  font-size: 0.94rem;
  font-weight: 700;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

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

.faq-list summary::after {
  content: "+";
  color: var(--brand);
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  margin: 0;
  padding: 0 0 1.05rem;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.65;
}

/* Final call to action */

.cta-band {
  position: relative;
  margin: 1rem 0 5.5rem;
  padding: clamp(2.2rem, 5vw, 4rem);
  border-radius: 32px;
  overflow: hidden;
  background:
    radial-gradient(620px 320px at 18% 0%, rgba(255, 179, 71, 0.28), transparent 72%),
    linear-gradient(135deg, #b93c60, #8a3f73 58%, #49306d);
  box-shadow: 0 30px 80px rgba(120, 48, 86, 0.24);
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at 80% 20%, #000, transparent 65%);
}

.cta-band > * {
  position: relative;
}

.eyebrow--light,
.cta-band .eyebrow {
  color: #ffe5cf;
}

.eyebrow--light::before,
.cta-band .eyebrow::before {
  background: #ffe5cf;
  box-shadow: 0 0 12px rgba(255, 229, 207, 0.5);
}

.cta-band h2 {
  max-width: 19ch;
  margin-inline: auto;
  color: #fff;
  font-size: clamp(2.1rem, 4.4vw, 3.5rem);
}

.cta-band p {
  color: rgba(255, 255, 255, 0.84);
}

.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1rem;
}

.cta-band .btn {
  background: #fff;
  color: #3a1526;
  box-shadow: 0 16px 36px rgba(20, 5, 14, 0.24);
}

.btn-on-dark {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.38) !important;
  color: #fff !important;
  box-shadow: none !important;
}

.cta-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.66) !important;
  font-size: 0.78rem;
}

/* Footer */

.site-footer {
  padding: 0 0 2rem;
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 0.7fr));
  gap: clamp(2rem, 5vw, 4rem);
  padding: 3.2rem 0 2.6rem;
}

.footer-brand .brand {
  margin-bottom: 1rem;
}

.footer-note {
  max-width: 42ch;
  margin-bottom: 1.1rem;
  line-height: 1.65;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-badges span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--glass);
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
}

.footer-badges svg {
  width: 14px;
  height: 14px;
  color: var(--accent);
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 0.55rem;
}

.footer-column h3 {
  margin-bottom: 0.35rem;
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.footer-column a {
  color: var(--muted);
  font-size: 0.84rem;
}

.footer-column a:hover {
  color: var(--brand);
  text-decoration: none;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}

.footer-bottom p {
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
}

/* Responsive */

@media (max-width: 1080px) {
  .home-hero-grid,
  .mobile-grid,
  .community-grid {
    grid-template-columns: 1fr;
  }

  .home-hero-grid {
    gap: 3rem;
  }

  .hero-copy {
    max-width: 720px;
  }

  .hero-stage {
    min-height: 520px;
    width: min(100%, 560px);
    margin-inline: auto;
  }

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

  .editorial-row,
  .editorial-row--reverse {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }

  .editorial-row--reverse .editorial-visual {
    order: 0;
  }

  .editorial-visual {
    width: min(100%, 520px);
    margin-inline: auto;
  }

  .trust-panel {
    grid-template-columns: 1fr 1fr;
  }

  .trust-seal {
    grid-column: 1 / -1;
    grid-template-columns: auto 1fr;
    justify-items: start;
    text-align: left;
  }

  .trust-seal svg {
    grid-row: span 2;
  }

  .footer-main {
    grid-template-columns: 1.3fr 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .phone-stage {
    min-height: 580px;
  }
}

@media (max-width: 860px) {
  .nav-links {
    display: none;
  }

  .hero-stat-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .statement-grid,
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 1.3rem;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .section-intro {
    max-width: 56ch;
  }

  .steps--four {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .quote-card {
    max-width: none;
  }

  .trust-panel {
    grid-template-columns: 1fr;
  }

  .mobile-copy {
    max-width: 620px;
  }

  .phone-stage {
    min-height: 540px;
  }

  .phone {
    width: min(270px, 68%);
  }
}

@media (max-width: 640px) {
  .landing-nav .nav-inner {
    gap: 0.6rem;
  }

  .landing-page .brand-name {
    font-size: 1.02rem;
  }

  .landing-page .brand-mark {
    width: 35px;
    height: 35px;
    border-radius: 11px;
  }

  .nav-actions .btn-ghost {
    display: none;
  }

  .home-hero {
    padding-top: 2.2rem;
  }

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

  .hero-trust {
    display: grid;
    gap: 0.5rem;
  }

  .hero-stage {
    min-height: 450px;
  }

  .stage-photo {
    width: 96%;
    transform: none;
  }

  .float-card {
    padding: 0.65rem 0.75rem;
    border-radius: 14px;
  }

  .float-card--verify {
    top: 2%;
    right: 0;
  }

  .float-card--match {
    left: 0;
    bottom: 2%;
  }

  .float-card strong {
    font-size: 0.72rem;
  }

  .float-card span:not(.float-icon) {
    font-size: 0.62rem;
  }

  .hero-stat-row {
    margin-top: 2rem;
  }

  .hero-stat {
    padding: 1rem;
  }

  .hero-stat strong {
    font-size: 1.45rem;
  }

  .value-grid,
  .steps--four {
    grid-template-columns: 1fr;
  }

  .circle-card--offset {
    margin-left: 0;
  }

  .phone-stage {
    min-height: 500px;
  }

  .phone {
    width: min(250px, 78%);
  }

  .phone-float-card {
    right: 0;
    bottom: 0;
    max-width: 190px;
  }

  .app-badges {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 190px;
  }

  .faq-list summary {
    font-size: 0.88rem;
  }

  .cta-band {
    border-radius: 24px;
    margin-bottom: 3.5rem;
  }

  .cta-actions {
    display: grid;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1.4rem;
    padding-top: 2.4rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    display: grid;
  }

  .landing-page .nav-actions .btn-primary {
    padding-inline: 0.75rem;
  }
}

@media (max-width: 420px) {
  .nav-actions .theme-toggle {
    --toggle-width: 58px;
    --toggle-height: 32px;
    --toggle-thumb: 24px;
    --toggle-pad: 8px;
    --toggle-travel: 28px;
  }

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

  .phone-stage {
    min-height: 470px;
  }

  .phone {
    width: 232px;
  }

  .phone-float-card {
    display: none;
  }
}

/* Photography */

.stage-photo {
  width: min(88%, 450px);
}

.stage-photo picture {
  display: block;
}

.stage-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--surface-3);
}

.hero-stage {
  min-height: 620px;
}

.community-photo {
  margin: 0 0 0.35rem;
}

.community-photo picture {
  display: block;
}

.community-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--surface-3);
}

.community-photo figcaption {
  margin-top: 0.65rem;
  color: var(--muted);
  font-size: 0.74rem;
}

.auth-art img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 22px;
}

/* Dating advice */

.section--advice {
  background:
    radial-gradient(760px 420px at 88% 0%, rgba(201, 131, 52, 0.09), transparent 68%),
    transparent;
}

.advice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  margin-top: 2.4rem;
}

.advice-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--glass-strong);
  box-shadow: 0 20px 48px rgba(72, 42, 55, 0.08);
}

.advice-card picture {
  display: block;
  overflow: hidden;
}

.advice-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: var(--surface-3);
  transition: transform 0.55s ease;
}

.advice-card:hover img {
  transform: scale(1.035);
}

.advice-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.35rem 1.4rem 1.5rem;
}

.advice-tag {
  color: var(--brand);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.advice-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.advice-card p {
  flex: 1;
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.62;
}

.advice-body .text-link {
  margin-top: 0.35rem;
  font-size: 0.79rem;
}

.advice-body .text-link svg {
  width: 15px;
  height: 15px;
}

.advice-note {
  margin: 1.4rem 0 0;
  color: var(--muted);
  font-size: 0.73rem;
}

/* Photographic call to action */

.cta-band--photo {
  background:
    linear-gradient(100deg, rgba(35, 10, 22, 0.9) 4%, rgba(53, 15, 35, 0.7) 52%, rgba(35, 10, 22, 0.34)),
    url("/img/photos/cta-couple-1264.jpg") center 38% / cover no-repeat;
}

.cta-band--photo::before {
  background-image: none;
  background: linear-gradient(90deg, rgba(25, 6, 15, 0.42), transparent 68%);
  mask-image: none;
}

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

  .circle-stack {
    max-width: 470px;
    margin-inline: auto;
  }
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .advice-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .advice-card {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: stretch;
  }

  .advice-card picture,
  .advice-card img {
    height: 100%;
    aspect-ratio: auto;
  }

  .advice-card img {
    min-height: 210px;
  }
}

@media (max-width: 640px) {
  .hero-stage {
    min-height: 0;
    padding-bottom: 3.6rem;
  }

  .stage-photo {
    width: 92%;
  }

  .advice-card {
    display: flex;
  }

  .advice-card img {
    aspect-ratio: 3 / 2;
    min-height: 0;
  }
}

/* Hero quick start and signup handoff */

.hero-start {
  margin-top: 1.4rem;
  padding: 1.05rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--glass-strong);
  box-shadow: 0 18px 44px rgba(72, 42, 55, 0.08);
}

.hero-start-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.75rem;
  margin-bottom: 0.8rem;
}

.hero-start-step {
  color: var(--brand);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-start-head strong {
  font-size: 0.92rem;
  letter-spacing: -0.01em;
}

.hero-start-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.hero-start .field {
  gap: 0.26rem;
}

.hero-start .field > span {
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.hero-start .field input,
.hero-start .field select {
  width: 100%;
  border-radius: 11px;
  border: 1px solid var(--line-strong);
  background: var(--input-bg);
  padding: 0.58rem 0.7rem;
  font-size: 0.86rem;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.hero-start .field input:focus,
.hero-start .field select:focus {
  border-color: rgba(255, 92, 138, 0.65);
  box-shadow: 0 0 0 3px rgba(255, 92, 138, 0.16);
}

.hero-start-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 0.85rem;
}

.hero-start-actions .btn {
  flex: 0 0 auto;
  padding-inline: 1.15rem;
}

.hero-start-note {
  max-width: 32ch;
  margin: 0;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.45;
}

.hero-start-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.1rem;
  margin-top: 0.75rem;
  font-size: 0.68rem;
}

.hero-start-links a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero-start-links a:hover {
  color: var(--brand);
}

.hero-start + .hero-trust {
  margin-top: 1.2rem;
}

.signup-import {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  padding: 0.8rem 0.9rem;
  margin-bottom: 0.35rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--soft-teal);
}

.signup-import > svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  margin-top: 0.1rem;
  color: var(--accent);
}

.signup-import strong,
.signup-import span {
  display: block;
}

.signup-import strong {
  font-size: 0.8rem;
}

.signup-import span {
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.45;
}

@media (max-width: 640px) {
  .hero-start {
    padding: 0.9rem;
  }

  .hero-start-actions {
    display: grid;
    gap: 0.65rem;
  }

  .hero-start-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-start-note {
    max-width: none;
  }
}

/* Full-bleed landing hero */

.landing-nav .nav-inner {
  padding-block: 0.62rem;
}

.home-hero.hero--photo {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(2rem, 4.2vw, 3.6rem) 0 2.2rem;
  color: #fff;
  background: #120b1a;
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: #120b1a;
}

.hero-background picture,
.hero-background img {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-background img {
  object-fit: cover;
  object-position: 62% 42%;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(10, 6, 16, 0.9) 0%, rgba(10, 6, 16, 0.68) 32%, rgba(10, 6, 16, 0.22) 66%, rgba(10, 6, 16, 0.04) 100%),
    linear-gradient(180deg, rgba(10, 6, 16, 0.2) 0%, rgba(10, 6, 16, 0.42) 100%);
}

.home-hero.hero--photo .home-hero-grid {
  grid-template-columns: minmax(0, 650px) minmax(0, 1fr);
  align-items: start;
  gap: 2rem;
}

.home-hero.hero--photo .hero-copy {
  max-width: 650px;
}

.home-hero.hero--photo .hero-copy h1 {
  max-width: 12ch;
  margin-bottom: 1rem;
  color: #fff;
  font-size: clamp(2.8rem, 5.3vw, 4.7rem);
  text-shadow: 0 6px 34px rgba(0, 0, 0, 0.38);
}

.home-hero.hero--photo .hero-em {
  color: #ff9ab6;
}

.home-hero.hero--photo .hero-copy .eyebrow {
  margin-bottom: 0.8rem;
  color: #ffd7e2;
}

.home-hero.hero--photo .hero-copy .eyebrow::before {
  background: #ffb347;
  box-shadow: 0 0 12px #ffb347;
}

.home-hero.hero--photo .hero-lead {
  max-width: 49ch;
  margin-bottom: 1.15rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(0.98rem, 1.2vw, 1.08rem);
  line-height: 1.62;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.3);
}

.home-hero.hero--photo .hero-trust {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.74);
}

.home-hero.hero--photo .hero-trust svg {
  color: #7ff0d8;
}

.home-hero.hero--photo .hero-stat-row {
  margin-top: clamp(1.5rem, 2.4vw, 2.2rem);
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
}

.home-hero.hero--photo .hero-stat {
  background: rgba(18, 10, 25, 0.42);
  padding: 1rem 1.2rem;
}

.home-hero.hero--photo .hero-stat strong {
  color: #ffb7c9;
}

.home-hero.hero--photo .hero-stat span {
  color: rgba(255, 255, 255, 0.7);
}

/* One-question-per-screen hero onboarding */

.hero-start--wizard {
  max-width: 570px;
  margin-top: 1.1rem;
  padding: 1rem 1.05rem 1.05rem;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(15, 9, 22, 0.63);
  color: #fff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(20px);
}

.hero-start--wizard .hero-start-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.55rem;
}

.hero-start--wizard .hero-start-step {
  color: #ffb7c9;
}

.hero-start-count {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-start-progress {
  height: 4px;
  margin-bottom: 1rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.hero-start-progress span {
  display: block;
  width: 25%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ff8eac, #ffb347);
  transition: width 0.28s ease;
}

.hero-step {
  display: flex;
  min-height: 172px;
}

.hero-step[hidden] {
  display: none;
}

.hero-question {
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
}

.hero-question legend {
  width: 100%;
  margin: 0 0 0.25rem;
  padding: 0;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.3vw, 1.95rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.hero-question > p {
  margin: 0 0 0.9rem;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.78rem;
  line-height: 1.45;
}

.hero-text-field {
  display: grid;
  gap: 0.35rem;
}

.hero-text-field > span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.hero-text-field input {
  width: 100%;
  padding: 0.82rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 12px;
  outline: none;
  background: rgba(255, 255, 255, 0.97);
  color: #241824;
  font-size: 0.98rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.hero-text-field input:focus {
  border-color: #ff8eac;
  box-shadow: 0 0 0 3px rgba(255, 142, 172, 0.24);
}

.hero-step-error {
  display: block;
  margin-top: 0.55rem;
  color: #ffbcc7;
  font-size: 0.72rem;
  line-height: 1.4;
}

.hero-step-error[hidden] {
  display: none;
}

.hero-option-list {
  display: grid;
  gap: 0.55rem;
}

.hero-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.78rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 13px;
  background: #fff;
  color: #2b1d2a;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.hero-option:hover {
  transform: translateY(-1px);
  border-color: #2a8b78;
}

.hero-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.hero-option-radio {
  display: grid;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 2px solid #2a8b78;
  border-radius: 50%;
  background: #fff;
}

.hero-option-radio::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2a8b78;
  transform: scale(0);
  transition: transform 0.15s ease;
}

.hero-option input:checked + .hero-option-radio::after {
  transform: scale(1);
}

.hero-option:has(input:checked) {
  border-color: #2a8b78;
  box-shadow: 0 0 0 2px rgba(42, 139, 120, 0.2);
}

.hero-option:has(input:focus-visible) {
  outline: 2px solid #ffd7e2;
  outline-offset: 2px;
}

.hero-start--wizard .hero-start-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.8rem;
}

.hero-start--wizard .hero-back {
  padding-inline: 0.9rem;
  border-color: rgba(255, 255, 255, 0.26);
  color: rgba(255, 255, 255, 0.82);
}

.hero-start--wizard .hero-next {
  flex: 1;
  min-width: 150px;
  justify-content: center;
}

.hero-start--wizard .hero-start-note {
  flex-basis: 100%;
  max-width: none;
  margin: 0.1rem 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.66rem;
}

.hero-start--wizard .hero-start-links {
  margin-top: 0.6rem;
}

.hero-start--wizard .hero-start-links a {
  color: rgba(255, 255, 255, 0.64);
}

.hero-start--wizard .hero-start-links a:hover {
  color: #ffb7c9;
}

/* Phone mockup photography */

.phone-avatar {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface-3);
}

.phone-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.phone-profile-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 24%;
}

.phone-profile-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 6, 16, 0) 42%, rgba(10, 6, 16, 0.78) 100%);
}

.phone-match-avatars {
  display: flex;
  flex: 0 0 auto;
  padding-left: 0.25rem;
}

.phone-match-avatars img {
  width: 27px;
  height: 27px;
  margin-left: -0.35rem;
  border: 2px solid var(--surface-2);
  border-radius: 50%;
  object-fit: cover;
}

.phone-match-avatars img:first-child {
  margin-left: 0;
}

/* Extended advice library */

.advice-more {
  margin-top: 2.4rem;
  padding-top: 2.2rem;
  border-top: 1px solid var(--line);
}

.advice-more-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.4rem;
}

.advice-more-head .eyebrow {
  margin-bottom: 0.5rem;
}

.advice-more-head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.advice-more-head > p {
  max-width: 38ch;
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.advice-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.advice-mini {
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
  padding: 1.1rem 1.15rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--glass-strong);
}

.advice-mini-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 11px;
  background: var(--soft-teal);
  color: var(--accent);
}

.advice-mini-icon svg {
  width: 18px;
  height: 18px;
}

.advice-mini-topic {
  margin-top: 0.2rem;
  color: var(--brand);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.advice-mini h4 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.advice-mini p {
  flex: 1;
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.52;
}

.advice-mini .text-link {
  align-self: flex-start;
  margin-top: 0.3rem;
  font-size: 0.74rem;
}

@media (max-width: 1080px) {
  .home-hero.hero--photo .home-hero-grid {
    grid-template-columns: minmax(0, 680px) minmax(0, 1fr);
  }
}

@media (max-width: 980px) {
  .home-hero.hero--photo .home-hero-grid {
    grid-template-columns: 1fr;
  }

  .home-hero.hero--photo .hero-copy {
    max-width: 680px;
  }

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

@media (max-width: 640px) {
  .home-hero.hero--photo {
    padding-top: 1.8rem;
  }

  .hero-background img {
    object-position: 64% 36%;
  }

  .hero-scrim {
    background:
      linear-gradient(180deg, rgba(10, 6, 16, 0.58) 0%, rgba(10, 6, 16, 0.74) 52%, rgba(10, 6, 16, 0.84) 100%),
      linear-gradient(90deg, rgba(10, 6, 16, 0.55), rgba(10, 6, 16, 0.2));
  }

  .home-hero.hero--photo .hero-copy h1 {
    font-size: clamp(2.7rem, 13vw, 3.9rem);
  }

  .hero-start--wizard {
    padding: 0.9rem;
  }

  .hero-start--wizard .hero-start-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .hero-start--wizard .hero-back,
  .hero-start--wizard .hero-next {
    width: 100%;
  }

  .hero-step {
    min-height: 184px;
  }

  .advice-more-head {
    display: block;
  }

  .advice-more-head > p {
    margin-top: 0.5rem;
  }

  .advice-mini-grid {
    grid-template-columns: 1fr;
  }

  .home-hero.hero--photo .hero-stat {
    padding: 0.9rem 1rem;
  }
}

/* Photo-led auth */

.auth-screen {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  background: var(--bg);
}

.auth-aside {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: stretch;
  overflow: hidden;
  padding: 0;
  border-right: 0;
  background: #120b1a;
  color: #fff;
}

.auth-aside-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.auth-aside-photo picture,
.auth-aside-photo img {
  display: block;
  width: 100%;
  height: 100%;
}

.auth-aside-photo img {
  object-fit: cover;
  object-position: center 38%;
}

.auth-aside-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(10, 6, 16, 0.72) 0%, rgba(10, 6, 16, 0.24) 42%, rgba(10, 6, 16, 0.72) 100%),
    linear-gradient(90deg, rgba(10, 6, 16, 0.78) 0%, rgba(10, 6, 16, 0.44) 42%, rgba(10, 6, 16, 0.02) 78%);
}

.auth-aside-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: clamp(1.5rem, 3vw, 2.8rem);
  gap: 2rem;
}

.auth-aside-inner .brand {
  align-self: flex-start;
  color: #fff;
}

.auth-aside-inner .brand-name {
  background: linear-gradient(100deg, #fff, #ffd7e2 55%, #ffb347);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.auth-aside-copy {
  max-width: 500px;
  margin-top: auto;
  margin-bottom: auto;
}

.auth-aside-copy h2 {
  max-width: 18ch;
  color: #fff;
  font-size: clamp(2.2rem, 3.4vw, 3.3rem);
  line-height: 1;
  text-shadow: 0 6px 30px rgba(0, 0, 0, 0.35);
}

.auth-aside-copy .eyebrow {
  margin-bottom: 0.75rem;
  color: #ffd7e2;
}

.auth-aside-copy .eyebrow::before {
  background: #ffb347;
  box-shadow: 0 0 12px #ffb347;
}

.auth-aside-copy > p:not(.eyebrow) {
  max-width: 43ch;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.94rem;
  line-height: 1.6;
}

.auth-aside .auth-benefits {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  margin-top: 1.2rem;
}

.auth-aside .auth-benefits li {
  align-items: center;
  padding: 0.58rem 0.68rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  background: rgba(10, 6, 16, 0.34);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.76rem;
  line-height: 1.4;
  backdrop-filter: blur(8px);
}

.auth-aside .auth-benefits svg {
  width: 16px;
  height: 16px;
  margin-top: 0;
  color: #7ff0d8;
}

.auth-aside-note {
  max-width: 44ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.58) !important;
  font-size: 0.7rem !important;
}

.auth-main {
  padding: clamp(1.5rem, 4vw, 3rem);
  background:
    radial-gradient(720px 480px at 68% 0%, var(--soft-pink), transparent 65%),
    radial-gradient(650px 500px at 100% 100%, var(--soft-amber), transparent 64%),
    var(--bg);
}

.auth-card {
  width: min(530px, 100%);
  padding: clamp(1.3rem, 2.7vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: 0 34px 90px rgba(55, 29, 42, 0.18);
}

.auth-card-head {
  justify-content: flex-end;
  margin-bottom: 1rem;
}

.auth-card-head > .brand {
  display: none;
}

.auth-screen--single .auth-card-head > .brand {
  display: inline-flex;
}

.auth-card-actions {
  margin-left: auto;
}

.auth-card-kicker {
  margin: 0 0 0.65rem;
  color: var(--brand);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.auth-screen--single {
  grid-template-columns: 1fr;
}

.auth-screen--single .auth-main {
  min-height: 100vh;
}

@media (max-width: 900px) {
  .auth-screen {
    grid-template-columns: 1fr;
  }

  .auth-aside {
    display: flex;
    min-height: 260px;
    max-height: 280px;
  }

  .auth-aside-inner {
    min-height: 0;
    padding: 1.2rem 1.3rem 1.35rem;
    gap: 0.75rem;
  }

  .auth-aside-photo img {
    object-position: center 34%;
  }

  .auth-aside-copy {
    margin-top: auto;
    margin-bottom: 0;
  }

  .auth-aside-copy h2 {
    max-width: 18ch;
    font-size: clamp(1.65rem, 7vw, 2.1rem);
  }

  .auth-aside-copy > p:not(.eyebrow),
  .auth-aside .auth-benefits,
  .auth-aside-note {
    display: none;
  }

  .auth-main {
    align-items: flex-start;
    padding: 1.2rem 1rem 2rem;
  }

  .auth-card {
    width: min(560px, 100%);
    border-radius: 22px;
  }
}

@media (max-width: 480px) {
  .auth-aside {
    min-height: 225px;
    max-height: 245px;
  }

  .auth-card {
    padding: 1.1rem;
    border-radius: 18px;
  }

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

/* Balanced photo hero */

.home-hero.hero--photo .home-hero-grid {
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: clamp(2rem, 4.8vw, 5rem);
  width: min(1180px, 100%);
  margin-inline: auto;
}

.home-hero.hero--photo .hero-copy {
  max-width: 610px;
}

.home-hero.hero--photo .hero-start-column {
  display: flex;
  justify-content: center;
}

.home-hero.hero--photo .hero-start--wizard {
  width: min(570px, 100%);
  margin-top: 0;
}

.home-hero.hero--photo .hero-trust {
  margin-top: 1.35rem;
}

@media (max-width: 980px) {
  .home-hero.hero--photo .home-hero-grid {
    grid-template-columns: 1fr;
    width: min(720px, 100%);
    gap: 1.6rem;
  }

  .home-hero.hero--photo .hero-copy,
  .home-hero.hero--photo .hero-start--wizard {
    max-width: 680px;
  }

  .home-hero.hero--photo .hero-start-column {
    justify-content: flex-start;
  }
}

/* Standard statement image */

.statement-grid {
  grid-template-columns: minmax(150px, 0.48fr) minmax(0, 1.06fr) minmax(280px, 0.9fr);
  align-items: center;
  gap: clamp(1.6rem, 3.5vw, 3.4rem);
}

.statement-copy {
  min-width: 0;
}

.statement-visual {
  position: relative;
  min-height: 270px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  background: var(--surface-3);
  box-shadow: 0 26px 62px rgba(55, 29, 42, 0.16);
}

.statement-visual picture,
.statement-visual img {
  display: block;
  width: 100%;
  height: 100%;
}

.statement-visual img {
  min-height: 270px;
  object-fit: cover;
  object-position: center 38%;
}

.statement-visual figcaption {
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.85rem;
  padding: 0.6rem 0.72rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: rgba(12, 7, 18, 0.58);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.7rem;
  line-height: 1.4;
  backdrop-filter: blur(10px);
}

@media (max-width: 980px) {
  .statement-grid {
    grid-template-columns: minmax(140px, 0.45fr) minmax(0, 1fr);
    align-items: start;
  }

  .statement-visual {
    grid-column: 1 / -1;
    min-height: 260px;
    max-height: 330px;
  }

  .statement-visual img {
    min-height: 260px;
  }
}

@media (max-width: 860px) {
  .statement-grid {
    grid-template-columns: 1fr;
  }

  .statement-visual {
    max-height: 300px;
  }
}

/* Verification card photography */

.review-avatar {
  overflow: hidden;
  padding: 0;
  background: var(--surface-3);
}

.review-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-photo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 34%;
}

.review-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10, 6, 16, 0.55));
}

.review-photo-tag {
  position: absolute;
  z-index: 2;
  left: 0.7rem;
  bottom: 0.7rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.36rem 0.58rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(12, 7, 18, 0.62);
  color: #fff;
  font-size: 0.66rem;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.review-photo-tag svg {
  width: 13px;
  height: 13px;
  color: #7ff0d8;
}

/* Advice call-to-action and dedicated page */

.advice-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 2rem;
  padding: 1.5rem 1.6rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--glass-strong);
}

.advice-cta h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.advice-cta p:not(.eyebrow) {
  max-width: 54ch;
  margin: 0.4rem 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.advice-cta .eyebrow {
  margin-bottom: 0.5rem;
}

.advice-page-hero {
  position: relative;
  padding: clamp(3.2rem, 6vw, 5.8rem) 0 clamp(2.4rem, 4vw, 3.8rem);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(760px 420px at 84% 10%, var(--soft-pink), transparent 64%),
    radial-gradient(620px 380px at 10% 100%, var(--soft-teal), transparent 62%),
    var(--bg);
}

.advice-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.advice-breadcrumb a {
  color: var(--brand);
  text-decoration: none;
}

.advice-breadcrumb a:hover {
  text-decoration: underline;
}

.advice-page-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
  align-items: end;
  gap: 2.4rem;
}

.advice-page-heading h1 {
  max-width: 18ch;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.6vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.advice-page-heading > p {
  max-width: 46ch;
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.68;
}

.advice-page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.8rem;
}

.advice-page-meta span {
  padding: 0.5rem 0.72rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--glass);
  color: var(--muted);
  font-size: 0.72rem;
}

.advice-page-meta strong {
  color: var(--text);
}

.advice-page-list {
  padding-top: clamp(2.8rem, 4.5vw, 4.4rem);
}

.advice-page .advice-more {
  margin-top: 2.8rem;
}

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

.advice-page-cta {
  padding-bottom: clamp(3.6rem, 6vw, 6rem);
}

.chat-hint {
  margin: 0.55rem 0 0;
  padding: 0 0.35rem;
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.45;
  text-align: center;
}

.chat-meter {
  margin: 0;
  padding: 0.45rem 0.9rem 0.8rem;
  color: var(--muted);
  font-size: 0.72rem;
  text-align: center;
}

.chat-access-note,
.chat-paywall {
  margin: 0.8rem;
  padding: 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(255, 95, 143, 0.09), rgba(255, 255, 255, 0.02));
}

.chat-access-note strong {
  display: block;
  margin-bottom: 0.3rem;
}

.chat-access-note p,
.chat-paywall p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

.chat-paywall-kicker {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--brand);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.chat-paywall h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.chat-paywall .btn {
  margin: 0.75rem 0 0.5rem;
}

.composer textarea:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

@media (max-width: 1100px) {
  .advice-page .advice-mini-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .advice-page-heading {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .advice-page-heading h1 {
    max-width: 20ch;
  }

  .advice-cta {
    display: block;
  }

  .advice-cta .btn {
    margin-top: 1.1rem;
  }

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

@media (max-width: 640px) {
  .advice-page .advice-mini-grid {
    grid-template-columns: 1fr;
  }
}

.advice-library {
  display: flex;
  flex-direction: column;
  gap: clamp(3.4rem, 6vw, 5.4rem);
}

.advice-library-section {
  scroll-margin-top: 96px;
}

.advice-library-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.55fr);
  align-items: end;
  gap: 2rem;
  margin-bottom: 1.4rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--line);
}

.advice-library-head .eyebrow {
  margin-bottom: 0.6rem;
}

.advice-library-head h2 {
  max-width: 18ch;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.4vw, 2.9rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.advice-library-head > p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.68;
}

.advice-guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.advice-guide {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  scroll-margin-top: 96px;
}

.advice-guide--feature {
  grid-column: span 2;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
}

.advice-guide--wide {
  grid-column: span 2;
}

.advice-guide-photo {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 260px;
  background: var(--soft-pink);
}

.advice-guide-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.advice-guide-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.7rem;
  padding: clamp(1.2rem, 2.2vw, 1.8rem);
}

.advice-guide--feature .advice-guide-body {
  justify-content: center;
  padding: clamp(1.4rem, 2.6vw, 2.2rem);
}

.advice-guide h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.8vw, 1.6rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.advice-guide p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.65;
}

.advice-guide details {
  margin-top: auto;
  padding-top: 0.8rem;
  border-top: 1px solid var(--line);
}

.advice-guide summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.advice-guide summary::-webkit-details-marker {
  display: none;
}

.advice-guide summary::after {
  content: "+";
  font-size: 1.1rem;
  line-height: 1;
}

.advice-guide details[open] summary::after {
  content: "\2212";
}

.advice-guide ul {
  display: grid;
  gap: 0.45rem;
  margin: 0.8rem 0 0.15rem;
  padding: 0;
  list-style: none;
}

.advice-guide li {
  position: relative;
  padding-left: 1.05rem;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.58;
}

.advice-guide li::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand);
  content: "";
}

@media (max-width: 860px) {
  .advice-library-head {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .advice-guide--feature,
  .advice-guide--wide {
    grid-column: auto;
  }

  .advice-guide--feature {
    grid-template-columns: 1fr;
  }

  .advice-guide-photo {
    min-height: 220px;
    max-height: 280px;
  }

  .advice-guide-grid {
    grid-template-columns: 1fr;
  }
}

/* Policy, help, FAQ and careers pages */

.policy-hero {
  padding: clamp(3rem, 6vw, 5.4rem) 0 clamp(2.2rem, 4vw, 3.4rem);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(760px 420px at 86% 8%, var(--soft-pink), transparent 64%),
    radial-gradient(620px 380px at 8% 100%, var(--soft-teal), transparent 62%),
    var(--bg);
}

.policy-heading {
  max-width: 900px;
}

.policy-heading h1 {
  max-width: 16ch;
  margin: 0.8rem 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.4vw, 4.8rem);
  line-height: 0.99;
  letter-spacing: -0.035em;
}

.policy-heading > p:not(.eyebrow) {
  max-width: 62ch;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.policy-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.6rem;
}

.policy-meta span {
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--glass);
  color: var(--muted);
  font-size: 0.72rem;
}

.policy-meta strong {
  color: var(--text);
}

.policy-body {
  padding-top: clamp(2.8rem, 4.5vw, 4.4rem);
}

.policy-layout {
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(0, 760px);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.policy-aside {
  position: sticky;
  top: 1.5rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
}

.policy-aside .eyebrow {
  margin-bottom: 0.8rem;
}

.policy-aside nav {
  display: grid;
  gap: 0.55rem;
}

.policy-aside nav a {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.4;
  text-decoration: none;
}

.policy-aside nav a:hover {
  color: var(--brand);
}

.policy-aside-note {
  margin: 1.3rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.55;
}

.policy-aside-note a {
  color: var(--brand);
}

.policy-content {
  min-width: 0;
}

.policy-lede {
  margin-top: 0;
  font-size: clamp(1.08rem, 1.6vw, 1.3rem);
  line-height: 1.65;
}

.policy-content h2 {
  margin: 2.3rem 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  scroll-margin-top: 100px;
}

.policy-content h2:first-of-type {
  margin-top: 0;
}

.policy-content h3 {
  margin: 1.6rem 0 0.55rem;
  font-size: 1rem;
}

.policy-content p,
.policy-content li {
  color: var(--muted);
  line-height: 1.75;
}

.policy-content ul {
  display: grid;
  gap: 0.55rem;
  margin: 0.8rem 0 1.2rem;
  padding-left: 1.15rem;
}

.policy-content li::marker {
  color: var(--brand);
}

.policy-content a {
  color: var(--brand);
}

.policy-callout {
  margin-top: 2rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand);
  border-radius: 0 16px 16px 0;
  background: var(--glass);
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.policy-callout strong {
  color: var(--text);
}

.help-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.6rem 0 2.4rem;
}

.help-card {
  padding: 1.3rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  scroll-margin-top: 100px;
}

.help-card h2 {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  scroll-margin-top: 100px;
}

.help-card ul {
  margin: 0;
}

.help-card li {
  font-size: 0.86rem;
}

.role-card {
  margin-top: 1.8rem;
  padding: clamp(1.3rem, 2.5vw, 1.9rem);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  scroll-margin-top: 100px;
}

.role-card > h2 {
  margin: 0.25rem 0 0.35rem;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
}

.role-subtitle {
  margin: 0 0 1rem !important;
  color: var(--brand) !important;
  font-size: 0.78rem !important;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.role-card h3 {
  margin-top: 1.3rem;
}

.policy-cta {
  padding-bottom: clamp(3.6rem, 6vw, 6rem);
}

.consent-row a {
  color: var(--brand);
  font-weight: 700;
}

.auth-page {
  min-height: 100vh;
  background: var(--bg);
}

.auth-page .auth-screen {
  min-height: calc(100vh - 65px);
  min-height: calc(100dvh - 65px);
}

.auth-page .auth-screen--single .auth-main {
  min-height: calc(100vh - 65px);
  min-height: calc(100dvh - 65px);
}

.auth-public-nav {
  position: sticky;
}

.footer-main {
  grid-template-columns: minmax(0, 1.35fr) repeat(4, minmax(0, 0.72fr));
}

.footer-bottom a {
  color: var(--muted);
}

.footer-bottom a:hover {
  color: var(--brand);
}

@media (max-width: 1100px) {
  .policy-layout {
    grid-template-columns: 1fr;
  }

  .policy-aside {
    position: static;
  }

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

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .help-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .policy-aside nav {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }
}

/* Immersive statement band: a playful night sky after the hero */

.statement-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(4rem, 7vw, 6.8rem) 0;
  color: #fff;
  background: #080415;
}

.statement-sky {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background: #080415;
}

.statement-sky-art {
  display: block;
  width: 100%;
  height: 100%;
}

.statement-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(60% 50% at 72% 0%, rgba(139, 61, 255, 0.18), transparent 66%),
    radial-gradient(80% 70% at 50% 105%, rgba(255, 92, 138, 0.16), transparent 62%),
    linear-gradient(90deg, rgba(6, 3, 14, 0.76) 0%, rgba(6, 3, 14, 0.54) 42%, rgba(6, 3, 14, 0.14) 100%),
    linear-gradient(180deg, rgba(5, 2, 12, 0.32) 0%, transparent 30%, transparent 70%, rgba(5, 2, 12, 0.32) 100%);
}

.moon-pair {
  position: absolute;
  z-index: 0;
  top: 14%;
  left: 4.5%;
  width: clamp(170px, 19vw, 250px);
  height: auto;
  pointer-events: none;
  filter: drop-shadow(0 18px 38px rgba(0, 0, 0, 0.35));
  animation: moon-pair-float 10s ease-in-out infinite;
}

.statement-band .statement-grid {
  position: relative;
  z-index: 1;
  border-top-color: rgba(255, 255, 255, 0.22);
}

.statement-band .eyebrow {
  color: #ffd7e2;
}

.statement-band .eyebrow::before {
  background: #ffb347;
  box-shadow: 0 0 14px #ffb347;
}

.statement-band .statement-grid h2 {
  color: #fff;
  text-shadow: 0 10px 38px rgba(0, 0, 0, 0.45);
}

.statement-band .statement-grid p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
}

.statement-band .statement-visual {
  border-color: rgba(255, 255, 255, 0.26);
  box-shadow: 0 30px 72px rgba(0, 0, 0, 0.5);
}

.sky-aurora,
.sky-twinkle,
.moon,
.kiss-heart,
.moon-heart {
  transform-box: fill-box;
  transform-origin: center;
}

.sky-aurora--a {
  animation: aurora-a 26s ease-in-out infinite alternate;
}

.sky-aurora--b {
  animation: aurora-b 32s ease-in-out infinite alternate;
}

.sky-stars {
  animation: stars-breathe 12s ease-in-out infinite;
}

.sky-twinkle {
  animation: star-twinkle 4.5s ease-in-out infinite;
}

.sky-twinkle:nth-child(2) {
  animation-delay: -1.2s;
}

.sky-twinkle:nth-child(3) {
  animation-delay: -2.4s;
}

.sky-twinkle:nth-child(4) {
  animation-delay: -0.7s;
}

.sky-twinkle:nth-child(5) {
  animation-delay: -3.1s;
}

.sky-twinkle:nth-child(6) {
  animation-delay: -1.9s;
}

.moon-left {
  animation: moon-kiss-left 8s ease-in-out infinite;
}

.moon-right {
  animation: moon-kiss-right 8s ease-in-out infinite;
}

.kiss-heart {
  opacity: 0;
  animation: kiss-pop 8s ease-in-out infinite;
}

.moon-heart {
  animation: heart-float 7s ease-in-out infinite;
}

.moon-heart:nth-child(2) {
  animation-delay: -2.3s;
}

.moon-heart:nth-child(3) {
  animation-delay: -4.6s;
}

@keyframes aurora-a {
  from {
    transform: translate3d(-2%, 0, 0) rotate(-1deg) scale(1.02);
  }

  to {
    transform: translate3d(2%, 2%, 0) rotate(1.5deg) scale(1.05);
  }
}

@keyframes aurora-b {
  from {
    transform: translate3d(1.5%, 1%, 0) rotate(1deg) scale(1.04);
  }

  to {
    transform: translate3d(-2%, -1%, 0) rotate(-1.5deg) scale(1.01);
  }
}

@keyframes stars-breathe {
  0%,
  100% {
    opacity: 0.78;
  }

  50% {
    opacity: 1;
  }
}

@keyframes star-twinkle {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(0.7);
  }

  50% {
    opacity: 1;
    transform: scale(1.35);
  }
}

@keyframes moon-pair-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-9px);
  }
}

@keyframes moon-kiss-left {
  0%,
  100% {
    transform: translate(-18px, 2px) rotate(-6deg);
  }

  44%,
  54% {
    transform: translate(6px, 3px) rotate(3deg);
  }
}

@keyframes moon-kiss-right {
  0%,
  100% {
    transform: translate(18px, 2px) rotate(6deg);
  }

  44%,
  54% {
    transform: translate(-6px, 3px) rotate(-3deg);
  }
}

@keyframes kiss-pop {
  0%,
  36%,
  64%,
  100% {
    opacity: 0;
    transform: translateY(10px) scale(0.4);
  }

  46%,
  54% {
    opacity: 1;
    transform: translateY(-4px) scale(1);
  }
}

@keyframes heart-float {
  0%,
  100% {
    opacity: 0.25;
    transform: translateY(4px) scale(0.85) rotate(-6deg);
  }

  50% {
    opacity: 0.85;
    transform: translateY(-8px) scale(1.05) rotate(6deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .moon-pair,
  .moon,
  .kiss-heart,
  .moon-heart,
  .sky-aurora,
  .sky-twinkle,
  .sky-stars {
    animation: none;
  }

  .kiss-heart {
    opacity: 1;
  }
}

@media (max-width: 860px) {
  .statement-band::after {
    background:
      radial-gradient(80% 60% at 50% 100%, rgba(255, 92, 138, 0.12), transparent 62%),
      linear-gradient(180deg, rgba(6, 3, 14, 0.82) 0%, rgba(6, 3, 14, 0.52) 42%, rgba(6, 3, 14, 0.78) 100%);
  }

  .moon-pair {
    top: 2%;
    right: 4%;
    left: auto;
    width: 140px;
    opacity: 0.95;
  }
}

/* ============================================================
   MOBILE NAVIGATION
   The primary links collapse behind a toggle under 980px.
   ============================================================ */

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  order: 3;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.nav-toggle:hover,
.nav-toggle[aria-expanded='true'] {
  border-color: var(--brand);
  color: var(--brand);
}

.nav-toggle svg {
  display: block;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-flex;
  }

  .landing-nav.menu-open .nav-links {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 60;
    flex-direction: column;
    align-items: stretch;
    gap: 0.1rem;
    padding: 0.7rem 1.1rem 1rem;
    background: var(--nav-bg);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 22px 44px rgba(4, 2, 10, 0.45);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
  }

  .landing-nav.menu-open .nav-links a {
    padding: 0.62rem 0.4rem;
    border-radius: 10px;
    font-size: 0.98rem;
    color: var(--text);
  }

  .landing-nav.menu-open .nav-links a::after {
    display: none;
  }
}
