:root {
  --ink: #102824;
  --ink-soft: #27443f;
  --forest: #163a34;
  --mint: #80e6cd;
  --mint-bright: #abf2df;
  --mint-soft: #e4f8f1;
  --sand: #f1c65a;
  --sand-soft: #fff1c6;
  --paper: #fffdf8;
  --canvas: #f4f2ea;
  --line: #d9ded8;
  --muted: #62716d;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(16, 40, 36, 0.12);
  --radius-lg: 30px;
  --radius-md: 20px;
  --radius-sm: 12px;
  --shell: 1240px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 94px;
}

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

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  color: inherit;
  font: inherit;
}

button {
  cursor: pointer;
}

svg {
  display: block;
}

.shell {
  width: min(var(--shell), calc(100% - 48px));
  margin-inline: auto;
}

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

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

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(16, 40, 36, 0.1);
  background: rgba(255, 253, 248, 0.92);
  backdrop-filter: blur(18px);
}

.site-header__inner {
  display: flex;
  min-height: 80px;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 11px;
}

.brand__mark {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border-radius: 12px;
  color: var(--mint-bright);
  background: var(--ink);
}

.brand__mark svg {
  width: 28px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.brand__copy {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand__copy strong {
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.brand__copy small {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}

.main-nav a {
  position: relative;
  padding: 29px 0 27px;
  color: #2e403c;
  font-size: 0.91rem;
  font-weight: 680;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 20px;
  left: 0;
  height: 2px;
  border-radius: 99px;
  background: var(--forest);
  content: "";
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-search-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 9px;
  padding: 0 17px;
  border-radius: 999px;
  color: var(--white);
  background: var(--ink);
  font-size: 0.88rem;
  font-weight: 750;
  transition: transform 180ms ease, background 180ms ease;
}

.header-search-link:hover {
  background: var(--forest);
  transform: translateY(-1px);
}

.header-search-link svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.8;
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  border: 0;
  background: transparent;
  font-size: 0.85rem;
  font-weight: 750;
}

.menu-toggle__lines {
  display: grid;
  width: 24px;
  gap: 4px;
}

.menu-toggle__lines i {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.hero {
  position: relative;
  min-height: 660px;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.hero::before,
.hero::after {
  position: absolute;
  border-radius: 999px;
  content: "";
  filter: blur(3px);
  pointer-events: none;
}

.hero::before {
  top: -220px;
  right: -90px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(128, 230, 205, 0.3), rgba(128, 230, 205, 0));
}

.hero::after {
  bottom: -270px;
  left: -180px;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(241, 198, 90, 0.14), rgba(241, 198, 90, 0));
}

.hero__grid {
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(90deg, transparent, black 48%, black);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 660px;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
  align-items: center;
  gap: 80px;
  padding-block: 78px 90px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--mint-bright);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 24px;
  height: 2px;
  background: currentColor;
}

.eyebrow--dark {
  color: #297464;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3.15rem, 6vw, 5.9rem);
  font-weight: 840;
  letter-spacing: -0.066em;
  line-height: 0.94;
}

.hero h1 em {
  color: var(--mint);
  font-style: normal;
}

.hero__lead {
  max-width: 650px;
  margin: 27px 0 30px;
  color: #d6e4e0;
  font-size: 1.13rem;
  line-height: 1.7;
}

.search-panel {
  position: relative;
  max-width: 660px;
}

.search-panel > label {
  display: block;
  margin-bottom: 9px;
  color: #b8cec8;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.search-control {
  display: flex;
  height: 64px;
  align-items: center;
  gap: 13px;
  padding: 0 16px 0 19px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.17);
  transition: border 180ms ease, box-shadow 180ms ease;
}

.search-control:focus-within {
  border-color: var(--mint);
  box-shadow: 0 0 0 4px rgba(128, 230, 205, 0.18), 0 18px 50px rgba(0, 0, 0, 0.17);
}

