:root {
  --ink: #13211d;
  --ink-soft: #47584f;
  --muted: #6d7b73;
  --line: #dbe6df;
  --paper: #f5f9f6;
  --paper-strong: #eef5f0;
  --white: #ffffff;
  --moss: #416f61;
  --moss-dark: #244d43;
  --moss-soft: #d7e7dd;
  --aqua: #86c6bd;
  --leaf: #e4efe8;
  --danger: #7d3f4a;
  --shadow: 0 20px 50px rgba(19, 33, 29, 0.12);
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: "Libre Baskerville", Georgia, serif;
  --measure: 68ch;
  --measure-tight: 54ch;
  --measure-wide: 76ch;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.68;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 100;
  transform: translateY(-150%);
  background: var(--ink);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 6px;
}

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

.site-shell {
  min-height: 100vh;
}

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

.narrow {
  width: min(780px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 249, 246, 0.9);
  border-bottom: 1px solid rgba(219, 230, 223, 0.85);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(19, 33, 29, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 900;
}

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  box-shadow: 0 14px 30px rgba(36, 77, 67, 0.22);
  flex: 0 0 auto;
}

.brand-text {
  white-space: nowrap;
  font-size: 1.08rem;
  letter-spacing: 0;
  text-wrap: balance;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--ink-soft);
  font-size: 0.94rem;
  font-weight: 700;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--moss-dark);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 76vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(19, 33, 29, 0.92) 0%, rgba(19, 33, 29, 0.74) 48%, rgba(19, 33, 29, 0.25) 100%),
    linear-gradient(0deg, rgba(19, 33, 29, 0.72) 0%, rgba(19, 33, 29, 0.05) 58%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  padding: 128px 0 78px;
}

.kicker {
  display: inline-flex;
  max-width: 100%;
  margin: 0 0 16px;
  color: var(--aqua);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  text-wrap: balance;
}

h1,
.display,
.section-title {
  font-family: var(--serif);
  font-weight: 700;
}

h1 {
  max-width: 760px;
  font-size: clamp(3rem, 6.2vw, 5.85rem);
}

.hero-copy {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.08rem, 1.8vw, 1.32rem);
  line-height: 1.62;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--moss);
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  background: var(--moss-dark);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.38);
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.16);
}

.section {
  padding: 76px 0;
}

.section.tight {
  padding: 48px 0;
}

.section.band {
  background: var(--white);
  border-block: 1px solid var(--line);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(260px, 0.55fr);
  gap: 36px;
  align-items: end;
  margin-bottom: 34px;
}

.section-title {
  font-size: clamp(1.95rem, 3.2vw, 2.85rem);
}

.section-lede {
  max-width: var(--measure-tight);
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.04rem;
  line-height: 1.65;
  text-wrap: pretty;
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: linear-gradient(180deg, var(--white), var(--paper-strong));
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.signal {
  min-height: 166px;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.signal b {
  display: block;
  color: var(--moss-dark);
  font-family: var(--serif);
  font-size: 1.44rem;
  line-height: 1.14;
  text-wrap: balance;
}

.signal span {
  display: block;
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 0.96rem;
  font-weight: 650;
  line-height: 1.55;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.article-card,
.path-card,
.note-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  overflow: hidden;
}

.article-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.article-card:hover {
  transform: translateY(-3px);
  border-color: var(--moss-soft);
  box-shadow: var(--shadow);
}

.article-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background:
    radial-gradient(circle at 24% 22%, rgba(134, 198, 189, 0.24), transparent 32%),
    linear-gradient(135deg, var(--paper-strong), var(--leaf));
}

.article-card-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  padding: 22px;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 750;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  background: var(--leaf);
  color: var(--moss-dark);
  font-size: 0.78rem;
  font-weight: 850;
}

.article-card h3 {
  font-size: 1.24rem;
  line-height: 1.18;
}

.article-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.97rem;
  line-height: 1.58;
  text-wrap: pretty;
}

