/* ============================================================
   GEOID — AI-экосистема путешествий
   Визуальный язык: геодезия и картография.
   GEOID — эталонная модель истинной формы Земли.
   ============================================================ */

:root {
  /* Палитра — воздушный светло-голубой, картографическая */
  --bg:        #E9FBFE;   /* очень светлый голубой фон */
  --bg-2:      #FFFFFF;   /* панель / карточка */
  --bg-3:      #EAF6F9;   /* приподнятый элемент */
  --ink:       #182029;   /* тёмный графит — основной текст */
  --ink-2:     #37414E;
  --ink-dim:   #495261;   /* прохладный серый */
  --line:      rgba(24, 32, 41, 0.16);
  --line-2:    rgba(24, 32, 41, 0.26);

  --beacon:    #A85610;   /* тёплый маяк — путеводный свет ИИ */
  --beacon-2:  #C87A28;
  --horizon:   #15807A;   /* аквамарин горизонта / море */
  --horizon-2: #0C625C;

  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 64px);

  --f-display: "Fraunces", Georgia, "Times New Roman", serif;
  --f-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --f-mono: "Space Mono", ui-monospace, "Cascadia Code", monospace;

  --r: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip; /* clip, а не hidden — не ломает sticky-шапку */
}

/* Тонкая топографическая подложка всей страницы */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(1100px 700px at 78% -8%, rgba(242,166,90,0.10), transparent 60%),
    radial-gradient(900px 620px at 6% 108%, rgba(88,198,192,0.08), transparent 62%);
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); position: relative; z-index: 1; }

/* ---------- Типографика ---------- */
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 500; line-height: 1.08; letter-spacing: -0.01em; margin: 0; }
h1 { font-size: clamp(2.7rem, 6.2vw, 5.1rem); font-optical-sizing: auto; }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
p { margin: 0 0 1rem; color: var(--ink-2); }
strong { color: var(--ink); font-weight: 600; }

/* Координатная плашка — структурный элемент, кодирующий гео-тему */
.coord {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--horizon-2);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
}
.coord::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--horizon);
  box-shadow: 0 0 0 3px rgba(88,198,192,0.18);
}
.eyebrow {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--beacon);
}
.eyebrow .logo-inline { vertical-align: baseline; top: 12px; }

/* ---------- Навигация ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(233,251,254,0.82);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  max-width: none; margin: 0; width: 100%;
  padding: 14px clamp(14px, 2vw, 28px);
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px;
  position: relative;
}
.brand { display: inline-flex; align-items: flex-end; gap: 11px; flex: none; }
.brand svg { width: 47px; height: 47px; flex: none; }
.brand__img { height: 63px; width: auto; display: block; }
.footer__brand .brand__img { height: 63px; }
.brand b { font-weight: 600; }
.brand small, .brand__coord { font-family: var(--f-mono); font-size: 0.81rem; letter-spacing: 0.2em; color: var(--ink-dim); text-transform: uppercase; white-space: nowrap; align-self: flex-end; position: relative; top: -3px; padding-bottom: 0; }
/* Встроенный логотип — тот же размер, что и главный в шапке */
.logo-inline {
  height: 76px;
  width: auto;
  max-width: min(100%, 280px);
  vertical-align: baseline;
  display: inline-block;
  position: relative;
  top: 11px;
}
.logo-partner {
  height: 58px;
  width: auto;
  vertical-align: baseline;
  display: inline-block;
  position: relative;
  top: 7px;
  margin-left: 6px;
  padding: 0;
  background: none;
  object-fit: contain;
}
.nav__partner {
  flex: none;
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  align-self: center;
  padding: 0;
  background: none;
  border-radius: 0;
  line-height: 0;
  transition: opacity 0.2s;
  position: relative;
  top: 8px;
}
.nav__partner:hover { opacity: 0.85; }
.nav__partner img {
  height: 42px;
  width: auto;
  display: block;
  object-fit: contain;
}
h1 .logo-inline { height: 151px; top: 30px; }
h1 .logo-inline--stretch {
  height: 76px;
  width: auto;
  transform: scaleX(1.35) scaleY(1.18);
  transform-origin: left center;
  max-width: none;
  top: 14px;
}
@media (max-width: 520px) {
  .brand { gap: 8px; }
  .brand__coord { font-size: 0.66rem; letter-spacing: 0.1em; top: 0; padding-bottom: 0; }
}

