:root {
  --paper: #f5f3ec;
  --white: #fffefa;
  --ink: #242721;
  --muted: #62665c;
  --accent: #ad3c19;
  --accent-hover: #873015;
  --line: #d4d5c9;
  --pale: #eae8dd;
  --terminal: #252923;
  --terminal-muted: #c1c8ba;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --radius: 4px;
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
a:hover {
  color: var(--accent);
}
button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}
button:disabled {
  cursor: wait;
  opacity: 0.55;
}
.wrap {
  width: min(1180px, calc(100% - 80px));
  margin-inline: auto;
}
.site-header {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: -0.3px;
}
.brand-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--accent);
  color: var(--accent);
  font: 24px var(--mono);
  letter-spacing: -3px;
  padding-right: 3px;
}
.site-header nav {
  display: flex;
  gap: 24px;
  align-items: center;
  font-size: 14px;
}
.site-header > a:not(.brand) {
  font-size: 14px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 12px 18px;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--accent);
  color: white;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.button:hover {
  background: var(--accent-hover);
  color: white;
}
.intro {
  display: grid;
  grid-template-columns: 1fr 320px;
  align-items: end;
  gap: 64px;
  padding: 56px 0 48px;
}
.intro-label {
  margin: 0 0 18px;
  font: 12px/1.5 var(--mono);
  color: var(--muted);
}
h1 {
  margin: 0;
  font-size: clamp(44px, 5.3vw, 68px);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.055em;
}
h1 code {
  font-family: var(--mono);
  font-weight: 500;
  color: var(--accent);
  letter-spacing: -0.065em;
}
.intro-note {
  padding-bottom: 5px;
}
.intro-note p {
  margin: 0 0 16px;
  font-size: 18px;
  line-height: 1.65;
  color: var(--muted);
}
.intro-note a {
  font-size: 14px;
}
.board {
  background: var(--white);
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.board-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 24px;
  border-bottom: 1px solid var(--line);
}
.metric-tabs {
  display: flex;
  gap: 30px;
}
.metric-tabs button {
  padding: 20px 0 17px;
  min-height: 56px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: none;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
}
.metric-tabs button[aria-pressed="true"] {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.metric-tabs button:hover {
  color: var(--accent);
}
.refresh {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
}
.refresh:hover {
  background: var(--pale);
}
.board-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 17px 24px;
  font-size: 13px;
  color: var(--muted);
}
.board-caption p {
  margin: 0;
}
.board-caption > span {
  font-family: var(--mono);
  white-space: nowrap;
}
.table-scroll {
  overflow-x: auto;
}
table {
  border-collapse: collapse;
  text-align: left;
  width: 100%;
  font-size: 14px;
}
th {
  padding: 12px 18px;
  font-size: 11px;
  font-weight: 400;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  border-block: 1px solid var(--line);
  background: var(--paper);
}
td {
  padding: 24px 18px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
th:first-child,
td:first-child {
  padding-left: 24px;
  width: 8%;
}
th:last-child,
td:last-child {
  padding-right: 24px;
}
th:nth-child(2) {
  width: 33%;
}
th:nth-child(3) {
  width: 25%;
}
tbody tr:last-child td {
  border-bottom: 0;
}
tbody tr:first-child {
  background: #fbf3e9;
}
.rank {
  color: var(--muted);
  font: 18px var(--mono);
}
.rank.first {
  color: var(--accent);
}
.project-name {
  display: block;
  overflow-wrap: anywhere;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}
.builder {
  display: block;
  width: fit-content;
  font-size: 13px;
  color: var(--muted);
  margin-top: 7px;
}
.score {
  display: block;
  font: 500 34px/1.2 var(--mono);
  letter-spacing: -0.06em;
  white-space: nowrap;
}
.score small {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--muted);
}
tbody tr:first-child .score {
  color: var(--accent);
}
.bar {
  display: block;
  height: 4px;
  margin-top: 13px;
  max-width: 230px;
  background: var(--pale);
  overflow: hidden;
}
.bar span {
  display: block;
  height: 100%;
  background: var(--ink);
}
tbody tr:first-child .bar span {
  background: var(--accent);
}
.secondary {
  font: 13px/1.6 var(--mono);
}
.metadata {
  display: block;
  color: var(--muted);
  font:
    12px/1.5 -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  margin-top: 8px;
}
.recorded {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}
.board-state {
  text-align: center;
  padding: 40px 24px;
  min-height: 235px;
}
.state-symbol {
  color: var(--accent);
  font: 36px var(--mono);
}
.board-state h2 {
  margin: 12px 0 8px;
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -0.025em;
}
.board-state p {
  margin: 0 auto 20px;
  color: var(--muted);
  max-width: 420px;
  font-size: 15px;
}
.board-foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 24px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}
.join {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
  padding: 80px 0;
  align-items: start;
}
.join h2 {
  margin: 0 0 24px;
  font-size: 40px;
  font-weight: 550;
  line-height: 1.15;
  letter-spacing: -0.045em;
}
.join-copy > p {
  max-width: 370px;
  margin: 0 0 20px;
  color: var(--muted);
}
.join-copy .privacy-note {
  font-size: 13px;
  line-height: 1.7;
}
.join-copy > a {
  font-size: 14px;
}
.terminal {
  background: var(--terminal);
  color: #f7f7ef;
  border-radius: var(--radius);
  min-width: 0;
  overflow: hidden;
}
.terminal-heading {
  padding: 18px 24px;
  border-bottom: 1px solid #4d5348;
  font: 12px var(--mono);
  color: var(--terminal-muted);
}
.command-block {
  padding: 22px 24px;
  border-bottom: 1px solid #4d5348;
}
.command-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 14px;
}
.copy {
  padding: 8px 12px;
  min-height: 40px;
  white-space: nowrap;
  border: 1px solid #767e6f;
  border-radius: var(--radius);
  background: transparent;
  color: #f7f7ef;
  font-size: 12px;
}
.copy:hover {
  background: #3e4538;
}
.terminal :is(button, a, summary):focus-visible {
  outline-color: #efb392;
}
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin: 16px 0 0;
  font-size: 13px;
  line-height: 1.8;
}
code {
  font-family: var(--mono);
}
.terminal pre {
  color: #f7f7ef;
}
.agent-context {
  margin: 18px 0;
  color: var(--terminal-muted);
  font-size: 14px;
}
.agent-prompt {
  margin: 0 0 20px;
}
.agent-prompt code {
  font-size: 14px;
}
.agent-guide {
  color: #efb392;
  font-size: 13px;
}
.manual-setup summary {
  padding: 20px 24px;
  font-size: 14px;
  cursor: pointer;
  color: var(--terminal-muted);
}
.manual-setup summary:hover {
  color: white;
}
.manual-setup[open] summary {
  border-bottom: 1px solid #4d5348;
}
.install-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 20px 24px 0;
}
.install-platforms button {
  padding: 10px 12px;
  border: 1px solid #767e6f;
  border-radius: var(--radius);
  font-size: 12px;
  color: var(--terminal-muted);
  background: none;
}
.install-platforms button[aria-pressed="true"] {
  background: #f5f3ec;
  border-color: #f5f3ec;
  color: var(--ink);
}
.install-note {
  padding: 0 24px;
  font-size: 13px;
  color: var(--terminal-muted);
}
.install-note a {
  color: #efb392;
}
.clean-command {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  font-size: 13px;
}
.terminal-note {
  font-size: 12px;
  color: var(--terminal-muted);
  margin: 16px 0 0;
}
.copy-status {
  color: #efb392;
  font-size: 13px;
  margin: 0;
  padding: 0 24px;
}
.copy-status:not(:empty) {
  padding-block: 14px;
}
.method {
  padding: 40px 0 48px;
  border-top: 1px solid var(--line);
}
.method > h2 {
  margin: 0 0 32px;
  font-size: 26px;
  font-weight: 550;
  letter-spacing: -0.03em;
}
.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.method-grid h3 {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 600;
}
.method-grid p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}
.local-tip {
  margin: 32px 0 0;
  padding: 18px 0 0;
  border-top: 1px dashed var(--line);
  font-size: 13px;
  color: var(--muted);
}
.local-tip code {
  font-size: 12px;
  color: var(--ink);
}
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-block: 24px 32px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}
.footer > span:first-child {
  color: var(--ink);
  font-weight: 600;
}
.account-page {
  max-width: 780px;
  padding-block: 56px 80px;
}
.account-page h1 {
  font-size: clamp(34px, 5vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.04em;
  margin: 16px 0 24px;
}
.account-intro {
  font-size: 18px;
  color: var(--muted);
  max-width: 600px;
}
.account-card {
  background: var(--white);
  border-block: 1px solid var(--line);
  padding: 32px;
  margin: 32px 0;
}
.account-card h2 {
  font-size: 23px;
  font-weight: 600;
  margin-top: 28px;
}
.account-note {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}
.account-card label {
  display: block;
  font-weight: 600;
  margin: 20px 0 8px;
}
.account-card input {
  display: block;
  width: min(100%, 320px);
  padding: 14px 16px;
  border: 1px solid var(--muted);
  border-radius: var(--radius);
  background: var(--paper);
  font: 24px var(--mono);
  color: var(--ink);
  letter-spacing: 2px;
  text-transform: uppercase;
}
.account-controls {
  border-top: 1px solid var(--line);
  margin-top: 28px;
  padding-top: 20px;
}
.text-button {
  display: block;
  background: none;
  border: 0;
  padding: 10px 0;
  min-height: 44px;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}
#account-status {
  margin-top: 0;
  font-weight: 600;
}
#action-status {
  color: var(--accent);
  font-weight: 500;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.skip {
  position: absolute;
  left: 20px;
  top: -80px;
  background: var(--white);
  padding: 10px;
  z-index: 10;
}
.skip:focus {
  top: 10px;
}
@media (max-width: 900px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .intro {
    grid-template-columns: 1.2fr 1fr;
    gap: 32px;
  }
  .intro-note p {
    font-size: 16px;
  }
  .join {
    gap: 40px;
  }
  .join h2 {
    font-size: 34px;
  }
  .date-heading,
  td:last-child {
    display: none;
  }
  .score {
    font-size: 28px;
  }
  .method-grid {
    gap: 28px;
  }
  .footer > span:nth-child(2) {
    display: none;
  }
}
@media (max-width: 600px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .site-header {
    min-height: 80px;
    gap: 12px;
  }
  .brand {
    font-size: 13px;
    gap: 8px;
  }
  .brand-icon {
    width: 32px;
    height: 36px;
    font-size: 22px;
  }
  .site-header nav {
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
    padding-block: 12px;
  }
  .site-header nav a {
    font-size: 12px;
  }
  .small {
    padding: 10px 12px;
    gap: 12px;
  }
  .intro {
    display: block;
    padding: 32px 0;
  }
  h1 {
    font-size: clamp(40px, 10.5vw, 58px);
  }
  .intro-label {
    font-size: 11px;
    margin-bottom: 16px;
  }
  .intro-note {
    margin-top: 22px;
  }
  .intro-note p {
    margin-bottom: 10px;
    max-width: 360px;
    font-size: 15px;
  }
  .intro-note a {
    font-size: 13px;
  }
  .board-top {
    padding: 0 12px;
    gap: 12px;
  }
  .metric-tabs {
    flex: 1;
    gap: 14px;
  }
  .metric-tabs button {
    flex: 1;
    font-size: 13px;
    line-height: 1.3;
    padding-block: 16px 13px;
  }
  .refresh {
    width: 36px;
    height: 40px;
  }
  .board-caption {
    padding: 14px 12px;
    align-items: flex-start;
    gap: 12px;
    font-size: 12px;
  }
  .board-caption > span {
    font-size: 11px;
  }
  th,
  td {
    padding: 20px 8px;
  }
  th {
    font-size: 10px;
    padding-block: 10px;
  }
  th:first-child,
  td:first-child {
    padding-left: 12px;
    width: 10%;
  }
  th:nth-child(2) {
    width: 46%;
  }
  th:nth-child(3) {
    width: 44%;
  }
  th:nth-child(4),
  td:nth-child(4) {
    display: none;
  }
  td:nth-child(3),
  th:nth-child(3) {
    padding-right: 12px;
  }
  .rank-heading {
    font-size: 0;
  }
  .rank-heading::after {
    content: "#";
    font-size: 11px;
  }
  .rank {
    font-size: 13px;
  }
  .project-name {
    font-size: 13px;
  }
  .builder {
    font-size: 12px;
  }
  .score {
    font-size: clamp(18px, 5.2vw, 28px);
  }
  .score small {
    font-size: 11px;
  }
  .metadata {
    font-size: 11px;
  }
  .bar {
    margin-top: 10px;
  }
  .board-foot {
    display: block;
    padding: 12px;
    font-size: 11px;
  }
  .board-foot > span {
    display: block;
  }
  .board-foot > span + span {
    margin-top: 4px;
  }
  .board-state {
    padding: 32px 16px;
  }
  .board-state h2 {
    font-size: 21px;
  }
  .join {
    display: block;
    padding: 48px 0;
  }
  .join h2 {
    font-size: 34px;
    margin-bottom: 18px;
  }
  .join-copy > p {
    max-width: none;
  }
  .terminal {
    margin-top: 28px;
  }
  .command-block {
    padding: 20px;
  }
  .terminal-heading,
  .manual-setup summary {
    padding: 18px 20px;
  }
  .command-label {
    font-size: 13px;
  }
  .agent-prompt code {
    font-size: 13px;
  }
  .method {
    padding-block: 32px;
  }
  .method > h2 {
    font-size: 24px;
  }
  .method-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer {
    font-size: 11px;
    gap: 16px;
  }
  .account-page {
    padding-block: 32px 56px;
  }
  .account-card {
    padding: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
