/* ============================================================
   CirqleUp — marketing page
   Cream vanilla + cherry cola editorial design.
   Light/dark theming via color-scheme + light-dark() tokens.
   ============================================================ */

/* ---------- Tokens ---------- */

:root {
  /* Fallback (plain light) for browsers without light-dark() */
  --bg: #efe6dd;
  --bg-soft: #f5efe7;
  --surface: #ffffff;
  --surface-2: #faf6f0;
  --text: #2a0a0a;
  --text-2: #5a2a2a;
  --text-3: #7a5252;
  --primary: #9a0002;
  --primary-strong: #7c0002;
  --primary-text: #9a0002;
  --on-primary: #efe6dd;
  --border: rgba(42, 10, 10, 0.12);
  --border-strong: rgba(154, 0, 2, 0.28);
  --success: #16a34a;
  --warning: #d97706;
  --shadow: 0 20px 50px -18px rgba(42, 10, 10, 0.18);
  --bezel: #2a0a0a;
  --glow: rgba(154, 0, 2, 0.14);
  --p-dating: #9a0002;
  --p-friend: #2ba89f;
  --p-friend-2: #45b7d1;
  --p-biz: #1e8449;
  --p-biz-2: #d4ac0d;
}

:root {
  color-scheme: light dark;

  --bg: light-dark(#efe6dd, #1a0e0d);
  --bg-soft: light-dark(#f5efe7, #241514);
  --surface: light-dark(#ffffff, #2a1816);
  --surface-2: light-dark(#faf6f0, #352020);
  --text: light-dark(#2a0a0a, #efe6dd);
  --text-2: light-dark(#5a2a2a, #d4c4b5);
  --text-3: light-dark(#7a5252, #9a8a7a);
  --primary: #9a0002;
  --primary-strong: light-dark(#7c0002, #c41e3a);
  --primary-text: light-dark(#9a0002, #e8938b);
  --on-primary: #efe6dd;
  --border: light-dark(rgba(42, 10, 10, 0.12), rgba(239, 230, 221, 0.14));
  --border-strong: light-dark(rgba(154, 0, 2, 0.28), rgba(196, 30, 58, 0.4));
  --success: light-dark(#16a34a, #22c55e);
  --warning: light-dark(#d97706, #f59e0b);
  --shadow: light-dark(
    0 20px 50px -18px rgba(42, 10, 10, 0.18),
    0 20px 50px -18px rgba(0, 0, 0, 0.55)
  );
  --bezel: light-dark(#2a0a0a, #000000);
  --glow: light-dark(rgba(154, 0, 2, 0.14), rgba(196, 30, 58, 0.18));

  --p-dating: light-dark(#9a0002, #c41e3a);
  --p-friend: light-dark(#2ba89f, #4ecdc4);
  --p-friend-2: #45b7d1;
  --p-biz: light-dark(#1e8449, #27ae60);
  --p-biz-2: light-dark(#d4ac0d, #f1c40f);

  /* Typography */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "DM Sans", system-ui, -apple-system, sans-serif;

  /* Spacing (8pt grid) */
  --s-1: 8px; --s-2: 16px; --s-3: 24px; --s-4: 32px;
  --s-5: 40px; --s-6: 48px; --s-8: 64px; --s-12: 96px; --s-16: 128px;

  /* Radii */
  --r-sm: 8px; --r-md: 12px; --r-lg: 16px; --r-xl: 20px;
  --r-2xl: 24px; --r-full: 999px;
  --r-arch: 999px 999px 24px 24px;

  /* Motion */
  --dur-fast: 150ms; --dur-med: 250ms; --dur-slow: 400ms;
  --ease: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-out: cubic-bezier(0.33, 1, 0.68, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --maxw: 1180px;
}

:root[data-theme="light"] { color-scheme: light; }
:root[data-theme="dark"] { color-scheme: dark; }

/* ---------- Reset & base ---------- */

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* Photo avatars — the source images are pre-cropped circles on a pastel
   backdrop, so 1:1 cover inside a circular, overflow-hidden container clips
   cleanly with no extra masking needed. */
.avatars span img,
.circle-bar__avatars span img,
.member-card__avatar img,
.orbit__avatar img,
.orbit__d-av img,
.pool-tile span img,
.req__avatar img,
.dm-head__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--text);
}

h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }

h1 em, h2 em {
  font-style: italic;
  color: var(--primary-text);
}

:focus-visible {
  outline: 3px solid var(--primary-text);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  top: -48px;
  left: var(--s-2);
  z-index: 200;
  padding: 10px 18px;
  background: var(--primary);
  color: var(--on-primary);
  border-radius: var(--r-full);
  transition: top var(--dur-fast) var(--ease);
}
.skip-link:focus { top: var(--s-2); }

.container {
  width: min(var(--maxw), 92%);
  margin-inline: auto;
}
.container--narrow { width: min(760px, 92%); }

.section { padding: var(--s-12) 0; }
.section--soft { background: var(--bg-soft); }
.section--cherry { background: var(--primary); color: var(--on-primary); }

.section__head {
  max-width: 720px;
  margin-bottom: var(--s-6);
}
.section__head p { color: var(--text-2); margin-top: var(--s-2); font-size: 1.05rem; }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-text);
  margin-bottom: var(--s-2);
}

.eyebrow-pill {
  display: inline-block;
  padding: 8px 18px;
  border-radius: var(--r-full);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--primary-text);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: var(--s-3);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: var(--r-full);
  font-weight: 700;
  font-size: 1rem;
  transition: transform var(--dur-med) var(--ease), box-shadow var(--dur-med) var(--ease),
    background-color var(--dur-med) var(--ease), color var(--dur-med) var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--primary);
  color: var(--on-primary);
  box-shadow: var(--shadow);
}
.btn--primary:hover { background: var(--primary-strong); }

.btn--ghost {
  border: 2px solid var(--border-strong);
  color: var(--primary-text);
  background: transparent;
}
.btn--ghost:hover { border-color: var(--primary-text); }

.btn--cream {
  background: var(--on-primary);
  color: #9a0002;
}

.btn--sm { padding: 10px 22px; font-size: 0.9rem; }

.tag-pill {
  display: inline-block;
  padding: 10px 20px;
  border-radius: var(--r-full);
  border: 1.5px dashed var(--border-strong);
  color: var(--primary-text);
  font-weight: 700;
  font-size: 0.9rem;
}

/* ---------- Nav ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 14px 0;
  transition: background-color var(--dur-med) var(--ease), box-shadow var(--dur-med) var(--ease),
    padding var(--dur-med) var(--ease);
}
.nav.scrolled {
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px -18px rgba(0, 0, 0, 0.35);
  padding: 10px 0;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
}
.brand__logo {
  height: 30px;
  width: auto;
  display: block;
}
.brand__logo--dark { display: none; }
:root[data-theme="dark"] .brand__logo--light { display: none; }
:root[data-theme="dark"] .brand__logo--dark { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .brand__logo--light { display: none; }
  :root:not([data-theme="light"]) .brand__logo--dark { display: block; }
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--s-3);
}
.nav__links > a:not(.btn) {
  color: var(--text-2);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color var(--dur-fast) var(--ease);
}
.nav__links > a:not(.btn):hover { color: var(--primary-text); }

.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--s-2);
}

.theme-toggle {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: var(--r-full);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: transform var(--dur-med) var(--ease-spring), border-color var(--dur-fast) var(--ease);
}
.theme-toggle:hover { transform: rotate(15deg) scale(1.06); border-color: var(--border-strong); }
.theme-toggle svg {
  width: 20px;
  height: 20px;
  stroke: var(--primary-text);
  fill: none;
  stroke-width: 2;
}
.theme-toggle__moon { fill: var(--primary-text); stroke: none; }

/* Show the icon for the theme you'd switch TO */
.theme-toggle__sun { display: none; }
:root[data-theme="dark"] .theme-toggle__sun { display: block; }
:root[data-theme="dark"] .theme-toggle__moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle__sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle__moon { display: none; }
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
}
.nav__toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--dur-med) var(--ease), opacity var(--dur-med) var(--ease);
}
.nav__toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.active span:nth-child(2) { opacity: 0; }
.nav__toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  padding: calc(var(--s-16) + 40px) 0 var(--s-12);
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--s-8);
  align-items: center;
}
.hero__title {
  font-size: clamp(2.8rem, 6vw, 4.6rem);
  font-weight: 700;
  margin-bottom: var(--s-3);
}
.hero__sub {
  font-size: 1.15rem;
  color: var(--text-2);
  max-width: 34rem;
  margin-bottom: var(--s-4);
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin-bottom: var(--s-4);
}
.hero__trust {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  color: var(--text-2);
  font-size: 0.95rem;
}
.avatars { display: flex; }
.avatars span {
  width: 34px;
  height: 34px;
  border-radius: var(--r-full);
  border: 2px solid var(--bg);
  overflow: hidden;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--on-primary);
  background: var(--primary);
}
.avatars span:nth-child(2) { background: var(--p-friend); margin-left: -10px; }
.avatars span:nth-child(3) { background: var(--p-biz); margin-left: -10px; }
.avatars span:nth-child(4) { background: var(--primary-strong); margin-left: -10px; }

/* Arched frame + stickers */
.hero__visual { display: flex; justify-content: center; }
.arch-frame {
  position: relative;
  width: min(420px, 100%);
  padding: var(--s-6) var(--s-5);
  border-radius: var(--r-arch);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  display: flex;
  justify-content: center;
}
.arch-frame__glow {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(60% 50% at 50% 30%, var(--glow), transparent 70%);
  pointer-events: none;
}

.sticker {
  position: absolute;
  padding: 10px 16px;
  border-radius: var(--r-full);
  background: light-dark(rgba(255, 255, 255, 0.62), rgba(46, 26, 26, 0.6));
  border: 1px solid light-dark(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.12));
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  box-shadow:
    0 1px 2px rgba(27, 5, 5, 0.05),
    0 16px 40px -14px rgba(27, 5, 5, 0.28);
  color: var(--primary-text);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: -0.01em;
  animation: bob 5s var(--ease) infinite;
}
.sticker--1 { top: 42%; left: -9%; }
.sticker--2 { bottom: 16%; right: -6%; animation-delay: -2.5s; }
.sticker--3 { top: 7%; right: -4%; animation-delay: -1.2s; }

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ---------- Phone mockup ---------- */

.phone {
  position: relative;
  width: 300px;
  border-radius: 40px;
  background: var(--bezel);
  padding: 12px;
  box-shadow: var(--shadow);
}
.phone--float { animation: float 6s var(--ease) infinite; }
.hero .phone--float { rotate: -2deg; }

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

.phone__notch {
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 22px;
  border-radius: var(--r-full);
  background: var(--bezel);
  z-index: 2;
}
.phone__screen {
  min-height: 560px;
  border-radius: 30px;
  background: var(--bg);
  padding: 52px 14px 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}

.app-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-1);
}
.app-head__hi {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.2;
}
.app-head__sub { font-size: 0.75rem; color: var(--text-3); }

.app-chip {
  padding: 5px 12px;
  border-radius: var(--r-full);
  font-size: 0.7rem;
  font-weight: 700;
  white-space: nowrap;
}
.app-chip--date {
  background: color-mix(in srgb, var(--p-dating) 12%, transparent);
  color: var(--primary-text);
  border: 1px solid var(--border-strong);
}

/* Circle summary bar — frames the feed as a group, not 1:1 matches */
.circle-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: var(--r-lg);
  background: color-mix(in srgb, var(--primary) 9%, transparent);
  border: 1px solid var(--border-strong);
}
.circle-bar__avatars { display: flex; flex: none; }
.circle-bar__avatars span {
  width: 26px;
  height: 26px;
  margin-left: -8px;
  border-radius: var(--r-full);
  border: 2px solid var(--bg);
  overflow: hidden;
  display: grid;
  place-items: center;
  font-size: 0.58rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #9a0002, #c41e3a);
}
.circle-bar__avatars span:first-child { margin-left: 0; }
.circle-bar__more { background: var(--surface-2) !important; color: var(--primary-text) !important; }
.circle-bar__meta b { display: block; font-size: 0.8rem; line-height: 1.2; }
.circle-bar__meta small { font-size: 0.65rem; color: var(--text-3); }

