/* lifesimulator.app — the "night city" look of the game's online mode ("Gece Şehri": deep indigo, violet,
 * amber windows, hot pink and cyan neon). Dark only. No inline styles anywhere (the CSP forbids them);
 * app.js sets the few dynamic values through CSS custom properties. */

@font-face {
  font-family: "Space Grotesk";
  src: url("/fonts/SpaceGrotesk-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #0b0a1f;
  --bg-deep: #07061a;
  --ink: #f6f4ff;
  --ink-2: #c8c2e6;
  --ink-3: #958fba;
  --line: rgb(255 255 255 / 0.09);
  --line-2: rgb(255 255 255 / 0.16);
  --card: rgb(255 255 255 / 0.045);
  --card-2: rgb(255 255 255 / 0.075);
  --pink: #ff3ea5;
  --cyan: #22e1ff;
  --violet: #8b5cf6;
  --indigo: #3d1d6b;
  --amber: #ffbf5f;
  --green: #3ee68b;
  --radius: 26px;
  --radius-sm: 18px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --hdr: 68px;
  --display: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial,
    "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji";
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --shadow: 0 30px 80px -30px rgb(0 0 0 / 0.75);
}

/* ---------- base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--hdr) + 16px);
  background: var(--bg);
}
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img,
svg {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
a {
  color: inherit;
}
h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
p {
  margin: 0;
  text-wrap: pretty;
}
[hidden] {
  display: none !important;
}
::selection {
  background: rgb(255 62 165 / 0.45);
  color: #fff;
}
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 8px;
}
.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.wrap-narrow {
  max-width: calc(820px + 2 * var(--gutter));
}
.wrap-doc {
  max-width: calc(1080px + 2 * var(--gutter));
}
.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;
}
.skip {
  position: fixed;
  left: 12px;
  top: -80px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 12px;
  background: #fff;
  color: var(--bg);
  font-weight: 700;
  text-decoration: none;
}
.skip:focus {
  top: 12px;
}

/* ---------- shared pieces ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--cyan);
}
.eyebrow-amber {
  color: var(--amber);
}
.eyebrow-cyan {
  color: var(--cyan);
}
.eyebrow-pink {
  color: var(--pink);
}
.lead {
  font-size: clamp(17px, 1.55vw, 20px);
  line-height: 1.6;
  color: var(--ink-2);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--pink), #a64dff);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 12px 30px -12px rgb(255 62 165 / 0.65);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), filter 0.25s;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -14px rgb(255 62 165 / 0.8);
  filter: brightness(1.06);
}
.btn svg {
  width: 18px;
  height: 18px;
}
.btn-sm {
  height: 38px;
  padding: 0 16px;
  font-size: 14px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.06);
  border: 1px solid var(--line-2);
  font-size: 14px;
  font-weight: 600;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.chip svg {
  width: 16px;
  height: 16px;
  color: var(--amber);
}
.chip-world svg {
  color: var(--cyan);
}
.dot {
  display: inline-block;
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2.2s ease-out infinite;
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgb(62 230 139 / 0.65);
  }
  70% {
    box-shadow: 0 0 0 9px rgb(62 230 139 / 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgb(62 230 139 / 0);
  }
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  text-decoration: none;
}
.link-arrow svg {
  width: 18px;
  height: 18px;
  transition: transform 0.25s var(--ease);
}
.link-arrow:hover svg {
  transform: translateX(4px);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.chips li {
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--card-2);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
}
.ticks {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ticks li {
  position: relative;
  padding-left: 34px;
  color: var(--ink-2);
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid rgb(62 230 139 / 0.45);
  background: rgb(62 230 139 / 0.14) url("/img/check.svg") center / 12px no-repeat;
}
.ticks b {
  color: var(--ink);
}

/* Store buttons, after the stores' own badges */
.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.store {
  flex: 1 1 0;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 230px;
  height: 54px;
  padding: 0 12px;
  border-radius: 14px;
  background: #000;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgb(255 255 255 / 0.24);
  box-shadow: 0 14px 32px -16px rgb(0 0 0 / 0.9);
  transition: transform 0.25s var(--ease), border-color 0.25s, box-shadow 0.25s;
}
.store:hover {
  transform: translateY(-2px);
  border-color: rgb(255 255 255 / 0.5);
  box-shadow: 0 18px 44px -16px rgb(139 92 246 / 0.7);
}
.store svg {
  flex: none;
  width: 24px;
  height: 24px;
}
.store span {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  white-space: nowrap;
}
.store small {
  font-size: 10.5px;
  letter-spacing: 0.01em;
  opacity: 0.86;
}
.store b {
  font-family: var(--display);
  font-size: 18px;
  letter-spacing: -0.01em;
}
.stores-sm .store {
  flex: 0 1 auto;
  height: 48px;
  padding: 0 16px 0 12px;
  border-radius: 12px;
}
.stores-sm .store svg {
  width: 22px;
  height: 22px;
}
.stores-sm .store b {
  font-size: 17px;
}
.stores-sm .store small {
  font-size: 10px;
}
@media (min-width: 560px) {
  .store {
    flex: 0 0 auto;
    gap: 10px;
    height: 58px;
    padding: 0 18px 0 14px;
  }
  .store svg {
    width: 26px;
    height: 26px;
  }
  .store small {
    font-size: 11px;
  }
  .store b {
    font-size: 21px;
  }
  .stores-sm .store {
    height: 48px;
    padding: 0 16px 0 12px;
  }
  .stores-sm .store svg {
    width: 22px;
    height: 22px;
  }
  .stores-sm .store b {
    font-size: 17px;
  }
}

/* Phone frames around real screenshots */
.phone {
  position: relative;
  margin: 0;
  aspect-ratio: 520 / 1130;
  padding: 2.4%;
  border-radius: 15% / 7%;
  background: linear-gradient(150deg, #33304f, #0d0c18 38%, #1d1b32 70%, #2a2744);
  box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / 0.16), inset 0 0 0 4px rgb(0 0 0 / 0.55), 0 40px 80px -30px rgb(0 0 0 / 0.95),
    0 0 0 1px rgb(0 0 0 / 0.6);
}
.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12.8% / 6%;
  background: #110f24;
}

