/* one-lir-one-fee.org — v1
   System-font, zero external deps, dark/light, ~10KB unminified */

:root {
  --bg: #f4f3ee;
  --surface: #fbfaf6;
  --surface-2: #ecebe5;
  --fg: #0e0e0c;
  --fg-muted: #5a5953;
  --line: #1a1a17;
  --line-soft: #d8d7d0;
  --accent: #c63519;
  --accent-fg: #ffffff;
  --warn: #8a2a15;
  --good: #1f5a3a;

  --max: 1180px;
  --gutter: clamp(20px, 4vw, 56px);
  --radius: 0;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, system-ui, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "JetBrains Mono", "Cascadia Mono", Menlo, Consolas, "Liberation Mono", monospace;
}

:root[data-theme="dark"] {
  --bg: #0d0e0f;
  --surface: #141518;
  --surface-2: #1c1e22;
  --fg: #ececea;
  --fg-muted: #8e8e88;
  --line: #ececea;
  --line-soft: #2a2c30;
  --accent: #ff5a3c;
  --accent-fg: #0d0e0f;
  --warn: #ff8a73;
  --good: #6fd49b;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0d0e0f;
    --surface: #141518;
    --surface-2: #1c1e22;
    --fg: #ececea;
    --fg-muted: #8e8e88;
    --line: #ececea;
    --line-soft: #2a2c30;
    --accent: #ff5a3c;
    --accent-fg: #0d0e0f;
    --warn: #ff8a73;
    --good: #6fd49b;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.55;
  font-feature-settings: "ss01", "cv11", "kern";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.01em; margin: 0; }
h1 { font-size: clamp(40px, 7vw, 96px); line-height: 0.96; letter-spacing: -0.035em; }
h2 { font-size: clamp(28px, 4vw, 44px); line-height: 1.05; letter-spacing: -0.02em; }
h3 { font-size: 19px; line-height: 1.3; }
p { margin: 0 0 1em; }
hr { border: 0; border-top: 1px solid var(--line-soft); margin: 0; }

.mono { font-family: var(--font-mono); font-feature-settings: "zero", "ss01"; }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

/* ------- layout ------- */
.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
section { padding: clamp(60px, 9vw, 120px) 0; border-top: 1px solid var(--line-soft); }
section:first-of-type { border-top: 0; }

/* ------- header ------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.site-header .container {
  display: flex; align-items: center; gap: 24px;
  padding-top: 14px; padding-bottom: 14px;
}
.brand {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-decoration: none;
  display: inline-flex; align-items: baseline; gap: 8px;
}
.brand .dot { color: var(--accent); }
.nav { margin-left: auto; display: flex; gap: 14px; align-items: center; font-size: 14px; flex-wrap: wrap; justify-content: flex-end; row-gap: 8px; }
.nav a { text-decoration: none; color: var(--fg-muted); }
.nav a:hover { color: var(--fg); }
.nav .cta {
  background: var(--accent); color: var(--accent-fg);
  padding: 8px 14px;
  font-weight: 600;
}
.lang-strip {
  border-bottom: 1px solid var(--line-soft);
  background: var(--bg);
}
.lang-strip .container {
  display: flex; justify-content: center; align-items: center;
  padding-top: 5px; padding-bottom: 5px;
  flex-wrap: wrap;
  gap: 2px;
}
.lang-strip a {
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 8px;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--fg-muted);
  border: 1px solid transparent;
  line-height: 1;
}
.lang-strip a:hover { color: var(--fg); border-color: var(--line-soft); }
.lang-strip a[aria-current="page"] {
  color: var(--fg); font-weight: 700;
  border-color: var(--line);
  background: var(--surface);
}
.lang-strip svg.flag {
  width: 16px;
  height: 11px;
  border: 1px solid var(--line-soft);
  display: block;
  flex-shrink: 0;
  overflow: hidden;
  background: var(--surface);
  box-sizing: content-box;
}

.theme-toggle {
  background: transparent; border: 1px solid var(--line-soft); color: var(--fg);
  width: 32px; height: 32px; cursor: pointer; padding: 0;
  display: inline-grid; place-items: center;
}
.theme-toggle:hover { border-color: var(--fg); }

/* ------- announcement ------- */
.announcement {
  background: var(--accent);
  color: var(--accent-fg);
  font-size: 13.5px;
  padding: 11px 0;
  font-weight: 500;
}
.announcement .container {
  display: flex; flex-wrap: wrap; gap: 8px 14px;
  align-items: baseline; justify-content: center;
  text-align: center;
}
.announcement strong { font-weight: 800; letter-spacing: 0.01em; }
.announcement a {
  color: inherit; font-weight: 700;
  text-decoration: underline; text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}
.announcement a:hover { text-decoration-thickness: 2.5px; }

