:root {
  --bg: #f7f7f5; --fg: #1b1d1f; --muted: #5d6166; --line: #dcdcd7;
  --accent: #2f5d50; --card: #fff; --code: #eeeeea;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #131517; --fg: #e8e8e4; --muted: #9a9ea3; --line: #2a2d31;
          --accent: #7fb8a4; --card: #1a1d20; --code: #22262a; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg); line-height: 1.6;
       display: flex; flex-direction: column; min-height: 100vh; }
main { width: min(960px, 92vw); margin: 0 auto; padding: 2.5rem 0 4rem; flex: 1; }
a { color: var(--accent); }
h1 { font-size: 2.2rem; line-height: 1.2; margin: 0 0 .5rem; }
h2 { margin-top: 2.5rem; }
code, pre { background: var(--code); border-radius: 4px; font-size: .9em; }
code { padding: .1em .35em; } pre { padding: 1rem; overflow-x: auto; }

.site-header { display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: .75rem; padding: 1rem 4vw; border-bottom: 1px solid var(--line); }
.site-header .brand { font-weight: 700; text-decoration: none; color: var(--fg); }
.site-header nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.site-header nav a { text-decoration: none; color: var(--muted); }
.site-header nav a[aria-current="page"] { color: var(--fg); font-weight: 600; }
.site-footer { display: flex; justify-content: space-between; padding: 1.5rem 4vw;
  border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }

.lead { font-size: 1.2rem; color: var(--muted); max-width: 40em; }
.button { display: inline-block; padding: .6rem 1.1rem; border-radius: 6px;
  background: var(--accent); color: var(--bg); text-decoration: none; font-weight: 600; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 1.1rem; }
.card h3 { margin: 0 0 .35rem; font-size: 1.05rem; }
.card p { margin: 0; color: var(--muted); }

table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: .6rem .5rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; font-size: .9rem; }
.hash { font-family: ui-monospace, Consolas, monospace; font-size: .75rem; word-break: break-all; color: var(--muted); }
.notice { border-left: 3px solid var(--accent); padding: .5rem 1rem; background: var(--card); }
.release { border-top: 1px solid var(--line); padding-top: 1rem; }
.release time { color: var(--muted); font-size: .9rem; }

.plan { display: flex; flex-direction: column; gap: .5rem; }
.plan ul { margin: .25rem 0 1rem; padding-left: 1.1rem; color: var(--muted); flex: 1; }
.plan .button { align-self: flex-start; }
.plan.featured { border-color: var(--accent); border-width: 2px; }
.price { font-size: 1.6rem; font-weight: 700; color: var(--fg) !important; }
.per { font-size: .95rem; font-weight: 400; color: var(--muted); }
.button.disabled { background: var(--line); color: var(--muted); cursor: default; }
