:root {
  --ink: #102027;
  --ink-2: #1a333d;
  --persimmon: #e4572e;
  --persimmon-text: #9d3418;
  --verdigris: #0f6e66;
  --gold: #c8963e;
  --paper: #e7eef2;
  --card: #ffffff;
  --text: #172228;
  --muted: #3e515b;
  --line: #d3dee4;
  --tint: #f4f8f9;
  --ad-line: #8aa0ab;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background-color: var(--paper);
  background-image: radial-gradient(circle at 1px 1px, rgba(16, 32, 39, 0.07) 1px, transparent 0);
  background-size: 18px 18px;
  font-family: "Outfit", "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 1.05rem;
  line-height: 1.65;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--verdigris); }

a:hover { color: #0a4f49; }

a:focus-visible {
  outline: 2px solid var(--persimmon);
  outline-offset: 3px;
}

.wrap {
  width: min(1040px, calc(100% - 1.5rem));
  margin: 0 auto;
}

.site-header {
  background: var(--ink);
  color: #f3f7f8;
  border-bottom: 4px solid var(--persimmon);
}

.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem 1.5rem;
  padding: 0.9rem 0 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
  text-decoration: none;
}

.mon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background:
    radial-gradient(circle at 50% 32%, var(--persimmon) 3px, transparent 3.5px),
    radial-gradient(circle at 32% 68%, var(--persimmon) 3px, transparent 3.5px),
    radial-gradient(circle at 68% 68%, var(--persimmon) 3px, transparent 3.5px);
}

.brand-name {
  display: block;
  font-family: "Sora", "Trebuchet MS", sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 1.15rem;
  line-height: 1.1;
}

.brand-sub {
  display: block;
  margin-top: 0.15rem;
  color: #b7c9d1;
  font-size: 0.82rem;
  line-height: 1.2;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
  align-items: center;
}

.nav a {
  color: #d5e2e8;
  text-decoration: none;
  font-family: "Sora", "Trebuchet MS", sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
}

.nav a:hover { color: #fff; }

.nav a[aria-current="page"] {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: var(--persimmon);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.28rem;
}

main { padding: 1.4rem 0 2.6rem; }

.sheet {
  max-width: 820px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 12px 32px rgba(16, 32, 39, 0.06);
  padding: 1.2rem 1.1rem 1.6rem;
}

.byline {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.kicker {
  margin: 0.85rem 0 0.25rem;
  color: var(--persimmon-text);
  font-family: "Sora", "Trebuchet MS", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1, h2, h3 {
  font-family: "Sora", "Trebuchet MS", sans-serif;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

h1 {
  margin: 0.15rem 0 0.85rem;
  font-size: clamp(1.7rem, 4vw, 2.35rem);
  color: var(--ink);
}

h2 {
  margin: 2rem 0 0.6rem;
  font-size: 1.32rem;
}

h2::before {
  content: "";
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  margin-right: 0.45rem;
  background: var(--persimmon);
  transform: translateY(-0.08rem);
}

h3 { margin: 1.2rem 0 0.35rem; font-size: 1.05rem; }

.lede { font-size: 1.12rem; }

p { margin: 0.75rem 0; }

ul, ol { margin: 0.6rem 0 0.8rem; padding-left: 1.2rem; }

li + li { margin-top: 0.28rem; }

figure { margin: 1.2rem 0; }

figure img { width: 100%; }

figcaption {
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.88rem;
}

blockquote {
  margin: 1rem 0;
  padding: 0.15rem 0 0.15rem 0.95rem;
  border-left: 3px solid var(--gold);
}

.facts, .guides, .clan-grid {
  display: grid;
  gap: 0.7rem;
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.facts { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }

.guides, .clan-grid { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }

.facts li, .clan, .guides a {
  background: var(--tint);
  border: 1px solid var(--line);
  padding: 0.75rem 0.8rem;
}

.facts span, .guides em {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--muted);
  font-style: normal;
  font-family: "Sora", "Trebuchet MS", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.guides a {
  display: block;
  color: inherit;
  text-decoration: none;
  border-top: 3px solid var(--ink);
  height: 100%;
}

.guides a:hover { border-top-color: var(--verdigris); }

.guides strong {
  display: block;
  margin-bottom: 0.25rem;
  font-family: "Sora", "Trebuchet MS", sans-serif;
  color: var(--ink);
}

.clan { border-top: 3px solid var(--ink-2); }

.clan h3 { margin-top: 0; }

.note, .gap {
  margin: 1rem 0;
  padding: 0.85rem 1rem;
  background: #f3faf9;
  border-left: 4px solid var(--verdigris);
}

.gap { background: #fbf6ef; border-left-color: var(--gold); }

.gap h2, .note h2 { margin-top: 0; }

.table-scroll { overflow-x: auto; margin: 0.8rem 0 1rem; }

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.96rem;
}

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

th { background: var(--ink); color: #f3f7f8; font-weight: 600; }

.onpage {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.9rem;
  list-style: none;
  padding: 0;
  margin: 0.4rem 0 0.2rem;
}

.ad-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1.25rem auto;
  border: 1px dashed var(--ad-line);
  background: var(--tint);
  text-align: center;
}

.ad-slot p {
  margin: 0;
  color: #5c6f78;
  font-family: "Sora", "Trebuchet MS", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ad-native { width: 100%; min-height: 110px; }

.ad-banner {
  width: 300px;
  max-width: 100%;
  height: 250px;
}

.site-footer {
  background: var(--ink);
  color: #c5d4db;
  padding: 1.4rem 0 1.8rem;
}

.site-footer a { color: #e7f2f4; }

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  margin-bottom: 0.7rem;
}

.site-footer p { margin: 0.35rem 0; font-size: 0.92rem; }

@media (min-width: 720px) {
  .sheet { padding: 1.8rem 2rem 2.1rem; }
}

@media (max-width: 380px) {
  .wrap { width: min(1040px, calc(100% - 1rem)); }
  .sheet { padding: 1rem 0.75rem 1.3rem; }
}
