:root {
  font-family:
    system-ui,
    -apple-system,
    'Segoe UI',
    sans-serif;
  color: var(--night-text, #193e33);
  background: var(--night-canvas, #f7f8f4);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
header,
main,
footer {
  max-width: 760px;
  margin: auto;
  padding: 20px;
}
header {
  border-bottom: 1px solid var(--night-line, #dfe6da);
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}
.brand {
  font-size: 22px;
  font-weight: 800;
  text-decoration: none;
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
}
a {
  color: var(--night-text, #1e674f);
  text-underline-offset: 3px;
}
nav a,
footer a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}
h1 {
  font-size: clamp(26px, 5vw, 38px);
  line-height: 1.3;
  letter-spacing: -0.6px;
  margin: 18px 0 24px;
}
h2 {
  font-size: 21px;
  margin: 30px 0 12px;
}
p,
li {
  font-size: 16px;
  line-height: 1.8;
}
li {
  margin-bottom: 10px;
}
ol {
  padding-left: 24px;
}
.return {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--night-line, #dfe6da);
}
.return a {
  display: inline-flex;
  background: var(--action);
  color: white;
  border-radius: 10px;
  padding: 14px 20px;
  font-weight: 700;
  text-decoration: none;
}
footer {
  display: flex;
  gap: 10px 24px;
  flex-wrap: wrap;
  align-items: center;
  font-size: 13px;
  color: var(--night-green, #607164);
  padding-bottom: 30px;
}
button {
  font: inherit;
  border: 1px solid var(--night-line, #a7bc9f);
  background: var(--night-surface, #fff);
  border-radius: 8px;
  padding: 10px;
  min-height: 44px;
  color: var(--night-text, #194d3c);
}
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--night-outline, #34745a);
  outline-offset: 3px;
}
.ad-slot {
  margin: 48px 0;
  padding: 16px 0;
  border-top: 1px solid var(--night-line, #e1e7dc);
  border-bottom: 1px solid var(--night-line, #e1e7dc);
  min-width: 250px;
}
.ad-label {
  display: block;
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--night-secondary, #758173);
  margin-bottom: 12px;
}
.ad-slot[hidden],
[hidden] {
  display: none !important;
}
.adsbygoogle[data-ad-status='unfilled'] {
  display: none !important;
}
@media (max-width: 400px) {
  header,
  main,
  footer {
    padding-left: 16px;
    padding-right: 16px;
  }
  h2 {
    font-size: 19px;
  }
  nav {
    gap: 0 12px;
  }
}
/* Public reading pages use the same scorebook typography and surfaces. */
:root {
  color: var(--ink);
  background: var(--canvas);
}
header {
  border-color: var(--rule);
  padding-top: calc(22px + env(safe-area-inset-top));
}
.brand {
  font-family: inherit;
  font-style: normal;
  color: var(--ink);
  letter-spacing: -0.6px;
}
nav {
  gap: 3px 18px;
}
nav a {
  color: var(--secondary-ink);
  font-size: 13px;
  text-decoration: none;
}
nav a:hover,
footer a:hover {
  color: var(--accent);
}
main {
  padding-top: 24px;
}
article {
  max-width: 650px;
}
h1 {
  font-family: inherit;
  font-weight: 750;
  letter-spacing: -0.9px;
  font-size: clamp(29px, 5vw, 40px);
  margin: 15px 0 27px;
  color: var(--ink);
}
h2 {
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.3px;
  padding-top: 20px;
  margin-top: 25px;
  border-top: 1px solid var(--rule);
  color: var(--ink);
}
p,
li {
  font-size: 15px;
  line-height: 1.9;
  color: var(--secondary-ink);
}
article p:first-of-type {
  font-size: 17px;
  color: var(--ink);
}
a {
  color: var(--success);
}
.return {
  border-color: var(--rule);
}
.return > span,
.hero-actions > span {
  display: block;
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--quiet-ink);
}
.eyebrow {
  font-size: 10px !important;
  font-weight: 700;
  letter-spacing: 1.8px;
  color: var(--quiet-ink) !important;
}
.landing-hero {
  padding: 25px 0 32px;
}
.landing-hero h1 {
  font-size: clamp(40px, 8vw, 65px);
  line-height: 1.08;
  letter-spacing: -2px;
}
.hero-actions {
  margin-top: 28px;
}
.primary-link {
  display: inline-flex;
  gap: 32px;
  align-items: center;
  min-height: 48px;
  padding: 12px 19px;
  border-radius: 6px;
  color: white;
  background: var(--action);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}
.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 4px 0 40px;
}
.guide-card {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) 14px;
  gap: 12px;
  align-items: center;
  padding: 20px 15px;
  border: 1px solid var(--rule);
  border-radius: 7px;
  color: var(--ink);
  background: var(--surface);
  text-decoration: none;
}
.guide-card:hover {
  border-color: var(--accent);
}
.card-mark {
  font-size: 23px;
  font-weight: 750;
  color: var(--accent);
}
.card-copy {
  display: grid;
  gap: 6px;
}
.card-copy > span {
  font-size: 11px;
  line-height: 1.5;
  color: var(--secondary-ink);
}
.example-table {
  width: 100%;
  border-collapse: collapse;
  margin: 25px 0;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.example-table caption {
  text-align: left;
  padding-bottom: 12px;
  font-size: 12px;
  color: var(--secondary-ink);
}
.example-table th,
.example-table td {
  text-align: left;
  padding: 12px 9px;
  border-bottom: 1px solid var(--rule);
}
.example-table th {
  background: var(--surface);
  font-size: 12px;
}
@media (max-width: 520px) {
  .guide-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .landing-hero {
    padding-top: 13px;
  }
}
.return a {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 10px 17px;
  border: 1px solid var(--rule);
  border-radius: 6px;
  background: var(--surface);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
}
footer {
  border-top: 1px solid var(--rule);
  padding-bottom: calc(26px + env(safe-area-inset-bottom));
  color: var(--quiet-ink);
  gap: 18px;
}
footer a,
footer span {
  font-size: 12px;
  color: var(--quiet-ink);
}
footer .appearance-choice {
  width: 100%;
  max-width: 380px;
  font-size: 12px;
}
footer select,
footer button {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--rule);
  padding: 10px;
  border-radius: 6px;
  font: inherit;
}
footer select {
  min-width: 0;
}
:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
}
@media (max-width: 360px) {
  header,
  main,
  footer {
    padding-left: 17px;
    padding-right: 17px;
  }
  p,
  li {
    font-size: 14px;
  }
}
