/* Roundra landing — palette from app icon: navy field #012260, court blue #2563EB,
   pitch green #16A34A, trophy gold #F0B429. System fonts only. */
:root {
  --navy: #012260;
  --navy-deep: #061735;
  --navy-ink: #0f172a;
  --blue: #2563eb;
  --blue-soft: #dbeafe;
  --green: #16a34a;
  --green-soft: #dcfce7;
  --gold: #f0b429;
  --gold-deep: #b07c10;
  --bg: #f4f7fc;
  --card: #ffffff;
  --text: #16233b;
  --muted: #52627d;
  --line: #d7e0ee;
  --hero-text: #eef4ff;
  --hero-muted: #a8bcdf;
  --shadow: 0 10px 30px rgba(1, 34, 96, 0.1);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1424;
    --card: #101d33;
    --text: #e4ecf9;
    --muted: #92a5c4;
    --line: #23344f;
    --blue-soft: #16294a;
    --green-soft: #10301f;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-wrap: break-word;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--blue); }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: var(--navy-deep);
  padding: 0.6rem 1rem;
  z-index: 100;
  font-weight: 700;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }
.wrap { max-width: 68rem; margin: 0 auto; padding: 0 1.25rem; }

/* Header / nav */
.site-head {
  background: var(--navy-deep);
  color: var(--hero-text);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(240, 180, 41, 0.25);
}
.site-head .wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 3.5rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--hero-text);
  text-decoration: none;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav-toggle {
  margin-left: auto;
  background: none;
  border: 1px solid var(--hero-muted);
  color: var(--hero-text);
  border-radius: 6px;
  padding: 0.35rem 0.7rem;
  font-size: 1rem;
  display: none;
  cursor: pointer;
}
.site-nav { margin-left: auto; }
.site-nav ul {
  list-style: none;
  display: flex;
  gap: 1.4rem;
  margin: 0;
  padding: 0;
}
.site-nav a {
  color: var(--hero-muted);
  text-decoration: none;
  font-size: 0.95rem;
}
.site-nav a:hover { color: var(--gold); }
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; width: 100%; margin: 0; }
  .site-nav.open { display: block; }
  .site-head .wrap { flex-wrap: wrap; padding-bottom: 0.5rem; }
  .site-nav ul { flex-direction: column; gap: 0.6rem; padding: 0.5rem 0; }
}

/* Hero */
.hero {
  background:
    radial-gradient(60rem 30rem at 80% -20%, rgba(37, 99, 235, 0.35), transparent 60%),
    radial-gradient(50rem 28rem at 5% 110%, rgba(22, 163, 74, 0.28), transparent 55%),
    var(--navy);
  color: var(--hero-text);
  padding: 4rem 0 4.5rem;
}
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 3rem;
  align-items: center;
}
@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: 1fr; }
}
.kicker {
  display: inline-block;
  border: 1px solid var(--gold);
  color: var(--gold);
  border-radius: 999px;
  padding: 0.15rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.1rem);
  line-height: 1.12;
  margin: 0.9rem 0 1rem;
  letter-spacing: -0.015em;
}
.hero h1 em {
  font-style: normal;
  color: var(--gold);
}
.hero .lede {
  font-size: 1.13rem;
  color: var(--hero-muted);
  max-width: 34rem;
  margin: 0 0 1.6rem;
}
.badge-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.play-badge { display: inline-block; line-height: 0; border-radius: 10px; }
.launch-note {
  margin: 0.8rem 0 0;
  font-size: 0.92rem;
  color: var(--gold);
  font-weight: 600;
}
.hero-art { text-align: center; }
.hero-art svg { width: 100%; max-width: 24rem; }

/* Sections */
section { padding: 3.5rem 0; }
.section-head { max-width: 42rem; margin-bottom: 2rem; }
.section-head .tag {
  font-weight: 800;
  color: var(--green);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  line-height: 1.2;
  margin: 0.3rem 0 0.6rem;
  letter-spacing: -0.01em;
}
.section-head p { color: var(--muted); margin: 0; }

/* Steps — scoreline style */
.steps { counter-reset: step; display: grid; gap: 0; border-left: 3px solid var(--gold); }
.step {
  padding: 1.1rem 0 1.1rem 1.5rem;
  position: relative;
}
.step + .step { border-top: 1px dashed var(--line); }
.step h3 { margin: 0 0 0.3rem; font-size: 1.15rem; }
.step h3::before {
  counter-increment: step;
  content: "R" counter(step) " · ";
  color: var(--gold-deep);
  font-variant-numeric: tabular-nums;
}
@media (prefers-color-scheme: dark) { .step h3::before { color: var(--gold); } }
.step p { margin: 0; color: var(--muted); }

/* Formats — draw-sheet table look */
.formats { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--card); box-shadow: var(--shadow); }
.format-row {
  display: grid;
  grid-template-columns: minmax(9.5rem, 14rem) 1fr;
  border-top: 1px solid var(--line);
}
.format-row:first-child { border-top: 0; }
.format-row dt {
  background: var(--blue-soft);
  padding: 0.85rem 1rem;
  font-weight: 700;
  color: var(--blue);
  border-right: 3px solid var(--blue);
}
.format-row:nth-child(even) dt { background: var(--green-soft); color: var(--green); border-right-color: var(--green); }
.format-row dd { margin: 0; padding: 0.85rem 1rem; color: var(--muted); }
@media (max-width: 560px) {
  .format-row { grid-template-columns: 1fr; }
  .format-row dt { border-right: 0; border-left: 3px solid var(--blue); }
  .format-row:nth-child(even) dt { border-left-color: var(--green); }
}