/* ------- support bar ------- */
.support-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--line-soft);
  font-size: 14px;
}
.support-bar .container {
  display: flex; align-items: center; gap: 20px;
  padding-top: 12px; padding-bottom: 12px;
  flex-wrap: wrap;
}
.support-stat {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--fg-muted);
}
.support-stat .heart {
  width: 16px; height: 16px;
  fill: var(--accent);
  flex-shrink: 0;
}
.support-stat .support-count {
  font-family: var(--font-mono); font-weight: 700;
  font-size: 15px; color: var(--fg);
  font-variant-numeric: tabular-nums;
  min-width: 1.5ch;
}
.support-stat .support-count.is-loading { color: var(--fg-muted); }
.support-btn {
  margin-left: auto;
  border: 1px solid var(--line);
  background: transparent; color: var(--fg);
  padding: 8px 16px;
  font-family: var(--font-sans); font-size: 13px; font-weight: 600;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  letter-spacing: 0;
}
.support-btn:hover { background: var(--fg); color: var(--bg); }
.support-btn.supported {
  background: var(--accent); color: var(--accent-fg);
  border-color: var(--accent);
  cursor: default;
}
.support-btn.supported:hover { background: var(--accent); color: var(--accent-fg); }
.support-btn:disabled { cursor: not-allowed; }
.support-btn .btn-heart {
  width: 14px; height: 14px; fill: currentColor; flex-shrink: 0;
}
@media (max-width: 600px) {
  .support-bar .container { gap: 10px; }
  .support-btn { margin-left: 0; width: 100%; justify-content: center; }
  .support-stat { width: 100%; }
}

/* ------- hero ------- */
.hero { padding-top: clamp(60px, 10vw, 140px); padding-bottom: clamp(60px, 9vw, 120px); }
.hero .eyebrow { margin-bottom: 28px; }
.hero h1 { margin-bottom: 28px; }
.hero h1 .sep { color: var(--accent); }
.hero .lede { font-size: clamp(18px, 1.7vw, 22px); color: var(--fg-muted); max-width: 60ch; margin-bottom: 36px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }

.btn {
  display: inline-block; padding: 14px 22px;
  font-weight: 600; font-size: 15px;
  text-decoration: none; border: 1px solid var(--line);
  background: transparent; color: var(--fg);
  cursor: pointer;
}
.btn-primary { background: var(--accent); color: var(--accent-fg); border-color: var(--accent); }
.btn-primary:hover { filter: brightness(0.92); }
.btn:hover { background: var(--fg); color: var(--bg); }

.hero-meta {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: 24px;
}
.hero-meta div { padding: 18px 20px; border-right: 1px solid var(--line-soft); }
.hero-meta div:last-child { border-right: 0; }
.hero-meta .k { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-muted); margin-bottom: 6px; }
.hero-meta .v { font-weight: 600; font-size: 15px; }

/* ------- band ------- */
.band {
  background: var(--fg); color: var(--bg);
  padding: clamp(50px, 7vw, 90px) 0;
}
.band .container { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 820px) {
  .band .container { grid-template-columns: 1fr 1fr 1fr; }
}
.band h2 { font-size: clamp(22px, 2.2vw, 28px); margin-bottom: 12px; }
.band .num { font-family: var(--font-mono); font-size: 12px; opacity: 0.55; letter-spacing: 0.14em; margin-bottom: 14px; display: block; }
.band p { color: color-mix(in srgb, var(--bg) 85%, var(--fg)); margin: 0; }

/* ------- argument grid ------- */
.grid {
  display: grid; gap: 0;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
@media (min-width: 720px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: 1fr 1fr 1fr; } }

.card {
  padding: 28px 28px 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  display: flex; flex-direction: column; gap: 12px;
}
.card .num {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em;
  color: var(--fg-muted); display: flex; align-items: center; gap: 10px;
}
.card .num::before { content: ""; display: inline-block; width: 28px; height: 1px; background: var(--accent); }
.card.bad .num::before { background: var(--warn); }
.card h3 { font-size: 20px; line-height: 1.25; }
.card p { color: var(--fg-muted); margin: 0; font-size: 15.5px; }

@media (min-width: 720px) {
  .grid > .card:nth-child(10) {
    grid-column: 1 / -1;
    background: var(--surface-2);
  }
  .grid > .card:nth-child(10) h3 { font-size: 24px; max-width: 24ch; }
  .grid > .card:nth-child(10) p { font-size: 16.5px; max-width: 75ch; }
  .grid > .card.bad:nth-child(10) {
    border-left: 3px solid var(--warn);
  }
  .grid > .card:not(.bad):nth-child(10) {
    border-left: 3px solid var(--accent);
  }
}

.section-header { margin-bottom: 48px; max-width: 720px; }
.section-header .eyebrow { margin-bottom: 14px; display: block; }
.section-header p { color: var(--fg-muted); font-size: 17px; max-width: 60ch; }
.section-header .lede-strong {
  color: var(--fg); font-weight: 700; font-size: 20px;
  margin-top: 16px;
}