.nav__links {
  display: flex; align-items: center; justify-content: space-between;
  position: absolute;
  /* Левый край — как у текста; правый — как у глобуса (.wrap) */
  left: max(var(--gutter), calc(50% - var(--maxw) / 2 + var(--gutter)));
  top: 50%;
  transform: translateY(-50%);
  flex: none; min-width: 0;
  width: min(calc(var(--maxw) - 2 * var(--gutter)), calc(100% - 2 * var(--gutter)));
  margin: 0;
  gap: 6px;
  box-sizing: border-box;
  padding-inline: 0;
}
.nav__links a {
  font-size: 0.86rem; color: var(--ink-dim);
  padding: 8px 8px; border-radius: 8px;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}
.nav__links a:hover { color: var(--ink); background: rgba(26,33,48,0.06); }
.nav__links a.active { color: var(--beacon); }

.nav__cta {
  font-size: 0.82rem; font-weight: 600;
  padding: 8px 12px; border-radius: 999px;
  border: 1px solid var(--line-2); color: var(--ink);
  transition: border-color 0.2s, background 0.2s;
}
.nav__cta:hover { border-color: var(--beacon); background: rgba(242,166,90,0.08); }

.nav__toggle { display: none; background: none; border: 1px solid var(--line-2); color: var(--ink); width: 42px; height: 40px; border-radius: 10px; cursor: pointer; }
.nav__toggle svg { width: 20px; height: 20px; margin: auto; }

@media (max-width: 1180px) {
  .nav__links {
    position: absolute; top: 100%; left: 0; right: 0; margin: 0;
    transform: translateY(-120%);
    width: auto; padding-inline: var(--gutter);
    flex: none; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0;
    background: rgba(233,251,254,0.98); backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    padding: 12px var(--gutter) 22px;
    transition: transform 0.4s var(--ease);
  }
  .nav__links.open { transform: translateY(0); }
  .nav__links a { padding: 13px 6px; border-bottom: 1px solid var(--line); }
  .nav__cta { margin-top: 12px; text-align: center; }
  .nav__toggle { display: flex; }
}

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 0.98rem;
  padding: 14px 26px; border-radius: 999px;
  cursor: pointer; transition: transform 0.25s var(--ease), box-shadow 0.25s, background 0.25s;
}
.btn--primary {
  background: linear-gradient(180deg, #C46E1A, #A85510);
  color: #FFFFFF; box-shadow: 0 10px 26px -12px rgba(180,94,18,0.55);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(242,166,90,0.7); }
.btn--ghost { border: 1px solid var(--line-2); color: var(--ink); }
.btn--ghost:hover { border-color: var(--horizon); background: rgba(88,198,192,0.07); transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; }

/* ---------- Секции ---------- */
.section { padding: clamp(64px, 9vw, 128px) 0; position: relative; }
.section--tight { padding: clamp(48px, 6vw, 84px) 0; }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head .eyebrow { display: block; margin-bottom: 16px; }
.section-head p { font-size: 1.12rem; margin-top: 14px; }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- HERO ---------- */
.hero { position: relative; padding: clamp(60px, 9vw, 110px) 0 clamp(70px, 10vw, 120px); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__tagline {
  font-family: var(--f-display); font-style: italic;
  font-size: clamp(1.05rem, 2vw, 1.35rem); color: var(--beacon-2);
  margin-bottom: 22px;
}
.hero h1 { margin-bottom: 22px; }
.hero h1 em { font-style: italic; color: var(--horizon-2); font-weight: 500; }
.hero__lead { font-size: 1.2rem; max-width: 34ch; margin-bottom: 32px; color: var(--ink-2); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__art { position: relative; aspect-ratio: 1 / 1; }

.hero__stats { display: flex; flex-direction: column; gap: 20px; margin-top: 46px; }
.stat { display: flex; align-items: baseline; gap: 14px; }
.stat b { font-family: var(--f-display); font-size: 3.2rem; line-height: 1; color: var(--ink); }
.stat span { font-family: var(--f-mono); font-size: 1.36rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-dim); }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { max-width: 460px; margin: 8px auto 0; order: -1; }
}

/* Анимация маяка / трассировки маршрута */
.beacon-dot { transform-origin: center; animation: pulse 3.2s var(--ease) infinite; }
@keyframes pulse { 0%,100% { opacity: 0.5; r: 5; } 50% { opacity: 1; r: 7; } }
.route-dash { stroke-dasharray: 6 8; animation: dash 18s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -280; } }
.spin-slow { transform-origin: center; animation: spin 90s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Карточки-сетки ---------- */
.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 920px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: linear-gradient(180deg, var(--bg-2), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 28px;
  position: relative;
  transition: border-color 0.3s, transform 0.3s var(--ease), background 0.3s;
}
.card:hover { border-color: var(--line-2); transform: translateY(-4px); }
.card__ic { width: 44px; height: 44px; margin-bottom: 18px; color: var(--beacon); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-dim); font-size: 0.98rem; margin: 0; }
.card__num { font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.14em; color: var(--horizon); position: absolute; top: 22px; right: 24px; }

/* Пилюли-теги */
.tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tag { font-family: var(--f-mono); font-size: 0.74rem; letter-spacing: 0.06em; padding: 7px 14px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--ink-2); }

