/* Vantage site. Colours and fonts come from the in-game menu (Theme.java). One accent colour only. */

/* ---------- fonts (bundled, nothing loaded from other servers) ---------- */
@font-face { font-family: Inter; src: url(fonts/inter.ttf); font-weight: 400; font-display: swap; }
@font-face { font-family: Inter; src: url(fonts/inter_bold.ttf); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url(fonts/instrument_serif.ttf); font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url(fonts/instrument_serif_italic.ttf); font-style: italic; font-display: swap; }

/* ---------- base ---------- */
:root {
  --bg: #08071a; --bg2: #0b0a20; --card: #131230; --line: #1f1e44; --select: #26245c;
  --accent: #7b6bff; --title: #8d84f2; --text: #e8e7f5; --dim: #a3a1c4; --faint: #8a88b0;
  --r: 14px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { background: var(--bg); color: var(--text); font: 16px/1.6 Inter, system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
code { background: var(--card); border: 1px solid var(--line); padding: 1px 6px; border-radius: 6px; font-size: .9em; }
em { font-style: italic; color: var(--title); }
h1, h2 { font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; letter-spacing: -.01em; line-height: 1.05; }
h1 { font-size: clamp(44px, 7vw, 92px); }
h2 { font-size: clamp(36px, 4.6vw, 58px); margin-bottom: 18px; }
h3 { font-size: 18px; font-weight: 700; }
.wrap { width: min(1180px, 100% - 48px); margin: 0 auto; }
.narrow { width: min(760px, 100% - 48px); }
section { position: relative; padding: 120px 0; }
section.alt { background: var(--bg2); }
.kicker { color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.sub { color: var(--dim); max-width: 560px; margin-bottom: 40px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.fine { color: var(--faint); font-size: 13px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 15px 28px; border-radius: 999px;
  background: var(--accent); color: #fff; font-weight: 700; font-size: 15px; transition: transform .15s, box-shadow .15s, background .15s;
  box-shadow: 0 8px 30px -8px rgba(123,107,255,.7), inset 0 1px 0 rgba(255,255,255,.25); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -8px rgba(123,107,255,.85), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-ghost { background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px var(--line); color: var(--text); }
.btn-ghost:hover { background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px var(--select); }
.btn-sm { padding: 9px 20px; font-size: 14px; }

/* ---------- sticky nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; backdrop-filter: blur(14px); background: rgba(8,7,26,.72); border-bottom: 1px solid rgba(31,30,68,.7); }
.nav-in { display: flex; align-items: center; height: 64px; gap: 32px; }
.brand img { height: 22px; width: auto; }
.links { display: flex; gap: 28px; margin-left: auto; color: var(--dim); font-size: 15px; }
.links a { transition: color .15s; }
.links a:hover, .links a.on { color: var(--text); }

/* ---------- background glows ---------- */
.glow { position: absolute; border-radius: 50%; filter: blur(110px); pointer-events: none; z-index: 0; }
.g1 { width: 720px; height: 520px; background: rgba(123,107,255,.30); top: -120px; left: 50%; transform: translateX(-50%); }
.g2 { width: 900px; height: 420px; background: rgba(123,107,255,.16); bottom: 60px; left: 50%; transform: translateX(-50%); }
.g3 { width: 700px; height: 360px; background: rgba(123,107,255,.22); top: 50%; left: 50%; transform: translate(-50%, -50%); }

/* ---------- 1. hero (centred) ---------- */
.hero { padding: 150px 0 100px; overflow: hidden; text-align: center; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(141,132,242,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(141,132,242,.05) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: radial-gradient(ellipse at 50% 20%, #000 15%, transparent 65%); }
.hero-in { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 999px; font-size: 13px; color: var(--dim);
  background: rgba(19,18,48,.8); border: 1px solid var(--line); margin-bottom: 28px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.hero h1 { max-width: 900px; }
.lead { color: var(--dim); font-size: 19px; max-width: 560px; margin: 26px 0 36px; }
.cta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; list-style: none; margin-top: 30px; color: var(--faint); font-size: 14px; }
.badges li::before { content: "✓"; color: var(--title); margin-right: 8px; }
.frame { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--card); }
.hero-shot { margin-top: 70px; width: min(1040px, 100%); box-shadow: 0 50px 120px -30px rgba(0,0,0,.9), 0 0 90px -20px rgba(123,107,255,.45); }

/* ---------- 2. feature cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.card { padding: 30px; border-radius: var(--r); background: linear-gradient(180deg, var(--card), rgba(19,18,48,.4)); border: 1px solid var(--line);
  transition: border-color .2s, transform .2s, opacity .5s; }
.card:hover { border-color: rgba(123,107,255,.5); transform: translateY(-4px); }
.ico { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: rgba(123,107,255,.14); border: 1px solid rgba(123,107,255,.3); margin-bottom: 20px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--dim); font-size: 15px; }

/* ---------- 3. gallery + lightbox ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.shot { position: relative; display: block; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--card);
  box-shadow: 0 20px 50px -25px rgba(0,0,0,.9); cursor: zoom-in; transition: border-color .2s, transform .2s, opacity .5s; }
.shot img { width: 100%; aspect-ratio: 16/9; object-fit: cover; transition: transform .4s; }
.shot:hover { border-color: rgba(123,107,255,.5); transform: translateY(-4px); }
.shot:hover img { transform: scale(1.04); }
.shot span { position: absolute; inset: auto 0 0; padding: 26px 14px 12px; font-size: 13px; color: var(--text);
  background: linear-gradient(transparent, rgba(8,7,26,.92)); }
/* labelled placeholder for a screenshot that doesn't exist yet: <div class="shot placeholder">SCREENSHOT: ...</div> */
.placeholder { aspect-ratio: 16/9; display: grid; place-items: center; text-align: center; padding: 20px; color: var(--faint);
  border-style: dashed; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; cursor: default; }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(4,4,14,.94); display: grid; place-items: center; padding: 24px; }
.lightbox figure { max-width: min(1400px, 100%); }
.lightbox img { max-height: 82vh; width: auto; margin: 0 auto; border-radius: var(--r); box-shadow: 0 30px 100px rgba(0,0,0,.8); }
.lightbox figcaption { text-align: center; color: var(--dim); margin-top: 16px; font-size: 15px; }
.lb-btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: rgba(19,18,48,.9);
  color: var(--text); font-size: 26px; line-height: 1; cursor: pointer; transition: background .15s; }
.lb-btn:hover { background: var(--select); }
.lb-close { top: 20px; right: 20px; } .lb-prev { left: 20px; top: 50%; } .lb-next { right: 20px; top: 50%; }

/* ---------- 4. modules ---------- */
.tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 26px; }
.tab { font: inherit; text-align: left; color: var(--dim); background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  padding: 18px 20px; cursor: pointer; transition: border-color .15s, background .15s, color .15s; }
.tab b { display: block; font: 400 40px/1 'Instrument Serif', serif; color: var(--text); margin-bottom: 6px; }
.tab:hover { border-color: var(--select); }
.tab.on { background: var(--select); color: var(--text); border-color: rgba(123,107,255,.6); }
.panel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mod { padding: 16px 18px; border-radius: 10px; background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--accent); }
.mod b { display: block; font-size: 15px; margin-bottom: 2px; }
.mod p { color: var(--dim); font-size: 13.5px; line-height: 1.5; }

/* ---------- 5. install steps ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.steps li { padding: 30px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); transition: opacity .5s, transform .5s; }
.num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; margin-bottom: 20px;
  font: 400 24px/1 'Instrument Serif', serif; color: var(--title); background: rgba(123,107,255,.14); border: 1px solid rgba(123,107,255,.3); }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--dim); font-size: 15px; }

/* ---------- 6. faq ---------- */
details { border-bottom: 1px solid var(--line); padding: 22px 0; }
summary { cursor: pointer; font-size: 18px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent); font-size: 24px; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--dim); margin-top: 12px; }

/* ---------- 7. final call to action ---------- */
.final { text-align: center; overflow: hidden; border-top: 1px solid var(--line); }
.final .wrap { position: relative; z-index: 1; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 40px 0 50px; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 36px; }
.foot-logo { height: 18px; width: auto; opacity: .8; }
.foot nav { display: flex; gap: 22px; color: var(--dim); font-size: 14px; }
.foot nav a:hover { color: var(--text); }
.foot .fine { width: 100%; }

/* ---------- legal pages ---------- */
.page { min-height: 80vh; padding: 140px 0 100px; }
.legal h3 { font: 400 26px/1.1 'Instrument Serif', serif; margin: 34px 0 10px; }
.legal p, .legal li { color: var(--dim); margin-bottom: 10px; }
.legal b { color: var(--text); }
.legal ul { margin: 0 0 10px 22px; }
.legal > .fine { margin-bottom: 26px; }

/* ---------- scroll reveal (only when JavaScript runs) ---------- */
.js .rv { opacity: 0; transform: translateY(18px); }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rv { opacity: 1; transform: none; }
  * { transition: none !important; }
}

