/* Antipode Chess — game page. Layers on home.css + game-page.css.
   No JS, no external resources, no inline styles (strict CSP). */
:root{
  --ap-night:#12151c; --ap-night-2:#1b202a; --ap-night-3:#252d3a;
  --ap-teal:#3ba5ae; --ap-teal-lit:#79cdd4; --ap-teal-deep:#1d6b73;
  --ap-board:#c9c4b4; --ap-board-dark:#39465c;
  --ap-paper:#f3f4f2;
}

/* ===== hero (overrides game-page.css .gp-hero artwork) ===== */
.ap-hero{
  background:
    radial-gradient(760px 420px at 18% 30%,rgba(59,165,174,.20),transparent 62%),
    radial-gradient(620px 420px at 88% 8%,rgba(59,165,174,.12),transparent 60%),
    linear-gradient(180deg,#19212c,#0f1318)}
/* the shared hero fade resolves to cream; here the next section is dark */
.ap-hero .gp-hero__fade{background:linear-gradient(180deg,transparent,#141a23)}
.ap-hero .eyebrow{color:var(--ap-teal-lit)}
.ap-hero .btn--gold{background:var(--ap-teal);color:#07211f;box-shadow:0 2px 6px rgba(29,107,115,.4)}
.ap-hero .btn--gold:hover{background:var(--ap-teal-lit);color:#07211f}
.ap-hero__mark{display:flex;align-items:center;gap:14px;margin:0 0 6px}
.ap-hero__icon{width:64px;height:64px;border-radius:15px;flex:none;box-shadow:0 8px 22px rgba(0,0,0,.45)}
.ap-hero__name{font-family:var(--display);font-weight:700;font-size:1.5rem;line-height:1;color:#fff;letter-spacing:-.01em}
.ap-hero__name span{display:block;font-family:var(--sans);font-weight:600;font-size:.86rem;color:var(--ap-teal-lit);margin-top:6px;letter-spacing:.02em}
.ap-hero .gp-badges svg{stroke:var(--ap-teal-lit)}
@media(max-width:860px){.ap-hero__mark{justify-content:center}}

/* ===== dark sections ===== */
.ap-dark{position:relative;color:#e8edf2;background:linear-gradient(180deg,#141a23,#0f1318)}
.ap-dark .eyebrow{color:var(--ap-teal-lit)}
.ap-dark h2,.ap-dark h3{color:#fff}
.ap-dark .gp-head p,.ap-dark p{color:#b3bfcc}
.ap-dark strong{color:#edf2f6}
.ap-dark .feat{background:var(--ap-night-2);border-color:#2c3542;box-shadow:4px 4px 0 rgba(0,0,0,.28)}
.ap-dark .feat h3{color:#fff}
.ap-dark .feat p{color:#aab6c4}
.ap-dark .feat__ico{width:46px;height:46px;border-radius:12px;background:rgba(59,165,174,.14);display:grid;place-items:center;margin-bottom:13px}
.ap-dark .feat__ico svg{width:23px;height:23px;stroke:var(--ap-teal-lit);fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

/* ===== the globe diagram ===== */
.ap-globe{display:grid;grid-template-columns:.95fr 1.05fr;gap:54px;align-items:center}
.ap-diagram{width:100%;max-width:400px;margin:0 auto;height:auto;display:block}
.ap-dg-face{fill:url(#apChk)}
.ap-dg-frame{fill:none;stroke:#4b5a70;stroke-width:1.5}
.ap-dg-lbl{fill:#8e9cad;font-family:var(--sans);font-size:11px;font-weight:700}
.ap-dg-pole{fill:var(--ap-teal-lit);font-family:var(--sans);font-size:11px;font-weight:800;letter-spacing:.18em}
.ap-dg-poleline{stroke:var(--ap-teal);stroke-width:1.5;stroke-dasharray:5 5}
.ap-dg-wrap{stroke:var(--ap-teal-lit);stroke-width:2.2;fill:none;stroke-dasharray:6 5;stroke-linecap:round}
.ap-dg-wraptxt{fill:var(--ap-teal-lit);font-family:var(--sans);font-size:10px;font-weight:800;letter-spacing:.06em}
.ap-dg-piece{fill:#fff;stroke:#0d1016;stroke-width:1.2}
.ap-dg-piece--dark{fill:#1b2330;stroke:#e6ebf0;stroke-width:1.2}
.ap-dg-ring{fill:none;stroke:#ffd877;stroke-width:2.4}
.ap-dg-cap{fill:#ffd877;font-family:var(--sans);font-size:11px;font-weight:800}
.ap-globe__notes{list-style:none;padding:0;margin:22px 0 0}
.ap-globe__notes li{display:flex;gap:13px;align-items:flex-start;margin:0 0 15px;color:#b3bfcc;font-size:1.02rem;line-height:1.55}
.ap-globe__notes b{display:block;color:#fff;font-family:var(--display);font-weight:700;font-size:1.04rem;margin-bottom:1px}
.ap-globe__num{flex:0 0 auto;width:27px;height:27px;border-radius:50%;background:rgba(59,165,174,.16);color:var(--ap-teal-lit);
  font-family:var(--display);font-weight:800;font-size:.86rem;display:grid;place-items:center;margin-top:2px}
@media(max-width:860px){.ap-globe{grid-template-columns:1fr;gap:34px}.ap-diagram{max-width:330px}}

/* ===== move-by-move strip (screenshot + caption) ===== */
.ap-shots{display:grid;grid-template-columns:repeat(3,1fr);gap:26px;margin-top:10px}
.ap-shot{text-align:center}
.ap-shot .phone{max-width:238px}
.ap-shot p{color:var(--muted);font-size:.96rem;margin:18px auto 0;max-width:290px;line-height:1.55}
.ap-shot b{display:block;font-family:var(--display);font-weight:700;color:var(--ink);font-size:1.04rem;margin-bottom:3px}
.ap-dark .ap-shot p{color:#aab6c4}
.ap-dark .ap-shot b{color:#fff}
@media(max-width:860px){.ap-shots{grid-template-columns:1fr;gap:42px;max-width:330px;margin-left:auto;margin-right:auto}}

/* ===== modes list ===== */
.ap-modes{display:grid;grid-template-columns:repeat(2,1fr);gap:16px 26px;margin-top:6px;padding:0;list-style:none}
.ap-modes li{display:flex;gap:14px;align-items:flex-start}
.ap-modes svg{flex:0 0 auto;width:21px;height:21px;margin-top:3px;stroke:var(--emerald);fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.ap-modes b{display:block;font-family:var(--display);font-weight:700;font-size:1.04rem;color:var(--ink)}
.ap-modes span{color:var(--muted);font-size:.98rem;line-height:1.5}
@media(max-width:760px){.ap-modes{grid-template-columns:1fr}}

/* ===== free vs full ===== */
.ap-tiers{display:grid;grid-template-columns:repeat(2,1fr);gap:22px;margin-top:8px}
.ap-tier{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:28px 26px;box-shadow:4px 4px 0 rgba(36,28,18,.10),var(--shadow-s)}
.ap-tier--paid{border-color:#bfe0e2;box-shadow:4px 4px 0 rgba(29,107,115,.14),var(--shadow-s)}
.ap-tier__tag{display:inline-block;font-family:var(--display);font-weight:800;font-size:.74rem;letter-spacing:.12em;text-transform:uppercase;
  padding:5px 13px;border-radius:999px;background:var(--emerald-soft);color:var(--emerald-deep);margin-bottom:12px}
.ap-tier--paid .ap-tier__tag{background:#e3f3f4;color:var(--ap-teal-deep)}
.ap-tier h3{font-size:1.3rem;margin:0 0 4px}
.ap-tier__sub{color:var(--muted);font-size:.98rem;margin:0 0 16px}
.ap-tier ul{list-style:none;padding:0;margin:0}
.ap-tier li{display:flex;gap:11px;align-items:flex-start;margin:0 0 11px;color:var(--ink);font-size:1rem;line-height:1.5}
.ap-tier li svg{flex:0 0 auto;width:19px;height:19px;margin-top:3px;stroke:var(--emerald);fill:none;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.ap-tier--paid li svg{stroke:var(--ap-teal-deep)}
.ap-tier__note{margin:18px 0 0;color:var(--muted);font-size:.94rem;line-height:1.5}
@media(max-width:760px){.ap-tiers{grid-template-columns:1fr}}

/* ===== fair-play band (teal variant of .kind) ===== */
.ap-fair{background:var(--ap-teal-deep)}
.ap-fair .eyebrow{color:#ffd877}
.ap-fair .kind__lead{color:#d2eced}
.ap-fair .kind__item p{color:#cfe8ea}

/* ===== final CTA (overrides game-page.css .gp-cta artwork) ===== */
.ap-cta{background:
  radial-gradient(680px 380px at 50% 0%,rgba(59,165,174,.22),transparent 64%),
  linear-gradient(180deg,#19212c,#0e1216)}
.ap-cta .btn--gold{background:var(--ap-teal);color:#07211f}
.ap-cta .btn--gold:hover{background:var(--ap-teal-lit);color:#07211f}
.ap-cta .notify{margin:22px auto 0}
.ap-cta .notify__label{color:#c5d2dd}
.ap-cta .notify__row input{background:rgba(255,255,255,.07);border-color:rgba(255,255,255,.22);color:#fff}
.ap-cta .notify__row input::placeholder{color:#8b98a6}
.ap-cta .notify__row input:focus{border-color:var(--ap-teal-lit);box-shadow:0 0 0 3px rgba(59,165,174,.25)}

/* ===== platform note pill ===== */
.ap-note{display:inline-block;font-family:var(--display);font-weight:700;font-size:.86rem;color:var(--ap-teal-deep);
  background:#e8f5f6;border:1px solid #bfe0e2;border-radius:999px;padding:8px 16px;margin-top:16px}

/* ===== iPad strip ===== */
.ap-ipad{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center}
.ap-ipad__shot{border-radius:16px;overflow:hidden;border:1px solid var(--line);box-shadow:6px 6px 0 rgba(36,28,18,.10),var(--shadow-l);background:var(--ap-night)}
.ap-ipad__shot img{width:100%;height:auto;display:block}
@media(max-width:860px){.ap-ipad{grid-template-columns:1fr;gap:28px}.ap-ipad__shot{order:-1;max-width:420px;margin:0 auto}}

@media(prefers-reduced-motion:no-preference){@supports(animation-timeline:view()){
  .ap-tier,.ap-shot,.ap-globe__notes li{animation:revealUp linear both;animation-timeline:view();animation-range:entry 0% entry 32%}
}}
