/* W2B — основные стили.
   Токены: тёмный #0B0B0C, светлый #F2F2EF, акцент #15DCC0 (на светлом фоне для текста — #00806F).
   Шрифты: Unbounded (заголовки, класс-переменная --display), Onest (текст). */

:root {
  --ink: #0B0B0C;
  --ink-2: #121214;
  --line: #1E1E20;
  --line-2: #2E2E31;
  --grey-1: #55555A;
  --grey-2: #6E6E6B;
  --grey-3: #8A8A87;
  --grey-4: #A8A8A4;
  --grey-5: #D6D6D1;
  --paper: #F2F2EF;
  --turq: #15DCC0;
  --turq-dark: #00806F;
  --display: 'Unbounded', system-ui, sans-serif;
  --text: 'Onest', system-ui, sans-serif;
  --pad: 64px;
  --top-h: 88px;
  --bottom-h: 76px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--text);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--turq); text-decoration: none; }
a:hover { color: var(--paper); }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--turq); outline-offset: 2px; }
textarea:focus, input:focus { outline: none; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
[hidden] { display: none !important; }
.mark { display: block; }

/* ---------- Каркас главной: один экран ---------- */
.page-home {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: var(--top-h) 1fr var(--bottom-h);
}

.top {
  position: relative;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad);
  border-bottom: 1px solid var(--line);
  background: var(--ink);
}
.logo { display: inline-flex; }
.top__right { display: flex; align-items: center; gap: 28px; }
.langs { display: flex; gap: 14px; font-size: 12px; font-weight: 500; letter-spacing: 0.1em; }
.langs a { color: var(--grey-3); }
.langs a:hover { color: var(--turq); }
.langs span { color: var(--paper); }

.menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  height: 48px;
  padding: 0 8px 0 20px;
  border: 1px solid var(--line-2);
  border-radius: 24px;
  background: transparent;
  font-size: 14px;
  font-weight: 500;
}
.menu-btn:hover { color: var(--turq); }
.burger {
  width: 34px; height: 34px; border-radius: 17px;
  background: var(--line);
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.burger i { display: block; width: 14px; height: 1.5px; background: var(--paper); transition: transform 0.3s var(--ease); }
.burger i + i { background: var(--turq); }
.burger--x { background: var(--turq); gap: 0; }
.burger--x i { background: var(--ink) !important; }
.burger--x i:first-child { transform: translateY(0.75px) rotate(45deg); }
.burger--x i + i { transform: translateY(-0.75px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: 64px var(--pad) 24px; min-width: 0; }
.eyebrow {
  margin: 0;
  display: flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--grey-3);
}
.dot { width: 8px; height: 8px; background: var(--turq); flex-shrink: 0; }
.h1 {
  margin: 26px 0 0;
  max-width: 1312px;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(30px, 6.4vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  overflow-wrap: break-word;
  hyphens: manual;
}
.accent { color: var(--turq); }
.sub {
  margin: 26px 0 0;
  max-width: 700px;
  font-size: 18px; line-height: 1.65; font-weight: 300;
  color: var(--grey-4);
}
.talk { width: min(1000px, 100%); margin-top: 40px; }

/* Окно сообщения (пустое) */
.composer {
  position: relative;
  background: var(--ink-2);
  border: 1px solid var(--line-2);
  border-radius: 16px;
  box-shadow: 0 0 0 5px rgba(21, 220, 192, 0.07);
  padding: 24px 22px 16px 28px;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.composer:focus-within { border-color: var(--turq); box-shadow: 0 0 0 5px rgba(21, 220, 192, 0.12); }
.composer textarea {
  display: block; width: 100%;
  border: none; background: transparent; resize: none;
  color: var(--paper);
  font-size: 22px; line-height: 1.45; padding: 0;
  max-height: 40vh;
}
textarea::placeholder, input::placeholder { color: var(--grey-3); opacity: 1; }
.composer__example { min-height: 22px; margin: 6px 0 16px; font-size: 15px; color: var(--grey-2); }
.composer.has-text .composer__example { visibility: hidden; }
.caret { color: var(--turq); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.composer__bar { display: flex; align-items: center; justify-content: space-between; }
.composer__right { display: flex; align-items: center; gap: 18px; }
.hint { font-size: 13px; color: var(--grey-2); }

.icon-btn {
  width: 46px; height: 46px; flex-shrink: 0;
  border-radius: 12px; border: 1px solid var(--line-2);
  background: transparent; color: var(--grey-4);
  display: inline-flex; align-items: center; justify-content: center;
}
.icon-btn:hover { color: var(--turq); border-color: var(--grey-1); }
.icon-btn--sm { width: 44px; height: 44px; }
.send {
  width: 52px; height: 52px; flex-shrink: 0;
  border-radius: 14px; border: none;
  background: var(--turq); color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background 0.25s, color 0.25s;
}
.send:disabled { background: var(--line); color: var(--grey-1); cursor: default; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.chip {
  min-height: 42px; padding: 0 18px;
  border-radius: 21px; border: 1px solid var(--line-2);
  background: transparent; color: var(--grey-4); font-size: 14px;
}
.chip:hover { color: var(--turq); border-color: rgba(21, 220, 192, 0.5); }
.note { margin: 16px 0 0; font-size: 13px; line-height: 1.6; color: var(--grey-2); }
.note a { color: var(--grey-3); text-decoration: underline; }
.note a:hover { color: var(--turq); }

/* Режим чата: заголовок уменьшается, чат занимает место */
.is-chat .hero { padding-top: 36px; }
.is-chat .h1 { margin-top: 14px; font-size: clamp(22px, 2.4vw, 34px); line-height: 1.1; letter-spacing: -0.02em; }
.is-chat .sub, .is-chat .composer, .is-chat .chips, .is-chat .note { display: none; }

.chat {
  height: clamp(360px, calc(100svh - var(--top-h) - var(--bottom-h) - 170px), 600px);
  background: var(--ink-2);
  border: 1px solid var(--line-2);
  border-radius: 16px;
  display: flex; flex-direction: column;
  overflow: hidden;
}
.chat__head {
  flex-shrink: 0;
  display: flex; align-items: center; gap: 14px;
  padding: 12px 12px 12px 20px;
  border-bottom: 1px solid var(--line);
}
.chat__sub { flex-grow: 1; margin: 0; font-size: 12px; color: var(--grey-3); }
.pill {
  max-width: 280px; min-height: 36px; padding: 0 14px;
  border-radius: 18px; border: 1px solid rgba(21, 220, 192, 0.5);
  background: transparent; color: var(--turq); font-size: 13px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.pill.is-saved { border-color: var(--line-2); color: var(--grey-4); }
.i-collapse { display: none; }
.chat-expanded .i-expand { display: none; }
.chat-expanded .i-collapse { display: block; }

.chat__scroll {
  flex-grow: 1; min-height: 0;
  overflow-y: auto;
  display: flex; flex-direction: column-reverse;
  padding: 22px 22px 14px;
}
.chat__list { display: flex; flex-direction: column; gap: 16px; }
.msg-user {
  align-self: flex-end; max-width: 72%;
  background: var(--line);
  border-radius: 14px 14px 4px 14px;
  padding: 12px 16px;
  font-size: 16px; line-height: 1.55;
  white-space: pre-wrap; overflow-wrap: anywhere;
}
.msg-bot { max-width: 84%; border-left: 2px solid var(--turq); padding-left: 14px; }
.msg-bot__label { font-size: 12px; letter-spacing: 0.04em; color: var(--grey-3); margin-bottom: 5px; }
.msg-bot__text { font-size: 16px; line-height: 1.65; color: var(--grey-5); }
.msg-bot--error { border-left-color: #E5866B; }

.contact {
  flex-shrink: 0;
  margin: 0 16px 12px;
  padding: 16px 18px;
  border: 1px solid rgba(21, 220, 192, 0.35);
  background: rgba(21, 220, 192, 0.05);
  border-radius: 14px;
}
.contact__top { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.contact__top p { margin: 0; }
.contact__top strong { font-family: var(--display); font-size: 15px; font-weight: 700; }
.contact__top span { font-size: 13px; color: var(--grey-3); margin-left: 8px; }
.link-btn { flex-shrink: 0; min-height: 32px; padding: 0 8px; border: none; background: transparent; color: var(--grey-4); font-size: 13px; text-decoration: underline; }
.contact__row { display: flex; gap: 8px; align-items: center; }
.channels { display: flex; gap: 6px; }
.channel {
  min-height: 36px; padding: 0 13px;
  border-radius: 18px; border: 1px solid var(--line-2);
  background: transparent; color: var(--grey-4); font-size: 13px;
}
.channel[aria-pressed="true"] { border-color: var(--turq); background: rgba(21, 220, 192, 0.1); color: var(--turq); }
.contact input {
  flex-grow: 1; min-width: 0; height: 44px; padding: 0 14px;
  border-radius: 11px; border: 1px solid var(--line-2);
  background: var(--ink); color: var(--paper); font-size: 15px;
}
.contact input:focus { border-color: var(--turq); }
.save {
  height: 44px; padding: 0 18px;
  border-radius: 11px; border: none;
  background: var(--turq); color: var(--ink); font-size: 14px; font-weight: 600;
}
.save:disabled { background: var(--line); color: var(--grey-3); cursor: default; }

.chat__input {
  flex-shrink: 0;
  display: flex; align-items: flex-end; gap: 10px;
  padding: 12px 14px 14px 16px;
  border-top: 1px solid var(--line);
}
.chat__input textarea {
  flex-grow: 1; min-height: 44px; max-height: 160px;
  border: none; background: transparent; resize: none;
  color: var(--paper); font-size: 17px; line-height: 1.45; padding: 10px 4px;
}
.chat__input .send { width: 48px; height: 48px; border-radius: 13px; }

/* Чат на весь экран */
.backdrop { position: fixed; inset: 0; z-index: 40; background: rgba(11, 11, 12, 0.94); }
.chat-expanded .chat {
  position: fixed; z-index: 45;
  top: 32px; bottom: 32px;
  left: max(16px, calc(50% - 600px)); right: max(16px, calc(50% - 600px));
  height: auto;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

/* ---------- Нижняя строка ---------- */
.bottom {
  position: relative; z-index: 20;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 var(--pad);
}
.bottom__copy { font-size: 12px; color: var(--grey-1); }
.bottom__links { justify-self: end; display: flex; gap: 22px; font-size: 12px; }
.bottom__links a { color: var(--grey-1); }
.bottom__links a:hover { color: var(--grey-4); }
.works-btn, .works-close {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 44px; padding: 0 10px 0 20px;
  border-radius: 22px; border: 1px solid var(--line-2);
  background: transparent; color: var(--grey-4); font-size: 14px;
}
.works-btn:hover { color: var(--paper); border-color: var(--grey-1); }
.round { width: 28px; height: 28px; border-radius: 14px; background: var(--line); display: inline-flex; align-items: center; justify-content: center; }

/* ---------- Шторка с портфолио ---------- */
.works {
  position: fixed; z-index: 25;
  left: 0; right: 0; top: var(--top-h); bottom: 0;
  display: flex; flex-direction: column;
  background: var(--paper); color: var(--ink);
  transform: translateY(100%);
  visibility: hidden;
  transition: transform 0.55s var(--ease), visibility 0s linear 0.55s;
}
.works.is-open { transform: translateY(0); visibility: visible; transition: transform 0.55s var(--ease), visibility 0s; }
.works__head {
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px var(--pad) 18px;
  border-bottom: 1px solid var(--grey-5);
}
.works__titles { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 20px; }
.works__title { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(20px, 2.4vw, 34px); letter-spacing: -0.03em; text-transform: uppercase; }
.works__sub { font-size: 14px; color: var(--grey-1); }
.works-close { color: var(--ink); border-color: #C9C9C4; }
.works-close .round { background: var(--ink); }
.works-close:hover { border-color: var(--ink); }
.works__scroll { flex-grow: 1; min-height: 0; overflow-y: auto; padding: 40px var(--pad) 48px; }

.cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.case__shot { display: block; position: relative; aspect-ratio: 16 / 10; background: var(--ink); color: var(--paper); overflow: hidden; }
.case__shot::after { content: ''; position: absolute; right: 0; bottom: 0; width: 96px; height: 4px; background: var(--turq); }
.case__ph { position: absolute; left: 22px; top: 18px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey-1); }
.case__domain { position: absolute; left: 22px; bottom: 20px; font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: -0.02em; }
.case__shot:hover .case__domain { color: var(--turq); }
.case__tags { margin: 18px 0 0; font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--turq-dark); }
.case__title { margin: 8px 0 14px; font-size: 18px; font-weight: 600; line-height: 1.35; }
.case__dl { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.case__dl dt { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey-3); margin-bottom: 4px; }
.case__dl dd { margin: 0; font-size: 14px; line-height: 1.55; }
.case__result { border-top: 1px solid var(--grey-5); padding-top: 12px; }
.case__result dt { color: var(--turq-dark); }
.case__result dd { color: var(--grey-1); }

.others { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; border-top: 1px solid var(--grey-5); }
.others a { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--grey-5); color: var(--ink); }
.others a:hover { color: var(--turq-dark); }
.others__domain { font-family: var(--display); font-weight: 600; font-size: 17px; letter-spacing: -0.015em; }
.others__kind { font-size: 13px; color: var(--grey-3); text-align: right; }

.works__foot { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--grey-5); display: flex; justify-content: space-between; gap: 40px; font-size: 13px; color: var(--grey-1); }
.works__cats { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; max-width: 860px; }
.works__foot p { margin: 0; text-align: right; line-height: 1.7; }
.works__foot a { color: var(--grey-1); }

/* ---------- Меню ---------- */
.menu { position: fixed; inset: 0; z-index: 60; background: var(--ink); display: flex; flex-direction: column; overflow-y: auto; }
.menu__head { flex-shrink: 0; height: var(--top-h); display: flex; align-items: center; justify-content: space-between; padding: 0 var(--pad); border-bottom: 1px solid var(--line); }
.menu__body { flex-grow: 1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; padding: 48px var(--pad) 48px; }
.menu__nav { grid-column: span 5; display: flex; flex-direction: column; border-top: 1px solid var(--line); align-self: start; }
.menu__item {
  display: flex; align-items: center; gap: 16px;
  min-height: 104px; padding: 0;
  border: none; border-bottom: 1px solid var(--line);
  background: transparent; color: var(--grey-1); text-align: left;
  font-family: var(--display); font-weight: 700; font-size: clamp(26px, 3.3vw, 48px); letter-spacing: -0.03em;
  transition: color 0.3s;
}
.menu__item:hover, .menu__item.is-active { color: var(--turq); }
.menu__n { font-family: var(--text); font-size: 12px; font-weight: 500; letter-spacing: 0.12em; width: 34px; flex-shrink: 0; color: var(--grey-1); }
.menu__panel { grid-column: 7 / span 6; border-top: 1px solid var(--line); padding-top: 28px; }
.menu__hint { margin: 0 0 24px; font-size: 13px; color: var(--grey-3); }
.menu__cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.menu__cat-name { margin: 0 0 10px; font-size: 14px; font-weight: 600; }
.menu__svc { display: block; width: 100%; padding: 3px 0; border: none; background: transparent; color: var(--grey-4); font-size: 13px; line-height: 1.35; text-align: left; }
.menu__svc:hover { color: var(--turq); }
.menu__contacts { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; }
.menu__contacts dt { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey-1); margin-bottom: 10px; }
.menu__contacts dd { margin: 0; font-family: var(--display); font-weight: 600; font-size: 20px; }
.menu__contacts dd a { color: var(--paper); }
.menu__contacts dd a:hover { color: var(--turq); }
.menu__contacts .menu__small { font-family: var(--text); font-weight: 400; font-size: 14px; line-height: 1.7; color: var(--grey-4); }

body.is-locked { overflow: hidden; }

/* ---------- Внутренние страницы (политика) ---------- */
.page-doc { min-height: 100vh; display: flex; flex-direction: column; }
.doc { flex-grow: 1; width: min(820px, 100%); padding: 64px var(--pad) 96px; }
.doc h1 { margin: 0 0 12px; font-family: var(--display); font-weight: 700; font-size: clamp(26px, 4vw, 48px); line-height: 1.05; letter-spacing: -0.03em; text-transform: uppercase; }
.doc .doc__date { margin: 0 0 40px; font-size: 13px; color: var(--grey-3); }
.doc h2 { margin: 40px 0 12px; font-family: var(--display); font-weight: 600; font-size: 20px; letter-spacing: -0.01em; }
.doc p, .doc li { font-size: 16px; line-height: 1.7; color: var(--grey-5); }
.doc ul { padding-left: 20px; }
.doc a { text-decoration: underline; }
.doc--404 { display: flex; flex-direction: column; justify-content: center; }
.doc__code { margin: 0 0 8px; font-family: var(--display); font-weight: 700; font-size: clamp(72px, 14vw, 180px); line-height: 1; letter-spacing: -0.04em; color: var(--turq); }
.btn { display: inline-flex; align-items: center; height: 48px; padding: 0 24px; background: var(--turq); color: var(--ink); font-weight: 600; text-decoration: none !important; }
.btn:hover { color: var(--ink); background: var(--paper); }
.doc-foot { padding: 24px var(--pad); border-top: 1px solid var(--line); font-size: 12px; color: var(--grey-1); }

/* ---------- Адаптив ---------- */
@media (max-width: 1100px) {
  :root { --pad: 40px; }
  .cases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .others { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .menu__nav { grid-column: span 12; margin-bottom: 32px; }
  .menu__panel { grid-column: span 12; }
}

@media (max-width: 760px) {
  :root { --pad: 20px; --top-h: 64px; --bottom-h: 84px; }
  .langs { display: none; }
  .menu .langs { display: flex; }
  .menu-btn__label { display: none; }
  .menu-btn { padding: 0; width: 48px; justify-content: center; border: none; }
  .top__right { gap: 8px; }
  .hero { padding-top: 32px; }
  .eyebrow { font-size: 10px; letter-spacing: 0.14em; gap: 10px; }
  .dot { width: 6px; height: 6px; }
  .h1 { margin-top: 16px; font-size: clamp(26px, 7.8vw, 34px); line-height: 1.05; }
  .sub { margin-top: 16px; font-size: 15px; line-height: 1.6; }
  .talk { margin-top: 24px; }
  .composer { padding: 18px 12px 12px 18px; border-radius: 16px; }
  .composer textarea { font-size: 18px; }
  .composer__example { font-size: 13px; margin-bottom: 12px; }
  .hint { display: none; }
  .send { width: 48px; height: 48px; }
  /* подсказки — одной строкой с прокруткой, чтобы главная помещалась в экран */
  .chips {
    gap: 8px; margin: 12px calc(var(--pad) * -1) 0; padding: 0 var(--pad);
    flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex-shrink: 0; white-space: nowrap; min-height: 44px; padding: 0 16px; font-size: 13px; }
  .bottom { grid-template-columns: 1fr; justify-items: center; }
  .bottom__copy, .bottom__links { display: none; }
  .works-btn { min-height: 48px; }

  .is-chat .hero { padding-top: 20px; }
  .is-chat .h1 { font-size: 20px; }
  .chat { height: calc(100svh - var(--top-h) - var(--bottom-h) - 110px); min-height: 340px; }
  .chat__sub { display: none; }
  .chat__head { justify-content: space-between; }
  .pill { max-width: 180px; }
  .contact__top { flex-direction: column; gap: 4px; }
  .contact__top span { display: block; margin: 4px 0 0; }
  .contact__row { flex-wrap: wrap; }
  .channels { width: 100%; }
  .msg-user { max-width: 86%; }
  .msg-bot { max-width: 100%; }
  .chat-expanded .chat { top: 0; bottom: 0; left: 0; right: 0; border-radius: 0; }

  .works__head { padding: 14px 12px 12px 20px; }
  .works__sub { display: none; }
  .works-close { padding: 0 6px 0 14px; }
  .cases { grid-template-columns: 1fr; gap: 28px; }
  .others { grid-template-columns: 1fr; }
  .works__foot { flex-direction: column; gap: 16px; }
  .works__foot p { text-align: left; }

  .menu__body { padding-top: 16px; }
  .menu__item { min-height: 64px; font-size: 26px; }
  .menu__cats { grid-template-columns: 1fr; gap: 20px; }
  .menu__svc { padding: 8px 0; font-size: 15px; }
  .menu__contacts { grid-template-columns: 1fr; }
  /* «Конфиденциальности» капсом Unbounded шире экрана 390 — переносим по слогам (lang страницы) */
  .doc h1 { overflow-wrap: break-word; hyphens: auto; }
}

/* Ноутбуки (высота до ~950px): всё на одном экране, включая нижнюю строку */
@media (max-height: 960px) and (min-width: 761px) {
  .hero { padding-top: 44px; }
  .h1 { margin-top: 20px; font-size: clamp(30px, min(6.4vw, 9.2vh), 92px); }
  .sub { margin-top: 20px; max-width: 760px; font-size: 17px; line-height: 1.6; }
  .talk { margin-top: 28px; }
  .composer { padding-top: 20px; }
  .composer__example { margin: 4px 0 10px; }
  .chips { margin-top: 14px; }
  .note { margin-top: 12px; }
}

@media (max-height: 820px) and (min-width: 761px) {
  .hero { padding-top: 32px; padding-bottom: 16px; }
  .h1 { margin-top: 16px; font-size: clamp(30px, min(5.4vw, 8.2vh), 72px); }
  .sub { margin-top: 16px; max-width: 920px; font-size: 16px; line-height: 1.55; }
  .talk { margin-top: 22px; }
  .composer { padding: 16px 18px 12px 24px; }
  .composer textarea { font-size: 19px; }
  .composer__example { margin: 2px 0 8px; font-size: 14px; }
  .chips { margin-top: 12px; }
  .note { margin-top: 10px; }
}

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