.read-more {
  margin-top: auto;
  color: var(--moss-dark);
  font-weight: 850;
}

.path-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.path-card {
  padding: 26px;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.path-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 42px rgba(19, 33, 29, 0.08);
}

.path-card h3 {
  font-size: 1.24rem;
  line-height: 1.2;
}

.path-card p,
.note-card p {
  margin: 12px 0 0;
  color: var(--ink-soft);
  line-height: 1.58;
  text-wrap: pretty;
}

.path-card a {
  display: inline-flex;
  margin-top: 16px;
  color: var(--moss-dark);
  font-weight: 850;
  text-decoration: none;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.65fr);
  gap: 38px;
  align-items: start;
}

.note-card {
  padding: 24px;
  background: var(--paper-strong);
}

.note-card strong {
  color: var(--danger);
}

.page-hero {
  padding: 82px 0 42px;
  background: var(--paper-strong);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 860px;
  color: var(--ink);
  font-size: clamp(2.35rem, 3.85vw, 3.45rem);
}

.page-hero p {
  max-width: var(--measure);
  margin: 20px 0 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
  line-height: 1.66;
  text-wrap: pretty;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 750;
}

.breadcrumbs a {
  color: var(--moss-dark);
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.article-hero {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.seo-article-hero {
  background:
    radial-gradient(circle at 18% 12%, rgba(134, 198, 189, 0.22), transparent 28%),
    linear-gradient(180deg, var(--white), var(--paper-strong));
}

.article-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(300px, 0.54fr);
  gap: 46px;
  align-items: center;
  padding: 58px 0;
}

.article-hero h1 {
  max-width: 760px;
  color: var(--ink);
  font-size: clamp(2.3rem, 3.4vw, 3.95rem);
  line-height: 1.08;
}

.article-hero p {
  max-width: var(--measure-tight);
  margin: 20px 0 0;
  color: var(--ink-soft);
  font-size: 1.06rem;
  line-height: 1.64;
  text-wrap: pretty;
}

.article-hero img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 8px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 730px) minmax(220px, 300px);
  gap: 56px;
  align-items: start;
  padding: 58px 0 86px;
}

.article-body {
  color: #21312c;
  font-size: 1.0625rem;
  line-height: 1.76;
}

.article-body h2,
.article-body h3,
.article-body h4 {
  max-width: var(--measure-tight);
  margin: 2.35em 0 0.72em;
  color: var(--ink);
  line-height: 1.18;
}

.article-body h2 {
  font-size: clamp(1.65rem, 2.05vw, 2.12rem);
}

.article-body h3 {
  font-size: 1.34rem;
}

.article-body h4 {
  font-size: 1.14rem;
}

.article-body p,
.article-body ul,
.article-body ol {
  max-width: var(--measure);
  margin: 0 0 1.18em;
  text-wrap: pretty;
}

.article-body ul,
.article-body ol {
  padding-left: 1.45em;
}

.article-body li {
  margin: 0.45em 0;
  padding-left: 0.05em;
}

.article-body li::marker {
  color: var(--moss);
}

.article-body strong {
  color: var(--ink);
  font-weight: 760;
}

.article-body a {
  color: var(--moss-dark);
  font-weight: 750;
}

.article-body hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 34px 0;
}

.article-body blockquote {
  max-width: var(--measure);
  margin: 28px 0;
  padding: 20px 22px;
  border-left: 4px solid var(--moss);
  background: var(--white);
  line-height: 1.68;
}

.article-body blockquote p:last-child {
  margin-bottom: 0;
}

.article-body > hr:first-child {
  display: none;
}

.article-body > h2:first-child,
.article-body > h3:first-child,
.article-body > h4:first-child {
  margin-top: 0;
}

.article-visual {
  margin: 0 0 34px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 42px rgba(19, 33, 29, 0.08);
}

.article-visual img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.article-visual figcaption {
  margin: 12px 4px 2px;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.48;
}

