/*
 * Light UI is the default for everyone. (We do not follow prefers-color-scheme,
 * so users in OS dark mode still see the branded light experience.)
 * Optional: add class theme-dark on <html> for a dark palette later.
 */
:root {
  color-scheme: light;
  --bg: #f3f6ff;
  --surface: #ffffff;
  --surface-2: #f7f9ff;
  --text: #141a2a;
  --muted: #5f6b86;
  --accent: #4c67ff;
  --accent-dim: #354ad8;
  --danger: #cc3345;
  --ok: #22996a;
  --border: #dde4fb;
  --shadow: 0 14px 40px rgba(31, 54, 127, 0.12);
  --lp-orange: #ea580c;
  --lp-orange-hover: #c2410c;
  --lp-navy: #0f172a;
  --lp-blue: #2563eb;
  --lp-teal: #14b8a6;
  --lp-panel: #f8fafc;
  font-family: 'Plus Jakarta Sans', Inter, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, 'Noto Sans', sans-serif;
}

html.theme-dark {
  color-scheme: dark;
  --bg: #0f1422;
  --surface: #151c2d;
  --surface-2: #1b2438;
  --text: #edf1ff;
  --muted: #9aa8cc;
  --accent: #7390ff;
  --accent-dim: #506ee3;
  --danger: #ff6f81;
  --ok: #54d8a4;
  --border: #283251;
  --shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  min-height: 100vh;
  background: radial-gradient(1000px 480px at 10% -10%, rgba(76, 103, 255, 0.18), transparent 60%),
              radial-gradient(800px 420px at 90% -20%, rgba(110, 175, 255, 0.16), transparent 60%),
              var(--bg);
  color: var(--text);
  line-height: 1.5;
}
.site-bg { display: none; }

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

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(8px);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  border-bottom: 1px solid var(--border);
}
.top-inner {
  width: min(1240px, calc(100% - 2rem));
  margin: 0 auto;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}
.brand:hover { text-decoration: none; }
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: linear-gradient(145deg, var(--accent), var(--accent-dim));
  color: #fff;
  font-size: 0.75rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}
.nav > a {
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.45rem 0.6rem;
  border-radius: 9px;
}
.nav > a:hover {
  text-decoration: none;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
}