/* ---------- Список задач/этапов ---------- */
.steps { display: grid; gap: 2px; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.step {
  display: grid; grid-template-columns: 92px 1fr; gap: 24px;
  padding: 26px 28px; background: var(--bg-2);
  align-items: start;
}
.step__idx { font-family: var(--f-mono); color: var(--horizon); font-size: 0.82rem; letter-spacing: 0.1em; padding-top: 4px; }
.step h3 { margin-bottom: 8px; }
.step p { margin: 0; color: var(--ink-dim); font-size: 0.98rem; }
@media (max-width: 560px) { .step { grid-template-columns: 1fr; gap: 8px; } }

/* ---------- Таблица преимуществ ---------- */
.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); }
table.adv { width: 100%; border-collapse: collapse; min-width: 640px; }
table.adv th, table.adv td { text-align: left; padding: 20px 22px; vertical-align: top; border-bottom: 1px solid var(--line); }
table.adv thead th { font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--horizon-2); background: var(--bg-3); font-weight: 400; }
table.adv tbody th { font-family: var(--f-display); font-size: 1.12rem; font-weight: 500; color: var(--ink); width: 26%; }
table.adv td { color: var(--ink-dim); font-size: 0.96rem; }
table.adv tr:last-child th, table.adv tr:last-child td { border-bottom: 0; }
table.adv tbody tr:hover td, table.adv tbody tr:hover th { background: rgba(26,33,48,0.03); }
.adv .val { color: var(--beacon); font-weight: 500; }

/* ---------- Глоссарий ---------- */
.glossary { display: grid; gap: 0; border-top: 1px solid var(--line); }
.term { padding: 30px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 220px 1fr; gap: 28px; }
.term dt { font-family: var(--f-display); font-size: 1.35rem; color: var(--ink); }
.term dt span { display: block; font-family: var(--f-mono); font-size: 0.68rem; letter-spacing: 0.14em; color: var(--horizon); margin-top: 8px; text-transform: uppercase; }
.term dd { margin: 0; color: var(--ink-2); }
@media (max-width: 720px) { .term { grid-template-columns: 1fr; gap: 12px; } }

/* ---------- Крупная цитата / полоса ---------- */
.feature {
  border: 1px solid var(--line); border-radius: 20px;
  background:
    linear-gradient(180deg, #FFFFFF, #EAF6F9);
  padding: clamp(34px, 5vw, 60px);
  position: relative; overflow: hidden;
}
.feature__q { font-family: var(--f-display); font-size: 63px; line-height: 1.15; max-width: 18ch; }
.feature__q .logo-inline { height: 76px; vertical-align: baseline; top: 13px; }
.feature__q em { font-style: italic; color: var(--beacon-2); }
@media (max-width: 520px) {
  .feature__q { font-size: 34px; }
  .feature__q .logo-inline { height: 54px; }
}

/* Разделённый блок «идея/цель/задачи» */
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 68px); align-items: center; }
.split--rev { grid-template-columns: 1.1fr 0.9fr; }
@media (max-width: 860px) { .split, .split--rev { grid-template-columns: 1fr; } .split .split__art { order: -1; } }