.visual-equivalent {
  margin: -12px 0 34px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-strong);
}

.visual-equivalent h2 {
  margin: 0 0 8px;
  font-family: var(--sans);
  font-size: 1.02rem;
  line-height: 1.28;
}

.visual-equivalent p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.96rem;
  line-height: 1.6;
}

.direct-faq {
  margin-top: 46px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.faq {
  display: grid;
  gap: 10px;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.faq summary {
  position: relative;
  cursor: pointer;
  padding: 16px 48px 16px 18px;
  color: var(--ink);
  font-weight: 850;
  line-height: 1.36;
  list-style: none;
  text-wrap: pretty;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq .pl::before,
.faq .pl::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 14px;
  height: 2px;
  background: var(--moss);
  transform: translateY(-50%);
}

.faq .pl::after {
  transform: translateY(-50%) rotate(90deg);
}

.faq details[open] .pl::after {
  opacity: 0;
}

.faq .ans {
  padding: 0 18px 18px;
  color: var(--ink-soft);
}

.faq .ans p:last-child,
.faq .ans:last-child {
  margin-bottom: 0;
}

.side-panel {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 14px;
}

.side-box {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.side-box h2,
.side-box h3 {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.25;
}

.side-box p,
.side-box li {
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.55;
}

.side-box ul {
  margin: 12px 0 0;
  padding-left: 1.1em;
}

.related-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.related-list a {
  color: var(--moss-dark);
  font-weight: 800;
  line-height: 1.35;
  text-decoration: none;
}

.cta-band {
  padding: 48px 0;
  background: var(--moss-dark);
  color: var(--white);
}

.cta-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.cta-band h2 {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 2.6vw, 2.45rem);
  line-height: 1.16;
}

.cta-band p {
  max-width: 62ch;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
  text-wrap: pretty;
}

.content-page {
  padding: 56px 0 84px;
}

.content-page .article-body {
  padding: 0;
}

.contact-box {
  display: grid;
  gap: 18px;
  max-width: 720px;
}

.contact-box a {
  color: var(--moss-dark);
  font-weight: 850;
}

.test-hero {
  background:
    radial-gradient(circle at 15% 20%, rgba(134, 198, 189, 0.24), transparent 34%),
    linear-gradient(135deg, var(--paper-strong), var(--white));
}

.test-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(245, 249, 246, 0.96)),
    var(--paper);
}

.test-layout {
  display: grid;
  grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.test-intro,
.test-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 48px rgba(19, 33, 29, 0.08);
}

.test-intro {
  position: sticky;
  top: 96px;
  padding: 24px;
}

.test-intro h2 {
  margin-top: 16px;
  font-family: var(--serif);
  font-size: 1.58rem;
  line-height: 1.18;
}

.test-intro p,
.test-intro li {
  color: var(--ink-soft);
  line-height: 1.58;
}

.test-intro p {
  margin: 14px 0 0;
}

.test-intro ul {
  margin: 18px 0 0;
  padding-left: 1.15em;
}

.test-card {
  overflow: hidden;
}

.test-card-head {
  padding: 26px 28px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--white), var(--paper-strong));
}

.test-card-head h2 {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 2.6vw, 2.4rem);
  line-height: 1.16;
}

.test-card-head p:last-child {
  max-width: 680px;
  margin: 12px 0 0;
  color: var(--ink-soft);
  line-height: 1.6;
}

.test-engine-wrap {
  padding: 28px;
}

.test-loading {
  height: 72px;
  margin: 72px auto;
  border: 0;
}

.test-card #testengine {
  max-width: none;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.55;
  text-align: left;
}

.test-card #testengine h2,
.test-card #testengine h3 {
  color: var(--ink);
  font-family: var(--serif);
  line-height: 1.16;
  text-align: left;
}

.test-card #testengine h2 {
  margin: 0 0 14px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.test-card #testengine h3 {
  margin: 0 0 14px;
  font-size: 1.42rem;
}