/* Starry sky behind heroes */
.sky {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}
.stars {
  position: absolute;
  inset: 0 0 25% 0;
  -webkit-mask-image: linear-gradient(180deg, #000 40%, transparent);
  mask-image: linear-gradient(180deg, #000 40%, transparent);
}
.stars-a {
  background: url("/img/stars-a.svg") 0 0 / 520px 520px repeat;
  animation: twinkle 5s ease-in-out infinite alternate;
}
.stars-b {
  background: url("/img/stars-b.svg") 120px 60px / 760px 760px repeat;
  animation: twinkle 8s ease-in-out -3s infinite alternate-reverse;
}
@keyframes twinkle {
  from {
    opacity: 0.45;
  }
  to {
    opacity: 1;
  }
}
.aurora {
  position: absolute;
  left: -20%;
  right: -20%;
  bottom: 0;
  height: 75%;
  background: radial-gradient(38% 48% at 28% 62%, rgb(255 62 165 / 0.24), transparent 70%),
    radial-gradient(34% 44% at 76% 52%, rgb(34 225 255 / 0.16), transparent 70%),
    radial-gradient(52% 60% at 50% 86%, rgb(139 92 246 / 0.34), transparent 72%);
  filter: blur(24px);
  animation: drift 20s ease-in-out infinite alternate;
}
@keyframes drift {
  to {
    transform: translate3d(5%, -4%, 0) scale(1.08);
  }
}
.shoot {
  position: absolute;
  top: 14%;
  left: 68%;
  width: 150px;
  height: 1.5px;
  border-radius: 2px;
  background: linear-gradient(90deg, #fff, rgb(255 255 255 / 0));
  opacity: 0;
  rotate: -19deg;
  animation: shoot 11s ease-in 2.5s infinite;
}
.shoot-b {
  top: 26%;
  left: 30%;
  animation-delay: 7.5s;
  animation-duration: 15s;
}
@keyframes shoot {
  0% {
    opacity: 0;
    translate: 0 0;
  }
  1.5% {
    opacity: 1;
  }
  7% {
    opacity: 0;
    translate: -340px 118px;
  }
  100% {
    opacity: 0;
    translate: -340px 118px;
  }
}

/* Mouse-following light on cards (app.js sets --mx/--my) */
.glow-card {
  position: relative;
  isolation: isolate;
}
.glow-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgb(255 255 255 / 0.1), transparent 42%);
  opacity: 0;
  transition: opacity 0.35s;
}
.glow-card:hover::after {
  opacity: 1;
}

/* Entrance animations: only when JS runs, never under reduced motion */
.js [data-reveal] {
  opacity: 0;
  translate: 0 28px;
  transition: opacity 0.9s var(--ease) var(--rd, 0s), translate 0.9s var(--ease) var(--rd, 0s), border-color 0.35s,
    background-color 0.35s;
}
.js [data-reveal].is-in {
  opacity: 1;
  translate: none;
}

/* ---------- header ---------- */
.hdr {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background 0.35s, border-color 0.35s;
}
.hdr.is-stuck {
  background: rgb(11 10 31 / 0.74);
  -webkit-backdrop-filter: saturate(1.5) blur(18px);
  backdrop-filter: saturate(1.5) blur(18px);
  border-bottom-color: var(--line);
}
.hdr-in {
  display: flex;
  align-items: center;
  gap: 16px;
  height: var(--hdr);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
}
.brand img {
  border-radius: 9px;
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.14);
}
.hdr-nav {
  display: none;
  gap: 2px;
  margin-left: auto;
}
.hdr-nav a {
  padding: 8px 13px;
  border-radius: 999px;
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
}
.hdr-nav a:hover,
.hdr-nav a[aria-current] {
  color: var(--ink);
  background: var(--card-2);
}
.hdr-end {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}
@media (min-width: 940px) {
  .hdr-nav {
    display: flex;
  }
  .hdr-end {
    margin-left: 8px;
  }
}
@media (max-width: 400px) {
  .brand span {
    font-size: 16px;
  }
  .hdr-end .btn-sm {
    padding: 0 13px;
  }
}
.lang {
  position: relative;
}
.lang summary {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 10px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.lang summary::-webkit-details-marker {
  display: none;
}
.lang summary:hover,
.lang[open] summary {
  color: var(--ink);
  border-color: rgb(255 255 255 / 0.32);
  background: var(--card);
}
.lang summary svg {
  width: 16px;
  height: 16px;
}
.lang summary svg:last-child {
  width: 14px;
  height: 14px;
  transition: rotate 0.25s var(--ease);
}
.lang[open] summary svg:last-child {
  rotate: 180deg;
}
.lang ul {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 210px;
  margin: 0;
  padding: 6px;
  list-style: none;
  border-radius: 16px;
  background: rgb(24 20 58 / 0.97);
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  animation: menu 0.2s var(--ease);
}
@keyframes menu {
  from {
    opacity: 0;
    translate: 0 -6px;
  }
}
.lang li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--ink-2);
  font-size: 15px;
  text-decoration: none;
}
.lang li a:hover {
  background: var(--card-2);
  color: var(--ink);
}
.lang li a[aria-current]::after {
  content: "";
  width: 14px;
  height: 14px;
  background: url("/img/check.svg") center / contain no-repeat;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  overflow: clip;
  margin-top: calc(-1 * var(--hdr));
  padding: calc(var(--hdr) + clamp(28px, 6vw, 72px)) 0 clamp(40px, 6vw, 64px);
  background: radial-gradient(90% 60% at 75% 8%, rgb(122 64 220 / 0.32), transparent 60%),
    linear-gradient(180deg, #06051a 0%, #0f0b2e 38%, #22124d 72%, #3a1b68 100%);
}
.hero .sky {
  z-index: -3;
}
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  height: 110px;
  background: linear-gradient(180deg, rgb(11 10 31 / 0), var(--bg));
  pointer-events: none;
}
/* A soft shade behind the copy so the city lights never fight the text */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, rgb(7 6 26 / 0.35), rgb(7 6 26 / 0) 30%);
}
@media (min-width: 980px) {
  .hero::before {
    background: linear-gradient(90deg, rgb(7 6 26 / 0.9) 0%, rgb(7 6 26 / 0.78) 30%, rgb(7 6 26 / 0.35) 48%, rgb(7 6 26 / 0) 62%),
      linear-gradient(180deg, rgb(7 6 26 / 0.3), rgb(7 6 26 / 0) 30%);
  }
}
.hero-skyline {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: -2;
  width: max(100%, 960px);
  max-width: none;
  translate: -50% 0;
  pointer-events: none;
  user-select: none;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 36px;
  align-items: center;
}
.hero-copy {
  max-width: 640px;
}
.hero-icon {
  width: clamp(68px, 7vw, 84px);
  height: clamp(68px, 7vw, 84px);
  margin-bottom: clamp(16px, 2vw, 22px);
  border-radius: 22%;
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.16), 0 22px 50px -12px rgb(255 62 165 / 0.55);
}
.hero-title {
  margin: 12px 0 18px;
  font-size: clamp(60px, 10vw, 108px);
  line-height: 0.92;
  letter-spacing: -0.045em;
  background: linear-gradient(180deg, #ffffff 25%, #e2d6ff 62%, #b79bff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 10px 40px rgb(139 92 246 / 0.45));
}
.hero-tag {
  margin-bottom: 16px;
  font-family: var(--display);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
  text-shadow: 0 2px 18px rgb(7 6 26 / 0.8);
}
.hero-lead {
  max-width: 34em;
  margin-bottom: 28px;
  color: var(--ink-2);
  font-size: clamp(16px, 1.4vw, 18px);
  text-shadow: 0 1px 14px rgb(7 6 26 / 0.9);
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.hero-visual {
  position: relative;
  height: clamp(430px, 118vw, 560px);
}
.hero-visual .phone {
  position: absolute;
  width: min(54vw, 262px);
}
.hero-visual .phone-back {
  left: 4%;
  top: 0;
  rotate: -8deg;
  scale: 0.9;
  filter: brightness(0.82) saturate(0.95);
}
.hero-visual .phone-front {
  right: 4%;
  bottom: 0;
  z-index: 2;
  rotate: 5deg;
}
.float {
  position: absolute;
  z-index: 3;
  display: grid;
  grid-template-columns: auto auto;
  grid-template-areas: "i v" "i l";
  align-items: center;
  column-gap: 10px;
  padding: 10px 14px 10px 12px;
  border-radius: 16px;
  background: rgb(22 18 54 / 0.78);
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  animation: bob 7s ease-in-out infinite;
}
.float span {
  grid-area: i;
  font-size: 24px;
  line-height: 1;
}
.float b {
  grid-area: v;
  font-family: var(--display);
  font-size: 20px;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.float small {
  grid-area: l;
  color: var(--ink-3);
  font-size: 12px;
  line-height: 1.2;
}
.float-a {
  left: 0;
  bottom: 18%;
}
.float-b {
  right: 0;
  top: 6%;
  animation-delay: -2.4s;
}
.float-c {
  left: 2%;
  top: 44%;
  animation-delay: -4.6s;
}
/* On a phone the screenshots need the room: one floating number is plenty */
@media (max-width: 759px) {
  .float-b,
  .float-c {
    display: none !important;
  }
}
@keyframes bob {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -10px;
  }
}
.hero-down {
  position: relative;
  z-index: 2;
  display: none;
  width: 44px;
  height: 44px;
  margin: 8px auto 0;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  color: var(--ink-2);
  animation: nudge 2.4s ease-in-out infinite;
}
.hero-down svg {
  width: 20px;
  height: 20px;
}
@keyframes nudge {
  50% {
    translate: 0 6px;
  }
}
@media (min-width: 980px) {
  .hero {
    min-height: min(100svh, 980px);
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .hero-grid {
    grid-template-columns: 1.08fr 0.92fr;
    gap: 24px;
  }
  .hero-visual {
    height: 620px;
  }
  .hero-visual .phone {
    width: 280px;
  }
  .hero-visual .phone-back {
    left: 2%;
  }
  .hero-visual .phone-front {
    right: 6%;
    bottom: 10px;
  }
  .float-a {
    left: -4%;
  }
  .hero-down {
    display: grid;
  }
}
/* Page-load choreography */
.js .hero-copy > * {
  animation: rise 0.95s var(--ease) both;
}
.js .hero-copy > :nth-child(2) {
  animation-delay: 0.06s;
}
.js .hero-copy > :nth-child(3) {
  animation-delay: 0.12s;
}
.js .hero-copy > :nth-child(4) {
  animation-delay: 0.2s;
}
.js .hero-copy > :nth-child(5) {
  animation-delay: 0.28s;
}
.js .hero-copy > :nth-child(6) {
  animation-delay: 0.36s;
}
.js .hero-copy > :nth-child(7) {
  animation-delay: 0.44s;
}
.js .hero-visual {
  animation: rise 1.2s var(--ease) 0.25s both;
}
.js .hero-skyline {
  animation: skyline 1.8s var(--ease) both;
}
@keyframes rise {
  from {
    opacity: 0;
    translate: 0 26px;
  }
}
@keyframes skyline {
  from {
    opacity: 0;
    translate: -50% 40px;
  }
}

/* ---------- numbers ---------- */
.proof {
  position: relative;
  z-index: 2;
  padding: clamp(26px, 4vw, 40px) 0;
  border-block: 1px solid var(--line);
  background: linear-gradient(180deg, rgb(255 255 255 / 0.035), rgb(255 255 255 / 0));
}
.proof-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 640px) {
  .proof-list {
    grid-template-columns: repeat(4, 1fr);
  }
}
/* Wide screens: every fact in one row, however many there are (at most eight) */
@media (min-width: 1100px) {
  .proof-list {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
  }
}
.proof-list li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}
.proof-list b {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--display);
  font-size: clamp(30px, 3.4vw, 40px);
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.proof-star {
  color: var(--amber);
}
.proof-star svg {
  width: 0.62em;
  height: 0.62em;
}
.proof-list span {
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}
.proof-list small {
  color: var(--ink-3);
  font-size: 12px;
}
.proof-asof {
  margin-top: 18px;
  text-align: center;
  color: var(--ink-3);
  font-size: 12px;
}

/* ---------- sections ---------- */
.section {
  position: relative;
  padding: clamp(72px, 10vw, 136px) 0;
}
.section-head {
  max-width: 780px;
  margin-bottom: clamp(36px, 5vw, 60px);
}
.section-head.center {
  margin-inline: auto;
  text-align: center;
}
.section-head h2 {
  margin: 12px 0 18px;
  font-size: clamp(38px, 5.6vw, 66px);
  letter-spacing: -0.035em;
}
.section-head .lead {
  max-width: 40em;
}
.section-head.center .lead {
  margin-inline: auto;
}

/* ---------- the two modes ---------- */
.modes {
  padding-bottom: clamp(40px, 6vw, 80px);
}
.modes-grid {
  display: grid;
  gap: 20px;
}
@media (min-width: 860px) {
  .modes-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}
.mode {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  transition: border-color 0.35s, translate 0.9s var(--ease), opacity 0.9s var(--ease);
}
.mode:hover {
  border-color: var(--line-2);
}
.mode::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: 2;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.mode-classic {
  --accent: var(--amber);
}
.mode-online {
  --accent: var(--cyan);
}
.mode-art {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.mode-art::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  background: linear-gradient(180deg, rgb(17 15 40 / 0), rgb(17 15 40 / 0.9));
}
.mode-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: scale 1.4s var(--ease);
}
.mode:hover .mode-art img {
  scale: 1.05;
}
.mode-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: -28px;
  padding: 0 clamp(20px, 3vw, 30px) clamp(24px, 3vw, 32px);
}
.mode h3 {
  font-size: clamp(28px, 3vw, 36px);
}
.mode p {
  color: var(--ink-2);
}
.mode .link-arrow {
  margin-top: 4px;
  color: var(--accent);
}