/* Member cards + score rings */
.member-cards { display: flex; flex-direction: column; gap: 10px; }

.member-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: var(--r-lg);
  background: color-mix(in srgb, var(--surface) 65%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
}
.anim .member-card {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
  transition-delay: calc(var(--i) * 120ms);
}
.anim.in .member-card { opacity: 1; transform: none; }

.member-card__avatar {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: var(--r-full);
  overflow: hidden;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #fff;
}
.member-card__avatar--1 { background: linear-gradient(135deg, #9a0002, #c41e3a); }
.member-card__avatar--2 { background: linear-gradient(135deg, #b30002, #6b0001); }
.member-card__avatar--3 { background: linear-gradient(135deg, #c41e3a, #9a0002); }

.member-card__info { flex: 1; min-width: 0; }
.member-card__name { font-weight: 700; font-size: 0.9rem; line-height: 1.3; }
.member-card__meta {
  font-size: 0.68rem;
  color: var(--text-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.member-card__label {
  display: inline-block;
  margin-top: 3px;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: var(--r-full);
}
.member-card__label--hi {
  color: var(--success);
  background: color-mix(in srgb, var(--success) 12%, transparent);
}
.member-card__label--mid {
  color: var(--primary-text);
  background: color-mix(in srgb, var(--primary) 10%, transparent);
}

.ring { flex: none; width: 48px; height: 48px; }
.ring--mini { width: 44px; height: 44px; margin-top: var(--s-2); }
.ring__track { fill: none; stroke: var(--border); stroke-width: 3; }
.ring__fill {
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 100;
  /* Default = final arc, so no-JS / reduced-motion users see real scores */
  stroke-dashoffset: calc(100 - var(--score));
  transform: rotate(-90deg);
  transform-origin: center;
  transition: stroke-dashoffset 1.2s var(--ease-out) 0.3s;
}
.anim .ring__fill { stroke-dashoffset: 100; }
.anim.in .ring__fill { stroke-dashoffset: calc(100 - var(--score)); }
.ring--hi .ring__fill { stroke: var(--success); }
.ring--mid .ring__fill { stroke: var(--primary-strong); }
.ring--ok .ring__fill { stroke: var(--primary); }
.ring__num {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  fill: var(--text);
  text-anchor: middle;
}

/* Pool grid + chat */
.pool-head {
  text-align: center;
}
.pool-head__label {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
}
.pool-head__sub {
  margin-top: 2px;
  font-size: 0.74rem;
  color: var(--text-3);
}
.pool-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.pool-tile {
  position: relative;
  padding: 12px 6px 10px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--border);
  text-align: center;
}
.anim .pool-tile {
  opacity: 0;
  transform: scale(0.6);
  transition: opacity var(--dur-slow) var(--ease-spring), transform var(--dur-slow) var(--ease-spring);
  transition-delay: calc(var(--i) * 70ms);
}
.anim.in .pool-tile { opacity: 1; transform: scale(1); }

.pool-tile span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 0 auto 6px;
  overflow: hidden;
  border-radius: var(--r-full);
  background: linear-gradient(135deg, #9a0002, #c41e3a);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
}
.pool-tile--me span { background: var(--text); color: var(--bg); }
.pool-tile--me {
  border: 1.5px solid var(--primary-text);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 12%, transparent);
}
.pool-tile small { display: block; font-size: 0.65rem; font-weight: 500; }
.pool-tile i {
  position: absolute;
  top: 6px;
  right: 6px;
  font-style: normal;
  font-size: 0.55rem;
  font-weight: 700;
  color: var(--success);
  background: color-mix(in srgb, var(--success) 14%, transparent);
  padding: 1px 5px;
  border-radius: var(--r-full);
}
.pool-tile--me i {
  color: var(--text-3);
  background: color-mix(in srgb, var(--text-3) 14%, transparent);
}

.pool-chat {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 8px;
  padding: 12px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  min-height: 150px;
  transition: opacity var(--dur-slow) var(--ease);
}
.pool-chat.fading { opacity: 0; }

.msg {
  max-width: 85%;
  padding: 8px 12px;
  border-radius: var(--r-lg);
  font-size: 0.72rem;
  line-height: 1.45;
}
.msg b {
  font-weight: 700;
}
.msg--them {
  align-self: flex-start;
  background: var(--bg-soft);
  border-bottom-left-radius: 4px;
}
.msg--me {
  align-self: flex-end;
  background: var(--primary);
  color: var(--on-primary);
  border-bottom-right-radius: 4px;
}
.msg--pop { animation: msg-pop var(--dur-med) var(--ease-spring); }
.msg--out {
  opacity: 0;
  transition: opacity var(--dur-med) var(--ease);
}

@keyframes msg-pop {
  from { opacity: 0; transform: translateY(8px) scale(0.96); }
}

.typing {
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: var(--r-lg);
  border-bottom-left-radius: 4px;
  background: var(--bg-soft);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-3);
  animation: msg-pop var(--dur-med) var(--ease-spring);
}
.typing .dots { display: flex; gap: 3px; }
.typing .dots span {
  width: 5px;
  height: 5px;
  border-radius: var(--r-full);
  background: var(--text-3);
  animation: dot 1.2s infinite;
}
.typing .dots span:nth-child(2) { animation-delay: 0.15s; }
.typing .dots span:nth-child(3) { animation-delay: 0.3s; }

@keyframes dot {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-4px); opacity: 1; }
}

/* ============================================================
   LUX orbit — premium glass "AI Dating Circle" hero mockup.
   Apple-HIG-flavoured: warm radial background, grain, blurred
   blobs, glass chips, glowing orbit, tiered score badges.
   ============================================================ */

:root {
  --lux-font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Segoe UI", "DM Sans", sans-serif;
  --lux-red: light-dark(#b00020, #ff6b6b);
  --lux-red-2: #ff6b6b;
  --lux-ink: light-dark(#1b1b1b, #f4ece6);
  --lux-ink-2: light-dark(rgba(27, 27, 27, 0.55), rgba(244, 236, 230, 0.6));
  --lux-glass: light-dark(rgba(255, 255, 255, 0.6), rgba(46, 26, 26, 0.55));
  --lux-glass-border: light-dark(rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.12));
  --lux-shadow:
    0 1px 2px rgba(27, 5, 5, 0.05),
    0 8px 24px -8px rgba(176, 0, 32, 0.14),
    0 20px 48px -16px rgba(27, 5, 5, 0.14);
  --lux-hi: #34c759;
  --lux-mid: light-dark(#e2a400, #f5c14b);
  --lux-low: light-dark(#e8590c, #ff8c42);
}

.lux-screen {
  position: relative;
  isolation: isolate;
  padding: 48px 12px 14px;
  gap: 10px;
  background:
    radial-gradient(120% 90% at 50% 0%,
      light-dark(#fff8f4, #241214) 0%,
      light-dark(#f6ece7, #190d0e) 100%);
}
/* subtle grain */
.lux-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0.35 0 0 0 0 0.1 0 0 0 0 0.08 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}
/* floating blurred blobs behind content */
.lux-blob {
  position: absolute;
  z-index: -2;
  border-radius: 50%;
  filter: blur(38px);
  pointer-events: none;
  animation: lux-drift 14s var(--ease) infinite alternate;
}
.lux-blob--1 {
  width: 190px; height: 190px;
  left: -60px; top: 16%;
  background: light-dark(rgba(255, 107, 107, 0.28), rgba(255, 107, 107, 0.14));
}
.lux-blob--2 {
  width: 230px; height: 230px;
  right: -80px; bottom: -6%;
  background: light-dark(rgba(255, 230, 230, 0.9), rgba(176, 0, 32, 0.16));
  animation-delay: -7s;
}
@keyframes lux-drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(24px, -18px) scale(1.08); }
}

/* Header */
.lux-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  font-family: var(--lux-font);
}
.lux-head__title {
  font-family: var(--lux-font);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: -0.02em;
  color: var(--lux-ink);
  line-height: 1.2;
}
.lux-head__sub {
  margin-top: 3px;
  font-size: 0.62rem;
  line-height: 1.45;
  color: var(--lux-ink-2);
  max-width: 21ch;
}
.lux-chip {
  flex: none;
  padding: 5px 11px;
  border-radius: var(--r-full);
  font-family: var(--lux-font);
  font-size: 0.66rem;
  font-weight: 600;
  color: var(--lux-red);
  background: var(--lux-glass);
  border: 1px solid var(--lux-glass-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--lux-shadow);
}

/* Orbit stage */
.orbit {
  --orbit-scale: 1;
  position: relative;
  flex: 1;
  width: 100%;
  min-height: 288px;
  font-family: var(--lux-font);
}
/* glowing orbit path */
.orbit::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 200px;
  height: 200px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid light-dark(rgba(176, 0, 32, 0.12), rgba(255, 107, 107, 0.2));
  box-shadow:
    0 0 34px light-dark(rgba(176, 0, 32, 0.1), rgba(255, 107, 107, 0.12)),
    inset 0 0 30px light-dark(rgba(176, 0, 32, 0.05), rgba(255, 107, 107, 0.07));
}
.orbit__ring {
  position: absolute;
  inset: 0;
}
.orbit__arm {
  position: absolute;
  left: calc(50% + var(--x) * var(--orbit-scale) * 1px);
  top: calc(50% + var(--y) * var(--orbit-scale) * 1px);
  width: 0;
  height: 0;
}
.orbit__node {
  position: absolute;
  left: 0;
  top: 0;
  width: 46px;
  height: 46px;
  margin: -23px 0 0 -23px;
  transition: opacity var(--dur-med) var(--ease);
}
/* everything else fades when one member is hot */
.orbit.is-hot .orbit__node:not(.is-hot) { opacity: 0.4; }

/* Connection lines — drawn by JS into this svg, linking each member to center */
.lux-lines {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 248px;
  height: 248px;
  margin: -124px 0 0 -124px;
  overflow: visible;
  pointer-events: none;
  transform: scale(var(--orbit-scale));
}
.lux-line {
  fill: none;
  stroke: light-dark(rgba(176, 0, 32, 0.16), rgba(255, 107, 107, 0.22));
  stroke-width: 1;
  transition: stroke var(--dur-med) var(--ease), opacity var(--dur-med) var(--ease);
}
.orbit.is-hot .lux-line { opacity: 0.15; }
.orbit.is-hot .lux-line.is-hot {
  opacity: 1;
  stroke: var(--lux-red-2);
  stroke-width: 1.5;
  filter: drop-shadow(0 0 4px rgba(255, 107, 107, 0.55));
}

/* Member avatars */
.lux-av {
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  padding: 0;
  border: 2px solid var(--lux-glass-border);
  background: var(--lux-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--lux-shadow);
  display: grid;
  place-items: center;
  animation: lux-float 5s var(--ease) infinite;
  animation-delay: calc(var(--a) * -0.01s);
  transition: transform var(--dur-med) var(--ease-spring), box-shadow var(--dur-med) var(--ease);
}
.lux-av img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.lux-av:hover,
.lux-av:focus-visible {
  transform: scale(1.16);
  z-index: 3;
  box-shadow:
    0 2px 6px rgba(27, 5, 5, 0.08),
    0 14px 34px -8px rgba(176, 0, 32, 0.3);
}
@keyframes lux-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -4px; }
}
/* Tiered compatibility badges */
.lux-score {
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--lux-font);
  font-size: 0.55rem;
  font-weight: 700;
  color: #fff;
  padding: 1.5px 7px;
  border-radius: var(--r-full);
  border: 1.5px solid light-dark(rgba(255, 255, 255, 0.85), rgba(25, 13, 14, 0.85));
  animation: lux-pulse-badge 3.2s var(--ease) infinite;
}
.lux-score--hi { background: var(--lux-hi); box-shadow: 0 3px 10px -2px rgba(52, 199, 89, 0.5); }
.lux-score--mid { background: var(--lux-mid); box-shadow: 0 3px 10px -2px rgba(226, 164, 0, 0.5); }
.lux-score--low { background: var(--lux-low); box-shadow: 0 3px 10px -2px rgba(232, 89, 12, 0.5); }
@keyframes lux-pulse-badge {
  0%, 100% { transform: translateX(-50%) scale(1); }
  50% { transform: translateX(-50%) scale(1.07); }
}

/* Centre — glossy "You" with pulse */
.orbit__center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;
}
.lux-you {
  position: relative;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  font-family: var(--lux-font);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: -0.01em;
  color: #fff;
  background:
    radial-gradient(90% 70% at 30% 22%, rgba(255, 255, 255, 0.42), transparent 55%),
    linear-gradient(155deg, #ff6b6b 0%, #b00020 62%, #7c0002 100%);
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.5),
    0 10px 26px -6px rgba(176, 0, 32, 0.55),
    0 0 44px light-dark(rgba(176, 0, 32, 0.22), rgba(255, 107, 107, 0.28));
}
.lux-you__pulse {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 107, 107, 0.55);
  animation: lux-pulse 2.6s var(--ease-out) infinite;
}
@keyframes lux-pulse {
  0% { transform: scale(0.9); opacity: 0.9; }
  75%, 100% { transform: scale(1.5); opacity: 0; }
}

