:root {
  color-scheme: light;
  --bg: #faf4ee;
  --bg-soft: #fffaf5;
  --panel: #fffdf9;
  --text: #4c2b13;
  --muted: #87684d;
  --border: #e7c8a5;
  --accent: #c96f18;
  --accent-dark: #9a5212;
  --success-bg: #ecfdf3;
  --success-text: #137333;
  --warn-bg: #fff4e5;
  --warn-text: #b35900;
  --shadow: 0 12px 30px rgba(120, 73, 26, 0.08);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(180deg, #fffaf3 0%, #f7ede1 100%);
  color: var(--text);
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 28px 18px 56px; }
.topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}
.brandline {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  color: var(--accent-dark);
}
.brandline img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--border);
}
.host-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: var(--warn-bg);
  color: var(--warn-text);
  border: 1px solid #f2d3aa;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
}
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.nav a {
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,.75);
  color: var(--text);
  font-weight: 600;
}
.hero {
  display: grid;
  gap: 0;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero img {
  width: 100%;
  max-height: 250px;
  object-fit: cover;
}
.hero-body { padding: 24px; }
.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .78rem;
  font-weight: 800;
  margin-bottom: 10px;
}
h1, h2, h3 { margin: 0 0 10px; }
h1 { font-size: clamp(2rem, 4vw, 3rem); }
p { color: var(--muted); line-height: 1.6; }
.grid { display: grid; gap: 16px; }
.grid.cols-3 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid.cols-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.section { margin-top: 24px; }
.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 18px;
  box-shadow: var(--shadow);
}
.metric { display: grid; gap: 4px; }
.metric .value { font-size: 1.7rem; font-weight: 800; color: var(--text); }
.metric .label { color: var(--accent); text-transform: uppercase; letter-spacing: .06em; font-size: .76rem; font-weight: 700; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: .82rem;
  font-weight: 700;
  border: 1px solid var(--border);
  background: #fff;
}
.pill.warn { background: var(--warn-bg); color: var(--warn-text); }
.pill.ok { background: var(--success-bg); color: var(--success-text); }
.listing-card { display: grid; gap: 10px; }
.listing-card h3 { margin-bottom: 0; }
.meta-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.meta-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: .95rem;
}
.meta-list strong { color: var(--text); }
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.button, button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 14px;
  border: 0;
  cursor: pointer;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
.button.secondary {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--border);
}
.notice {
  border-left: 4px solid var(--accent);
  padding: 12px 14px;
  background: rgba(201, 111, 24, 0.08);
  color: var(--text);
  border-radius: 12px;
}
.search-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.search-row input {
  flex: 1 1 260px;
  min-width: 220px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #fff;
}
.small { font-size: .92rem; }
footer { margin-top: 36px; color: var(--muted); font-size: .92rem; }
.code-chip {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .9rem;
  background: #fff;
  border: 1px solid var(--border);
  padding: 3px 8px;
  border-radius: 999px;
}
@media (max-width: 720px) {
  .wrap { padding: 18px 14px 40px; }
  .hero-body { padding: 18px; }
  .meta-list li { flex-direction: column; }
}
