:root {
  color-scheme: light;
  --ink: #18201f;
  --muted: #5d6967;
  --paper: #f4f1ea;
  --panel: #fffdf8;
  --line: #d8d4ca;
  --teal: #2e6f68;
  --teal-soft: #dfece8;
  --amber: #bd7a24;
  --shadow: 0 24px 70px rgba(24, 32, 31, 0.09);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 5%, rgba(46, 111, 104, 0.09), transparent 26rem),
    var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.72;
}

.shell {
  width: min(1120px, calc(100% - 36px));
  margin-inline: auto;
}

.site-header {
  border-bottom: 1px solid rgba(24, 32, 31, 0.12);
}

.header-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-mark {
  width: 15px;
  height: 15px;
  border: 4px solid var(--teal);
  border-radius: 50%;
  box-shadow: 8px 0 0 -4px var(--amber);
}

.header-inner p,
.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article {
  padding-block: clamp(58px, 8vw, 100px) 80px;
}

.article-header {
  max-width: 880px;
  margin: 0 auto 44px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.7rem, 7vw, 5.7rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.dek {
  max-width: 780px;
  margin: 28px 0 22px;
  color: #42504e;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  line-height: 1.5;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 22px;
  color: var(--muted);
  font-size: 0.9rem;
}

.meta span + span::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin: 0 18px 2px 0;
  border-radius: 50%;
  background: var(--amber);
}

.hero {
  margin: 0 auto 54px;
  overflow: hidden;
  border: 1px solid rgba(24, 32, 31, 0.16);
  border-radius: 24px;
  background: #202625;
  box-shadow: var(--shadow);
}

.hero img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.prose {
  max-width: 790px;
  margin-inline: auto;
  font-size: 1.05rem;
}

.prose > p:first-child {
  font-size: 1.2rem;
}

.prose h2 {
  margin: 66px 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.16;
}

.prose h3 {
  margin: 38px 0 8px;
  font-size: 1.1rem;
  line-height: 1.35;
}

.prose p { margin: 0 0 20px; }

.prose a {
  color: #225f59;
  font-weight: 750;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.prose a:hover { color: #153f3b; }

.callout {
  margin: 34px 0;
  padding: 21px 24px;
  border-left: 4px solid var(--amber);
  border-radius: 0 12px 12px 0;
  background: var(--teal-soft);
}

.callout p { margin: 0; }

.table-wrap {
  margin: 28px calc(50% - 50vw);
  padding-inline: max(18px, calc((100vw - 960px) / 2));
  overflow-x: auto;
}

table {
  width: min(960px, 100%);
  margin-inline: auto;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  box-shadow: 0 14px 38px rgba(24, 32, 31, 0.05);
  font-size: 0.93rem;
}

th,
td {
  padding: 15px 17px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  background: #e8eeeb;
  color: #334440;
  font-size: 0.76rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #faf7f0; }

.site-footer {
  padding: 34px 0 48px;
  border-top: 1px solid rgba(24, 32, 31, 0.12);
}

@media (max-width: 640px) {
  .shell { width: min(100% - 24px, 1120px); }
  .article { padding-top: 44px; }
  .hero { border-radius: 14px; }
  .prose { font-size: 1rem; }
  .meta span + span::before { display: none; }
  th, td { min-width: 150px; padding: 12px; }
}

@media print {
  body { background: white; }
  .site-header, .site-footer { display: none; }
  .article { padding: 0; }
  .hero { box-shadow: none; break-inside: avoid; }
  a { color: inherit; }
}