/* Floating glass detail card (on avatar click) */
.lux-card {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 8;
  width: 196px;
  padding: 16px 14px 14px;
  border-radius: var(--r-xl);
  text-align: center;
  font-family: var(--lux-font);
  background: light-dark(rgba(255, 255, 255, 0.78), rgba(42, 22, 22, 0.82));
  border: 1px solid var(--lux-glass-border);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  box-shadow:
    0 2px 4px rgba(27, 5, 5, 0.06),
    0 24px 60px -16px rgba(27, 5, 5, 0.35);
  animation: lux-card-in var(--dur-slow) var(--ease-spring);
}
@keyframes lux-card-in {
  from { opacity: 0; transform: translate(-50%, -46%) scale(0.92); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
.lux-card__close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 0.6rem;
  line-height: 1;
  display: grid;
  place-items: center;
  color: var(--lux-ink-2);
  background: light-dark(rgba(27, 27, 27, 0.06), rgba(255, 255, 255, 0.08));
}
.lux-card__av {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin: 0 auto 7px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--lux-glass-border);
  box-shadow: var(--lux-shadow);
  font-weight: 600;
  color: #fff;
  background: linear-gradient(140deg, #ff6b6b, #b00020);
}
.lux-card__av img { width: 100%; height: 100%; object-fit: cover; }
.lux-card__name {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--lux-ink);
}
.lux-card__pct {
  display: inline-block;
  margin-top: 2px;
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--lux-hi);
}
.lux-card__label {
  display: block;
  margin-top: 8px;
  font-size: 0.56rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--lux-ink-2);
}
.lux-card__why {
  margin-top: 5px;
  text-align: left;
  display: grid;
  gap: 3px;
}
.lux-card__why li {
  position: relative;
  padding-left: 12px;
  font-size: 0.62rem;
  line-height: 1.45;
  color: var(--lux-ink);
}
.lux-card__why li::before {
  content: "•";
  position: absolute;
  left: 2px;
  color: var(--lux-red-2);
}
.lux-card__btn {
  display: block;
  margin-top: 10px;
  padding: 7px 12px;
  border-radius: var(--r-full);
  font-size: 0.66rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(155deg, #ff6b6b, #b00020);
  box-shadow: 0 8px 20px -6px rgba(176, 0, 32, 0.55);
  transition: transform var(--dur-fast) var(--ease);
}
.lux-card__btn:hover { transform: translateY(-1px); }

/* Bottom AI insight card */
.lux-insight {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--r-lg);
  font-family: var(--lux-font);
  background: var(--lux-glass);
  border: 1px solid var(--lux-glass-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--lux-shadow);
}
.lux-insight__copy b {
  display: block;
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--lux-ink);
}
.lux-insight__copy p {
  margin-top: 2px;
  font-size: 0.58rem;
  line-height: 1.5;
  color: var(--lux-ink-2);
}
.lux-insight__ring {
  flex: none;
  display: grid;
  justify-items: center;
  gap: 1px;
}
.lux-insight__ring .ring { width: 40px; height: 40px; }
.lux-insight__ring small {
  font-size: 0.5rem;
  font-weight: 600;
  color: var(--lux-ink-2);
}