/* ---------- tablet ---------- */
@media (max-width: 920px) {
  .cards, .gallery, .panel, .steps { grid-template-columns: 1fr 1fr; }
  .tabs { grid-template-columns: 1fr 1fr; }
  .links { display: none; }
  .menu { display: block; margin-left: auto; }
  .nav-in .btn { margin-left: 0; }
  .nav-in { gap: 14px; }
  section { padding: 84px 0; }
  .hero { padding: 120px 0 70px; }
}
/* ---------- phone ---------- */
@media (max-width: 560px) {
  .cards, .gallery, .panel, .steps { grid-template-columns: 1fr; }
  .lead { font-size: 17px; }
  .cta .btn { width: 100%; }
  .lb-prev, .lb-next { top: auto; bottom: 20px; }
}

/* ---------- links inside text ---------- */
.link { color: var(--title); text-decoration: underline; text-underline-offset: 3px; }
a.pill:hover { border-color: var(--select); color: var(--text); }
a.mod { display: block; transition: border-color .15s, transform .15s; }
a.mod:hover { border-color: rgba(123,107,255,.5); transform: translateY(-2px); }

/* ---------- guide page ---------- */
.guide { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 56px; align-items: start; }
.side { position: sticky; top: 88px; max-height: calc(100vh - 110px); display: flex; flex-direction: column; }
.search { width: 100%; font: 15px Inter, sans-serif; color: var(--text); padding: 11px 14px; background: var(--card); border: 1px solid var(--line);
  border-radius: 10px; outline: none; }
