/* =========================================================
   Site styles: landing, account, legal pages
   ========================================================= */

:root {
  color-scheme: dark;
  --bg: #07061a;
  --bg-2: #0b0920;
  --panel: #120e29;
  --panel-2: #191339;
  --border: #2c2250;
  --border-2: #3d2d6b;
  --border-strong: #8b46ea;
  --text: #f6f3ff;
  --muted: #b9b0d4;
  --dim: #8b82aa;
  --violet: #7c3aed;
  --purple: #a855f7;
  --magenta: #d946ef;
  --pink: #f0abfc;
  --green: #22c55e;
  --red: #fb7185;
  --amber: #fbbf24;
  --radius: 14px;
  --radius-lg: 18px;
  --font-display: "Exo 2", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  --header-h: 68px;
  --gutter: 20px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 55% 40% at 0% 18%, rgba(109, 40, 217, .22), transparent 70%),
    radial-gradient(ellipse 50% 35% at 100% 55%, rgba(168, 85, 247, .14), transparent 70%),
    radial-gradient(ellipse 60% 30% at 10% 92%, rgba(124, 58, 237, .16), transparent 70%);
  overflow-x: hidden;
}
body.modal-open { overflow: hidden; }

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; }
p { margin: 0; }

:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: min(1180px, calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

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

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--violet); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 700;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

.grad {
  background: linear-gradient(92deg, #9d4bff 0%, #c75cff 45%, #e879f9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  /* italic glyphs overhang their box; keep the gradient from clipping */
  padding-right: .08em;
  margin-right: -.08em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 22px;
  min-height: 46px;
  border-radius: 10px;
  border: 1px solid rgba(168, 85, 247, .65);
  background: rgba(20, 14, 44, .4);
  color: var(--text);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-1px); border-color: #c084fc; box-shadow: 0 0 22px rgba(168, 85, 247, .35); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary {
  border-color: #b26bff;
  background: linear-gradient(180deg, #b45cff 0%, #8b3cf6 55%, #7426e0 100%);
  box-shadow: 0 0 22px rgba(139, 61, 255, .55), inset 0 1px 0 rgba(255, 255, 255, .28);
}
.btn-primary:hover { box-shadow: 0 0 32px rgba(168, 85, 247, .75), inset 0 1px 0 rgba(255, 255, 255, .3); border-color: #d6a6ff; }
.btn-ghost { background: transparent; border-color: rgba(233, 213, 255, .55); }
.btn-sm { min-height: 38px; padding: 8px 16px; font-size: 14px; border-radius: 9px; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .6; cursor: not-allowed; transform: none; box-shadow: none; }

.spinner {
  width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff;
  animation: spin .8s linear infinite;
  flex: none;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(8, 6, 24, .82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(124, 58, 237, .28);
}
.nav { height: 100%; display: flex; align-items: center; gap: 20px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 800; font-size: 21px; letter-spacing: .4px;
  text-transform: uppercase;
  white-space: nowrap; min-width: 0;
}
.brand-mark {
  display: grid; place-items: center;
  width: 34px; height: 34px; flex: none;
  font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: 30px; line-height: 1;
  color: #b464ff;
  text-shadow: 0 0 18px rgba(168, 85, 247, .9);
}
.brand-mark img { width: 34px; height: 34px; object-fit: contain; }
.brand-name { overflow: hidden; text-overflow: ellipsis; }

.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links a {
  position: relative;
  padding: 8px 12px; font-size: 14px; font-weight: 500; color: #ddd6f3;
  border-radius: 8px; transition: color .15s;
}
.nav-links a:hover { color: #fff; }
.nav-links a.is-active { color: #fff; }
.nav-links a.is-active::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: -14px; height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--magenta));
  box-shadow: 0 0 10px var(--magenta);
  border-radius: 2px;
}
.nav-mobile-cta { display: none; }
.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: 12px; }
.nav-actions .btn-sm svg { width: 16px; height: 16px; }

.nav-user {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 4px 14px 4px 4px; min-height: 38px;
  border: 1px solid rgba(233, 213, 255, .45); border-radius: 999px;
  font-size: 14px; font-weight: 700; white-space: nowrap;
  transition: border-color .15s, box-shadow .15s;
}
.nav-user:hover { border-color: #c084fc; box-shadow: 0 0 18px rgba(168, 85, 247, .35); }
.avatar {
  width: 30px; height: 30px; border-radius: 50%; object-fit: cover; flex: none;
  background: linear-gradient(135deg, #7c3aed, #d946ef);
  display: grid; place-items: center; font-weight: 800; font-size: 13px; color: #fff;
}

.nav-toggle {
  display: none;
  width: 42px; height: 42px; border-radius: 10px;
  border: 1px solid var(--border-2); background: rgba(20, 14, 44, .6);
  cursor: pointer; place-items: center; flex: none;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px; position: relative; transition: transform .2s, background-color .2s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1080px) {
  .nav-toggle { display: grid; }
  .nav-actions { margin-left: auto; }
  .nav-links {
    display: none;
    position: absolute; left: 0; right: 0; top: var(--header-h);
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px var(--gutter) 18px;
    background: rgba(9, 7, 26, .98);
    border-bottom: 1px solid rgba(124, 58, 237, .35);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .5);
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  }
  .nav-open .nav-links { display: flex; }
  .nav-links a { padding: 12px 10px; font-size: 16px; }
  .nav-links a.is-active::after { left: 0; right: auto; top: 12px; bottom: 12px; width: 3px; height: auto; }
  .nav-links a.is-active { padding-left: 14px; }
  .nav-mobile-cta { display: none; margin-top: 10px; }
}
@media (max-width: 600px) {
  .nav-actions .nav-getstarted { display: none; }
  .nav-mobile-cta { display: flex; }
  .nav-mobile-cta .btn { width: 100%; }
}
@media (max-width: 420px) {
  :root { --header-h: 62px; }
  .nav { gap: 10px; }
  .brand { font-size: 16px; gap: 7px; }
  .brand-mark { width: 26px; height: 26px; font-size: 24px; }
  .nav-actions { gap: 8px; margin-left: auto; }
  .nav-user { padding-right: 4px; }
  .nav-user .nav-user-label { display: none; }
  .nav-actions .btn-sm { padding: 8px 12px; }
}

/* ---------- Generic section bits ---------- */
.section { padding: 64px 0; }
.kicker {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: .32em; text-transform: uppercase;
  color: #e9d5ff;
}
.kicker-purple { color: #c084fc; letter-spacing: .14em; }
.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 3.4vw, 40px);
  letter-spacing: -.3px;
}
.section-lead { color: var(--muted); margin-top: 10px; font-size: 15px; }
.center { text-align: center; }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(168, 85, 247, .55);
  background: rgba(76, 29, 149, .35);
  color: #ead7ff;
  font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}