/* Journey mockup — circle → request → private */
.flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  padding: 4px 2px;
}
.flow__step {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--text-3);
  transition: color var(--dur-med) var(--ease);
}
/* connector line between steps */
.flow__step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 12px;
  left: calc(50% + 14px);
  right: calc(-50% + 14px);
  height: 2px;
  background: var(--border);
}
.flow__dot {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: var(--r-full);
  background: var(--surface-2);
  border: 1.5px solid var(--border-strong);
  color: var(--text-3);
  font-size: 0.7rem;
  transition: background-color var(--dur-med) var(--ease), color var(--dur-med) var(--ease),
    border-color var(--dur-med) var(--ease);
}
.flow__step.is-active { color: var(--primary-text); }
.flow__step.is-active .flow__dot,
.flow__step.is-done .flow__dot {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--on-primary);
}
.flow__step.is-done .flow__dot { font-size: 0; }
.flow__step.is-done .flow__dot::after { content: "✓"; font-size: 0.7rem; }
.flow__step.is-done::after { background: var(--primary); }

.journey {
  position: relative;
  flex: 1;
  min-height: 320px;
}
.scene {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease),
    visibility 0s var(--dur-slow);
}
.scene.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}
.scene__chat {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding: 12px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border);
}
.scene__cta {
  display: block;
  text-align: center;
  padding: 11px 14px;
  border-radius: var(--r-full);
  background: var(--primary);
  color: var(--on-primary);
  font-size: 0.72rem;
  font-weight: 700;
}

