@font-face {
  font-family: "Manrope";
  src: url("../fonts/Manrope-Variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
  font-family: "Manrope";
  src: url("../fonts/Manrope-Latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

:root {
  --night: #0b0c10;
  --night-2: #11131a;
  --panel: #161922;
  --panel-2: #1c202b;
  --paper: #f3f0e8;
  --paper-2: #dedad0;
  --muted: #9ba0ad;
  --muted-dark: #666b77;
  --line: rgba(243, 240, 232, .14);
  --line-strong: rgba(243, 240, 232, .25);
  --line-dark: rgba(11, 12, 16, .18);
  --violet: #9378ff;
  --violet-light: #b9aaff;
  --acid: #c7ff63;
  --coral: #ff7b6b;
  --aqua: #6ee7d2;
  --warning: #f5c76d;
  --danger: #ff7f8b;
  --page: min(1180px, calc(100vw - 48px));
  --wide: min(1460px, calc(100vw - 48px));
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 32px;
  --shadow: 0 24px 80px rgba(0, 0, 0, .28);
  --ease: cubic-bezier(.22, 1, .36, 1);
  color-scheme: dark;
  font-family: "Manrope", "Segoe UI Variable", "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  min-width: 320px;
  scroll-behavior: smooth;
  background: var(--night);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--night);
  color: var(--paper);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  content: "";
  opacity: .025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitchTiles'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: screen;
}

button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }

::selection { color: var(--night); background: var(--acid); }

:focus-visible {
  outline: 3px solid var(--acid);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--acid);
  color: var(--night);
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

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

.site-header {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 40;
  height: 88px;
}

.site-header-inner {
  width: var(--wide);
  height: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
}

.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 46px;
  color: var(--paper);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -.02em;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  width: 31px;
  height: 31px;
  flex: 0 0 auto;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--panel);
  transform: rotate(-4deg);
}

.brand-mark::before,
.brand-mark::after {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  content: "";
  background: var(--acid);
  box-shadow: 10px 0 0 var(--violet), 0 10px 0 var(--coral), 10px 10px 0 var(--paper);
}
.brand-mark::before { top: 6px; left: 6px; }
.brand-mark::after { display: none; }

.brand-word span { color: var(--acid); }

.primary-nav {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(17, 19, 26, .72);
  backdrop-filter: blur(16px);
}

.primary-nav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: color .25s ease, background-color .25s ease;
}
.primary-nav a:hover,
.primary-nav a[aria-current="page"] { color: var(--paper); background: var(--panel-2); }

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}

.locale-switch {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(17, 19, 26, .72);
}

