/* Yomira website. Plain CSS, no build step. */

:root {
  --bg: #07060f;
  --bg-2: #0e0b22;
  --ink: #f4f1ff;
  --ink-2: rgba(244, 241, 255, 0.72);
  --ink-3: rgba(244, 241, 255, 0.5);
  --accent: #aab4ff;
  --accent-2: #7c5cff;
  --moon: #ffc857;
  --pink: #ff7ab8;
  --glass: rgba(255, 255, 255, 0.07);
  --glass-strong: rgba(22, 18, 48, 0.62);
  --glass-line: rgba(255, 255, 255, 0.14);
  --glass-hi: rgba(255, 255, 255, 0.22);
  --blur: 18px;
  --radius: 26px;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.7);
  --max: 1160px;
  --head-font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --body-font: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;
  color-scheme: dark;
}

@media (max-width: 720px) {
  :root { --blur: 12px; --radius: 22px; }
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--body-font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 10px; }

.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;
}

/* Background: night gradient, two soft auroras and a sprinkle of stars. Static, so it costs
   nothing while scrolling. */
.sky {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60vmax 50vmax at 12% -8%, rgba(124, 92, 255, 0.34), transparent 60%),
    radial-gradient(55vmax 45vmax at 105% 20%, rgba(255, 122, 184, 0.16), transparent 60%),
    radial-gradient(70vmax 60vmax at 50% 115%, rgba(80, 110, 255, 0.22), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 55%, var(--bg) 100%);
}
.sky::after {
  content: ""; position: absolute; inset: 0; opacity: 0.55;
  background-image:
    radial-gradient(1px 1px at 20px 30px, rgba(255,255,255,.7), transparent 60%),
    radial-gradient(1px 1px at 120px 80px, rgba(255,255,255,.5), transparent 60%),
    radial-gradient(1.5px 1.5px at 200px 160px, rgba(255,255,255,.6), transparent 60%),
    radial-gradient(1px 1px at 80px 220px, rgba(255,255,255,.4), transparent 60%),
    radial-gradient(1px 1px at 260px 40px, rgba(255,255,255,.5), transparent 60%);
  background-size: 300px 260px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 70%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 70%);
}

/* Glass ------------------------------------------------------------------------------------- */

.glass {
  background: linear-gradient(160deg, rgba(255,255,255,0.11), rgba(255,255,255,0.04));
  border: 1px solid var(--glass-line);
  box-shadow: inset 0 1px 0 var(--glass-hi), var(--shadow);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(170%);
  backdrop-filter: blur(var(--blur)) saturate(170%);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: var(--glass-strong); }
}
/* Cards that sit on the plain background do not need a live blur: a tinted surface looks the
   same and is much cheaper on low-end phones. */
.surface {
  background: linear-gradient(160deg, rgba(255,255,255,0.09), rgba(255,255,255,0.03));
  border: 1px solid var(--glass-line);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12);
}

/* Header ------------------------------------------------------------------------------------ */

.site-head {
  position: fixed; z-index: 50; left: 50%; top: 16px;
  width: min(var(--max), calc(100% - 24px));
  height: 64px;
  transform: translateX(-50%);
  display: flex; align-items: center; gap: 14px;
  padding: 0 10px 0 14px;
  border-radius: 999px;
  transition: width .45s cubic-bezier(.2,.8,.2,1), height .45s cubic-bezier(.2,.8,.2,1),
    top .45s cubic-bezier(.2,.8,.2,1), padding .45s, background .3s;
}
.site-head.compact {
  top: 10px; height: 52px;
  width: min(880px, calc(100% - 24px));
  padding: 0 6px 0 10px;
  background: linear-gradient(160deg, rgba(30,24,64,0.6), rgba(16,12,36,0.5));
}
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--head-font); font-weight: 800; letter-spacing: .02em; }
.brand img { width: 38px; height: 38px; border-radius: 11px; transition: width .45s, height .45s; }
.site-head.compact .brand img { width: 32px; height: 32px; border-radius: 9px; }
.brand span { font-size: 1.08rem; }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a {
  padding: 8px 13px; border-radius: 999px; font-size: .92rem; color: var(--ink-2);
  transition: background .2s, color .2s;
}
.nav a:hover, .nav a.active { background: rgba(255,255,255,0.08); color: var(--ink); }
.site-head.compact .nav a { padding: 7px 10px; font-size: .86rem; }
.head-actions { display: flex; align-items: center; gap: 8px; }