.req {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 6px;
  padding: var(--s-3);
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border);
}
.req__avatar {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: var(--r-full);
  overflow: hidden;
  background: linear-gradient(135deg, #9a0002, #c41e3a);
  color: #fff;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 4px;
}
.req__title { font-weight: 700; font-size: 0.9rem; }
.req__sub { font-size: 0.7rem; color: var(--text-3); }
.req__status {
  margin-top: 6px;
  padding: 5px 14px;
  border-radius: var(--r-full);
  background: var(--surface-2);
  color: var(--text-3);
  font-size: 0.68rem;
  font-weight: 700;
  transition: background-color var(--dur-med) var(--ease), color var(--dur-med) var(--ease);
}
.req__status.is-ok {
  background: color-mix(in srgb, var(--success) 15%, transparent);
  color: var(--success);
}

.dm-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border);
}
.dm-head__avatar {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: var(--r-full);
  overflow: hidden;
  background: linear-gradient(135deg, #9a0002, #c41e3a);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
}
.dm-head b { font-size: 0.85rem; }
.dm-head small { display: block; font-size: 0.65rem; color: var(--text-3); }
.dm-note {
  padding: 6px 12px;
  border-radius: var(--r-full);
  background: color-mix(in srgb, var(--primary) 8%, transparent);
  color: var(--primary-text);
  font-size: 0.64rem;
  font-weight: 600;
  text-align: center;
}

/* Mode switcher mockup */
.mock-switch { --pa: var(--p-dating); --pa2: var(--primary-strong); }
.mock-switch[data-persona="friendship"] { --pa: var(--p-friend); --pa2: var(--p-friend-2); }
.mock-switch[data-persona="business"] { --pa: var(--p-biz); --pa2: var(--p-biz-2); }

.mock-switch .check-list li::before {
  background: var(--pa);
  transition: background-color var(--dur-slow) var(--ease);
}

.seg {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 4px;
  border-radius: var(--r-full);
  background: var(--surface);
  border: 1px solid var(--border);
  --idx: 0;
}
.mock-switch[data-persona="friendship"] .seg { --idx: 1; }
.mock-switch[data-persona="business"] .seg { --idx: 2; }

.seg__pill {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc((100% - 8px) / 3);
  border-radius: var(--r-full);
  background: var(--pa);
  transform: translateX(calc(var(--idx) * 100%));
  transition: transform var(--dur-med) var(--ease), background-color var(--dur-slow) var(--ease);
}
.seg__btn {
  position: relative;
  z-index: 1;
  padding: 8px 2px;
  font-size: 0.68rem;
  font-weight: 700;
  white-space: nowrap;
  color: var(--text-2);
  border-radius: var(--r-full);
  transition: color var(--dur-med) var(--ease);
}
.seg__btn[aria-selected="true"] { color: #fff; }

.persona-stage { position: relative; flex: 1; min-height: 300px; }
.persona-card {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  padding: var(--s-3);
  border-radius: var(--r-xl);
  background: var(--surface);
  border: 1px solid var(--border);
  opacity: 0;
  visibility: hidden;
  transform: scale(0.97);
  transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease),
    visibility 0s var(--dur-slow);
}
.mock-switch[data-persona="dating"] .persona-card[data-persona-card="dating"],
.mock-switch[data-persona="friendship"] .persona-card[data-persona-card="friendship"],
.mock-switch[data-persona="business"] .persona-card[data-persona-card="business"] {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  transition-delay: 0s;
}

.persona-card__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: var(--r-full);
  background: var(--pa);
  color: #fff;
  font-size: 1.3rem;
  transition: background-color var(--dur-slow) var(--ease);
}
.persona-card h4 { font-size: 1.05rem; }
.persona-card p { font-size: 0.75rem; color: var(--text-3); max-width: 21ch; }
.persona-card__tiles { display: flex; gap: 6px; margin-top: 4px; }
.persona-card__tiles span {
  width: 30px;
  height: 30px;
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--pa), var(--pa2));
  transition: background var(--dur-slow) var(--ease);
}

