/* ==========================================================================
   ANANTA Field Guide — unofficial English guide
   Visual system derived from anantagame.com CSS (2026-10-24):
   #f7f7f7 paper · #181818 ink · #00a2ff signal blue · #d62032 alert red
   #9b94b3 muted violet · #e8ebee panel tint · #e0c3b6 warm accent
   All imagery is CSS + inline SVG. No official assets are used.
   ========================================================================== */

@font-face {
  font-family: "Chakra Petch";
  src: url("fonts/ChakraPetch-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Chakra Petch";
  src: url("fonts/ChakraPetch-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("fonts/Barlow-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("fonts/Barlow-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("fonts/Barlow-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --display: "Chakra Petch", "Bahnschrift", "Segoe UI", sans-serif;
  --sans: "Barlow", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  --wrap: 1160px;
  --read: 760px;

  --cut: 14px;
  --line: 2px;
  --shadow-hard: 6px 6px 0 rgba(24, 24, 24, 0.10);
  --shadow-hard-dark: 6px 6px 0 rgba(0, 0, 0, 0.45);
}

:root[data-theme="light"] {
  --bg: #f7f7f7;
  --bg-grid: rgba(24, 24, 24, 0.035);
  --panel: #ffffff;
  --panel-2: #e8ebee;
  --panel-3: #dde2e6;
  --ink: #181818;
  --ink-2: #4a4d52;
  --ink-3: #6f747b;
  --line-col: #181818;
  --line-soft: #cfd4d8;
  --accent: #00a2ff;
  --accent-deep: #0072b8;
  --accent-wash: rgba(0, 162, 255, 0.10);
  --alert: #d62032;
  --alert-wash: rgba(214, 32, 50, 0.08);
  --violet: #9b94b3;
  --violet-wash: rgba(155, 148, 179, 0.16);
  --warm: #e0c3b6;
  --ok: #007a4d;
  --code-bg: #eef1f3;
}

:root[data-theme="dark"] {
  --bg: #111111;
  --bg-grid: rgba(255, 255, 255, 0.035);
  --panel: #181818;
  --panel-2: #222225;
  --panel-3: #2b2d31;
  --ink: #f7f7f7;
  --ink-2: #c3c7cc;
  --ink-3: #8f959c;
  --line-col: #f7f7f7;
  --line-soft: #33363a;
  --accent: #3fa8fd;
  --accent-deep: #7cc4ff;
  --accent-wash: rgba(63, 168, 253, 0.14);
  --alert: #ff4d5e;
  --alert-wash: rgba(255, 77, 94, 0.12);
  --violet: #b2b0cc;
  --violet-wash: rgba(178, 176, 204, 0.14);
  --warm: #e0c3b6;
  --ok: #4ed49a;
  --code-bg: #222225;
}

/* ---------------------------------------------------------------- base -- */

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { margin: 0; }

body {
  background-color: var(--bg);
  background-image:
    linear-gradient(var(--bg-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--bg-grid) 1px, transparent 1px);
  background-size: 48px 48px, 48px 48px;
  background-position: -1px -1px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--accent-deep); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
hr { border: 0; border-top: var(--line) solid var(--line-col); margin: 40px 0; }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--accent);
  color: #06131d;
  font-weight: 600;
  padding: 10px 16px;
}
.skip-link:focus { left: 0; }

/* -------------------------------------------------------------- header -- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--panel);
  border-bottom: var(--line) solid var(--line-col);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
  flex: 0 0 auto;
}
.brand:hover { text-decoration: none; }

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #08141c;
  border: var(--line) solid var(--line-col);
}
.brand-mark svg { width: 22px; height: 22px; }

.brand-name {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 19px;
  line-height: 1;
  letter-spacing: 0.04em;
}
.brand-sub {
  display: block;
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 4px;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  order: 3;
  margin-left: 16px;
}

.icon-btn {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  background: var(--panel);
  color: var(--ink);
  border: var(--line) solid var(--line-col);
  cursor: pointer;
  padding: 0;
}
.icon-btn:hover { background: var(--accent); color: #08141c; }
.icon-btn svg { width: 18px; height: 18px; }
.menu-btn { display: none; }

.main-nav { margin-left: auto; }
.main-nav ul {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a {
  display: block;
  padding: 8px 10px;
  font-family: var(--display);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
  border-bottom: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}
.main-nav a:hover { color: var(--ink); border-bottom-color: var(--accent); text-decoration: none; }
.main-nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--ink); }

@media (max-width: 1040px) {
  .menu-btn { display: inline-grid; }
  .header-tools { margin-left: auto; }
  .main-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin: 0;
    background: var(--panel);
    border-bottom: var(--line) solid var(--line-col);
    display: none;
    max-height: calc(100vh - 68px);
    overflow: auto;
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 8px 22px 18px; }
  .main-nav li { border-top: 1px solid var(--line-soft); }
  .main-nav li:first-child { border-top: 0; }
  .main-nav a { padding: 13px 2px; font-size: 14px; border-bottom: 0; }
  .main-nav a:hover, .main-nav a[aria-current="page"] { border-bottom: 0; color: var(--accent-deep); }
}

/* ---------------------------------------------------------------- hero -- */

.hero {
  position: relative;
  overflow: hidden;
  background: #181818;
  color: #f7f7f7;
  border-bottom: var(--line) solid var(--line-col);
  padding: 58px 0 48px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 162, 255, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 162, 255, 0.14) 1px, transparent 1px);
  background-size: 56px 56px, 56px 56px;
  mask-image: radial-gradient(circle at 78% 18%, #000 0%, transparent 68%);
  -webkit-mask-image: radial-gradient(circle at 78% 18%, #000 0%, transparent 68%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -140px;
  width: 520px;
  height: 520px;
  border: 2px solid rgba(0, 162, 255, 0.55);
  transform: rotate(18deg);
  pointer-events: none;
}

.hero .wrap { position: relative; z-index: 1; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #00a2ff;
  margin: 0 0 18px;
}
.hero-eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: #00a2ff;
}

