/* ============================================================
   RoVault — landing page
   Concept: "The Vault" — control-panel / HUD identity, obsidian
   surfaces with the app's signature crimson seam.
   ============================================================ */

:root {
  /* palette */
  --obsidian: #07070c;
  --panel:    #11111d;
  --panel-2:  #161626;
  --ice:      #ececf6;
  --slate:    #8a8aa8;
  --slate-dim:#5a5a78;
  --crimson:  #e63946;
  --electric: #4a90e2;
  --mint:     #2ecc71;
  --line:     rgba(255,255,255,.07);
  --line-2:   rgba(255,255,255,.12);

  /* accent (live-swappable by the recolor demo only inside #recolor) */
  --accent: var(--crimson);

  /* type */
  --display: "Chakra Petch", system-ui, sans-serif;
  --body:    "Manrope", system-ui, sans-serif;
  --mono:    "JetBrains Mono", ui-monospace, monospace;

  /* rhythm */
  --shell: 1180px;
  --r: 16px;
  --r-sm: 10px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

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

/* atmospheric backdrop */
body::before {
  content: "";
  position: fixed; inset: 0;
  background:
    radial-gradient(900px 600px at 78% -8%, rgba(230,57,70,.10), transparent 60%),
    radial-gradient(700px 500px at 8% 12%, rgba(74,144,226,.07), transparent 55%);
  pointer-events: none; z-index: 0;
}

.shell { width: min(var(--shell), 100% - 44px); margin-inline: auto; }

a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--display); margin: 0; line-height: 1.08; letter-spacing: -.01em; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }

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

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

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  --btn-bg: transparent;
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--display); font-weight: 600; font-size: 14px;
  padding: 11px 18px; border-radius: 11px; border: 1px solid transparent;
  cursor: pointer; transition: transform .15s ease, background .15s, border-color .15s, box-shadow .15s;
  white-space: nowrap;
}
.btn--lg { padding: 14px 24px; font-size: 15px; }
.btn--primary {
  background: linear-gradient(180deg, #ff5663, var(--crimson));
  color: #fff; box-shadow: 0 8px 28px rgba(230,57,70,.32), inset 0 1px 0 rgba(255,255,255,.22);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(230,57,70,.42), inset 0 1px 0 rgba(255,255,255,.22); }
.btn--ghost { background: rgba(255,255,255,.03); border-color: var(--line-2); color: var(--ice); }
.btn--ghost:hover { background: rgba(255,255,255,.07); transform: translateY(-2px); }

/* ── Nav ─────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(7,7,12,.62);
  border-bottom: 1px solid transparent;
  transition: background .2s, border-color .2s;
}
.nav.is-stuck { background: rgba(7,7,12,.86); border-bottom-color: var(--line); }
.nav__inner { display: flex; align-items: center; gap: 22px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark { color: var(--crimson); display: inline-flex; filter: drop-shadow(0 0 10px rgba(230,57,70,.5)); }
.brand__word { font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: .01em; }
.brand__accent { color: var(--crimson); }
.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a { position: relative; font-size: 14px; color: var(--slate); font-weight: 500; transition: color .15s; }
.nav__links a:hover { color: var(--ice); }
.nav__links a[aria-current="page"] { color: var(--ice); }
.nav__links a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 2px;
  background: var(--crimson); border-radius: 2px; box-shadow: 0 0 8px rgba(230,57,70,.6);
}
.nav__cta { margin-left: 4px; }

/* ── Page header (interior pages) ────────────────────────── */
.pagehead { position: relative; z-index: 1; padding: 70px 0 6px; text-align: center; }
.pagehead .eyebrow { justify-content: center; }
.pagehead h1 { font-size: clamp(2rem, 4.6vw, 3rem); font-weight: 700; }
.pagehead p { color: var(--slate); max-width: 58ch; margin: 18px auto 0; font-size: 1.06rem; }
.pagecta { text-align: center; margin-top: 46px; }
.morelink {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 30px;
  font-family: var(--display); font-weight: 600; font-size: 14px; color: var(--ice);
}
.morelink svg { transition: transform .15s; }
.morelink:hover svg { transform: translateX(3px); }
.center { text-align: center; }

/* ── Hero ────────────────────────────────────────────────── */
.hero { position: relative; padding: 74px 0 84px; z-index: 1; }
.hero__seam {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
}
.hero__seam::after {
  content: ""; position: absolute; top: -10%; left: 62%; width: 1px; height: 130%;
  background: linear-gradient(180deg, transparent, rgba(230,57,70,.55), transparent);
  transform: rotate(13deg); box-shadow: 0 0 24px 2px rgba(230,57,70,.4);
}
.hero__grid {
  position: relative; display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 54px; align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--slate); margin: 0 0 18px;
}
.eyebrow__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--crimson); box-shadow: 0 0 9px var(--crimson); }
h1 { font-size: clamp(2.3rem, 5vw, 3.5rem); font-weight: 700; }
.grad {
  background: linear-gradient(100deg, var(--crimson), #ff8a93 60%, var(--electric));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede { color: var(--slate); font-size: 1.075rem; max-width: 52ch; margin: 20px 0 28px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 13px; margin-bottom: 16px; }
.hero__meta { font-size: 13px; color: var(--slate-dim); margin: 0; }
.hero__meta .mono { color: var(--slate); }

/* hero app mockup (signature) */
.hero__app { position: relative; }
.hero__glow {
  position: absolute; inset: 8% 6% 4%; z-index: -1; border-radius: 24px;
  background: radial-gradient(circle at 60% 30%, rgba(230,57,70,.22), transparent 65%);
  filter: blur(14px);
}
.app {
  display: grid; grid-template-columns: 52px 1fr; height: 360px;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line-2); border-radius: var(--r);
  overflow: hidden; box-shadow: 0 30px 70px rgba(0,0,0,.55);
  transform: perspective(1400px) rotateY(-9deg) rotateX(2.5deg);
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.hero__app:hover .app { transform: perspective(1400px) rotateY(-4deg) rotateX(1deg); }
.app__rail {
  background: rgba(0,0,0,.32); border-right: 1px solid var(--line);
  display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 14px 0;
}
.app__logo { width: 22px; height: 22px; border-radius: 7px; background: linear-gradient(180deg, #ff5663, var(--crimson)); box-shadow: 0 0 12px rgba(230,57,70,.6); }
.app__nav { width: 22px; height: 22px; border-radius: 7px; background: rgba(255,255,255,.05); }
.app__nav.is-active { background: rgba(230,57,70,.22); box-shadow: inset 0 0 0 1px rgba(230,57,70,.4); }
.app__nav--bottom { margin-top: auto; }
.app__body { padding: 16px 16px 0; display: flex; flex-direction: column; }
.app__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; }
.app__title { font-family: var(--display); font-weight: 700; font-size: 15px; }
.app__stats { display: flex; gap: 14px; font-family: var(--mono); font-size: 11px; color: var(--slate); }
.app__stats b { color: var(--ice); }
.app__cards { display: grid; gap: 9px; }
.acard {
  display: flex; align-items: center; gap: 11px;
  background: rgba(255,255,255,.035); border: 1px solid var(--line);
  border-radius: var(--r-sm); padding: 9px 11px;
}
.acard__av { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 12px; color: #fff; flex-shrink: 0; }
.acard__meta { flex: 1; min-width: 0; }
.acard__name { font-size: 12.5px; font-weight: 600; }
.acard__sub { font-family: var(--mono); font-size: 10px; color: var(--slate-dim); display: flex; align-items: center; gap: 6px; }
.acard__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--slate-dim); }
.acard__dot.on { background: var(--mint); box-shadow: 0 0 7px var(--mint); }
.acard__dot.game { background: var(--electric); box-shadow: 0 0 7px var(--electric); }
.acard__play {
  width: 26px; height: 26px; border-radius: 7px; flex-shrink: 0;
  background: rgba(230,57,70,.16); border: 1px solid rgba(230,57,70,.32);
  display: grid; place-items: center; color: #ff7480;
}
.acard__play svg { width: 12px; height: 12px; }

/* ── Reveal animation ────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .app { transform: none !important; }
}

/* ── Stat rail ───────────────────────────────────────────── */
.rail { position: relative; z-index: 1; border-block: 1px solid var(--line); background: rgba(255,255,255,.015); }
.rail__grid { display: grid; grid-template-columns: repeat(4,1fr); }
.rail__item { padding: 26px 22px; text-align: center; border-left: 1px solid var(--line); }
.rail__item:first-child { border-left: 0; }
.rail__v { display: block; font-size: 1.7rem; font-weight: 700; color: var(--ice); }
.rail__l { font-size: 12.5px; color: var(--slate); }

/* ── Sections ────────────────────────────────────────────── */
.section { position: relative; z-index: 1; padding: 92px 0; }
.section--alt { background: linear-gradient(180deg, rgba(255,255,255,.018), transparent); border-block: 1px solid var(--line); }
.section__head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section__head h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 700; }
.section__sub { color: var(--slate); margin: 16px 0 0; font-size: 1.05rem; }

/* ── Bento ───────────────────────────────────────────────── */
.bento { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.tile {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line); border-radius: var(--r); padding: 24px;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.tile:hover { border-color: var(--line-2); transform: translateY(-3px); box-shadow: 0 18px 40px rgba(0,0,0,.4); }
.tile--wide { grid-column: span 2; }
.tile--tall { grid-row: span 2; }
.tile__icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  color: var(--crimson); background: rgba(230,57,70,.12); border: 1px solid rgba(230,57,70,.2);
  margin-bottom: 16px;
}
.tile h3 { font-size: 1.18rem; font-weight: 600; margin-bottom: 8px; }
.tile p { color: var(--slate); font-size: .95rem; margin: 0; }
.tile__chiprow { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.chip {
  font-family: var(--mono); font-size: 11px; color: var(--slate);
  padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,.03);
}

/* ── Feature index (full list) ───────────────────────────── */
.index { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; align-items: start; }
.idx {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line); border-radius: var(--r); padding: 22px;
  transition: border-color .2s, transform .2s;
}
.idx:hover { border-color: var(--line-2); transform: translateY(-3px); }
.idx__h { display: flex; align-items: center; gap: 11px; margin-bottom: 15px; }
.idx__h h3 { font-size: 1.05rem; font-weight: 600; }
.idx__ic {
  width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0;
  display: grid; place-items: center; color: var(--crimson);
  background: rgba(230,57,70,.12); border: 1px solid rgba(230,57,70,.2);
}
.idx__desc { color: var(--slate); font-size: .94rem; line-height: 1.6; margin: 0 0 16px; }
.idx__desc b { color: #c9c9e4; font-weight: 600; }
.idx hr { border: 0; border-top: 1px solid var(--line); margin: 0 0 14px; }
.idx__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.idx__list li { position: relative; padding-left: 17px; color: var(--slate); font-size: .9rem; line-height: 1.45; }
.idx__list li::before {
  content: ""; position: absolute; left: 0; top: .52em;
  width: 6px; height: 6px; border-radius: 2px; background: rgba(230,57,70,.65);
}
.idx__list b { color: var(--ice); font-weight: 600; }

/* ── App-window mockups (stand-in "screenshots") ─────────── */
.win {
  background: linear-gradient(180deg, #10101c, #09090f);
  border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden;
  box-shadow: 0 30px 70px rgba(0,0,0,.55); width: 100%;
}
.win__top { display: flex; align-items: center; gap: 9px; padding: 9px 13px; background: rgba(0,0,0,.4); border-bottom: 1px solid var(--line); }
.win__dots { display: flex; gap: 6px; }
.win__dots i { width: 10px; height: 10px; border-radius: 50%; display: block; }
.win__dots i:nth-child(1) { background: rgba(74,144,226,.75); }
.win__dots i:nth-child(2) { background: rgba(230,57,70,.8); }
.win__ttl { font-family: var(--display); font-size: 11px; color: var(--slate); letter-spacing: .05em; }
.win__ttl b { color: var(--ice); font-weight: 700; }
.win__body { display: grid; grid-template-columns: 52px 1fr; min-height: 296px; }
.win__rail { background: rgba(0,0,0,.3); border-right: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; gap: 11px; padding: 12px 0; }
.win__rail i { width: 24px; height: 24px; border-radius: 7px; background: rgba(255,255,255,.045); display: block; }
.win__rail i.on { background: rgba(230,57,70,.2); box-shadow: inset 0 0 0 1px rgba(230,57,70,.45); }
.win__rail i.logo { background: linear-gradient(180deg,#ff5663,var(--crimson)); box-shadow: 0 0 10px rgba(230,57,70,.55); }
.win__main { padding: 15px 16px; min-width: 0; }

/* shared mock primitives */
.m-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.m-h { font-family: var(--display); font-weight: 700; font-size: 14px; color: var(--ice); }
.m-search { margin-left: auto; font-family: var(--mono); font-size: 10px; color: var(--slate-dim); background: rgba(0,0,0,.35); border: 1px solid var(--line); border-radius: 7px; padding: 5px 11px; }
.m-stat { font-family: var(--mono); font-size: 10px; color: var(--slate); }
.m-stat b { color: var(--ice); }
.m-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.m-card { display: flex; align-items: center; gap: 9px; background: rgba(255,255,255,.035); border: 1px solid var(--line); border-radius: 9px; padding: 8px 9px; }
.m-av { width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 10px; color: #fff; flex-shrink: 0; }
.m-meta { flex: 1; min-width: 0; }
.m-name { font-size: 11px; font-weight: 600; color: #dcdcf0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-sub { font-family: var(--mono); font-size: 8.5px; color: var(--slate-dim); display: flex; align-items: center; gap: 5px; }
.m-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--slate-dim); flex-shrink: 0; }
.m-dot.on { background: var(--mint); box-shadow: 0 0 6px var(--mint); }
.m-dot.game { background: var(--electric); box-shadow: 0 0 6px var(--electric); }
.m-play { width: 22px; height: 22px; border-radius: 6px; flex-shrink: 0; background: rgba(230,57,70,.16); border: 1px solid rgba(230,57,70,.32); display: grid; place-items: center; color: #ff7480; font-size: 9px; }

/* mods screen */
.m-swrow { display: flex; gap: 9px; margin-bottom: 14px; }
.m-sw { width: 30px; height: 30px; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,.4); }
.m-sw.sel { outline: 2px solid #fff; outline-offset: 2px; }
.m-tiles { display: flex; gap: 8px; margin-bottom: 14px; }
.m-tile { flex: 1; height: 46px; border-radius: 9px; background: rgba(255,255,255,.03); border: 1px solid var(--line); display: grid; place-items: center; color: var(--crimson); }
.m-applybar { display: flex; align-items: center; gap: 10px; }
.m-apply { font-family: var(--display); font-weight: 700; font-size: 11px; color: #fff; background: linear-gradient(180deg,#ff5663,var(--crimson)); border-radius: 8px; padding: 8px 16px; }
.m-toggle { margin-left: auto; display: flex; align-items: center; gap: 8px; font-size: 10px; color: var(--slate); }
.m-sw-toggle { width: 30px; height: 17px; border-radius: 9px; background: rgba(230,57,70,.9); position: relative; flex-shrink: 0; }
.m-sw-toggle::after { content: ""; position: absolute; top: 2px; left: 15px; width: 13px; height: 13px; border-radius: 50%; background: #fff; }

/* fastflags screen */
.m-fps { display: flex; align-items: center; gap: 11px; background: rgba(230,57,70,.08); border: 1px solid rgba(230,57,70,.25); border-radius: 10px; padding: 11px 13px; margin-bottom: 12px; }
.m-fps .m-h { font-size: 12px; }
.m-fps .m-sub2 { font-size: 9.5px; color: var(--slate); margin-top: 1px; }
.m-flag { display: flex; align-items: center; gap: 10px; padding: 8px 4px; border-bottom: 1px solid var(--line); }
.m-flag:last-child { border-bottom: 0; }
.m-flagname { font-family: var(--mono); font-size: 10px; color: #b9b9d4; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-seg { display: flex; border: 1px solid var(--line-2); border-radius: 6px; overflow: hidden; flex-shrink: 0; }
.m-seg span { font-family: var(--mono); font-size: 8.5px; padding: 3px 8px; color: var(--slate-dim); }
.m-seg span.on { background: rgba(46,204,113,.18); color: var(--mint); }

/* macro steps */
.m-steps { display: flex; gap: 7px; flex-wrap: wrap; }
.m-step { width: 60px; height: 58px; border-radius: 9px; background: rgba(255,255,255,.03); border: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.m-step .cap { min-width: 22px; height: 18px; padding: 0 5px; border-radius: 5px; background: #1a1a2a; border: 1px solid #33334a; box-shadow: 0 2px 0 #000; display: grid; place-items: center; font-family: var(--mono); font-size: 9px; font-weight: 700; color: #d0d0e8; }
.m-step .lbl { font-size: 7px; font-family: var(--mono); color: var(--slate-dim); font-weight: 700; }
.m-step.accent { border-color: rgba(230,57,70,.4); }
.m-arrow { align-self: center; color: var(--slate-dim); font-size: 12px; }

/* browser page faux page */
.bwin__cards { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; padding: 14px; }
.bwin__c { height: 52px; border-radius: 8px; background: rgba(255,255,255,.03); border: 1px solid var(--line); }

/* ── Showcase (alternating screenshot + explanation rows) ── */
.showcase { display: flex; flex-direction: column; gap: 84px; }
.show { display: grid; grid-template-columns: 1.05fr 1fr; gap: 52px; align-items: center; }
.show:nth-child(even) .show__media { order: 2; }
.show__eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--crimson); margin: 0 0 12px; }
.show__text h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 700; margin-bottom: 12px; }
.show__text p { color: var(--slate); font-size: 1rem; line-height: 1.65; margin: 0 0 16px; }
.show__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.show__list li { display: flex; gap: 9px; align-items: flex-start; color: #c4c4dc; font-size: .92rem; line-height: 1.45; }
.show__list li svg { flex-shrink: 0; margin-top: 3px; color: var(--crimson); }

/* ── How-it-works steps ──────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.step-c { background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.step-c__n { font-family: var(--mono); font-size: 14px; font-weight: 700; color: var(--crimson); background: rgba(230,57,70,.12); border: 1px solid rgba(230,57,70,.25); width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; margin-bottom: 14px; }
.step-c h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 8px; }
.step-c p { color: var(--slate); font-size: .92rem; line-height: 1.55; margin: 0; }

/* ── FAQ (accessible, no JS) ──────────────────────────────── */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 10px; }
.faq__item { background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.faq__item summary { cursor: pointer; padding: 15px 18px; font-family: var(--display); font-weight: 600; font-size: .98rem; color: var(--ice); list-style: none; display: flex; align-items: center; gap: 10px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; margin-left: auto; color: var(--crimson); font-size: 19px; font-weight: 700; line-height: 1; transition: transform .2s; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { padding: 0 18px 16px; margin: 0; color: var(--slate); font-size: .94rem; line-height: 1.65; }
.faq__item p .mono { color: #b9b9d4; }

/* ── Callout band ────────────────────────────────────────── */
.callout { display: flex; gap: 14px; align-items: flex-start; max-width: 820px; margin: 0 auto; padding: 18px 20px; border-radius: 12px; background: rgba(74,144,226,.07); border: 1px solid rgba(74,144,226,.22); }
.callout svg { flex-shrink: 0; color: var(--electric); margin-top: 2px; }
.callout p { margin: 0; color: #c4c4dc; font-size: .94rem; line-height: 1.6; }
.callout b { color: var(--ice); }

/* ── Split layouts ───────────────────────────────────────── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split--rev .split__copy { order: 2; }
.checklist { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 11px; }
.checklist li { display: flex; align-items: center; gap: 11px; color: var(--ice); font-size: .98rem; }
.checklist li::before {
  content: ""; width: 19px; height: 19px; flex-shrink: 0; border-radius: 6px;
  background: rgba(46,204,113,.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='13' viewBox='0 0 24 24' fill='none' stroke='%232ecc71' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/13px no-repeat;
  border: 1px solid rgba(46,204,113,.3);
}

/* ── Recolor demo ────────────────────────────────────────── */
.recolor { --accent: var(--crimson);
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line-2); border-radius: var(--r); padding: 26px; box-shadow: 0 24px 56px rgba(0,0,0,.45);
}
.recolor__preview {
  border-radius: var(--r-sm); padding: 34px 18px;
  background: radial-gradient(circle at 50% 0%, rgba(255,255,255,.04), transparent 70%), #0a0a12;
  border: 1px solid var(--line); margin-bottom: 20px;
}
.recolor__icons { display: flex; align-items: center; justify-content: center; gap: 20px; }
.ri { color: var(--accent); filter: drop-shadow(0 0 12px color-mix(in srgb, var(--accent) 55%, transparent)); transition: color .35s ease, filter .35s ease; }
.recolor__controls { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.recolor__label { font-size: 12px; color: var(--slate); letter-spacing: .1em; text-transform: uppercase; }
.swatches { display: flex; gap: 10px; }
.swatch {
  width: 30px; height: 30px; border-radius: 9px; cursor: pointer; padding: 0;
  background: var(--s); border: 2px solid transparent; transition: transform .15s, border-color .15s, box-shadow .15s;
  box-shadow: 0 3px 10px color-mix(in srgb, var(--s) 40%, transparent);
}
.swatch:hover { transform: translateY(-2px) scale(1.05); }
.swatch.is-active { border-color: #fff; box-shadow: 0 0 0 3px color-mix(in srgb, var(--s) 50%, transparent); }

/* ── Browser demo ────────────────────────────────────────── */
.bwin {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line-2); border-radius: var(--r); overflow: hidden;
  box-shadow: 0 24px 56px rgba(0,0,0,.45);
}
.bwin__strip { display: flex; align-items: stretch; height: 38px; background: rgba(0,0,0,.4); padding-left: 4px; gap: 0; }
.btab {
  display: flex; align-items: center; gap: 6px; height: 100%; overflow: hidden;
  padding: 0 8px; margin: 4px 1px 0; border-radius: 9px 9px 0 0;
  background: transparent; flex-shrink: 0; position: relative;
  transition: width .18s ease, background .15s;
}
.btab.is-active { background: linear-gradient(180deg, rgba(255,255,255,.085), rgba(255,255,255,.02)); }
.btab.is-active::before {
  content: ""; position: absolute; top: 0; left: 9px; right: 9px; height: 2px; border-radius: 2px;
  background: var(--crimson); box-shadow: 0 0 8px rgba(230,57,70,.6);
}
.btab__fav { width: 11px; height: 11px; border-radius: 3px; flex-shrink: 0; }
.btab__title { font-size: 11px; color: var(--slate); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.btab.is-active .btab__title { color: var(--ice); }
.bwin__bar { display: flex; align-items: center; gap: 7px; padding: 9px 14px; border-bottom: 1px solid var(--line); }
.bwin__dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.14); }
.bwin__url { margin-left: 10px; font-size: 12px; color: var(--slate); background: rgba(0,0,0,.3); padding: 5px 12px; border-radius: 7px; flex: 1; }
.bwin__page { height: 150px; display: grid; place-items: center; background: radial-gradient(circle at 50% 30%, rgba(74,144,226,.08), transparent 60%); }
.bwin__hint { font-family: var(--mono); font-size: 12px; color: var(--slate-dim); }

.slider { margin-top: 26px; max-width: 360px; }
.slider__label { font-size: 13px; color: var(--slate); display: block; margin-bottom: 10px; }
.slider__label b { color: var(--ice); }
input[type="range"] { width: 100%; accent-color: var(--crimson); height: 6px; cursor: pointer; }

/* ── Regions ─────────────────────────────────────────────── */
.regions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.region {
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
  font-family: var(--body); font-size: 14px; font-weight: 600; color: var(--slate);
  padding: 11px 18px; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid var(--line-2);
  transition: color .15s, border-color .15s, background .15s, transform .15s;
}
.region:hover { transform: translateY(-2px); color: var(--ice); }
.region.is-active { color: var(--ice); border-color: rgba(230,57,70,.45); background: rgba(230,57,70,.12); }
.region__code { font-size: 11px; color: var(--crimson); background: rgba(230,57,70,.14); padding: 3px 7px; border-radius: 6px; }
.regions__note { text-align: center; color: var(--slate); font-size: 13px; margin-top: 24px; }
.regions__note b { color: var(--ice); }

/* ── Download ────────────────────────────────────────────── */
.download__inner { text-align: center; max-width: 660px; margin-inline: auto; padding: 18px 0; }
.download__seal { color: var(--crimson); display: inline-flex; margin-bottom: 18px; filter: drop-shadow(0 0 16px rgba(230,57,70,.45)); }
.download h2 { font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 700; }
.download__sub { margin-inline: auto; max-width: 48ch; }
.download__actions { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 30px; }
.download__meta { font-size: 12px; color: var(--slate-dim); }
.dlgrid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 56px; align-items: start; }
.download__note { margin-top: 34px; font-size: 12px; color: var(--slate-dim); max-width: 60ch; margin-inline: auto; }
@media (max-width: 820px) { .dlgrid { grid-template-columns: 1fr; } }

/* ── Footer ──────────────────────────────────────────────── */
.foot { position: relative; z-index: 1; border-top: 1px solid var(--line); padding: 48px 0 30px; background: rgba(0,0,0,.3); }
.foot__grid { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; flex-wrap: wrap; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.foot__tag { color: var(--slate); font-size: 14px; margin: 8px 0 0; }
.foot__links { display: flex; gap: 22px; flex-wrap: wrap; }
.foot__links a { color: var(--slate); font-size: 14px; transition: color .15s; }
.foot__links a:hover { color: var(--ice); }
.foot__legal { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 22px; }
.foot__legal p { color: var(--slate-dim); font-size: 12px; margin: 0; max-width: 70ch; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__app { max-width: 480px; }
  .nav__links { display: none; }
  .bento { grid-template-columns: repeat(2,1fr); }
  .index { grid-template-columns: repeat(2,1fr); }
  .tile--wide { grid-column: span 2; }
  .tile--tall { grid-row: span 1; }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .split--rev .split__copy { order: 0; }
  .show { grid-template-columns: 1fr; gap: 26px; }
  .show:nth-child(even) .show__media { order: 0; }
  .showcase { gap: 60px; }
}
@media (max-width: 620px) {
  .hero { padding: 48px 0 60px; }
  .section { padding: 66px 0; }
  .rail__grid { grid-template-columns: repeat(2,1fr); }
  .rail__item:nth-child(1), .rail__item:nth-child(2) { border-bottom: 1px solid var(--line); }
  .rail__item:nth-child(odd) { border-left: 0; }
  .bento { grid-template-columns: 1fr; }
  .index { grid-template-columns: 1fr; }
  .tile--wide { grid-column: span 1; }
  .nav__cta span { display: none; }
}