.search:focus { border-color: var(--accent); } .search::placeholder { color: var(--faint); }
#side-nav { overflow-y: auto; margin-top: 14px; padding-right: 8px; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.side-h { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); margin: 18px 0 6px; }
.side-h span { color: var(--title); margin-left: 4px; }
#side-nav a { display: block; padding: 4px 10px; border-radius: 6px; color: var(--dim); font-size: 14px; }
#side-nav a:hover { color: var(--text); background: var(--card); }
.cat { font: 400 34px/1.1 'Instrument Serif', serif; margin: 64px 0 10px; padding-top: 10px; }
.cat-intro { color: var(--dim); margin-bottom: 22px; max-width: 700px; }
.entry { padding: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--card); margin-bottom: 10px; scroll-margin-top: 84px; }
.entry[open] { border-color: rgba(123,107,255,.45); }
.entry summary { padding: 16px 20px; font-size: 16px; }
.entry summary b { flex: none; }
.entry summary span { flex: 1; color: var(--dim); font-size: 14px; text-align: left; }
.entry-body { padding: 4px 20px 22px; border-top: 1px solid var(--line); }
.entry-body h4 { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--title); margin: 22px 0 8px; }
.entry-body p, .entry-body li { color: var(--dim); font-size: 15px; margin: 0 0 8px; }
.entry-body ul { margin: 0 0 8px 20px; }
.entry-body .shot { margin-top: 18px; max-width: 640px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.legend { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }
.legend th { text-align: left; padding: 12px 16px; background: var(--card); color: var(--faint); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.legend td { padding: 12px 16px; border-top: 1px solid var(--line); color: var(--dim); vertical-align: top; }
.legend td:last-child { color: var(--title); white-space: nowrap; }
.none { color: var(--dim); margin-top: 30px; }

/* ---------- changelog ---------- */
.release { padding: 26px 28px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); margin-bottom: 14px; }
.release-head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: 12px; }
.release-head h3 { font: 400 28px/1 'Instrument Serif', serif; }
.release-head span { color: var(--faint); font-size: 14px; }
.release p, .release li { color: var(--dim); margin-bottom: 6px; } .release ul { margin-left: 20px; }

