/* Influence – minimal: warm paper, ink, one teal accent. Square corners, no shadows, no gradients. */
:root {
  --paper: #f3f1ec;
  --ink: #1c1d1f;
  --muted: #6b6a66;
  --line: #d9d5cc;
  --accent: #2f6b6b;
  --accent-ink: #ffffff;
  --art: #000000;
  --max: 880px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

a { color: var(--accent); }
a:hover { text-decoration: none; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header */
.top { border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 24px; min-height: 64px; flex-wrap: wrap; }
.brand { font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); text-decoration: none; }
.nav { display: flex; gap: 18px; flex-wrap: wrap; flex: 1; }
.nav a { color: var(--ink); text-decoration: none; font-size: 15px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent); }
.nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
.play { color: var(--accent); font-weight: 600; text-decoration: none; }

/* Text */
h1 { font-size: 44px; line-height: 1.1; margin: 0 0 12px; letter-spacing: -.01em; }
h2 { font-size: 26px; line-height: 1.2; margin: 0 0 12px; }
h3 { font-size: 18px; margin: 24px 0 6px; }
p { margin: 0 0 14px; }
.lead { font-size: 19px; color: var(--muted); max-width: 34em; }
.small { font-size: 14px; color: var(--muted); }
code { font: 14px/1 ui-monospace, Consolas, monospace; background: #e7e3da; padding: 1px 5px; }

section { padding: 48px 0; border-bottom: 1px solid var(--line); }
section:last-of-type { border-bottom: 0; }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-ink);
  text-decoration: none;
  font-weight: 600;
  padding: 16px 34px;
  font-size: 18px;
  border: 0;
  cursor: pointer;
}
.btn:hover { background: #245656; }
.btn.small-btn { padding: 10px 20px; font-size: 15px; }
.btn[disabled] { background: #9fb3b3; cursor: not-allowed; }
.link { margin-left: 18px; }

/* Hero */
.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.art { background: var(--art); display: block; width: 100%; height: auto; }

/* Numbers */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.facts div { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px; }
.facts b { display: block; font-size: 26px; line-height: 1.2; }
.facts span { color: var(--muted); font-size: 14px; }

/* Portrait strip */
.lineup { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; background: var(--art); }
.lineup img { width: 100%; height: auto; display: block; }

/* Feature rows */
.row { display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: start; }
.row.flip { grid-template-columns: 1fr 260px; }
.row.flip .art { order: 2; }
ul.plain { padding-left: 18px; margin: 0 0 14px; }
ul.plain li { margin-bottom: 6px; }

/* News / story */
.post { padding: 22px 0; border-top: 1px solid var(--line); }
.post time { color: var(--muted); font-size: 14px; display: block; margin-bottom: 4px; }
.post h3 { margin-top: 0; }
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 18px 0; border-top: 1px solid var(--line); }
.timeline .when { color: var(--muted); font-size: 14px; }

/* FAQ */
details { border-top: 1px solid var(--line); padding: 14px 0; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 600; }
details p, details ul { margin-top: 10px; }

/* Forms (preview) */
.notice { border: 1px solid var(--accent); padding: 12px 16px; color: var(--accent); margin-bottom: 28px; }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
form label { display: block; font-size: 14px; color: var(--muted); margin: 12px 0 4px; }
form input, form select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: #fff;
  font: inherit;
  color: var(--ink);
}
form .btn { margin-top: 16px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }

/* Donate */
.packs { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.packs > div { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px; }
.packs b { font-size: 30px; display: block; }
.packs .price { color: var(--muted); margin: 6px 0 16px; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 13px; }

@media (max-width: 720px) {
  .top .wrap { gap: 10px 18px; padding-top: 12px; padding-bottom: 12px; }
  .brand { flex: 1; }
  .nav { order: 3; flex-basis: 100%; gap: 14px; }
  h1 { font-size: 34px; }
  .hero, .cols, .row, .row.flip { grid-template-columns: 1fr; }
  .row.flip .art { order: 0; }
  .facts, .packs { grid-template-columns: 1fr 1fr; }
  .lineup { grid-template-columns: repeat(3, 1fr); }
  .timeline li { grid-template-columns: 1fr; gap: 4px; }
  .link { display: inline-block; margin: 14px 0 0; }
}

/* Home summary and narrow news (Lucian 21.11: less text, news like a narrow column of small cards) */
.summary { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 32px; font-size: 16px; }
.summary li { border-top: 1px solid var(--line); padding-top: 10px; }
.narrow { max-width: 520px; margin-left: auto; margin-right: auto; }
.news-card { display: block; border: 1px solid var(--line); padding: 10px 14px; margin-bottom: 8px; color: var(--ink); text-decoration: none; }
.news-card:hover { border-color: var(--accent); }
.news-card time, .news summary time { display: block; font-size: 11px; color: var(--muted); letter-spacing: .05em; text-transform: uppercase; }
.news-card b { font-size: 15px; }
.news .post { border: 1px solid var(--line); padding: 0; margin-bottom: 10px; }
.news details, .news details:last-of-type { border: 0; padding: 12px 16px; }
.news summary { font-weight: 400; list-style: none; }
.news summary::-webkit-details-marker { display: none; }
.news summary h3 { font-size: 15px; line-height: 1.35; margin: 2px 0 4px; }
.news .sum { font-size: 13px; color: var(--muted); margin: 0; }
.news details[open] .sum { display: none; }
.news ul.plain, .news details p { font-size: 14px; }
.news ul.plain li { padding: 6px 0; }
@media (max-width: 640px) { .summary { grid-template-columns: 1fr; } }

/* Features (Lucian 21.11, after 10 server sites): rates strip, tags, six short groups of label/value lines */
.fhead { padding-bottom: 20px; }
.rates { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 18px 0 8px; }
.rates > div { background: #fff; padding: 12px 14px; }
.rates span { display: block; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.rates b { display: block; font-size: 28px; line-height: 1.15; color: var(--accent); }
.pills { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pills li { border: 1px solid var(--line); padding: 4px 10px; font-size: 13px; color: var(--ink); }
.fgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.fcard { background: var(--paper); padding: 16px 18px 14px; border: 0; }
.fcard h2 { font-size: 17px; margin: 0 0 10px; }
.fcard ul { list-style: none; padding: 0; margin: 0; }
.fcard li { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; border-top: 1px solid var(--line); font-size: 14px; }
.fcard li span { color: var(--muted); white-space: nowrap; }
.fcard li b { font-weight: 400; color: var(--ink); text-align: right; }
.fmore { margin: 22px 0 40px; color: var(--muted); }
.fmore .btn { margin-left: 12px; }
@media (max-width: 900px) { .fgrid { grid-template-columns: 1fr 1fr; } .rates { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .fgrid { grid-template-columns: 1fr; } }