/* ------- compare ------- */
.compare {
  display: grid; gap: 0; grid-template-columns: 1fr;
  border: 1px solid var(--line);
}
@media (min-width: 820px) { .compare { grid-template-columns: 1fr 1fr; } }
.compare > div { padding: 32px; position: relative; }
.compare > div:first-child { border-right: 1px solid var(--line); }
.compare > .good { background: var(--surface); }
.compare > .bad  { background: var(--surface-2); }
.compare > .featured {
  outline: 3px solid var(--accent);
  outline-offset: -1px;
  z-index: 1;
}
.compare > .featured h3 { font-weight: 800; font-size: 22px; }
.compare > .featured ul li { color: var(--fg); font-weight: 600; }
@media (min-width: 820px) {
  .compare > .featured::after {
    content: ""; position: absolute; top: -12px; right: 18px;
    width: 24px; height: 24px;
    background: var(--accent);
    clip-path: polygon(50% 0, 100% 100%, 0 100%);
  }
}
.compare h3 { margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.compare h3 .tag {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em;
  padding: 3px 8px; border: 1px solid var(--line); text-transform: uppercase;
}
.compare .good .tag { background: var(--good); color: var(--bg); border-color: var(--good); }
.compare .bad  .tag { background: var(--warn); color: var(--bg); border-color: var(--warn); }
.compare ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.compare li { padding-left: 22px; position: relative; color: var(--fg-muted); }
.compare .good li::before { content: "+"; position: absolute; left: 0; color: var(--good); font-family: var(--font-mono); font-weight: 700; }
.compare .bad  li::before { content: "−"; position: absolute; left: 0; color: var(--warn); font-family: var(--font-mono); font-weight: 700; }

/* ------- faq ------- */
.faq { border-top: 1px solid var(--line); }
.faq details {
  border-bottom: 1px solid var(--line-soft);
  padding: 22px 0;
}
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; gap: 16px;
  font-weight: 600; font-size: 18px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; margin-left: auto;
  font-family: var(--font-mono); font-size: 22px; line-height: 1;
  color: var(--fg-muted); transition: transform 0.15s;
}
.faq details[open] summary::after { content: "−"; }
.faq .a { padding: 14px 0 4px; color: var(--fg-muted); max-width: 70ch; }
.faq .q-num { font-family: var(--font-mono); font-size: 12px; color: var(--fg-muted); letter-spacing: 0.1em; min-width: 32px; }

/* ------- vote ------- */
.steps { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 780px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { padding: 28px; border: 1px solid var(--line); background: var(--surface); }
.step .num { font-family: var(--font-mono); font-size: 36px; line-height: 1; margin-bottom: 14px; color: var(--accent); }
.step h3 { margin-bottom: 10px; }
.step p { color: var(--fg-muted); margin: 0 0 12px; font-size: 15px; }
.step-link {
  display: block; margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--line-soft);
  font-family: var(--font-mono); font-size: 12px;
  color: var(--accent); text-decoration: none;
  word-break: break-all; line-height: 1.4;
}
.step-link:hover { color: var(--fg); text-decoration: underline; }

.callout {
  margin-top: 32px;
  padding: 22px 26px;
  border: 1px dashed var(--line-soft);
  background: var(--surface);
  color: var(--fg-muted);
  font-size: 14px;
}
.callout strong { color: var(--fg); }

/* ------- spread ------- */
.spread-grid {
  display: grid; gap: 32px;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .spread-grid { grid-template-columns: 1fr 1.2fr; } }
.share-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.share-links a {
  text-decoration: none;
  border: 1px solid var(--line); padding: 10px 14px;
  font-size: 14px; font-weight: 500;
  display: inline-flex; align-items: center; gap: 8px;
}
.share-links a:hover { background: var(--fg); color: var(--bg); }

.copy-block {
  background: var(--surface); border: 1px solid var(--line);
  padding: 0;
  display: flex; flex-direction: column;
}
.copy-block .head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; border-bottom: 1px solid var(--line-soft);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--fg-muted);
}
.copy-block textarea {
  width: 100%; min-height: 220px; border: 0; resize: vertical;
  background: transparent; color: var(--fg);
  font-family: var(--font-mono); font-size: 13px; line-height: 1.55;
  padding: 16px; outline: none;
}
.copy-btn {
  background: transparent; border: 1px solid var(--line); color: var(--fg);
  padding: 4px 10px; cursor: pointer; font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.copy-btn:hover { background: var(--fg); color: var(--bg); }
.copy-btn.copied { background: var(--good); color: var(--bg); border-color: var(--good); }

/* ------- footer ------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0 60px;
  font-size: 14px; color: var(--fg-muted);
}
.site-footer .container { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .site-footer .container { grid-template-columns: 1fr auto; } }
.site-footer a { color: var(--fg-muted); }
.site-footer a:hover { color: var(--fg); }
.site-footer .disclaimer { max-width: 60ch; }

/* ------- utilities ------- */
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--accent-fg); }

/* small motion */
@media (prefers-reduced-motion: no-preference) {
  .card, .step { transition: transform 0.18s ease, border-color 0.18s ease; }
  .card:hover, .step:hover { border-color: var(--fg); }
}