.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checklist li { display: grid; grid-template-columns: 26px 1fr; gap: 14px; align-items: start; color: var(--ink-2); }
.checklist li::before {
  content: ""; margin-top: 7px; width: 14px; height: 14px; border-radius: 4px;
  border: 1.5px solid var(--horizon); background:
    linear-gradient(135deg, transparent 45%, var(--horizon) 45%);
}

/* ---------- CTA-полоса ---------- */
.cta {
  text-align: center; border-radius: 24px; overflow: hidden; position: relative;
  border: 1px solid var(--line-2);
  background: radial-gradient(700px 300px at 50% -20%, rgba(242,166,90,0.16), transparent 60%), var(--bg-2);
  padding: clamp(48px, 7vw, 88px) var(--gutter);
}
.cta h2 { margin-bottom: 16px; }
.cta p { max-width: 52ch; margin: 0 auto 30px; color: var(--ink-2); }
.cta .logo-inline { top: 11px; }
.cta__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Подвал ---------- */
.footer { border-top: 1px solid var(--line); padding: 60px 0 40px; margin-top: 40px; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.8fr) auto; gap: 40px; margin-bottom: 44px; align-items: start; }
.footer h4 { font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-dim); font-weight: 400; margin-bottom: 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a { color: var(--ink-dim); font-size: 0.95rem; transition: color 0.2s; }
.footer a:hover { color: var(--beacon); }
.footer a.with-logo,
.footer__bottom span.with-logo {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: baseline;
  gap: 8px;
  white-space: nowrap;
  max-width: none;
}
.footer a.with-logo .logo-inline { top: 13px; }
.footer__bottom .logo-inline { top: 12px; }
.footer li:has(.logo-inline) {
  white-space: nowrap;
}
.footer__brand p { color: var(--ink-dim); font-size: 0.95rem; max-width: 34ch; margin-top: 16px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 26px; border-top: 1px solid var(--line); }
.footer__bottom span { font-family: var(--f-mono); font-size: 0.74rem; color: var(--ink-dim); letter-spacing: 0.06em; }
@media (max-width: 720px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }

/* ---------- Аватар контактного лица ---------- */
.contact-row { display: flex; gap: 20px; align-items: center; }
.contact-row__info { flex: 1; min-width: 0; }
.contact-row__info a { overflow-wrap: anywhere; }
.contact-partner-logo {
  display: block;
  height: 36px;
  width: auto;
  margin: 0 0 14px;
  padding: 0;
  background: none;
  border-radius: 0;
  object-fit: contain;
}
.avatar {
  width: 104px; height: 104px; flex: none;
  border-radius: 50%;
  object-fit: cover; object-position: center 28%;
  border: 3px solid var(--bg-2);
  box-shadow: 0 0 0 1px var(--line-2), 0 10px 24px -10px rgba(24,32,41,0.45);
}
.avatar--tilt {
  transform: rotate(10deg) scale(1.1);
}
.avatar--tilt-left {
  transform: rotate(-22deg) scale(1.05);
}
@media (max-width: 520px) {
  .avatar { width: 78px; height: 78px; }
  .contact-row { gap: 14px; }
}

/* ---------- Появление при прокрутке ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Блок презентации / медиа ---------- */
.feature--media {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}
.feature__title { font-size: 1.6rem; }
.feature__note { color: var(--ink-dim); }

/* Утилиты */
.mono { font-family: var(--f-mono); }
.center { text-align: center; }
.mt-s { margin-top: 20px; } .mt-m { margin-top: 36px; }
.lead { font-size: 1.15rem; color: var(--ink-2); }