@media (max-width: 920px) {
  .guide { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .side { position: static; max-height: none; }
  #side-nav { display: none; }
  .to-top { display: flex; }
  .entry summary { flex-wrap: wrap; gap: 4px 20px; }
  .entry summary b { flex: 1 1 0; min-width: 0; }
  .entry summary span { flex-basis: 100%; order: 3; }
}

/* ---------- hero art (imagegen) + logo mark ---------- */
.hero-art { position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(rgba(8,7,26,.55), rgba(8,7,26,.25) 35%, rgba(8,7,26,.6) 62%, var(--bg) 88%), url(img/hero-art.jpg) 0 0 / 170% auto no-repeat; }
/* the beam in the art sits right of the headline on wide screens and off-screen on phones */
@media (max-width: 920px) { .hero-art { background-size: cover; background-position: 12% 0; } }
.hero h1, .hero .lead { text-shadow: 0 2px 30px rgba(8,7,26,.9); }
.hero .lead { color: #c9c7e6; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand .mark { height: 28px; width: 28px; }
.after { margin-top: 40px; }
.hero-shot video { display: block; width: 100%; height: auto; }
.verify { margin-top: 18px; padding: 26px 30px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.verify h3 { margin-bottom: 8px; }
.verify p { color: var(--dim); font-size: 15px; line-height: 1.8; }
.verify .hash { display: block; margin: 10px 0 14px; padding: 12px 14px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line);
  font-size: 13px; overflow-wrap: anywhere; user-select: all; }
.hero-safe { margin-top: 16px; font-size: 14px; }
.hero-safe a { color: var(--dim); text-decoration: underline; text-underline-offset: 3px; }
.hero-safe a:hover { color: var(--text); }
.legal .hash { display: block; margin: 10px 0 14px; padding: 12px 14px; border-radius: 10px; background: var(--card); border: 1px solid var(--line); font-size: 13px; overflow-wrap: anywhere; user-select: all; }
.legal .btn { margin-top: 12px; }

/* ---------- phone menu (no script: a details dropdown) ---------- */
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  box-shadow: inset 0 0 0 1px var(--line); background: rgba(255,255,255,.04); font-size: 20px; line-height: 1; color: var(--text); }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { box-shadow: inset 0 0 0 1px var(--select); }
.menu-list { position: absolute; right: 0; top: 52px; min-width: 200px; padding: 8px; border-radius: 14px; background: var(--card);
  border: 1px solid var(--line); box-shadow: 0 30px 60px -20px rgba(0,0,0,.9); display: grid; }
.menu-list a { padding: 12px 14px; border-radius: 9px; color: var(--text); font-size: 16px; }
.menu-list a:hover { background: rgba(255,255,255,.06); }

/* ---------- keyboard focus ---------- */
a:focus-visible, button:focus-visible, summary:focus-visible, video:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 6px; }
.search:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.entry { scroll-margin-top: 84px; }
.cat, section[id], .verify { scroll-margin-top: 76px; }
.mod p { font-size: 14px; }
.badges { color: var(--dim); }
.to-top { display: none; position: fixed; right: 16px; bottom: 16px; z-index: 40; width: 44px; height: 44px; border-radius: 50%; align-items: center;
  justify-content: center; background: var(--card); border: 1px solid var(--line); color: var(--text); font-size: 20px; box-shadow: 0 10px 30px -10px rgba(0,0,0,.9); }