.hero h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(34px, 6vw, 66px);
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin: 0 0 18px;
  max-width: 17ch;
}
.hero h1 em {
  font-style: normal;
  color: #00a2ff;
}

.hero-sub {
  max-width: 58ch;
  font-size: 18px;
  color: #c9ced4;
  margin: 0 0 26px;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.hero-facts li {
  border: 1.5px solid #4a4f55;
  padding: 7px 12px;
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #e9ecef;
}
.hero-facts li strong { color: #00a2ff; font-weight: 700; }

.hero-note {
  margin: 26px 0 0;
  font-size: 13.5px;
  color: #8f959c;
  max-width: 62ch;
}

/* -------------------------------------------------------------- layout -- */

main { display: block; }
.section { padding: 54px 0 10px; }
.section-head { margin: 0 0 22px; }
.section-head h2 {
  font-family: var(--display);
  font-size: clamp(23px, 3vw, 31px);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 6px;
}
.section-head p { margin: 0; color: var(--ink-2); max-width: 66ch; }

.eyebrow {
  font-family: var(--display);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin: 0 0 8px;
}

/* --------------------------------------------------------------- cards -- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0 0 34px;
  padding: 0;
  list-style: none;
}
@media (max-width: 900px) { .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .card-grid { grid-template-columns: 1fr; } }

.card-grid > li { display: flex; }
.card-grid .card { flex: 1; }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--panel);
  border: var(--line) solid var(--line-col);
  padding: 20px 20px 18px;
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.14s ease, box-shadow 0.14s ease;
}
.card::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 10px;
  width: 9px;
  height: 9px;
  border-top: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
}
.card:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-hard);
  text-decoration: none;
}
.card:hover .card-title { color: var(--accent-deep); }
.card-tag {
  font-family: var(--display);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.card-title {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
}
.card-desc { margin: 0; font-size: 14.5px; color: var(--ink-2); }
.card-meta {
  margin-top: auto;
  padding-top: 10px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-3);
}

/* --------------------------------------------------------- status strip -- */

.status-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: var(--line) solid var(--line-col);
  background: var(--panel);
  margin: -34px auto 0;
  position: relative;
  z-index: 2;
  max-width: var(--wrap);
}
.status-strip > div {
  padding: 14px 18px;
  border-left: 1px solid var(--line-soft);
}
.status-strip > div:first-child { border-left: 0; }
.status-strip dt {
  font-family: var(--display);
  font-size: 10.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 3px;
}
.status-strip dd {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2;
}
@media (max-width: 760px) {
  .status-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .status-strip > div:nth-child(3) { border-left: 0; }
  .status-strip > div:nth-child(n + 3) { border-top: 1px solid var(--line-soft); }
}

/* -------------------------------------------------------------- article -- */

.doc {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 44px;
  align-items: start;
  padding: 34px 0 70px;
}
@media (max-width: 980px) {
  .doc { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .doc-aside { position: static; display: grid; grid-template-columns: 1fr; gap: 14px; }
  .doc-aside .aside-box { margin-bottom: 0; }
}
@media (min-width: 560px) and (max-width: 980px) {
  .doc-aside { grid-template-columns: 1fr 1fr; align-items: start; }
}

.breadcrumb {
  font-size: 12.5px;
  color: var(--ink-3);
  padding: 18px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
}
.breadcrumb a { color: var(--ink-2); }
.breadcrumb span[aria-hidden] { color: var(--violet); }

.article-head { border-bottom: var(--line) solid var(--line-col); padding-bottom: 22px; margin-bottom: 24px; }
.article-head h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(29px, 4.4vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 14px;
}
.lede {
  font-size: 18.5px;
  line-height: 1.62;
  color: var(--ink-2);
  margin: 0 0 16px;
  max-width: 68ch;
}
.meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  font-size: 12.5px;
  color: var(--ink-3);
  margin: 0;
}
.badge {
  display: inline-block;
  font-family: var(--display);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 7px;
  border: 1.5px solid var(--line-soft);
  color: var(--ink-2);
  white-space: nowrap;
}
.badge--live { border-color: var(--accent); color: var(--accent-deep); background: var(--accent-wash); }
.badge--warn { border-color: var(--alert); color: var(--alert); background: var(--alert-wash); }
.badge--soft { border-color: var(--violet); color: var(--ink-2); background: var(--violet-wash); }

/* keybox */
.keybox {
  border: var(--line) solid var(--line-col);
  background: var(--panel);
  margin: 0 0 30px;
}
.keybox-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--panel-2);
  border-bottom: var(--line) solid var(--line-col);
  padding: 9px 14px;
  font-family: var(--display);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.keybox-title span { color: var(--ink-3); letter-spacing: 0.05em; font-family: var(--sans); font-size: 11px; text-transform: none; }
