/* GA:Reconnected (formerly Agenda Reborn) - standalone project page. Own design; no game art. Calm v2 (2026-10-28). */
@font-face { font-family: "Rajdhani"; font-weight: 600; font-style: normal; font-display: swap;
  src: url("fonts/Rajdhani-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Rajdhani"; font-weight: 700; font-style: normal; font-display: swap;
  src: url("fonts/Rajdhani-Bold.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 100 700; font-style: normal; font-display: swap;
  src: url("fonts/IBMPlexSans-var.woff2") format("woff2"); }

:root {
  --bg: #13161a;
  --panel: #1b2026;
  --line: #2c333c;
  --text: #eef1f3;
  --soft: #c3cad1;
  --muted: #9aa4ae;
  --amber: #f2a33a;
  --amber-hi: #ffbb55;
  --teal: #45d3c7;
  --red: #ff7a6e;
  --head: "Rajdhani", "Arial Narrow", sans-serif;
  --body: "IBM Plex Sans", "Segoe UI", Roboto, Arial, sans-serif;
  --cut: 12px;
  --navh: 52px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg) radial-gradient(ellipse 120% 600px at 50% -120px, #1f2a33 0%, rgba(19,22,26,0) 70%) no-repeat;
  color: var(--text);
  font: 400 18px/1.6 var(--body);
  overflow-x: hidden;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: #7fe6dd; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
strong, b { color: #fff; font-weight: 600; }
code {
  font-family: ui-monospace, Consolas, monospace; font-size: .86em;
  background: #22282f; color: var(--text); padding: .08em .35em; border-radius: 3px;
  overflow-wrap: anywhere;
}

.wrap { max-width: 960px; margin: 0 auto; padding: 0 28px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--amber); color: #111; padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }

/* top line */
.topline { padding: 18px 0 0; }
.back { color: var(--muted); font-size: 15px; text-decoration: none; }
.back:hover { color: var(--text); }

/* hero */
.hero { padding: 72px 0 80px; }
.kicker {
  margin: 0 0 14px; font: 700 15px/1 var(--head); letter-spacing: .22em; text-transform: uppercase; color: var(--teal);
}
h1 {
  margin: 0; font: 700 clamp(56px, 11vw, 112px)/.92 var(--head);
  letter-spacing: .03em; text-transform: uppercase; color: #fff;
}
h1 span { color: var(--amber); }
/* the project name keeps its own casing: GA:Reconnected */
h1.name, h3.name { text-transform: none; }
.tagline { margin: 22px 0 28px; font-size: clamp(20px, 2.6vw, 24px); line-height: 1.45; color: var(--soft); max-width: 34em; }

.pill {
  display: inline-flex; align-items: center; gap: 10px; margin: 0;
  padding: 7px 16px 7px 13px; border-radius: 999px;
  font: 700 16px/1.2 var(--head); letter-spacing: .1em; text-transform: uppercase;
  background: rgba(242,163,58,.12); color: var(--amber-hi); border: 1px solid rgba(242,163,58,.35);
}
.pill .dot { width: 9px; height: 9px; border-radius: 50%; background: currentColor; flex: none; }
.pill-online { background: rgba(69,211,199,.12); color: var(--teal); border-color: rgba(69,211,199,.4); }
.pill-online .dot { box-shadow: 0 0 0 3px rgba(69,211,199,.2); }
.pill-offline { background: rgba(255,122,110,.1); color: var(--red); border-color: rgba(255,122,110,.35); }
.pill-sm { font-size: 14px; padding: 4px 12px 4px 10px; margin-right: 8px; vertical-align: 1px; }

.cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 36px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 32px;
  font: 700 19px/1 var(--head); letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)));
  transition: background .15s, color .15s;
}
.btn-amber { background: var(--amber); color: #15120c; }
.btn-amber:hover { background: var(--amber-hi); color: #15120c; }
.btn-ghost { background: #232a32; color: var(--text); box-shadow: inset 0 0 0 1px #3a444f; }
.btn-ghost:hover { background: #2b333c; color: #fff; }
.btn-wide { width: 100%; }

/* sticky section nav */
.secnav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(19,22,26,.94); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
@supports (backdrop-filter: blur(6px)) { .secnav { background: rgba(19,22,26,.82); backdrop-filter: blur(8px); } }
.secnav-in {
  display: flex; gap: 6px; height: var(--navh); align-items: stretch;
  overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.secnav-in::-webkit-scrollbar { display: none; }
.secnav a {
  display: flex; align-items: center; padding: 0 12px; white-space: nowrap;
  font: 700 16px/1 var(--head); letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); text-decoration: none; border-bottom: 2px solid transparent;
}
.secnav a:first-child { margin-left: -12px; }
.secnav a:hover { color: var(--text); }
.secnav a.on { color: var(--amber); border-bottom-color: var(--amber); }

/* sections */
.sec { padding: 88px 0 8px; scroll-margin-top: calc(var(--navh) - 24px); }
h2 {
  margin: 0 0 24px; font: 700 clamp(34px, 5vw, 44px)/1.05 var(--head);
  letter-spacing: .05em; text-transform: uppercase; color: #fff;
}
h2::before {
  content: ""; display: block; width: 40px; height: 4px; margin-bottom: 18px; background: var(--amber);
}
h3 { font: 700 23px/1.2 var(--head); letter-spacing: .05em; text-transform: uppercase; color: #fff; margin: 0; }
.lead { margin: 0 0 18px; color: var(--soft); max-width: 44em; }
.sub { margin: -6px 0 32px; color: var(--muted); }
.small { font-size: 15px; color: var(--muted); margin: 12px 0 0; }

/* about: classes */
.classes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin: 40px 0 0; }
.classes div { border-left: 2px solid var(--line); padding-left: 16px; }
.classes dt { font: 700 20px/1.2 var(--head); letter-spacing: .1em; text-transform: uppercase; color: var(--amber); }
.classes dd { margin: 4px 0 0; color: var(--soft); font-size: 16px; line-height: 1.5; }

/* screenshots */
.shots { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px 16px; }
.shots a { display: block; overflow: hidden; border-radius: 4px; background: var(--panel); }
.shots img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .25s ease, opacity .25s ease; opacity: .92; }
.shots a:hover img, .shots a:focus-visible img { transform: scale(1.04); opacity: 1; }
.shots span { display: block; margin-top: 8px; font-size: 14px; line-height: 1.4; color: var(--muted); }

/* lightbox */
html.lb-on { overflow: hidden; }
.lb { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: var(--text); }
.lb::backdrop { background: rgba(8,10,12,.93); }
.lb[open] { display: flex; align-items: center; justify-content: center; }
.lb figure { margin: 0; padding: 0 64px; max-width: 100%; text-align: center; }
.lb img { display: block; margin: 0 auto; width: auto; height: auto; max-width: min(1280px, 100%); max-height: calc(100vh - 110px); border-radius: 4px; cursor: pointer; }
.lb figcaption { margin-top: 14px; color: var(--soft); font-size: 16px; }
.lb-n { margin-left: 10px; color: var(--muted); font-size: 14px; }
.lb-btn {
  position: absolute; width: 48px; height: 48px; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(40,46,54,.85); color: #fff; font: 400 32px/48px var(--body); padding: 0;
}
.lb-btn:hover { background: var(--amber); color: #15120c; }
.lb-close { top: 14px; right: 14px; }
.lb-prev, .lb-next { top: 50%; margin-top: -24px; }
.lb-prev { left: 10px; }
.lb-next { right: 10px; }

/* what works: checklist */
.checks { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 48px; }
.checks li {
  break-inside: avoid; position: relative; padding: 9px 0 9px 40px; color: var(--text);
}
.checks li::before {
  content: ""; position: absolute; left: 0; top: 12px; width: 24px; height: 24px; border-radius: 50%;
  background: rgba(69,211,199,.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12.5l3.5 3.5 7.5-8' fill='none' stroke='%2345d3c7' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat;
}

/* how to play: steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 34px; }
.steps > li { display: grid; grid-template-columns: 64px 1fr; gap: 22px; align-items: start; }
.steps .n {
  display: flex; align-items: center; justify-content: center; width: 64px; height: 64px;
  font: 700 34px/1 var(--head); color: #15120c; background: var(--amber);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}
.steps h3 { font-size: 25px; margin-top: 4px; }
.steps p { margin: 6px 0 0; color: var(--soft); }

.more { margin-top: 48px; border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary {
  cursor: pointer; list-style: none; position: relative; padding: 18px 40px 18px 0;
  font-weight: 600; color: var(--text);
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font: 700 26px/1 var(--head); color: var(--amber);
}
details[open] > summary::after { content: "\2013"; }
summary:hover { color: #fff; }
details > p, details > ul { margin: 0 0 16px; color: var(--soft); font-size: 17px; }
details > ul { padding-left: 22px; }
details > ul li { margin-bottom: 8px; }
details > :last-child { margin-bottom: 22px; }

/* roadmap timeline */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 11px; top: 14px; bottom: 30px; width: 2px;
  background: linear-gradient(var(--teal) 0, var(--teal) 30%, var(--amber) 45%, #3a434d 65%, #3a434d 100%);
}
.phase { position: relative; padding: 0 0 44px 56px; }
.phase:last-child { padding-bottom: 0; }
.node {
  position: absolute; left: 0; top: 6px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--bg); border: 3px solid #4a5560;
}
.phase-done .node { border-color: var(--teal); background: var(--teal); }
.phase-done .node::after {
  content: ""; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5.5 12.5l4 4 9-9.5' fill='none' stroke='%2313161a' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat;
}
.phase-progress .node { border-color: var(--amber); }
.phase-progress .node::after {
  content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--amber);
}
.phase-next .node { border-color: var(--soft); }
.phase-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-bottom: 12px; }
.phase-head h3 { font-size: 25px; }
.badge {
  display: inline-block; padding: 5px 10px 4px; font: 700 14px/1 var(--head); letter-spacing: .14em; text-transform: uppercase;
  border-radius: 3px;
}
.badge-done { background: rgba(69,211,199,.15); color: var(--teal); }
.badge-progress { background: var(--amber); color: #15120c; }
.badge-next { background: #2a3139; color: var(--text); box-shadow: inset 0 0 0 1px #4a5560; }
.badge-later { background: transparent; color: var(--muted); box-shadow: inset 0 0 0 1px #3a434d; }
.phase ul { margin: 0; padding: 0; list-style: none; }
.phase ul li { position: relative; padding: 4px 0 4px 20px; color: var(--soft); }
.phase ul li::before {
  content: ""; position: absolute; left: 2px; top: .95em; width: 7px; height: 2px; background: #5a6672;
}
.phase-done ul { columns: 2; column-gap: 40px; }
.phase-done ul li { break-inside: avoid; color: var(--text); }
.phase-done ul li::before { background: var(--teal); }
.phase-progress ul li { color: var(--text); }
.phase-progress ul li::before { background: var(--amber); }
.phase-later ul li { color: var(--muted); }

/* download */
.dl {
  display: grid; grid-template-columns: 1fr 300px; gap: 32px 48px; align-items: center;
  background: var(--panel); padding: 36px 40px; border-top: 3px solid var(--amber);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
}
.dl h3 { font-size: 28px; }
.dl-info p { margin: 10px 0 0; color: var(--soft); }
.dl .meta { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 16px; color: var(--muted); font-size: 16px; }
.dl .meta span + span::before { content: "\00b7"; margin-right: 22px; color: #5a6672; }
.dl-act .small { text-align: center; }
.source { margin: 24px 0 0; font-size: 16px; color: var(--muted); }

/* faq */
.faq { border-top: 1px solid var(--line); }
.faq summary { font-size: 19px; padding-top: 20px; padding-bottom: 20px; }

/* footer */
.foot { margin-top: 110px; padding: 36px 0 48px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.foot p { margin: 0 0 10px; max-width: 46em; }
.foot a { color: var(--soft); }
.foot-links { font-size: 14px; }

/* phones */
@media (max-width: 760px) {
  .classes { grid-template-columns: 1fr 1fr; gap: 22px 20px; }
  .checks, .phase-done ul { columns: 1; }
  .dl { grid-template-columns: 1fr; padding: 28px 24px; }
  .shots { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 660px) {
  :root { --navh: 80px; }
  .secnav-in { flex-wrap: wrap; justify-content: center; gap: 0 2px; height: auto; padding: 2px 4px; overflow: visible; }
  .secnav a { justify-content: center; height: 38px; padding: 0 7px; font-size: 14.5px; letter-spacing: .06em; }
  .secnav a:first-child { margin-left: 0; }
}
@media (max-width: 520px) {
  body { font-size: 17px; }
  .wrap { padding: 0 20px; }
  .hero { padding: 48px 0 56px; }
  .cta { flex-direction: column; }
  .cta .btn { width: 100%; }
  .sec { padding-top: 64px; }
  .steps > li { grid-template-columns: 48px 1fr; gap: 16px; }
  .steps .n { width: 48px; height: 48px; font-size: 26px; }
  .steps h3, .phase-head h3 { font-size: 22px; }
  .phase { padding-left: 44px; }
  .shots { gap: 16px 12px; }
  .lb figure { padding: 0 8px; }
  .lb img { max-height: calc(100vh - 150px); }
  .lb-prev, .lb-next { top: auto; bottom: 14px; margin-top: 0; }
  .lb-prev { left: calc(50% - 60px); }
  .lb-next { right: calc(50% - 60px); }
}

/* 10-31: space between hero status pills when they wrap */
.pill:not(.pill-sm) { margin: 0 8px 12px 0; }
