@import url("https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:wght@500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap");

:root {
  --bg: #090f1a;
  --bg-soft: #101a2c;
  --panel: rgba(14, 24, 40, 0.84);
  --panel-strong: rgba(10, 18, 31, 0.95);
  --ink: #f3f8ff;
  --muted: #aabed6;
  --line: rgba(133, 186, 255, 0.2);
  --rose: #00d6ff;
  --wine: #0f6ca8;
  --gold: #ff8a3d;
  --shadow: 0 18px 50px rgba(0, 8, 18, 0.48);
  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --field-bg: rgba(255, 255, 255, 0.07);
  --field-ink: var(--ink);
  --field-option-bg: #f4f8ff;
  --field-option-ink: #0a1321;
  --panel-ink: #f3f8ff;

  /* Parallax palette + layout tokens (overridden by data-style). */
  --aura-left-bg: radial-gradient(circle, rgba(0, 214, 255, 0.28), transparent 68%);
  --aura-right-bg: radial-gradient(circle, rgba(255, 138, 61, 0.22), transparent 72%);

  --shape-1-size: 180px;
  --shape-1-top: 12%;
  --shape-1-left: 8%;
  --shape-1-bg: radial-gradient(circle, rgba(0, 214, 255, 0.55), transparent 70%);

  --shape-2-size: 220px;
  --shape-2-top: 22%;
  --shape-2-right: 12%;
  --shape-2-bg: radial-gradient(circle, rgba(255, 138, 61, 0.42), transparent 70%);

  --shape-3-size: 260px;
  --shape-3-bottom: 16%;
  --shape-3-left: 18%;
  --shape-3-bg: radial-gradient(circle, rgba(130, 245, 220, 0.3), transparent 70%);

  --shape-4-size: 200px;
  --shape-4-bottom: 10%;
  --shape-4-right: 18%;
  --shape-4-bg: radial-gradient(circle, rgba(104, 163, 255, 0.28), transparent 70%);

  --shape-5-size: 140px;
  --shape-5-top: 48%;
  --shape-5-left: 46%;
  --shape-5-bg: radial-gradient(circle, rgba(0, 214, 255, 0.35), transparent 70%);
}

html[data-theme="light"] {
  --bg: #eef7ff;
  --bg-soft: #dfeefe;
  --panel: rgba(255, 255, 255, 0.82);
  --panel-strong: rgba(255, 255, 255, 0.9);
  --ink: #0d1b2e;
  --muted: rgba(13, 27, 46, 0.7);
  --line: rgba(15, 108, 168, 0.24);
  --shadow: 0 26px 70px rgba(0, 0, 0, 0.12);
  --field-bg: rgba(15, 108, 168, 0.06);
  --field-ink: var(--ink);
  --field-option-bg: #0d1b2e;
  --field-option-ink: #ffffff;
  --panel-strong: rgba(255, 255, 255, 0.92);
  --panel-ink: #0d1b2e;
}

/* 5 visual skins: same layout system, different palette + parallax geometry. */
html[data-style="1"] {
  --rose: #d45b70;
  --gold: #d7b381;
  --aura-left-bg: radial-gradient(circle, rgba(212, 91, 112, 0.42), transparent 68%);
  --aura-right-bg: radial-gradient(circle, rgba(215, 179, 129, 0.24), transparent 72%);
}

html[data-style="2"] {
  --rose: #ff6a3d;
  --gold: #ffd166;
  --aura-left-bg: radial-gradient(circle, rgba(255, 106, 61, 0.32), transparent 70%);
  --aura-right-bg: radial-gradient(circle, rgba(255, 209, 102, 0.22), transparent 72%);
  --shape-1-bg: radial-gradient(circle, rgba(255, 106, 61, 0.5), transparent 70%);
  --shape-2-bg: radial-gradient(circle, rgba(255, 209, 102, 0.42), transparent 70%);
  --shape-3-bg: radial-gradient(circle, rgba(255, 183, 77, 0.22), transparent 70%);
  --shape-4-bg: radial-gradient(circle, rgba(255, 106, 61, 0.18), transparent 70%);
  --shape-5-bg: radial-gradient(circle, rgba(255, 209, 102, 0.22), transparent 70%);
  --shape-1-left: 12%;
  --shape-2-top: 14%;
  --shape-3-left: 8%;
  --shape-4-right: 10%;
  --shape-5-top: 56%;
}

html[data-style="3"] {
  --rose: #57cc99;
  --gold: #80ed99;
  --aura-left-bg: radial-gradient(circle, rgba(87, 204, 153, 0.26), transparent 70%);
  --aura-right-bg: radial-gradient(circle, rgba(128, 237, 153, 0.18), transparent 72%);
  --shape-1-bg: radial-gradient(circle, rgba(87, 204, 153, 0.45), transparent 70%);
  --shape-2-bg: radial-gradient(circle, rgba(128, 237, 153, 0.32), transparent 70%);
  --shape-3-bg: radial-gradient(circle, rgba(57, 200, 200, 0.22), transparent 70%);
  --shape-4-bg: radial-gradient(circle, rgba(87, 204, 153, 0.2), transparent 70%);
  --shape-5-bg: radial-gradient(circle, rgba(128, 237, 153, 0.22), transparent 70%);
  --shape-1-top: 18%;
  --shape-2-right: 6%;
  --shape-3-bottom: 10%;
  --shape-4-bottom: 18%;
  --shape-5-left: 58%;
}

html[data-style="4"] {
  --rose: #7c5cff;
  --gold: #3dd6d0;
  --aura-left-bg: radial-gradient(circle, rgba(124, 92, 255, 0.24), transparent 70%);
  --aura-right-bg: radial-gradient(circle, rgba(61, 214, 208, 0.2), transparent 72%);
  --shape-1-bg: radial-gradient(circle, rgba(124, 92, 255, 0.42), transparent 70%);
  --shape-2-bg: radial-gradient(circle, rgba(61, 214, 208, 0.32), transparent 70%);
  --shape-3-bg: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 70%);
  --shape-4-bg: radial-gradient(circle, rgba(61, 214, 208, 0.2), transparent 70%);
  --shape-5-bg: radial-gradient(circle, rgba(124, 92, 255, 0.22), transparent 70%);
  --shape-1-size: 210px;
  --shape-2-size: 260px;
  --shape-3-size: 210px;
  --shape-4-size: 240px;
  --shape-5-size: 160px;
}

body[data-lang="fr"] .lang-en {
  display: none;
}

body[data-lang="en"] .lang-fr {
  display: none;
}

html[data-style="5"] {
  --rose: #ff4d6d;
  --gold: #4cc9f0;
  --aura-left-bg: radial-gradient(circle, rgba(255, 77, 109, 0.28), transparent 70%);
  --aura-right-bg: radial-gradient(circle, rgba(76, 201, 240, 0.18), transparent 72%);
  --shape-1-bg: radial-gradient(circle, rgba(255, 77, 109, 0.46), transparent 70%);
  --shape-2-bg: radial-gradient(circle, rgba(76, 201, 240, 0.3), transparent 70%);
  --shape-3-bg: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 70%);
  --shape-4-bg: radial-gradient(circle, rgba(76, 201, 240, 0.22), transparent 70%);
  --shape-5-bg: radial-gradient(circle, rgba(255, 77, 109, 0.22), transparent 70%);
  --shape-1-top: 8%;
  --shape-2-top: 28%;
  --shape-3-bottom: 22%;
  --shape-4-bottom: 8%;
  --shape-5-left: 38%;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  padding-top: 60px;
  background:
    radial-gradient(circle at 12% 8%, rgba(0, 214, 255, 0.2), transparent 32%),
    radial-gradient(circle at 88% 14%, rgba(255, 138, 61, 0.14), transparent 30%),
    linear-gradient(170deg, #070d17 0%, #091224 44%, #0f1c32 100%);
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.6;
}