.lang { position: relative; }
.lang-btn {
  display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px;
  border-radius: 999px; border: 1px solid var(--glass-line); background: rgba(255,255,255,0.05);
  cursor: pointer; font-size: .86rem; font-weight: 600;
}
.site-head.compact .lang-btn { height: 36px; }
.lang-btn svg { width: 18px; height: 18px; opacity: .85; }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 10px); min-width: 170px; padding: 6px;
  border-radius: 18px; display: none;
}
.lang-menu.open { display: block; }
.lang-menu button {
  display: flex; width: 100%; justify-content: space-between; align-items: center;
  padding: 10px 12px; border: 0; border-radius: 12px; background: none; cursor: pointer; text-align: left;
}
.lang-menu button:hover, .lang-menu button[aria-checked="true"] { background: rgba(255,255,255,0.09); }
.lang-menu small { color: var(--ink-3); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 20px; border-radius: 999px; border: 0; cursor: pointer;
  font-weight: 700; font-size: .95rem; white-space: nowrap;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn:active { transform: scale(.97); }
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  color: #120c2c;
  background: linear-gradient(135deg, #ffffff 0%, #dfe2ff 100%);
  box-shadow: 0 10px 30px -10px rgba(170,180,255,.7), inset 0 -2px 0 rgba(0,0,0,.08);
}
.btn-primary:hover { box-shadow: 0 14px 36px -10px rgba(170,180,255,.9); }
.btn-ghost { background: rgba(255,255,255,0.07); border: 1px solid var(--glass-line); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); }
.head-actions .btn { height: 40px; padding: 0 16px; font-size: .88rem; }
.site-head.compact .head-actions .btn { height: 36px; }

.menu-btn {
  display: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--glass-line);
  background: rgba(255,255,255,0.05); cursor: pointer; align-items: center; justify-content: center;
}
.menu-btn svg { width: 20px; height: 20px; }
.mobile-nav {
  position: fixed; z-index: 49; left: 12px; right: 12px; top: 84px; padding: 10px;
  border-radius: 24px; display: none; flex-direction: column;
}
.mobile-nav.open { display: flex; }
.mobile-nav a { padding: 13px 16px; border-radius: 14px; font-weight: 600; }
.mobile-nav a:hover { background: rgba(255,255,255,.08); }

@media (max-width: 960px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .head-actions { margin-left: auto; }
}
@media (max-width: 480px) {
  .head-actions .btn-download span { display: none; }
  .head-actions .btn-download { width: 40px; padding: 0; }
  .brand span { font-size: 1rem; }
}

/* Layout ------------------------------------------------------------------------------------ */