.main {
  width: min(1240px, calc(100% - 2rem));
  margin: 1.2rem auto 2rem;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.glass {
  background: color-mix(in srgb, var(--surface) 88%, #fff 12%);
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* --- Marketing landing (home): split layout like popular dating sign-up pages --- */
body.page-home {
  background: linear-gradient(165deg, #e8f0ff 0%, #f8fafc 38%, #f1f5f9 100%);
}
body.page-home .top {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #e2e8f0;
}
body.page-home .brand .brand-mark {
  background: linear-gradient(145deg, var(--lp-orange), var(--lp-orange-hover));
}
body.page-home .btn-nav {
  background: linear-gradient(180deg, var(--lp-orange), var(--lp-orange-hover));
  color: #fff;
  border: none;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.35);
}
body.page-home .btn-nav:hover {
  filter: brightness(1.05);
  text-decoration: none;
}

.main--home {
  max-width: none !important;
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
}
.main--home > .banner {
  width: min(720px, calc(100% - 1.5rem));
  margin: 1rem auto 0;
}

.lp-split {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(320px, 1fr);
  min-height: min(78vh, 900px);
  align-items: stretch;
}

.lp-left {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem 2.5rem;
  background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
}

.lp-card {
  width: 100%;
  max-width: 460px;
  background: #fff;
  border-radius: 24px;
  padding: 2rem 1.75rem 1.75rem;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.1), 0 0 0 1px rgba(15, 23, 42, 0.04);
}

.lp-brandline {
  margin: 0 0 0.25rem;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--lp-navy);
}
.lp-brand-accent {
  color: var(--lp-orange);
}

.lp-headline {
  margin: 0.4rem 0 0.65rem;
  font-size: clamp(1.65rem, 3.2vw, 2.15rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #334155;
}

.lp-sub {
  margin: 0 0 1.25rem;
  font-size: 1rem;
  color: #64748b;
  line-height: 1.5;
}

.lp-field { margin-bottom: 1.1rem; }

.lp-label {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: #475569;
}

.lp-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.lp-pill {
  flex: 1;
  min-width: 5.5rem;
  padding: 0.65rem 0.8rem;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  color: #475569;
  background: #fff;
  border: 2px solid #e2e8f0;
  border-radius: 999px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.lp-pill:hover {
  border-color: #cbd5e1;
}
.lp-pill.is-on {
  border-color: var(--lp-orange);
  background: linear-gradient(180deg, #fff7ed 0%, #ffedd5 100%);
  color: var(--lp-orange-hover);
}

.lp-age-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.lp-dash {
  color: #94a3b8;
  font-weight: 700;
}

.lp-select {
  flex: 1;
  min-width: 6.5rem;
  padding: 0.6rem 0.75rem;
  border-radius: 12px;
  border: 2px solid #e2e8f0;
  background: #fff;
  font: inherit;
  font-weight: 600;
  color: #334155;
}
.lp-select:focus {
  outline: 2px solid color-mix(in srgb, var(--lp-orange) 45%, transparent);
  border-color: var(--lp-orange);
}

.lp-next {
  display: flex;
  width: 100%;
  justify-content: center;
  margin-top: 0.35rem;
  padding: 0.88rem 1.25rem;
  font-size: 1.05rem;
  font-weight: 800;
  border: none;
  border-radius: 14px;
  color: #fff !important;
  text-decoration: none !important;
  background: linear-gradient(180deg, var(--lp-orange) 0%, var(--lp-orange-hover) 100%);
  box-shadow: 0 8px 24px rgba(234, 88, 12, 0.38);
}
.lp-next:hover {
  filter: brightness(1.06);
  text-decoration: none !important;
}

.lp-secondary {
  display: flex;
  width: 100%;
  justify-content: center;
  margin-top: 0.65rem;
  padding: 0.75rem 1rem;
  font-weight: 700;
  border-radius: 14px;
  border: 2px solid #e2e8f0 !important;
  background: #fff !important;
  color: #334155 !important;
  text-decoration: none !important;
}
.lp-secondary:hover {
  border-color: #cbd5e1 !important;
  text-decoration: none !important;
}

.lp-logged-cta {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.lp-legal {
  margin: 1.1rem 0 0;
  font-size: 0.72rem;
  line-height: 1.45;
  color: #94a3b8;
  text-align: center;
}
.lp-legal a {
  color: #64748b;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.lp-right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem 2.5rem;
  background: linear-gradient(155deg, #2563eb 0%, #1d4ed8 32%, #172554 92%);
  overflow: hidden;
}
.lp-right::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 500px at 80% 15%, rgba(255, 255, 255, 0.12), transparent 55%),
              radial-gradient(500px 400px at 15% 90%, rgba(59, 130, 246, 0.35), transparent 50%);
  pointer-events: none;
}

.lp-visual {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  text-align: center;
}

.lp-stack {
  position: relative;
  height: 380px;
  margin: 0 auto 1.5rem;
  max-width: 380px;
}

.lp-profile {
  position: absolute;
  margin: 0;
  border-radius: 22px;
  overflow: visible;
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.35);
  border: 4px solid rgba(255, 255, 255, 0.95);
}

.lp-photo {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 18px;
  background-size: cover;
  background-position: center;
}

/* Warm portrait tiles (no external stock URLs — still reads as “people cards”) */
.lp-photo-a {
  background-image:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.45), transparent 42%),
    linear-gradient(160deg, #fdba74 0%, #ea580c 45%, #9a3412 100%);
}
.lp-photo-b {
  background-image:
    radial-gradient(circle at 70% 20%, rgba(255, 255, 255, 0.4), transparent 45%),
    linear-gradient(168deg, #93c5fd 0%, #2563eb 50%, #1e3a8a 100%);
}
.lp-photo-c {
  background-image:
    radial-gradient(circle at 40% 30%, rgba(255, 255, 255, 0.5), transparent 40%),
    linear-gradient(175deg, #c4b5fd 0%, #7c3aed 48%, #4c1d95 100%);
}

.lp-p1 {
  width: 168px;
  height: 210px;
  left: 0;
  top: 72px;
  transform: rotate(-10deg);
  z-index: 1;
}
.lp-p2 {
  width: 212px;
  height: 268px;
  left: 50%;
  top: 24px;
  transform: translateX(-50%);
  z-index: 3;
}
.lp-p3 {
  width: 158px;
  height: 198px;
  right: 0;
  top: 88px;
  transform: rotate(9deg);
  z-index: 2;
}

.lp-verified {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--lp-blue);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  line-height: 1;
  display: grid;
  place-items: center;
  border: 2px solid #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.lp-tagline {
  margin: 0;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 800;
  line-height: 1.25;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.lp-trust {
  background: linear-gradient(180deg, #14532d 0%, #0f3d24 55%, #052e16 100%);
  color: #e2f6ec;
  padding: 2rem 1.25rem;
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.lp-trust-inner {
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.lp-trust article {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  font-size: 0.92rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
}
.lp-trust-text strong {
  display: block;
  margin: 0.4rem 0 0.35rem;
  font-size: 1.05rem;
  color: #fff;
}
.lp-trust-text span {
  display: block;
  font-size: 0.88rem;
  opacity: 0.88;
  font-weight: 500;
}
.lp-trust-ico {
  display: inline-flex;
  width: 2.25rem;
  height: 2.25rem;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 0.15rem;
}

.lp-bottom {
  padding: 2.5rem 1.25rem 3rem;
  background: #f1f5f9;
}
.lp-bottom-title {
  text-align: center;
  margin: 0 0 1.5rem;
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  font-weight: 800;
  color: #1e293b;
}
.lp-features {
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.lp-features article {
  background: #fff;
  border-radius: 16px;
  padding: 1.1rem 1.15rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}
.lp-features h3 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
  font-weight: 800;
  color: #0f172a;
}
.lp-features p {
  margin: 0;
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.5;
}

body.page-home .foot {
  margin-top: 0;
  border-top: 1px solid #e2e8f0;
}

.page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.58rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
}
.btn:hover { text-decoration: none; }
.btn.primary {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(180deg, var(--accent), var(--accent-dim));
}
.btn.small {
  padding: 0.38rem 0.66rem;
  font-size: 0.85rem;
}
.btn.btn-nav {
  padding: 0.45rem 0.8rem;
}
.btn.danger {
  color: var(--danger);
  border-color: color-mix(in srgb, var(--danger) 50%, var(--border));
}

.badge {
  display: inline-grid;
  place-items: center;
  min-width: 1.2rem;
  padding: 0.08rem 0.33rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  margin-left: 0.22rem;
}

.muted { color: var(--muted); }
.stack { display: flex; flex-direction: column; gap: 1rem; }
.stack label { display: flex; flex-direction: column; gap: 0.35rem; font-weight: 600; }

input[type="email"],
input[type="password"],
input[type="text"],
input[type="number"],
input[type="date"],
textarea,
select {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  padding: 0.65rem 0.75rem;
  font: inherit;
}
textarea { resize: vertical; }

.banner {
  padding: 0.75rem 1rem;
  border-radius: 11px;
  border: 1px solid var(--border);
  margin: 0 0 1rem;
  background: var(--surface);
}
.banner.error {
  border-color: color-mix(in srgb, var(--danger) 50%, var(--border));
  background: color-mix(in srgb, var(--danger) 10%, var(--surface));
}
.banner.success {
  border-color: color-mix(in srgb, var(--ok) 50%, var(--border));
  background: color-mix(in srgb, var(--ok) 10%, var(--surface));
}
.banner.warn {
  border-color: color-mix(in srgb, #f59f00 45%, var(--border));
  background: color-mix(in srgb, #f59f00 10%, var(--surface));
}

.cards {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.75rem;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.9rem;
}
.card-row {
  display: flex;
  gap: 0.9rem;
  width: 100%;
}
.avatar {
  width: 74px;
  height: 74px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid var(--border);
  flex-shrink: 0;
}
.avatar-ph {
  background: linear-gradient(145deg, color-mix(in srgb, var(--accent) 18%, var(--surface)), var(--surface));
}
.card-main { flex: 1; min-width: 0; }
.card-title { font-weight: 800; margin-bottom: 0.2rem; }
.card-meta { color: var(--muted); font-size: 0.9rem; }
.card-actions {
  margin-top: 0.6rem;
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.filters .filter-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0.75rem;
}
.pager {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.1rem;
}

.swipe-stack {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 0.9rem;
}
.swipe-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.swipe-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.swipe-photo-ph {
  background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 20%, var(--surface)), var(--surface));
}
.swipe-body { padding: 0.9rem; }
.swipe-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.7rem; }

.thread-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}
.thread-list li { border-bottom: 1px solid var(--border); }
.thread-list a { display: block; padding: 0.85rem 0.2rem; color: var(--text); }

.back { margin: 0 0 0.6rem; }
.thread {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.chat-thread { max-height: 62vh; overflow-y: auto; }
.bubble {
  max-width: 82%;
  padding: 0.65rem 0.85rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface-2);
}
.bubble.me {
  align-self: flex-end;
  background: color-mix(in srgb, var(--accent) 14%, var(--surface-2));
  border-color: color-mix(in srgb, var(--accent) 35%, var(--border));
}
.bubble.them { align-self: flex-start; }
.bubble-body { white-space: pre-wrap; word-break: break-word; }
.bubble-time { font-size: 0.75rem; margin-top: 0.35rem; color: var(--muted); }
.match-pill {
  display: inline-block;
  border-radius: 999px;
  padding: 0.12rem 0.45rem;
  font-size: 0.74rem;
  border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--border));
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 16%, transparent);
}

.notice-list li { padding: 0.75rem 0.2rem; }
.notice-unread strong { color: var(--text); }
.notice-read strong { color: var(--muted); font-weight: 600; }

.section {
  margin-top: 2rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--border);
}
.photo-grid {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.75rem;
}
.photo-tile {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
}
.photo-tile img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.photo-del { padding: 0.5rem; }

