:root {
  --pink: #e31b73;
  --pink-hot: #ff4d94;
  --pink-deep: #c2185b;
  --pink-soft: #fde7f0;
  --gold: #e6b84a;
  --ink: #171717;
  --bg: #ffffff;
  --bg-2: #f6f6f6;
  --surface: #ffffff;
  --text: #171717;
  --muted: #5a5a5a;
  --line: #e6e6e6;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  --header: rgba(255, 255, 255, 0.94);
  --chip: #fff;
  --ph: repeating-linear-gradient(135deg, #f2f2f2 0 12px, #fafafa 12px 24px);
  --radius: 18px;
  --max: 1080px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  color-scheme: light;
}

[data-theme="dark"] {
  --bg: #121212;
  --bg-2: #1a1a1a;
  --surface: #1c1c1c;
  --text: #f3f3f3;
  --muted: #a3a3a3;
  --line: #2e2e2e;
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  --header: rgba(18, 18, 18, 0.92);
  --chip: #242424;
  --ph: repeating-linear-gradient(135deg, #2a2a2a 0 12px, #1c1c1c 12px 24px);
  --pink-soft: #2a151c;
  --ink: #f3f3f3;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Figtree, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--pink-deep); text-decoration: none; }
[data-theme="dark"] a { color: var(--pink-hot); }
button, input, select { font: inherit; }

h1, h2, h3 {
  font-family: Sora, Figtree, sans-serif;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(1.7rem, 3.4vw, 2.55rem); }
h2 { font-size: clamp(1.25rem, 2.2vw, 1.7rem); }
h3 { font-size: 1.05rem; }

.wrap { width: min(var(--max), calc(100% - 32px)); margin-inline: auto; }
.skip {
  position: absolute; left: -999px; top: 8px;
}
.skip:focus { left: 8px; background: var(--pink); color: #fff; padding: 8px 12px; z-index: 80; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--header);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; gap: 16px;
  min-height: 68px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  color: var(--text);
  margin-right: auto;
}
.brand-mark {
  width: 42px; height: 42px; border-radius: 12px; overflow: hidden;
  box-shadow: 0 0 0 2px var(--pink-soft);
  flex-shrink: 0;
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.brand-word {
  display: flex; flex-direction: column; line-height: 1.05;
}
.brand-word b { font-family: Sora, sans-serif; font-size: 1.05rem; }
.brand-word small { color: var(--muted); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; }

.nav-desk { display: flex; gap: 4px; }
.nav-desk a, .drawer nav a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--text);
  font-weight: 650;
  font-size: 0.92rem;
}
.nav-desk a:hover, .drawer nav a:hover { background: var(--pink-soft); color: var(--pink-deep); }
.nav-desk a.is-active {
  background: var(--pink);
  color: #fff;
}

.header-actions { display: flex; align-items: center; gap: 8px; }

.icon-btn {
  width: 40px; height: 40px; border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  display: grid; place-items: center;
  cursor: pointer;
}
.icon-btn:hover { border-color: var(--pink); color: var(--pink); }
.icon-btn iconify-icon { font-size: 18px; }
.icon-btn .moon { display: none; }
[data-theme="dark"] .icon-btn .sun { display: none; }
[data-theme="dark"] .icon-btn .moon { display: inline-flex; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px;
  padding: 11px 18px;
  font-weight: 700;
  border: 0;
  cursor: pointer;
  font-family: Sora, sans-serif;
  font-size: 0.9rem;
}
.btn-pink,
a.btn-pink {
  background: linear-gradient(180deg, var(--pink-hot), var(--pink));
  color: #fff;
  box-shadow: 0 8px 18px rgba(227, 27, 115, 0.28);
}
.btn-pink:hover,
a.btn-pink:hover { filter: brightness(1.05); color: #fff; }
.btn-ink { background: var(--ink); color: #fff; }
[data-theme="dark"] .btn-ink { background: #fff; color: #1c0a12; }
.btn-ghost,
a.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}
[data-theme="dark"] a.btn-pink { color: #fff; }
[data-theme="dark"] a.btn-ghost { color: #f3f3f3; border-color: #5a5a5a; }
.btn-lg { padding: 14px 22px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn iconify-icon { font-size: 1.15em; }
.btn-arrow iconify-icon {
  display: inline-block;
  animation: arrow-move 1s ease-in-out infinite;
}
@keyframes arrow-move {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(7px); }
}
@media (prefers-reduced-motion: reduce) {
  .btn-arrow iconify-icon { animation: none; }
}

.cta-stack {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  width: min(540px, 100%);
  margin-top: 8px;
}
.cta-devices {
  display: flex;
  flex-direction: row;
  gap: 8px;
  width: 100%;
  margin: 0;
}
.cta-devices .btn { flex: 1; }
.btn-play { width: 100%; justify-content: center; }

.cred-box {
  width: min(440px, 100%);
  margin: 18px auto 0;
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.cred-head {
  background: linear-gradient(120deg, var(--pink-deep), var(--pink-hot));
  color: #fff;
  padding: 16px 20px;
}
.cred-head strong { display: block; font-family: Sora, sans-serif; font-size: 1.05rem; }
.cred-head span { display: block; margin-top: 4px; font-size: 0.82rem; opacity: 0.92; }
.cred-body { padding: 8px 20px 20px; }
.cred-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.cred-row:last-of-type { border-bottom: 0; }
.cred-row small { display: block; color: var(--muted); font-size: 0.72rem; text-transform: uppercase; letter-spacing: .08em; }
.cred-row b {
  font-family: Consolas, ui-monospace, monospace;
  font-size: 1.35rem;
  letter-spacing: 0.08em;
}
.cred-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.cred-actions .btn { flex: 1; }

.menu-btn { display: none; }

/* Drawer */
.drawer {
  position: fixed; inset: 0 0 0 auto; width: min(84vw, 320px);
  background: var(--surface);
  z-index: 60;
  padding: 20px;
  border-left: 1px solid var(--line);
  transform: translateX(100%);
  transition: transform .22s ease;
  visibility: hidden;
}
.drawer.open { transform: none; visibility: visible; }
.drawer nav { display: flex; flex-direction: column; gap: 6px; margin-top: 24px; }
.scrim {
  display: none;
  position: fixed; inset: 0; background: rgba(20, 4, 10, 0.45); z-index: 50;
}
.scrim.show { display: block; }
body.nav-open { overflow: hidden; }

/* Hero */
.hero {
  position: relative;
  padding: 28px 0 12px;
}
.hero-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
}
.hero-center h1 { max-width: 16em; }
.hero-center .lead {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 46ch;
  margin: 0 0 8px;
}
.hero-center .banner-ph,
.hero-center .banner-img {
  width: 100%;
  margin: 10px 0 6px;
}
.banner-img {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.banner-img img {
  width: 100%;
  height: auto;
  display: block;
}
.hero-center .cta-row,
.hero-center .stats { justify-content: center; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
  position: relative;
}
.hero p.lead { font-size: 1.05rem; color: var(--muted); max-width: 42ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 12px; }
.fine { font-size: 0.82rem; color: var(--muted); }

.stats {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 10px;
}
.stats span {
  background: var(--chip);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.82rem;
  font-weight: 650;
}

/* Banner placeholder */
.banner-ph {
  margin: 0;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  background: var(--ph);
  border: 2px dashed var(--pink);
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--pink-deep);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
[data-theme="dark"] .banner-ph { color: var(--pink-hot); }
.banner-ph strong {
  font-family: Sora, sans-serif;
  font-size: 1.1rem;
  display: block;
}
.banner-ph small { display: block; margin-top: 4px; opacity: 0.8; }
.banner-wide { margin: 8px 0 0; }

/* Sections */
.section { padding: 42px 0; }
.section.alt { background: var(--bg-2); }
.section-head { margin-bottom: 22px; max-width: 66ch; }
.section-head p { color: var(--muted); margin: 0; }
.copy { max-width: 66ch; }
.copy p { color: var(--muted); }
.hero-center > p { color: var(--muted); max-width: 48ch; margin: 0 0 8px; }

.grid-3, .grid-2 { display: grid; gap: 16px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}
.card.device { display: flex; flex-direction: column; gap: 10px; min-height: 100%; color: inherit; }
a.card.device:hover { border-color: var(--pink); }
.card .ico {
  width: 46px; height: 46px; border-radius: 14px;
  background: var(--pink-soft);
  color: var(--pink);
  display: grid; place-items: center;
}
.card .ico iconify-icon { font-size: 24px; }
.card p { color: var(--muted); margin: 0 0 12px; }
.card .btn { margin-top: auto; align-self: flex-start; }

.steps { counter-reset: step; display: grid; gap: 14px; }
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--pink);
  color: #fff;
  font-family: Sora, sans-serif;
  font-weight: 700;
  display: grid; place-items: center;
}
.step h3 { margin: 0 0 4px; }
.step p { margin: 0; color: var(--muted); }

.alias {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 22px;
  align-items: center;
}
.logo-plate {
  background: #0a0006;
  border-radius: 20px;
  padding: 16px 12px;
  display: grid;
  place-items: center;
}
.logo-plate img { width: 140px; height: auto; }

.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
th, td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); }
th { background: var(--bg-2); color: var(--muted); font-size: 0.8rem; letter-spacing: 0.04em; text-transform: uppercase; }
tr:last-child td { border-bottom: 0; }

.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 4px 16px;
  margin-bottom: 8px;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  padding: 12px 0;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq details p { color: var(--muted); margin: 0 0 14px; }

.cta-band {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}
.cta-band p { margin: 0; color: var(--muted); }

.page-hero { padding: 28px 0 8px; }
.crumb { font-size: 0.85rem; color: var(--muted); margin-bottom: 10px; }
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--pink); }

.pending {
  border: 1px dashed var(--line);
  background: var(--bg-2);
  color: var(--muted);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 0.92rem;
}

.login-shell {
  min-height: 58vh;
  display: grid;
  place-items: center;
  padding: 28px 0 48px;
}
.login-card {
  width: min(420px, 100%);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px 24px;
  box-shadow: var(--shadow);
}
.login-card .brand-center { display: grid; place-items: center; margin-bottom: 8px; }
.login-card .brand-center img { width: 64px; height: 64px; border-radius: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin: 12px 0; }
.field label { font-size: 0.82rem; font-weight: 700; }
.field input {
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
  border-radius: 12px;
  padding: 12px 12px;
}
.field input:focus { outline: 2px solid var(--pink-hot); border-color: var(--pink); }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 36px 0 48px;
  background: var(--surface);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
}
.site-footer a { color: var(--text); }
.site-footer a:hover { color: var(--pink); }
.foot-links { display: flex; flex-direction: column; gap: 8px; }
.age {
  display: inline-block;
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.78rem;
  font-weight: 700;
}
.legal { margin-top: 22px; color: var(--muted); font-size: 0.82rem; }

.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 35;
  display: none;
  gap: 8px;
  padding: 10px 12px calc(10px + var(--safe-bottom));
  background: var(--header);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.mobile-cta .btn { flex: 1; }

@media (max-width: 860px) {
  .nav-desk, .desk-only { display: none; }
  .menu-btn { display: grid; }
  .hero-grid, .grid-3, .grid-2, .alias, .cta-band, .foot-grid {
    grid-template-columns: 1fr;
  }
  .mobile-cta { display: flex; }
  .header-inner { min-height: 60px; }
  .cta-row { width: 100%; flex-direction: column; align-items: stretch; }
  .cta-row .btn { width: 100%; }
  .cta-devices { flex-direction: row; }
  .cta-devices .btn { width: auto; padding: 12px 8px; font-size: 0.85rem; }
}