/* ---------- Marquee ---------- */

.marquee { overflow: hidden; }
.marquee--cherry {
  background: var(--primary);
  color: var(--on-primary);
  padding: var(--s-2) 0;
}
.marquee--outline {
  padding: var(--s-3) 0 0;
  color: transparent;
  -webkit-text-stroke: 1.2px var(--primary-text);
  opacity: 0.5;
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.marquee__track--reverse { animation-direction: reverse; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee ul {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  padding-right: var(--s-4);
  flex: none;
}
.marquee li {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee--outline li { font-size: 2rem; }

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- Manifesto ---------- */

.manifesto { text-align: center; }
.manifesto__title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  margin-bottom: var(--s-3);
}
.manifesto__sub {
  font-size: 1.1rem;
  color: var(--text-2);
  max-width: 44rem;
  margin-inline: auto;
}
.manifesto__title .w {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.3em);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
  transition-delay: calc(var(--i) * 40ms);
}
.manifesto__title.in .w { opacity: 1; transform: none; }

/* ---------- How it works ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-3);
}
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  padding: var(--s-4) var(--s-3);
}
.step__num {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: 2.4rem;
  color: var(--primary-text);
  margin-bottom: var(--s-2);
}
.step h3 { font-size: 1.2rem; margin-bottom: var(--s-1); }
.step p { color: var(--text-2); font-size: 0.95rem; }

/* ---------- Inside the app ---------- */

.app-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-8);
  align-items: center;
  padding: var(--s-6) 0;
}
.app-row--flip .app-row__copy { order: 2; }
.app-row--flip .app-row__visual { order: 1; }
.app-row__visual { display: flex; justify-content: center; }
.app-row__copy h3 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: var(--s-2);
}
.app-row__copy p { color: var(--text-2); font-size: 1.05rem; margin-bottom: var(--s-3); }

