:root {
  --bg: #0B1220;
  --bg-elev: #121B2E;
  --card: #151E32;
  --line: #243049;
  --text: #E8EEF7;
  --muted: #8A96AB;
  --accent: #3ECFBE;
  --accent-hover: #62DCCE;
  --accent-soft: rgba(62, 207, 190, 0.14);
  --ink: #0B1220;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
a:focus-visible, .btn:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.sale-banner {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bg-elev);
  border-bottom: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  padding: 10px 20px;
  text-align: center;
  font-size: 0.92rem;
}
.sale-banner p { color: var(--text); }
.sale-banner a { margin-left: 0.6em; }
.sale-cta {
  display: inline-block;
  margin-left: 0.8em;
  background: var(--accent);
  color: var(--ink) !important;
  text-decoration: none;
  font-weight: 600;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 0.85rem;
}
.sale-cta:hover { background: var(--accent-hover); color: var(--ink) !important; }
.wrap {
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
  padding: 36px 0 72px;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.brand {
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  color: var(--muted);
  text-decoration: none;
}
.brand:hover { color: var(--text); }
nav { display: flex; flex-wrap: wrap; gap: 14px 18px; }
nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
}
nav a:hover, nav a[aria-current="page"] { color: var(--text); }
h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.1rem, 6vw, 3.6rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-wrap: balance;
  margin-bottom: 22px;
}
.pitch {
  font-size: clamp(1.12rem, 2.3vw, 1.35rem);
  line-height: 1.5;
  max-width: 40rem;
  text-wrap: pretty;
  margin-bottom: 16px;
}
.explainer { color: var(--muted); max-width: 40rem; font-size: 1.02rem; margin-bottom: 12px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 8px; }
.section { margin-top: 56px; padding-top: 8px; }
.label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
article, .listing {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px 20px 22px;
}
article h3, .listing h3 {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
article p, .listing p { color: var(--muted); font-size: 0.95rem; line-height: 1.55; }
.listing .label { margin-bottom: 8px; }
.card-list { display: grid; gap: 14px; }
.counts { color: var(--text); margin-bottom: 14px; }
.empty {
  color: var(--muted);
  background: var(--bg-elev);
  border: 1px dashed var(--line);
  border-radius: 12px;
  padding: 24px;
}
.price-box {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px 32px 28px;
}
.amount {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 6vw, 3.6rem);
  letter-spacing: -0.03em;
  color: var(--accent);
  line-height: 1;
  margin: 6px 0 14px;
}
.offers { font-size: 1.05rem; margin-bottom: 22px; }
.sister { color: var(--muted); font-size: 0.98rem; padding-top: 20px; border-top: 1px solid var(--line); }
.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--ink);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 0;
  border-radius: 10px;
  padding: 13px 22px;
  min-height: 44px;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s ease;
}
.btn:hover { background: var(--accent-hover); color: var(--ink); }
.btn-ghost {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}
.btn-ghost:hover { background: var(--accent-soft); color: var(--accent-hover); }
.mailto { margin-top: 14px; font-size: 0.92rem; color: var(--muted); }
.mailto code, code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
  color: var(--text);
  background: var(--accent-soft);
  padding: 2px 6px;
  border-radius: 4px;
  word-break: break-all;
}
footer {
  margin-top: 80px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}
footer p { margin-bottom: 8px; }
footer .owner { color: var(--text); }
.stack { display: grid; gap: 16px; max-width: 36rem; margin-top: 20px; }
.stack label, .filters label { display: grid; gap: 6px; font-size: 0.92rem; color: var(--text); }
.stack input, .stack select, .stack textarea,
.filters input, .filters select {
  background: var(--bg-elev);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 12px;
  font: inherit;
  width: 100%;
}
.filters {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr auto;
  gap: 12px;
  align-items: end;
  margin: 20px 0;
}
.hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}
.check { display: flex !important; align-items: center; gap: 8px; grid-template-columns: none; }
.check input { width: auto; }
.form-status { min-height: 1.4em; color: var(--muted); }
.form-status.ok { color: var(--accent); }
.form-status.err { color: #E08170; }
.caps { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.caps span {
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px 8px;
}
.meta { color: var(--muted); font-size: 0.9rem; margin-top: 16px; }
.links { margin: 16px 0; padding-left: 1.1em; color: var(--muted); }
.plain { margin: 0 0 12px 1.1em; color: var(--muted); }
.plain li { margin-bottom: 8px; }
.plain strong { color: var(--text); }
.token-box {
  background: var(--bg-elev);
  border: 1px solid var(--accent);
  border-radius: 12px;
  padding: 16px;
  margin-top: 12px;
  word-break: break-all;
}
@media (max-width: 720px) {
  .wrap { width: min(100% - 32px, 860px); padding: 28px 0 56px; }
  .grid, .filters { grid-template-columns: 1fr; }
  header { margin-bottom: 32px; }
  .section { margin-top: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
