:root {
  --bg: #fcf6f1;
  --surface: #ffffff;
  --surface-2: #f6ede6;
  --line: #eadcd1;
  --text: #1a1614;
  --muted: #6b625d;
  --accent: #e8521f;
  --accent-soft: rgba(232, 82, 31, 0.1);
  --good: #15803d;
  --warn: #b45309;
  --radius: 14px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 18px/1.6 -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: 960px;
  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: 28px;
  line-height: 1.25;
  margin: 44px 0 12px;
  letter-spacing: -0.01em;
}
h3 {
  font-size: 20px;
  margin: 0 0 6px;
}
.lead {
  color: var(--muted);
  font-size: 20px;
  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(300px, 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;
  }
}

.shots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 260px));
  gap: 24px;
  align-items: start;
  justify-content: center;
  margin: 28px 0;
}
.shots figure {
  margin: 0;
}
.shots img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.shots figcaption {
  color: var(--muted);
  font-size: 15px;
  margin-top: 8px;
}
.shots.stack {
  grid-template-columns: repeat(2, minmax(0, 260px));
}
.shots.stack figure:first-child {
  grid-row: span 2;
}
.shots figure:only-child {
  max-width: 300px;
}
@media (max-width: 480px) {
  .shots {
    grid-template-columns: 1fr 1fr;
  }
}

.byline {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 15px;
  text-align: center;
}
.author {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
}
.author:hover {
  color: var(--accent);
}
.author .avatar {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.bot-avatar {
  display: block;
  width: 96px;
  height: 96px;
  border-radius: 24px;
  margin-bottom: 18px;
  box-shadow: 0 8px 24px rgba(232, 82, 31, 0.25);
}