.locale-switch button {
  width: 38px;
  min-height: 34px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .05em;
  cursor: pointer;
}
.locale-switch button.is-active { background: var(--paper); color: var(--night); }

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform .35s var(--ease), background-color .25s ease, border-color .25s ease, color .25s ease, opacity .25s ease;
}
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.button-primary { background: var(--acid); color: var(--night); }
.button-primary:hover { background: #dbff9b; }
.button-secondary { border-color: var(--line-strong); background: rgba(255,255,255,.035); color: var(--paper); }
.button-secondary:hover { border-color: var(--paper); background: rgba(255,255,255,.07); }
.button-dark { background: var(--night); color: var(--paper); }
.button-danger { border-color: rgba(255,127,139,.38); background: rgba(255,127,139,.08); color: #ffadb5; }
.button-small { min-height: 40px; padding: 0 15px; font-size: 12px; }
.button[disabled] { opacity: .42; pointer-events: none; }

.menu-button {
  width: 46px;
  height: 46px;
  display: none;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--panel);
  cursor: pointer;
}
.menu-button span,
.menu-button span::before,
.menu-button span::after {
  display: block;
  width: 17px;
  height: 1px;
  content: "";
  background: var(--paper);
  transition: transform .25s ease;
}
.menu-button span::before { transform: translateY(-5px); }
.menu-button span::after { transform: translateY(4px); }
.menu-open .menu-button span { background: transparent; }
.menu-open .menu-button span::before { transform: translateY(0) rotate(45deg); }
.menu-open .menu-button span::after { transform: translateY(-1px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 74px 16px auto;
  z-index: 35;
  display: none;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(17, 19, 26, .98);
  box-shadow: var(--shadow);
}
.mobile-menu a {
  min-height: 52px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
  text-decoration: none;
}
.mobile-menu a:last-child { border-bottom: 0; }
.menu-open .mobile-menu { display: block; animation: menu-in .35s var(--ease) both; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } }

.marketing-main { overflow: hidden; }
.page-width { width: var(--page); margin: 0 auto; }
.wide-width { width: var(--wide); margin: 0 auto; }

.hero {
  position: relative;
  min-height: max(780px, 100svh);
  display: grid;
  align-items: center;
  padding: 132px 0 76px;
  isolation: isolate;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    radial-gradient(circle at 82% 22%, rgba(147,120,255,.18), transparent 31%),
    radial-gradient(circle at 68% 78%, rgba(199,255,99,.08), transparent 28%),
    linear-gradient(to right, transparent calc(50% - .5px), rgba(255,255,255,.04) 50%, transparent calc(50% + .5px));
}

.hero-layout {
  width: var(--wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(430px, .9fr);
  align-items: center;
  gap: clamp(48px, 7vw, 110px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
  color: var(--acid);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow::before { width: 28px; height: 1px; content: ""; background: currentColor; }

.hero-title,
.page-hero-title {
  margin: 0;
  font-size: clamp(4.2rem, 7.65vw, 8.6rem);
  font-weight: 620;
  letter-spacing: -.078em;
  line-height: .84;
}
.hero-title span { display: block; }
.hero-title .accent { color: var(--violet-light); }

.hero-copy,
.page-hero-copy {
  max-width: 650px;
  margin: 34px 0 0;
  color: var(--paper-2);
  font-size: clamp(1rem, 1.35vw, 1.25rem);
  line-height: 1.62;
}

.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 35px; }

.formation-card {
  position: relative;
  min-height: 570px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(32,36,48,.96), rgba(16,18,25,.96));
  box-shadow: var(--shadow);
}

.formation-card::before {
  position: absolute;
  inset: -20%;
  content: "";
  background: conic-gradient(from 40deg at 50% 50%, transparent, rgba(147,120,255,.13), transparent 35%, rgba(199,255,99,.09), transparent 70%);
  animation: halo-spin 18s linear infinite;
}
@keyframes halo-spin { to { transform: rotate(360deg); } }

.formation-top,
.formation-bottom { position: relative; z-index: 2; }
.formation-top { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.micro-label { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.live-pill { display: inline-flex; align-items: center; gap: 7px; color: var(--paper-2); font-size: 10px; font-weight: 700; }
.live-pill::before { width: 7px; height: 7px; border-radius: 50%; content: ""; background: var(--acid); box-shadow: 0 0 0 5px rgba(199,255,99,.08); }

.formation-stage {
  position: relative;
  z-index: 1;
  height: 340px;
  margin: 12px 0;
}

.formation-ring,
.formation-ring::before,
.formation-ring::after {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 50%;
  content: "";
  transform: translate(-50%, -50%);
}
.formation-ring { width: 270px; height: 270px; }
.formation-ring::before { width: 188px; height: 188px; }
.formation-ring::after { width: 96px; height: 96px; border-color: rgba(199,255,99,.23); background: rgba(199,255,99,.03); }

.avatar-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 4px solid var(--panel);
  border-radius: 18px;
  background: var(--avatar, var(--violet));
  color: var(--night);
  font-size: 11px;
  font-weight: 900;
  box-shadow: 0 10px 28px rgba(0,0,0,.28);
  transform: translate(-50%, -50%) rotate(var(--a)) translateY(-135px) rotate(calc(var(--a) * -1));
  animation: avatar-breathe 4s ease-in-out infinite alternate;
  animation-delay: var(--delay);
}
@keyframes avatar-breathe { to { margin-top: -8px; transform: translate(-50%, -50%) rotate(var(--a)) translateY(-140px) rotate(calc(var(--a) * -1)) scale(1.04); } }
.avatar-orbit::after {
  position: absolute;
  right: -4px;
  bottom: -3px;
  width: 11px;
  height: 11px;
  border: 3px solid var(--panel);
  border-radius: 50%;
  content: "";
  background: var(--acid);
}
.formation-center {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background: var(--paper);
  color: var(--night);
  font-size: 19px;
  font-weight: 900;
  transform: translate(-50%, -50%) rotate(4deg);
}

.formation-bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.formation-stat {
  min-height: 82px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255,255,255,.035);
}
.formation-stat strong { display: block; margin-top: 7px; font-size: 15px; line-height: 1.2; }
.formation-stat-wide { grid-column: 1 / -1; min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 7px; }
.chip { display: inline-flex; min-height: 30px; align-items: center; padding: 0 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--paper-2); font-size: 10px; font-weight: 700; }
.chip-acid { border-color: rgba(199,255,99,.25); color: var(--acid); background: rgba(199,255,99,.07); }

.ticker {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}
.ticker-track {
  width: max-content;
  height: 50px;
  display: flex;
  align-items: center;
  gap: 28px;
  padding-left: 28px;
  color: var(--paper-2);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
  animation: ticker-move 28s linear infinite;
}
.ticker-dot { color: var(--acid); }
@keyframes ticker-move { to { transform: translateX(-50%); } }

.section { padding: clamp(100px, 12vw, 170px) 0; }
.section-grid { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(40px, 8vw, 120px); }
.section-kicker { margin: 4px 0 0; color: var(--violet-light); font-size: 11px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.section-title { max-width: 900px; margin: 0; font-size: clamp(3rem, 6.3vw, 6.7rem); font-weight: 600; letter-spacing: -.065em; line-height: .91; }
.section-copy { max-width: 680px; margin: 26px 0 0; color: var(--muted); font-size: clamp(1rem, 1.3vw, 1.22rem); line-height: 1.65; }

.problem-section { background: var(--paper); color: var(--night); }
.problem-section .section-kicker { color: #6448dd; }
.problem-section .section-copy { color: var(--muted-dark); }

.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 70px; }
.compare-card { padding: 30px; border: 1px solid var(--line-dark); border-radius: var(--radius); }
.compare-card-new { border-color: var(--night); background: var(--night); color: var(--paper); transform: rotate(1deg); }
.compare-label { display: flex; align-items: center; justify-content: space-between; margin-bottom: 40px; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.compare-card-new .compare-label { color: var(--acid); }
.compare-list { margin: 0; padding: 0; list-style: none; }
.compare-list li { display: grid; grid-template-columns: 25px 1fr; gap: 12px; padding: 18px 0; border-top: 1px solid currentColor; font-size: 15px; font-weight: 650; }
.compare-list li::before { content: "×"; color: var(--coral); }
.compare-card-new .compare-list li::before { content: "↗"; color: var(--acid); }

.statement-band { padding: 48px 0; overflow: hidden; background: var(--violet); color: var(--night); }
.statement { width: max-content; display: flex; gap: 30px; align-items: center; font-size: clamp(2.4rem, 6vw, 6rem); font-weight: 700; letter-spacing: -.06em; line-height: .9; white-space: nowrap; transform: translateX(-3vw); }
.statement em { font-style: normal; color: var(--paper); }

.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 70px; }
.step-card {
  min-height: 340px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.015));
  transition: transform .5s var(--ease), border-color .3s ease;
}
.step-card:hover { border-color: var(--line-strong); transform: translateY(-8px); }
.step-number { color: var(--acid); font-size: 11px; font-weight: 850; letter-spacing: .13em; }
.step-visual { flex: 1; display: grid; place-items: center; }
.step-glyph { position: relative; width: 115px; height: 115px; border: 1px solid var(--line-strong); border-radius: 50%; }
.step-glyph::before,
.step-glyph::after { position: absolute; content: ""; border-radius: 50%; background: var(--violet); }
.step-glyph::before { width: 38px; height: 38px; top: 20px; left: 19px; }
.step-glyph::after { width: 26px; height: 26px; right: 19px; bottom: 22px; background: var(--acid); }
.step-card:nth-child(2) .step-glyph { border-radius: 30px; transform: rotate(8deg); }
.step-card:nth-child(3) .step-glyph::before { width: 60px; height: 9px; top: 34px; left: 26px; border-radius: 9px; box-shadow: 0 20px 0 var(--coral); }
.step-card:nth-child(3) .step-glyph::after { display: none; }
.step-card h3 { margin: 0 0 12px; font-size: 23px; letter-spacing: -.035em; }
.step-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }

.games-section { background: #11131a; }
.games-head { display: flex; align-items: end; justify-content: space-between; gap: 35px; }
.games-head .section-copy { max-width: 420px; }
.games-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 60px; }
.game-tile {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}
.game-tile::before { position: absolute; right: -32px; bottom: -50px; width: 165px; height: 165px; border-radius: 44px; content: ""; background: var(--game-color); opacity: .82; transform: rotate(24deg); transition: transform .6s var(--ease); }
.game-tile:hover::before { transform: rotate(35deg) scale(1.12); }
.game-tile::after { position: absolute; right: 25px; bottom: 24px; content: attr(data-mark); color: var(--night); font-size: 36px; font-weight: 900; letter-spacing: -.07em; }
.game-tile h3 { position: relative; z-index: 1; max-width: 8ch; margin: 0; font-size: 24px; letter-spacing: -.04em; }
.game-tile p { position: relative; z-index: 1; margin: 10px 0 0; color: var(--muted); font-size: 12px; }