.check-list { display: flex; flex-direction: column; gap: 10px; }
.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--text-2);
  font-size: 0.98rem;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: var(--r-full);
  background: var(--primary);
  color: var(--on-primary);
  font-size: 0.65rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}

/* ---------- Modes ---------- */

.modes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-3);
}
.mode-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  padding: var(--s-3);
}
.mode-card:hover { box-shadow: var(--shadow); }

.mode-card__header {
  height: 150px;
  border-radius: var(--r-arch);
  display: grid;
  place-items: center;
  margin-bottom: var(--s-3);
  background-size: 160% 160%;
  background-position: 0% 50%;
  transition: background-position 1.2s var(--ease);
}
.mode-card:hover .mode-card__header { background-position: 100% 50%; }
.mode-card__header span { font-size: 2.4rem; color: #fff; }

.mode-card--date .mode-card__header { background-image: linear-gradient(135deg, #9a0002, #b30002, #6b0001); }
.mode-card--friend .mode-card__header { background-image: linear-gradient(135deg, #45b7d1, #4ecdc4, #44a08d); }
.mode-card--biz .mode-card__header { background-image: linear-gradient(135deg, #2c3e50, #27ae60, #f1c40f); }

.mode-card__tag {
  display: inline-block;
  padding: 5px 14px;
  border-radius: var(--r-full);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--s-2);
}
.mode-card--date .mode-card__tag { color: var(--p-dating); background: color-mix(in srgb, var(--p-dating) 10%, transparent); }
.mode-card--friend .mode-card__tag { color: var(--p-friend); background: color-mix(in srgb, var(--p-friend) 12%, transparent); }
.mode-card--biz .mode-card__tag { color: var(--p-biz); background: color-mix(in srgb, var(--p-biz) 12%, transparent); }

.mode-card h3 { margin-bottom: var(--s-1); }
.mode-card > p { color: var(--text-2); font-size: 0.97rem; margin-bottom: var(--s-3); }

.mode-card--date .check-list li::before { background: var(--p-dating); }
.mode-card--friend .check-list li::before { background: var(--p-friend); }
.mode-card--biz .check-list li::before { background: var(--p-biz); }

/* ---------- Compare ---------- */

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-3);
  align-items: center;
  max-width: 900px;
}
.compare__card {
  border-radius: var(--r-2xl);
  padding: var(--s-5) var(--s-4);
}
.compare__card h3 {
  font-size: 1.5rem;
  margin-bottom: var(--s-3);
}
.compare__card ul { display: flex; flex-direction: column; gap: 14px; }
.compare__card li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  font-size: 1rem;
}
.compare__card li span { font-weight: 700; }

.compare__card--other {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--text-3);
}
.compare__card--other h3 { color: var(--text-2); }

.compare__card--us {
  background: var(--primary);
  color: var(--on-primary);
  transform: rotate(1deg);
  margin-left: calc(-1 * var(--s-3));
  box-shadow: var(--shadow);
}
.compare__card--us h3 { color: var(--on-primary); }

.compare__cta {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  margin-top: var(--s-6);
  flex-wrap: wrap;
}

/* ---------- Stats ---------- */

.stats { padding: var(--s-8) 0; }
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-3);
  text-align: center;
}
.stat__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  color: var(--on-primary);
  line-height: 1.1;
}
.stat__label {
  color: var(--on-primary);
  opacity: 0.72;
  font-size: 0.95rem;
}

/* ---------- Stories ---------- */

.stories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-3);
}
.story {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  padding: var(--s-5) var(--s-3) var(--s-3);
  margin-top: var(--s-3);
}
.story:nth-child(1) { rotate: -1deg; }
.story:nth-child(3) { rotate: 1deg; }
.story:hover { box-shadow: var(--shadow); }