.release h4 { font: 700 13px Inter, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--title); margin: 22px 0 8px; }
.notfound { text-align: center; padding-top: 60px; }
.notfound .btn { margin-top: 26px; }
h1.pt { font-size: clamp(36px, 4.6vw, 58px); margin-bottom: 18px; }
@media (max-width: 920px) { .menu { display: block; margin-left: auto; } }
.foot nav { flex-wrap: wrap; justify-content: center; gap: 10px 22px; }
.foot nav a { white-space: nowrap; }
.steps p a, .verify a, details p a { color: var(--title); text-decoration: underline; text-underline-offset: 3px; }
.menu summary::after { content: none; }
details.menu { border: 0; padding: 0; }

/* live download counter: small pill in the bottom right corner */
.dl-count { position: fixed; right: 16px; bottom: 16px; z-index: 40; margin: 0; padding: 8px 14px;
  font-size: 13px; color: var(--dim); background: rgba(19, 18, 48, .92); border: 1px solid var(--line);
  border-radius: 999px; box-shadow: 0 6px 24px rgba(0, 0, 0, .45); }
.dl-count[hidden] { display: none; }
.dl-count b { color: var(--text); font-variant-numeric: tabular-nums; }
.dl-count::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px;
  border-radius: 50%; background: #5fe08a; vertical-align: 1px; }
@media (max-width: 600px) { .dl-count { right: 10px; bottom: 10px; font-size: 12px; padding: 6px 12px; } }

/* hero: big logo mark where the clip used to be */
.hero-logo { display: block; width: min(240px, 52vw); height: auto; margin: 56px auto 0;
  filter: drop-shadow(0 0 60px rgba(123, 107, 255, .55)) drop-shadow(0 30px 50px rgba(0, 0, 0, .7)); }

/* ================= clean pass (2026-11-12): big centred type, lots of space, large product shots, calm fades =================
   Tim asked for the look of a product page like apple.com. Everything here only restyles; the text is unchanged. */