.test-card #testengine .testengine_block {
  max-width: none;
  padding: 0;
  color: var(--ink);
  font-size: 1rem;
}

.test-card #testengine .testengine_block + .testengine_block {
  margin-top: 22px;
}

.test-card #testengine .testengine_block_2,
.test-card #testengine .testengine_block_3,
.test-card #testengine .testengine_block_4,
.test-card #testengine .testengine_block_5,
.test-card #testengine .testengine-result-container,
.test-card #testengine .testengine-contacts {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-strong);
  box-shadow: none;
}

.test-card #testengine .testengine_table {
  width: 100%;
  border: 0;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--white);
  overflow: hidden;
}

.test-card #testengine .testengine_td {
  padding: 13px 14px;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.96rem;
  vertical-align: middle;
}

.test-card #testengine .testengine_td_field_title {
  width: 32%;
  color: var(--ink);
  font-weight: 850;
}

.test-card #testengine .testengine_table tr:last-child .testengine_td {
  border-bottom: 0;
}

.test-card #testengine .testengine_input_text,
.test-card #testengine .testengine_input_select,
.test-card #testengine .testengine_textarea,
.test-card #testengine select,
.test-card #testengine input[type="text"],
.test-card #testengine input[type="email"],
.test-card #testengine input[type="tel"] {
  min-height: 42px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.35;
  outline: none;
}

.test-card #testengine .testengine_input_text:focus,
.test-card #testengine .testengine_input_select:focus,
.test-card #testengine .testengine_textarea:focus,
.test-card #testengine select:focus,
.test-card #testengine input:focus {
  border-color: var(--moss);
  box-shadow: 0 0 0 3px rgba(65, 111, 97, 0.14);
}

.test-card #testengine input[type="radio"],
.test-card #testengine input[type="checkbox"] {
  accent-color: var(--moss);
}

.test-card #testengine .testengine_input_radio,
.test-card #testengine .testengine_input_checkbox {
  margin-inline: 4px 7px;
}

.test-card #testengine .testengine_button_block {
  margin-top: 28px;
}

.test-card #testengine #testengine_button,
.test-card #testengine input[type="button"],
.test-card #testengine input[type="submit"],
.test-card #testengine button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--moss);
  border-radius: 8px;
  background: var(--moss);
  color: var(--white);
  cursor: pointer;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.test-card #testengine #testengine_button:hover,
.test-card #testengine input[type="button"]:hover,
.test-card #testengine input[type="submit"]:hover,
.test-card #testengine button:hover {
  transform: translateY(-2px);
  border-color: var(--moss-dark);
  background: var(--moss-dark);
}

.test-card #testengine #testengine_button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.test-card #testengine .testengine_alert_bold,
.test-card #testengine .testengine_alert_normal {
  color: var(--danger);
}

.test-card #testengine .testengine_note,
.test-card #testengine .testengine_required_note,
.test-card #testengine .testengine_copyright,
.test-card #testengine .testengine-copyright,
.test-card #testengine .testengine_version {
  color: var(--muted);
}

.test-card #testengine .testengine_line:hover .testengine_td {
  background: rgba(215, 231, 221, 0.36);
}

.test-card #testengine .testengine_line_cursor {
  background: rgba(125, 63, 74, 0.14);
}

.test-card #testengine .testengine_line_kbd {
  background: var(--moss);
}

.test-card #testengine .testengine_line_kbd .testengine_td {
  color: var(--white);
}

.test-card #testengine .testengine_success,
.test-card #testengine .testengine_failue,
.test-card #testengine .testengine_info {
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font-size: 0.95rem;
}

.test-card #testengine .testengine_success {
  background: var(--moss-soft);
}

.test-card #testengine .testengine_failue {
  background: #f7dfe3;
}

.test-card #testengine .testengine_info {
  background: var(--white);
}

.test-card #testengine .graph-img {
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.test-card #testengine #testengine_consent_div {
  color: var(--ink-soft);
}