.search-control svg {
  width: 23px;
  flex: 0 0 auto;
  fill: none;
  stroke: #55716b;
  stroke-linecap: round;
  stroke-width: 1.8;
}

.search-control input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 1rem;
  font-weight: 610;
}

.search-control input::placeholder {
  color: #87958f;
}

.search-control kbd {
  padding: 5px 8px;
  border: 1px solid #d8dedb;
  border-bottom-width: 2px;
  border-radius: 7px;
  color: #63736e;
  background: #f6f7f4;
  font-family: inherit;
  font-size: 0.73rem;
  white-space: nowrap;
}

.search-results {
  position: absolute;
  z-index: 30;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  overflow: hidden;
  padding: 7px;
  border: 1px solid #d8dedb;
  border-radius: 14px;
  color: var(--ink);
  background: var(--white);
  box-shadow: var(--shadow);
}

.search-results a {
  display: grid;
  grid-template-columns: 86px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 13px;
  border-radius: 10px;
}

.search-results a:hover,
.search-results a.is-active {
  background: var(--mint-soft);
}

.search-results span {
  color: #287564;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.search-results strong {
  font-size: 0.9rem;
  line-height: 1.3;
}

.search-results i {
  font-style: normal;
}

.search-results__empty {
  padding: 17px;
  color: var(--muted);
  text-align: center;
}

.hero__shortcuts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 17px;
  color: #9eb6b0;
  font-size: 0.78rem;
}

.hero__shortcuts button {
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #dbe8e4;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.76rem;
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease;
}

.hero__shortcuts button:hover {
  border-color: var(--mint);
  color: var(--ink);
  background: var(--mint);
}

.hero__navigator {
  position: relative;
}

.navigator-card {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 25px;
  color: var(--ink);
  background: rgba(255, 253, 248, 0.98);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.27);
  transform: rotate(1.5deg);
}

.navigator-card__top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 17px 19px;
  border-bottom: 1px solid var(--line);
  color: #435a55;
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.navigator-card__top small {
  margin-left: auto;
  padding: 5px 8px;
  border-radius: 999px;
  color: #316f61;
  background: var(--mint-soft);
  font-size: 0.66rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #36b58f;
  box-shadow: 0 0 0 5px rgba(54,181,143,.14);
}

.navigator-steps {
  margin: 0;
  padding: 8px 19px;
  list-style: none;
}

.navigator-steps li {
  display: grid;
  grid-template-columns: 38px 1fr 22px;
  align-items: center;
  gap: 14px;
  padding: 19px 2px;
  border-bottom: 1px solid #e2e5df;
}

.navigator-steps li > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: #26705f;
  background: var(--mint-soft);
  font-size: 0.72rem;
  font-weight: 850;
}

.navigator-steps div {
  display: flex;
  flex-direction: column;
}

.navigator-steps strong {
  font-size: 0.94rem;
}

.navigator-steps small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.76rem;
}

.navigator-steps svg {
  width: 18px;
  fill: none;
  stroke: #7a8a85;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.navigator-card__footer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 10px;
  padding: 14px;
  border-radius: 14px;
  color: #25433d;
  background: var(--sand-soft);
}

.navigator-card__footer svg {
  width: 30px;
  flex: 0 0 auto;
  fill: none;
  stroke: #8a6918;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.navigator-card__footer span {
  display: flex;
  flex-direction: column;
}

.navigator-card__footer strong {
  font-size: 0.82rem;
}

.navigator-card__footer small {
  margin-top: 2px;
  color: #776129;
  font-size: 0.72rem;
}

.hero__label {
  position: absolute;
  z-index: 3;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--mint);
  box-shadow: 0 12px 30px rgba(0,0,0,.15);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero__label--one { top: -18px; left: -24px; transform: rotate(-7deg); }