.story__medal {
  position: absolute;
  top: calc(-1 * var(--s-3));
  left: var(--s-3);
  width: 52px;
  height: 60px;
  border-radius: var(--r-arch);
  display: grid;
  place-items: center;
  background: var(--primary);
  color: var(--on-primary);
  font-weight: 700;
  font-size: 0.8rem;
  box-shadow: var(--shadow);
}
.story__tag {
  display: inline-block;
  margin-left: 64px;
  padding: 4px 12px;
  border-radius: var(--r-full);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--s-2);
}
.story__tag--date { color: var(--p-dating); background: color-mix(in srgb, var(--p-dating) 10%, transparent); }
.story__tag--friend { color: var(--p-friend); background: color-mix(in srgb, var(--p-friend) 12%, transparent); }
.story__tag--biz { color: var(--p-biz); background: color-mix(in srgb, var(--p-biz) 12%, transparent); }

.story blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.5;
  margin-bottom: var(--s-2);
}
.story figcaption { color: var(--text-3); font-size: 0.9rem; }

/* ---------- FAQ ---------- */

.faq { display: flex; flex-direction: column; gap: var(--s-2); }
.faq__item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 0 var(--s-3);
}
.faq__item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-2);
  padding: var(--s-3) 0;
  font-weight: 700;
  font-size: 1.05rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: var(--r-full);
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--primary) 10%, transparent);
  color: var(--primary-text);
  font-size: 1.2rem;
  font-weight: 500;
  transition: transform var(--dur-med) var(--ease);
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { padding-bottom: var(--s-3); color: var(--text-2); }

/* ---------- Join ---------- */

.join-wrap { padding: var(--s-12) 0 0; }
.join {
  background: var(--primary);
  border-radius: var(--r-arch);
  padding: var(--s-12) var(--s-4) var(--s-8);
  text-align: center;
}
.join h2 { color: var(--on-primary); margin-bottom: var(--s-2); }
.join > p {
  color: var(--on-primary);
  opacity: 0.85;
  margin-bottom: var(--s-4);
  font-size: 1.1rem;
}
.join__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-1);
  max-width: 560px;
  margin-inline: auto;
}
.join__form input,
.join__form select {
  width: 100%;
  padding: 15px 22px;
  border-radius: var(--r-full);
  border: 2px solid transparent;
  background: #fdf9f4;
  color: #2a0a0a;
  font: inherit;
  font-size: 1rem;
}
.join__form select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='%237a5252'%3E%3Cpath d='M6 8L1.5 3.5h9z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
  background-size: 12px;
  cursor: pointer;
}
.join__form input::placeholder { color: #7a5252; }
.join__form input:focus,
.join__form select:focus {
  outline: none;
  border-color: var(--on-primary);
}
.join__form .btn { grid-column: 1 / -1; margin-top: 4px; }
.join__form .btn[disabled] { opacity: 0.7; cursor: default; }
.join__note {
  margin-top: var(--s-2);
  font-weight: 700;
  color: var(--on-primary);
}
.join__note.note--err { color: #ffd9a8; }

/* ---------- Footer ---------- */

.footer {
  position: relative;
  padding: var(--s-8) 0 0;
  margin-top: var(--s-8);
  overflow: hidden;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: var(--s-6);
  padding-bottom: var(--s-6);
}
.footer__brand p { color: var(--text-3); margin-top: var(--s-2); font-size: 0.95rem; }
.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-3);
}
.footer__cols h4 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: var(--s-2);
}
.footer__cols a {
  display: block;
  color: var(--text-2);
  padding: 4px 0;
  font-size: 0.95rem;
  transition: color var(--dur-fast) var(--ease);
}
.footer__cols a:hover { color: var(--primary-text); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: var(--s-2);
  padding: var(--s-3) 0;
  border-top: 1px solid var(--border);
  color: var(--text-3);
  font-size: 0.9rem;
}
.footer__wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(4rem, 13vw, 11rem);
  line-height: 0.72;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--primary-text);
  opacity: 0.3;
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
}

/* ---------- Scroll reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.reveal.in { opacity: 1; transform: none; }

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

@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: var(--s-6); }
  .hero__visual { order: 2; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .app-row { gap: var(--s-5); }
  .modes, .stories { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .stories { gap: var(--s-5); }
  .sticker--1 { left: 0; }
  .sticker--2 { right: 0; }
}

@media (max-width: 768px) {
  .section { padding: var(--s-8) 0; }

  .nav__toggle { display: flex; }
  .nav__links {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: var(--s-3);
    gap: var(--s-2);
    transform: translateY(-16px);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--dur-med) var(--ease), opacity var(--dur-med) var(--ease),
      visibility 0s var(--dur-med);
  }
  .nav__links.open {
    transform: none;
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
  }
  .nav__links > a:not(.btn) { padding: 8px 0; font-size: 1.05rem; }

  .hero { padding-top: var(--s-16); }
  .app-row,
  .app-row--flip {
    grid-template-columns: 1fr;
    gap: var(--s-4);
  }
  .app-row__visual { order: 1; }
  .app-row__copy { order: 2; }
  .app-row--flip .app-row__visual { order: 1; }
  .app-row--flip .app-row__copy { order: 2; }
  .compare { grid-template-columns: 1fr; }
  .compare__card--us { transform: none; margin-left: 0; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: var(--s-4); }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .steps { grid-template-columns: 1fr; }
  .phone { width: min(280px, 88vw); }
  .phone__screen { min-height: 520px; }
  .orbit { --orbit-scale: 0.86; min-height: 256px; }
  .orbit::before { width: 172px; height: 172px; }
  .lux-you { width: 56px; height: 56px; }
  .hero__cta .btn { width: 100%; }
  .join { padding: var(--s-8) var(--s-3) var(--s-6); }
  .join__form { grid-template-columns: 1fr; }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .anim .member-card,
  .anim .pool-tile { opacity: 1 !important; transform: none !important; }
  .anim .ring__fill { stroke-dashoffset: calc(100 - var(--score)) !important; }
  .manifesto__title .w { opacity: 1 !important; transform: none !important; }
  .marquee__track { animation: none !important; }
  .phone--float, .sticker { animation: none !important; }
}
