:root {
  color-scheme: light;
  --ink: #0f2239;
  --body: #1f2937;
  --muted: #6b7280;
  --line: #e5e7eb;
  --accent: #15803d;
  --accent-hover: #166534;
  --soft: #ecfdf3;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--body);
  background: #fff;
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); text-decoration: underline; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { color: var(--ink); }
code { padding: 2px 5px; border-radius: 4px; color: #4b5563; background: #f3f4f6; font: inherit; font-size: .87em; }
.muted { color: var(--muted); }
.sr-only, .skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link:focus { position: absolute; z-index: 2; top: 12px; left: 12px; padding: 10px 18px; background: #fff; }

.topbar { border-bottom: 1px solid var(--line); background: #fff; }
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1200px;
  min-height: 76px;
  margin: auto;
  padding: 16px 32px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); font-size: 17px; font-weight: 650; letter-spacing: -.025em; white-space: nowrap; }
.brand img { display: block; border-radius: 50%; }
.brand:hover { color: var(--ink); text-decoration: none; }
nav, .section-links { display: flex; align-items: center; gap: 28px; }
nav { font-size: 13px; }
.section-links a { color: var(--body); }
.section-links a:hover { color: var(--accent); }
.store-link { display: inline-flex; align-items: center; gap: 15px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 5px; color: var(--ink); white-space: nowrap; }
.store-link:hover { border-color: var(--accent); background: var(--soft); text-decoration: none; }

.hero-area { position: relative; padding: 0 32px; isolation: isolate; }
.hero-area::before {
  position: absolute;
  z-index: -1;
  inset: 0 0 160px;
  content: "";
  background-image: radial-gradient(#b6cbbd .8px, transparent .8px);
  background-size: 18px 18px;
  mask-image: radial-gradient(ellipse at 50% 45%, #000 0%, transparent 70%);
  opacity: .12;
}
.hero { max-width: 1000px; margin: auto; padding: 80px 0 64px; text-align: center; }
h1 { font-size: 64px; font-weight: 550; line-height: 1.08; letter-spacing: -.035em; }
h1 span { color: var(--accent); }
.hero-subhead { max-width: 900px; margin: 24px auto 0; color: var(--muted); font-size: 18px; line-height: 1.6; }
.hero-subhead > span { display: block; }
.hero-actions { display: flex; justify-content: center; gap: 12px; margin-top: 28px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.button-primary { color: #fff; background: var(--accent); }
.button-primary:hover { color: #fff; background: var(--accent-hover); text-decoration: none; }
.button-secondary { border-color: #d1d5db; color: var(--ink); background: #fff; }
.button-secondary:hover { border-color: var(--accent); color: var(--accent-hover); background: var(--soft); text-decoration: none; }
.run-count { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 5px; margin-top: 22px; color: var(--muted); font-size: 13px; }
.run-count strong { font-weight: 500; }
.status-dot { width: 6px; height: 6px; margin-right: 3px; border-radius: 50%; background: var(--accent); }
.separator { margin: 0 5px; }

.dataset-card { max-width: 1120px; margin: auto; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: #fff; box-shadow: 0 12px 50px #0f22390a, 0 2px 8px #0f223904; }
.window-bar { position: relative; display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 76px; border-bottom: 1px solid var(--line); background: #fafbfa; color: #4b5563; font-size: 12px; text-align: center; }
.window-dots { position: absolute; left: 18px; }
.dataset-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 22px 24px; color: var(--ink); font-size: 14px; font-weight: 600; }
.dataset-label { color: var(--accent-hover); font-size: 12px; font-weight: 500; }
.dataset-scroll { overflow-x: auto; }
.dataset-scroll:focus-visible { outline-offset: -3px; }
.dataset-table { width: 100%; min-width: 800px; border-collapse: collapse; font-size: 13px; text-align: left; }
.dataset-table th { padding: 12px 24px; border-block: 1px solid var(--line); background: #fafbfa; color: #4b5563; font-size: 11px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.dataset-table td { padding: 19px 24px; border-bottom: 1px solid var(--line); }
.dataset-table td:first-child { width: 49%; }
.dataset-table td:not(:first-child) { white-space: nowrap; }
.empty { color: var(--muted); }
.pill { display: inline-block; padding: 4px 9px; border-radius: 5px; font-size: 11px; font-weight: 500; line-height: 1.5; white-space: nowrap; }
.charged { color: #166534; background: #ecfdf3; }
.not-charged { color: #4b5563; background: #f3f4f6; }
figcaption { padding: 15px 24px; color: var(--muted); font-size: 11px; }
figcaption span { margin-left: 8px; }
.scroll-hint { display: none; }
.dataset-note { max-width: 780px; margin: 22px auto 0; color: var(--muted); font-size: 13px; text-align: center; }

.content { max-width: 1104px; margin: auto; padding: 0 32px; }
.section { padding: 64px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 28px; }
.actors { padding-top: 88px; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; }
h2 { font-size: 30px; font-weight: 550; line-height: 1.2; letter-spacing: -.025em; }
.section-label { color: var(--muted); font-size: 13px; }
a.section-label { color: var(--accent); }
.actor-group { display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 36px; margin-top: 36px; }
.actor-group h3 { padding-top: 21px; font-size: 12px; font-weight: 600; letter-spacing: .035em; text-transform: uppercase; }
.actor-table { width: 100%; border-collapse: collapse; font-size: 14px; text-align: left; }
.actor-table th, .actor-table td { padding: 18px 0; border-top: 1px solid var(--line); vertical-align: top; }
.actor-table th { padding-right: 28px; font-weight: 400; }
.actor-title { color: var(--ink); font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.actor-title:hover { color: var(--accent); }
.actor-description { max-width: 580px; margin-top: 6px; color: #4b5563; line-height: 1.65; }
a.code { display: inline-block; margin-top: 6px; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.price { color: var(--accent-hover); font-size: 12px; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.pricing-note { margin: 28px 0 0 204px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 6px; background: #fafbfa; color: #4b5563; font-size: 12px; line-height: 1.8; }
.pricing { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; }
.pricing-list { display: grid; gap: 20px; margin: 0; padding-left: 20px; font-size: 15px; }
.pricing-list li { padding-left: 8px; }
.pricing-list li::marker { color: var(--accent); }
.writing > p { margin-top: 14px; font-size: 15px; }
.articles { padding: 0; margin: 28px 0 0; list-style: none; }
.articles li { display: flex; align-items: baseline; justify-content: space-between; gap: 32px; padding: 16px 0; border-top: 1px solid var(--line); font-size: 15px; }
.articles a { color: var(--ink); }
.articles a:hover { color: var(--accent); }
.date { flex-shrink: 0; color: var(--muted); font-size: 12px; white-space: nowrap; }
.contact { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 24px 48px; border-bottom: 0; }
.contact > p { font-size: 15px; }
.contact p a { text-decoration: underline; text-underline-offset: 3px; }
.about { grid-column: 2; padding-top: 8px; }
.bio { color: var(--muted); font-size: 14px; }
.links { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 18px; font-size: 13px; }
.footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.footer p { max-width: 1104px; margin: auto; padding: 24px 32px; }

@media (max-width: 800px) {
  .topbar-inner { padding-inline: 24px; }
  nav, .section-links { gap: 18px; }
  h1 { font-size: 54px; }
  .hero-subhead { font-size: 17px; }
  .actor-group { grid-template-columns: 1fr; gap: 16px; }
  .actor-group h3 { padding-top: 0; }
  .pricing-note { margin-left: 0; }
  .pricing, .contact { grid-template-columns: 1fr; gap: 28px; }
  .about { grid-column: 1; }
}

@media (max-width: 600px) {
  .topbar-inner { min-height: 72px; padding: 16px 20px; gap: 12px; }
  .brand { gap: 9px; font-size: 15px; }
  .brand img { width: 32px; height: 32px; }
  .section-links { display: none; }
  .store-link { gap: 10px; padding: 7px 10px; font-size: 12px; }
  .hero-area { padding-inline: 20px; }
  .hero { padding: 62px 0 42px; }
  h1 { font-size: clamp(32px, 8.7vw, 48px); line-height: 1.12; letter-spacing: -.035em; }
  .hero-subhead { margin-top: 22px; font-size: 16px; line-height: 1.7; }
  .hero-subhead > span + span { margin-top: 8px; }
  .hero-actions { flex-direction: column; gap: 10px; max-width: 320px; margin: 26px auto 0; }
  .button { min-height: 48px; }
  .run-count { max-width: 280px; margin: 22px auto 0; gap: 4px; font-size: 12px; }
  .run-count > span:last-child { flex-basis: 100%; }
  .separator { display: none; }
  .window-bar { min-height: 54px; padding: 10px 12px 10px 64px; font-size: 10px; text-align: left; }
  .window-dots { left: 12px; width: 36px; }
  .dataset-heading { flex-wrap: wrap; gap: 4px 12px; padding: 16px; font-size: 13px; }
  .dataset-label { font-size: 11px; }
  .dataset-table { min-width: 750px; font-size: 12px; }
  .dataset-table th, .dataset-table td { padding: 15px 16px; }
  .dataset-table td:first-child { width: 44%; }
  figcaption { padding: 14px 16px; font-size: 11px; }
  figcaption span { display: block; margin: 4px 0 0; }
  figcaption .scroll-hint { display: block; margin-top: 6px; color: var(--accent-hover); font-weight: 500; }
  .dataset-note { margin-top: 18px; font-size: 12px; line-height: 1.8; }
  .content { padding-inline: 20px; }
  .section { padding-block: 42px; }
  .actors { padding-top: 56px; }
  h2 { font-size: 27px; }
  .section-heading { align-items: flex-start; gap: 12px; }
  .section-label { max-width: 140px; font-size: 11px; text-align: right; }
  .actor-group { margin-top: 30px; }
  .actor-table, .actor-table tbody, .actor-table tr, .actor-table th, .actor-table td { display: block; }
  .actor-table tr { padding: 18px 0; border-top: 1px solid var(--line); }
  .actor-table th, .actor-table td { padding: 0; border: 0; }
  .actor-title { font-size: 15px; }
  .actor-description { font-size: 13px; }
  .actor-table .price { margin-top: 10px; font-size: 12px; text-align: left; }
  .pricing-note { margin-top: 16px; padding: 16px; }
  .pricing-list { font-size: 14px; }
  .articles { margin-top: 24px; }
  .articles li { flex-direction: column; gap: 6px; padding-block: 16px; font-size: 14px; }
  .writing > p, .contact > p { font-size: 14px; }
  .footer p { padding: 22px 20px; }
}