.site-footer {
  padding: 42px 0;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: start;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  font-size: 0.92rem;
  font-weight: 750;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--white);
}

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

@media (max-width: 920px) {
  .menu-button {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: auto 0 auto;
    top: -360px;
    display: grid;
    gap: 0;
    padding: 12px 20px 24px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    transform: none;
    transition: top 180ms ease;
  }

  body.nav-open .site-nav {
    top: 72px;
  }

  .site-nav[data-open="true"] {
    top: 72px;
  }

  .site-nav a {
    padding: 12px 0;
  }

  .section-head,
  .split,
  .article-hero-grid,
  .article-layout,
  .cta-band .container,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .article-hero-grid {
    gap: 30px;
    align-items: start;
  }

  .article-body h2,
  .article-body h3,
  .article-body h4,
  .article-body p,
  .article-body ul,
  .article-body ol,
  .article-body blockquote {
    max-width: none;
  }

  .signal-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-grid,
  .path-grid {
    grid-template-columns: 1fr;
  }

  .side-panel {
    position: static;
  }

  .test-layout {
    grid-template-columns: 1fr;
  }

  .test-intro {
    position: static;
  }
}

@media (max-width: 620px) {
  .container,
  .narrow {
    width: min(100% - 28px, 1120px);
  }

  .header-inner {
    min-height: 66px;
  }

  .site-nav {
    top: -360px;
  }

  body.nav-open .site-nav,
  .site-nav[data-open="true"] {
    top: 66px;
  }

  .brand-text {
    white-space: normal;
    font-size: 1rem;
    line-height: 1.1;
  }

  .hero {
    min-height: 76vh;
  }

  .hero-content {
    padding: 92px 0 52px;
  }

  h1 {
    font-size: clamp(2.35rem, 11vw, 3.45rem);
    line-height: 1.08;
  }

  .page-hero {
    padding: 62px 0 34px;
  }

  .page-hero h1 {
    font-size: clamp(2.2rem, 9.5vw, 3rem);
  }

  .section {
    padding: 56px 0;
  }

  .section-title {
    font-size: clamp(1.8rem, 8.2vw, 2.55rem);
  }

  .signal-grid {
    grid-template-columns: 1fr;
  }

  .article-hero-grid {
    padding: 46px 0;
  }

  .article-hero h1 {
    font-size: clamp(2.05rem, 8.5vw, 2.85rem);
    line-height: 1.1;
  }

  .article-hero p {
    font-size: 1rem;
  }

  .article-layout {
    padding: 42px 0 62px;
  }

  .article-body {
    font-size: 1rem;
    line-height: 1.72;
  }

  .article-body h2 {
    font-size: clamp(1.48rem, 6.8vw, 1.95rem);
  }

  .article-body h3 {
    font-size: 1.24rem;
  }

  .article-body h4 {
    font-size: 1.08rem;
  }

  .test-card-head,
  .test-engine-wrap,
  .test-intro {
    padding: 20px;
  }

  .test-card #testengine .testengine_block_2,
  .test-card #testengine .testengine_block_3,
  .test-card #testengine .testengine_block_4,
  .test-card #testengine .testengine_block_5,
  .test-card #testengine .testengine-result-container,
  .test-card #testengine .testengine-contacts {
    padding: 14px;
  }

  .test-card #testengine .testengine_table,
  .test-card #testengine .testengine_table tbody,
  .test-card #testengine .testengine_table tr,
  .test-card #testengine .testengine_table td {
    display: block;
    width: 100% !important;
  }

  .test-card #testengine .testengine_table tr {
    border-bottom: 1px solid var(--line);
  }

  .test-card #testengine .testengine_table tr:last-child {
    border-bottom: 0;
  }

  .test-card #testengine .testengine_td {
    border-bottom: 0;
  }

  .test-card #testengine .testengine_td_field_title {
    padding-bottom: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
