/* The website's look, the launcher's look (docs/launcher.md §10.3): deep navy from the logo, its gold for what matters,
   its blue for information, rose for warnings; Cinzel for headings, Barlow for text, Barlow Condensed for labels
   (SIL OFL, assets/fonts). Used by the static pages (index.html, start/) and the server's own pages (SitePage).
   The fonts wait briefly instead of swapping (no flash of a fallback); every page preloads the main ones and the
   server lets browsers cache them, so after the first visit they are there at once. */

@font-face { font-family: "Barlow"; font-weight: 400; font-display: block; src: url("fonts/barlow-400.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500; font-display: block; src: url("fonts/barlow-500.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-display: block; src: url("fonts/barlow-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 700; font-display: block; src: url("fonts/barlow-700.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: block; src: url("fonts/barlow-condensed-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: block; src: url("fonts/barlow-condensed-700.woff2") format("woff2"); }
@font-face { font-family: "Cinzel"; font-weight: 700; font-display: block; src: url("fonts/cinzel-700.woff2") format("woff2"); }
@font-face { font-family: "Cinzel"; font-weight: 800; font-display: block; src: url("fonts/cinzel-800.woff2") format("woff2"); }

:root {
  --ground: #070B18;
  --deep: #04060F;
  --card: #0C1330;
  --line: rgba(160, 180, 255, 0.14);
  --line-soft: rgba(160, 180, 255, 0.08);
  --text: #EEF1FA;
  --soft: #B4BDD6;
  --muted: #9AA6C4;
  --faint: #8A96B6;
  --gold: #F2C46A;
  --gold-light: #FFE7B0;
  --gold-deep: #C98A2C;
  --on-gold: #2A1A00;
  --blue: #5CAAFF;
  --green: #6EE7A8;
  --rose: #EC8FB2;
  --display: "Cinzel", Georgia, serif;
  --body: "Barlow", "Segoe UI", system-ui, sans-serif;
  --label: "Barlow Condensed", "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--ground); }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--ground); color: var(--text); font: 16px/1.55 var(--body); -webkit-font-smoothing: antialiased; }
a { color: var(--gold); text-decoration: none; transition: color .15s; }
a:hover { color: var(--gold-light); }
img { max-width: 100%; }
code { font: 600 .92em ui-monospace, Consolas, monospace; color: var(--gold-light); background: rgba(242,196,106,.1); padding: 1px 6px; border-radius: 4px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.eyebrow { font: 600 14px var(--label); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.muted { color: var(--muted); }
h1, h2, h3 { margin: 0; }
h2 { font: 700 34px/1.15 var(--display); }

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 18px; border-radius: 8px; font-weight: 600; font-size: 15px; border: 0; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, border-color .15s, background-color .15s, filter .18s; }
.btn-ghost { border: 1px solid rgba(160,180,255,.26); background: rgba(14,21,48,.5); color: var(--text); }
.btn-ghost:hover { border-color: rgba(242,196,106,.6); background: rgba(242,196,106,.08); color: var(--text); }
.btn-gold { position: relative; overflow: hidden; color: var(--on-gold); background: linear-gradient(115deg, #FFE7B0 0%, #F2C46A 28%, #C98A2C 52%, #FFE7B0 76%, #F2C46A 100%); }
.btn-gold::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.6) 45%, transparent 60%); transform: translateX(-130%); animation: sheen 3.8s ease-in-out infinite; }
.btn-gold:hover { color: var(--on-gold); transform: translateY(-1px); box-shadow: inset 0 0 0 1px rgba(255,244,214,.85), 0 2px 8px rgba(0,0,0,.35); filter: brightness(1.06); }
@keyframes sheen { 0% { transform: translateX(-130%); } 55%, 100% { transform: translateX(130%); } }
.btn-big { min-height: 60px; padding: 0 28px; border-radius: 12px; flex-direction: column; align-items: flex-start; }
.btn-big .btn-title { font: 800 19px var(--display); letter-spacing: .06em; }
.btn-big .btn-sub { font-size: 13px; font-weight: 600; opacity: .75; }
.btn-ghost.btn-big { font-size: 17px; align-items: center; }

/* ---- header and footer ---- */
.site-header { position: relative; z-index: 3; border-bottom: 1px solid var(--line-soft); background: rgba(4,6,15,.6); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 36px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; }
.brand img { width: 104px; height: 52px; object-fit: contain; }
.nav { flex: 1 1 360px; display: flex; flex-wrap: wrap; gap: 8px 28px; font: 600 16px var(--label); letter-spacing: .12em; text-transform: uppercase; }
.nav a { color: var(--soft); padding: 4px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--text); }
.nav a[aria-current="page"] { color: var(--gold); border-bottom-color: var(--gold); }
.actions { display: flex; gap: 10px; align-items: center; }
.nav .nav-account, .menu-btn { display: none; }

/* phones and small tablets: the logo, Download and a menu button; the menu opens below the bar (site.js). Without
   scripts the menu simply stays open under the logo. */
@media (max-width: 900px) {
  .site-header .wrap { gap: 0 10px; padding-top: 10px; padding-bottom: 10px; }
  .brand img { width: 88px; height: 44px; }
  .actions { margin-left: auto; }
  .actions .btn-ghost { display: none; }
  .actions .btn { min-height: 36px; padding: 0 14px; font-size: 14px; }
  .menu-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; margin-right: -8px; border: 0; border-radius: 8px; background: transparent; color: var(--text); cursor: pointer; }
  .menu-btn:hover { background: rgba(160,180,255,.08); }
  .menu-btn span, .menu-btn span::before, .menu-btn span::after { content: ""; display: block; width: 20px; height: 2px; border-radius: 1px; background: currentColor; transition: transform .25s var(--ease), opacity .2s; }
  .menu-btn span { position: relative; }
  .menu-btn span::before { position: absolute; top: -6px; }
  .menu-btn span::after { position: absolute; top: 6px; }
  .site-header.open .menu-btn span { background: transparent; }
  .site-header.open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
  .site-header.open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }
  .nav { order: 3; flex: 1 0 100%; flex-direction: column; gap: 0; margin: 10px 0 4px; padding-top: 6px; border-top: 1px solid var(--line-soft); font-size: 17px; }
  .nav a { padding: 13px 4px; border-bottom: 0; border-left: 2px solid transparent; }
  .nav a[aria-current="page"] { border-left-color: var(--gold); padding-left: 12px; }
  .nav .nav-account { display: block; color: var(--text); }
  .js .site-header:not(.open) .nav { display: none; }
  .site-header { position: sticky; top: 0; background: rgba(4,6,15,.94); backdrop-filter: blur(10px); }
}

.site-footer { margin-top: auto; border-top: 1px solid var(--line-soft); background: var(--deep); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 32px 48px; padding-top: 44px; padding-bottom: 40px; }
.site-footer .about { flex: 1 1 280px; display: flex; flex-direction: column; gap: 12px; }
.site-footer .about img { width: 132px; height: 66px; object-fit: contain; margin-left: -6px; }
.site-footer p { margin: 0; color: var(--faint); font-size: 14px; max-width: 380px; }
.site-footer nav { flex: 0 1 170px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.site-footer nav b { font: 600 13px var(--label); letter-spacing: .14em; text-transform: uppercase; color: var(--text); }
.site-footer nav a { color: var(--faint); }
.site-footer nav a:hover { color: var(--text); }

/* ---- the home page's hero: the logo in a slowly turning circle ---- */
.hero { position: relative; overflow: hidden; background: radial-gradient(ellipse 50% 80% at 72% 45%, #133588 0%, #0A1638 48%, var(--ground) 85%); }
.hero .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 40px; padding-top: 72px; padding-bottom: 104px; }
.hero-text { flex: 1 1 460px; min-width: 0; }
.hero h1 { margin-top: 14px; font: 700 clamp(40px, 5.2vw, 62px)/1.06 var(--display); }
.lead { margin: 20px 0 0; max-width: 520px; color: var(--soft); font-size: 19px; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.fineprint { margin: 20px 0 0; color: var(--faint); font-size: 14px; }
.hero-art { flex: 1 1 400px; min-width: 0; display: flex; justify-content: center; }
.circle-art { position: relative; width: 100%; max-width: 540px; aspect-ratio: 1; }
.circle-art svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; }
.circle-art .ring { stroke: #8EC1FF; stroke-opacity: .2; }
.circle-art .ticks { stroke: #8EC1FF; stroke-opacity: .24; stroke-width: 7; stroke-dasharray: 1 11; }
.circle-art .gold { stroke: var(--gold); stroke-opacity: .26; stroke-width: 1.2; }
.circle-art .faint { stroke-opacity: .2; }
.circle-art .dashed { stroke-dasharray: 4 7; }
.spin { animation: spin 180s linear infinite; transform-origin: 320px 320px; }
.spin-back { animation: spin 110s linear infinite reverse; transform-origin: 320px 320px; }
@keyframes spin { to { transform: rotate(360deg); } }
.circle-art .glow { position: absolute; left: 18%; top: 24%; width: 64%; height: 52%; border-radius: 50%; background: radial-gradient(closest-side, rgba(92,170,255,.42), rgba(242,196,106,.12) 60%, transparent); animation: breathe 6s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { opacity: .55; transform: scale(1); } 50% { opacity: .9; transform: scale(1.06); } }
.circle-art img { position: absolute; left: 12%; top: 25%; width: 76%; height: 50%; object-fit: contain; filter: drop-shadow(0 16px 44px rgba(4,8,30,.7)); }

/* the live status strip under the hero (assets/site.js) */
.status-strip { position: relative; z-index: 2; margin-top: -52px; }
.status-strip .cells { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); border-radius: 14px; overflow: hidden; background: rgba(12,19,44,.94); box-shadow: inset 0 0 0 1px rgba(160,180,255,.16), 0 24px 60px rgba(0,0,0,.45); }
.cell { padding: 20px 24px; display: flex; flex-direction: column; gap: 4px; box-shadow: 1px 0 0 var(--line-soft); }
.cell-label { font: 600 13px var(--label); letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }
.cell-value { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 18px; }
.cell-value .muted { font-weight: 500; }
.dot { width: 9px; height: 9px; flex: none; border-radius: 50%; background: var(--faint); }
.dot.online { background: var(--green); animation: pulse 2.4s ease-in-out infinite; }
.dot.maintenance { background: var(--rose); }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(110,231,168,.55); } 50% { box-shadow: 0 0 0 6px rgba(110,231,168,0); } }

/* sections */
.section { padding-top: 96px; }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 28px; }
.section-head a { font-weight: 600; }

.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.news-card { display: flex; flex-direction: column; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--card); color: var(--text); transition: transform .22s var(--ease), border-color .22s; }
.news-card:hover { transform: translateY(-4px); border-color: rgba(242,196,106,.5); color: var(--text); }
.news-art { height: 168px; display: grid; place-items: center; }
.news-art img { width: 180px; height: 90px; object-fit: contain; }
.news-art svg { width: 140px; height: 140px; }
.news-art.gold { background: radial-gradient(circle at 50% 120%, #F2C46A 0%, #8A5A18 38%, #2A1A08 75%); }
.news-art.blue { background: radial-gradient(circle at 50% 120%, #5CC8FF 0%, #135A80 40%, #08182A 78%); }
.news-art.rose { background: radial-gradient(circle at 50% 120%, #EC70A0 0%, #7A1E4A 40%, #24081C 78%); }
.news-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; }
.tag { font: 600 13px var(--label); letter-spacing: .16em; text-transform: uppercase; }
.tag.gold { color: var(--gold); } .tag.blue { color: var(--blue); } .tag.rose { color: var(--rose); }
.news-title { font-weight: 700; font-size: 21px; line-height: 1.25; transition: color .15s; }
.news-card:hover .news-title { color: var(--gold-light); }
.news-text { color: var(--muted); font-size: 15px; }

/* the week */
.week-box { overflow-x: auto; border-radius: 14px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.week { min-width: 760px; padding: 20px; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px 8px; }
.day { font: 600 14px var(--label); letter-spacing: .14em; text-transform: uppercase; color: var(--faint); padding-left: 8px; }
.day.today { color: var(--gold); }
.lane { grid-column: 1 / 8; min-height: 44px; border-radius: 8px; padding: 8px 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.lane span, .slot span { color: var(--soft); font-size: 14px; }
.lane.gold { background: linear-gradient(90deg, rgba(242,196,106,.22), rgba(242,196,106,.08)); box-shadow: inset 3px 0 0 var(--gold); }
.lane.blue { background: linear-gradient(90deg, rgba(92,170,255,.22), rgba(92,170,255,.08)); box-shadow: inset 3px 0 0 var(--blue); }
.lane.grey { background: rgba(160,180,255,.07); box-shadow: inset 3px 0 0 var(--faint); }
.lane.dorm { grid-column: 1 / 5; }
.dorm-board { margin-top: 14px; padding: 18px 20px; border-radius: 14px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.dorm-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; margin-bottom: 12px; }
.dorm-rows { display: grid; gap: 10px; }
.dorm-row { display: grid; grid-template-columns: 120px 1fr 48px; align-items: center; gap: 12px; }
.dorm-row b { text-align: right; font-variant-numeric: tabular-nums; }
.dorm-name { font-size: 14px; color: var(--soft); }
.dorm-row.osiris .bar > span { background: linear-gradient(90deg, #7A1E26, #E2535E 80%, #FFC2C6); }
.dorm-row.ra .bar > span { background: linear-gradient(90deg, var(--gold-deep), var(--gold) 70%, var(--gold-light)); }
.dorm-row.obelisk .bar > span { background: linear-gradient(90deg, #1D3F8A, var(--blue) 80%, #CFE5FF); }
.dorm-row.ahead .dorm-name { color: var(--text); font-weight: 600; }
.dorm-note { margin: 14px 0 0; color: var(--faint); font-size: 14px; }
@media (max-width: 560px) { .dorm-row { grid-template-columns: 96px 1fr 40px; gap: 8px; } }
.slot { min-height: 72px; border-radius: 8px; padding: 10px 12px; display: flex; flex-direction: column; justify-content: center; }
.slot b { font-size: 15px; }
.slot span { font-size: 13px; }
.slot.wed { grid-column: 3 / 4; background: rgba(110,231,168,.12); box-shadow: inset 0 0 0 1px rgba(110,231,168,.35); }
.slot.fri { grid-column: 5 / 7; background: rgba(236,112,160,.12); box-shadow: inset 0 0 0 1px rgba(236,112,160,.35); }
.slot.sun { grid-column: 7 / 8; background: rgba(242,196,106,.14); box-shadow: inset 0 0 0 1px rgba(242,196,106,.45); }
.week-note { margin: 14px 0 0; color: var(--faint); font-size: 14px; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.feature { padding: 26px; border-radius: 14px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 10px; }
.feature svg { width: 28px; height: 28px; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 19px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }

.band { border-radius: 18px; padding: 44px 40px; background: radial-gradient(ellipse 60% 120% at 85% 50%, #133588 0%, var(--card) 70%); box-shadow: inset 0 0 0 1px rgba(242,196,106,.25); display: flex; flex-wrap: wrap; gap: 36px; align-items: center; }
.band > div { flex: 1 1 280px; }
.band p { margin: 10px 0 0; color: var(--muted); }
.steps { flex: 2 1 560px; margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 20px; }
.steps li { display: flex; flex-direction: column; gap: 6px; }
.steps .n { font: 800 28px var(--display); color: var(--gold); }
.steps li > span:last-child { color: var(--muted); font-size: 15px; }
.steps.cards li { padding: 24px; border-radius: 14px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.steps.cards b { font-size: 18px; }
.home-end { padding-bottom: 96px; }

/* ---- inner pages: a short hero, then the page ---- */
.page-hero { background: radial-gradient(ellipse 50% 140% at 80% 0%, #133588 0%, #0A1638 50%, var(--ground) 90%); border-bottom: 1px solid var(--line-soft); }
.page-hero .wrap { padding-top: 56px; padding-bottom: 48px; display: flex; flex-wrap: wrap; gap: 32px 40px; align-items: center; }
.page-hero h1 { margin-top: 8px; font: 700 clamp(36px, 4.4vw, 52px)/1.1 var(--display); }
.page-hero p { margin: 12px 0 0; max-width: 620px; color: var(--soft); font-size: 18px; }
.page-hero .grow { flex: 1 1 480px; }
.download { flex: 0 1 380px; padding: 26px; border-radius: 16px; background: rgba(12,19,44,.94); box-shadow: inset 0 0 0 1px rgba(242,196,106,.3), 0 24px 60px rgba(0,0,0,.4); display: flex; flex-direction: column; gap: 14px; }
.download .btn-big { align-items: center; width: 100%; text-align: center; }
.download [aria-disabled="true"] { cursor: default; color: var(--soft); }
.download dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 14px; }
.download dt { color: var(--faint); }
.download dd { margin: 0; overflow-wrap: anywhere; }
.faq { max-width: 860px; display: flex; flex-direction: column; gap: 10px; }
.faq details { border-radius: 12px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.faq summary { padding: 18px 22px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; font-weight: 600; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--faint); font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 0; padding: 0 22px 20px; color: var(--muted); }

/* ---- the server's pages (SitePage: events, players, accounts): their plain markup in this look ---- */
.page { width: 100%; max-width: 1200px; margin: 0 auto; padding: 48px 24px 96px; }
.page.narrow { max-width: 560px; }
.page > h1 { font: 700 clamp(32px, 4vw, 44px)/1.1 var(--display); margin: 40px 0 18px; }
.page > h1:first-child { margin-top: 0; }
.page h2 { font: 700 21px/1.3 var(--body); margin: 0 0 12px; }
.page small { color: var(--faint); font-weight: 500; font-size: 14px; }
.page p { color: var(--soft); }
.page b { color: var(--text); }
.page section { margin: 16px 0; padding: 20px 22px; border-radius: 14px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.page section > :last-child { margin-bottom: 0; }
.page table { width: 100%; border-collapse: collapse; font-size: 15px; }
.page th { text-align: left; padding: 10px 12px; font: 600 13px var(--label); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.page td { padding: 10px 12px; border-top: 1px solid var(--line-soft); }
.page tr:hover td { background: rgba(160,180,255,.04); }
.page td:first-child, .page th:first-child { padding-left: 0; }
.page ul { padding-left: 20px; color: var(--soft); }
.page li { margin: 4px 0; }
.page form { display: flex; flex-direction: column; gap: 14px; margin: 18px 0; }
.page label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--soft); }
.page input { height: 44px; padding: 0 14px; border-radius: 8px; border: 1px solid rgba(160,180,255,.24); background: #0A1028; color: var(--text); font: inherit; font-size: 16px; outline: none; transition: border-color .15s, box-shadow .15s; }
.page input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(92,170,255,.18); }
.page form p { margin: 0; }
.page form[method="get"] { flex-direction: row; max-width: 520px; }
.page form[method="get"] input { flex: 1; min-width: 0; }
.page code:empty { display: none; }
.page button { min-height: 44px; padding: 0 20px; border-radius: 8px; border: 1px solid rgba(160,180,255,.26); background: rgba(14,21,48,.5); color: var(--text); font: 600 15px var(--body); cursor: pointer; transition: border-color .15s, background-color .15s, transform .18s, box-shadow .18s, filter .18s; }
.page button:hover { border-color: rgba(242,196,106,.6); background: rgba(242,196,106,.08); }
.page button[type="submit"] { align-self: flex-start; border: 0; color: var(--on-gold); background: linear-gradient(115deg, var(--gold-light), var(--gold) 45%, var(--gold-deep)); }
.page button[type="submit"]:hover { transform: translateY(-1px); box-shadow: inset 0 0 0 1px rgba(255,244,214,.85), 0 2px 8px rgba(0,0,0,.35); filter: brightness(1.06); }
.page .problem { color: var(--rose); padding: 12px 16px; border-radius: 8px; background: rgba(236,112,160,.08); box-shadow: inset 0 0 0 1px rgba(236,112,160,.3); }
.page .note { color: var(--faint); font-size: 14px; }

/* ---- motion: sections rise in as they scroll into view (site.js adds .in) ---- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .08s; } .js .reveal.d2 { transition-delay: .16s; } .js .reveal.d3 { transition-delay: .24s; }

/* ---- the numbers (live: /api/v1/site.json) ---- */
.section-head .live { display: inline-flex; align-items: center; gap: 8px; color: var(--faint); font-size: 14px; }
.section-head .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: pulse 2.4s ease-in-out infinite; }
.metric-hero {
  display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; padding: 30px 32px; border-radius: 16px; color: var(--text);
  background: radial-gradient(ellipse 60% 140% at 100% 0%, rgba(242,196,106,.13), transparent 60%), var(--card);
  box-shadow: inset 0 0 0 1px rgba(242,196,106,.32); transition: box-shadow .2s;
}
.metric-hero:hover { color: var(--text); box-shadow: inset 0 0 0 1px rgba(242,196,106,.55); }
.metric-main { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.metric-side { flex: 0 1 320px; display: flex; flex-direction: column; gap: 8px; }
.metric-side b { font-size: 18px; }
.metric-side span { color: var(--muted); font-size: 15px; }
.metric-side .go { color: var(--gold); font-weight: 600; }
.big-number { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.big-number b { font: 800 56px/1 var(--display); font-variant-numeric: tabular-nums; }
.big-number span { font-size: 20px; color: var(--soft); }
.bar { position: relative; height: 10px; border-radius: 5px; background: rgba(160,180,255,.14); overflow: hidden; }
.bar > span { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--gold-deep), var(--gold) 70%, var(--gold-light)); transition: width 1.6s var(--ease); }
.bar > span::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%); transform: translateX(-100%); animation: sweep 3.2s ease-in-out 1.6s infinite; }
@keyframes sweep { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(100%); } }
.bar.rose > span { background: linear-gradient(90deg, #8E2453, var(--rose) 80%, #FFD3E4); }
.metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 20px; }
.metric { padding: 24px 26px; border-radius: 14px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 4px; }
.metric-top { display: flex; align-items: baseline; gap: 10px; }
.metric-top b { font: 800 40px/1.1 var(--display); font-variant-numeric: tabular-nums; }
.metric-top span { font-weight: 600; font-size: 17px; }
.metric p { margin: 0; color: var(--muted); font-size: 15px; }

/* pillars: features with a link or a live line at the bottom */
.feature .more { margin-top: auto; font-weight: 600; font-size: 14px; }
.engine-lead { margin: -8px 0 24px; max-width: 760px; color: var(--soft); font-size: 18px; }
.feature p b { color: var(--text); font-variant-numeric: tabular-nums; }
.feature .live-line { margin-top: auto; font-size: 14px; color: #8EC1FF; }
.feature .live-line b { color: var(--text); }
.feature code { font-size: .88em; }

/* ---- balance: the ban list in force, as copies allowed per deck ---- */
.balance { border-radius: 18px; padding: 36px 40px; background: radial-gradient(ellipse 50% 130% at 100% 0%, rgba(92,170,255,.14), transparent 60%), var(--card); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-wrap: wrap; gap: 32px 48px; align-items: center; }
.balance-text { flex: 1 1 320px; display: flex; flex-direction: column; gap: 12px; }
.balance-text p { margin: 0; color: var(--soft); }
.limits { flex: 2 1 520px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.limit { padding: 20px; border-radius: 14px; background: rgba(7,11,24,.55); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.limit b { font: 800 34px/1 var(--display); font-variant-numeric: tabular-nums; }
.limit .what { font: 600 13px var(--label); letter-spacing: .14em; text-transform: uppercase; }
.limit .copies { color: var(--muted); font-size: 13px; }
.limit.forbidden .what { color: var(--rose); } .limit.limited .what { color: var(--gold); } .limit.semi .what { color: var(--blue); }
.pips { display: flex; gap: 6px; }
.pip { position: relative; width: 20px; height: 28px; border-radius: 4px; box-shadow: inset 0 0 0 1.5px rgba(160,180,255,.3); }
.pip.on { background: linear-gradient(160deg, #FFE7B0, var(--gold) 45%, var(--gold-deep)); box-shadow: 0 2px 8px rgba(0,0,0,.35); }
.limit.semi .pip.on { background: linear-gradient(160deg, #CFE4FF, var(--blue) 50%, #2563DC); }
.limit.forbidden .pips { position: relative; }
.limit.forbidden .pips::after { content: ""; position: absolute; left: -4px; right: -4px; top: 50%; height: 2px; background: var(--rose); transform: rotate(-18deg); border-radius: 1px; }
@media (max-width: 640px) { .limits { grid-template-columns: 1fr; } }

/* ---- made here: teaser band and the page's features ---- */
.made { border-radius: 18px; padding: 40px; background: radial-gradient(ellipse 55% 120% at 0% 0%, rgba(236,112,160,.14), transparent 60%), radial-gradient(ellipse 60% 120% at 100% 100%, #133588 0%, var(--card) 70%); box-shadow: inset 0 0 0 1px rgba(160,180,255,.18); display: flex; flex-wrap: wrap; gap: 32px 40px; align-items: center; }
.made-text { flex: 1 1 300px; display: flex; flex-direction: column; gap: 12px; }
.made-text p { margin: 0; color: var(--soft); }
.made-tiles { flex: 2 1 560px; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.made-tile { padding: 20px; border-radius: 12px; background: rgba(7,11,24,.55); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 6px; }
.made-tile b { font-size: 17px; }
.made-tile span { color: var(--muted); font-size: 14px; }
.eyebrow.rose { color: var(--rose); } .eyebrow.blue { color: var(--blue); } .eyebrow.green { color: var(--green); }
.tag.green { color: var(--green); } .tag.sky { color: #8EC1FF; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)); gap: 20px; }
@media (max-width: 480px) { .grid2 { grid-template-columns: 1fr; } }
.feature.wide { grid-column: 1 / -1; }
.feature .limits { flex: none; margin-top: 8px; }
.features.three { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

/* secure sign-in: the token flow, with an example one-time code that rolls over (site.js) */
.flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 8px; }
.flow-step { position: relative; padding: 18px; border-radius: 12px; background: rgba(7,11,24,.55); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 6px; }
.flow-step + .flow-step::before { content: ""; position: absolute; left: -12px; top: 50%; width: 10px; height: 10px; border-top: 2px solid var(--gold); border-right: 2px solid var(--gold); transform: translateY(-50%) rotate(45deg); }
.flow-step .n { font: 800 22px var(--display); color: var(--gold); }
.flow-step b { font-size: 16px; }
.flow-step span { color: var(--muted); font-size: 14px; }
@media (max-width: 760px) { .flow { grid-template-columns: 1fr; } .flow-step + .flow-step::before { display: none; } }
.token { display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.token code { font: 700 18px ui-monospace, Consolas, monospace; letter-spacing: .14em; color: var(--gold-light); background: rgba(242,196,106,.08); box-shadow: inset 0 0 0 1px rgba(242,196,106,.35); padding: 8px 14px; border-radius: 8px; transition: opacity .3s, filter .3s; }
.token code.used { opacity: .45; filter: grayscale(1); text-decoration: line-through; text-decoration-color: var(--rose); }
.token .note { color: var(--faint); font-size: 13px; }
.token .badge { font: 700 12px var(--label); letter-spacing: .12em; text-transform: uppercase; padding: 3px 8px; border-radius: 4px; color: var(--green); background: rgba(110,231,168,.12); }
.token .badge.used { color: var(--rose); background: rgba(236,112,160,.12); }
.feature .cmd { display: inline-block; font: 600 .9em ui-monospace, Consolas, monospace; color: var(--gold-light); background: rgba(242,196,106,.1); padding: 1px 8px; border-radius: 4px; }
.feature h2 { font: 700 23px/1.25 var(--body); }
.feature .lead2 { color: var(--soft); margin: 0; }

/* the raid card: the shared bar, live */
.raid { display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: center; padding: 30px 32px; border-radius: 16px; background: radial-gradient(ellipse 50% 130% at 100% 0%, rgba(236,112,160,.16), transparent 60%), var(--card); box-shadow: inset 0 0 0 1px rgba(236,112,160,.32); }
.raid-text { flex: 1 1 420px; display: flex; flex-direction: column; gap: 10px; }
.raid-text p { margin: 0; color: var(--soft); }
.raid-panel { flex: 1 1 360px; display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: 14px; background: rgba(7,11,24,.6); box-shadow: inset 0 0 0 1px rgba(236,112,160,.22); }
.raid-panel .row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.raid-panel .label { font: 600 13px var(--label); letter-spacing: .16em; text-transform: uppercase; color: var(--rose); }
.raid-panel .state { font-size: 14px; color: var(--muted); }
.raid-panel .bar { height: 14px; border-radius: 7px; }
.marks { position: relative; height: 0; }
.marks i { position: absolute; top: -14px; width: 1px; height: 14px; background: rgba(7,11,24,.8); }

/* chat feed and speech bubbles: our own lines in our own look */
.chat { margin-top: 4px; padding: 14px 16px; border-radius: 12px; background: #060A1C; box-shadow: inset 0 0 0 1px var(--line); font: 14px/1.6 ui-monospace, Consolas, monospace; min-height: 132px; }
.chat p { margin: 0; color: var(--soft); opacity: 0; transform: translateY(4px); transition: opacity .35s, transform .35s; white-space: pre-wrap; }
.chat p.show { opacity: 1; transform: none; }
.chat .sys { color: var(--gold-light); }
.chat .me { color: #8EC1FF; }
.chat .typing::after { content: "▍"; color: var(--gold); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.bubble { position: relative; margin-top: 6px; padding: 16px 18px; border-radius: 16px; background: linear-gradient(170deg, #16224A, #0E1736); box-shadow: inset 0 0 0 1px rgba(160,180,255,.22); color: var(--text); min-height: 86px; }
.bubble::after { content: ""; position: absolute; left: 28px; bottom: -9px; width: 16px; height: 16px; background: #0E1736; transform: rotate(45deg); box-shadow: 1px 1px 0 rgba(160,180,255,.22); }
.bubble p { margin: 0; transition: opacity .45s; }
.bubble p.fade { opacity: 0; }
.speaker { margin-top: 14px; padding-left: 8px; font: 600 13px var(--label); letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }

/* the launcher, framed */
.shot { flex: 1 1 520px; min-width: 0; }
.shot img { display: block; width: 100%; height: auto; border-radius: 14px; box-shadow: 0 0 0 1px rgba(160,180,255,.18), 0 30px 80px rgba(0,0,0,.55); transform: perspective(1400px) rotateY(-6deg) rotateX(2deg); transition: transform .6s var(--ease); }
.shot img:hover { transform: none; }
.shot figcaption { margin-top: 12px; color: var(--faint); font-size: 14px; text-align: center; }
figure.shot { margin: 0; }
.tick-list { margin: 16px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.tick-list li { position: relative; padding-left: 28px; color: var(--soft); }
.tick-list li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 12px; height: 7px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }
.tick-list.two { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 10px 32px; margin-top: 4px; }
.tick-list.two li { font-size: 15px; }

/* ---- remember: the nostalgia band, a memory that turns over (site.js) beside a short history ---- */
.remember { border-radius: 18px; padding: 44px 40px; background: radial-gradient(ellipse 70% 110% at 0% 100%, rgba(242,196,106,.12), transparent 60%), radial-gradient(ellipse 50% 120% at 100% 0%, #10296A 0%, var(--card) 70%); box-shadow: inset 0 0 0 1px rgba(242,196,106,.22); display: flex; flex-wrap: wrap; gap: 36px 56px; align-items: center; }
.remember-text { flex: 1.2 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.remember-text p { margin: 0; color: var(--soft); max-width: 540px; }
.memory { margin: 4px 0; min-height: 2.7em; font: 700 clamp(24px, 2.8vw, 32px)/1.3 var(--display); color: var(--gold-light); transition: opacity .5s, transform .5s; }
.memory::before { content: "\201C"; margin-right: 4px; color: var(--gold); opacity: .6; }
.memory.fade { opacity: 0; transform: translateY(6px); }
.timeline { flex: 1 1 320px; margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.timeline li { position: relative; padding: 0 0 22px 34px; display: flex; flex-direction: column; gap: 2px; }
.timeline li::before { content: ""; position: absolute; left: 4px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--card); box-shadow: inset 0 0 0 2px rgba(160,180,255,.45); }
.timeline li::after { content: ""; position: absolute; left: 9px; top: 22px; bottom: 2px; width: 2px; background: rgba(160,180,255,.18); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li:last-child::after { display: none; }
.timeline .year { font: 600 13px var(--label); letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }
.timeline b { font-size: 17px; }
.timeline li > span:last-child { color: var(--muted); font-size: 14px; }
.timeline li.quiet b { color: var(--muted); }
.timeline li.now .year { color: var(--gold); }
.timeline li.now::before { background: var(--gold); box-shadow: 0 0 0 0 rgba(242,196,106,.5); animation: pulse-gold 2.4s ease-in-out infinite; }
@keyframes pulse-gold { 0%, 100% { box-shadow: 0 0 0 0 rgba(242,196,106,.5); } 50% { box-shadow: 0 0 0 7px rgba(242,196,106,0); } }

/* ---- made for today's PCs: the client improvements as the launcher's switches; the "on" ones flip on in turn ---- */
.modern { border-radius: 18px; padding: 40px; background: radial-gradient(ellipse 55% 120% at 100% 0%, rgba(92,170,255,.16), transparent 60%), var(--card); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-wrap: wrap; gap: 32px 48px; align-items: flex-start; }
.modern-text { flex: 1 1 320px; display: flex; flex-direction: column; gap: 14px; }
@media (min-width: 961px) { .modern-text { position: sticky; top: 24px; } }
.modern-text p { margin: 0; color: var(--soft); }
.switches { flex: 1.3 1 480px; min-width: 0; padding: 6px 0; border-radius: 14px; background: rgba(7,11,24,.6); box-shadow: inset 0 0 0 1px var(--line); }
.switch-head { padding: 14px 20px 4px; font: 600 12px var(--label); letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }
.switch-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1px 16px; align-items: center; padding: 10px 20px; }
.switch-row + .switch-row { box-shadow: inset 0 1px 0 var(--line-soft); }
.switch-row b { font-size: 15px; }
.switch-row > span:not(.toggle):not(.chip) { grid-column: 1; color: var(--muted); font-size: 13px; }
.toggle { grid-column: 2; grid-row: 1 / span 2; position: relative; width: 38px; height: 22px; border-radius: 11px; background: rgba(160,180,255,.16); transition: background .45s var(--ease); transition-delay: calc(var(--i, 0) * 140ms + .3s); }
.toggle::after { content: ""; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #AEB8D4; transition: transform .45s var(--ease), background .45s; transition-delay: inherit; }
.switch-row.on .toggle { background: linear-gradient(115deg, var(--gold-light), var(--gold) 50%, var(--gold-deep)); }
.switch-row.on .toggle::after { transform: translateX(16px); background: #fff; }
.js .switches:not(.in) .switch-row.on .toggle { background: rgba(160,180,255,.16); }
.js .switches:not(.in) .switch-row.on .toggle::after { transform: none; background: #AEB8D4; }
.switch-row.soon .toggle { background: none; box-shadow: inset 0 0 0 1.5px rgba(160,180,255,.28); }
.switch-row.soon .toggle::after { background: rgba(160,180,255,.28); }
.switch-row .chip { grid-column: 2; grid-row: 1 / span 2; font: 700 11px var(--label); letter-spacing: .12em; text-transform: uppercase; color: #8EC1FF; padding: 3px 8px; border-radius: 4px; background: rgba(92,170,255,.12); }

/* ---- a world you grow into: the progression path; its line draws itself in ---- */
.grow-box { border-radius: 18px; padding: 40px; background: radial-gradient(ellipse 60% 120% at 0% 0%, rgba(110,231,168,.10), transparent 60%), var(--card); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 28px; }
.grow-head { display: flex; flex-wrap: wrap; gap: 16px 48px; align-items: flex-end; justify-content: space-between; }
.grow-head > div { flex: 1 1 420px; display: flex; flex-direction: column; gap: 12px; }
.grow-head p { margin: 0; color: var(--soft); max-width: 640px; }
.path { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 22px 18px; }
.path li { position: relative; padding-top: 30px; display: flex; flex-direction: column; gap: 4px; }
.path li::before { content: ""; position: absolute; left: 0; top: 2px; width: 14px; height: 14px; border-radius: 50%; background: var(--ground); box-shadow: inset 0 0 0 2px var(--gold); z-index: 1; }
.path li::after { content: ""; position: absolute; left: 14px; right: -18px; top: 8px; height: 2px; background: linear-gradient(90deg, var(--gold), rgba(242,196,106,.25)); transform-origin: left; transition: transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 160ms + .2s); }
.js .grow-box:not(.in) .path li::after { transform: scaleX(0); }
.path li:last-child::after { display: none; }
.path li.top::before { background: var(--gold); }
.path .when { font: 600 13px var(--label); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.path b { font-size: 16px; line-height: 1.3; }
.path li > span:last-child { color: var(--muted); font-size: 14px; }

/* ---- the roadmap: four columns from done to ideas, no dates ---- */
.road { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; align-items: start; }
.road.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1040px) { .road, .road.three { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .road, .road.three { grid-template-columns: 1fr; } }
.road-col { display: flex; flex-direction: column; gap: 12px; }
.road-col > h2, .road-col > h3 { display: flex; align-items: center; gap: 10px; padding: 0 4px 4px; font: 600 15px var(--label); letter-spacing: .16em; text-transform: uppercase; }
.road-col > h2::before, .road-col > h3::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.road-col.done > :first-child { color: var(--green); }
.road-col.now > :first-child { color: var(--gold); }
.road-col.now > :first-child::before { animation: pulse-gold 2.4s ease-in-out infinite; }
.road-col.next > :first-child { color: var(--blue); }
.road-col.ideas > :first-child { color: var(--faint); }
.road-col .about { margin: -6px 4px 4px; color: var(--faint); font-size: 14px; }
.road-item { padding: 14px 16px; border-radius: 12px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 4px; }
.road-item .tag { font-size: 11px; color: var(--faint); }
.road-item b { font-size: 15px; line-height: 1.35; }
.road-item > span:last-child:not(.tag) { color: var(--muted); font-size: 14px; }
.road-col.done .road-item b::before { content: "✓ "; color: var(--green); }
.road-col.now .road-item { box-shadow: inset 0 0 0 1px rgba(242,196,106,.32); background: radial-gradient(ellipse 80% 120% at 100% 0%, rgba(242,196,106,.08), transparent 60%), var(--card); }
.road-col.ideas .road-item { background: transparent; box-shadow: none; border: 1px dashed rgba(160,180,255,.22); }
.road-track { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-bottom: 26px; }
.road-track::before { content: ""; position: absolute; left: 4px; right: 4px; top: 5px; height: 2px; background: linear-gradient(90deg, var(--green), var(--gold) 37%, var(--blue) 62%, rgba(160,180,255,.25)); }
.road-track span { position: relative; padding: 22px 4px 0; font: 600 13px var(--label); letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.road-track span::before { content: ""; position: absolute; left: 4px; top: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--ground); box-shadow: inset 0 0 0 2px rgba(160,180,255,.4); }
.road-track span.here { color: var(--gold); }
.road-track span.here::before { background: var(--gold); box-shadow: none; animation: pulse-gold 2.4s ease-in-out infinite; }
@media (max-width: 1040px) { .road-track { display: none; } }
.road-foot { margin: 22px 0 0; color: var(--faint); font-size: 14px; }

/* ---- the whole game: the base game as checked groups ---- */
.game-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 20px; }
.game-group { padding: 24px 26px; border-radius: 14px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 14px; }
.game-group h3 { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 19px; }
.game-group h3 small { font: 600 13px var(--label); letter-spacing: .12em; color: var(--green); }
.ticks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.ticks li { position: relative; padding-left: 28px; color: var(--soft); font-size: 15px; }
.ticks li::before { content: ""; position: absolute; left: 3px; top: .42em; width: 11px; height: 6px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.ticks li.soon { color: var(--muted); }
.ticks li.soon::before { left: 2px; top: .3em; width: 12px; height: 12px; border: 1.5px solid var(--gold); border-radius: 50%; transform: none; }
.ticks li .chip { margin-left: 6px; font: 700 11px var(--label); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.game-teaser { display: flex; flex-wrap: wrap; gap: 28px 48px; align-items: center; padding: 34px 36px; border-radius: 18px; background: radial-gradient(ellipse 50% 130% at 0% 0%, rgba(110,231,168,.10), transparent 60%), var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.game-teaser > div:first-child { flex: 1 1 340px; display: flex; flex-direction: column; gap: 12px; }
.game-teaser p { margin: 0; color: var(--soft); }
.game-chips { flex: 1.4 1 480px; display: flex; flex-wrap: wrap; gap: 10px; }
.game-chips span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(7,11,24,.55); box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; font-size: 15px; }
.game-chips span::before { content: ""; width: 10px; height: 5px; margin-top: -3px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.on-page { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 18px; font-weight: 600; font-size: 15px; }

/* ---- feedback: the form (site.js sends it as JSON) and the known issues, live ---- */
.cmds { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.cmds li { display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 10px; align-items: baseline; font-size: 14px; color: var(--soft); }
.cmds code { justify-self: start; }
.fb { display: flex; flex-wrap: wrap; gap: 28px 48px; align-items: flex-start; }
.fb-text { flex: 1 1 300px; display: flex; flex-direction: column; gap: 12px; }
.fb-text p { margin: 0; color: var(--soft); }
.fb-text p.muted { color: var(--muted); font-size: 15px; }
.fb-form { flex: 1.6 1 520px; min-width: 0; padding: 28px; border-radius: 16px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 18px; }
.kinds { margin: 0; padding: 0; border: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.kinds legend { margin-bottom: 10px; padding: 0; font: 600 13px var(--label); letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.kinds label { position: relative; }
.kinds input { position: absolute; opacity: 0; pointer-events: none; }
.kinds span { display: inline-flex; align-items: center; min-height: 38px; padding: 0 16px; border-radius: 999px; background: rgba(7,11,24,.6); box-shadow: inset 0 0 0 1px rgba(160,180,255,.22); color: var(--soft); font-weight: 600; font-size: 15px; cursor: pointer; transition: box-shadow .15s, color .15s, background-color .15s; }
.kinds span:hover { color: var(--text); box-shadow: inset 0 0 0 1px rgba(242,196,106,.5); }
.kinds input:checked + span { color: var(--on-gold); background: linear-gradient(115deg, var(--gold-light), var(--gold) 50%, var(--gold-deep)); box-shadow: none; }
.kinds input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.fb-field { position: relative; flex: 1 1 200px; min-width: 0; display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--soft); }
.fb-field i { font-style: normal; color: var(--faint); }
.fb-field input, .fb-field textarea { width: 100%; padding: 11px 14px; border-radius: 10px; border: 1px solid rgba(160,180,255,.24); background: #0A1028; color: var(--text); font: inherit; font-size: 16px; outline: none; transition: border-color .15s, box-shadow .15s; }
.fb-field textarea { resize: vertical; min-height: 140px; line-height: 1.5; }
.fb-field input:focus, .fb-field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(92,170,255,.18); }
.fb-field ::placeholder { color: #6E7A9A; }
.fb-count { align-self: flex-end; font-size: 13px; color: var(--faint); font-variant-numeric: tabular-nums; }
.fb-count.short { color: var(--rose); }
.fb-row { display: flex; flex-wrap: wrap; gap: 14px; }
.fb-send { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.fb-send .btn { min-width: 120px; }
.fb-send .btn:disabled { opacity: .6; cursor: default; transform: none; box-shadow: none; filter: none; }
.fb-result { margin: 0; font-size: 15px; color: var(--soft); }
.fb-result.ok { color: var(--green); }
.fb-result.bad { color: var(--rose); }
.fb-signin { gap: 16px; }
.fb-way { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: 12px; background: rgba(7,11,24,.55); box-shadow: inset 0 0 0 1px var(--line); }
.fb-way b { font-size: 16px; }
.fb-way span { color: var(--soft); font-size: 15px; }
.fb-signin .more { font-weight: 600; font-size: 15px; }
.known-intro { margin: -14px 0 20px; color: var(--muted); }

/* ---- privacy and terms: a readable column ---- */
.legal { max-width: 820px; }
.legal h2 { margin: 40px 0 12px; font: 700 24px/1.25 var(--display); }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--soft); }
.legal p { margin: 0 0 12px; }
.legal ul { margin: 0 0 12px; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.legal b { color: var(--text); }
.legal-table { overflow-x: auto; margin: 4px 0 16px; border-radius: 12px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.legal-table table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 15px; }
.legal-table th { text-align: left; padding: 12px 16px; font: 600 13px var(--label); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.legal-table td { padding: 12px 16px; border-top: 1px solid var(--line-soft); vertical-align: top; color: var(--soft); }
.legal-table td:first-child { width: 34%; }
.legal-table td:last-child { width: 24%; }
.known { display: flex; flex-direction: column; gap: 10px; }
.known-item { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 4px 16px; align-items: baseline; padding: 16px 20px; border-radius: 12px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.known-item .state { grid-row: 1 / span 2; align-self: center; font: 700 12px var(--label); letter-spacing: .12em; text-transform: uppercase; padding: 4px 9px; border-radius: 4px; color: var(--gold); background: rgba(242,196,106,.12); }
.known-item.fixed .state { color: var(--green); background: rgba(110,231,168,.12); }
.known-item b { font-size: 16px; }
.known-item .when { font-size: 13px; color: var(--faint); white-space: nowrap; }
.known-item .note { grid-column: 2 / -1; color: var(--muted); font-size: 14px; }
.known-item.fixed b { color: var(--soft); }
@media (max-width: 640px) {
  .fb-form { padding: 22px 18px; }
  .known-item { grid-template-columns: minmax(0, 1fr) auto; }
  .known-item .state { grid-row: auto; justify-self: start; }
  .known-item b { grid-column: 1 / -1; }
  .known-item .note { grid-column: 1 / -1; }
}

/* ---- phones: tighter spacing, the hero's logo above the text, the progression path top to bottom ---- */
@media (max-width: 640px) {
  .section { padding-top: 64px; }
  .home-end { padding-bottom: 64px; }
  h2 { font-size: 27px; }
  .hero .wrap { gap: 8px; padding-top: 20px; padding-bottom: 84px; }
  .hero-art { order: -1; }
  .circle-art { max-width: 250px; }
  .lead { font-size: 17px; }
  .cta .btn-big { width: 100%; align-items: center; }
  .remember, .modern, .grow-box, .balance, .made, .band, .game-teaser, .raid, .metric-hero { padding: 26px 20px; }
  .feature, .game-group { padding: 22px 20px; }
  .page-hero .wrap { padding-top: 36px; padding-bottom: 32px; }
  .status-strip .cells { grid-template-columns: 1fr 1fr; }
  .cell { padding: 14px 16px; }
  .cell-value { font-size: 16px; }
  .big-number b { font-size: 46px; }
  .switch-row { padding: 10px 14px; }
  .switch-head { padding-left: 14px; }
  .path { grid-template-columns: 1fr; gap: 18px; }
  .path li { padding: 0 0 0 30px; }
  .path li::before { top: 3px; }
  .path li::after { left: 6px; top: 19px; right: auto; bottom: -19px; width: 2px; height: auto; background: linear-gradient(180deg, var(--gold), rgba(242,196,106,.25)); transform-origin: top; }
  .js .grow-box:not(.in) .path li::after { transform: scaleY(0); }
  .timeline li { padding-left: 30px; }
  .btn-big .btn-title { font-size: 17px; }
  .road-col.done .road-item { padding: 10px 14px; }
  .road-col.done .road-item > span:last-child:not(.tag), .road-col.done .road-item .tag { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .chat p { opacity: 1; transform: none; }
  .js .switches:not(.in) .switch-row.on .toggle { background: linear-gradient(115deg, var(--gold-light), var(--gold) 50%, var(--gold-deep)); }
  .js .switches:not(.in) .switch-row.on .toggle::after { transform: translateX(16px); background: #fff; }
  .js .grow-box:not(.in) .path li::after { transform: none; }
}