.progress {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--border) 60%, transparent);
  overflow: hidden;
}
.progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--ok));
}
.onboard-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.55rem;
}

.onboard-wrap {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 1rem;
}
.onboard-left,
.onboard-right {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.onboard-left { padding: 1rem; }
.onboard-right { padding: 1rem; min-height: 420px; }
.step-dots { display: flex; gap: 0.5rem; margin-top: 1rem; }
.dot {
  width: 28px;
  height: 6px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--border) 75%, transparent);
}
.dot.active { background: var(--accent); }
.step-card { display: none; }
.step-card.active { display: block; }
.step-actions {
  margin-top: 1rem;
  display: flex;
  gap: 0.6rem;
  justify-content: flex-end;
}
.review-list {
  list-style: none;
  margin: 0.8rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.table-wrap { overflow-x: auto; margin-top: 1rem; }
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.table th, .table td {
  border-bottom: 1px solid var(--border);
  padding: 0.55rem 0.45rem;
  text-align: left;
  vertical-align: top;
}
.admin-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1rem;
}
.admin-photo-grid {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}
.admin-photo-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
}
.admin-photo-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.admin-photo-meta { padding: 0.45rem 0.65rem; color: var(--muted); }
.legal-lead { color: var(--muted); margin-top: 0; }

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
label.check {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  font-weight: 600;
}
label.check input { margin-top: 0.2rem; }

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.foot {
  border-top: 1px solid var(--border);
  margin-top: 1.25rem;
  padding: 1.25rem 0 1.65rem;
}
.foot-inner {
  width: min(1240px, calc(100% - 2rem));
  margin: 0 auto;
  text-align: center;
}
.foot-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  padding: 0.8rem 1rem;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  z-index: 50;
}
.cookie-banner p { margin: 0; max-width: 54rem; }

