:root {
  --bg: #fbfaf7; --fg: #15171a; --muted: #5d636d; --line: #e6e2da; --card: #ffffff; --band: #f3efe7;
  --acc: #e8642c; --acc-ink: #ffffff; --ok: #1f7a4d;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #111315; --fg: #eceae5; --muted: #9aa0a8; --line: #2a2e33; --card: #1a1d20; --band: #16191c;
    --acc: #f07a45; --acc-ink: #141414; --ok: #4fbf87; }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 17px/1.6 Inter, system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 14px; }
h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 800; }
h2 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 750; }
h3 { font-size: 19px; font-weight: 700; }
p { margin: 0 0 14px; color: var(--muted); }
.eyebrow { color: var(--acc); font-weight: 650; font-size: 14px; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 10px; }

.nav { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; text-decoration: none; letter-spacing: -0.02em; }
.brand.small { font-size: 17px; }
.mark { width: 22px; height: 22px; border-radius: 50%; background: var(--acc); position: relative; display: inline-block; }
.mark::after { content: ""; position: absolute; inset: 9px -2px; border-radius: 2px; background: var(--bg); transform: rotate(-30deg); }
.links { display: flex; align-items: center; gap: 22px; font-size: 15px; }
.links a:not(.btn) { text-decoration: none; color: var(--muted); }
.links a:not(.btn):hover { color: var(--fg); }

.btn { display: inline-block; background: var(--acc); color: var(--acc-ink); text-decoration: none; font-weight: 650; padding: 12px 20px; border-radius: 10px; border: 0; font: inherit; font-weight: 650; cursor: pointer; }
.btn.small { padding: 8px 14px; font-size: 14px; }
.btn.ghost { background: transparent; color: var(--fg); border: 1px solid var(--line); }
.btn:hover { filter: brightness(1.05); }

section { padding: 88px 0; }
.band { background: var(--band); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hero { padding: 72px 0 88px; }
.hero-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.lead { font-size: 19px; max-width: 34em; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 14px; }
.note { font-size: 14px; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 20px 50px -24px rgba(0,0,0,.25); }
.report { margin: 0; padding: 22px; }
.report-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.label { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.title { font-weight: 700; font-size: 18px; }
.pill { font-size: 12px; font-weight: 650; color: var(--ok); border: 1px solid currentColor; border-radius: 99px; padding: 2px 10px; white-space: nowrap; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 18px 0; }
.stats div { background: var(--band); border-radius: 12px; padding: 10px 12px; }
.stats b { display: block; font-size: 20px; font-variant-numeric: tabular-nums; }
.stats span { font-size: 12px; color: var(--muted); }
.drills { list-style: none; margin: 0; padding: 0; }
.drills > li { border-top: 1px solid var(--line); padding: 10px 0; }
.drill, .subs li { display: flex; justify-content: space-between; gap: 12px; }
.drill span { font-weight: 600; }
.drill b, .subs b { font-variant-numeric: tabular-nums; }
.subs { list-style: none; margin: 6px 0 0; padding: 0 0 0 14px; border-left: 2px solid var(--acc); font-size: 14px; color: var(--muted); }
.subs li { padding: 2px 0; }
.subs b { font-weight: 600; color: var(--fg); }
.report figcaption { font-size: 12px; color: var(--muted); margin-top: 10px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 28px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.num { width: 34px; height: 34px; border-radius: 50%; background: var(--acc); color: var(--acc-ink); display: grid; place-items: center; font-weight: 750; margin-bottom: 14px; }

.two { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.checks { list-style: none; padding: 0; margin: 6px 0 0; }
.checks li { position: relative; padding: 12px 0 12px 32px; border-bottom: 1px solid var(--line); }
.checks li::before { content: ""; position: absolute; left: 4px; top: 19px; width: 12px; height: 7px; border-left: 2.5px solid var(--acc); border-bottom: 2.5px solid var(--acc); transform: rotate(-45deg); }

.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.principles div { border-top: 3px solid var(--acc); padding-top: 18px; }

.early { background: var(--fg); color: var(--bg); }
.early p { color: color-mix(in srgb, var(--bg) 75%, var(--fg)); }
.early-in { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.form input, .form select, .form textarea { font: inherit; font-weight: 400; padding: 11px 12px; border-radius: 10px; border: 1px solid color-mix(in srgb, var(--bg) 30%, var(--fg)); background: color-mix(in srgb, var(--fg) 85%, var(--bg)); color: var(--bg); }
.form .btn { justify-self: start; }
.fine { font-size: 13px; }
.early .fine a { color: inherit; }

.foot { padding: 32px 0; border-top: 1px solid var(--line); }
.foot-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot nav { display: flex; gap: 20px; font-size: 14px; }
.foot nav a { color: var(--muted); text-decoration: none; }
.foot .fine { color: var(--muted); }

.page { max-width: 760px; padding: 56px 24px 88px; }
.page h1 { font-size: 36px; }
.page h2 { font-size: 22px; margin-top: 32px; }
.page p, .page li { color: var(--fg); }

@media (max-width: 860px) {
  section { padding: 60px 0; }
  .hero { padding: 40px 0 60px; }
  .hero-in, .two, .early-in { grid-template-columns: 1fr; gap: 36px; }
  .steps, .principles { grid-template-columns: 1fr; }
  .links a:not(.btn) { display: none; }
  .wrap { padding: 0 16px; }
}
.stats b, .drill b, .subs b { white-space: nowrap; }
@media (max-width: 420px) { .stats b { font-size: 17px; } .stats div { padding: 8px 10px; } }

.pill.draft { color: var(--acc); }
.cyc { display: grid; grid-template-columns: 110px 1fr; gap: 12px 16px; margin-top: 18px; font-size: 15px; }
.cyc > div { border-top: 1px solid var(--line); padding-top: 10px; }
.cyc-k { font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); font-weight: 650; }
#cycle .checks { margin-top: 18px; }
@media (max-width: 520px) { .cyc { grid-template-columns: 1fr; gap: 4px; } .cyc-k { border-top: 1px solid var(--line); padding-top: 10px; } .cyc > div:not(.cyc-k) { border-top: 0; padding-top: 0; } }

.clips { list-style: none; margin: 16px 0 0; padding: 0; }
.clips li { display: grid; grid-template-columns: 56px 1fr auto; gap: 10px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; }
.clips .t { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.tag { font-size: 12px; font-weight: 650; border-radius: 99px; padding: 2px 10px; white-space: nowrap; }
.tag.off { background: color-mix(in srgb, var(--acc) 16%, transparent); color: var(--acc); }
.tag.def { background: color-mix(in srgb, #3a7bd5 18%, transparent); color: #3a7bd5; }
.tag.flip { background: color-mix(in srgb, var(--muted) 18%, transparent); color: var(--muted); }
#games .two { align-items: center; }
@media (max-width: 860px) { #games figure { order: 2; } }
