:root {
  --bg: #0e0e10;
  --surface: #17171a;
  --surface-2: #1f1f23;
  --line: #2a2a2f;
  --text: #f2f2f3;
  --muted: #a1a1aa;
  --accent: #ff6b3d;
  --accent-soft: rgba(255, 107, 61, 0.12);
  --good: #4ade80;
  --warn: #fbbf24;
  --radius: 14px;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #faf8f6;
    --surface: #ffffff;
    --surface-2: #f3efeb;
    --line: #e7e1dc;
    --text: #1a1614;
    --muted: #6b625d;
    --accent: #e8521f;
    --accent-soft: rgba(232, 82, 31, 0.1);
    --good: #15803d;
    --warn: #b45309;
    color-scheme: light;
  }
}

* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, 'Segoe UI', Inter, Roboto, sans-serif;
}
a {
  color: var(--accent);
  text-underline-offset: 3px;
}
code {
  font: 0.9em ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  background: var(--surface-2);
  padding: 0.1em 0.35em;
  border-radius: 6px;
  overflow-wrap: anywhere;
}

.wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 16px;
}

header {
  position: sticky;
  top: 0;
  z-index: 1;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
header .wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 60px;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  margin-right: auto;
}
.brand img {
  width: 28px;
  height: 28px;
}
.brand span {
  color: var(--muted);
  font-weight: 500;
}
nav {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
nav a {
  color: var(--muted);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 15px;
}
nav a:hover {
  color: var(--text);
  background: var(--surface-2);
}
nav a[aria-current='page'] {
  color: var(--accent);
  background: var(--accent-soft);
}

main {
  padding: 40px 0 56px;
}
.hero {
  padding: 24px 0 8px;
}
.eyebrow {
  display: inline-block;
  color: var(--accent);
  background: var(--accent-soft);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}
h1 {
  font-size: clamp(30px, 6vw, 44px);
  line-height: 1.15;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}
h2 {
  font-size: 24px;
  line-height: 1.25;
  margin: 44px 0 12px;
  letter-spacing: -0.01em;
}
h3 {
  font-size: 18px;
  margin: 0 0 6px;
}
.lead {
  color: var(--muted);
  font-size: 18px;
  margin: 0;
}
p,
ul {
  margin: 0 0 14px;
}
li {
  margin-bottom: 6px;
}
.muted {
  color: var(--muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
  margin: 28px 0 0;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
a.card {
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s, transform 0.15s;
}
a.card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.card p {
  color: var(--muted);
  margin: 0;
}
.card .icon {
  font-size: 22px;
  margin-bottom: 10px;
}

.table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: block;
  overflow-x: auto;
}
.table th,
.table td {
  text-align: left;
  vertical-align: top;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  min-width: 140px;
}
.table tr:last-child td {
  border-bottom: none;
}
.table th {
  background: var(--surface-2);
  font-size: 14px;
  color: var(--muted);
  font-weight: 600;
}

.yes,
.no {
  font-weight: 600;
}
.yes {
  color: var(--good);
}
.no {
  color: var(--warn);
}

.note {
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  padding: 14px 16px;
  border-radius: 0 10px 10px 0;
  margin: 20px 0;
}
.note p:last-child {
  margin: 0;
}

.button {
  display: inline-block;
  background: var(--accent);
  color: #1a0d07;
  font-weight: 700;
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 10px;
  margin: 4px 8px 4px 0;
}
.button.ghost {
  background: var(--surface-2);
  color: var(--text);
}

footer {
  border-top: 1px solid var(--line);
  padding: 24px 0 40px;
  color: var(--muted);
  font-size: 14px;
}
footer .wrap {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: space-between;
}
footer a {
  color: var(--muted);
}

@media (max-width: 640px) {
  header {
    position: static;
  }
  main {
    padding-top: 16px;
  }
  .table,
  .table tbody,
  .table tr,
  .table td {
    display: block;
    width: 100%;
  }
  .table tr:first-child {
    display: none;
  }
  .table tr {
    border-bottom: 1px solid var(--line);
  }
  .table tr:last-child {
    border-bottom: none;
  }
  .table td {
    border-bottom: none;
    padding: 4px 16px;
    min-width: 0;
  }
  .table td:first-child {
    padding-top: 14px;
    font-weight: 700;
  }
  .table td:last-child {
    padding-bottom: 14px;
  }
  .table td:not(:first-child)::before {
    content: attr(data-label);
    display: block;
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
    margin-top: 6px;
  }
}
