:root {
  --bg: #f6f7f9;
  --fg: #181c22;
  --mut: #5c6573;
  --link: #0f4c81;
  --link-hover: #093256;
  --card: #ffffff;
  --line: #e3e7ed;
  --accent: #1d6fa5;
  --ad: #fff9eb;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1318;
    --fg: #eef2f6;
    --mut: #9aa5b4;
    --link: #6ab2f0;
    --link-hover: #9bcbf5;
    --card: #171d24;
    --line: #26303c;
    --accent: #4aa3e8;
    --ad: #242014;
  }
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0 0 3rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  background: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 780px;
  margin: 0 auto;
  padding: 1.5rem 1rem 0;
}

.skip {
  position: absolute;
  left: -999px;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
  background: var(--card);
  color: var(--fg);
  padding: 0.6rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  z-index: 9;
}

h1 {
  font-size: clamp(1.55rem, 3.2vw, 2.1rem);
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 0.45rem;
}

h2 {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--mut);
  margin: 2rem 0 0.85rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--line);
}

.intro {
  color: var(--mut);
  margin: 0.35rem 0;
  font-size: 0.96rem;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

li article {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 10px;
  padding: 0.9rem 1rem;
}

h3.t {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  line-height: 1.38;
  font-weight: 650;
}

h3.t a {
  color: var(--link);
  text-decoration: none;
}

h3.t a:hover,
h3.t a:focus-visible {
  color: var(--link-hover);
  text-decoration: underline;
  text-underline-offset: 3px;
}

p.m {
  margin: 0.25rem 0 0;
  font-size: 0.86rem;
  color: var(--mut);
  line-height: 1.45;
  overflow-wrap: anywhere;
}

footer {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
  color: var(--mut);
}

footer a {
  color: var(--link);
  text-decoration: none;
  margin-right: 1rem;
}

footer a:hover {
  text-decoration: underline;
}