html[data-theme="light"] body {
  background:
    radial-gradient(circle at 12% 8%, rgba(0, 214, 255, 0.16), transparent 36%),
    radial-gradient(circle at 88% 12%, rgba(255, 138, 61, 0.14), transparent 34%),
    linear-gradient(160deg, #ffffff 0%, var(--bg) 52%, #d7e8fb 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(168, 220, 255, 0.2) 1.2px, transparent 0);
  background-size: 26px 26px;
  opacity: 0.25;
  pointer-events: none;
  z-index: -1;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.page-shell {
  overflow: clip;
  position: relative;
  z-index: 1;
}

main {
  width: min(1320px, 100%);
  margin: 0 auto;
}

.hero,
.section,
.dashboard-section,
.dashboard-hero {
  width: 100%;
}

.site-header {
  position: sticky;
  top: 60px;
  z-index: 300;
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 5vw;
  background: linear-gradient(180deg, rgba(9, 18, 34, 0.92), rgba(9, 18, 34, 0.72));
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.nav-bar.nav-bar-center {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.nav-left,
.nav-right {
  display: flex;
  align-items: center;
}

.nav-left {
  justify-content: flex-start;
}

.nav-right {
  justify-content: flex-end;
}

.center-brand {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.nav-bar.nav-bar-center .center-brand {
  flex-direction: column;
  justify-self: center;
  gap: 6px;
  text-align: center;
}

.center-brand-word {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  padding-right: 0;
  font-size: 1.9rem;
}

.center-brand img {
  width: 128px;
  height: 128px;
  border-radius: 999px;
  border: 0;
  box-shadow: none;
  transform-style: preserve-3d;
  animation: logo-spin-horizontal 10s linear infinite;
}

.moi-link {
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  box-shadow: 0 0 0 1px rgba(168, 220, 255, 0.3);
  transform-style: preserve-3d;
  animation: logo-spin-horizontal 10s linear infinite;
}

.hero-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(168, 220, 255, 0.26);
  background: rgba(255, 255, 255, 0.06);
  margin-bottom: 16px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.hero-logo img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
}

.hero-logo-right {
  position: absolute;
  top: -36px;
  right: 0;
  margin: 0;
  z-index: 2;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 24px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a {
  position: relative;
  transition: color 0.25s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--rose), var(--gold));
  transition: width 0.25s ease;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-utility {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.nav-inline-form {
  margin: 0;
}

.nav-utility-link,
.nav-utility-button {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 10px;
  border: 1px solid rgba(168, 220, 255, 0.26);
  background: rgba(255, 255, 255, 0.07);
  color: var(--ink);
  font: inherit;
}

.nav-utility-button {
  cursor: pointer;
}

.nav-drawer {
  position: fixed;
  top: 78px;
  left: 5vw;
  width: min(320px, calc(100vw - 40px));
  padding: 18px 18px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(28, 40, 60, 0.96), rgba(15, 23, 37, 0.94));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  display: grid;
  gap: 10px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  justify-content: stretch;
  z-index: 1200;
}

body.nav-open .nav-drawer {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

body.nav-open::after {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(6, 14, 24, 0.22);
  z-index: 1100;
  pointer-events: none;
}

.nav-drawer a,
.nav-drawer .nav-utility-button {
  color: var(--ink);
  text-shadow: none;
}

@media (max-width: 900px) {
  .nav-drawer {
    top: 88px;
    left: 16px;
    width: min(360px, calc(100vw - 32px));
    background:
      linear-gradient(180deg, rgba(248, 251, 255, 0.96), rgba(229, 239, 249, 0.93));
    border-color: rgba(255, 255, 255, 0.62);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(22px);
  }

  .nav-drawer a,
  .nav-drawer .nav-utility-button {
    min-height: 44px;
    color: #102133;
    font-weight: 600;
  }

  .nav-drawer .nav-utility-button {
    background: rgba(255, 255, 255, 0.72);
    border-color: rgba(145, 174, 209, 0.34);
  }

  .drawer-sep {
    background: rgba(132, 158, 189, 0.28);
  }
}

@media (min-width: 980px) {
  .center-brand img {
    width: 150px;
    height: 150px;
  }

  .center-brand-word {
    font-size: 2.35rem;
  }
}

.drawer-sep {
  height: 1px;
  background: var(--line);
  margin: 6px 0;
}

.drawer-button {
  justify-content: center;
}

select {
  background: var(--field-bg);
  color: var(--field-ink);
}

select option {
  background: var(--field-option-bg);
  color: var(--field-option-ink);
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  width: 28px;
  height: 2px;
  background: var(--ink);
}

.nav-toggle span:nth-child(3) {
  width: 18px;
  opacity: 0.85;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 42px;
  align-items: center;
  min-height: calc(100vh - 78px);
  padding: 72px 5vw 96px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  padding-top: 0;
  position: relative;
}

.site-watermark {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  z-index: 0;
  opacity: 0.05;
}

.site-watermark img {
  width: min(52vw, 540px);
  height: auto;
  filter: grayscale(1) saturate(0) brightness(1.9);
}

.hero-aura {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(8px);
  opacity: 0.55;
}

.aura-left {
  top: 6%;
  left: -8%;
  width: 340px;
  height: 340px;
  background: var(--aura-left-bg);
}

.aura-right {
  right: -4%;
  bottom: 4%;
  width: 420px;
  height: 420px;
  background: var(--aura-right-bg);
}

.parallax-field {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.parallax-field.global {
  position: fixed;
  inset: 0;
  z-index: 0;
}

.shape {
  position: absolute;
  border-radius: 58% 42% 63% 37% / 39% 58% 42% 61%;
  filter: blur(1px);
  opacity: 0.62;
  mix-blend-mode: screen;
}

.shape-1 {
  width: var(--shape-1-size);
  height: var(--shape-1-size);
  top: var(--shape-1-top);
  left: var(--shape-1-left);
  background: var(--shape-1-bg);
}

.shape-2 {
  width: var(--shape-2-size);
  height: var(--shape-2-size);
  top: var(--shape-2-top);
  right: var(--shape-2-right);
  background: var(--shape-2-bg);
}

.shape-3 {
  width: var(--shape-3-size);
  height: var(--shape-3-size);
  bottom: var(--shape-3-bottom);
  left: var(--shape-3-left);
  background: var(--shape-3-bg);
}

.shape-4 {
  width: var(--shape-4-size);
  height: var(--shape-4-size);
  bottom: var(--shape-4-bottom);
  right: var(--shape-4-right);
  background: var(--shape-4-bg);
}

.shape-5 {
  width: var(--shape-5-size);
  height: var(--shape-5-size);
  top: var(--shape-5-top);
  left: var(--shape-5-left);
  background: var(--shape-5-bg);
}

.hero-copy,
.hero-stage,
.section-copy,
.signature-card,
.experience-grid,
.journey-grid,
.venue-visual,
.venue-copy,
.safety-grid,
.pricing-grid,
.cta-panel,
.section-head,
.game-panel,
.theme-grid,
.inclusive-grid,
.quote-band {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0 0 18px;
  font-family: "Bricolage Grotesque", sans-serif;
  line-height: 0.94;
  letter-spacing: -0.02em;
}

h1 {
  max-width: 12ch;
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  line-height: 1.02;
  margin-top: 62px;
}

h2 {
  max-width: 12ch;
  font-size: clamp(2.4rem, 4vw, 4.3rem);
}

h3 {
  font-size: clamp(1.6rem, 2vw, 2.15rem);
}

.lead,
.section-lead,
.feature-list,
.feature-list li,
.price-card p,
.experience-card p,
.safety-card p,
.venue-point span,
.floating-panel p,
.signature-card p {
  color: var(--muted);
}

.lead {
  max-width: 58ch;
  font-size: 1.04rem;
}

.lead-sub {
  margin-top: 12px;
  max-width: 56ch;
  font-size: 0.98rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 12px;
  border: 1px solid var(--line);
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px) scale(1.01);
}

.btn.primary {
  background: linear-gradient(120deg, var(--rose), #59d4ff 38%, var(--gold));
  color: #04101d;
  box-shadow: 0 12px 26px rgba(0, 10, 24, 0.36);
}

.btn.secondary {
  border-color: rgba(168, 220, 255, 0.26);
  background: rgba(255, 255, 255, 0.06);
}

.trust-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hero-callouts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.callout-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

html[data-theme="light"] .callout-card {
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.callout-card strong {
  display: block;
  margin-bottom: 8px;
}

.callout-card span {
  color: var(--muted);
  font-size: 0.92rem;
}

.trust-item {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
}

.trust-item strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1rem;
}

.trust-item span {
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-stage {
  min-height: 680px;
}

.hero-photo-frame {
  position: relative;
  height: 100%;
  min-height: 680px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  background: #261d22;
}

html[data-theme="light"] .hero-photo-frame {
  background: #eef3fb;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-photo-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(14, 9, 12, 0.18) 0%, rgba(14, 9, 12, 0.28) 35%, rgba(14, 9, 12, 0.76) 100%),
    linear-gradient(90deg, rgba(123, 31, 55, 0.2) 0%, transparent 45%);
}

html[data-theme="light"] .hero-photo-overlay {
  background:
    linear-gradient(180deg, rgba(14, 9, 12, 0.08) 0%, rgba(14, 9, 12, 0.12) 35%, rgba(14, 9, 12, 0.38) 100%),
    linear-gradient(90deg, rgba(123, 31, 55, 0.12) 0%, transparent 55%);
}

.wave-layer {
  position: absolute;
  left: -8%;
  right: -8%;
  pointer-events: none;
  z-index: 0;
}

.wave-a {
  top: 14%;
  height: 220px;
  background: linear-gradient(120deg, rgba(0, 214, 255, 0.1), rgba(255, 138, 61, 0.08));
  clip-path: polygon(0 52%, 8% 45%, 18% 56%, 31% 44%, 45% 58%, 58% 42%, 72% 56%, 84% 46%, 100% 58%, 100% 100%, 0 100%);
}

.wave-b {
  bottom: 8%;
  height: 260px;
  background: linear-gradient(90deg, rgba(104, 163, 255, 0.1), rgba(130, 245, 220, 0.08));
  clip-path: polygon(0 34%, 12% 48%, 26% 36%, 40% 50%, 56% 34%, 70% 48%, 84% 36%, 100% 50%, 100% 100%, 0 100%);
}

@keyframes logo-spin-horizontal {
  0% {
    transform: rotateY(0deg);
  }
  100% {
    transform: rotateY(360deg);
  }
}

/* center-brand uses logo-spin-horizontal (rotateY) */

.hero-blinddate-art {
  position: absolute;
  right: -40px;
  bottom: -30px;
  width: min(58%, 360px);
  opacity: 0.58;
  pointer-events: none;
  z-index: 1;
}

.floating-panel {
  position: absolute;
  max-width: 290px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(20, 14, 18, 0.68);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  color: var(--panel-ink);
}

html[data-theme="light"] .floating-panel {
  border-color: rgba(13, 27, 46, 0.12);
  background: rgba(255, 255, 255, 0.78);
  color: #0d1b2e;
}

.top-panel {
  top: 28px;
  left: 28px;
}

.bottom-panel {
  right: 24px;
  bottom: 24px;
}

.panel-label {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.floating-panel strong {
  display: block;
  margin-bottom: 8px;
}

.panel-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.panel-row + .panel-row {
  margin-top: 10px;
}

.choice-stack {
  display: grid;
  gap: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--panel-ink);
  font-size: 0.83rem;
}

.chip.soft {
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
}

.hero-badge {
  position: absolute;
  right: -34px;
  top: 52%;
  width: clamp(150px, 18vw, 220px);
  transform: translateY(-50%);
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.28));
}

.section {
  padding: 112px 5vw;
  scroll-margin-top: 96px;
}

.dark-band {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0)),
    rgba(255, 255, 255, 0.02);
}

.section-grid {
  display: grid;
  gap: 30px;
}

.concept-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  align-items: center;
}

.signature-card {
  display: grid;
  gap: 22px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  box-shadow: var(--shadow);
}

.signature-card img {
  width: 120px;
  border-radius: 50%;
}

.feature-list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.feature-list li {
  position: relative;
  padding-left: 18px;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rose), var(--gold));
}

