@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url("../fonts/golos-text-cyrillic-400-normal.woff2") format("woff2");
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url("../fonts/golos-text-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url("../fonts/golos-text-cyrillic-600-normal.woff2") format("woff2");
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url("../fonts/golos-text-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url("../fonts/golos-text-cyrillic-700-normal.woff2") format("woff2");
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url("../fonts/golos-text-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-display: swap;
  font-weight: 800;
  src: url("../fonts/golos-text-cyrillic-800-normal.woff2") format("woff2");
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-display: swap;
  font-weight: 800;
  src: url("../fonts/golos-text-latin-800-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

:root {
  --ink: #183a3b;
  --ink-2: #2f5151;
  --muted: #5d7473;
  --paper: #ffffff;
  --canvas: #f3f7f6;
  --teal-soft: #d7eae5;
  --teal-pale: #e9f3f0;
  --coral: #f1b6a8;
  --coral-soft: #fae7e1;
  --line: #cbdad7;
  --line-dark: #9eb7b2;
  --shadow: 0 22px 60px rgba(24, 58, 59, .10);
  --shadow-small: 0 10px 28px rgba(24, 58, 59, .08);
  --radius-lg: 24px;
  --radius-md: 14px;
  --content: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: "Golos Text", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: .12em; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
img, svg { display: block; max-width: 100%; }

:focus-visible {
  outline: 3px solid #d66f57;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: .75rem;
  left: .75rem;
  z-index: 1000;
  padding: .7rem 1rem;
  background: var(--ink);
  color: #fff;
  border-radius: 10px;
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

.wrap { width: min(calc(100% - 2rem), var(--content)); margin-inline: auto; }
.narrow { width: min(calc(100% - 2rem), 800px); margin-inline: auto; }
.muted { color: var(--muted); }
.eyebrow {
  margin: 0 0 .85rem;
  color: var(--ink-2);
  font-size: .82rem;
  font-weight: 760;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(243, 247, 246, .96);
  border-bottom: 1px solid rgba(203, 218, 215, .85);
  backdrop-filter: blur(14px);
}

.header-row {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .68rem;
  text-decoration: none;
  font-size: 1.15rem;
  font-weight: 850;
  letter-spacing: -.025em;
}

.pause-mark {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  width: 29px;
  height: 29px;
  padding: 6px 7px;
  background: var(--ink);
  border-radius: 9px;
  transform: rotate(-3deg);
}

.pause-mark::before,
.pause-mark::after {
  content: "";
  display: block;
  width: 4px;
  background: var(--coral);
  border-radius: 4px;
}

.pause-mark::before { height: 15px; }
.pause-mark::after { height: 11px; }

.desktop-nav { display: flex; align-items: center; gap: 1.4rem; }
.desktop-nav a {
  color: var(--ink-2);
  text-decoration: none;
  font-size: .94rem;
  font-weight: 680;
}
.desktop-nav a:hover, .desktop-nav a[aria-current="page"] { color: #9c4e3c; }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  position: relative;
}
.menu-toggle span::before,
.menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }

.mobile-nav {
  display: none;
  padding: .25rem 0 1rem;
  border-top: 1px solid var(--line);
}
.mobile-nav[data-open="true"] { display: grid; }
.mobile-nav a { padding: .6rem 0; text-decoration: none; font-weight: 700; }

.notice {
  background: var(--ink);
  color: #fff;
  font-size: .88rem;
}
.notice .wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 38px;
  text-align: center;
}
.notice-dot { width: 7px; height: 7px; background: var(--coral); border-radius: 50%; flex: 0 0 auto; }

.hero { padding: 4.4rem 0 3rem; overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
  align-items: center;
  gap: 4.2rem;
}
.hero-copy h1,
.page-hero h1 {
  margin: 0 0 1.2rem;
  max-width: 16ch;
  font-family: "Golos Text", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2.45rem, 5vw, 3.65rem);
  line-height: 1.02;
  letter-spacing: -.045em;
  font-weight: 650;
}
.hero-copy .lead { max-width: 640px; font-size: 1.18rem; line-height: 1.62; color: var(--ink-2); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .85rem; margin: 1.7rem 0 1rem; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .78rem 1.15rem;
  border: 1px solid var(--ink);
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  font-weight: 780;
  cursor: pointer;
  box-shadow: 0 6px 0 #0e292a;
  transition: transform .16s ease, box-shadow .16s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 8px 0 #0e292a; }
.button:active { transform: translateY(3px); box-shadow: 0 3px 0 #0e292a; }
.button.secondary { background: var(--paper); color: var(--ink); box-shadow: none; }
.text-link { color: #8d4939; font-weight: 760; }
.independent { display: flex; align-items: center; gap: .6rem; margin-top: 1.1rem; color: var(--muted); font-size: .92rem; }
.independent::before { content: ""; width: 22px; height: 2px; background: var(--coral); }

.hero-visual { position: relative; min-height: 505px; }
.hero-visual::before,
.hero-visual::after { content: ""; position: absolute; z-index: -1; }
.hero-visual::before { width: 140px; height: 140px; background: var(--coral-soft); border-radius: 50%; right: -40px; top: -35px; }
.hero-visual::after { width: 95px; height: 210px; background: var(--teal-soft); left: -36px; bottom: 18px; border-radius: 48px; transform: rotate(9deg); }

.model-shell {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.model-topbar { height: 52px; display: flex; align-items: center; gap: 8px; padding: 0 18px; border-bottom: 1px solid var(--line); }
.model-topbar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-dark); }
.model-topbar i:first-child { background: var(--coral); }
.model-stage { padding: 2rem; }
.model-caption { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; margin-bottom: 1.2rem; }
.model-caption strong { font-size: 1.05rem; }
.model-caption span { color: var(--muted); font-size: .82rem; text-align: right; }

.layers { position: relative; display: grid; gap: .72rem; min-height: 258px; }
.layer {
  position: relative;
  display: grid;
  grid-template-columns: 132px 1fr auto;
  align-items: center;
  gap: 1rem;
  min-height: 68px;
  padding: .8rem 1rem;
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: opacity .2s ease, transform .2s ease, border-color .2s ease;
}
.layer-name { font-weight: 800; }
.layer-detail { color: var(--muted); font-size: .88rem; }
.layer-state { min-width: 82px; padding: .3rem .55rem; border-radius: 999px; background: var(--teal-soft); text-align: center; font-size: .75rem; font-weight: 800; }
.layer.tab::before { content: ""; width: 42px; height: 9px; background: var(--line-dark); border-radius: 7px 7px 2px 2px; position: absolute; left: 94px; top: -9px; }
.layer.screen { background: var(--teal-pale); }
.layer.session::after { content: ""; width: 36px; height: 3px; background: var(--coral); position: absolute; right: 48px; bottom: -10px; transform: rotate(-9deg); }
.screen-curtain { display: none; position: absolute; inset: 0; z-index: 3; place-items: center; background: rgba(24, 58, 59, .92); color: #fff; border-radius: 14px; font-weight: 800; text-align: center; padding: 1rem; }
.model-shell[data-state="tab"] .layer.tab { opacity: .28; transform: translateY(-5px); border-style: dashed; }
.model-shell[data-state="tab"] .layer.tab::after { content: "Закрыта в примере"; position: absolute; inset: auto 12px 7px auto; color: #8d4939; font-size: .75rem; font-weight: 800; }
.model-shell[data-state="lock"] .screen-curtain { display: grid; }
.model-shell[data-state="logout"] .layer.session { border-color: #d66f57; }
.model-shell[data-state="logout"] .layer.session::before { content: ""; position: absolute; right: 36px; width: 22px; height: 8px; background: var(--paper); transform: rotate(-18deg); }
.model-shell[data-state="logout"] .layer.session .layer-state { background: var(--coral-soft); color: #7d3e30; }

.model-legend { display: flex; gap: 1.1rem; flex-wrap: wrap; margin-top: 1.15rem; color: var(--muted); font-size: .78rem; }
.model-legend span { display: inline-flex; align-items: center; gap: .4rem; }
.legend-swatch { width: 12px; height: 12px; border-radius: 3px; border: 1px solid var(--line-dark); background: var(--teal-soft); }
.legend-swatch.coral { background: var(--coral-soft); }

.section { padding: 5.2rem 0; }
.section.paper { background: var(--paper); }
.section.dark { background: var(--ink); color: #fff; }
.section.coral { background: var(--coral-soft); }
.section-head { display: flex; justify-content: space-between; gap: 2rem; align-items: end; margin-bottom: 2.2rem; }
.section-head h2, .prose h2, .action-panel h2 {
  margin: 0;
  max-width: 19ch;
  font-family: "Golos Text", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -.03em;
  font-weight: 650;
}
.section-head p { max-width: 570px; margin: 0; color: var(--muted); }
.dark .section-head p { color: #c8d8d5; }

.pause-workbench { display: grid; grid-template-columns: minmax(0, 1.32fr) minmax(280px, .68fr); gap: 1.3rem; }
.pause-main { padding: 1.3rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.pause-main .model-shell { box-shadow: none; }
.choice-bar { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; margin-top: 1rem; }
.choice-button {
  min-height: 64px;
  padding: .75rem .8rem;
  border: 1px solid var(--line-dark);
  border-radius: 11px;
  background: var(--paper);
  color: var(--ink);
  text-align: left;
  font-weight: 760;
  cursor: pointer;
}
.choice-button:hover { border-color: var(--ink); }
.choice-button[aria-pressed="true"] { background: var(--teal-soft); border: 2px solid var(--ink); padding: calc(.75rem - 1px) calc(.8rem - 1px); }
.choice-button[aria-pressed="true"]::after { content: "Выбрано"; display: block; margin-top: .18rem; color: var(--ink-2); font-size: .72rem; text-transform: uppercase; letter-spacing: .07em; }
.result-panel { display: flex; flex-direction: column; justify-content: space-between; padding: 1.4rem; background: var(--ink); color: #fff; border-radius: var(--radius-lg); }
.result-panel .eyebrow { color: var(--coral); }
.result-panel h3 { margin: 0 0 .7rem; font-size: 1.5rem; line-height: 1.2; }
.result-panel p { margin: 0 0 1rem; color: #d9e5e2; }
.result-actions { display: grid; gap: .65rem; }
.result-actions a, .result-actions button { color: #fff; background: transparent; border: 0; padding: 0; text-align: left; text-decoration: underline; cursor: pointer; font-weight: 720; }

.comparison-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
table { width: 100%; border-collapse: collapse; min-width: 680px; }
th, td { padding: 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
th { background: var(--teal-pale); font-size: .84rem; letter-spacing: .04em; text-transform: uppercase; }
tr:last-child td { border-bottom: 0; }

.steps { counter-reset: step; display: grid; gap: 0; border-top: 1px solid var(--line); }
.step { counter-increment: step; display: grid; grid-template-columns: 72px 1fr auto; gap: 1.2rem; align-items: start; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.step::before { content: "0" counter(step); font-family: "Golos Text", ui-sans-serif, system-ui, sans-serif; font-size: 1.6rem; color: #9c4e3c; }
.step h3 { margin: .1rem 0 .3rem; font-size: 1.16rem; }
.step p { margin: 0; color: var(--muted); }
.step .tag { padding: .28rem .55rem; background: var(--coral-soft); border-radius: 999px; font-size: .75rem; font-weight: 800; white-space: nowrap; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.split > * { min-width: 0; }
.plain-list { margin: 1.2rem 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.plain-list li { padding: 1rem 0 1rem 1.8rem; border-bottom: 1px solid var(--line); position: relative; }
.plain-list li::before { content: ""; position: absolute; left: 0; top: 1.55rem; width: 10px; height: 10px; background: var(--coral); border-radius: 3px; transform: rotate(8deg); }

.quick-lines { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.quick-line { padding: 1.5rem; border-right: 1px solid var(--line); }
.quick-line:last-child { border-right: 0; }
.quick-line .number { display: block; color: #9c4e3c; font-family: "Golos Text", ui-sans-serif, system-ui, sans-serif; font-size: 2rem; }
.quick-line h3 { margin: .5rem 0 .4rem; font-size: 1.08rem; }
.quick-line p { margin: 0 0 .7rem; color: var(--muted); font-size: .95rem; }

.faq-list { display: grid; gap: .75rem; }
.faq-list details { border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.faq-list summary { padding: 1rem 3rem 1rem 1rem; list-style: none; font-weight: 780; cursor: pointer; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 1rem; top: .82rem; font-size: 1.45rem; color: #9c4e3c; }
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p { margin: 0; padding: 0 1rem 1rem; color: var(--muted); }

.breadcrumbs { padding-top: 1.1rem; color: var(--muted); font-size: .86rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; padding: 0; margin: 0; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: .45rem; color: var(--line-dark); }
.breadcrumbs a { text-decoration: none; }

.page-hero { padding: 3.1rem 0 2.4rem; }
.page-hero .lead { max-width: 760px; margin: 0; color: var(--ink-2); font-size: 1.16rem; }
.page-marker { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: center; margin-top: 1.8rem; max-width: 660px; padding: 1rem; background: var(--teal-soft); border-left: 5px solid var(--ink); border-radius: 0 12px 12px 0; }
.page-marker strong { font-size: .92rem; }
.page-marker span { font-size: .88rem; color: var(--ink-2); }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 4rem; align-items: start; }
.prose { min-width: 0; }
.prose h2 { margin: 3rem 0 1rem; font-size: clamp(1.75rem, 3vw, 2.25rem); }
.prose h3 { margin: 2rem 0 .7rem; font-size: 1.22rem; }
.prose p { margin: 0 0 1.15rem; color: var(--ink-2); }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li { margin-bottom: .55rem; }
.prose .callout { margin: 1.6rem 0; padding: 1.1rem 1.25rem; border-left: 5px solid var(--coral); background: var(--coral-soft); border-radius: 0 12px 12px 0; }
.prose .callout p:last-child { margin-bottom: 0; }

.side-nav { position: sticky; top: 105px; padding: 1.1rem; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; }
.side-nav strong { display: block; margin-bottom: .6rem; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; }
.side-nav a { display: block; padding: .48rem 0; color: var(--ink-2); font-size: .9rem; text-decoration: none; border-bottom: 1px solid var(--line); }
.side-nav a:last-child { border-bottom: 0; }

.device-board { margin: 1.5rem 0; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); overflow: hidden; }
.device-row { display: grid; grid-template-columns: 48px 1fr auto; gap: 1rem; align-items: center; padding: 1rem; border-bottom: 1px solid var(--line); }
.device-row:last-child { border-bottom: 0; }
.device-icon { width: 44px; height: 34px; border: 2px solid var(--ink); border-radius: 6px; position: relative; }
.device-icon::after { content: ""; position: absolute; width: 16px; height: 2px; background: var(--ink); left: 12px; bottom: -6px; }
.device-row small { display: block; color: var(--muted); }
.device-row em { font-style: normal; color: #8d4939; font-size: .82rem; font-weight: 800; }

.checklist { display: grid; gap: .8rem; margin: 1.4rem 0; }
.check-item { display: grid; grid-template-columns: 36px 1fr; gap: .85rem; padding: 1rem; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.check-icon { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--teal-soft); font-weight: 900; }
.check-item strong { display: block; margin-bottom: .2rem; }
.check-item p { margin: 0; font-size: .94rem; }

.legal-meta { padding: 1rem 1.1rem; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; color: var(--muted); font-size: .9rem; }
.contact-sheet { display: grid; grid-template-columns: 1.05fr .95fr; gap: 1rem; margin-top: 2rem; }
.contact-primary, .contact-secondary { padding: 1.5rem; border-radius: 18px; }
.contact-primary { background: var(--ink); color: #fff; }
.contact-primary a { color: #fff; }
.contact-secondary { background: var(--paper); border: 1px solid var(--line); }
.contact-line { padding: .9rem 0; border-bottom: 1px solid rgba(203, 218, 215, .5); overflow-wrap: anywhere; }
.contact-line:last-child { border-bottom: 0; }
.contact-line span { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; opacity: .72; }

.related { padding: 4rem 0; background: var(--teal-pale); border-top: 1px solid var(--line); }
.related h2 { margin: 0 0 1.3rem; font-family: "Golos Text", ui-sans-serif, system-ui, sans-serif; font-size: 2rem; }
.related-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.related-links a { min-height: 94px; padding: 1rem; background: var(--paper); border: 1px solid var(--line); border-radius: 13px; text-decoration: none; font-weight: 760; }
.related-links a span { display: block; margin-top: .35rem; color: var(--muted); font-size: .84rem; font-weight: 500; }

.action-panel { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; margin: 2.5rem 0; padding: 1.5rem; background: var(--coral-soft); border-radius: 18px; }
.action-panel h2 { font-size: 1.7rem; }
.action-panel p { margin: .5rem 0 0; color: var(--ink-2); }

.site-footer { background: #102c2d; color: #eaf2f0; padding: 3.2rem 0 1.4rem; }
.footer-grid { display: grid; grid-template-columns: 1.15fr .8fr .8fr; gap: 3rem; }
.footer-brand p { max-width: 470px; color: #b8cdca; }
.footer-col strong { display: block; margin-bottom: .7rem; color: var(--coral); font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; }
.footer-col a, .footer-col span { display: block; margin: .5rem 0; color: #dce8e6; overflow-wrap: anywhere; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2.4rem; padding-top: 1.1rem; border-top: 1px solid #365354; color: #9fb7b4; font-size: .82rem; }

.not-found { min-height: 70vh; display: grid; place-items: center; padding: 3rem 1rem; }
.not-found-box { max-width: 700px; padding: 2.4rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); text-align: center; }
.error-code { margin: 0; font-family: "Golos Text", ui-sans-serif, system-ui, sans-serif; color: var(--coral); font-size: 5rem; line-height: 1; }

@media (max-width: 980px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-visual { min-height: auto; max-width: 720px; }
  .pause-workbench, .article-layout { grid-template-columns: 1fr; }
  .side-nav { position: static; }
  .quick-lines { grid-template-columns: 1fr; }
  .quick-line { border-right: 0; border-bottom: 1px solid var(--line); }
  .quick-line:last-child { border-bottom: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  body { font-size: 1rem; }
  .wrap, .narrow { width: min(calc(100% - 1.25rem), var(--content)); }
  .header-row { min-height: 66px; }
  .notice .wrap { padding: .45rem 0; }
  .hero { padding-top: 2.6rem; }
  .hero-copy h1, .page-hero h1 { font-size: clamp(2.15rem, 11vw, 3.1rem); }
  .hero-actions { align-items: stretch; }
  .hero-actions .button { flex: 1 1 100%; }
  .hero-visual::after { display: none; }
  .model-stage { padding: 1rem; }
  .model-caption { align-items: start; flex-direction: column; }
  .model-caption span { text-align: left; }
  .layer { grid-template-columns: 1fr auto; gap: .35rem .7rem; }
  .layer-detail { grid-column: 1 / -1; }
  .layer.tab::before { left: 42px; }
  .section { padding: 3.8rem 0; }
  .section-head { display: block; }
  .section-head p { margin-top: .9rem; }
  .choice-bar { grid-template-columns: 1fr; }
  .split, .contact-sheet, .related-links, .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .step { grid-template-columns: 54px 1fr; }
  .step .tag { grid-column: 2; justify-self: start; }
  .action-panel { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 360px) {
  .brand { font-size: 1.02rem; }
  .pause-mark { width: 27px; height: 27px; }
  .hero-copy h1, .page-hero h1 { font-size: 2.05rem; }
  .layer { padding: .72rem; }
  .model-legend { display: grid; }
  .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

@media print {
  .site-header, .notice, .hero, .breadcrumbs, .choice-bar, .result-actions, .side-nav, .related, .site-footer, .button, .text-link { display: none !important; }
  body { background: #fff; color: #000; font-size: 12pt; }
  .section { padding: 0; }
  .pause-workbench { display: block; }
  .pause-main, .model-shell, .comparison-table-wrap { box-shadow: none; border-color: #777; }
  .result-panel { color: #000; background: #fff; border: 1px solid #777; margin-top: 1rem; }
  .result-panel p { color: #000; }
  a { color: #000; text-decoration: none; }
  a[href]::after { content: " (" attr(href) ")"; font-size: 9pt; }
}