/* Split feature blocks */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: start;
}
.split + .split { margin-top: 3rem; }
.split.rev > .split-copy { order: 2; }
@media (max-width: 760px) {
  .split { grid-template-columns: 1fr; gap: 1.4rem; }
  .split.rev > .split-copy { order: 0; }
}
.split h3 { font-size: 1.35rem; margin: 0 0 0.5rem; }
.split p { color: var(--muted); }
.split ul { color: var(--muted); padding-left: 1.2rem; margin: 0.6rem 0 0; }
.split li { margin: 0.35rem 0; }
.split li strong { color: var(--text); }
.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.4rem;
  box-shadow: var(--shadow);
}
.panel.navy { background: var(--navy); border-color: var(--navy); color: var(--hero-text); }
.panel.navy .score-line { border-color: rgba(168, 188, 223, 0.3); }

/* mock scoreboard rows */
.score-line {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0.2rem;
  border-bottom: 1px dashed var(--line);
  font-variant-numeric: tabular-nums;
  font-size: 0.95rem;
}
.score-line:last-child { border-bottom: 0; }
.score-line .win { color: var(--gold); font-weight: 700; }
.pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.05rem 0.5rem;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.pill.live { background: rgba(240, 180, 41, 0.18); color: var(--gold-deep); }
@media (prefers-color-scheme: dark) { .pill.live { color: var(--gold); } }

/* Fun brackets strip */
.versus {
  background: var(--navy);
  color: var(--hero-text);
  border-radius: 16px;
  padding: 2.2rem 1.6rem;
}
.versus h2 { color: #fff; }
.versus p { color: var(--hero-muted); max-width: 40rem; }
.versus .examples { display: flex; flex-wrap: wrap; gap: 0.9rem 2rem; margin-top: 1rem; padding: 0; list-style: none; }
.versus .examples li { color: var(--gold); font-weight: 700; }
.versus .examples li span { color: var(--hero-muted); font-weight: 400; }

/* Guides teaser */
.guide-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.guide-list a {
  display: block;
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 4px solid var(--green);
  border-radius: 0 0 12px 12px;
  padding: 1.1rem 1.2rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  box-shadow: var(--shadow);
}
.guide-list li:nth-child(even) a { border-top-color: var(--blue); }
.guide-list a small { display: block; color: var(--muted); font-weight: 400; margin-top: 0.35rem; }
.guide-list a:hover { border-color: var(--gold); }

/* FAQ */
.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 0.7rem;
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  padding: 0.95rem 1.1rem;
  list-style: none;
  position: relative;
  padding-right: 2.6rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold-deep);
  font-size: 1.3rem;
  font-weight: 800;
}
@media (prefers-color-scheme: dark) { .faq summary::after { color: var(--gold); } }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 1.1rem 1rem; color: var(--muted); }

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, var(--navy) 55%, #063a2a);
  color: var(--hero-text);
  text-align: center;
  border-radius: 16px;
  padding: 2.8rem 1.5rem;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: var(--hero-muted); max-width: 36rem; margin: 0.5rem auto 1.4rem; }

/* Footer */
.site-foot {
  background: var(--navy-deep);
  color: var(--hero-muted);
  padding: 2.5rem 0;
  margin-top: 3rem;
  font-size: 0.92rem;
}
.site-foot .cols { display: flex; flex-wrap: wrap; gap: 2rem 4rem; justify-content: space-between; }
.site-foot h2 { font-size: 1rem; color: var(--hero-text); margin: 0 0 0.6rem; }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li { margin: 0.3rem 0; }
.site-foot a { color: var(--hero-muted); }
.site-foot a:hover { color: var(--gold); }
.site-foot .fine { margin-top: 1.8rem; border-top: 1px solid rgba(168, 188, 223, 0.2); padding-top: 1rem; }

/* Article / guide pages */
.article-head { background: var(--navy); color: var(--hero-text); padding: 2.6rem 0 2.2rem; }
.article-head h1 { font-size: clamp(1.7rem, 4vw, 2.5rem); line-height: 1.15; margin: 0.6rem 0 0.4rem; max-width: 46rem; }
.article-head .meta { color: var(--hero-muted); font-size: 0.95rem; }
.breadcrumb { font-size: 0.88rem; margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.breadcrumb a { color: var(--gold); text-decoration: none; }
.breadcrumb li + li::before { content: "›"; margin-right: 0.4rem; color: var(--hero-muted); }
.breadcrumb .here { color: var(--hero-muted); }
.article { max-width: 46rem; padding: 2.5rem 1.25rem 1rem; margin: 0 auto; }
.article h2 { margin-top: 2.2rem; }
.article h3 { margin-top: 1.6rem; }
.article p, .article li { color: var(--text); }
.article table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
.table-scroll { overflow-x: auto; margin: 1rem 0; }
.article th, .article td { border: 1px solid var(--line); padding: 0.55rem 0.7rem; text-align: left; }
.article th { background: var(--blue-soft); color: var(--text); }
.article .app-note {
  border-left: 4px solid var(--gold);
  background: var(--card);
  border-radius: 0 10px 10px 0;
  padding: 1rem 1.2rem;
  margin: 2rem 0;
  box-shadow: var(--shadow);
}
.article .app-note h2, .article .app-note h3 { margin-top: 0; }
.sibling-links { max-width: 46rem; margin: 1.5rem auto 3rem; padding: 0 1.25rem; }
.sibling-links h2 { font-size: 1.1rem; }