main { display: block; }
.wrap { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
section { padding: 110px 0; position: relative; }
@media (max-width: 720px) { section { padding: 76px 0; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent);
  background: rgba(170,180,255,0.1); border: 1px solid rgba(170,180,255,0.25);
}
h1, h2, h3 { font-family: var(--head-font); line-height: 1.12; margin: 0; }
h1 { font-size: clamp(2.5rem, 5.2vw, 4.3rem); font-weight: 800; font-style: italic; letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); font-weight: 800; font-style: italic; letter-spacing: -0.01em; }
h3 { font-size: 1.18rem; font-weight: 700; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--ink-2); max-width: 640px; }
.section-head { text-align: center; display: grid; justify-items: center; gap: 16px; margin-bottom: 54px; }
.section-head .lead { margin: 0; }
.grad {
  background: linear-gradient(100deg, #ffffff 10%, var(--accent) 50%, var(--moon) 95%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Reveal on scroll (added by JS; without JS everything is visible). */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* Hero -------------------------------------------------------------------------------------- */

.hero { padding: 150px 0 60px; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero-copy { display: grid; gap: 22px; justify-items: start; }
.hero-mark { width: 120px; height: auto; filter: drop-shadow(0 10px 30px rgba(124,92,255,.45)); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--ink-3); font-size: .9rem; }
.hero-meta b { color: var(--ink-2); font-weight: 600; }

.stage { position: relative; height: 640px; }
.phone {
  position: absolute; width: 270px; aspect-ratio: 720 / 1507; border-radius: 40px; padding: 9px;
  background: linear-gradient(160deg, #2a2440, #0d0b18);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.85), inset 0 0 0 1px rgba(255,255,255,.12), inset 0 1px 0 rgba(255,255,255,.2);
  will-change: transform;
}
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 32px; }
.phone::after {
  content: ""; position: absolute; top: 17px; left: 50%; width: 70px; height: 20px; transform: translateX(-50%);
  border-radius: 999px; background: #05040b;
}
.stage .p1 { left: 50%; top: 0; margin-left: -135px; z-index: 3; }
.stage .p2 { left: 4%; top: 90px; width: 230px; z-index: 2; opacity: .92; }
.stage .p3 { right: 2%; top: 120px; width: 230px; z-index: 1; opacity: .85; }
.glow {
  position: absolute; left: 50%; top: 45%; width: 520px; height: 520px; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(124,92,255,.45), transparent 62%); filter: blur(10px); z-index: 0;
}

@media (max-width: 960px) {
  .hero { padding-top: 120px; min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { justify-items: center; }
  .hero-actions, .hero-meta { justify-content: center; }
  .stage { height: 520px; margin-top: 10px; }
  .phone { width: 220px; }
  .stage .p1 { margin-left: -110px; }
  .stage .p2, .stage .p3 { width: 180px; }
}
@media (max-width: 480px) {
  .hero-mark { width: 92px; }
  .stage { height: 440px; }
  .phone { width: 190px; border-radius: 32px; padding: 7px; }
  .phone img { border-radius: 26px; }
  .stage .p1 { margin-left: -95px; }
  .stage .p2 { left: -6%; width: 150px; top: 80px; }
  .stage .p3 { right: -6%; width: 150px; top: 100px; }
}

/* Features ---------------------------------------------------------------------------------- */

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature { padding: 26px 24px; border-radius: var(--radius); display: grid; gap: 10px; align-content: start; }
.feature .ico {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(170,180,255,.28), rgba(124,92,255,.18));
  border: 1px solid rgba(170,180,255,.3);
}
.feature .ico svg { width: 24px; height: 24px; }
.feature p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.feature:nth-child(3n+2) .ico { background: linear-gradient(135deg, rgba(255,200,87,.3), rgba(255,122,184,.16)); border-color: rgba(255,200,87,.3); }
.feature:nth-child(3n) .ico { background: linear-gradient(135deg, rgba(255,122,184,.28), rgba(124,92,255,.18)); border-color: rgba(255,122,184,.3); }
@media (max-width: 1040px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

/* Gallery ----------------------------------------------------------------------------------- */

.gallery {
  display: flex; gap: 22px; overflow-x: auto; padding: 20px max(16px, calc((100vw - var(--max)) / 2)) 40px;
  scroll-snap-type: x mandatory; scrollbar-width: none;
}
.gallery::-webkit-scrollbar { display: none; }
.shot { flex: 0 0 auto; scroll-snap-align: center; display: grid; gap: 14px; justify-items: center; }
.shot .phone { position: relative; width: 250px; }
.shot figcaption { font-weight: 700; font-family: var(--head-font); }
.shot figcaption small { display: block; font-family: var(--body-font); font-weight: 400; color: var(--ink-3); text-align: center; }
.gallery-hint { text-align: center; color: var(--ink-3); font-size: .9rem; margin-top: -10px; }

/* Split rows -------------------------------------------------------------------------------- */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.flip > :first-child { order: 2; }
.split .copy { display: grid; gap: 18px; justify-items: start; }
.checks { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; color: var(--ink-2); }
.checks li b { color: var(--ink); font-weight: 650; }
.checks li::before {
  content: ""; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: rgba(170,180,255,.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23aab4ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/14px no-repeat;
  border: 1px solid rgba(170,180,255,.35);
}
.media-card { border-radius: var(--radius); overflow: hidden; position: relative; }
.media-card img { width: 100%; }
.media-stack { position: relative; }
.media-stack .back { position: absolute; width: 74%; right: -6%; bottom: -16%; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--glass-line); }
@media (max-width: 900px) {
  .split, .split.flip { grid-template-columns: 1fr; gap: 36px; }
  .split.flip > :first-child { order: 0; }
  .media-stack .back { position: relative; width: 82%; right: auto; bottom: auto; margin: -18% 0 0 auto; }
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 7px 13px; border-radius: 999px; font-size: .85rem; font-weight: 600; background: rgba(255,255,255,.07); border: 1px solid var(--glass-line); }

/* Tab bar demo ------------------------------------------------------------------------------ */

.navdemo { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.navphone {
  position: relative; width: 320px; margin: 0 auto; aspect-ratio: 720 / 1507; border-radius: 46px; padding: 10px;
  background: linear-gradient(160deg, #2a2440, #0d0b18);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.85), inset 0 0 0 1px rgba(255,255,255,.12);
}
.navscreen { position: relative; width: 100%; height: 100%; border-radius: 37px; overflow: hidden; background: #000; }
.navscroll { position: absolute; inset: 0; overflow-y: auto; scrollbar-width: none; overscroll-behavior: contain; }
.navscroll::-webkit-scrollbar { display: none; }
.navscroll img { width: 100%; }
.tabbar-wrap { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 8px; padding: 0 12px; pointer-events: none; }
.tabbar, .orb { pointer-events: auto; }
.tabbar {
  position: relative; height: 56px; border-radius: 999px; touch-action: pan-y;
  background: linear-gradient(160deg, rgba(255,255,255,.16), rgba(255,255,255,.05));
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 14px 34px -14px rgba(0,0,0,.8);
  -webkit-backdrop-filter: blur(14px) saturate(190%);
  backdrop-filter: blur(14px) saturate(190%);
}
.tabbar .lens {
  position: absolute; top: 4px; bottom: 4px; left: 4px; border-radius: 999px;
  background: rgba(255,255,255,.14); border: .5px solid rgba(255,255,255,.22);
  will-change: transform;
}
.tabbar .tabs { position: absolute; inset: 4px; display: flex; }
.tabbar .tab {
  flex: 1 1 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  border: 0; background: none; cursor: pointer; color: rgba(244,241,255,.78); padding: 0; min-width: 0;
}
.tabbar .tab svg { width: 21px; height: 21px; flex: none; }
.tabbar .tab span { font-size: 9.5px; font-weight: 600; line-height: 1.25; white-space: nowrap; overflow: hidden; }
.tabbar .tab.on { color: var(--accent); }
.orb {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: linear-gradient(160deg, rgba(255,255,255,.16), rgba(255,255,255,.05));
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 14px 34px -14px rgba(0,0,0,.8);
  -webkit-backdrop-filter: blur(14px) saturate(190%);
  backdrop-filter: blur(14px) saturate(190%);
}
.orb svg { width: 24px; height: 24px; }
.navdemo .hint { display: flex; gap: 10px; align-items: center; color: var(--ink-3); font-size: .9rem; }
.navdemo .controls { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 900px) { .navdemo { grid-template-columns: 1fr; } .navdemo .copy { order: -1; } }
@media (max-width: 380px) { .navphone { width: 280px; } }

/* Video ------------------------------------------------------------------------------------- */

.video-card { border-radius: 30px; padding: 10px; }
.video-card video { width: 100%; border-radius: 22px; aspect-ratio: 16 / 9; background: #000; object-fit: cover; }

/* Discord card mock ------------------------------------------------------------------------- */

.discord {
  width: min(420px, 100%); margin: 0 auto; border-radius: 22px; padding: 18px; background: #232428;
  border: 1px solid rgba(255,255,255,.06); box-shadow: 0 30px 70px -30px rgba(0,0,0,.9);
  font-family: "gg sans", "Noto Sans", system-ui, sans-serif;
}
.discord .who { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.discord .avatar { position: relative; width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(135deg, #7c5cff, #ff7ab8); }
.discord .avatar::after { content: ""; position: absolute; right: -2px; bottom: -2px; width: 16px; height: 16px; border-radius: 50%; background: #23a55a; border: 3px solid #232428; }
.discord .name { font-weight: 700; }
.discord .tag { color: #b5bac1; font-size: .85rem; }
.discord .act { background: #111214; border-radius: 14px; padding: 14px; }
.discord .act-title { display: flex; justify-content: space-between; align-items: center; font-size: .78rem; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; color: #dbdee1; margin-bottom: 10px; }
.discord .act-title img { width: 22px; height: 22px; border-radius: 6px; }
.discord .row { display: flex; gap: 12px; }
.discord .cover { width: 74px; flex: none; aspect-ratio: 2 / 3; border-radius: 8px; overflow: hidden; position: relative; }
.discord .cover img { width: 100%; height: 100%; object-fit: cover; }
.discord .meta { min-width: 0; display: grid; align-content: center; gap: 2px; }
.discord .meta b { font-size: .98rem; }
.discord .meta span { font-size: .85rem; color: #dbdee1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.discord .meta em { font-style: normal; font-size: .8rem; color: #b5bac1; display: inline-flex; align-items: center; gap: 6px; }
.discord .bar { margin-top: 12px; height: 4px; border-radius: 4px; background: #3f4147; overflow: hidden; }
.discord .bar i { display: block; height: 100%; width: 34%; background: #5865f2; border-radius: 4px; animation: progress 24s linear infinite; }
.discord .times { display: flex; justify-content: space-between; font-size: .75rem; color: #b5bac1; margin-top: 4px; font-variant-numeric: tabular-nums; }
.discord .cta { margin-top: 12px; display: grid; gap: 8px; }
.discord .cta a { display: block; text-align: center; padding: 9px; border-radius: 8px; background: #4e5058; font-size: .88rem; font-weight: 600; }
@keyframes progress { from { width: 18%; } to { width: 96%; } }
@media (prefers-reduced-motion: reduce) { .discord .bar i { animation: none; } }

/* Guide ------------------------------------------------------------------------------------- */

.guide { display: grid; grid-template-columns: 300px 1fr; gap: 22px; align-items: start; }
.guide-tabs { border-radius: var(--radius); padding: 8px; display: grid; gap: 4px; position: sticky; top: 96px; }
.guide-tabs button {
  display: flex; gap: 12px; align-items: center; width: 100%; padding: 12px 14px; border: 0; border-radius: 16px;
  background: none; cursor: pointer; text-align: left; color: var(--ink-2); font-weight: 600;
}
.guide-tabs button .n {
  width: 28px; height: 28px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: .82rem;
  background: rgba(255,255,255,.07); border: 1px solid var(--glass-line);
}
.guide-tabs button[aria-selected="true"] { background: rgba(170,180,255,.12); color: var(--ink); }
.guide-tabs button[aria-selected="true"] .n { background: var(--accent); color: #120c2c; border-color: transparent; }
.guide-panel { border-radius: var(--radius); padding: 30px; display: none; gap: 16px; }
.guide-panel.on { display: grid; }
.guide-panel ol { margin: 0; padding-left: 1.3em; display: grid; gap: 10px; color: var(--ink-2); }
.guide-panel ol b, .guide-panel p b { color: var(--ink); }
.guide-panel p { margin: 0; color: var(--ink-2); }
.path { display: inline-block; padding: 1px 9px; border-radius: 8px; background: rgba(170,180,255,.12); color: var(--ink); font-weight: 600; font-size: .92em; }
code, .mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .88em; }
.note { padding: 14px 16px; border-radius: 16px; background: rgba(255,200,87,.08); border: 1px solid rgba(255,200,87,.25); color: var(--ink-2); font-size: .93rem; }
@media (max-width: 900px) {
  .guide { grid-template-columns: 1fr; }
  .guide-tabs { position: static; display: flex; overflow-x: auto; scrollbar-width: none; }
  .guide-tabs::-webkit-scrollbar { display: none; }
  .guide-tabs button { width: auto; white-space: nowrap; }
  .guide-panel { padding: 22px; }
}

/* FAQ --------------------------------------------------------------------------------------- */

.faq { display: grid; gap: 12px; max-width: 860px; margin: 0 auto; }
.faq details { border-radius: 20px; padding: 4px 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 0; font-weight: 700; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--accent); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--ink-2); }

/* Download ---------------------------------------------------------------------------------- */

.download { border-radius: 34px; padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; overflow: hidden; position: relative; }
.download::before {
  content: ""; position: absolute; inset: -40% -10% auto auto; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,200,87,.22), transparent 65%); pointer-events: none;
}
.download .icon { width: 150px; height: 150px; border-radius: 36px; box-shadow: 0 30px 60px -20px rgba(124,92,255,.7); }
.download .copy { display: grid; gap: 14px; justify-items: start; position: relative; }
.apks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; width: 100%; margin-top: 6px; }
.apk { padding: 14px 16px; border-radius: 18px; display: grid; gap: 2px; transition: background .2s, transform .2s; }
.apk:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); }
.apk b { font-size: .95rem; }
.apk small { color: var(--ink-3); }
.apk.rec { border-color: rgba(170,180,255,.5); background: rgba(170,180,255,.12); }
.small-print { color: var(--ink-3); font-size: .85rem; }
.small-print code { word-break: break-all; }
@media (max-width: 820px) {
  .download { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .download .copy { justify-items: center; }
  .apks { grid-template-columns: 1fr; }
}

/* Footer ------------------------------------------------------------------------------------ */

footer { padding: 50px 0 60px; color: var(--ink-3); font-size: .9rem; }
.foot { display: flex; flex-wrap: wrap; gap: 18px 30px; justify-content: space-between; align-items: center; border-top: 1px solid var(--glass-line); padding-top: 30px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot nav a:hover { color: var(--ink); }
.foot .brand { color: var(--ink); }
.disclaimer { margin-top: 18px; font-size: .82rem; max-width: 760px; }
