/* Karavan — сайт. Цвета, шрифты и радиусы те же, что в приложении (apps/mobile/src/theme).
   Всё со своего сервера: Google Fonts и западные CDN в Китае не открываются. */

@font-face {
  font-family: 'Onest';
  src: url('fonts/onest-400.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Onest';
  src: url('fonts/onest-500.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'Onest';
  src: url('fonts/onest-600.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'Onest';
  src: url('fonts/onest-700.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('fonts/plex-mono-500.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('fonts/plex-mono-600.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}

:root {
  color-scheme: light;

  --bg: #f3f1ec;
  --surface: #ffffff;
  --text: #15171c;
  --text-body: #2b2f37;
  --text-2: #5b606b;
  --divider: #e2ded5;
  --border: #d6d1c6;
  --avatar: #ece8df;
  --route: #c9c3b6;

  --accent: #f2b33d;
  --accent-deep: #d9951d;
  --on-accent: #15171c;

  --inverse: #15171c;
  --on-inverse: #ffffff;
  --on-inverse-2: #c9ccd3;
  --on-inverse-3: #8e939d;
  --inverse-line: #2a2d35;

  --live: #0e6b66;
  --live-bg: #e1efec;
  --live-ring: #c5e2dd;
  --live-title: #0b4a47;

  --r-card: 16px;
  --r-btn: 14px;
  --r-field: 12px;
  --r-sheet: 24px;
  --r-full: 999px;

  --sans: 'Onest', system-ui, -apple-system, 'Segoe UI', Roboto, 'PingFang SC',
    'Microsoft YaHei', 'Noto Sans SC', 'Noto Sans Arabic', 'Noto Naskh Arabic', Tahoma,
    sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;

  --gutter: 20px;
  --max: 1120px;
  --shadow: 0 1px 2px rgba(21, 23, 28, 0.06), 0 12px 32px -12px rgba(21, 23, 28, 0.18);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin: 0;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.mono {
  font-family: var(--mono);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* --- Языки: китайский и уйгурский (справа налево) --- */

/* Сжатие букв из латиницы рвёт связное арабское письмо и теснит иероглифы */
:lang(zh) *,
:lang(ug) * {
  letter-spacing: 0 !important;
}

:lang(ug) body {
  line-height: 1.7;
}

/* В моноширинном шрифте нет арабских букв: подписи растягиваются — для уйгурского обычный */
:lang(ug) .corridor,
:lang(ug) .kicker {
  font-family: var(--sans);
  font-size: 13px;
}

/* Иероглифы переносятся между любыми знаками: чипы в макете телефона — в одну строку */
.app-chips span {
  white-space: nowrap;
}

/* Стрелки маршрута смотрят по ходу чтения */
[dir='rtl'] .order__route svg {
  transform: scaleX(-1);
}

/* Подписи на схеме рейса стоят справа от линии: схема не зеркалится */
[dir='rtl'] .route-svg {
  direction: ltr;
}

.langbar {
  border-bottom: 1px solid var(--divider);
  font-size: 14px;
}

.langbar__row {
  display: flex;
  justify-content: flex-end;
  gap: 4px;
}

.langbar a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 10px;
  color: var(--text-2);
  text-decoration: none;
}

.langbar a:hover {
  color: var(--text);
}

.langbar a[aria-current='true'] {
  color: var(--text);
  font-weight: 600;
}

/* --- Шапка --- */

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(243, 241, 236, 0.86);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.header__row {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
}

.brand__mark {
  width: 30px;
  height: 30px;
}

.nav {
  display: none;
  gap: 28px;
  margin-inline-start: auto;
  font-size: 15px;
  font-weight: 500;
}

.nav a {
  text-decoration: none;
  color: var(--text-2);
  transition: color 0.15s;
}

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

.header .btn {
  margin-inline-start: auto;
}

@media (min-width: 860px) {
  .nav {
    display: flex;
  }
  .header .btn {
    margin-inline-start: 0;
  }
}

/* --- Кнопки --- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: var(--r-btn);
  border: 1px solid transparent;
  font: 600 16px/1 var(--sans);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 0.15s,
    border-color 0.15s,
    transform 0.15s;
}

.btn:active {
  transform: translateY(1px);
}

.btn svg {
  width: 20px;
  height: 20px;
  flex: none;
}

.btn--primary {
  background: var(--accent);
  color: var(--on-accent);
}

.btn--primary:hover {
  background: #f4bd55;
}

.btn--outline {
  border-color: var(--text);
  color: var(--text);
}

.btn--outline:hover {
  background: rgba(21, 23, 28, 0.05);
}

.btn--light {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--on-inverse);
}

.btn--light:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn--small {
  min-height: 40px;
  padding: 0 16px;
  font-size: 15px;
  border-radius: var(--r-field);
}

.btn--large {
  min-height: 56px;
  padding: 0 26px;
  font-size: 17px;
}

/* --- Первый экран --- */

.hero {
  padding: 40px 0 72px;
  overflow: hidden;
}

.hero__grid {
  display: grid;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 12px;
  border-radius: var(--r-full);
  background: var(--live-bg);
  color: var(--live-title);
  font-size: 14px;
  font-weight: 600;
}

.live-dot {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--live);
  box-shadow: 0 0 0 2px var(--live-ring);
  flex: none;
}

.live-dot::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 2px solid var(--live);
  animation: pulse 2.4s ease-out infinite;
}

@keyframes pulse {
  from {
    transform: scale(1);
    opacity: 0.6;
  }
  to {
    transform: scale(2.6);
    opacity: 0;
  }
}

.hero h1 {
  margin-top: 22px;
  font-size: clamp(38px, 8.4vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 700;
  max-width: 12ch;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(transparent 62%, rgba(242, 179, 61, 0.55) 62%);
}

.lead {
  margin-top: 22px;
  max-width: 34rem;
  font-size: clamp(17px, 2.2vw, 19px);
  line-height: 1.6;
  color: var(--text-body);
}

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

/* На телефоне кнопки во всю ширину: попасть пальцем проще */
@media (max-width: 520px) {
  .actions .btn {
    width: 100%;
  }
}

.hero__note {
  margin-top: 16px;
  font-size: 14px;
  color: var(--text-2);
}

.corridor {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-2);
}

.corridor__line {
  flex: 1;
  max-width: 64px;
  height: 0;
  border-top: 1.5px dashed var(--route);
}

.corridor__border {
  color: var(--text);
}

@media (min-width: 960px) {
  .hero {
    padding: 64px 0 96px;
  }
  .hero__grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 40px;
  }
}

/* --- Телефон и карточка рейса в первом экране --- */

.showcase {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 8px 0 24px;
}

.showcase::before {
  content: '';
  position: absolute;
  inset: 8% -10% 0 -10%;
  background: radial-gradient(
    closest-side,
    rgba(242, 179, 61, 0.32),
    rgba(242, 179, 61, 0.1) 60%,
    transparent
  );
  z-index: 0;
}

.phone {
  position: relative;
  z-index: 1;
  width: 290px;
  padding: 10px;
  border-radius: 44px;
  background: var(--inverse);
  box-shadow:
    0 30px 60px -20px rgba(21, 23, 28, 0.45),
    inset 0 0 0 1.5px #2f323a;
}

.phone__screen {
  position: relative;
  overflow: hidden;
  border-radius: 35px;
  background: var(--bg);
  height: 560px;
  padding: 16px 14px 0;
}

.phone__notch {
  position: absolute;
  top: 10px;
  left: 50%;
  width: 86px;
  height: 24px;
  margin-left: -43px;
  border-radius: 14px;
  background: var(--inverse);
}

.app-status {
  display: flex;
  justify-content: space-between;
  padding: 0 8px;
  font-size: 12px;
  font-weight: 600;
  height: 22px;
}

.app-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 14px;
}

.app-brand {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.app-caption {
  font-size: 10px;
  color: var(--text-2);
}

.app-title {
  margin-top: 6px;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.app-tabs {
  display: flex;
  margin-top: 10px;
  padding: 3px;
  border-radius: 11px;
  background: var(--avatar);
  font-size: 11px;
  font-weight: 600;
}

.app-tabs span {
  flex: 1;
  text-align: center;
  padding: 7px 0;
  border-radius: 9px;
  color: var(--text-2);
}

.app-tabs .is-on {
  background: var(--surface);
  color: var(--text);
}

.app-chips {
  display: flex;
  gap: 6px;
  margin: 10px 0 12px;
  font-size: 10.5px;
  font-weight: 500;
}

.app-chips span {
  padding: 6px 11px;
  border-radius: var(--r-full);
  background: var(--surface);
  border: 1px solid var(--border);
}

.app-chips .is-on {
  background: var(--inverse);
  border-color: var(--inverse);
  color: var(--on-inverse);
}

/* Карточка заказа — как FeedCard в приложении */
.order {
  display: grid;
  gap: 9px;
  padding: 12px;
  margin-bottom: 9px;
  border-radius: 14px;
  border: 1px solid var(--divider);
  background: var(--surface);
}

.order__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.order__need {
  font-size: 10px;
  color: var(--text-2);
}

.order__truck {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.order__price {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 17px;
}

.order__route {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 600;
}

.order__route svg {
  width: 13px;
  height: 13px;
  color: var(--text-2);
  flex: none;
}

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

.order__stats div {
  padding: 5px 7px;
  border-radius: 8px;
  background: var(--bg);
}

.order__stats small {
  display: block;
  font-size: 8.5px;
  color: var(--text-2);
}

.order__stats b {
  font-size: 11px;
  font-weight: 700;
}

.order__foot {
  display: flex;
  justify-content: space-between;
  padding-top: 8px;
  border-top: 1px dashed var(--divider);
  font-size: 10px;
  color: var(--text-2);
}

.order__foot b {
  color: var(--text);
  font-weight: 600;
}

/* Карточка «Где водитель» поверх телефона */
.trip-card {
  position: absolute;
  z-index: 2;
  inset-inline-end: 50%;
  bottom: 0;
  margin-inline-end: -190px;
  width: 230px;
  padding: 14px;
  border-radius: var(--r-card);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.trip-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.trip-card__title {
  font-size: 14px;
  font-weight: 700;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 24px;
  padding: 0 10px;
  border-radius: var(--r-full);
  background: var(--live-bg);
  color: var(--live-title);
  font-size: 11px;
  font-weight: 600;
}

.badge .live-dot {
  width: 7px;
  height: 7px;
  box-shadow: none;
}

.badge .live-dot::after {
  display: none;
}

.trip-card__route {
  margin-top: 10px;
}

.trip-card__updated {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 10px;
  font-size: 11px;
  color: var(--text-2);
}

@media (max-width: 520px) {
  .trip-card {
    margin-inline-end: -150px;
    width: 200px;
  }
}

/* Маршрут: кольцо — погрузка, жёлтый квадрат — граница, точка — выгрузка, как в приложении */
.route-svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.route-svg text {
  font-family: var(--sans);
}

.route-svg .label {
  font-size: 9.5px;
  fill: var(--text-2);
}

.route-svg .place {
  font-size: 12.5px;
  font-weight: 700;
  fill: var(--text);
}

.route-svg .static-truck {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .live-dot::after {
    animation: none;
  }
  .route-svg .moving-truck {
    display: none;
  }
  .route-svg .static-truck {
    display: inline;
  }
}

/* --- Разделы --- */

.section {
  padding: 88px 0;
}

.section--tight {
  padding-top: 0;
}

.section__head {
  max-width: 40rem;
  margin-bottom: 40px;
}

.kicker {
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-2);
}

.section h2 {
  margin-top: 12px;
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.section__lead {
  margin-top: 16px;
  font-size: 18px;
  color: var(--text-body);
}

/* Как это работает: две роли */
.roles {
  display: grid;
  gap: 16px;
}

@media (min-width: 860px) {
  .roles {
    grid-template-columns: 1fr 1fr;
  }
}

.role {
  padding: 28px 24px 12px;
  border-radius: 24px;
  border: 1px solid var(--divider);
  background: var(--surface);
}

.role__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
}

.role__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--inverse);
  color: var(--accent);
  flex: none;
}

.role__icon svg {
  width: 24px;
  height: 24px;
}

.role h3 {
  font-size: 24px;
  letter-spacing: -0.02em;
}

.role__who {
  font-size: 14px;
  color: var(--text-2);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
}

.steps li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 4px 12px;
  padding: 20px 0;
  border-top: 1px solid var(--divider);
}

.steps li:first-child {
  border-top: 0;
}

.steps__n {
  grid-row: span 2;
  font-family: var(--mono);
  font-weight: 600;
  font-size: 15px;
  color: var(--accent-deep);
  padding-top: 2px;
}

.steps h4 {
  margin: 0;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.steps p {
  font-size: 15.5px;
  color: var(--text-body);
}

/* Типы транспорта и мелочи, которые решают */
.types {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.types span {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 20px;
  border-radius: var(--r-full);
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 16px;
  font-weight: 600;
}

.types span:first-child {
  background: var(--inverse);
  border-color: var(--inverse);
  color: var(--on-inverse);
}

.features {
  display: grid;
  gap: 16px;
  margin-top: 40px;
}

@media (min-width: 760px) {
  .features {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature {
  display: grid;
  grid-template-columns: 44px 1fr;
  column-gap: 16px;
  padding: 20px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--divider);
}

/* На телефоне иконка слева от текста — карточки ниже; на широком экране — сверху */
.feature__icon {
  grid-row: span 2;
}

@media (min-width: 760px) {
  .feature {
    display: block;
    padding: 24px;
  }
}

.feature__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg);
}

@media (min-width: 760px) {
  .feature__icon {
    margin-bottom: 18px;
  }
}

.feature__icon svg {
  width: 22px;
  height: 22px;
}

.feature h3 {
  font-size: 18px;
  letter-spacing: -0.01em;
}

.feature p {
  margin-top: 6px;
  font-size: 15.5px;
  color: var(--text-body);
}

/* Китай: тёмный блок */
.dark {
  background: var(--inverse);
  color: var(--on-inverse);
}

.dark .kicker {
  color: var(--accent);
}

.dark .section__lead {
  color: var(--on-inverse-2);
}

.china {
  display: grid;
  gap: 1px;
  border-radius: 24px;
  overflow: hidden;
  background: var(--inverse-line);
  border: 1px solid var(--inverse-line);
}

@media (min-width: 760px) {
  .china {
    grid-template-columns: 1fr 1fr;
  }
}

.china__item {
  padding: 28px 24px;
  background: var(--inverse);
}

.china__item svg {
  width: 28px;
  height: 28px;
  color: var(--accent);
  margin-bottom: 18px;
}

.china__item h3 {
  font-size: 19px;
  letter-spacing: -0.01em;
}

.china__item p {
  margin-top: 8px;
  font-size: 15.5px;
  color: var(--on-inverse-2);
}

/* Установка APK */
.install {
  display: grid;
  gap: 16px;
  counter-reset: step;
}

@media (min-width: 860px) {
  .install {
    grid-template-columns: repeat(3, 1fr);
  }
}

.install__step {
  position: relative;
  padding: 24px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--divider);
}

.install__step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--accent);
  font-family: var(--mono);
  font-weight: 600;
}

.install__step h3 {
  font-size: 18px;
}

.install__step p {
  margin-top: 6px;
  font-size: 15.5px;
  color: var(--text-body);
}

.tips {
  margin-top: 16px;
  border-radius: 20px;
  border: 1px solid var(--divider);
  background: var(--surface);
}

.tips details {
  border-top: 1px solid var(--divider);
}

.tips details:first-child {
  border-top: 0;
}

.tips summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
  padding: 0 24px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

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

.tips summary::after {
  content: '';
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--text-2);
  border-bottom: 2px solid var(--text-2);
  transform: rotate(45deg) translateY(-3px);
  transition: transform 0.2s;
  flex: none;
}