.keybox table { width: 100%; border-collapse: collapse; }
.keybox th, .keybox td {
  text-align: left;
  vertical-align: top;
  padding: 10px 14px;
  border-top: 1px solid var(--line-soft);
  font-size: 14.5px;
}
.keybox tr:first-child th, .keybox tr:first-child td { border-top: 0; }
.keybox th {
  width: 34%;
  font-weight: 600;
  color: var(--ink-2);
  background: color-mix(in srgb, var(--panel-2) 55%, transparent);
}
.keybox td { font-weight: 500; }

/* prose */
.prose { max-width: var(--read); }
.prose > *:first-child { margin-top: 0; }
.prose h2 {
  font-family: var(--display);
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 46px 0 14px;
  padding-top: 14px;
  border-top: var(--line) solid var(--line-col);
}
.prose h2:first-of-type { margin-top: 30px; }
.prose h3 {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
  margin: 28px 0 10px;
  letter-spacing: 0.01em;
}
.prose p { margin: 0 0 16px; }
.prose ul, .prose ol { margin: 0 0 18px; padding-left: 22px; }
.prose li { margin-bottom: 7px; }
.prose li::marker { color: var(--accent-deep); }
.prose strong { font-weight: 600; }
.prose code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88em;
  background: var(--code-bg);
  border: 1px solid var(--line-soft);
  padding: 1px 5px;
}
.prose abbr { text-decoration: underline dotted; cursor: help; }

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 26px;
  font-size: 14.5px;
  background: var(--panel);
  border: var(--line) solid var(--line-col);
  display: table;
}
.prose th, .prose td {
  border-top: 1px solid var(--line-soft);
  border-left: 1px solid var(--line-soft);
  padding: 9px 12px;
  text-align: left;
  vertical-align: top;
}
.prose th:first-child, .prose td:first-child { border-left: 0; }
.prose tr:first-child th, .prose tr:first-child td { border-top: 0; }
.prose thead th {
  background: var(--panel-2);
  font-family: var(--display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.table-scroll { overflow-x: auto; margin: 20px 0 26px; border: var(--line) solid var(--line-col); }
.table-scroll table { margin: 0; border: 0; }
.table-scroll table th, .table-scroll table td { white-space: nowrap; }

/* callouts */
.callout {
  border: var(--line) solid var(--line-col);
  border-left-width: 6px;
  background: var(--panel);
  padding: 15px 18px;
  margin: 24px 0;
  font-size: 15.5px;
}
.callout p:last-child { margin-bottom: 0; }
.callout-title {
  font-family: var(--display);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 6px;
}
.callout--note { border-left-color: var(--accent); }
.callout--note .callout-title { color: var(--accent-deep); }
.callout--warn { border-left-color: var(--alert); background: var(--alert-wash); }
.callout--warn .callout-title { color: var(--alert); }
.callout--soft { border-left-color: var(--violet); background: var(--violet-wash); }
.callout--soft .callout-title { color: var(--ink-2); }

/* aside */
.doc-aside { position: sticky; top: 88px; }
.aside-box {
  border: var(--line) solid var(--line-col);
  background: var(--panel);
  margin-bottom: 16px;
}
.aside-box h2, .aside-box h3 {
  font-family: var(--display);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0;
  padding: 9px 13px;
  background: var(--panel-2);
  border-bottom: var(--line) solid var(--line-col);
}
.aside-box ol, .aside-box ul { list-style: none; margin: 0; padding: 8px 0; }
.aside-box li { margin: 0; }
.aside-box a {
  display: block;
  padding: 6px 13px;
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--ink-2);
  border-left: 3px solid transparent;
}
.aside-box a:hover, .aside-box a:focus-visible {
  color: var(--ink);
  border-left-color: var(--accent);
  background: var(--accent-wash);
  text-decoration: none;
}
.aside-note { padding: 12px 13px; font-size: 12.5px; color: var(--ink-3); }

/* ad slot */
.ad-slot {
  border: 1px dashed var(--line-soft);
  min-height: 90px;
  display: grid;
  place-items: center;
  color: var(--ink-3);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 28px 0;
}
.ad-inline { max-width: var(--read); }

/* related */
.related { border-top: var(--line) solid var(--line-col); margin-top: 46px; padding-top: 22px; }
.related h2 {
  font-family: var(--display);
  font-size: 15px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 14px;
  border: 0;
  padding: 0;
}
.related ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.related a {
  display: block;
  border: 1px solid var(--line-soft);
  padding: 12px 14px;
  font-weight: 500;
  color: var(--ink);
  background: var(--panel);
}
.related a:hover { border-color: var(--accent); background: var(--accent-wash); text-decoration: none; }
.related small { display: block; color: var(--ink-3); font-weight: 400; margin-top: 2px; }

/* -------------------------------------------------------------- footer -- */

.site-footer {
  background: #181818;
  color: #c9ced4;
  border-top: var(--line) solid var(--line-col);
  padding: 44px 0 30px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 30px;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

.site-footer .brand { color: #f7f7f7; }
.site-footer .brand-sub { color: #8f959c; }
.footer-about { margin: 14px 0 0; max-width: 34ch; color: #8f959c; font-size: 13px; }
.footer-grid h2 {
  font-family: var(--display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #00a2ff;
  margin: 0 0 10px;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 7px; }
.footer-grid a { color: #c9ced4; }
.footer-grid a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid #33363a;
  padding-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  justify-content: space-between;
  font-size: 12px;
  color: #8f959c;
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 14px; }

/* --------------------------------------------------------------- misc -- */

.updated-list { list-style: none; padding: 0; margin: 0; border-top: var(--line) solid var(--line-col); }
.updated-list li {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  justify-content: space-between;
  padding: 11px 2px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14.5px;
}
.updated-list time { color: var(--ink-3); font-size: 12.5px; white-space: nowrap; }

.notfound { padding: 80px 0 100px; text-align: left; }
.notfound .code {
  font-family: var(--display);
  font-size: clamp(64px, 16vw, 150px);
  font-weight: 700;
  line-height: 0.9;
  color: var(--accent);
  margin: 0 0 10px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

@media print {
  .site-header, .site-footer, .doc-aside, .ad-slot { display: none; }
  body { background: #fff; color: #000; }
  .doc { display: block; }
}