/* ---------- Hero ---------- */
/* Wide screens: the live scene fills the whole hero behind the text; the action happens right of the copy.
   Narrow screens: the scene sits below the text, edge to edge. */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(560px, calc(100vh - var(--header-h)), 800px);
  overflow: hidden;
}
.hero-inner { position: relative; z-index: 1; padding: 56px 0 72px; pointer-events: none; }
.hero-copy { max-width: 540px; pointer-events: auto; }
.hero-copy h1 {
  margin: 20px 0 18px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(40px, 5.3vw, 74px);
  line-height: .96;
  letter-spacing: -.5px;
  text-shadow: 0 2px 24px rgba(7, 6, 26, .65);
}
.hero-copy h1 span { display: block; }
.hero-lead { color: #e7e1f7; font-size: 17px; max-width: 470px; text-shadow: 0 1px 12px rgba(7, 6, 26, .8); }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-buttons .btn { min-width: 168px; min-height: 50px; font-size: 16px; }
.hero-trust {
  display: flex; flex-wrap: wrap; gap: 14px 28px;
  margin: 30px 0 0; padding: 0; list-style: none;
}
.hero-trust li { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); line-height: 1.3; }
.hero-trust b { display: block; color: var(--text); font-size: 14px; }
.hero-trust svg { width: 28px; height: 28px; color: #b46cff; flex: none; }

.hero-visual {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0; /* not "inset": older Safari ignores it and the canvas ends up 0x0 */
  z-index: 0;
  background: #0a0720;
}
.hero-visual canvas { display: block; width: 100%; height: 100%; cursor: crosshair; }
/* fades: dark behind the text, soft top edge, melts into the page at the bottom */
.hero-visual::after {
  content: "";
  position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(7, 6, 26, .94) 0%, rgba(7, 6, 26, .82) 26%, rgba(7, 6, 26, .35) 42%, rgba(7, 6, 26, 0) 54%),
    linear-gradient(180deg, rgba(7, 6, 26, .5) 0%, rgba(7, 6, 26, 0) 12%, rgba(7, 6, 26, 0) 80%, var(--bg) 100%);
}
.hero-visual .pill.live {
  position: absolute; top: 22px; left: 50%; transform: translateX(-50%); z-index: 1;
  background: rgba(10, 8, 26, .82); border-color: rgba(148, 120, 210, .45);
  color: #fff; font-size: 11.5px; letter-spacing: .08em; white-space: nowrap;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}

@media (max-width: 960px) {
  .hero { display: flex; flex-direction: column; align-items: stretch; min-height: 0; }
  .hero-inner { order: 1; padding: 32px 0 0; pointer-events: auto; }
  .hero-copy { max-width: 640px; }
  .hero-visual {
    order: 2; position: relative; top: auto; right: auto; bottom: auto; left: auto;
    height: clamp(260px, 80vw, 560px); margin-top: 30px; /* fixed height instead of aspect-ratio (older Safari) */
  }
  .hero-visual::after {
    background: linear-gradient(180deg, var(--bg) 0%, rgba(7, 6, 26, 0) 14%, rgba(7, 6, 26, 0) 84%, var(--bg) 100%);
  }
}
@media (max-width: 560px) {
  .hero-visual { height: clamp(240px, 90vw, 420px); }
  .hero-visual .pill.live { top: 14px; padding: 5px 11px; font-size: 10px; }
}

/* ---------- Features band ---------- */
.band {
  border-top: 1px solid rgba(124, 58, 237, .35);
  border-bottom: 1px solid rgba(124, 58, 237, .35);
  background: linear-gradient(180deg, rgba(23, 15, 52, .65), rgba(12, 9, 30, .65));
  box-shadow: 0 -1px 24px rgba(124, 58, 237, .15);
}
.features {
  display: grid;
  grid-template-columns: 1.25fr repeat(4, minmax(0, 1fr));
  align-items: stretch;
  padding: 34px 0;
}
.features-head { padding-right: 24px; align-self: center; }
.features-head h2 { font-family: var(--font-display); font-weight: 800; font-size: 28px; }
.features-head p { color: var(--muted); font-size: 14px; margin-top: 8px; }
.feature {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 6px 18px;
  border-left: 1px solid rgba(124, 58, 237, .3);
}
.feature svg { width: 34px; height: 34px; flex: none; color: #b46cff; filter: drop-shadow(0 0 8px rgba(168, 85, 247, .45)); }
.feature h3 { font-size: 15px; font-weight: 700; margin-bottom: 5px; }
.feature p { font-size: 13px; color: var(--muted); line-height: 1.45; }

/* ---------- Platforms ---------- */
.platforms { padding: 40px 0 8px; text-align: center; }
.platforms-title {
  display: flex; align-items: center; justify-content: center; gap: 18px;
  font-family: var(--font-display); font-weight: 700; font-size: 24px;
}
.platforms-title::before, .platforms-title::after {
  content: ""; height: 2px; width: min(80px, 14vw);
  background: linear-gradient(90deg, transparent, var(--purple));
}
.platforms-title::after { background: linear-gradient(90deg, var(--purple), transparent); }
.platform-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin: 18px 0 0; padding: 0; list-style: none; }
.platform {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  width: 240px; max-width: 100%; padding: 14px 20px;
  border-radius: 12px; border: 1px solid var(--border-2);
  background: linear-gradient(160deg, #1a1436, #110d26);
  font-family: var(--font-display); font-weight: 700; font-size: 21px;
}
.platform svg { width: 36px; height: 36px; flex: none; }

/* ---------- Pricing ---------- */
.pricing { padding: 64px 0 40px; }
.pricing-head h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(38px, 5vw, 52px); margin-top: 6px; }
.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 24px;
  max-width: 1080px; margin: 40px auto 0;
  align-items: stretch;
}
.plans-empty { text-align: center; color: var(--muted); grid-column: 1 / -1; padding: 30px; border: 1px dashed var(--border-2); border-radius: var(--radius); }
.plan {
  position: relative;
  display: flex; flex-direction: column;
  padding: 28px 26px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-2);
  background: linear-gradient(160deg, #1b1438 0%, #100c25 100%);
  transition: transform .2s ease, border-color .2s ease;
}
.plan:hover { transform: translateY(-3px); border-color: #6a43b8; }
.plan.is-highlight {
  border: 2px solid #b65cff;
  background: linear-gradient(160deg, #24154a 0%, #130d2c 100%);
  box-shadow: 0 0 30px rgba(168, 85, 247, .55), inset 0 0 40px rgba(124, 58, 237, .18);
}
.plan-badge {
  position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%);
  padding: 5px 16px; border-radius: 999px;
  background: linear-gradient(180deg, #c06bff, #8b2ff0);
  border: 1px solid #dcb1ff;
  font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
  box-shadow: 0 0 16px rgba(168, 85, 247, .7);
}
.plan-name { text-align: center; font-family: var(--font-display); font-weight: 700; font-size: 24px; }
.plan-subtitle { text-align: center; font-weight: 600; color: #e6dcff; margin-top: 2px; }
.plan-price { text-align: center; margin: 14px 0 4px; font-family: var(--font-display); font-weight: 800; font-size: 40px; line-height: 1.05; }
.plan-price small { font-family: var(--font-body); font-size: 17px; font-weight: 600; color: #e6dcff; margin-left: 4px; }
.plan-billing { text-align: center; color: var(--dim); font-size: 13px; }
.plan-features { list-style: none; margin: 20px 0 24px; padding: 0; flex: 1; }
.plan-features li { position: relative; padding-left: 30px; margin: 9px 0; font-size: 15px; color: #ece6fb; }
.plan-features li::before {
  content: ""; position: absolute; left: 2px; top: 3px; width: 18px; height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d16bff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.plan .btn { width: 100%; }

/* ---------- Models ---------- */
.models { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 2.6fr); gap: 32px; align-items: center; padding: 40px 0 36px; }
.models-head .section-title { margin-top: 4px; }
.model-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.model-card {
  --mc: #a855f7;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  min-height: 150px; padding: 14px 10px 14px;
  border-radius: 14px;
  border: 1px solid color-mix(in srgb, var(--mc) 45%, #3d2d6b);
  background:
    radial-gradient(circle at 50% 28%, color-mix(in srgb, var(--mc) 70%, transparent) 0%, transparent 62%),
    linear-gradient(180deg, color-mix(in srgb, var(--mc) 28%, #120e29) 0%, #0e0b22 75%);
  text-align: center;
}
.model-card .model-art { position: absolute; top: 0; right: 0; bottom: 46px; left: 0; display: grid; place-items: center; }
.model-card .model-art svg { width: 64%; max-width: 92px; height: auto; color: #0b0918; filter: drop-shadow(0 0 10px color-mix(in srgb, var(--mc) 80%, transparent)); }
.model-card .model-art img { width: 100%; height: 100%; object-fit: cover; }
.model-card b { position: relative; font-size: 15px; font-weight: 700; line-height: 1.2; text-shadow: 0 1px 6px rgba(0, 0, 0, .8); }
.model-card small { position: relative; margin-top: 4px; font-size: 12px; color: #ddd3f0; }
.model-card.more {
  justify-content: center; gap: 4px;
  background: linear-gradient(160deg, #1b1438, #100c25);
  border-color: var(--border-2);
}
.model-card.more .plus {
  width: 40px; height: 40px; margin-bottom: 6px; color: #c27bff;
  filter: drop-shadow(0 0 8px rgba(168, 85, 247, .6));
}

/* ---------- Setup requirements ---------- */
.setup { padding: 20px 0 30px; }
.setup-bar {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, .7fr)) auto;
  align-items: center; gap: 0;
  padding: 22px 26px;
  border-radius: 20px;
  border: 1px solid #a855f7;
  background: linear-gradient(90deg, #26104a 0%, #150f2e 55%, #26103f 100%);
  box-shadow: 0 0 28px rgba(139, 61, 255, .35), inset 0 0 30px rgba(124, 58, 237, .15);
}
.setup-title { display: flex; align-items: center; gap: 18px; padding-right: 20px; }
.setup-title > svg { width: 52px; height: 52px; color: #c06bff; flex: none; filter: drop-shadow(0 0 10px rgba(192, 107, 255, .6)); }
.setup-title h2 { font-family: var(--font-display); font-weight: 700; font-size: 26px; }
.setup-title p { color: #ddd3f0; font-size: 14px; margin-top: 4px; }
.setup-item {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 4px 10px; border-left: 1px solid rgba(168, 85, 247, .3);
  font-weight: 700; font-size: 14px; text-align: center;
}
.setup-item svg { width: 64px; height: 44px; }
.setup-bar > .btn { margin-left: 20px; }
.setup-details {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px;
  margin-top: 16px;
}
.setup-details article {
  padding: 18px 20px; border-radius: var(--radius);
  border: 1px solid var(--border-2); background: var(--panel);
}
.setup-details h3 { font-size: 16px; margin-bottom: 6px; }
.setup-details p { color: var(--muted); font-size: 14px; }
.req-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 7px; }
.req-list li { position: relative; padding-left: 24px; font-size: 14px; font-weight: 600; }
.req-list li::before {
  content: ''; position: absolute; left: 3px; top: .38em;
  width: 10px; height: 5px; border-left: 2px solid #c06bff; border-bottom: 2px solid #c06bff;
  transform: rotate(-45deg);
}
.req-list li span { color: var(--muted); font-weight: 400; }
.req-platforms { margin: 10px 0 0; display: grid; gap: 8px; }
.req-platforms div {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 9px 12px; border-radius: 10px;
  border: 1px solid var(--border-2); background: rgba(139, 92, 246, .08);
}
.req-platforms dt { color: var(--muted); font-size: 13px; }
.req-platforms dd { margin: 0; font-weight: 700; font-size: 14px; text-align: right; }
.setup-details .req-note { margin-top: 12px; font-size: 13px; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); gap: 48px; padding: 56px 0 80px; }
.faq-head h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(32px, 3.6vw, 42px); }
.faq-head p { color: var(--muted); margin-top: 12px; font-size: 16px; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  border-radius: 10px; border: 1px solid var(--border-2);
  background: linear-gradient(180deg, #17122f, #120e27);
  transition: border-color .2s;
}
.faq-item[open] { border-color: #7a4bd0; }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 18px; cursor: pointer; list-style: none;
  font-weight: 600; font-size: 15px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary svg { width: 18px; height: 18px; flex: none; transition: transform .2s; color: #e9d5ff; }
.faq-item[open] summary svg { transform: rotate(180deg); }
.faq-item .faq-answer { padding: 0 18px 16px; color: var(--muted); font-size: 15px; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid rgba(124, 58, 237, .3);
  background: rgba(7, 5, 20, .7);
  padding: 34px 0 30px;
  font-size: 14px; color: var(--dim);
}
.footer-inner { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 24px; }
.footer-brand { max-width: 420px; }
.footer-brand .brand { color: var(--text); font-size: 18px; }
.footer-brand p { margin-top: 10px; font-size: 13px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-links a { color: #d4cbe9; display: inline-flex; align-items: center; gap: 7px; }
.footer-links a:hover { color: #fff; }
.footer-links svg { width: 16px; height: 16px; }
.footer-bottom { width: 100%; padding-top: 18px; border-top: 1px solid rgba(124, 58, 237, .16); font-size: 13px; }
.footer-note { width: 100%; margin: 0; font-size: 12px; opacity: .75; }

/* ---------- Help card (Discord tickets) ---------- */
.help-cta { padding: 10px 0 80px; }
.help-card {
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
  padding: 26px 28px;
  border: 1px solid rgba(168, 85, 247, .45);
  border-radius: 18px;
  background: linear-gradient(120deg, rgba(88, 101, 242, .18), rgba(124, 58, 237, .14) 55%, rgba(12, 9, 30, .6));
  box-shadow: 0 20px 60px -30px rgba(124, 58, 237, .6);
}
.help-icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 16px; background: #5865f2; color: #fff; flex: none; }
.help-icon svg { width: 32px; height: 32px; }
.help-text { flex: 1 1 280px; }
.help-text h2 { margin: 0 0 6px; font-family: var(--font-display); font-weight: 800; font-size: 24px; }
.help-text p { margin: 0; color: var(--muted); }
.help-card .btn svg { width: 20px; height: 20px; }

/* ---------- Thank-you page ---------- */
.thanks-head { display: flex; align-items: center; gap: 16px; margin: 10px 0 26px; }
.thanks-head > svg { width: 52px; height: 52px; color: #4ade80; flex: none; }
.thanks-head h1 { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(26px, 4vw, 36px); }
.thanks-head p { margin: 4px 0 0; }
.thanks-help { margin-top: 22px; text-align: center; }
#t-link + p, #t-link ~ p { color: var(--muted); }
.card-title svg { width: 22px; height: 22px; }

/* ---------- Hero animation pause / play ---------- */
.anim-toggle {
  position: absolute; right: 18px; bottom: 18px; z-index: 2;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 12px; border-radius: 999px;
  border: 1px solid rgba(148, 120, 210, .45); background: rgba(10, 8, 26, .78); color: #ead7ff;
  font: 600 12px/1 var(--font-body); cursor: pointer;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.anim-toggle:hover { border-color: rgba(192, 132, 252, .9); color: #fff; }
.anim-toggle svg { width: 14px; height: 14px; }
.anim-toggle .i-play, .anim-toggle[aria-pressed="true"] .i-pause { display: none; }
.anim-toggle[aria-pressed="true"] .i-play { display: inline; }
@media (max-width: 560px) { .anim-toggle { right: 10px; bottom: 10px; padding: 6px 10px; font-size: 11px; } }

/* ---------- Modal ---------- */
.modal {
  position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 100;
  display: grid; place-items: center;
  padding: 16px;
}
.modal-backdrop { position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: rgba(4, 3, 12, .78); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.modal-dialog {
  position: relative;
  width: min(640px, 100%);
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  padding: 28px;
  border-radius: 18px;
  border: 1px solid rgba(168, 85, 247, .6);
  background: linear-gradient(160deg, #1a1336 0%, #0e0b21 100%);
  box-shadow: 0 0 50px rgba(124, 58, 237, .45), 0 30px 80px rgba(0, 0, 0, .6);
  animation: modal-in .22s ease-out;
}
.modal-dialog:focus { outline: none; }
@keyframes modal-in { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.modal-dialog h2 { font-family: var(--font-display); font-weight: 800; font-size: 26px; padding-right: 40px; }
.modal-close {
  position: absolute; top: 14px; right: 14px;
  width: 38px; height: 38px; border-radius: 10px;
  display: grid; place-items: center;
  border: 1px solid var(--border-2); background: rgba(20, 14, 44, .6); cursor: pointer;
}
.modal-close:hover { border-color: #c084fc; }
.modal-close svg { width: 18px; height: 18px; }

.order-summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 18px; padding: 16px 18px;
  border-radius: 12px; border: 1px solid var(--border-2);
  background: rgba(124, 58, 237, .1);
}
.order-summary .os-name { font-weight: 800; font-size: 18px; }
.order-summary .os-sub { color: var(--muted); font-size: 14px; }
.order-summary .os-price { font-family: var(--font-display); font-weight: 800; font-size: 28px; white-space: nowrap; }
.order-summary .os-price small { font-family: var(--font-body); font-size: 14px; font-weight: 600; color: var(--muted); margin-left: 3px; }

.choice-group { border: 0; padding: 0; margin: 22px 0 0; min-width: 0; }
.choice-group legend { font-weight: 700; font-size: 15px; margin-bottom: 10px; padding: 0; }
.choice-group legend .req { color: var(--pink); font-weight: 600; font-size: 13px; margin-left: 6px; }
.pick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.pay-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.pick { position: relative; display: block; cursor: pointer; }
.pick input { position: absolute; opacity: 0; top: 0; right: 0; bottom: 0; left: 0; margin: 0; cursor: pointer; }
.pick-body {
  display: flex; align-items: center; gap: 12px;
  height: 100%;
  padding: 12px 14px; border-radius: 12px;
  border: 1px solid var(--border-2); background: rgba(18, 14, 41, .9);
  transition: border-color .15s, box-shadow .15s, background-color .15s;
}
.pick:hover .pick-body { border-color: #7a4bd0; }
.pick input:checked + .pick-body {
  border-color: #c77dff; background: rgba(124, 58, 237, .18);
  box-shadow: 0 0 0 1px #c77dff, 0 0 18px rgba(168, 85, 247, .4);
}
.pick input:focus-visible + .pick-body { outline: 2px solid var(--pink); outline-offset: 2px; }
.pick-model .pick-body { flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px 32px 12px 16px; position: relative; overflow: hidden; }
.pick-model .pick-body::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--mc, #a855f7); box-shadow: 0 0 10px var(--mc, #a855f7); }
.pick-model b { font-size: 14px; }
.pick-model small { font-size: 12px; color: var(--muted); }
.pick-pay .pick-body { font-weight: 700; font-size: 14px; }
.pick-pay svg { width: 26px; height: 26px; flex: none; color: #c99bff; }
.pick-pay small { display: block; font-weight: 500; color: var(--muted); font-size: 12px; }
.pick-check {
  margin-left: auto; width: 18px; height: 18px; border-radius: 50%; flex: none;
  border: 2px solid #6b5a99;
}
.pick input:checked + .pick-body .pick-check { border-color: #d8a6ff; background: radial-gradient(circle, #e9b8ff 0 4px, transparent 5px); }
.pick-model .pick-check { position: absolute; top: 10px; right: 10px; width: 16px; height: 16px; }

.crypto-info {
  margin-top: 22px; padding: 14px 16px; border-radius: 12px;
  border: 1px solid rgba(251, 191, 36, .35); background: rgba(251, 191, 36, .07);
  color: #f5e7c2; font-size: 14px;
}
.checkout-note {
  display: flex; gap: 10px; align-items: flex-start;
  margin-top: 20px; font-size: 14px; color: var(--muted);
}
.checkout-note svg { width: 20px; height: 20px; flex: none; color: #8f9bff; margin-top: 1px; }
.form-error {
  margin-top: 14px; padding: 10px 14px; border-radius: 10px;
  border: 1px solid rgba(251, 113, 133, .5); background: rgba(251, 113, 133, .1);
  color: #fecdd3; font-size: 14px;
}
.form-error:empty { display: none; }
.checkout-actions { margin-top: 18px; }
.checkout-actions .btn { min-height: 52px; font-size: 16px; }
.secure-note { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 12px; font-size: 12px; color: var(--dim); }
.secure-note svg { width: 14px; height: 14px; }

/* ---------- Toast ---------- */
.toast-wrap { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 150; display: flex; flex-direction: column; gap: 10px; width: max-content; max-width: calc(100% - 32px); }
.toast {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 18px; border-radius: 12px;
  background: rgba(20, 15, 44, .96); border: 1px solid var(--border-strong);
  box-shadow: 0 10px 40px rgba(0, 0, 0, .5), 0 0 20px rgba(124, 58, 237, .3);
  font-size: 14px; font-weight: 600;
  animation: toast-in .25s ease-out;
}
.toast.is-warn { border-color: rgba(251, 191, 36, .6); }
.toast.is-error { border-color: rgba(251, 113, 133, .7); }
.toast.is-ok { border-color: rgba(34, 197, 94, .6); }
.toast.leaving { opacity: 0; transform: translateY(8px); transition: opacity .25s, transform .25s; }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px); } }

/* ---------- Account page ---------- */
.page-main { padding: 40px 0 80px; min-height: calc(100vh - var(--header-h) - 180px); }
.acct-head {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  padding-bottom: 26px; margin-bottom: 26px;
  border-bottom: 1px solid rgba(124, 58, 237, .25);
}
.acct-head .avatar { width: 64px; height: 64px; font-size: 26px; box-shadow: 0 0 0 2px #a855f7, 0 0 24px rgba(168, 85, 247, .55); }
.acct-head h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(26px, 3.4vw, 36px); }
.acct-head .acct-meta { color: var(--dim); font-size: 14px; margin-top: 4px; overflow-wrap: anywhere; }
.acct-head .acct-head-actions { margin-left: auto; display: flex; gap: 10px; flex-wrap: wrap; }

.banner {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 16px 18px; border-radius: 14px; margin-bottom: 24px;
  border: 1px solid rgba(34, 197, 94, .5); background: rgba(34, 197, 94, .09);
  color: #d6fbe3;
}
.banner svg { width: 22px; height: 22px; flex: none; color: #4ade80; margin-top: 1px; }
.banner b { display: block; color: #fff; }
.banner.is-warn { border-color: rgba(251, 191, 36, .5); background: rgba(251, 191, 36, .08); color: #fbecc4; }
.banner.is-warn svg { color: var(--amber); }
.banner .spinner { margin-top: 3px; border-color: rgba(255, 255, 255, .25); border-top-color: #4ade80; }

.acct-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.acct-grid .span-2 { grid-column: 1 / -1; }
.card {
  padding: 22px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-2);
  background: linear-gradient(160deg, #19133a 0%, #0f0b24 100%);
  min-width: 0;
}
.card.is-glow { border-color: #a855f7; box-shadow: 0 0 26px rgba(168, 85, 247, .3); }
.card-title {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 19px; margin-bottom: 14px;
}
.card-title svg { width: 22px; height: 22px; color: #c27bff; flex: none; }
.card-title .status { margin-left: auto; }
.card p.muted, .muted { color: var(--muted); font-size: 14px; }
.status {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 11px; border-radius: 999px;
  font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  border: 1px solid; white-space: nowrap;
}
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status.ok { color: #4ade80; border-color: rgba(74, 222, 128, .45); background: rgba(74, 222, 128, .08); }
.status.warn { color: var(--amber); border-color: rgba(251, 191, 36, .45); background: rgba(251, 191, 36, .08); }
.status.bad { color: var(--red); border-color: rgba(251, 113, 133, .45); background: rgba(251, 113, 133, .08); }
.status.info { color: #c4b5fd; border-color: rgba(196, 181, 253, .45); background: rgba(196, 181, 253, .08); }

.kv { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 18px; margin: 0; font-size: 14px; }
.kv dt { color: var(--dim); }
.kv dd { margin: 0; font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.countdown { font-family: var(--font-display); font-weight: 800; font-size: 30px; letter-spacing: .5px; margin: 2px 0 14px; font-variant-numeric: tabular-nums; }
.countdown small { font-family: var(--font-body); font-size: 13px; font-weight: 500; color: var(--muted); display: block; letter-spacing: 0; }

.key-box {
  display: flex; align-items: stretch; gap: 10px; flex-wrap: wrap;
}
.key-value {
  flex: 1 1 220px; min-width: 0;
  padding: 14px 16px; border-radius: 12px;
  border: 1px dashed rgba(192, 132, 252, .65); background: #0a0819;
  font-family: var(--font-mono); font-size: 16px; font-weight: 600; letter-spacing: .04em;
  word-break: break-all; color: #f3e8ff;
}
.key-box .btn { flex: 0 0 auto; }
.key-sub { margin-top: 10px; color: var(--dim); font-size: 13px; }
.prev-keys { list-style: none; margin: 16px 0 0; padding: 14px 0 0; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 10px; }
.prev-keys li { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 13px; }
.prev-keys code { font-family: var(--font-mono); color: #cdbff0; word-break: break-all; }
.prev-keys span { color: var(--dim); }
.subhead { font-weight: 700; font-size: 14px; color: #e9e3fa; margin-top: 18px; }

.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.steps li { counter-increment: step; display: flex; gap: 14px; align-items: flex-start; font-size: 15px; }
.steps li::before {
  content: counter(step);
  display: grid; place-items: center; flex: none;
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(180deg, #b45cff, #7426e0); box-shadow: 0 0 12px rgba(168, 85, 247, .5);
  font-weight: 800; font-size: 13px;
}
.steps li > span { padding-top: 3px; overflow-wrap: anywhere; }
.steps code, .card code.inline { font-family: var(--font-mono); font-size: .92em; padding: 1px 6px; border-radius: 6px; background: rgba(124, 58, 237, .2); color: #f0abfc; }

.dl-group + .dl-group { margin-top: 16px; }
.dl-group h3 { font-size: 15px; margin-bottom: 10px; }
.dl-links { display: flex; flex-wrap: wrap; gap: 10px; }

.table-wrap { overflow-x: auto; }
.orders { width: 100%; border-collapse: collapse; font-size: 14px; }
.orders th, .orders td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.orders th { color: var(--dim); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.orders td.num, .orders th.num { text-align: right; }
.orders tr:last-child td { border-bottom: 0; }
@media (max-width: 640px) {
  .orders thead { display: none; }
  .orders, .orders tbody, .orders tr, .orders td { display: block; width: 100%; }
  .orders tr { padding: 10px 0; border-bottom: 1px solid var(--border); }
  .orders tr:last-child { border-bottom: 0; }
  .orders td { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; border: 0; white-space: normal; }
  .orders td::before { content: attr(data-label); color: var(--dim); font-size: 13px; }
  .orders td.num { text-align: right; }
}

.state-box { text-align: center; padding: 70px 20px; color: var(--muted); }
.state-box .spinner { width: 34px; height: 34px; margin: 0 auto 16px; border-width: 3px; border-color: rgba(168, 85, 247, .25); border-top-color: #c084fc; }
.state-box h2 { color: var(--text); font-family: var(--font-display); margin-bottom: 8px; }
.state-box .btn { margin-top: 18px; }

.copy-ok { color: #4ade80 !important; border-color: rgba(74, 222, 128, .6) !important; }

/* ---------- Legal pages ---------- */
.legal { max-width: 820px; }
.legal h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(30px, 4vw, 44px); }
.legal .updated { color: var(--dim); font-size: 14px; margin-top: 8px; }
.placeholder-note {
  margin: 22px 0 30px; padding: 14px 18px; border-radius: 12px;
  border: 1px dashed rgba(251, 191, 36, .6); background: rgba(251, 191, 36, .07);
  color: #fbe7b0; font-size: 14px; font-weight: 600;
}
.legal h2 { font-family: var(--font-display); font-weight: 700; font-size: 22px; margin: 32px 0 10px; }
.legal p, .legal li { color: #d4cce9; font-size: 15.5px; line-height: 1.7; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 22px; margin: 10px 0; }
.legal a { color: #d8a6ff; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 0; }
  .features-head { grid-column: 1 / -1; padding-right: 0; }
  .feature:nth-of-type(odd) { border-left: 0; padding-left: 0; }
  .setup-bar { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 0; }
  .setup-title { grid-column: 1 / -1; padding-right: 0; }
  .setup-item:nth-of-type(1) { border-left: 0; }
  .setup-bar > .btn { grid-column: 1 / -1; margin-left: 0; justify-self: center; }
}
@media (max-width: 960px) {
  .models { grid-template-columns: 1fr; gap: 22px; }
  .faq { grid-template-columns: 1fr; gap: 26px; padding-bottom: 60px; }
  .setup-details { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .acct-grid { grid-template-columns: 1fr; }
  .acct-head .acct-head-actions { margin-left: 0; width: 100%; }
}
@media (max-width: 560px) {
  :root { --gutter: 16px; }
  .section { padding: 46px 0; }
  .hero-buttons .btn { flex: 1 1 150px; min-width: 0; }
  .hero-trust { gap: 14px 20px; }
  .features { grid-template-columns: 1fr; }
  .feature { border-left: 0; padding: 0; }
  .model-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .setup-bar { padding: 20px 14px; }
  .setup-title > svg { width: 40px; height: 40px; }
  .setup-title h2 { font-size: 21px; }
  .setup-item { font-size: 12px; padding: 4px 6px; }
  .setup-item svg { width: 48px; height: 34px; }
  .plan { padding: 26px 20px 22px; }
  .modal { padding: 10px; place-items: end center; }
  .modal-dialog { padding: 22px 18px; max-height: calc(100dvh - 20px); }
  .modal-dialog h2 { font-size: 22px; }
  .order-summary .os-price { font-size: 24px; }
  .card { padding: 18px 16px; }
  .platform { width: 100%; }
}
