:root {
  --paper: #f2f1ec;
  --ink: #11120f;
  --muted: #65675f;
  --line: #c9c9c0;
  --accent: #b8f13a;
  --accent-ink: #1d2608;
  --max: 1180px;
  --space: clamp(1.25rem, 3vw, 2.5rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }

.wrap { width: min(calc(100% - 2 * var(--space)), var(--max)); margin-inline: auto; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.35rem;
  border-bottom: 1px solid var(--line);
}
.brand { font-weight: 900; letter-spacing: -.04em; text-decoration: none; font-size: 1.15rem; }
.brand::before { content: "↘"; display: inline-block; margin-right: .42rem; font-weight: 500; }
nav { display: flex; gap: clamp(.8rem, 2.4vw, 1.8rem); font-size: .92rem; }
nav a { text-decoration: none; }
nav a[aria-current="page"] { border-bottom: 2px solid currentColor; }

.hero {
  min-height: 72vh;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: end;
  padding-block: clamp(4rem, 10vw, 8rem) 2rem;
}
.eyeline { margin: 0 0 1.2rem; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; }
h1 {
  margin: 0;
  max-width: 9ch;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.2rem, 10.5vw, 9.2rem);
  font-weight: 400;
  line-height: .82;
  letter-spacing: -.075em;
}
.hero-copy { align-self: end; padding-bottom: .5rem; }
.hero-copy p { margin: 0 0 2rem; max-width: 31rem; font-size: clamp(1.12rem, 2vw, 1.45rem); line-height: 1.5; }
.cta {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  padding: .8rem 1rem;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  font-weight: 700;
}
.cta[aria-disabled="true"] { cursor: default; opacity: .55; }

.counter-band {
  background: var(--ink);
  color: var(--paper);
  margin-top: 1.5rem;
}
.counter-grid {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: var(--space);
  align-items: stretch;
  min-height: 440px;
}
.counter-number {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-block: clamp(2rem, 5vw, 4rem);
}
.counter-number strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(7rem, 18vw, 15rem);
  line-height: .7;
  font-weight: 400;
  letter-spacing: -.08em;
}
.counter-number span { color: #a8a99f; font-size: .9rem; }
.activity-field {
  padding-block: clamp(2rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-auto-rows: 1fr;
  gap: 8px;
}
.activity-field i { display: block; min-height: 24px; border: 1px solid #34362e; }
.activity-field i[data-level="1"] { background: #334514; }
.activity-field i[data-level="2"] { background: #617f25; }
.activity-field i[data-level="3"] { background: var(--accent); }

.section { padding-block: clamp(4rem, 9vw, 8rem); border-bottom: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: .55fr 1.45fr; gap: var(--space); margin-bottom: clamp(2rem, 5vw, 4.5rem); }
.section-index { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.section h2 { margin: 0; max-width: 15ch; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.5rem, 5.5vw, 5.2rem); font-weight: 400; line-height: .95; letter-spacing: -.05em; }

.mode-list { border-top: 1px solid var(--line); }
.mode { display: grid; grid-template-columns: .55fr 1.45fr; gap: var(--space); padding-block: 1.6rem; border-bottom: 1px solid var(--line); }
.mode b { font-size: .84rem; font-weight: 700; }
.mode h3 { margin: 0 0 .45rem; font-size: clamp(1.4rem, 3vw, 2.15rem); letter-spacing: -.035em; }
.mode p { margin: 0; color: var(--muted); max-width: 45rem; line-height: 1.6; }

.fact-line { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.fact { padding: 1.3rem 1rem 1.3rem 0; border-right: 1px solid var(--line); }
.fact:last-child { border-right: 0; padding-left: 1rem; }
.fact:not(:first-child) { padding-left: 1rem; }
.fact strong { display: block; font-size: 1rem; margin-bottom: .45rem; }
.fact span { color: var(--muted); font-size: .9rem; line-height: 1.45; }

.site-footer { padding-block: 2rem 3rem; display: flex; justify-content: space-between; gap: 1.5rem; color: var(--muted); font-size: .85rem; }
.site-footer div { display: flex; flex-wrap: wrap; gap: 1.1rem; }

/* Legal + support */
.page-intro { padding-block: clamp(4rem, 9vw, 7rem) clamp(2.5rem, 6vw, 4.5rem); border-bottom: 1px solid var(--line); }
.page-intro h1 { max-width: none; font-size: clamp(3.8rem, 9vw, 8rem); }
.page-intro p { max-width: 48rem; margin: 1.8rem 0 0; font-size: 1.12rem; line-height: 1.6; color: var(--muted); }
.page-meta { margin-top: 1.2rem; font-size: .8rem; color: var(--muted); }
.article-layout { display: grid; grid-template-columns: .55fr 1.45fr; gap: var(--space); padding-block: clamp(3rem, 7vw, 6rem); }
.toc { position: sticky; top: 1.5rem; align-self: start; font-size: .82rem; line-height: 1.7; }
.toc strong { display: block; margin-bottom: .8rem; }
.toc a { display: block; color: var(--muted); text-decoration: none; margin-bottom: .25rem; }
.legal { max-width: 760px; }
.legal section { padding: 0 0 2.5rem; margin-bottom: 2.5rem; border-bottom: 1px solid var(--line); }
.legal section:last-child { border-bottom: 0; }
.legal h2 { font-family: inherit; font-size: clamp(1.55rem, 3vw, 2.2rem); font-weight: 700; letter-spacing: -.04em; line-height: 1.1; max-width: none; margin-bottom: 1rem; }
.legal h3 { font-size: 1rem; margin: 1.6rem 0 .6rem; }
.legal p, .legal li { color: #35372f; line-height: 1.72; }
.legal ul { padding-left: 1.25rem; }
.legal .plain-note { padding-left: 1rem; border-left: 3px solid var(--ink); color: var(--ink); }

.support-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); margin-bottom: 4rem; }
.support-item { padding: 1.5rem 1.5rem 1.5rem 0; border-bottom: 1px solid var(--line); }
.support-item:nth-child(odd) { border-right: 1px solid var(--line); }
.support-item:nth-child(even) { padding-left: 1.5rem; }
.support-item h2 { font-family: inherit; font-size: 1rem; font-weight: 700; margin-bottom: .6rem; }
.support-item p { color: var(--muted); margin: 0; line-height: 1.6; }
.faq details { border-top: 1px solid var(--line); padding: 1.2rem 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 700; }
.faq p { max-width: 46rem; color: var(--muted); line-height: 1.6; }

@media (max-width: 760px) {
  .site-header { align-items: flex-start; }
  nav { gap: .75rem; flex-wrap: wrap; justify-content: flex-end; }
  .hero, .counter-grid, .section-head, .mode, .article-layout { grid-template-columns: 1fr; }
  .hero { min-height: 0; padding-top: 4rem; }
  .hero h1 { font-size: clamp(4.2rem, 21vw, 7rem); }
  .counter-number strong { font-size: clamp(8rem, 41vw, 12rem); }
  .activity-field { grid-template-columns: repeat(6, 1fr); }
  .fact-line { grid-template-columns: 1fr 1fr; }
  .fact { border-bottom: 1px solid var(--line); }
  .fact:nth-child(2) { border-right: 0; }
  .fact:nth-child(3) { padding-left: 0; }
  .toc { position: static; border-bottom: 1px solid var(--line); padding-bottom: 1.5rem; }
  .support-grid { grid-template-columns: 1fr; }
  .support-item, .support-item:nth-child(even) { padding-left: 0; border-right: 0; }
  .site-footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