.section-head {
  margin-bottom: 42px;
}

.section-head.narrow h2 {
  max-width: 10ch;
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.journey-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.experience-card {
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.journey-card,
.inclusive-card,
.theme-card {
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  box-shadow: var(--shadow);
}

.focus-card {
  background: linear-gradient(180deg, rgba(0, 214, 255, 0.18), rgba(255, 255, 255, 0.04));
}

.card-kicker {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 0.84rem;
  letter-spacing: 0.16em;
}

.venue-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: 34px;
  align-items: center;
}

.play-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.98fr);
  align-items: center;
}

.game-panel {
  display: grid;
}

.game-screen {
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(168, 220, 255, 0.25);
  background:
    radial-gradient(circle at top right, rgba(0, 214, 255, 0.14), transparent 26%),
    rgba(10, 18, 31, 0.94);
  box-shadow: var(--shadow);
}

html[data-theme="light"] .game-screen {
  border-color: rgba(13, 27, 46, 0.14);
  background:
    radial-gradient(circle at top right, rgba(0, 214, 255, 0.1), transparent 32%),
    rgba(255, 255, 255, 0.92);
  color: #0d1b2e;
}

.game-screen-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.game-progress {
  color: var(--gold);
  font-weight: 800;
}

.answer-grid {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.answer-card {
  width: 100%;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  text-align: left;
  font: inherit;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.answer-card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 214, 255, 0.34);
  background: rgba(0, 214, 255, 0.12);
}

.game-footer-line {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.theme-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.story-section .section-head {
  margin-bottom: 28px;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 980px;
}

.story-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.theme-card strong {
  display: block;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
}

.inclusive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.profile-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.preview-card {
  padding: 28px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  box-shadow: var(--shadow);
}

.preview-line {
  display: grid;
  gap: 6px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.preview-line:last-child {
  border-bottom: 0;
}

.preview-line span {
  color: var(--muted);
}

.bulk-form {
  display: grid;
  gap: 14px;
}

.bulk-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.preview-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.question-select {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.question-select input {
  width: 16px;
  height: 16px;
  accent-color: var(--rose);
}

.mini-x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 700;
  background: rgba(255, 255, 255, 0.06);
}

.quote-band {
  margin-top: 28px;
  padding: 28px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at top right, rgba(255, 138, 61, 0.14), transparent 25%),
    rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow);
}

.quote-band p {
  margin: 0;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.02;
}

.venue-visual {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.venue-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.venue-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 14, 26, 0.18), rgba(8, 14, 26, 0.76)),
    linear-gradient(90deg, rgba(15, 108, 168, 0.18), transparent 45%);
}

html[data-theme="light"] .venue-veil {
  background:
    linear-gradient(180deg, rgba(8, 14, 26, 0.08), rgba(8, 14, 26, 0.35)),
    linear-gradient(90deg, rgba(15, 108, 168, 0.12), transparent 55%);
}

.venue-caption {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  padding: 22px;
  border-radius: 14px;
  background: rgba(10, 18, 31, 0.6);
  border: 1px solid rgba(168, 220, 255, 0.24);
  backdrop-filter: blur(12px);
  color: var(--panel-ink);
}

html[data-theme="light"] .venue-caption {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(13, 27, 46, 0.12);
  color: #0d1b2e;
}

.venue-points {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.venue-point {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.venue-point strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.05rem;
}

.safety-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.safety-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.price-card {
  padding: 30px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  box-shadow: var(--shadow);
}

.price-card.featured {
  transform: translateY(-8px);
  background: linear-gradient(180deg, rgba(0, 214, 255, 0.2), rgba(255, 255, 255, 0.04));
}

.price-tier {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.price {
  margin: 10px 0 18px;
  color: var(--ink);
  font-size: 1.8rem;
  font-weight: 800;
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 34px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(168, 220, 255, 0.22);
  background:
    radial-gradient(circle at top right, rgba(255, 138, 61, 0.16), transparent 26%),
    linear-gradient(135deg, rgba(15, 108, 168, 0.28), rgba(255, 255, 255, 0.04));
  box-shadow: var(--shadow);
}

.cta-copy h2 {
  max-width: 12ch;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.dashboard-shell {
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

.auth-shell {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 32px 20px;
}

.auth-panel {
  width: min(560px, 100%);
  padding: 34px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top right, rgba(0, 214, 255, 0.16), transparent 28%),
    rgba(10, 18, 31, 0.9);
  box-shadow: var(--shadow);
}

.auth-panel-wide {
  width: min(760px, 100%);
}

.auth-copy {
  margin: 26px 0 20px;
}

.auth-form {
  display: grid;
  gap: 16px;
}

.auth-form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.auth-form label {
  display: grid;
  gap: 8px;
}

.auth-form label span {
  color: var(--muted);
  font-size: 0.92rem;
}

.auth-form .checkbox-line {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.auth-form .checkbox-line input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.auth-form .checkbox-line span {
  font-size: 0.9rem;
  color: var(--muted);
}

.auth-form .checkbox-line a {
  color: var(--ink);
}

.auth-form input,
.auth-form textarea,
.auth-form select {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  font: inherit;
}

.auth-form textarea {
  min-height: 112px;
  padding-top: 14px;
  resize: vertical;
}

.auth-form .full {
  grid-column: 1 / -1;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.auth-submit {
  width: 100%;
}

.auth-helper,
.auth-footer {
  margin-top: 20px;
  color: var(--muted);
}

.flash-stack {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.flash {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
}

.flash.error {
  background: rgba(180, 46, 70, 0.18);
  border-color: rgba(212, 91, 112, 0.34);
}

.flash.success {
  background: rgba(66, 133, 107, 0.18);
  border-color: rgba(103, 190, 147, 0.32);
}

.construction-banner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(255, 138, 61, 0.18), transparent 18%),
    linear-gradient(90deg, #1d2b41 0%, #324b6a 48%, #1d314b 100%);
  color: var(--ink);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.34);
  position: fixed;
  top: 0;
  left: 0;
  transform: none;
  z-index: 4000;
  backdrop-filter: blur(10px);
  overflow: clip;
  border-bottom: 2px solid rgba(255, 138, 61, 0.7);
}

.construction-banner-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 10px 20px;
  min-height: 52px;
  user-select: none;
  width: 100%;
  flex-wrap: nowrap;
}

.construction-banner-label {
  flex: 0 0 auto;
  padding: 5px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 138, 61, 0.98), rgba(255, 110, 28, 0.98));
  color: #08111c;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  box-shadow: 0 0 0 1px rgba(255, 166, 105, 0.3), 0 0 26px rgba(255, 138, 61, 0.34);
  text-shadow: none;
}

.construction-banner-text {
  color: #ffe0c2;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
  line-height: 1;
}

.construction-banner-action {
  flex: 0 0 auto;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 179, 111, 0.46);
  color: #ffd7b6;
  font-weight: 900;
  font-size: 0.74rem;
  line-height: 1;
  text-transform: uppercase;
  background: rgba(8, 17, 28, 0.34);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 1px rgba(255, 138, 61, 0.12), 0 8px 18px rgba(0, 0, 0, 0.18);
}

.construction-banner-action:hover {
  background: rgba(255, 138, 61, 0.18);
  color: #ffd1a9;
}

.site-brand-strip {
  display: flex;
  justify-content: center;
  padding: 16px 5vw 0;
}

.site-brand-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--ink);
  text-align: center;
}

.site-brand-link.site-brand-inline {
  flex-direction: row;
  align-items: center;
  gap: 10px;
  text-align: left;
}

.site-brand-link img {
  width: 132px;
  height: 132px;
  border-radius: 999px;
  box-shadow: none;
  animation: logo-spin-horizontal 10s linear infinite;
}

.site-brand-link span {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
}

.site-brand-link.site-brand-inline img {
  width: 48px;
  height: 48px;
}

.site-brand-link.site-brand-inline span {
  font-size: 1.05rem;
  font-weight: 700;
}