/* ---------- Classic Life ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.feature {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--card);
  border: 1px solid var(--line);
  transition: border-color 0.35s, translate 0.9s var(--ease), opacity 0.9s var(--ease);
}
.feature:hover {
  border-color: var(--line-2);
}
.feature-art {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
}
.feature-art::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, rgb(15 13 36 / 0), rgb(15 13 36 / 0.92));
}
.feature-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: scale 1.4s var(--ease);
}
.feature:hover .feature-art img {
  scale: 1.06;
}
.feature-body {
  position: relative;
  z-index: 1;
  margin-top: -30px;
  padding: 0 14px 18px;
}
.feature h3 {
  margin-bottom: 6px;
  font-size: clamp(17px, 1.7vw, 22px);
}
.feature p {
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.5;
}
.feature p b {
  color: var(--ink);
}
.feature-wide {
  grid-column: 1 / -1;
}
.feature-wide .feature-art {
  aspect-ratio: 16 / 9;
}
@media (min-width: 760px) {
  .features {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
  .feature-wide {
    grid-column: auto;
  }
  .feature-wide .feature-art {
    aspect-ratio: 1;
  }
  .feature-body {
    padding: 0 20px 22px;
  }
  .feature p {
    font-size: 15px;
  }
}
.inside {
  display: grid;
  gap: 32px;
  align-items: center;
  margin-top: clamp(48px, 7vw, 88px);
  padding: clamp(24px, 4vw, 52px);
  border-radius: 32px;
  background: linear-gradient(135deg, rgb(255 191 95 / 0.09), rgb(139 92 246 / 0.09) 60%, rgb(255 62 165 / 0.06));
  border: 1px solid var(--line);
}
.inside-phones {
  position: relative;
  height: calc(min(44vw, 230px) * 2.18 + 36px);
}
.inside-phones .phone {
  position: absolute;
  width: min(44vw, 230px);
}
.phone-tilt-l {
  left: 6%;
  top: 0;
  rotate: -6deg;
}
.phone-tilt-r {
  right: 6%;
  top: 9%;
  rotate: 5deg;
}
.inside-copy h3 {
  margin-bottom: 22px;
  font-size: clamp(28px, 3.4vw, 40px);
}
.inside-copy .ticks {
  margin-bottom: 28px;
}
@media (min-width: 900px) {
  .inside {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
  .inside-phones {
    height: 560px;
  }
  .inside-phones .phone {
    width: 240px;
  }
}

/* ---------- Online Life ---------- */
.online {
  overflow: hidden;
  overflow: clip;
  background: linear-gradient(180deg, var(--bg) 0%, #0e0a2c 22%, #120c36 75%, var(--bg) 100%);
}
.online-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
  background: radial-gradient(46% 30% at 85% 14%, rgb(34 225 255 / 0.13), transparent 70%),
    radial-gradient(40% 30% at 8% 38%, rgb(255 62 165 / 0.11), transparent 70%),
    radial-gradient(50% 30% at 70% 80%, rgb(139 92 246 / 0.12), transparent 70%);
}
.online .wrap {
  position: relative;
}
.cities-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px 40px;
  margin-bottom: 22px;
}
.cities-head h3 {
  font-size: clamp(24px, 2.6vw, 32px);
}
.cities-head p {
  max-width: 540px;
  color: var(--ink-2);
}
.cities {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(250px, 76%);
  gap: 14px;
  margin: 0 calc(-1 * var(--gutter));
  padding: 4px var(--gutter) 18px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
  list-style: none;
}
.cities::-webkit-scrollbar {
  display: none;
}
.city {
  position: relative;
  overflow: hidden;
  scroll-snap-align: start;
  border-radius: 22px;
  background: linear-gradient(180deg, #1a1246, #0f0b28);
  border: 1px solid var(--line);
  transition: border-color 0.35s, translate 0.9s var(--ease), opacity 0.9s var(--ease);
}
.city:hover {
  border-color: var(--line-2);
}
.city-art {
  position: relative;
  aspect-ratio: 16 / 8;
  overflow: hidden;
  background: radial-gradient(90% 90% at 50% 100%, #4a2a8a, #1b1142 60%, #120c30);
}
.city[data-phase="day"] .city-art {
  background: radial-gradient(90% 90% at 50% 100%, #8e7be0, #5640b0 55%, #2f2272);
}
.city[data-phase="dusk"] .city-art {
  background: radial-gradient(90% 90% at 50% 100%, #ff9f6e, #a13c86 50%, #2c1757);
}
.city-art img {
  position: absolute;
  inset: auto 0 0;
  width: 100%;
  height: auto;
  transition: scale 1.2s var(--ease);
  transform-origin: 50% 100%;
}
.city:hover .city-art img {
  scale: 1.06;
}
.city-body {
  display: grid;
  gap: 4px;
  padding: 14px 18px 18px;
}
.city h4 {
  font-size: 22px;
}
.city-time {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-3);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.city-phase {
  font-size: 15px;
}
.city-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin-top: 4px;
  color: var(--ink-2);
  font-size: 14px;
}
.city-new {
  margin-top: 4px;
  color: var(--amber);
  font-size: 14px;
  font-weight: 600;
}
.city-stats b {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.city-online {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
@media (min-width: 900px) {
  .cities {
    grid-auto-flow: row;
    grid-template-columns: repeat(4, 1fr);
    margin: 0;
    padding: 0;
    overflow: visible;
  }
}
.tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: clamp(48px, 7vw, 84px) 0 0;
  padding: 0;
  list-style: none;
}
.tile {
  padding: 20px 16px 22px;
  border-radius: 20px;
  background: var(--card);
  border: 1px solid var(--line);
  transition: border-color 0.35s, background 0.35s, translate 0.9s var(--ease), opacity 0.9s var(--ease);
}
.tile:hover {
  border-color: var(--line-2);
  background: var(--card-2);
}
.tile-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 14px;
  border-radius: 15px;
  background: linear-gradient(135deg, rgb(255 255 255 / 0.11), rgb(255 255 255 / 0.02));
  border: 1px solid var(--line);
  font-size: 26px;
  line-height: 1;
}
.tile h3 {
  margin-bottom: 6px;
  font-size: 18px;
}
.tile p {
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.5;
}
@media (min-width: 760px) {
  .tiles {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .tile {
    padding: 24px 22px 26px;
  }
}
@media (min-width: 1100px) {
  .tiles {
    grid-template-columns: repeat(4, 1fr);
  }
}
.shots {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 64%;
  gap: 18px;
  margin: clamp(56px, 8vw, 104px) calc(-1 * var(--gutter)) 0;
  padding: 0 var(--gutter) 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}
.shots::-webkit-scrollbar {
  display: none;
}
.shot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin: 0;
  scroll-snap-align: center;
  text-align: center;
}
.shot .phone {
  width: 100%;
  max-width: 280px;
}
.shot figcaption {
  font-family: var(--display);
  font-size: clamp(17px, 1.8vw, 22px);
  font-weight: 700;
  line-height: 1.2;
}
@media (min-width: 760px) {
  .shots {
    grid-auto-flow: row;
    grid-template-columns: repeat(3, 1fr);
    align-items: end;
    margin-inline: 0;
    padding: 0;
    overflow: visible;
  }
  .shot-b {
    margin-bottom: 48px;
  }
}
.assure {
  display: grid;
  gap: 16px;
  margin-top: clamp(48px, 7vw, 84px);
}
@media (min-width: 860px) {
  .assure {
    grid-template-columns: 1fr 1fr;
  }
}
.assure-card {
  display: flex;
  gap: 18px;
  padding: clamp(20px, 3vw, 28px);
  border-radius: 22px;
  background: linear-gradient(135deg, rgb(34 225 255 / 0.07), rgb(139 92 246 / 0.06));
  border: 1px solid var(--line);
}
.assure-card > svg {
  flex: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 13px;
  background: rgb(34 225 255 / 0.1);
  color: var(--cyan);
}
.assure-card h3 {
  margin-bottom: 8px;
  font-size: 20px;
}
.assure-card p {
  color: var(--ink-2);
  font-size: 15px;
}
.requirement {
  margin-top: 26px;
  color: var(--ink-3);
  font-size: 14px;
  text-align: center;
}
.requirement svg {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin: 0 6px 0 0;
  vertical-align: -1px;
}

/* ---------- live numbers ---------- */
.live {
  background: radial-gradient(60% 40% at 50% 0%, rgb(255 62 165 / 0.12), transparent 70%), var(--bg);
}
.live .eyebrow .dot {
  background: var(--pink);
  animation-name: pulse-pink;
}
@keyframes pulse-pink {
  0% {
    box-shadow: 0 0 0 0 rgb(255 62 165 / 0.65);
  }
  70% {
    box-shadow: 0 0 0 9px rgb(255 62 165 / 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgb(255 62 165 / 0);
  }
}
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.stat {
  padding: 22px 18px;
  border-radius: 20px;
  background: var(--card);
  border: 1px solid var(--line);
  transition: background 0.5s, border-color 0.5s;
}
.stat-face {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.stat-num {
  font-family: var(--display);
  font-size: clamp(34px, 4.4vw, 54px);
  line-height: 1;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
}
/* The evergreen face: facts about the world, in the night-city gradient */
[data-face="ever"] .stat-num {
  background: linear-gradient(180deg, #fff 20%, #cbb8ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-online [data-face="ever"] .stat-num {
  background-image: linear-gradient(180deg, #e9fdff 10%, var(--cyan) 100%);
}
.stat-label {
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 600;
}
.stat-online {
  background: linear-gradient(135deg, rgb(34 225 255 / 0.12), rgb(139 92 246 / 0.08));
  border-color: rgb(34 225 255 / 0.28);
}
.stat-online.is-live {
  background: linear-gradient(135deg, rgb(62 230 139 / 0.15), rgb(34 225 255 / 0.07));
  border-color: rgb(62 230 139 / 0.32);
}
.stat-online.is-live .stat-num {
  color: #8dffbf;
}
@media (min-width: 760px) {
  .stats {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
  .stat {
    padding: 26px 22px;
  }
}
.live-split {
  display: grid;
  align-items: start;
  gap: 16px;
  margin-top: 16px;
}
@media (min-width: 900px) {
  .live-split {
    grid-template-columns: 1fr 1.25fr;
  }
  .live-split.is-single {
    grid-template-columns: 1fr;
  }
}
.live-day,
.live-cities {
  padding: clamp(20px, 3vw, 28px);
  border-radius: 22px;
  background: var(--card);
  border: 1px solid var(--line);
}
.live-split h3 {
  margin-bottom: 16px;
  font-size: 19px;
}
.days {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.day {
  display: grid;
  grid-template-columns: 34px minmax(56px, auto) 1fr;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgb(255 255 255 / 0.035);
}
.day-icon {
  font-size: 22px;
  text-align: center;
}
.day b {
  font-family: var(--display);
  font-size: 24px;
  font-variant-numeric: tabular-nums;
}
.day > span:last-child {
  color: var(--ink-2);
  font-size: 14px;
}
.bars {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.bars li {
  display: grid;
  grid-template-columns: minmax(84px, 120px) 1fr auto;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}
.bar-name {
  color: var(--ink-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bar-track {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.07);
}
.bar-fill {
  display: block;
  width: var(--w, 0%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--violet), var(--pink));
  transition: width 1.4s var(--ease);
}
.bar-num {
  min-width: 64px;
  text-align: right;
  white-space: nowrap;
}
.bar-num b {
  font-family: var(--display);
  font-variant-numeric: tabular-nums;
}
.bar-num small {
  display: block;
  color: #8dffbf;
  font-size: 11px;
}
/* A city with only a handful of residents: named, not counted */
.bars li.is-new .bar-track {
  background: transparent;
  border: 1px dashed rgb(255 255 255 / 0.16);
}
.bars li.is-new .bar-num b {
  color: var(--amber);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
}
.live-updated {
  margin-top: 22px;
  color: var(--ink-3);
  font-size: 13px;
  text-align: center;
}

/* ---------- FAQ ---------- */
.qa {
  display: grid;
  gap: 10px;
}
.qa details {
  border-radius: 18px;
  background: var(--card);
  border: 1px solid var(--line);
  transition: background 0.3s, border-color 0.3s, translate 0.9s var(--ease), opacity 0.9s var(--ease);
}
.qa details[open] {
  background: var(--card-2);
  border-color: var(--line-2);
}
.qa summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  font-weight: 700;
  font-size: 17px;
  line-height: 1.35;
  list-style: none;
  cursor: pointer;
}
.qa summary::-webkit-details-marker {
  display: none;
}
.qa summary svg {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--ink-3);
  transition: rotate 0.3s var(--ease);
}
.qa details[open] summary svg {
  rotate: 180deg;
}
.qa-a {
  padding: 0 20px 20px;
  color: var(--ink-2);
}
.qa-a a,
.help a,
.doc a {
  color: var(--cyan);
  text-underline-offset: 3px;
}

/* ---------- last call ---------- */
.cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  overflow: clip;
  padding: clamp(84px, 11vw, 150px) 0 clamp(210px, 33vw, 470px);
  text-align: center;
  background: linear-gradient(180deg, var(--bg) 0%, #150e3c 42%, #2b1559 78%, #3d1d6b 100%);
}
.cta .sky {
  z-index: -2;
}
/* The skyline covers the bottom band edge to edge; only its transparent sky is cropped */
.cta-skyline,
.lost-skyline {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: -1;
  width: 100%;
  max-width: none;
  height: clamp(300px, 36vw, 520px);
  object-fit: cover;
  object-position: 50% 100%;
  pointer-events: none;
}
.cta p {
  text-shadow: 0 1px 14px rgb(7 6 26 / 0.9);
}
.cta-in {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.cta-icon {
  width: 92px;
  height: 92px;
  border-radius: 24px;
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.16), 0 24px 60px -12px rgb(255 62 165 / 0.6);
}
.cta h2 {
  max-width: 13em;
  font-size: clamp(38px, 6vw, 74px);
  letter-spacing: -0.04em;
}
.cta p {
  color: var(--ink-2);
  font-size: 18px;
}
.cta .stores {
  justify-content: center;
  margin-top: 6px;
}

/* ---------- footer ---------- */
.ftr {
  padding: 56px 0 30px;
  background: var(--bg-deep);
  border-top: 1px solid var(--line);
  font-size: 15px;
}
.ftr-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 20px;
}
.ftr-brand {
  grid-column: 1 / -1;
}
.ftr-brand p {
  max-width: 30em;
  margin: 12px 0 14px;
  color: var(--ink-3);
}
.ftr-mail {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--ink-2);
  text-decoration: none;
}
.ftr-mail:hover {
  color: var(--ink);
}
.ftr-mail svg {
  width: 18px;
  height: 18px;
  color: var(--pink);
}
.ftr-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.ftr-col h2 {
  margin-bottom: 2px;
  color: var(--ink-3);
  font: 700 13px/1.4 var(--sans);
  letter-spacing: 0.04em;
}
.ftr-col a {
  color: var(--ink-2);
  text-decoration: none;
  overflow-wrap: anywhere;
}
.ftr-col a:hover {
  color: var(--ink);
}
@media (min-width: 860px) {
  .ftr-grid {
    grid-template-columns: 1.7fr 1fr 1fr 1fr;
  }
  .ftr-brand {
    grid-column: auto;
  }
}
.ftr-langs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 16px;
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.ftr-langs svg {
  width: 16px;
  height: 16px;
  color: var(--ink-3);
}
.ftr-langs a {
  color: var(--ink-3);
  font-size: 14px;
  text-decoration: none;
}
.ftr-langs a:hover,
.ftr-langs a[aria-current] {
  color: var(--ink);
}
.ftr-base {
  display: grid;
  gap: 6px;
  margin-top: 16px;
  color: var(--ink-3);
  font-size: 13px;
}
.ftr-tm {
  font-size: 12px;
  opacity: 0.8;
}

/* ---------- documents (privacy, terms) and support ---------- */
.doc-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  overflow: clip;
  margin-top: calc(-1 * var(--hdr));
  padding: calc(var(--hdr) + clamp(40px, 6vw, 72px)) 0 clamp(36px, 5vw, 56px);
  background: radial-gradient(70% 80% at 80% 0%, rgb(122 64 220 / 0.28), transparent 60%),
    linear-gradient(180deg, #06051a, #120d33 70%, #170f3f);
  border-bottom: 1px solid var(--line);
}
.doc-back {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--ink-3);
  font-size: 14px;
  text-decoration: none;
}
.doc .doc-back {
  color: var(--ink-3);
}
.doc-back:hover {
  color: var(--ink);
}
.doc-hero h1 {
  max-width: 18em;
  font-size: clamp(34px, 5.4vw, 62px);
  letter-spacing: -0.035em;
}
.doc-stamp {
  margin-top: 14px;
  color: var(--cyan);
  font-weight: 700;
}
.doc-langs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}
.doc-langs a,
.doc-langs span {
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  color: var(--ink-2) !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
.doc-langs a:hover {
  color: var(--ink) !important;
  border-color: rgb(255 255 255 / 0.32);
}
.doc-langs span {
  background: #fff;
  border-color: #fff;
  color: var(--bg) !important;
}
.doc-note {
  max-width: 46em;
  margin-top: 16px;
  color: var(--ink-3);
  font-size: 14px;
}
.doc-layout {
  display: grid;
  gap: 32px;
  padding-top: clamp(32px, 5vw, 56px);
  padding-bottom: clamp(72px, 9vw, 120px);
}
.doc-toc {
  display: none;
}
@media (min-width: 980px) {
  .doc-layout {
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 64px;
  }
  .doc-toc {
    position: sticky;
    top: calc(var(--hdr) + 24px);
    display: block;
    align-self: start;
    max-height: calc(100vh - var(--hdr) - 48px);
    overflow: auto;
  }
}
.doc-toc p {
  margin-bottom: 10px;
  color: var(--ink-3);
  font-size: 13px;
  font-weight: 700;
}
.doc-toc ol {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.doc-toc a {
  display: flex;
  gap: 10px;
  padding: 7px 10px;
  border-radius: 10px;
  color: var(--ink-2) !important;
  font-size: 14px;
  line-height: 1.35;
  text-decoration: none;
}
.doc-toc a span {
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}
.doc-toc a:hover,
.doc-toc a.is-active {
  background: var(--card-2);
  color: var(--ink) !important;
}
.doc-main {
  max-width: 740px;
}
.doc-intro {
  margin-bottom: 26px;
  font-size: clamp(17px, 1.6vw, 19px);
  line-height: 1.65;
}
.doc-sec {
  padding: 28px 0 14px;
  border-top: 1px solid var(--line);
}
.doc-sec h2 {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 14px;
  font-size: clamp(22px, 2.4vw, 28px);
}
.doc-num {
  flex: none;
  color: var(--pink);
  font-size: 14px;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}
.doc-sec p {
  margin-bottom: 14px;
  color: var(--ink-2);
  line-height: 1.75;
}
.doc-sec ul {
  display: grid;
  gap: 8px;
  margin: 0 0 14px;
  padding-left: 22px;
  color: var(--ink-2);
  line-height: 1.6;
}
.support-hero h1 {
  margin-top: 10px;
  font-size: clamp(40px, 6vw, 72px);
}
.support-hero .lead {
  margin-top: 14px;
  max-width: 36em;
}
.support-hero {
  padding-bottom: clamp(64px, 8vw, 96px);
}
.contact-card {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 18px;
  margin-top: -40px;
  padding: clamp(22px, 3vw, 30px);
  border-radius: 24px;
  background: linear-gradient(135deg, rgb(255 62 165 / 0.14), rgb(139 92 246 / 0.14));
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.contact-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgb(255 255 255 / 0.09);
}
.contact-icon svg {
  width: 28px;
  height: 28px;
}
.contact-card h2 {
  margin-bottom: 6px;
  font-size: 24px;
}
.contact-card p {
  color: var(--ink-2);
}
.contact-card .btn {
  justify-self: start;
  white-space: normal;
  overflow-wrap: anywhere;
}
.muted {
  margin-top: 6px;
  color: var(--ink-3) !important;
  font-size: 14px;
}
@media (min-width: 900px) {
  .contact-card {
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 26px;
  }
}
.topics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 30px 0 10px;
}
.topics a {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.topics a:hover {
  color: var(--ink);
  border-color: var(--line-2);
}
.support .wrap-doc {
  padding-bottom: clamp(64px, 8vw, 110px);
}
.help {
  padding: 40px 0 8px;
}
.help + .help {
  border-top: 1px solid var(--line);
}
.help h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  font-size: clamp(24px, 3vw, 34px);
}
.help h2 span {
  font-size: 0.85em;
}
.help p {
  max-width: 720px;
  margin-bottom: 14px;
  color: var(--ink-2);
}
.help .ticks {
  max-width: 720px;
  margin-bottom: 16px;
}
.steps {
  display: grid;
  gap: 10px;
  max-width: 720px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps li {
  position: relative;
  padding: 14px 16px 14px 58px;
  border-radius: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--ink-2);
  counter-increment: step;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 15px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), var(--violet));
  color: #fff;
  font: 700 14px/1 var(--display);
  translate: 0 -50%;
}
.steps b {
  color: var(--ink);
}
.note {
  max-width: 720px;
  padding: 12px 16px;
  border-left: 3px solid var(--amber);
  border-radius: 0 12px 12px 0;
  background: rgb(255 191 95 / 0.08);
  color: var(--ink-2);
}
.help-cols {
  display: grid;
  gap: 14px;
  max-width: 900px;
  margin: 20px 0;
}
.help-cols > div {
  padding: 20px;
  border-radius: 18px;
  background: var(--card);
  border: 1px solid var(--line);
}
.help-cols h3 {
  margin-bottom: 8px;
  font-size: 18px;
}
.help-cols p {
  margin: 0;
  font-size: 15px;
}
@media (min-width: 760px) {
  .help-cols {
    grid-template-columns: 1fr 1fr;
  }
}
.help .qa {
  max-width: 820px;
}
.doc-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.doc-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--ink) !important;
  font-weight: 600;
  text-decoration: none;
}
.doc-links a:hover {
  border-color: var(--line-2);
}
.doc-links svg {
  width: 16px;
  height: 16px;
}

/* ---------- 404 ---------- */
.lost {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  overflow: clip;
  display: grid;
  place-items: center;
  min-height: 100svh;
  margin-top: calc(-1 * var(--hdr));
  padding: calc(var(--hdr) + 48px) 0 clamp(250px, 34vw, 480px);
  text-align: center;
  background: linear-gradient(180deg, #06051a, #140e3a 50%, #3d1d6b);
}
.lost-in {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lost-code {
  font: 700 clamp(100px, 20vw, 200px) / 1 var(--display);
  letter-spacing: -0.06em;
  background: linear-gradient(180deg, #fff, rgb(255 255 255 / 0.08));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lost h1 {
  margin: 6px 0 12px;
  font-size: clamp(28px, 4vw, 44px);
}
.lost .lead {
  max-width: 32em;
  margin: 0 auto 26px;
}
.lost-langs {
  display: grid;
  gap: 8px;
  margin: 36px 0 0;
  padding: 0;
  color: var(--ink-3);
  font-size: 14px;
  list-style: none;
}
.lost-langs a {
  color: var(--ink-2);
}

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }
  html {
    scroll-behavior: auto;
  }
  .js [data-reveal] {
    opacity: 1;
    translate: none;
  }
  .shoot {
    display: none;
  }
}