.hero__label--two { right: -28px; bottom: 102px; background: var(--sand); transform: rotate(7deg); }
.hero__label--three { bottom: -15px; left: 55px; background: var(--white); transform: rotate(-4deg); }

.section {
  padding-block: 98px;
}

.section--tinted {
  background: var(--canvas);
}

.section-heading {
  margin-bottom: 38px;
}

.section-heading--split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 430px);
  align-items: end;
  gap: 40px;
}

.section-heading h2,
.popular h2,
.principles h2,
.about h2 {
  max-width: 800px;
  margin: 0;
  font-size: clamp(2.25rem, 4vw, 3.85rem);
  font-weight: 830;
  letter-spacing: -0.052em;
  line-height: 1.03;
}

.section-heading--split > p {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

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

.route-card {
  position: relative;
  display: flex;
  min-height: 410px;
  flex-direction: column;
  overflow: hidden;
  padding: 30px;
  border: 1px solid rgba(16, 40, 36, 0.1);
  border-radius: var(--radius-md);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.route-card:hover {
  z-index: 2;
  box-shadow: var(--shadow);
  transform: translateY(-7px);
}

.route-card--dark {
  color: var(--white);
  background: var(--ink);
}

.route-card--mint {
  background: var(--mint);
}

.route-card--sand {
  background: var(--sand-soft);
}

.route-card__number {
  color: currentColor;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  opacity: 0.65;
}

.route-card__icon {
  display: grid;
  width: 88px;
  height: 88px;
  place-items: center;
  margin: 32px 0 28px;
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255,255,255,.78);
}

.route-card--dark .route-card__icon {
  color: var(--mint);
  background: rgba(255,255,255,.08);
}

.route-card__icon svg {
  width: 46px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.route-card h3 {
  margin: 0;
  font-size: 1.55rem;
  letter-spacing: -0.03em;
}

.route-card p {
  max-width: 340px;
  margin: 12px 0 25px;
  font-size: 0.92rem;
  line-height: 1.65;
  opacity: 0.75;
}

.route-card__link {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: auto;
  font-size: 0.84rem;
  font-weight: 800;
}

.route-card__link i {
  font-size: 1.25rem;
  font-style: normal;
  transition: transform 180ms ease;
}

.route-card:hover .route-card__link i {
  transform: translateX(5px);
}

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

.category-card {
  display: grid;
  min-height: 114px;
  grid-template-columns: 55px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border: 1px solid #dadfd9;
  border-radius: 15px;
  background: rgba(255, 253, 248, 0.88);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.category-card:hover {
  border-color: #81ad9f;
  background: var(--white);
  transform: translateY(-3px);
}

.category-card__icon {
  display: grid;
  width: 55px;
  height: 55px;
  place-items: center;
  border-radius: 13px;
  color: #236958;
  background: var(--mint-soft);
}

.category-card:nth-child(3n+2) .category-card__icon {
  color: #86671b;
  background: var(--sand-soft);
}

.category-card__icon svg {
  width: 32px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.category-card > span:nth-child(2) {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.category-card strong {
  font-size: 0.93rem;
  line-height: 1.25;
}

.category-card small {
  margin-top: 5px;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.74rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.category-card > i {
  align-self: start;
  padding: 4px 7px;
  border-radius: 999px;
  color: #64736f;
  background: #eff1ed;
  font-size: 0.63rem;
  font-style: normal;
  font-weight: 780;
  white-space: nowrap;
}

.category-more {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-top: 20px;
  padding: 18px 20px;
  border: 1px dashed #bdc8c2;
  border-radius: 14px;
}

.category-more span {
  margin-right: 5px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.category-more a {
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
}

.category-more a:hover {
  color: var(--white);
  background: var(--ink);
}

.popular__layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  align-items: start;
  gap: 90px;
}

.popular__intro {
  position: sticky;
  top: 115px;
}

.popular__intro > p:not(.eyebrow) {
  max-width: 470px;
  margin: 23px 0;
  color: var(--muted);
  line-height: 1.75;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--ink);
  font-size: 0.86rem;
  font-weight: 800;
}

.text-link span {
  font-size: 1.15rem;
}

.article-list {
  border-top: 1px solid var(--line);
}

.article-list > a {
  display: grid;
  min-height: 128px;
  grid-template-columns: 115px 1fr 28px;
  align-items: center;
  gap: 22px;
  border-bottom: 1px solid var(--line);
  transition: padding 180ms ease, background 180ms ease;
}

.article-list > a:hover {
  padding-inline: 16px;
  background: var(--mint-soft);
}

.article-list__meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.article-list__meta i {
  color: #297464;
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-list__meta small {
  color: #8a9793;
  font-size: 0.67rem;
  font-weight: 700;
}

.article-list strong {
  font-size: 1.03rem;
  line-height: 1.45;
}

.article-list b {
  font-size: 1.2rem;
  font-weight: 400;
  transition: transform 180ms ease;
}

.article-list a:hover b {
  transform: translate(3px, -3px);
}

.principles {
  padding-top: 10px;
}

.principles__panel {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(420px, 1.06fr);
  gap: 80px;
  padding: 64px;
  border-radius: var(--radius-lg);
  color: var(--white);
  background: var(--ink);
}

.principles__copy > p:not(.eyebrow) {
  margin: 23px 0 0;
  color: #bcd0cb;
  line-height: 1.75;
}

.principles__steps {
  border-top: 1px solid rgba(255,255,255,.15);
}

.principles__steps > div {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 4px 16px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,.15);
}

.principles__steps span {
  grid-row: span 2;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--mint);
  font-size: 0.74rem;
  font-weight: 900;
}

.principles__steps strong {
  font-size: 0.91rem;
}

.principles__steps small {
  color: #9fb7b1;
  font-size: 0.77rem;
  line-height: 1.5;
}

.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 90px;
}

.about__copy > p {
  margin: 35px 0 28px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.8;
}

.safety-note {
  display: flex;
  gap: 15px;
  padding: 19px;
  border-left: 4px solid var(--sand);
  border-radius: 0 13px 13px 0;
  background: var(--sand-soft);
}

.safety-note svg {
  width: 28px;
  flex: 0 0 auto;
  fill: none;
  stroke: #86671b;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.safety-note p {
  margin: 0;
  color: #5f512b;
  font-size: 0.84rem;
  line-height: 1.65;
}

.site-footer {
  color: #d7e3df;
  background: #0b1e1b;
}

.site-footer__main {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 0.8fr);
  gap: 60px;
  padding: 68px 0 48px;
}

.brand--footer .brand__mark {
  color: var(--ink);
  background: var(--mint);
}

.brand--footer .brand__copy small {
  color: #8da49e;
}

.site-footer__brand p {
  max-width: 370px;
  margin: 24px 0 0;
  color: #91a6a1;
  font-size: 0.84rem;
  line-height: 1.7;
}

.site-footer__column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
}

.site-footer__column h2 {
  margin: 0 0 7px;
  color: #819892;
  font-size: 0.7rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.site-footer__column a {
  color: #d3dfdb;
  font-size: 0.81rem;
}

.site-footer__column a:hover {
  color: var(--mint);
}

.site-footer__notice {
  padding: 18px 20px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 12px;
  background: rgba(255,255,255,.035);
}

.site-footer__notice p {
  margin: 0;
  color: #7f9690;
  font-size: 0.72rem;
  line-height: 1.65;
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0 28px;
  color: #758b85;
  font-size: 0.73rem;
}

.site-footer__bottom p {
  margin: 0;
}

.site-footer__bottom a {
  display: flex;
  align-items: center;
  gap: 7px;
}

.site-footer__bottom a:hover {
  color: var(--mint);
}

:focus-visible {
  outline: 3px solid var(--sand);
  outline-offset: 3px;
}

@media (max-width: 1080px) {
  .main-nav { gap: 19px; }
  .main-nav a { font-size: 0.84rem; }
  .hero__inner { gap: 44px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .principles__panel { gap: 45px; padding: 48px; }
  .site-footer__main { grid-template-columns: 1.3fr repeat(3, 1fr); gap: 30px; }
}

@media (max-width: 900px) {
  .shell { width: min(var(--shell), calc(100% - 34px)); }
  .site-header__inner { min-height: 70px; }
  .menu-toggle { display: flex; margin-left: auto; }
  .main-nav {
    position: fixed;
    top: 70px;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 12px 17px 22px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    box-shadow: 0 20px 40px rgba(16, 40, 36, 0.12);
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 15px 7px; border-bottom: 1px solid #e4e5df; font-size: 0.95rem; }
  .main-nav a::after { display: none; }
  .header-search-link { display: none; }
  .menu-toggle[aria-expanded="true"] .menu-toggle__lines i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-toggle__lines i:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] .menu-toggle__lines i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .hero__inner { min-height: auto; grid-template-columns: 1fr; padding-block: 70px 80px; }
  .hero__copy { max-width: 760px; }
  .hero__navigator { width: min(520px, 90%); margin: 10px auto 0; }
  .route-grid { grid-template-columns: 1fr; }
  .route-card { min-height: 330px; }
  .route-card__icon { margin: 22px 0; }
  .section-heading--split { grid-template-columns: 1fr; gap: 20px; }
  .popular__layout { grid-template-columns: 1fr; gap: 48px; }
  .popular__intro { position: static; }
  .principles__panel { grid-template-columns: 1fr; }
  .about__grid { grid-template-columns: 1fr; gap: 30px; }
  .about__copy > p { margin-top: 0; }
  .site-footer__main { grid-template-columns: 1.2fr 1fr 1fr; }
  .site-footer__column:last-child { grid-column: 2; }
}

@media (max-width: 640px) {
  .shell { width: min(var(--shell), calc(100% - 26px)); }
  .brand__mark { width: 39px; height: 39px; }
  .brand__copy strong { font-size: 0.94rem; }
  .brand__copy small { font-size: 0.6rem; }
  .menu-toggle__label { display: none; }
  .hero__inner { padding-block: 54px 68px; gap: 58px; }
  .hero h1 { font-size: clamp(2.8rem, 14vw, 4.4rem); }
  .hero__lead { font-size: 1rem; }
  .search-control { height: 59px; padding-inline: 15px; }
  .search-control kbd { display: none; }
  .hero__navigator { width: 100%; }
  .hero__label--one { left: 5px; }
  .hero__label--two { right: 1px; }
  .section { padding-block: 70px; }
  .section-heading h2,
  .popular h2,
  .principles h2,
  .about h2 { font-size: 2.25rem; }
  .route-card { min-height: 360px; padding: 25px; }
  .category-grid { grid-template-columns: 1fr; }
  .category-card { min-height: 104px; }
  .category-more { align-items: flex-start; flex-direction: column; }
  .category-more span { margin-bottom: 3px; }
  .article-list > a { min-height: 138px; grid-template-columns: 1fr 22px; gap: 10px; padding-block: 20px; }
  .article-list__meta { grid-column: 1 / -1; flex-direction: row; align-items: center; }
  .article-list > a:hover { padding-inline: 10px; }
  .principles { padding-top: 0; }
  .principles__panel { gap: 34px; padding: 35px 24px; border-radius: 22px; }
  .site-footer__main { grid-template-columns: 1fr 1fr; gap: 38px 24px; padding-top: 52px; }
  .site-footer__brand { grid-column: 1 / -1; }
  .site-footer__column:last-child { grid-column: auto; }
  .site-footer__bottom { align-items: flex-start; flex-direction: column; gap: 13px; }
}

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