@media (max-width: 720px) {
  .site-brand-strip {
    padding-top: 12px;
  }

  .site-brand-link img {
    width: 96px;
    height: 96px;
  }

  .site-brand-link span {
    font-size: 1.45rem;
  }

  .site-brand-link.site-brand-inline {
    gap: 8px;
  }

  .site-brand-link.site-brand-inline img {
    width: 40px;
    height: 40px;
  }

  .site-brand-link.site-brand-inline span {
    font-size: 0.98rem;
  }

  .nav-bar.nav-bar-center {
    grid-template-columns: 1fr auto 1fr;
    column-gap: 10px;
    row-gap: 8px;
    justify-items: stretch;
  }

  .nav-left {
    justify-content: flex-start;
  }

  .nav-right {
    justify-content: flex-end;
  }

  .nav-bar.nav-bar-center .center-brand {
    justify-self: center;
    gap: 4px;
    grid-column: 2;
    grid-row: 1;
    margin-inline: auto;
  }

  .center-brand img {
    width: 92px;
    height: 92px;
  }

  .center-brand-word {
    font-size: 1.28rem;
  }

  body {
    padding-top: 84px;
  }

  .site-header {
    top: 84px;
  }

  .construction-banner-summary {
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 10px;
    min-height: auto;
    flex-wrap: wrap;
  }

  .construction-banner-label {
    padding: 4px 8px;
    font-size: 0.66rem;
    line-height: 1;
  }

  .construction-banner-text {
    order: 3;
    flex: 1 1 100%;
    white-space: normal;
    font-size: 0.72rem;
    line-height: 1.15;
    letter-spacing: 0;
  }

  .construction-banner-action {
    padding: 4px 9px;
    font-size: 0.68rem;
  }

}

.dashboard-header .nav-bar {
  background: linear-gradient(180deg, rgba(9, 18, 34, 0.94), rgba(9, 18, 34, 0.78));
}

.dashboard-main {
  width: min(1320px, 100%);
  margin: 0 auto;
  padding: 28px 5vw 80px;
}

.member-main {
  padding-top: 22px;
}

.dashboard-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 24px;
  align-items: start;
  padding: 34px;
  margin-top: 18px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top right, rgba(0, 214, 255, 0.2), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
  box-shadow: var(--shadow);
}

.hero-copy h1,
.dashboard-hero-copy h1,
.phase-hero h1,
.phase-admin-hero .section-top h1 {
  max-width: 18ch;
  margin-top: 10px;
  font-size: clamp(1.45rem, 2.2vw, 2.25rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.dashboard-main .section-top h2,
.dashboard-main .section-title {
  max-width: 24ch;
  font-size: clamp(1rem, 1.25vw, 1.35rem);
  line-height: 1.2;
  letter-spacing: 0;
}

.dashboard-main .surface-card h3 {
  font-size: clamp(0.96rem, 1.05vw, 1.16rem);
  line-height: 1.25;
}

.org-hero {
  background:
    radial-gradient(circle at top right, rgba(255, 138, 61, 0.16), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
}

.member-hero {
  margin-top: 0;
}

.dashboard-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.dashboard-chip {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-side-panel {
  padding: 22px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.metric-stack {
  display: grid;
  gap: 12px;
}

.metric-card {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.metric-card span {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
}

.metric-card strong {
  display: block;
  margin-top: 6px;
  font-size: 1.35rem;
}

.progress-rail {
  height: 8px;
  margin-top: 20px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.progress-rail span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--rose), var(--gold));
}

.side-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.dashboard-section {
  padding: 68px 0 0;
}

.member-question-section {
  padding-top: 28px;
}

.section-top {
  margin-bottom: 28px;
}

.dashboard-grid {
  display: grid;
  gap: 18px;
}

.dashboard-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dashboard-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dashboard-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.surface-card {
  padding: 24px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  box-shadow: var(--shadow);
}

.member-flash-stack {
  margin-top: 10px;
}

.surface-card.compact,
.stat-card.compact {
  min-height: 100%;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-actions .btn {
  min-height: 34px;
  padding: 0 12px;
  font-size: 0.88rem;
}

.surface-label {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.profile-card h3,
.stat-card h3,
.game-card h3,
.match-card h3,
.date-row h3,
.booking-row h3 {
  line-height: 1.05;
}

.demo-switches {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.demo-link {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  font-size: 0.9rem;
}

.match-card-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.question-head,
.theme-progress-head,
.compact-match-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.question-head span,
.theme-progress-head span,
.compact-match-row span {
  color: var(--muted);
}

.presence-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 30px;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.1;
}

.presence-badge > span,
.presence-badge small {
  color: inherit;
  opacity: 0.9;
}

.presence-badge > span {
  font-size: 0.78rem;
}

.presence-badge small {
  font-size: 0.68rem;
}

.presence-badge .presence-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  flex: 0 0 auto;
}

.presence-badge.online {
  border-color: rgba(52, 211, 153, 0.34);
  background: rgba(52, 211, 153, 0.12);
  color: #b8f7dd;
}

.presence-badge.online .presence-dot {
  background: #34d399;
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.12);
}

.presence-badge.offline {
  border-color: rgba(248, 113, 113, 0.28);
  background: rgba(248, 113, 113, 0.08);
  color: #ffcbc8;
}

.presence-badge.offline .presence-dot {
  background: #f87171;
}

.member-question-title {
  max-width: 16ch;
  margin-top: 18px;
}

.question-form {
  display: grid;
  gap: 18px;
  margin-top: 26px;
}

.theme-selector {
  margin-top: 14px;
}

.theme-selector label {
  display: grid;
  gap: 6px;
}

.theme-selector select {
  min-height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--field-bg);
  color: var(--field-ink);
  font: inherit;
  padding: 0 12px;
}

.theme-selector option {
  background: var(--field-option-bg);
  color: var(--field-option-ink);
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.photo-tile {
  display: grid;
  gap: 6px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
}

.photo-tile img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
}

.photo-tile span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--muted);
}

.edit-form {
  display: grid;
  gap: 14px;
}

.edit-form label {
  display: grid;
  gap: 6px;
}

.edit-form input,
.edit-form select,
.edit-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  font: inherit;
}

.edit-form textarea {
  min-height: 100px;
  padding-top: 10px;
  resize: vertical;
}

.edit-form .checkbox-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.edit-form .checkbox-line input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.edit-form .checkbox-line span {
  color: var(--muted);
  font-size: 0.92rem;
}

.media-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.media-frame {
  width: 100%;
  min-height: 220px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.member-cta {
  margin-top: 20px;
}

.member-nav {
  gap: 16px;
}

.member-nav a {
  font-size: 0.9rem;
}

.dice-panel {
  margin-top: 16px;
}

.answer-option {
  position: relative;
  display: block;
}

.answer-option input {
  position: absolute;
  opacity: 0;
  inset: 0;
}

.answer-option span {
  display: block;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.answer-option input:checked + span {
  border-color: rgba(212, 91, 112, 0.36);
  background: rgba(212, 91, 112, 0.1);
  transform: translateY(-1px);
}

.question-submit {
  width: 100%;
}

.theme-progress-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.theme-progress-card {
  display: grid;
  gap: 14px;
}

.theme-answer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.answer-option span {
  min-height: 56px;
}

.member-summary-card h3 {
  margin-bottom: 12px;
}

.member-summary-card .preview-line {
  padding: 12px 0;
}

.compact-match-row {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.mini-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 0.85rem;
}

.slot-choice-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.slot-choice-strip form {
  margin: 0;
}

.slot-pill {
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  line-height: 1;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.slot-pill:hover {
  transform: translateY(-1px);
}

.slot-pill.is-selected {
  border-color: rgba(212, 91, 112, 0.55);
  background: rgba(212, 91, 112, 0.16);
  color: var(--ink);
}

.slot-pill.is-final {
  border-color: rgba(215, 179, 129, 0.55);
  background: linear-gradient(135deg, rgba(215, 179, 129, 0.22), rgba(212, 91, 112, 0.16));
  color: var(--ink);
}

.mini-pill.accent {
  color: var(--ink);
  border-color: rgba(212, 91, 112, 0.28);
  background: linear-gradient(135deg, rgba(212, 91, 112, 0.18), rgba(215, 179, 129, 0.12));
}

.mini-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  color: var(--ink);
  text-decoration: underline;
}

.match-meta,
.muted-line {
  color: var(--muted);
}

.score-pill,
.state-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 800;
}

.score-pill {
  background: linear-gradient(135deg, rgba(212, 91, 112, 0.22), rgba(215, 179, 129, 0.18));
  border: 1px solid rgba(212, 91, 112, 0.32);
}

.state-pill {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  text-transform: capitalize;
}

.inline-venue {
  display: grid;
  gap: 4px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.rich-match-card p {
  margin-top: 12px;
}

.timeline-board,
.table-board {
  display: grid;
  gap: 14px;
}

.date-row,
.booking-row {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
}

.booking-row {
  grid-template-columns: minmax(0, 1fr) auto;
}

.compact-rendezvous-card {
  padding: 18px 20px;
}

.compact-rendezvous-card .booking-row-main,
.compact-rendezvous-card .compact-match-main {
  display: grid;
  gap: 6px;
}

.compact-rendezvous-card .booking-row-side,
.compact-rendezvous-card .compact-match-side {
  display: grid;
  gap: 10px;
  align-content: start;
}

.date-row-time span {
  display: block;
  color: var(--gold);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.date-row-time strong {
  display: block;
  margin-top: 6px;
  font-size: 1.3rem;
}

.date-row-main,
.booking-row-main {
  min-width: 0;
}

.game-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
  color: var(--gold);
  font-size: 0.88rem;
}

.insight-list {
  display: grid;
  gap: 12px;
}

.compact-list {
  gap: 0;
}

.insight-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.empty-card {
  text-align: center;
}

.axis-stack {
  display: grid;
  gap: 16px;
}

.axis-row {
  display: grid;
  gap: 8px;
}

.axis-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.axis-head span {
  color: var(--muted);
  font-size: 0.9rem;
}

.axis-rail {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.axis-rail span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--rose), var(--gold));
}