:root { --r: 22px; --tile: #0f0e27; }
.btn { padding: 14px 26px; font-size: 16px; box-shadow: none; }
.btn:hover { transform: none; background: #8b7dff; box-shadow: none; }
.btn-sm { padding: 8px 18px; font-size: 13.5px; }
.more { color: var(--title); font-size: 17px; padding: 14px 6px; }
.more::after { content: " \203A"; }
.more:hover { text-decoration: underline; text-underline-offset: 4px; }
.nav { background: rgba(8,7,26,.78); -webkit-backdrop-filter: saturate(160%) blur(20px); backdrop-filter: saturate(160%) blur(20px); border-bottom-color: rgba(31,30,68,.5); }
.nav-in { height: 54px; }
.links { font-size: 13.5px; gap: 30px; }
html { scroll-padding-top: 66px; }

/* sections on the landing page: centred heads, more air */
main#top > section { padding: 150px 0; }
main#top .kicker, main#top h2, main#top .sub { text-align: center; margin-left: auto; margin-right: auto; }
main#top .kicker { letter-spacing: .1em; margin-bottom: 16px; }
main#top h2 { font-size: clamp(40px, 5.8vw, 84px); line-height: 1.02; margin-bottom: 22px; }
main#top .sub { font-size: clamp(17px, 1.5vw, 21px); max-width: 640px; margin-bottom: 56px; }

/* hero: headline, one line, two actions, then the product, big */
main#top > .hero { padding: 132px 0 110px; }
.hero-art, .hero::after { display: none; }
.hero::before { content: ""; position: absolute; left: 50%; bottom: 0; width: min(1500px, 140%); height: 70%; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(50% 55% at 50% 62%, rgba(123,107,255,.26), transparent 70%); }
.pill { background: none; border: 0; padding: 0; margin-bottom: 22px; color: var(--title); font-size: 14px; }
.pill .dot { display: none; }
.hero h1 { font-size: clamp(48px, 8.4vw, 118px); line-height: 1; max-width: 1000px; text-shadow: none; }
.hero .lead { font-size: clamp(19px, 2vw, 26px); margin: 24px 0 30px; color: var(--dim); text-shadow: none; }
.cta { align-items: center; gap: 10px 22px; }
.badges { margin-top: 26px; font-size: 13.5px; gap: 6px 24px; }
.hero-safe { margin-top: 12px; font-size: 13.5px; }
.hero-product { margin-top: 64px; width: min(1120px, 100%); border-radius: 26px; overflow: hidden; border: 1px solid rgba(141,132,242,.28);
  box-shadow: 0 60px 140px -40px rgba(0,0,0,.95), 0 0 120px -30px rgba(123,107,255,.55); }
.hero-product img { width: 100%; }

/* how it works + install: no boxes, just a big number, a title and a line */
.steps { gap: 40px; margin-top: 64px; }
.steps li { background: none; border: 0; padding: 0 8px; text-align: center; }
.steps .num { width: auto; height: auto; margin: 0 auto 14px; background: none; border: 0; font-size: 72px; color: var(--title); }
.steps h3 { font-size: 24px; margin-bottom: 10px; }
.steps p { font-size: 17px; max-width: 320px; margin: 0 auto; }
.verify { border-radius: 26px; background: var(--tile); border: 0; padding: 34px 38px; margin-top: 70px; }

/* features: two big tiles with a picture, four small ones */
.cards { grid-template-columns: repeat(12, 1fr); gap: 20px; margin-top: 64px; }
.card { grid-column: span 3; padding: 32px; border-radius: 28px; background: var(--tile); border: 0; }
.card:hover { transform: none; }
.card h3 { font-size: 21px; }
.card p { font-size: 16px; }
.card.big { grid-column: span 6; padding-bottom: 0; overflow: hidden; display: flex; flex-direction: column; }
.card.big h3 { font: 400 clamp(32px, 3.2vw, 46px)/1.05 'Instrument Serif', Georgia, serif; margin-bottom: 12px; }
.card.big p { font-size: 18px; max-width: 420px; }
.card-shot { display: block; width: calc(100% + 64px); max-width: none; margin: 30px -32px 0; aspect-ratio: 16/9; object-fit: cover; margin-top: auto; padding-top: 0;
  border-top: 1px solid var(--line); }
.card.big p + .card-shot { margin-top: 30px; }
.ico { border: 0; border-radius: 14px; }

/* gallery, modules, faq, final */
.gallery { gap: 20px; }
.shot { border: 0; box-shadow: none; }
.shot:hover { transform: none; }
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 40px; }
.tab { display: inline-flex; align-items: baseline; gap: 8px; padding: 10px 20px; border-radius: 999px; background: var(--tile); border: 0; font-size: 15px; }
.tab b { display: inline; margin: 0; font: 700 15px/1 Inter, system-ui, sans-serif; color: var(--title); }
.tab.on { background: var(--accent); color: #fff; } .tab.on b { color: #fff; }
.mod { border: 0; border-radius: 16px; background: var(--tile); padding: 18px 20px; }
section.alt .card, section.alt .mod, section.alt .tab:not(.on) { background: #121130; }
#faq .wrap { width: min(820px, 100% - 48px); }
#faq summary { font-size: 20px; }
#faq details { padding: 26px 0; }
main#top > .final { padding: 180px 0; border-top: 0; }
.final h2 { font-size: clamp(48px, 7.4vw, 104px) !important; }

/* one calm fade for everything that scrolls in */
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .rv { opacity: 1; transform: none; } }

@media (max-width: 920px) {
  main#top > section { padding: 96px 0; }
  main#top > .hero { padding: 104px 0 70px; }
  .cards { grid-template-columns: repeat(12, 1fr); }
  .card { grid-column: span 6; } .card.big { grid-column: span 12; }
  .steps { grid-template-columns: 1fr; gap: 44px; }
  .hero-product { border-radius: 16px; margin-top: 44px; }
  main#top > .final { padding: 120px 0; }
}
@media (max-width: 600px) {
  .cards { grid-template-columns: 1fr; }
  .card, .card.big { grid-column: auto; padding: 26px; }
  .card.big { padding-bottom: 0; }
  .card-shot { width: calc(100% + 52px); margin-left: -26px; margin-right: -26px; }
  .cta { flex-direction: column; gap: 4px; }
}

/* ================= feedback board (feedback.html): threads with votes ================= */
.fb-lead { color: var(--dim); font-size: 18px; margin-bottom: 30px; }
.fb-box { background: var(--tile); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; margin-bottom: 14px; }
.fb-box label, .fb-as { display: block; color: var(--dim); margin-bottom: 12px; }
.fb-as b { color: var(--text); }
.fb-row { display: flex; gap: 10px; align-items: center; }
.fb-end { justify-content: space-between; margin-top: 10px; }
.fb input:not([type=radio]), .fb textarea { width: 100%; font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--line);
  border-radius: 12px; padding: 11px 14px; outline: none; resize: vertical; }
.fb input:focus, .fb textarea:focus { border-color: var(--accent); }
#fb-title { margin-bottom: 10px; font-weight: 600; }
.fb .btn { flex: none; border: 0; cursor: pointer; font-family: inherit; }
.fb-box .fine { margin-top: 12px; }
.fb-msg { color: #ff9a9a; font-size: 14px; margin-top: 8px; width: 100%; }
.fb-msg:empty { display: none; }
.fb-msg.good { color: #8fe3a8; }
.fb-kinds { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.fb-kinds input { position: absolute; opacity: 0; pointer-events: none; }
.fb-kinds span, .fb-tab { display: inline-block; font: inherit; font-size: 14px; color: var(--dim); background: transparent; border: 1px solid var(--line);
  border-radius: 999px; padding: 6px 16px; cursor: pointer; }
.fb-kinds input:checked + span, .fb-tab.on { background: var(--select); color: var(--text); border-color: rgba(123,107,255,.6); }
.fb-kinds input:focus-visible + span, .fb-tab:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.fb-rules { margin: 6px 0 44px; }
.fb-tabs { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 18px; }
.fb-sort { margin-left: auto; display: inline-flex; gap: 2px; }
.fb-sort .fb-link.on { color: var(--text); font-weight: 600; }
.fb-item { display: flex; gap: 14px; background: var(--tile); border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px 14px 12px; margin-bottom: 12px; }
.fb-item:target { border-color: rgba(123,107,255,.6); }
.fb-main { flex: 1; min-width: 0; }
.fb-vote { flex: none; width: 34px; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.fb-vote button { font-size: 13px; line-height: 1; color: var(--faint); background: none; border: 0; border-radius: 8px; padding: 6px 8px; cursor: pointer; }
.fb-vote button:hover { background: var(--card); color: var(--text); }
.fb-vote .fb-up.on { color: #ff8b4a; }
.fb-vote .fb-down.on { color: var(--title); }
.fb-score { font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.fb-vote.small { width: 26px; }
.fb-vote.small button { font-size: 10px; padding: 4px 6px; }
.fb-vote.small .fb-score { font-size: 12px; }
.fb-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 4px; font-size: 13px; }
.fb-kind { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; border-radius: 999px; padding: 2px 10px; background: var(--card); color: var(--title); }
.fb-kind.k-bug { color: #ff9a9a; }
.fb-kind.k-request { color: #8fe3a8; }
.fb-who { display: inline-flex; align-items: center; gap: 8px; color: var(--faint); }
.fb-who b { color: var(--dim); font-weight: 600; }
.fb-who b.team { color: var(--title); }
.fb-team { font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--bg); background: var(--accent); border-radius: 999px; padding: 1px 8px; }
.fb-title { display: block; width: 100%; text-align: left; font: 600 18px/1.35 Inter, system-ui, sans-serif; color: var(--text); background: none; border: 0; padding: 2px 0 6px; cursor: pointer; overflow-wrap: anywhere; }
.fb-title:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.fb-text { color: var(--dim); white-space: pre-wrap; overflow-wrap: anywhere; }
.fb-body { color: var(--text); margin: 6px 0 14px; }
.fb-acts { display: flex; gap: 14px; flex-wrap: wrap; }
.fb-link { font: inherit; font-size: 13px; font-weight: 600; color: var(--faint); background: none; border: 0; cursor: pointer; padding: 3px 4px; border-radius: 6px; }
.fb-link:hover { color: var(--text); background: var(--card); }
.fb-acts .fb-link:first-child { margin-left: -4px; }
.fb-thread { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.fb-comments { margin-top: 14px; }
.fb-comment { display: flex; gap: 8px; margin-top: 12px; }
.fb-cbody { flex: 1; min-width: 0; }
.fb-kids { border-left: 2px solid var(--line); margin-left: -22px; padding-left: 10px; }
.fb-kids:empty { display: none; }
.fb-reply { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 8px; }
.fb-reply input { flex: 1; width: auto; min-width: 0; padding: 8px 12px; font-size: 14px; }
.fb-reply .fb-link { color: var(--title); font-size: 14px; }
@media (max-width: 600px) { .fb-row { flex-wrap: wrap; } .fb-item { gap: 8px; padding: 14px 12px 12px 6px; } .fb-sort { margin-left: 0; width: 100%; } }

/* ---------- Minecraft version picker: a small section on the side of the download button ---------- */
.dl-split { display: inline-flex; align-items: stretch; }
.dl-split .btn { border-radius: 999px 0 0 999px; }
.dl-split .btn:hover { transform: none; }
.mcver { appearance: none; -webkit-appearance: none; font: 600 14px/1 Inter, system-ui, sans-serif; color: #fff; cursor: pointer;
  padding: 0 34px 0 14px; border: 0; border-left: 1px solid rgba(255,255,255,.28); border-radius: 0 999px 999px 0; background-color: #6a5cf0;
  background-image: linear-gradient(45deg, transparent 50%, #fff 50%), linear-gradient(135deg, #fff 50%, transparent 50%);
  background-position: calc(100% - 19px) 52%, calc(100% - 14px) 52%; background-size: 5px 5px; background-repeat: no-repeat; }
.mcver:hover, .mcver:focus-visible { background-color: #7b6bff; outline: none; }
.mcver option { background: #131230; color: #fff; }
.mc-note { margin: 14px auto 0; max-width: 560px; font-size: 13.5px; color: var(--dim); text-align: center; }
@media (max-width: 640px) { .dl-split { width: 100%; } .dl-split .btn { flex: 1; width: auto; } }
/* download button sits in the middle; "See it in action" goes on its own line below */
.hero .cta { flex-direction: column; gap: 14px; }

/* ---------- "what's new" strip on the home page ---------- */
.news-sec { padding: 0 0 10px; margin-top: -90px; position: relative; }
.news { padding: 24px 28px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); text-align: left; }
.news-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 10px; }
.news-head h3 { font: 400 26px/1.1 'Instrument Serif', serif; }
.news-head span { color: var(--faint); font-size: 14px; white-space: nowrap; }
.news ul { margin: 0 0 12px 20px; } .news li { color: var(--dim); margin-bottom: 6px; font-size: 15px; }

/* ---------- video poster (links out to YouTube) ---------- */
#watch { text-align: center; }
.video { position: relative; display: block; margin: 28px auto 14px; border-radius: 22px; overflow: hidden; border: 1px solid rgba(141,132,242,.28);
  box-shadow: 0 40px 100px -40px rgba(0,0,0,.9), 0 0 90px -40px rgba(123,107,255,.55); }
.video img { display: block; width: 100%; height: auto; transition: transform .4s ease; }
.video:hover img { transform: scale(1.02); }
.video-play { position: absolute; left: 50%; top: 50%; width: 88px; height: 88px; margin: -44px 0 0 -44px; border-radius: 50%;
  background: rgba(123,107,255,.92); box-shadow: 0 10px 40px -6px rgba(0,0,0,.7); }
.video-play::after { content: ""; position: absolute; left: 36px; top: 27px; border-style: solid; border-width: 17px 0 17px 26px; border-color: transparent transparent transparent #fff; }
.fine.center { text-align: center; }