/* ---------- Телефоны: масштабирование и переполнение ---------- */
@media (max-width: 720px) {
  :root { --gutter: clamp(14px, 4.5vw, 28px); }

  body { font-size: 16px; }

  h1 { font-size: clamp(2rem, 9.5vw, 2.9rem); }
  h2 { font-size: clamp(1.55rem, 6.5vw, 2.2rem); }
  h3 { font-size: clamp(1.15rem, 4.5vw, 1.45rem); }

  .nav__inner {
    padding: 10px var(--gutter);
    gap: 10px;
  }
  .nav__partner { margin-left: 0; align-self: center; top: 3px; }
  .nav__partner img { height: 27px; }
  .nav__toggle { width: 40px; height: 38px; flex: none; }
  .brand { min-width: 0; }
  .brand__img { height: 30px; }
  .brand svg { width: 34px; height: 34px; }
  .logo-inline { height: 54px; top: 10px; }
  h1 .logo-inline { height: 94px; top: 22px; }
  h1 .logo-inline--stretch { height: 48px; top: 10px; transform: scaleX(1.35) scaleY(1.18); }
  .feature__q .logo-inline,
  .cta .logo-inline,
  .footer a.with-logo .logo-inline,
  .footer__bottom .logo-inline { height: 54px; top: 10px; }
  .logo-partner { height: 50px; top: 7px; }

  .hero { padding: 36px 0 48px; }
  .hero__tagline { font-size: 1rem; margin-bottom: 14px; }
  .hero h1 { margin-bottom: 14px; }
  .hero__lead { font-size: 1.02rem; max-width: none; margin-bottom: 22px; }
  .hero__art { max-width: min(340px, 88vw); margin-top: 0; }
  .hero__stats { margin-top: 28px; gap: 14px; }
  .stat { gap: 10px; }
  .stat b { font-size: clamp(2.2rem, 10vw, 2.8rem); }
  .stat span { font-size: 0.78rem; letter-spacing: 0.08em; line-height: 1.35; }

  .btn {
    font-size: 0.92rem;
    padding: 12px 18px;
    width: 100%;
    justify-content: center;
  }
  .hero__actions,
  .cta__actions { flex-direction: column; align-items: stretch; gap: 10px; }

  .section { padding: clamp(40px, 12vw, 72px) 0; }
  .section--tight { padding: clamp(32px, 8vw, 56px) 0; }
  .section-head { margin-bottom: 28px; }
  .section-head p { font-size: 1.02rem; }

  .card { padding: 22px; }
  .step { padding: 20px 18px; }

  .feature { padding: clamp(22px, 5vw, 36px); border-radius: 16px; }
  .feature--media { grid-template-columns: 1fr; gap: 22px; }
  .feature__title { font-size: 1.25rem; }
  .feature__q { font-size: clamp(1.35rem, 6.5vw, 1.9rem); max-width: none; }

  .tags { gap: 8px; }
  .tag { font-size: 0.68rem; padding: 6px 11px; }

  .cta { padding: clamp(32px, 8vw, 56px) 16px; border-radius: 18px; }
  .cta p { margin-bottom: 22px; }

  .footer { padding: 40px 0 28px; margin-top: 20px; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; margin-bottom: 28px; }
  .footer__brand { grid-column: auto; }
  .footer a.with-logo,
  .footer__bottom span.with-logo,
  .footer li:has(.logo-inline) {
    white-space: normal;
    flex-wrap: wrap;
  }
  .footer__bottom { gap: 12px; }

  .contact-row { align-items: flex-start; }
  .contact-row__info a {
    font-size: 1.05rem !important;
    word-break: break-word;
  }
  .coord { letter-spacing: 0.12em; font-size: 0.66rem; }
  .eyebrow { letter-spacing: 0.14em; font-size: 0.66rem; }

  table.adv { min-width: 520px; }
  table.adv th, table.adv td { padding: 14px 12px; }
}

@media (max-width: 420px) {
  body { font-size: 15px; }
  .nav__partner { display: inline-flex; align-self: center; top: 2px; }
  .nav__partner img { height: 24px; }
  .brand__coord { display: none; }
  .brand__img { height: 28px; }
  .brand svg { width: 30px; height: 30px; }
  h1 .logo-inline { height: 76px; top: 17px; }
  h1 .logo-inline--stretch { height: 40px; top: 8px; transform: scaleX(1.35) scaleY(1.18); }
  .logo-inline { height: 50px; top: 8px; }
  .feature__q .logo-inline,
  .cta .logo-inline,
  .footer a.with-logo .logo-inline,
  .footer__bottom .logo-inline { height: 50px; top: 8px; }
  .hero__art { max-width: min(280px, 92vw); }
  .stat span { font-size: 0.7rem; letter-spacing: 0.04em; }
}