.tips details[open] summary::after {
  transform: rotate(225deg) translateY(-3px);
}

.tips details p {
  padding: 0 24px 20px;
  color: var(--text-body);
  font-size: 15.5px;
}

.callout {
  display: flex;
  gap: 14px;
  margin-top: 16px;
  padding: 20px 24px;
  border-radius: 20px;
  background: var(--live-bg);
  color: var(--live-title);
}

.callout svg {
  width: 24px;
  height: 24px;
  flex: none;
  margin-top: 1px;
}

.callout p {
  font-size: 15.5px;
}

/* Финальный призыв */
.cta {
  position: relative;
  overflow: hidden;
  padding: 48px 28px;
  border-radius: 28px;
  background: var(--accent);
  color: var(--on-accent);
}

.cta h2 {
  margin: 0;
  max-width: 16ch;
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.cta p {
  margin-top: 14px;
  max-width: 32rem;
  font-size: 18px;
}

.cta .btn--primary {
  background: var(--inverse);
  color: var(--on-inverse);
}

.cta .btn--primary:hover {
  background: #2a2d35;
}

.cta__route {
  position: absolute;
  right: -40px;
  bottom: -30px;
  width: 360px;
  opacity: 0.22;
  pointer-events: none;
}

@media (min-width: 860px) {
  .cta {
    padding: 64px 56px;
  }
}

/* --- Подвал --- */

.footer {
  padding: 48px 0 40px;
  color: var(--text-2);
  font-size: 14px;
}

.footer__row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid var(--divider);
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.footer a {
  text-decoration: none;
}

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

/* --- Текстовые страницы: политика, удаление аккаунта --- */

.doc {
  max-width: 46rem;
  padding: 48px 0 24px;
}

.doc h1 {
  font-size: clamp(32px, 6vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.doc__meta {
  margin-top: 12px;
  font-size: 14px;
  color: var(--text-2);
}

.doc h2 {
  margin-top: 40px;
  font-size: 22px;
  letter-spacing: -0.01em;
}

.doc p,
.doc li {
  color: var(--text-body);
  font-size: 16.5px;
}

.doc p {
  margin-top: 12px;
}

.doc ul,
.doc ol {
  margin: 12px 0 0;
  padding-inline-start: 22px;
}

.doc li + li {
  margin-top: 6px;
}

.doc .card {
  margin-top: 24px;
  padding: 24px;
  border-radius: 20px;
  border: 1px solid var(--divider);
  background: var(--surface);
}

.doc .card h2 {
  margin-top: 0;
}