.cookie-banner--bar {
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 0;
  padding: 0;
  margin: 0;
  background: #2d3748;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.2);
}
.cookie-banner__inner {
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1rem 1rem 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.cookie-banner__copy {
  flex: 1;
  min-width: min(100%, 280px);
}
.cookie-banner__copy strong {
  display: block;
  color: #fff;
  font-size: 0.98rem;
  margin-bottom: 0.25rem;
}
.cookie-banner__copy p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.82);
  max-width: 52rem;
}
.cookie-banner__copy a {
  color: #7dd3fc;
  text-decoration: underline;
}
.cookie-banner__accept {
  flex-shrink: 0;
  padding: 0.65rem 1.35rem !important;
  font-weight: 800 !important;
  border: none !important;
  border-radius: 10px !important;
  background: var(--lp-teal) !important;
  color: #fff !important;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(20, 184, 166, 0.4);
}
.cookie-banner__accept:hover {
  filter: brightness(1.08);
}

@media (max-width: 1024px) {
  .lp-split { grid-template-columns: 1fr; min-height: 0; }
  .lp-stack { height: 340px; margin-bottom: 1rem; }
  .lp-p2 { width: 190px; height: 238px; }
  .lp-p1 { width: 142px; height: 178px; top: 90px; }
  .lp-p3 { width: 132px; height: 170px; top: 100px; }
  .lp-trust-inner {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .lp-trust article {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
  }
  .lp-trust-ico { margin-bottom: 0; flex-shrink: 0; }
  .lp-trust-text strong { margin-top: 0; }
}

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

@media (max-width: 700px) {
  .main:not(.main--home) { width: calc(100% - 1rem); margin-top: 0.85rem; }
  .main--home > .banner { width: calc(100% - 1rem); }
  .top-inner { width: calc(100% - 1rem); }
  .nav { gap: 0.22rem; }
  .nav > a { font-size: 0.84rem; padding: 0.36rem 0.45rem; }
  .card-row { flex-direction: column; }
  .avatar { width: 100%; height: auto; aspect-ratio: 4 / 3; }
  .bubble { max-width: 95%; }
  .cookie-banner:not(.cookie-banner--bar) { left: 0.5rem; right: 0.5rem; bottom: 0.5rem; }
  .lp-left { padding: 1.25rem 1rem 1rem; }
  .lp-card { padding: 1.5rem 1.25rem 1.25rem; }
  .lp-right { padding: 1.5rem 1rem 2rem; }
}