.ratio-bar {
  height: 8px;
  margin: 10px 0 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.ratio-bar span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--rose), var(--gold));
}

.question-detail {
  margin: 10px 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.question-detail summary {
  cursor: pointer;
  font-weight: 700;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.site-footer {
  margin-top: 36px;
  padding: 20px 16px 28px;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 1180px) {
  .hero,
  .concept-grid,
  .venue-layout,
  .dashboard-hero,
  .play-grid {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    min-height: auto;
  }

  .hero-photo-frame {
    min-height: 620px;
  }

  .hero-badge {
    right: 18px;
    top: auto;
    bottom: -28px;
    transform: none;
  }

  .site-watermark img {
    width: min(58vw, 460px);
    opacity: 0.95;
  }

  .experience-grid,
  .safety-grid,
  .journey-grid,
  .theme-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .story-grid {
    max-width: none;
  }

  .dashboard-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-header .site-brand-link.site-brand-inline img {
    width: 32px;
    height: 32px;
  }

  .dashboard-header .site-brand-link.site-brand-inline span {
    font-size: 0.88rem;
  }

  .dashboard-main {
    padding-top: 14px;
  }

  .dashboard-hero {
    padding: 22px;
    margin-top: 12px;
    gap: 16px;
  }

  .hero-copy h1,
  .dashboard-hero-copy h1,
  .phase-hero h1,
  .phase-admin-hero .section-top h1 {
    max-width: 100%;
    font-size: clamp(1.25rem, 4.8vw, 1.8rem);
  }
}

@media (max-width: 900px) {
  .nav-bar.nav-bar-center {
    grid-template-columns: auto 1fr auto;
    gap: 12px;
  }

  .center-brand {
    justify-self: center;
  }

  .nav-bar.nav-bar-center .center-brand {
    gap: 4px;
  }

  .center-brand img {
    width: 116px;
    height: 116px;
  }

  .center-brand-word {
    font-size: 1.7rem;
  }

  .hero {
    padding-top: 54px;
  }

  .hero-logo-right {
    position: static;
    margin-bottom: 10px;
  }

  .trust-bar,
  .hero-callouts,
  .experience-grid,
  .journey-grid,
  .safety-grid,
  .pricing-grid,
  .theme-grid,
  .inclusive-grid,
  .profile-preview-grid,
  .theme-answer-grid,
  .theme-progress-grid,
  .dashboard-grid-2,
  .dashboard-grid-3,
  .dashboard-grid-4 {
    grid-template-columns: 1fr;
  }

  .story-grid {
    grid-template-columns: 1fr;
  }

  .photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-panel {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-utility {
    gap: 8px;
  }

  .dashboard-header .site-brand-link.site-brand-inline {
    gap: 6px;
  }

  .dashboard-header .site-brand-link.site-brand-inline img {
    width: 28px;
    height: 28px;
  }

  .dashboard-header .site-brand-link.site-brand-inline span {
    font-size: 0.8rem;
  }

  .auth-form-grid {
    grid-template-columns: 1fr;
  }

  .date-row,
  .booking-row {
    grid-template-columns: 1fr;
  }

  .media-preview-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .nav-bar,
  .hero,
  .section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .nav-bar {
    gap: 14px;
  }

  .nav-utility {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .nav-utility-link,
  .nav-utility-button {
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.92rem;
  }

  h1 {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  .dashboard-main {
    padding: 12px 18px 56px;
  }

  .dashboard-hero,
  .dashboard-section {
    padding: 18px;
  }

  .dashboard-hero {
    margin-top: 10px;
  }

  .dashboard-main .section-top h2,
  .dashboard-main .section-title {
    max-width: 100%;
    font-size: 0.98rem;
  }

  .auth-panel {
    padding: 26px;
  }

  .hero-photo-frame,
  .venue-visual {
    min-height: 520px;
  }

  .site-watermark img {
    width: min(72vw, 300px);
    opacity: 0.9;
  }

  .top-panel,
  .bottom-panel {
    left: 16px;
    right: 16px;
    max-width: none;
  }

  .top-panel {
    top: 16px;
  }

  .bottom-panel {
    bottom: 16px;
  }

  .hero-badge {
    width: 132px;
  }

  .hero-blinddate-art {
    right: -22px;
    bottom: -16px;
    width: min(68%, 230px);
    opacity: 0.45;
  }

  .photo-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    animation: none !important;
    transition: none !important;
  }
}

/* Profile Edit - Abstract Colorful Icons */
.profile-edit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.profile-edit-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 1rem;
  background: var(--field-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  color: var(--ink);
}

.profile-edit-card:hover {
  background: rgba(0, 214, 255, 0.08);
  border-color: var(--rose);
  transform: translateY(-2px);
}

.profile-edit-card .icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.profile-edit-card .icon-wrap svg {
  width: 28px;
  height: 28px;
  position: relative;
  z-index: 1;
}

.profile-edit-card .card-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
}

.icon-violet {
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
}

.icon-cyan {
  background: linear-gradient(135deg, #0891b2 0%, #22d3ee 100%);
}

.icon-rose {
  background: linear-gradient(135deg, #e11d48 0%, #fb7185 100%);
}

.icon-amber {
  background: linear-gradient(135deg, #d97706 0%, #fbbf24 100%);
}

.icon-emerald {
  background: linear-gradient(135deg, #059669 0%, #34d399 100%);
}

.icon-blue {
  background: linear-gradient(135deg, #2563eb 0%, #60a5fa 100%);
}

.icon-pink {
  background: linear-gradient(135deg, #db2777 0%, #f472b6 100%);
}

.icon-indigo {
  background: linear-gradient(135deg, #4f46e5 0%, #818cf8 100%);
}

.icon-teal {
  background: linear-gradient(135deg, #0d9488 0%, #5eead4 100%);
}

.icon-orange {
  background: linear-gradient(135deg, #ea580c 0%, #fb923c 100%);
}

.icon-lime {
  background: linear-gradient(135deg, #65a30d 0%, #a3e635 100%);
}

.icon-fuchsia {
  background: linear-gradient(135deg, #c026d3 0%, #e879f9 100%);
}

.profile-header-section {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--panel);
  border-radius: var(--radius-lg);
  margin-bottom: 1.5rem;
}

.profile-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.profile-info {
  flex: 1;
}

.profile-info h2 {
  margin: 0 0 0.25rem;
  font-size: 1.25rem;
}

.profile-info .user-name {
  font-family: "Space Grotesk", monospace;
  color: var(--rose);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.profile-info .user-stats {
  display: flex;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.profile-badge {
  padding: 0.25rem 0.75rem;
  background: var(--field-bg);
  border-radius: 20px;
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-profile-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-profile-link .notif-dot {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 10px;
  height: 10px;
  background: var(--rose);
  border-radius: 50%;
  border: 2px solid var(--bg);
}

.login-logs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.login-logs-table th,
.login-logs-table td {
  padding: 0.5rem 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.login-logs-table th {
  font-weight: 600;
  color: var(--muted);
  font-size: 0.75rem;
  text-transform: uppercase;
}

.login-logs-table tr:hover td {
  background: rgba(0, 214, 255, 0.04);
}

.login-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.login-status .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.login-status .dot.success {
  background: #34d399;
}

.login-status .dot.failed {
  background: #f87171;
}

.truncate-cell {
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.edit-section {
  background: var(--panel);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.edit-section h3 {
  margin-top: 0;
}

.multi-select-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.5rem;
}

.choice-grid {
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}

.choice-tile {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 48px;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, opacity 0.18s ease, transform 0.18s ease;
}

.choice-tile:hover {
  border-color: rgba(212, 91, 112, 0.28);
  transform: translateY(-1px);
}

.choice-tile input {
  appearance: none;
  width: 18px;
  height: 18px;
  margin: 0;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 5px;
  background: transparent;
  flex: 0 0 auto;
  position: relative;
}

.choice-tile input::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 3px;
  background: transparent;
  transition: background 0.18s ease, transform 0.18s ease;
}

.choice-tile input:checked {
  border-color: rgba(212, 91, 112, 0.72);
  background: rgba(212, 91, 112, 0.14);
}

.choice-tile input:checked::after {
  background: linear-gradient(135deg, var(--rose), var(--gold));
  transform: scale(0.92);
}

.choice-tile .choice-label {
  display: block;
  font-size: 0.92rem;
  line-height: 1.2;
}

.language-choice {
  align-items: flex-start;
  flex-wrap: wrap;
}

.language-choice .choice-label {
  width: 100%;
  margin-top: 0.1rem;
}

.language-rating {
  display: grid;
  gap: 0.45rem;
  width: 100%;
  margin-top: 0.15rem;
  padding-top: 0.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.rating-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.rating-caption {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.rating-stars {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
}

.rating-star {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.rating-star input {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.rating-star span {
  color: rgba(255, 255, 255, 0.24);
  font-size: 1rem;
  line-height: 1;
  transition: color 0.18s ease, transform 0.18s ease;
}

.rating-star input:checked + span,
.rating-star:hover span,
.rating-star:focus-within span {
  color: var(--gold);
  transform: translateY(-1px);
}

.choice-tile.is-selected {
  border-color: rgba(212, 91, 112, 0.36);
  background: rgba(212, 91, 112, 0.1);
}

.choice-tile.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
  background: rgba(255, 255, 255, 0.02);
}

.choice-tile.is-disabled input {
  cursor: not-allowed;
}

.info-readonly {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.info-row {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem;
  background: var(--field-bg);
  border-radius: var(--radius-sm);
}

.info-label {
  font-weight: 600;
  color: var(--muted);
}

.info-value {
  color: var(--ink);
}

.color-options {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.color-swatch {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s;
}

.color-swatch:hover {
  transform: scale(1.15);
}

/* Home reboot + detail pages */
.phase-home-reboot {
  position: relative;
  overflow: hidden;
  padding-top: 92px;
  padding-bottom: 84px;
}

.home-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 520px) minmax(0, 520px);
  justify-content: center;
  gap: 56px;
  align-items: center;
  width: min(1120px, 100%);
  margin: 0 auto;
}

.home-copy h1 {
  max-width: 10ch;
  margin-top: 18px;
  margin-bottom: 18px;
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: 0.94;
}

.home-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  width: min(100%, 520px);
  max-width: 520px;
  margin: 0 auto;
}

.home-copy h1,
.home-copy .lead,
.home-copy .lead-sub {
  width: 100%;
}

.home-copy .lead {
  max-width: 60ch;
}

.home-orb {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(18px);
  opacity: 0.26;
  pointer-events: none;
}

.orb-left {
  top: 60px;
  left: -140px;
  background: radial-gradient(circle, rgba(255, 107, 129, 0.9), rgba(255, 107, 129, 0));
}

.orb-right {
  right: -120px;
  bottom: 10px;
  background: radial-gradient(circle, rgba(0, 214, 255, 0.88), rgba(0, 214, 255, 0));
}

.home-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  min-height: auto;
  width: min(100%, 520px);
  margin: 0 auto;
}

.home-spin-logo {
  position: static;
  width: min(28vw, 220px);
  z-index: 2;
  filter: drop-shadow(0 18px 48px rgba(0, 0, 0, 0.24));
  animation: homeLogoSpin 26s linear infinite;
}

.home-pulse-art {
  position: absolute;
  inset: 110px 0 auto auto;
  width: min(48vw, 520px);
  opacity: 0.78;
  z-index: 1;
}

.home-photo-cluster {
  position: relative;
  min-height: auto;
  width: min(100%, 520px);
  margin: 0 auto;
}

.home-photo-cluster-simple {
  display: flex;
  justify-content: center;
}

.home-photo-card {
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

.home-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-photo-main {
  left: auto;
  top: auto;
  width: min(100%, 440px);
  height: 540px;
  border-radius: 32px;
  transform: none;
}

.home-visual-notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  width: min(100%, 520px);
}

.home-note-card {
  min-height: 100%;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  background: rgba(7, 15, 29, 0.8);
  backdrop-filter: blur(20px);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.22);
}

.home-note-card strong {
  display: block;
  margin: 10px 0 12px;
  line-height: 1.15;
}

.home-note-card p {
  margin: 10px 0 0;
  color: var(--muted);
}

.home-proof-band,
.home-signal-grid,
.home-experience-grid,
.home-lanes-grid {
  display: grid;
  gap: 18px;
}

.home-signal-layout,
.home-experience-layout,
.home-path-layout {
  display: grid;
  grid-template-columns: 1fr;
  justify-content: center;
  justify-items: center;
  align-items: center;
  gap: 32px;
  width: min(980px, 100%);
  margin: 0 auto;
}

.home-lanes-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 440px));
  justify-content: center;
  align-items: stretch;
  gap: 24px;
  width: min(960px, 100%);
  margin: 0 auto;
}

.home-copy-block,
.home-section-visual {
  width: 100%;
}

.home-signal-layout > .home-copy-block,
.home-experience-layout > .home-copy-block,
.home-lanes-layout > .home-lane-card {
  max-width: 520px;
  justify-self: center;
}

.home-signal-layout > .home-section-visual,
.home-experience-layout > .home-section-visual {
  max-width: 520px;
  justify-self: center;
}

.home-copy-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: min(100%, 520px);
  max-width: 520px;
  margin: 0 auto;
}

.home-section-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.visual-left {
  order: -1;
}

.home-inline-image {
  width: min(100%, 520px);
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.22);
  background: rgba(255, 255, 255, 0.04);
  margin: 0 auto;
}

.home-inline-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-inline-image.tall {
  height: 700px;
}

.home-inline-image.square {
  height: 560px;
}

.home-copy-block h2,
.home-path-layout .section-copy h2 {
  max-width: 14ch;
}

.home-copy-block .section-lead,
.home-copy-block .home-signal-grid,
.home-copy-block .home-experience-grid {
  width: 100%;
}

.home-path-layout .section-copy,
.home-final-cta .section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.home-path-layout .section-lead,
.home-final-cta .section-lead {
  max-width: 64ch;
}

.home-path-list {
  width: min(100%, 760px);
  margin: 0 auto;
}

.home-signal-grid,
.home-experience-grid {
  width: min(100%, 760px);
  margin: 0 auto;
}

.home-lane-card.with-image {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
}

.home-lane-media {
  width: min(100%, 320px);
  margin: 0 auto;
}

.home-lane-copy {
  text-align: center;
}

.cta-row[data-reveal],
.home-final-cta .cta-row {
  justify-content: center;
}

.home-proof-band {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
}

.home-proof-item,
.home-signal-card,
.home-experience-card,
.home-lane-card,
.phase-admin-card,
.phase-admin-panel,
.phase-detail-panel {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
  box-shadow: var(--shadow);
}

.home-proof-item {
  padding: 18px;
  border-radius: 18px;
}

.home-proof-item strong {
  display: block;
  margin-bottom: 8px;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.5rem;
}

.home-proof-item span,
.home-signal-card p:last-child,
.home-experience-card p:last-child,
.home-lane-card p:last-child {
  color: var(--muted);
}

.home-signal-strip {
  padding-top: 16px;
}

.home-signal-grid,
.home-experience-grid {
  grid-template-columns: 1fr;
}

.home-lanes-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-signal-card,
.home-experience-card,
.home-lane-card,
.phase-admin-panel,
.phase-detail-panel {
  padding: 26px;
  border-radius: 22px;
}

.accent-coral {
  background:
    radial-gradient(circle at top right, rgba(255, 108, 132, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
}

.accent-cyan {
  background:
    radial-gradient(circle at top right, rgba(0, 214, 255, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
}

.accent-gold {
  background:
    radial-gradient(circle at top right, rgba(255, 208, 123, 0.2), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
}

.home-path-layout {
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.92fr);
  gap: 28px;
  align-items: start;
}

.home-path-list {
  display: grid;
  gap: 14px;
}

.home-path-step {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
}

.home-path-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  font-family: "Space Grotesk", monospace;
  color: var(--bg);
  background: linear-gradient(135deg, var(--gold), var(--rose));
}

.home-path-step strong {
  display: block;
  margin-bottom: 6px;
}

.home-lane-card h3,
.home-signal-card h3,
.home-experience-card h3,
.phase-admin-panel h3,
.phase-detail-panel h3 {
  margin: 10px 0 12px;
}

.home-lane-card.with-image {
  display: grid;
  grid-template-columns: minmax(160px, 220px) 1fr;
  gap: 18px;
  align-items: center;
  width: 100%;
}

.home-lane-media {
  overflow: hidden;
  border-radius: 24px;
  min-height: 220px;
}

.home-lane-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-lane-copy {
  text-align: left;
}

.home-final-cta {
  background:
    radial-gradient(circle at top right, rgba(255, 138, 61, 0.16), transparent 24%),
    radial-gradient(circle at bottom left, rgba(0, 214, 255, 0.14), transparent 26%),
    linear-gradient(135deg, rgba(15, 108, 168, 0.22), rgba(255, 255, 255, 0.04));
}

.phase-detail-hero {
  margin-top: 18px;
}

.phase-detail-metrics {
  margin-top: 24px;
}

.phase-partners-hero {
  background:
    radial-gradient(circle at top right, rgba(255, 108, 132, 0.16), transparent 22%),
    radial-gradient(circle at bottom left, rgba(0, 214, 255, 0.14), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
}

.phase-admin-hero .lead {
  max-width: 72ch;
}

.phase-admin-kpis,
.phase-admin-overview {
  margin-top: 22px;
}

.phase-admin-card,
.phase-admin-panel {
  border-radius: 20px;
}

@keyframes homeLogoSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

html[data-theme="light"] .home-proof-item,
html[data-theme="light"] .home-signal-card,
html[data-theme="light"] .home-experience-card,
html[data-theme="light"] .home-lane-card,
html[data-theme="light"] .home-note-card,
html[data-theme="light"] .phase-admin-card,
html[data-theme="light"] .phase-admin-panel,
html[data-theme="light"] .phase-detail-panel {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.08);
}

/* Phase 1 home upgrade */
.phase-hero {
  gap: 56px;
  padding-top: 84px;
}

.phase-hero h1 {
  max-width: 11ch;
  margin-top: 18px;
  font-size: clamp(2.8rem, 5.8vw, 5.4rem);
  line-height: 0.96;
}

.phase-hero .lead {
  max-width: 60ch;
  font-size: 1.08rem;
}

.phase-hero .lead-sub {
  max-width: 58ch;
  font-size: 1rem;
}

.hero-proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.proof-chip {
  display: grid;
  gap: 6px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  box-shadow: 0 12px 28px rgba(0, 8, 18, 0.2);
}

.proof-chip strong {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.4rem;
  line-height: 1;
}

.proof-chip span {
  color: var(--muted);
  font-size: 0.9rem;
}

.phase-summary {
  padding-top: 42px;
}

.phase-summary-grid,
.phase-advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.summary-card,
.advantage-card {
  min-height: 100%;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  box-shadow: var(--shadow);
}

.summary-highlight {
  background:
    radial-gradient(circle at top right, rgba(0, 214, 255, 0.14), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
}

.summary-card h3,
.advantage-card h3 {
  max-width: 12ch;
  margin-bottom: 14px;
  line-height: 1.02;
}

.summary-card p:last-child,
.advantage-card p:last-child {
  color: var(--muted);
  margin-bottom: 0;
}

.phase-journey .journey-card,
.phase-preview-grid .preview-card,
.phase-confidence-grid .inclusive-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035));
}

.phase-journey .journey-card h3,
.phase-confidence-grid .inclusive-card h3 {
  max-width: 12ch;
}

.phase-advantages {
  position: relative;
}

.phase-preview-grid .preview-card {
  padding: 28px;
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.phase-final-cta {
  background:
    radial-gradient(circle at top right, rgba(255, 138, 61, 0.16), transparent 22%),
    radial-gradient(circle at bottom left, rgba(0, 214, 255, 0.14), transparent 26%),
    linear-gradient(135deg, rgba(15, 108, 168, 0.24), rgba(255, 255, 255, 0.04));
}

.phase-final-cta h2 {
  max-width: 13ch;
}

html[data-theme="light"] .proof-chip,
html[data-theme="light"] .summary-card,
html[data-theme="light"] .advantage-card,
html[data-theme="light"] .phase-preview-grid .preview-card,
html[data-theme="light"] .phase-journey .journey-card,
html[data-theme="light"] .phase-confidence-grid .inclusive-card {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.08);
}

@media (max-width: 1180px) {
  .home-grid,
  .home-signal-layout,
  .home-experience-layout,
  .home-path-layout,
  .home-lanes-layout {
    grid-template-columns: 1fr;
    align-items: center;
    width: min(760px, 100%);
  }

  .home-spin-logo {
    width: min(44vw, 220px);
  }

  .phase-hero h1 {
    max-width: 12ch;
    font-size: clamp(2.6rem, 7vw, 4.5rem);
  }
}

@media (max-width: 900px) {
  .hero-proof-strip,
  .phase-summary-grid,
  .phase-advantages-grid,
  .home-proof-band,
  .home-signal-grid,
  .home-experience-grid,
  .home-lanes-grid {
    grid-template-columns: 1fr;
  }

  .home-lane-card.with-image {
    grid-template-columns: 1fr;
  }

  .home-copy-block,
  .section-copy,
  .section-head,
  .section-top {
    text-align: center;
    align-items: center;
  }

  .home-copy {
    align-items: center;
    text-align: center;
  }

  .home-photo-main {
    width: min(84vw, 420px);
    height: 460px;
  }

  .home-inline-image.tall,
  .home-inline-image.square {
    height: auto;
  }

  .home-visual-notes {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .home-copy h1 {
    font-size: clamp(2.4rem, 12vw, 3.6rem);
  }

  .home-spin-logo {
    width: min(54vw, 180px);
  }

  .home-photo-main {
    width: min(88vw, 320px);
    height: 380px;
    border-radius: 24px;
  }
}

/* Professional home reset */
.phase-home-reboot {
  padding: 88px 24px 64px;
  min-height: auto;
  background:
    radial-gradient(circle at top left, rgba(0, 214, 255, 0.08), transparent 34%),
    radial-gradient(circle at top right, rgba(255, 138, 61, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(9, 18, 34, 0.98), rgba(11, 20, 36, 0.98));
}

.home-shell,
.home-section-stack,
.home-cta-panel {
  width: min(1160px, 100%);
  margin: 0 auto;
}

.home-grid {
  display: grid;
  grid-template-columns: minmax(0, 560px) minmax(0, 460px);
  gap: 64px;
  align-items: center;
  width: 100%;
}

.home-copy {
  width: 100%;
  max-width: none;
  margin: 0;
  align-items: flex-start;
  text-align: left;
}

.home-copy h1 {
  max-width: 12ch;
  margin: 0 0 18px;
  font-size: clamp(3rem, 5vw, 5rem);
  line-height: 0.95;
}

.home-copy .lead,
.home-copy .lead-sub {
  max-width: 58ch;
  color: var(--muted);
}

.home-copy .cta-row {
  margin: 30px 0 0;
}

.home-proof-band {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  margin-top: 28px;
}

.home-proof-item {
  padding: 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}

.home-visual {
  width: 100%;
  margin: 0;
  gap: 0;
}

.home-hero-media {
  position: relative;
  width: min(100%, 460px);
  margin: 0 auto;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 8, 20, 0.38);
}

.home-hero-media > img:last-child {
  width: 100%;
  height: 620px;
  object-fit: cover;
  display: block;
}

.home-spin-logo {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 120px;
  height: 120px;
  z-index: 3;
  filter: drop-shadow(0 16px 34px rgba(0, 0, 0, 0.28));
}

.home-photo-cluster,
.home-photo-card,
.home-photo-main,
.home-visual-notes,
.home-note-card,
.home-pulse-art {
  all: unset;
}

.home-signal-strip,
.home-experience-band,
.home-path-teaser,
.home-lanes,
.home-final-cta {
  padding: 72px 24px;
}

.home-section-stack {
  display: grid;
  gap: 28px;
}

.home-section-intro,
.home-cta-panel {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.home-section-intro h2,
.home-cta-panel h2 {
  max-width: none;
  margin-bottom: 16px;
  font-size: clamp(2.4rem, 4.4vw, 4rem);
  line-height: 1;
}

.home-section-intro .section-lead,
.home-cta-panel .section-lead {
  max-width: 56ch;
  margin: 0 auto;
}

.home-signal-grid-pro {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
}

.home-experience-layout,
.home-path-layout {
  width: min(1160px, 100%);
  margin: 0 auto;
  grid-template-columns: minmax(0, 460px) minmax(0, 560px);
  gap: 56px;
  align-items: center;
}

.home-section-visual,
.home-copy-block {
  max-width: none;
  width: 100%;
}

.home-copy-block {
  align-items: flex-start;
  text-align: left;
  margin: 0;
}

.home-copy-block h2,
.home-path-layout .section-copy h2 {
  max-width: 13ch;
  margin-bottom: 16px;
  font-size: clamp(2.2rem, 3.8vw, 3.6rem);
  line-height: 1;
}

.home-copy-block .section-lead {
  max-width: 54ch;
}

.home-experience-grid,
.home-path-list {
  width: 100%;
}

.home-inline-image {
  width: min(100%, 460px);
  border-radius: 28px;
}

.home-inline-image.tall,
.home-inline-image.square {
  height: 560px;
}

.home-lanes-layout {
  width: min(1160px, 100%);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-lane-card.with-image {
  grid-template-columns: 180px 1fr;
  justify-items: start;
  text-align: left;
}

.home-lane-media {
  width: 180px;
  min-height: 180px;
}

.home-lane-copy {
  text-align: left;
}

.home-cta-panel {
  padding: 48px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
}

.home-cta-panel .btn {
  margin-top: 28px;
}

html[data-theme="light"] .phase-home-reboot {
  background:
    radial-gradient(circle at top left, rgba(0, 214, 255, 0.08), transparent 34%),
    radial-gradient(circle at top right, rgba(255, 138, 61, 0.08), transparent 28%),
    linear-gradient(180deg, #eef6ff, #e7f1fb);
}

html[data-theme="light"] .home-proof-item,
html[data-theme="light"] .home-signal-card,
html[data-theme="light"] .home-experience-card,
html[data-theme="light"] .home-lane-card,
html[data-theme="light"] .home-cta-panel {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.08);
}

@media (max-width: 1024px) {
  .home-grid,
  .home-experience-layout,
  .home-path-layout,
  .home-lanes-layout,
  .home-signal-grid-pro {
    grid-template-columns: 1fr;
  }

  .home-copy,
  .home-copy-block,
  .home-section-intro,
  .home-cta-panel,
  .home-path-layout .section-copy {
    align-items: center;
    text-align: center;
  }

  .home-copy .lead,
  .home-copy .lead-sub,
  .home-copy-block .section-lead {
    max-width: 64ch;
  }

  .home-copy h1,
  .home-copy-block h2,
  .home-path-layout .section-copy h2 {
    max-width: none;
  }

  .home-lane-card.with-image {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .home-lane-copy {
    text-align: center;
  }
}

@media (max-width: 640px) {
  .phase-home-reboot,
  .home-signal-strip,
  .home-experience-band,
  .home-path-teaser,
  .home-lanes,
  .home-final-cta {
    padding-left: 20px;
    padding-right: 20px;
  }

  .home-proof-band {
    grid-template-columns: 1fr;
  }

  .home-hero-media > img:last-child,
  .home-inline-image.tall,
  .home-inline-image.square {
    height: 420px;
  }

  .home-spin-logo {
    width: 92px;
    height: 92px;
  }

  .home-cta-panel {
    padding: 32px 24px;
  }
}

/* Phase 2 auth upgrade */
.phase-auth-panel {
  width: min(1180px, 100%);
  padding: 30px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(0, 214, 255, 0.1), transparent 24%),
    radial-gradient(circle at bottom left, rgba(255, 138, 61, 0.08), transparent 28%),
    rgba(10, 18, 31, 0.9);
}

.auth-panel-login {
  max-width: 1040px;
}

.auth-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.auth-return-link {
  color: var(--muted);
  font-size: 0.92rem;
}

.phase-auth-grid {
  display: grid;
  gap: 26px;
  align-items: start;
}

.phase-auth-grid-login {
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.82fr);
}

.phase-auth-grid-register {
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
}

.phase-auth-copy h1 {
  max-width: 12ch;
  margin-top: 8px;
  margin-bottom: 16px;
  font-size: clamp(2.4rem, 4vw, 4.3rem);
}

.phase-auth-copy .lead {
  max-width: 58ch;
}

.auth-benefits {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.auth-benefit-card {
  padding: 18px 18px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
}

.auth-benefit-card strong {
  display: block;
  margin-bottom: 8px;
}

.auth-benefit-card span {
  color: var(--muted);
  font-size: 0.92rem;
}

.auth-mini-checklist {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

.mini-check-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.mini-check-item strong {
  font-size: 0.92rem;
}

.mini-check-item span {
  color: var(--muted);
  font-size: 0.86rem;
  text-align: right;
}

.auth-form-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  box-shadow: var(--shadow);
}

.auth-form-card-wide {
  padding: 28px;
}

.auth-card-head {
  margin-bottom: 20px;
}

.auth-card-head h2 {
  max-width: none;
  margin-bottom: 10px;
  font-size: clamp(1.8rem, 2.4vw, 2.6rem);
}

.phase-auth-form {
  gap: 16px;
}

.phase-register-form {
  gap: 18px;
}

.auth-section-title {
  display: grid;
  gap: 4px;
  padding-top: 10px;
  margin-top: 4px;
  border-top: 1px solid var(--line);
}

.auth-section-title strong {
  font-size: 1rem;
}

.auth-section-title span {
  color: var(--muted);
  font-size: 0.9rem;
}

.phase-auth-form small {
  color: var(--muted);
  font-size: 0.82rem;
}

.auth-card-footer {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

html[data-theme="light"] .phase-auth-panel,
html[data-theme="light"] .auth-benefit-card,
html[data-theme="light"] .mini-check-item,
html[data-theme="light"] .auth-form-card {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.08);
}

@media (max-width: 980px) {
  .phase-auth-grid-login,
  .phase-auth-grid-register {
    grid-template-columns: 1fr;
  }

  .phase-auth-copy h1 {
    max-width: 13ch;
  }
}

@media (max-width: 640px) {
  .phase-auth-panel {
    padding: 22px;
    border-radius: 22px;
  }

  .auth-topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .mini-check-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .mini-check-item span {
    text-align: left;
  }
}

.info-text {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Phase 4 profile / partner / trust pages */
.phase-profile-hero,
.phase-org-hero {
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 28px;
  align-items: stretch;
}

.phase-profile-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.phase-profile-metric,
.phase-profile-note,
.phase-profile-card,
.phase-org-card,
.phase-org-note,
.phase-policy-card,
.phase-policy-article {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.phase-profile-metric {
  padding: 16px 18px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035));
}

.phase-profile-metric span {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
  margin-bottom: 8px;
}

.phase-profile-metric strong {
  font-size: 1.15rem;
}

.phase-org-hero .dashboard-hero-copy h1 {
  max-width: 16ch;
  font-size: clamp(1.18rem, 1.8vw, 1.85rem);
  line-height: 1.02;
}

.phase-org-hero .lead {
  max-width: 52ch;
}

.phase-org-hero .dashboard-badges {
  margin-top: 18px;
}

.profile-structure-grid {
  align-items: stretch;
}

.profile-structure-card {
  display: grid;
  gap: 12px;
}

.profile-structure-card h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.35;
}

.profile-structure-card .insight-list {
  gap: 6px;
}

.profile-structure-card .muted-line {
  margin: 0;
  font-size: 0.92rem;
}

.phase-profile-editor .profile-edit-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.profile-edit-card {
  min-height: 116px;
}

.profile-edit-card .card-label {
  font-size: 0.84rem;
}

.phase-org-side,
.phase-profile-side {
  gap: 14px;
}

.phase-profile-note,
.phase-org-note {
  padding: 24px;
  border-radius: 22px;
  background:
    radial-gradient(circle at top right, rgba(0, 214, 255, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035));
}

.phase-profile-note h3,
.phase-org-note h3 {
  margin: 0 0 12px;
}

.phase-profile-overview,
.phase-org-overview {
  padding-top: 8px;
}

.phase-profile-card,
.phase-org-card,
.phase-policy-card,
.phase-policy-article {
  padding: 24px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
}

.phase-profile-card h3,
.phase-org-card h3,
.phase-policy-card h3,
.phase-policy-article h2 {
  margin: 10px 0 12px;
}

.phase-profile-editor {
  margin-top: 24px;
}

.phase-profile-section-head {
  margin-bottom: 20px;
}

.phase-org-side {
  gap: 18px;
}

.phase-org-metrics .metric-card {
  border: 1px solid var(--line);
}

.phase-policies-hero {
  background:
    radial-gradient(circle at top right, rgba(255, 138, 61, 0.15), transparent 22%),
    radial-gradient(circle at bottom left, rgba(0, 214, 255, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
}

.phase-policies-summary {
  margin-top: 28px;
}

.phase-policy-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

html[data-theme="light"] .phase-profile-metric,
html[data-theme="light"] .phase-profile-note,
html[data-theme="light"] .phase-profile-card,
html[data-theme="light"] .phase-org-card,
html[data-theme="light"] .phase-org-note,
html[data-theme="light"] .phase-policy-card,
html[data-theme="light"] .phase-policy-article {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.08);
}

/* Phase 3 member dashboard upgrade */
.phase-member-hero {
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 28px;
  align-items: stretch;
}

.phase-member-hero h1 {
  max-width: 16ch;
  font-size: clamp(1.18rem, 1.8vw, 1.9rem);
  line-height: 1.02;
}

.phase-member-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0 0;
}

.phase-member-kpi,
.phase-overview-card,
.phase-action-card,
.phase-question-card,
.phase-match-card {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.phase-member-kpi {
  padding: 16px 18px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035));
}

.phase-member-kpi span {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
  margin-bottom: 8px;
}

.phase-member-kpi strong {
  font-size: 1.3rem;
  line-height: 1.1;
}

.phase-member-side {
  gap: 18px;
}

.phase-action-card {
  padding: 24px;
  border-radius: 22px;
  background:
    radial-gradient(circle at top right, rgba(0, 214, 255, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035));
}

.phase-action-card h3 {
  margin: 0 0 12px;
}

.phase-action-card p {
  margin-bottom: 18px;
}

.phase-member-overview {
  padding-top: 8px;
}

.phase-overview-card {
  padding: 24px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
}

.phase-overview-card h3 {
  margin: 10px 0 12px;
  max-width: 16ch;
}

.phase-question-card,
.phase-match-card {
  padding: 28px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(255, 138, 61, 0.09), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
}

.phase-question-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 18px;
}

.phase-question-card .theme-selector {
  margin: 0 0 22px;
}

.phase-question-card .member-question-title {
  margin-bottom: 18px;
}

.phase-question-card .answer-grid {
  margin-top: 0;
}

.phase-question-card .question-submit {
  margin-top: 18px;
}

.question-confirm-line {
  margin-top: 14px;
  align-items: flex-start;
}

.question-confirm-line span {
  max-width: 56ch;
}

.phase-match-card .pill-row {
  margin-top: 16px;
}

.phase-match-card .dice-panel {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

html[data-theme="light"] .phase-member-kpi,
html[data-theme="light"] .phase-overview-card,
html[data-theme="light"] .phase-action-card,
html[data-theme="light"] .phase-question-card,
html[data-theme="light"] .phase-match-card {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.08);
}

@media (max-width: 1100px) {
  .phase-member-hero {
    grid-template-columns: 1fr;
  }

  .phase-member-kpis {
    grid-template-columns: 1fr;
  }

  .phase-profile-hero,
  .phase-org-hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .phase-question-card,
  .phase-match-card,
  .phase-overview-card,
  .phase-action-card {
    padding: 22px;
    border-radius: 20px;
  }

  .phase-question-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .phase-profile-metrics {
    grid-template-columns: 1fr;
  }
}

.role-tier-grid {
  align-items: stretch;
}

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

.role-hub-grid {
  align-items: stretch;
}

.role-hub-card {
  display: grid;
  gap: 8px;
  padding: 18px 20px;
  text-decoration: none;
  color: inherit;
}

.role-hub-card strong {
  font-size: 1rem;
}

.role-hub-card span {
  color: var(--muted);
}

.role-hub-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
}

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

.account-state-stack {
  display: grid;
  gap: 6px;
}

.inline-account-form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 10px;
}

.inline-account-form select {
  min-width: 135px;
}

.role-tier-card,
.referral-card,
.auth-security-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  box-shadow: var(--shadow);
}

.role-feature-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
}

.role-feature-list.compact {
  gap: 8px;
}

.role-feature-list li {
  color: var(--muted);
}

.auth-security-card {
  display: grid;
  gap: 8px;
  padding: 18px 20px;
}

.auth-security-card strong {
  font-size: 1rem;
}

.auth-security-card span {
  color: var(--muted);
}

.turnstile-wrap {
  display: flex;
  justify-content: center;
}

.auth-help-link {
  margin: 14px 0 0;
  text-align: right;
}

.auth-help-link a {
  color: var(--muted);
  font-size: 0.95rem;
}

html[data-theme="light"] .role-tier-card,
html[data-theme="light"] .referral-card,
html[data-theme="light"] .auth-security-card {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.08);
}