.safety-preview { background: var(--acid); color: var(--night); }
.safety-preview .section-kicker { color: #5543aa; }
.safety-preview .section-copy { color: #414537; }
.safety-layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; align-items: end; }
.safety-list { margin: 0; padding: 0; border-top: 1px solid var(--night); list-style: none; }
.safety-list li { display: flex; gap: 13px; align-items: center; min-height: 59px; border-bottom: 1px solid var(--night); font-size: 13px; font-weight: 750; }
.safety-list li::before { content: "✓"; font-weight: 900; }
.text-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; font-size: 13px; font-weight: 850; text-decoration-thickness: 1px; text-underline-offset: 5px; }

.final-cta { position: relative; min-height: 80svh; display: grid; place-items: center; padding: 110px 0; text-align: center; }
.final-cta::before { position: absolute; width: min(56vw, 720px); aspect-ratio: 1; border: 1px solid var(--line); border-radius: 50%; content: ""; box-shadow: 0 0 0 70px rgba(255,255,255,.012), 0 0 0 140px rgba(255,255,255,.009); }
.final-cta-content { position: relative; z-index: 1; max-width: 1000px; }
.final-cta .eyebrow { justify-content: center; }
.final-cta h2 { margin: 0; font-size: clamp(3.6rem, 7.5vw, 8rem); font-weight: 600; letter-spacing: -.075em; line-height: .88; }
.final-cta .button { margin-top: 36px; }

.site-footer { border-top: 1px solid var(--line); background: var(--night); }
.footer-inner { width: var(--wide); min-height: 145px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.footer-brand { font-size: 13px; font-weight: 800; }
.footer-note { color: var(--muted); font-size: 11px; }
.footer-meta { justify-self: end; text-align: right; color: var(--muted); font-size: 10px; line-height: 1.7; }

[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-reveal-delay="1"] { transition-delay: .09s; }
[data-reveal-delay="2"] { transition-delay: .18s; }

/* Inner marketing pages */
.page-hero { position: relative; min-height: 720px; display: grid; align-items: end; padding: 150px 0 90px; border-bottom: 1px solid var(--line); overflow: hidden; }
.page-hero::before { position: absolute; top: 18%; right: 7%; width: min(36vw, 500px); aspect-ratio: 1; border: 1px solid var(--line); border-radius: 50%; content: ""; box-shadow: inset 0 0 100px rgba(147,120,255,.08), 0 0 0 55px rgba(255,255,255,.012), 0 0 0 110px rgba(255,255,255,.008); }
.page-hero-title { max-width: 10.5ch; font-size: clamp(4rem, 8.2vw, 8.8rem); }
.page-hero-content { position: relative; z-index: 1; }
.page-hero-actions { display: flex; gap: 12px; margin-top: 32px; }

.constraint-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 60px; }
.constraint-card { min-height: 260px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.constraint-icon { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 65px; border-radius: 16px; background: rgba(199,255,99,.1); color: var(--acid); font-weight: 850; }
.constraint-card h3 { margin: 0 0 10px; font-size: 19px; }
.constraint-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }

.weights-section { background: var(--paper); color: var(--night); }
.weights-section .section-kicker { color: #6249cc; }
.weight-stack { margin-top: 65px; border-top: 1px solid var(--line-dark); }
.weight-row { min-height: 95px; display: grid; grid-template-columns: 1fr 4fr 70px; align-items: center; gap: 20px; border-bottom: 1px solid var(--line-dark); }
.weight-name { font-size: 14px; font-weight: 800; }
.weight-track { height: 11px; overflow: hidden; border-radius: 999px; background: rgba(11,12,16,.09); }
.weight-fill { width: var(--weight); height: 100%; border-radius: inherit; background: var(--violet); transform-origin: left; }
.weight-row:nth-child(2) .weight-fill { background: var(--night); }
.weight-row:nth-child(3) .weight-fill { background: var(--coral); }
.weight-row:nth-child(4) .weight-fill { background: #6b9f29; }
.weight-row:nth-child(5) .weight-fill { background: var(--aqua); }
.weight-value { text-align: right; font-size: 20px; font-weight: 800; letter-spacing: -.04em; }

.graph-section { overflow: hidden; }
.graph-layout { display: grid; grid-template-columns: .86fr 1.14fr; gap: 70px; align-items: center; }
.match-graph { position: relative; min-height: 580px; }
.graph-line { position: absolute; top: 50%; left: 50%; width: 205px; height: 1px; background: var(--line-strong); transform-origin: left; transform: rotate(var(--angle)); }
.graph-line.good { background: linear-gradient(90deg, var(--violet), var(--acid)); box-shadow: 0 0 18px rgba(199,255,99,.16); }
.graph-person { position: absolute; top: 50%; left: 50%; width: 74px; height: 74px; display: grid; place-items: center; border: 5px solid var(--night); border-radius: 24px; background: var(--person); color: var(--night); font-size: 12px; font-weight: 900; transform: translate(-50%, -50%) rotate(var(--angle)) translateX(205px) rotate(calc(var(--angle) * -1)); box-shadow: 0 14px 35px rgba(0,0,0,.3); }
.graph-person.center { width: 96px; height: 96px; border-radius: 32px; background: var(--paper); transform: translate(-50%,-50%); }
.graph-score { position: absolute; right: 8%; bottom: 8%; width: 145px; height: 145px; display: grid; place-items: center; border: 1px solid rgba(199,255,99,.38); border-radius: 50%; background: rgba(199,255,99,.06); text-align: center; }
.graph-score strong { display: block; color: var(--acid); font-size: 35px; letter-spacing: -.06em; }
.graph-score span { display: block; max-width: 80px; color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

.no-swipe { padding: 90px 0; background: var(--violet); color: var(--night); }
.no-swipe-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: end; }
.no-swipe h2 { max-width: 10ch; margin: 0; font-size: clamp(3rem, 6vw, 6rem); letter-spacing: -.065em; line-height: .92; }
.no-swipe p { max-width: 520px; margin: 0 0 28px; font-size: 18px; line-height: 1.6; }

/* Safety */
.safety-hero { background: radial-gradient(circle at 85% 30%, rgba(199,255,99,.13), transparent 28%); }
.demo-notice { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; margin-top: 42px; padding: 22px; border: 1px solid rgba(199,255,99,.3); border-radius: 18px; background: rgba(199,255,99,.06); }
.demo-notice-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--acid); color: var(--night); font-weight: 900; }
.demo-notice h2 { margin: 0 0 6px; font-size: 17px; }
.demo-notice p { margin: 0; color: var(--muted); font-size: 13px; }

.principle-list { margin-top: 62px; border-top: 1px solid var(--line); }
.principle-item { display: grid; grid-template-columns: 80px 1fr 1fr; gap: 28px; padding: 34px 0; border-bottom: 1px solid var(--line); }
.principle-number { color: var(--acid); font-size: 11px; font-weight: 850; }
.principle-item h3 { margin: 0; font-size: 25px; letter-spacing: -.035em; }
.principle-item p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }

.controls-section { background: var(--paper); color: var(--night); }
.controls-section .section-kicker { color: #6249cc; }
.control-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 60px; }
.control-card { min-height: 300px; display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line-dark); border-radius: var(--radius); }
.control-card-icon { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 18px; background: var(--night); color: var(--acid); font-weight: 900; }
.control-card h3 { margin: auto 0 12px; font-size: 24px; }
.control-card p { margin: 0; color: var(--muted-dark); font-size: 14px; line-height: 1.6; }
.real-service { padding: 90px 0; background: var(--coral); color: var(--night); }
.real-service-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }
.real-service h2 { margin: 0; font-size: clamp(2.8rem,5vw,5.5rem); letter-spacing: -.06em; line-height: .95; }
.real-service p { margin: 0; font-size: 17px; line-height: 1.7; }

/* App shell */
.app-body { background: #0f1117; }
.app-shell { min-height: 100svh; display: grid; grid-template-columns: 238px minmax(0, 1fr); }
.app-sidebar { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; padding: 24px 18px; border-right: 1px solid var(--line); background: #0b0c10; }
.app-brand { margin: 0 10px 34px; }
.app-nav { display: grid; gap: 5px; }
.app-nav a { min-height: 48px; display: flex; align-items: center; gap: 13px; padding: 0 14px; border-radius: 13px; color: var(--muted); font-size: 13px; font-weight: 700; text-decoration: none; }
.app-nav a:hover,
.app-nav a[aria-current="page"] { background: var(--panel); color: var(--paper); }
.app-nav a[aria-current="page"] .nav-icon { color: var(--acid); }
.nav-icon { width: 22px; text-align: center; font-size: 16px; }
.app-side-bottom { margin-top: auto; }
.demo-label { margin: 0 10px 16px; padding: 14px; border: 1px solid rgba(147,120,255,.28); border-radius: 14px; background: rgba(147,120,255,.08); color: var(--muted); font-size: 10px; line-height: 1.55; }
.app-locale { margin: 0 10px; }

.app-main { min-width: 0; }
.app-topbar { height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 clamp(22px,4vw,58px); border-bottom: 1px solid var(--line); background: rgba(15,17,23,.83); backdrop-filter: blur(18px); }
.app-topbar-title { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.app-topbar-title::before { width: 7px; height: 7px; border-radius: 50%; content: ""; background: var(--acid); }
.app-profile-link { min-height: 42px; display: inline-flex; align-items: center; gap: 10px; padding: 0 13px 0 6px; border: 1px solid var(--line); border-radius: 999px; color: var(--paper); font-size: 12px; font-weight: 750; text-decoration: none; }
.mini-avatar { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 10px; background: var(--violet); color: var(--night); font-size: 9px; font-weight: 900; }
.app-content { width: min(1180px, calc(100% - clamp(44px,8vw,116px))); margin: 0 auto; padding: 58px 0 100px; }
.app-heading-row { display: flex; align-items: end; justify-content: space-between; gap: 26px; margin-bottom: 35px; }
.app-eyebrow { margin: 0 0 10px; color: var(--violet-light); font-size: 10px; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
.app-title { margin: 0; font-size: clamp(2.2rem,4.5vw,4.8rem); font-weight: 620; letter-spacing: -.06em; line-height: .96; }
.app-copy { max-width: 570px; margin: 16px 0 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.mobile-dock { display: none; }

/* Onboarding */
.onboarding-body { background: var(--paper); color: var(--night); }
.onboarding-body::before { opacity: .018; mix-blend-mode: multiply; }
.onboarding-shell { min-height: 100svh; display: grid; grid-template-columns: minmax(270px, 32vw) 1fr; }
.onboarding-aside { position: relative; min-height: 100svh; display: flex; flex-direction: column; padding: 34px clamp(28px,4vw,64px); overflow: hidden; background: var(--night); color: var(--paper); }
.onboarding-aside::after { position: absolute; right: -25%; bottom: 5%; width: min(40vw,520px); aspect-ratio: 1; border: 1px solid var(--line); border-radius: 50%; content: ""; box-shadow: 0 0 0 55px rgba(255,255,255,.015), 0 0 0 110px rgba(255,255,255,.009); }
.onboarding-aside .brand { position: relative; z-index: 2; }
.onboarding-aside-copy { position: relative; z-index: 2; max-width: 440px; margin: auto 0; }
.onboarding-aside h1 { margin: 0; font-size: clamp(3rem,5.2vw,6rem); font-weight: 620; letter-spacing: -.07em; line-height: .92; }
.onboarding-aside p { max-width: 430px; margin: 24px 0 0; color: var(--muted); line-height: 1.7; }
.privacy-note { position: relative; z-index: 2; display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 10px; }
.privacy-note::before { width: 9px; height: 9px; border: 2px solid var(--acid); border-radius: 50%; content: ""; }
.onboarding-main { min-width: 0; display: flex; flex-direction: column; }
.onboarding-topbar { min-height: 78px; display: flex; align-items: center; justify-content: flex-end; gap: 12px; padding: 14px clamp(24px,5vw,70px); border-bottom: 1px solid var(--line-dark); }
.onboarding-main .locale-switch { border-color: var(--line-dark); background: rgba(11,12,16,.04); }
.onboarding-main .locale-switch button { color: var(--muted-dark); }
.onboarding-main .locale-switch button.is-active { background: var(--night); color: var(--paper); }
.onboarding-form { width: min(760px, calc(100% - 48px)); margin: auto; padding: 55px 0 45px; }
.progress-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; color: var(--muted-dark); font-size: 11px; font-weight: 800; }
.progress-track { height: 5px; margin-bottom: 48px; overflow: hidden; border-radius: 999px; background: rgba(11,12,16,.09); }
.progress-bar { width: 20%; height: 100%; border-radius: inherit; background: var(--violet); transition: width .55s var(--ease); }
.form-step { display: none; animation: step-in .55s var(--ease) both; }
.form-step[hidden] { display: none !important; }
.form-step.is-active { display: block; }
@keyframes step-in { from { opacity: 0; transform: translateX(18px); } }
.form-step h2 { max-width: 680px; margin: 0; font-size: clamp(2.3rem,4.3vw,4.4rem); font-weight: 620; letter-spacing: -.06em; line-height: .98; }
.form-step > p { max-width: 570px; margin: 18px 0 34px; color: var(--muted-dark); font-size: 14px; line-height: 1.65; }
.option-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 11px; }
.option-input { position: absolute; opacity: 0; pointer-events: none; }
.option-card { position: relative; min-height: 108px; display: flex; align-items: center; gap: 16px; padding: 17px; border: 1px solid var(--line-dark); border-radius: 16px; background: rgba(255,255,255,.4); cursor: pointer; transition: border-color .25s ease, background-color .25s ease, transform .35s var(--ease); }
.option-card:hover { transform: translateY(-2px); border-color: rgba(11,12,16,.45); }
.option-card::after { position: absolute; top: 14px; right: 14px; width: 19px; height: 19px; display: grid; place-items: center; border: 1px solid var(--line-dark); border-radius: 50%; content: ""; color: var(--night); font-size: 11px; font-weight: 900; }
.option-input:checked + .option-card { border-color: var(--violet); background: rgba(147,120,255,.09); box-shadow: inset 0 0 0 1px var(--violet); }
.option-input:checked + .option-card::after { content: ""; border-color: var(--violet); background: var(--violet) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5 10 3 3 7-7' fill='none' stroke='%230b0c10' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/13px 13px no-repeat; }
.option-input:focus-visible + .option-card { outline: 3px solid var(--violet); outline-offset: 3px; }
.game-swatch { width: 54px; height: 54px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 16px; background: var(--swatch); color: var(--night); font-weight: 900; letter-spacing: -.05em; }
.option-card strong { display: block; font-size: 14px; }
.option-card small { display: block; margin-top: 5px; color: var(--muted-dark); font-size: 10px; }

.field-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; }
.field-group { margin-bottom: 27px; }
.field-label { display: block; margin-bottom: 10px; font-size: 11px; font-weight: 800; }
.select-field,
.text-field { width: 100%; min-height: 52px; padding: 0 15px; border: 1px solid var(--line-dark); border-radius: 13px; background: rgba(255,255,255,.6); color: var(--night); }
.text-field::placeholder { color: #8b8e95; }
.segmented { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.segment-input { position: absolute; opacity: 0; }
.segment-label { min-height: 52px; display: grid; place-items: center; padding: 8px; border: 1px solid var(--line-dark); border-radius: 13px; color: var(--muted-dark); font-size: 11px; font-weight: 750; text-align: center; cursor: pointer; }
.segment-input:checked + .segment-label { border-color: var(--night); background: var(--night); color: var(--paper); }
.segment-input:focus-visible + .segment-label { outline: 3px solid var(--violet); outline-offset: 2px; }

.language-picks { display: flex; gap: 8px; }
.language-picks .segment-label { min-width: 115px; }
.availability-wrap { overflow-x: auto; padding-bottom: 4px; }
.availability-grid { min-width: 600px; display: grid; grid-template-columns: 72px repeat(7, 1fr); gap: 6px; }
.slot-head { min-height: 34px; display: grid; place-items: center; color: var(--muted-dark); font-size: 9px; font-weight: 800; text-transform: uppercase; }
.slot-time { justify-items: start; font-size: 10px; }
.slot-input { position: absolute; opacity: 0; }
.slot-label { min-height: 48px; display: grid; place-items: center; border: 1px solid var(--line-dark); border-radius: 11px; color: transparent; cursor: pointer; transition: background-color .2s ease, border-color .2s ease; }
.slot-label::after { width: 14px; height: 14px; content: ""; background: linear-gradient(var(--muted-dark),var(--muted-dark)) center/10px 1px no-repeat, linear-gradient(var(--muted-dark),var(--muted-dark)) center/1px 10px no-repeat; }
.slot-input:checked + .slot-label { border-color: var(--violet); background: var(--violet); }
.slot-input:checked + .slot-label::after { content: ""; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m4 10 4 4 8-9' fill='none' stroke='%230b0c10' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px 14px no-repeat; }
.slot-input:focus-visible + .slot-label { outline: 3px solid var(--violet); outline-offset: 2px; }

.range-field { margin-bottom: 30px; }
.range-meta { display: flex; justify-content: space-between; margin-bottom: 8px; color: var(--muted-dark); font-size: 10px; font-weight: 750; }
input[type="range"] { width: 100%; height: 7px; accent-color: var(--violet); cursor: pointer; }
.adult-check { display: flex; align-items: flex-start; gap: 12px; margin-top: 26px; padding: 16px; border: 1px solid var(--line-dark); border-radius: 13px; font-size: 12px; line-height: 1.5; cursor: pointer; }
.adult-check input { width: 19px; height: 19px; flex: 0 0 auto; accent-color: var(--violet); }
.form-error { min-height: 24px; margin: 18px 0 0; color: #a41f35; font-size: 12px; font-weight: 750; }
.form-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 32px; }
.onboarding-body .button-secondary { border-color: var(--line-dark); color: var(--night); background: transparent; }

/* Match */
.match-page { min-height: 100svh; display: grid; place-items: center; padding: 80px 24px; background: radial-gradient(circle at 50% 45%, rgba(147,120,255,.14), transparent 35%), var(--night); }
.match-panel { width: min(1050px, 100%); }
.match-search { text-align: center; }
.match-search .eyebrow { justify-content: center; }
.match-search h1 { margin: 0; font-size: clamp(3.2rem,7vw,7rem); font-weight: 620; letter-spacing: -.07em; line-height: .9; }
.match-search > p { max-width: 650px; margin: 24px auto 0; color: var(--muted); }
.match-loader { position: relative; width: min(420px,80vw); aspect-ratio: 1; margin: 40px auto 20px; }
.match-loader-ring { position: absolute; inset: 13%; border: 1px solid var(--line); border-radius: 50%; animation: loader-turn 8s linear infinite; }
.match-loader-ring::before,
.match-loader-ring::after { position: absolute; width: 45px; height: 45px; border: 5px solid var(--night); border-radius: 15px; content: ""; background: var(--violet); }
.match-loader-ring::before { top: 5%; left: 12%; }
.match-loader-ring::after { right: 2%; bottom: 22%; background: var(--acid); }
.match-loader-core { position: absolute; inset: 34%; display: grid; place-items: center; border: 1px solid rgba(199,255,99,.35); border-radius: 35%; background: rgba(199,255,99,.07); font-size: 25px; font-weight: 900; }
@keyframes loader-turn { to { transform: rotate(360deg); } }
.check-list { max-width: 500px; display: grid; gap: 8px; margin: 24px auto 0; text-align: left; }
.check-row { display: flex; align-items: center; gap: 11px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; color: var(--muted); font-size: 11px; }
.check-row::before { width: 17px; height: 17px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; content: ""; }
.check-row.is-done { color: var(--paper); }
.check-row.is-done::before { content: "✓"; border-color: var(--acid); background: var(--acid); color: var(--night); font-size: 10px; font-weight: 900; }
.match-result { display: none; }
.match-result.is-visible { display: block; animation: result-in .8s var(--ease) both; }
@keyframes result-in { from { opacity: 0; transform: translateY(26px) scale(.98); } }
.result-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 28px; }
.result-head h1 { margin: 0; font-size: clamp(3.5rem,7vw,7.8rem); font-weight: 620; letter-spacing: -.075em; line-height: .86; }
.score-orb { width: 145px; height: 145px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid rgba(199,255,99,.38); border-radius: 50%; background: rgba(199,255,99,.07); text-align: center; }
.score-orb strong { display: block; color: var(--acid); font-size: 38px; letter-spacing: -.06em; line-height: 1; }
.score-orb span { color: var(--muted); font-size: 9px; font-weight: 850; text-transform: uppercase; }
.result-card { overflow: hidden; border: 1px solid var(--line-strong); border-radius: 28px; background: var(--panel); box-shadow: var(--shadow); }
.result-members { min-height: 220px; display: flex; align-items: center; justify-content: center; padding: 35px 28px; background: linear-gradient(135deg, rgba(147,120,255,.11), rgba(199,255,99,.04)); }
.result-person { position: relative; width: 105px; text-align: center; margin-left: -17px; }
.result-person:first-child { margin-left: 0; }
.result-avatar { width: 78px; height: 78px; display: grid; place-items: center; margin: 0 auto 11px; border: 6px solid var(--panel); border-radius: 25px; background: var(--avatar); color: var(--night); font-size: 15px; font-weight: 900; transform: rotate(var(--tilt)); box-shadow: 0 12px 27px rgba(0,0,0,.25); }
.result-person strong { font-size: 11px; }
.result-person small { display: block; color: var(--muted); font-size: 9px; }
.result-details { display: grid; grid-template-columns: .8fr 1.2fr; border-top: 1px solid var(--line); }
.result-summary { padding: 30px; border-right: 1px solid var(--line); }
.summary-row { padding: 19px 0; border-bottom: 1px solid var(--line); }
.summary-row:last-child { border-bottom: 0; }
.summary-row span { display: block; color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.summary-row strong { display: block; margin-top: 6px; font-size: 15px; }
.result-why { padding: 30px; }
.result-why h2 { margin: 0 0 22px; font-size: 22px; }
.why-list { margin: 0; padding: 0; list-style: none; }
.why-list li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding: 13px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.why-list li::before { width: 23px; height: 23px; display: grid; place-items: center; border-radius: 50%; content: "✓"; background: rgba(199,255,99,.1); color: var(--acid); font-size: 9px; font-weight: 900; }
.result-actions { display: flex; justify-content: flex-end; gap: 11px; margin-top: 22px; }
.empty-state { display: none; max-width: 630px; margin: 0 auto; padding: 45px; border: 1px solid var(--line); border-radius: 24px; background: var(--panel); text-align: center; }
.empty-state.is-visible { display: block; }
.empty-state-mark { width: 78px; height: 78px; display: grid; place-items: center; margin: 0 auto 24px; border: 1px solid var(--line-strong); border-radius: 25px; color: var(--violet-light); font-size: 28px; font-weight: 900; }
.empty-state h1 { margin: 0; font-size: 34px; letter-spacing: -.05em; }
.empty-state p { margin: 14px 0 26px; color: var(--muted); }

/* Group */
.offline-banner { display: none; min-height: 46px; align-items: center; justify-content: center; padding: 10px 24px; background: var(--warning); color: var(--night); font-size: 11px; font-weight: 800; text-align: center; }
.offline-mode .offline-banner { display: flex; }
.group-hero { position: relative; overflow: hidden; padding: 30px; border: 1px solid var(--line); border-radius: 26px; background: linear-gradient(135deg, rgba(147,120,255,.14), rgba(199,255,99,.05)), var(--panel); }
.group-hero::after { position: absolute; right: -70px; bottom: -100px; width: 270px; height: 270px; border: 1px solid rgba(199,255,99,.18); border-radius: 50%; content: ""; box-shadow: 0 0 0 45px rgba(255,255,255,.012), 0 0 0 90px rgba(255,255,255,.008); }
.group-hero-top { position: relative; z-index: 2; display: flex; justify-content: space-between; gap: 25px; }
.group-badge { display: inline-flex; min-height: 29px; align-items: center; padding: 0 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.group-name { max-width: 700px; margin: 52px 0 0; font-size: clamp(3.2rem,6vw,6.7rem); font-weight: 620; letter-spacing: -.07em; line-height: .88; }
.group-stats { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 38px; }
.group-stat { min-width: 140px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: rgba(11,12,16,.35); }
.group-stat span { display: block; color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.group-stat strong { display: block; margin-top: 5px; font-size: 13px; }
.group-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(310px, .75fr); gap: 14px; margin-top: 14px; }
.app-card { border: 1px solid var(--line); border-radius: 20px; background: var(--panel); }
.card-head { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 21px; border-bottom: 1px solid var(--line); }
.card-head h2 { margin: 0; font-size: 15px; }
.card-head p { margin: 4px 0 0; color: var(--muted); font-size: 9px; }
.member-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; }
.member-button { min-height: 92px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 13px; padding: 15px 18px; border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: transparent; text-align: left; cursor: pointer; }
.member-button:nth-child(2n) { border-right: 0; }
.member-button:hover { background: rgba(255,255,255,.025); }
.member-avatar { position: relative; width: 45px; height: 45px; display: grid; place-items: center; border-radius: 14px; background: var(--avatar); color: var(--night); font-size: 10px; font-weight: 900; }
.member-avatar::after { position: absolute; right: -2px; bottom: -2px; width: 10px; height: 10px; border: 3px solid var(--panel); border-radius: 50%; content: ""; background: #646a76; }
.member-avatar[data-status="online"]::after { background: var(--acid); }
.member-avatar[data-status="away"]::after { background: var(--warning); }
.member-meta strong { display: block; font-size: 12px; }
.member-meta small { display: block; margin-top: 4px; color: var(--muted); font-size: 9px; }
.member-arrow { color: var(--muted); }
.poll-body { padding: 14px; }
.poll-option { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; min-height: 61px; padding: 10px 12px; margin-bottom: 8px; overflow: hidden; border: 1px solid var(--line); border-radius: 13px; cursor: pointer; }
.poll-option::before { position: absolute; inset: 0 auto 0 0; z-index: 0; width: var(--votes); content: ""; background: rgba(147,120,255,.10); }
.poll-option > * { position: relative; z-index: 1; }
.poll-option input { width: 18px; height: 18px; accent-color: var(--acid); }
.poll-time strong { display: block; font-size: 11px; }
.poll-time small { color: var(--muted); font-size: 9px; }
.poll-count { color: var(--muted); font-size: 9px; font-weight: 750; }
.ready-button { width: 100%; margin-top: 7px; }
.ready-button.is-ready { border-color: rgba(199,255,99,.35); background: rgba(199,255,99,.08); color: var(--acid); }
.chat-card { grid-column: 1 / -1; }
.chat-layout { display: grid; grid-template-columns: minmax(0,1fr) 280px; min-height: 500px; }
.chat-main { min-width: 0; display: flex; flex-direction: column; }
.messages { height: 370px; overflow-y: auto; padding: 22px; }
.message { display: grid; grid-template-columns: auto 1fr; gap: 12px; margin-bottom: 19px; }
.message-avatar { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 12px; background: var(--avatar); color: var(--night); font-size: 8px; font-weight: 900; }
.message-head { display: flex; align-items: baseline; gap: 9px; }
.message-head strong { font-size: 11px; }
.message-head time { color: var(--muted); font-size: 8px; }
.message p { margin: 4px 0 0; color: var(--paper-2); font-size: 12px; line-height: 1.6; }
.message-reactions { display: flex; gap: 5px; margin-top: 6px; }
.reaction { min-height: 27px; padding: 0 8px; border: 1px solid var(--line); border-radius: 999px; background: transparent; font-size: 10px; cursor: pointer; }
.reaction:hover,
.reaction.is-active { border-color: var(--violet); background: rgba(147,120,255,.1); }
.chat-form { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 14px; border-top: 1px solid var(--line); }
.chat-input { min-width: 0; min-height: 48px; padding: 0 15px; border: 1px solid var(--line); border-radius: 13px; background: #101219; color: var(--paper); }
.chat-input::placeholder { color: #707581; }
.chat-side { padding: 22px; border-left: 1px solid var(--line); background: rgba(255,255,255,.018); }
.prompt-card { padding: 17px; border: 1px solid rgba(199,255,99,.22); border-radius: 15px; background: rgba(199,255,99,.05); }
.prompt-card span { color: var(--acid); font-size: 9px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.prompt-card p { margin: 12px 0 0; font-size: 13px; line-height: 1.6; }
.room-actions { display: grid; gap: 8px; margin-top: 16px; }
.room-actions button { width: 100%; min-height: 42px; padding: 0 12px; border: 1px solid var(--line); border-radius: 12px; background: transparent; color: var(--muted); font-size: 10px; font-weight: 750; text-align: left; cursor: pointer; }
.room-actions button:hover { color: var(--paper); border-color: var(--line-strong); }

dialog { max-width: calc(100vw - 32px); padding: 0; border: 1px solid var(--line-strong); border-radius: 22px; background: var(--panel); color: var(--paper); box-shadow: var(--shadow); }
dialog::backdrop { background: rgba(3,4,6,.78); backdrop-filter: blur(8px); }
.dialog-card { width: min(500px, calc(100vw - 34px)); }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.dialog-head h2 { margin: 0; font-size: 18px; }
.icon-button { width: 42px; height: 42px; display: grid; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; }
.dialog-body { padding: 22px; }
.dialog-profile { display: flex; gap: 16px; align-items: center; margin-bottom: 20px; }
.dialog-profile .member-avatar { width: 60px; height: 60px; }
.dialog-profile h3 { margin: 0 0 5px; font-size: 20px; }
.dialog-profile p { margin: 0; color: var(--muted); font-size: 11px; }
.dialog-copy { color: var(--muted); font-size: 12px; line-height: 1.65; }
.dialog-actions { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-top: 20px; }
.dialog-actions button { min-height: 46px; border: 1px solid var(--line); border-radius: 12px; background: transparent; font-size: 10px; font-weight: 750; cursor: pointer; }
.report-form { display: grid; gap: 9px; margin-top: 18px; }
.report-form label { display: flex; align-items: center; gap: 10px; min-height: 43px; padding: 0 12px; border: 1px solid var(--line); border-radius: 11px; font-size: 11px; cursor: pointer; }
.report-form input { accent-color: var(--acid); }

/* Profile */
.profile-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 14px; }
.profile-card { padding: 25px; }
.profile-card h2 { margin: 0 0 22px; font-size: 18px; }
.profile-identity { display: flex; gap: 17px; align-items: center; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.profile-avatar { width: 74px; height: 74px; display: grid; place-items: center; border-radius: 24px; background: var(--violet); color: var(--night); font-size: 17px; font-weight: 900; }
.profile-identity h3 { margin: 0; font-size: 25px; }
.profile-identity p { margin: 4px 0 0; color: var(--muted); font-size: 11px; }
.profile-facts { display: grid; gap: 0; margin-top: 10px; }
.profile-fact { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.profile-fact span { color: var(--muted); font-size: 10px; }
.profile-fact strong { font-size: 11px; font-weight: 750; text-align: right; }
.profile-actions { display: flex; gap: 9px; margin-top: 22px; }
.settings-row { padding: 22px 0; border-bottom: 1px solid var(--line); }
.settings-row:first-of-type { padding-top: 0; }
.settings-row h3 { margin: 0 0 7px; font-size: 14px; }
.settings-row p { margin: 0 0 17px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.profile-empty { grid-column: 1 / -1; }

/* 404 */
.not-found { min-height: 100svh; display: grid; align-items: center; padding: 100px 24px; overflow: hidden; }
.not-found-layout { width: min(1100px,100%); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 70px; }
.not-found-code { position: relative; font-size: clamp(11rem,25vw,24rem); font-weight: 650; letter-spacing: -.12em; line-height: .7; color: var(--panel-2); }
.not-found-code::after { position: absolute; top: 52%; left: 52%; width: 95px; height: 95px; display: grid; place-items: center; border-radius: 30px; content: "?"; background: var(--acid); color: var(--night); font-size: 35px; transform: translate(-50%,-50%) rotate(8deg); }
.not-found-copy h1 { margin: 0; font-size: clamp(3rem,5vw,5.6rem); letter-spacing: -.065em; line-height: .94; }
.not-found-copy > p { max-width: 500px; margin: 22px 0 30px; color: var(--muted); font-size: 16px; line-height: 1.7; }

.toast-region { position: fixed; right: 18px; bottom: 18px; z-index: 1000; display: grid; gap: 8px; }
.toast { max-width: 360px; padding: 14px 17px; border: 1px solid var(--line-strong); border-radius: 13px; background: var(--paper); color: var(--night); box-shadow: var(--shadow); font-size: 11px; font-weight: 800; opacity: 0; transform: translateY(12px); transition: opacity .25s ease, transform .25s ease; }
.toast.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1000px) {
  :root { --page: min(100% - 36px, 900px); --wide: min(100% - 36px, 960px); }
  .site-header-inner { grid-template-columns: 1fr auto; }
  .primary-nav { display: none; }
  .menu-button { display: grid; }
  .header-actions > .button { display: none; }
  .hero-layout { grid-template-columns: 1fr; }
  .hero-copy { max-width: 720px; }
  .formation-card { width: min(600px,100%); margin: 0 auto; }
  .section-grid { grid-template-columns: 1fr; gap: 22px; }
  .section-kicker { margin-bottom: 10px; }
  .games-head { display: block; }
  .safety-layout { grid-template-columns: 1fr; }
  .constraint-grid { grid-template-columns: repeat(2,1fr); }
  .graph-layout { grid-template-columns: 1fr; }
  .match-graph { min-height: 520px; }
  .app-shell { grid-template-columns: 88px minmax(0,1fr); }
  .app-sidebar { align-items: center; padding-inline: 12px; }
  .app-sidebar .brand-word,
  .app-nav span:not(.nav-icon),
  .app-sidebar .demo-label,
  .app-sidebar .locale-switch { display: none; }
  .app-brand { margin-inline: 0; }
  .app-nav a { width: 52px; justify-content: center; padding: 0; }
  .group-layout { grid-template-columns: 1fr; }
  .chat-card { grid-column: auto; }
  .profile-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  :root { --page: min(100% - 28px, 680px); --wide: min(100% - 28px, 700px); }
  .site-header { height: 74px; }
  .header-actions .locale-switch { display: none; }
  .hero { min-height: auto; padding: 122px 0 65px; }
  .hero-layout { gap: 55px; }
  .hero-title { font-size: clamp(3.8rem,18vw,6rem); }
  .formation-card { min-height: 510px; padding: 18px; }
  .formation-stage { height: 300px; }
  .formation-ring { width: 220px; height: 220px; }
  .avatar-orbit { width: 50px; height: 50px; transform: translate(-50%,-50%) rotate(var(--a)) translateY(-110px) rotate(calc(var(--a) * -1)); }
  @keyframes avatar-breathe { to { margin-top: -5px; transform: translate(-50%,-50%) rotate(var(--a)) translateY(-114px) rotate(calc(var(--a) * -1)) scale(1.03); } }
  .section { padding: 90px 0; }
  .compare-grid,
  .steps-grid,
  .games-grid,
  .control-cards { grid-template-columns: 1fr; }
  .compare-card-new { transform: none; }
  .step-card { min-height: 290px; }
  .game-tile { min-height: 190px; }
  .footer-inner { grid-template-columns: 1fr; gap: 10px; padding: 32px 0; }
  .footer-meta { justify-self: start; text-align: left; }
  .page-hero { min-height: 650px; padding: 130px 0 70px; }
  .page-hero-title { font-size: clamp(3.7rem,17vw,6.5rem); }
  .page-hero::before { width: 75vw; right: -35%; }
  .constraint-grid { grid-template-columns: 1fr; }
  .constraint-card { min-height: 220px; }
  .constraint-icon { margin-bottom: 48px; }
  .weight-row { grid-template-columns: 105px 1fr 48px; }
  .graph-line { width: 150px; }
  .graph-person { width: 58px; height: 58px; border-radius: 18px; transform: translate(-50%, -50%) rotate(var(--angle)) translateX(150px) rotate(calc(var(--angle) * -1)); }
  .graph-person.center { width: 78px; height: 78px; transform: translate(-50%,-50%); }
  .match-graph { min-height: 420px; }
  .graph-score { width: 110px; height: 110px; right: 0; bottom: 0; }
  .no-swipe-layout,
  .real-service-layout { grid-template-columns: 1fr; gap: 35px; }
  .principle-item { grid-template-columns: 45px 1fr; }
  .principle-item p { grid-column: 2; }
  .demo-notice { grid-template-columns: 1fr; }
  .app-shell { display: block; }
  .app-sidebar { display: none; }
  .app-topbar { height: 64px; padding: 0 16px; }
  .app-content { width: calc(100% - 28px); padding: 36px 0 100px; }
  .app-heading-row { display: block; }
  .mobile-dock { position: fixed; right: 10px; bottom: 10px; left: 10px; z-index: 30; height: 64px; display: grid; grid-template-columns: repeat(4,1fr); padding: 5px; border: 1px solid var(--line-strong); border-radius: 19px; background: rgba(17,19,26,.94); box-shadow: var(--shadow); backdrop-filter: blur(18px); }
  .mobile-dock a { display: grid; place-items: center; border-radius: 14px; color: var(--muted); font-size: 16px; text-decoration: none; }
  .mobile-dock a[aria-current="page"] { background: var(--panel-2); color: var(--acid); }
  .onboarding-shell { display: block; }
  .onboarding-aside { min-height: auto; padding: 22px 18px; }
  .onboarding-aside-copy { display: none; }
  .onboarding-aside .privacy-note { display: none; }
  .onboarding-aside::after { display: none; }
  .onboarding-topbar { min-height: 66px; padding: 10px 18px; }
  .onboarding-form { width: calc(100% - 28px); padding: 35px 0; }
  .progress-track { margin-bottom: 34px; }
  .option-grid,
  .field-grid { grid-template-columns: 1fr; }
  .result-head { align-items: center; }
  .score-orb { width: 100px; height: 100px; }
  .result-members { overflow-x: auto; justify-content: flex-start; }
  .result-person { flex: 0 0 86px; }
  .result-details { grid-template-columns: 1fr; }
  .result-summary { border-right: 0; border-bottom: 1px solid var(--line); }
  .result-actions { flex-direction: column; }
  .result-actions .button { width: 100%; }
  .group-hero { padding: 22px; }
  .group-hero-top { display: block; }
  .group-hero-top .button { margin-top: 12px; }
  .member-list { grid-template-columns: 1fr; }
  .member-button { border-right: 0; }
  .chat-layout { grid-template-columns: 1fr; }
  .chat-side { border-top: 1px solid var(--line); border-left: 0; }
  .chat-form { grid-template-columns: 1fr; }
  .profile-fact { grid-template-columns: 1fr; gap: 7px; }
  .profile-fact strong { text-align: left; }
  .not-found-layout { grid-template-columns: 1fr; gap: 30px; }
  .not-found-code { font-size: 13rem; }
}

@media (max-width: 430px) {
  .hero-buttons,
  .page-hero-actions,
  .profile-actions { flex-direction: column; }
  .hero-buttons .button,
  .page-hero-actions .button,
  .profile-actions .button { width: 100%; }
  .formation-top { align-items: flex-start; flex-direction: column; }
  .formation-bottom { grid-template-columns: 1fr; }
  .formation-stat-wide { grid-column: auto; align-items: flex-start; flex-direction: column; }
  .formation-card { min-height: 600px; }
  .segmented { grid-template-columns: 1fr; }
  .language-picks { display: grid; grid-template-columns: 1fr 1fr; }
  .language-picks .segment-label { min-width: 0; }
  .form-actions { flex-direction: column-reverse; }
  .form-actions .button { width: 100%; }
  .result-head { display: block; }
  .score-orb { margin-top: 25px; }
  .dialog-actions { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

@media (min-width: 1900px) and (max-height: 1200px) {
  .hero { padding-top: 104px; padding-bottom: 42px; }
  html[lang="tr"] .hero-title { font-size: clamp(4.2rem, 6.6vw, 7.45rem); }
}
