/* ============================================
   YoTaxi — Hero business card
   Architecture: dashboard composition
   Palette: black / taxi yellow / warm accent
   ============================================ */

:root {
  --bg: #0b0b0b;
  --bg-elevated: #141414;
  --bg-panel: #161616;
  --bg-panel-2: #1c1c1c;
  --yellow: #ffcc00;
  --yellow-soft: #ffe566;
  --yellow-deep: #e6a800;
  --accent: #ff5a3c;
  --text: #f4f4f0;
  --muted: #9a968c;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 204, 0, 0.35);
  --radius-panel: 28px;
  --radius-pill: 999px;
  --font-display: "Syne", sans-serif;
  --font-body: "Manrope", sans-serif;
  --shadow-panel: 0 20px 50px rgba(0, 0, 0, 0.45);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  min-height: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Hero viewport shell */
.hero-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
}

/* Split background — yellow only in hero, ends in a soft curve */
.bg-split {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: var(--bg);
}

.bg-split__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.bg-split__curve {
  transform-origin: 100% 0%;
}

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

button,
a {
  font: inherit;
  color: inherit;
  text-decoration: none;
  border: none;
  background: none;
  cursor: pointer;
}

/* Atmosphere */
.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  opacity: 0.04;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Stage */
.stage {
  position: relative;
  z-index: 1;
  height: 100vh;
  height: 100dvh;
  max-width: 1600px;
  margin: 0 auto;
  padding: 18px 28px 22px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 8px;
}

/* Header */
.header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  min-height: 56px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: start;
}

.logo__img {
  display: block;
  width: 130px;
  height: auto;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
}

.nav__link {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}

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

.nav__link.is-active {
  background: var(--yellow);
  color: #0d0d0d;
}

.header__actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang {
  display: flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(13, 13, 13, 0.2);
  border-radius: var(--radius-pill);
  background: rgba(13, 13, 13, 0.08);
}

.lang__btn {
  min-width: 38px;
  padding: 7px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(13, 13, 13, 0.55);
  transition: 0.25s var(--ease);
}

.lang__btn.is-active,
.lang__btn:hover {
  color: var(--yellow);
  background: #0d0d0d;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}

.btn--primary {
  background: #0d0d0d;
  color: var(--yellow);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.btn--primary:hover {
  background: #1a1a1a;
  color: var(--yellow-soft);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.btn--yellow {
  background: var(--yellow);
  color: #0d0d0d;
  box-shadow: 0 8px 24px rgba(255, 204, 0, 0.22);
}

.btn--yellow:hover {
  background: var(--yellow-soft);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(255, 204, 0, 0.32);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}

.btn--ghost:hover {
  border-color: var(--line-strong);
  color: var(--yellow);
  transform: translateY(-1px);
}

/* Hero */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr 56px;
  align-items: center;
  min-height: 0;
}

.rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  z-index: 3;
}

.rail__btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--muted);
  display: grid;
  place-items: center;
  background: rgba(20, 20, 20, 0.7);
  backdrop-filter: blur(8px);
  transition: 0.3s var(--ease);
}

.rail__btn svg {
  width: 18px;
  height: 18px;
}

.rail--left .rail__btn:hover,
.rail--left .rail__btn.is-active {
  color: #0d0d0d;
  background: var(--yellow);
  border-color: var(--yellow);
  transform: scale(1.06);
}

.rail--right .rail__btn {
  background: rgba(13, 13, 13, 0.12);
  border-color: rgba(13, 13, 13, 0.18);
  color: #0d0d0d;
}

.rail--right .rail__btn:hover,
.rail--right .rail__btn.is-active {
  color: var(--yellow);
  background: #0d0d0d;
  border-color: #0d0d0d;
  transform: scale(1.06);
}

.hero__core {
  position: relative;
  height: 100%;
  display: grid;
  place-items: center;
  min-height: 0;
}

.hero__watermark {
  position: absolute;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(8rem, 22vw, 18rem);
  letter-spacing: -0.06em;
  line-height: 0.8;
  color: rgba(255, 255, 255, 0.04);
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.08);
  mix-blend-mode: difference;
  user-select: none;
  pointer-events: none;
  z-index: 0;
}

.hero__visual {
  position: relative;
  z-index: 2;
  width: min(48%, 540px);
  display: grid;
  place-items: center;
}

.hero__taxi {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 24px 36px rgba(0, 0, 0, 0.5));
  transform-origin: center center;
  user-select: none;
}

.hero__shadow {
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 6%;
  height: 28px;
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.55), transparent 70%);
  filter: blur(8px);
  z-index: -1;
}

.hero__title {
  position: absolute;
  top: 6%;
  right: 2%;
  text-align: right;
  z-index: 3;
  max-width: 280px;
}

.hero__brand {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: #0d0d0d;
}

.hero__tagline {
  display: block;
  margin-top: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(13, 13, 13, 0.62);
  letter-spacing: 0.02em;
}

/* Bottom panels */
.panels {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr 1.15fr;
  gap: 14px;
  min-height: 210px;
  max-height: 250px;
}

.panel {
  position: relative;
  background: linear-gradient(160deg, var(--bg-panel-2), var(--bg-panel));
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  box-shadow: var(--shadow-panel);
  overflow: hidden;
  min-height: 0;
}

.panel__label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 4px;
}

.panel__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.panel__text {
  margin-top: 8px;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--muted);
  max-width: 28ch;
}

/* Fleet panel */
.panel--fleet {
  display: grid;
  grid-template-rows: 1fr auto;
  padding: 12px;
}

.panel__media {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  min-height: 0;
}

.panel__shot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 110px;
}

.panel__thumbs {
  position: absolute;
  left: 10px;
  bottom: 10px;
  display: flex;
  gap: 6px;
}

.thumb {
  width: 42px;
  height: 32px;
  border-radius: 8px;
  overflow: hidden;
  border: 1.5px solid transparent;
  opacity: 0.7;
  transition: 0.25s var(--ease);
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb.is-active,
.thumb:hover {
  opacity: 1;
  border-color: var(--yellow);
}

.panel__meta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 12px 6px 4px;
}

.panel__pager {
  font-size: 0.78rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.panel__pager em {
  font-style: normal;
  color: var(--yellow);
  font-weight: 700;
}

/* Stats panel */
.panel--stats {
  padding: 18px 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.route {
  flex: 1;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.22);
  min-height: 0;
}

.route__map {
  width: 100%;
  height: auto;
  max-height: 80px;
}

.route__path {
  stroke-dasharray: 420;
  stroke-dashoffset: 420;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.stats__item dt {
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.stats__item dd {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.stats__item span {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--muted);
  margin-left: 2px;
}

/* App panel */
.panel--app {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  padding: 18px 0 18px 20px;
  gap: 8px;
}

.panel__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.store {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.store__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: 0.25s var(--ease);
}

.store__btn svg {
  width: 16px;
  height: 16px;
  color: var(--yellow);
}

.store__btn:hover {
  border-color: var(--line-strong);
  background: rgba(255, 204, 0, 0.08);
}

.panel__phone {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  overflow: hidden;
}

.panel__phone img {
  width: min(100%, 150px);
  height: 100%;
  object-fit: contain;
}

.panel__side-label {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  color: rgba(255, 255, 255, 0.18);
}

/* Tooltip */
.tooltip {
  position: fixed;
  z-index: 100;
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--yellow);
  color: #0d0d0d;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  pointer-events: none;
  white-space:nowrap;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.tooltip[hidden] {
  display: none;
}

/* ============================================
   Service section — below hero
   ============================================ */
.service {
  position: relative;
  z-index: 1;
  background: var(--bg);
  padding: clamp(72px, 10vw, 120px) 28px clamp(88px, 12vw, 140px);
  overflow: hidden;
  transition: background-color 0.5s var(--ease);
}

.service__inner {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(36px, 5vw, 56px);
  text-align: center;
}

.service__visual {
  position: relative;
  width: min(100%, 480px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

/* Solid yellow circle — expands on section hover */
.service__fill {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 64%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--yellow);
  transform: translate(-50%, -50%) scale(1);
  transition: transform 1.35s cubic-bezier(0.33, 1, 0.68, 1);
  z-index: 0;
  will-change: transform;
}

/* Interrupted dashed ring — rotates continuously */
.service__dash {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 82%;
  height: 82%;
  transform: translate(-50%, -50%);
  z-index: 1;
  color: var(--yellow);
  pointer-events: none;
  overflow: visible;
}

.service__dash-ring {
  transform-origin: 50px 50px;
  animation: service-spin 28s linear infinite;
  opacity: 0.85;
  transition: stroke 0.6s var(--ease), opacity 0.6s var(--ease);
}

@keyframes service-spin {
  to {
    transform: rotate(360deg);
  }
}

.service__frame {
  position: relative;
  z-index: 2;
  width: 56%;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(13, 13, 13, 0.12);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
  background: var(--bg-elevated);
}

.service__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 55%, rgba(11, 11, 11, 0.4));
  pointer-events: none;
}

.service__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service__copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: 34rem;
}

.service__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--yellow);
  transition: color 1s var(--ease);
}

.service__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.85rem, 4.2vw, 3rem);
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: var(--text);
  transition: color 1s var(--ease);
}

.service__text {
  font-size: clamp(0.95rem, 1.5vw, 1.08rem);
  line-height: 1.65;
  color: var(--muted);
  max-width: 38ch;
  transition: color 1s var(--ease);
}

/* Hover — yellow fills section, text goes black */
.service:hover .service__fill {
  transform: translate(-50%, -50%) scale(30);
  transition: transform 3.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.service:hover .service__label,
.service:hover .service__title,
.service:hover .service__text {
  color: #0d0d0d;
  transition: color 2.2s var(--ease);
}

.service:hover .service__dash {
  color: #0d0d0d;
}

.service:hover .service__dash-ring {
  opacity: 0.4;
}

@media (hover: none) {
  .service:active .service__fill {
    transform: translate(-50%, -50%) scale(30);
    transition: transform 3.8s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .service:active .service__label,
  .service:active .service__title,
  .service:active .service__text {
    color: #0d0d0d;
  }

  .service:active .service__dash {
    color: #0d0d0d;
  }
}

@media (prefers-reduced-motion: reduce) {
  .service__fill {
    transition: none;
  }

  .service__dash-ring {
    animation: none;
  }
}

/* ============================================
   FAQ
   ============================================ */
.faq {
  position: relative;
  z-index: 1;
  padding: clamp(72px, 10vw, 120px) 24px;
  background:
    radial-gradient(ellipse 55% 45% at 8% 0%, rgba(255, 204, 0, 0.07), transparent 55%),
    var(--bg);
}

.faq__wrap {
  max-width: 860px;
  margin: 0 auto;
}

.faq__intro {
  margin-bottom: clamp(36px, 5vw, 52px);
}

.faq__eyebrow {
  margin: 0 0 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yellow);
}

.faq__title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--text);
}

.faq__lead {
  margin: 0;
  max-width: 42ch;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--muted);
}

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

.faq__item {
  border-bottom: 1px solid var(--line);
}

.faq__item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: var(--text);
  transition: color 0.25s var(--ease);
}

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

.faq__item summary::after {
  content: "";
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  margin-top: 2px;
  border-right: 2px solid var(--yellow);
  border-bottom: 2px solid var(--yellow);
  transform: rotate(45deg);
  transition: transform 0.3s var(--ease);
}

.faq__item[open] summary {
  color: var(--yellow);
}

.faq__item[open] summary::after {
  transform: rotate(-135deg);
  margin-top: 8px;
}

.faq__item summary:hover {
  color: var(--yellow);
}

.faq__answer {
  padding: 0 0 24px;
  max-width: 62ch;
}

.faq__answer p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.7;
  color: rgba(244, 244, 240, 0.78);
}

.faq__answer a {
  color: var(--yellow);
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

/* ============================================
   Footer
   ============================================ */
.footer {
  position: relative;
  z-index: 1;
  background:
    linear-gradient(180deg, transparent, rgba(255, 204, 0, 0.03) 40%),
    var(--bg);
  border-top: 1px solid var(--line);
  padding: clamp(48px, 7vw, 72px) 28px 28px;
}

.footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
  padding-bottom: clamp(36px, 5vw, 52px);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.logo--footer .logo__img {
  width: 130px;
}

.footer__contacts {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__contact {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.25s var(--ease);
}

.footer__contact svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--yellow);
  opacity: 0.9;
}

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

.footer__contact--static {
  cursor: default;
}

.footer__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
  justify-content: center;
  min-height: 100%;
}

.footer__link {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--text);
  position: relative;
  transition: color 0.25s var(--ease);
}

.footer__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}

.footer__link:hover {
  color: var(--yellow);
}

.footer__link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.footer__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.footer__bar {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.footer__legal a {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
  transition: color 0.25s var(--ease);
}

.footer__legal a:hover {
  color: var(--yellow);
}

.footer__copy {
  font-size: 0.78rem;
  color: var(--muted);
}

.footer__copy a {
  color: var(--yellow);
  font-weight: 700;
  transition: color 0.25s var(--ease);
}

.footer__copy a:hover {
  color: var(--yellow-soft);
}

/* ============================================
   Story / SEO text section
   ============================================ */
.story {
  position: relative;
  z-index: 1;
  background: var(--bg);
  padding: clamp(72px, 10vw, 120px) 28px;
  overflow: visible;
}

.story::before {
  content: "";
  position: absolute;
  top: 10%;
  right: -8%;
  width: min(42vw, 420px);
  height: min(42vw, 420px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 204, 0, 0.08), transparent 68%);
  pointer-events: none;
}

.story__wrap {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}

.story__split {
  display: grid;
  grid-template-columns: minmax(260px, 0.95fr) minmax(300px, 1.15fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
  margin-bottom: clamp(56px, 9vw, 96px);
}

.story__intro {
  position: sticky;
  top: max(28px, 14vh);
  align-self: start;
  max-width: 28rem;
  z-index: 2;
}

.story__eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 14px;
}

.story__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 48px;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 20px;
}

.story__title span {
  color: var(--yellow);
}

.story__lead {
  font-size: clamp(0.95rem, 1.4vw, 1.08rem);
  line-height: 1.65;
  color: var(--muted);
  max-width: 34ch;
}

.story__chapters {
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 7vw, 64px);
  border-left: 1px solid var(--line);
  padding-left: clamp(20px, 3vw, 32px);
}

.story__chapter {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}

.story__chapter::before {
  content: "";
  position: absolute;
  left: calc(-1 * clamp(20px, 3vw, 32px) - 1px);
  top: 0.55em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 4px rgba(255, 204, 0, 0.15);
  transform: translateX(-50%);
}

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

.story__num {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 0.85;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 204, 0, 0.4);
}

.story__heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.story__body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.story__body p {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 48ch;
}

.story__banner {
  display: block;
  padding: clamp(28px, 5vw, 48px) 0;
  margin-bottom: clamp(48px, 7vw, 72px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.story__banner-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 48px;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.story__banner-line {
  display: block;
}

.story__banner-line--accent {
  color: var(--yellow);
}

.story__seo {
  display: grid;
  grid-template-columns: minmax(260px, 0.95fr) 1.25fr;
  gap: clamp(24px, 4vw, 40px);
  align-items: stretch;
  max-width: none;
  padding: clamp(18px, 2.5vw, 28px);
  background: linear-gradient(160deg, var(--bg-panel-2), var(--bg-panel));
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  box-shadow: var(--shadow-panel);
  overflow: hidden;
}

.story__seo-media {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  min-height: 280px;
  background: var(--bg-elevated);
}

.story__seo-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.story__seo-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(11, 11, 11, 0.35));
  pointer-events: none;
}

.story__seo-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: 8px 8px 8px 0;
  min-width: 0;
}

.story__seo-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yellow);
}

.story__seo-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 2px;
}

.story__seo-copy p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--muted);
}

/* Responsive */
@media (max-width: 1100px) {
  .stage {
    padding: 14px 16px 16px;
    overflow-y: auto;
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
  }

  .panels {
    grid-template-columns: 1fr;
    max-height: none;
  }

  .panel {
    min-height: 200px;
  }

  .panel--app {
    grid-template-columns: 1fr 140px;
  }

  .hero__title {
    right: 0;
    top: 2%;
  }
}

@media (max-width: 820px) {
  .header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

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

  .rail {
    flex-direction: row;
    justify-content: center;
    order: 2;
    margin-top: 8px;
  }

  .rail--right {
    display: none;
  }

  .hero__core {
    order: 1;
    min-height: 280px;
  }

  .hero__watermark {
    font-size: clamp(6rem, 28vw, 10rem);
  }

  .hero__visual {
    width: 64%;
  }

  .hero__title {
    position: static;
    text-align: center;
    max-width: none;
    margin-bottom: 8px;
  }

  .hero__brand {
    color: var(--yellow);
  }

  .hero__tagline {
    color: var(--muted);
  }

  .panel--app {
    grid-template-columns: 1fr;
    padding-right: 20px;
  }

  .panel__phone {
    display: none;
  }

  .service {
    padding: 64px 20px 80px;
  }

  .service__visual {
    width: min(100%, 420px);
  }

  .footer {
    padding: 48px 20px 24px;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer__actions {
    align-items: flex-start;
  }

  .footer__btns {
    justify-content: flex-start;
  }

  .footer__bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .story__split {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .story__intro {
    position: static;
    max-width: none;
  }

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

  .story__seo-media {
    min-height: 220px;
    aspect-ratio: 16 / 10;
  }

  .story__seo-copy {
    padding: 4px 4px 8px;
  }

  .story__num {
    font-size: clamp(2.4rem, 14vw, 3.2rem);
  }
}

@media (max-width: 520px) {
  .header__actions .btn {
    padding: 10px 14px;
    font-size: 0.75rem;
  }

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

  .logo__img {
    width: 130px;
  }

  .service__frame {
    width: 70%;
  }
}

/* ========== Drivers page ========== */
.page-drivers .stage--drivers {
  height: auto;
  min-height: 100vh;
  min-height: 100dvh;
  grid-template-rows: auto 1fr;
}

.page-drivers .header__home {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(13, 13, 13, 0.7);
  text-decoration: none;
  transition: color 0.25s var(--ease);
}

.page-drivers .header__home:hover {
  color: #0d0d0d;
}

.drivers-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 400px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 0 20px;
  min-height: 0;
}

.drivers-chips {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.drivers-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px 10px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text);
  background: rgba(20, 20, 20, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  white-space: nowrap;
}

.drivers-chip--accent {
  background: var(--yellow);
  border-color: transparent;
  color: #0d0d0d;
  box-shadow: 0 12px 28px rgba(255, 204, 0, 0.28);
}

.drivers-chip__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  background: rgba(255, 204, 0, 0.18);
  color: var(--yellow);
}

.drivers-chip--accent .drivers-chip__icon {
  background: rgba(13, 13, 13, 0.12);
  color: #0d0d0d;
}

.drivers-chip__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 4px rgba(255, 204, 0, 0.18);
}

.drivers-chip__svg {
  width: 16px;
  height: 16px;
  color: var(--yellow);
  flex-shrink: 0;
}

.drivers-chip--a {
  top: 8%;
  left: 38%;
}

.drivers-chip--b {
  top: 22%;
  right: 4%;
}

.drivers-chip--c {
  bottom: 28%;
  left: 42%;
}

.drivers-chip--d {
  bottom: 12%;
  right: 8%;
}

.drivers-hero__copy {
  position: relative;
  z-index: 2;
  max-width: none;
  padding-bottom: 0;
}

.drivers-hero__brand {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: var(--yellow);
}

.drivers-hero__title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.55rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--text);
}

.drivers-hero__lead {
  margin: 0 0 24px;
  max-width: 36ch;
  font-size: clamp(0.95rem, 1.3vw, 1.05rem);
  line-height: 1.6;
  color: rgba(244, 244, 240, 0.78);
}

.drivers-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 20px;
}

.btn--lg {
  padding: 14px 28px;
  font-size: 0.9rem;
}

.drivers-hero__more {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 2px;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.drivers-hero__more:hover {
  color: var(--text);
  border-color: var(--yellow);
}

.drivers-hero__visual {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  min-height: clamp(240px, 42vh, 460px);
  margin-left: -24px;
  pointer-events: none;
}

.drivers-hero__watermark {
  position: absolute;
  left: 42%;
  top: 10%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 12vw, 8.5rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.85;
  color: rgba(13, 13, 13, 0.1);
  white-space: nowrap;
  user-select: none;
  z-index: 0;
}

.drivers-hero__shadow {
  position: absolute;
  left: 55%;
  bottom: 8%;
  width: 62%;
  height: 16%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.5), transparent 70%);
  z-index: 1;
}

.drivers-hero__taxi {
  position: relative;
  z-index: 2;
  width: min(100%, 540px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 24px 36px rgba(0, 0, 0, 0.35));
}

/* Why section */
.drivers-why {
  position: relative;
  z-index: 1;
  background: var(--bg);
  padding: clamp(72px, 10vw, 120px) 24px;
}

.drivers-why__wrap {
  max-width: 1100px;
  margin: 0 auto;
}

.drivers-why__intro {
  max-width: 560px;
  margin-bottom: clamp(40px, 6vw, 64px);
}

.drivers-why__eyebrow,
.drivers-flow__eyebrow,
.drivers-pitch__eyebrow {
  margin: 0 0 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yellow);
}

.drivers-why__title,
.drivers-flow__title,
.drivers-pitch__title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--text);
}

.drivers-why__lead {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--muted);
}

.drivers-why__list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.drivers-point {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 22px;
  padding: clamp(28px, 4vw, 40px) 0;
  border-bottom: 1px solid var(--line);
}

.drivers-point__num {
  grid-row: 1 / -1;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--yellow);
  align-self: start;
  padding-top: 4px;
}

.drivers-point__title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.drivers-point__text {
  margin: 0;
  max-width: 52ch;
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(244, 244, 240, 0.72);
}

/* Flow */
.drivers-flow {
  position: relative;
  z-index: 1;
  padding: clamp(64px, 9vw, 100px) 24px;
  background:
    radial-gradient(ellipse 60% 50% at 80% 0%, rgba(255, 204, 0, 0.07), transparent 55%),
    var(--bg);
}

.drivers-flow__wrap {
  max-width: 1100px;
  margin: 0 auto;
}

.drivers-flow__head {
  margin-bottom: clamp(36px, 5vw, 52px);
}

.drivers-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 36px);
  counter-reset: none;
}

.drivers-step {
  position: relative;
  padding-top: 8px;
}

.drivers-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 22px;
  left: 64px;
  right: -18px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 204, 0, 0.45), transparent);
}

.drivers-step__index {
  display: block;
  margin-bottom: 16px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--yellow);
}

.drivers-step__body h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.drivers-step__body p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--muted);
}

/* Pitch */
.drivers-pitch {
  position: relative;
  z-index: 1;
  padding: clamp(48px, 7vw, 88px) 24px;
  background: var(--bg);
}

.drivers-pitch__wrap {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
  min-width: 0;
}

.drivers-pitch__media {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius-panel);
  background: var(--bg-elevated);
  aspect-ratio: 4 / 3;
}

.drivers-pitch__media img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
}

.drivers-pitch__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(11, 11, 11, 0.35));
  pointer-events: none;
}

.drivers-pitch__copy {
  max-width: 480px;
}

.drivers-pitch__text {
  margin: 0 0 28px;
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(244, 244, 240, 0.75);
}

/* Banner */
.drivers-banner {
  position: relative;
  z-index: 1;
  background: var(--yellow);
  padding: clamp(48px, 7vw, 72px) 24px;
}

.drivers-banner__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.drivers-banner__text {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #0d0d0d;
}

.drivers-banner__line {
  display: block;
}

.drivers-banner .btn--primary {
  background: #0d0d0d;
  color: var(--yellow);
}

.drivers-banner .btn--primary:hover {
  background: #1a1a1a;
  color: var(--yellow-soft);
}

@media (max-width: 960px) {
  .drivers-chips {
    display: none;
  }

  .drivers-hero {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 8px;
  }

  .drivers-hero__visual {
    order: -1;
    min-height: clamp(200px, 38vh, 360px);
    margin-left: 0;
    justify-content: center;
  }

  .drivers-hero__watermark {
    color: rgba(255, 255, 255, 0.06);
  }

  .drivers-hero__brand {
    color: var(--yellow);
  }

  .drivers-steps {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .drivers-step:not(:last-child)::after {
    display: none;
  }

  .drivers-pitch__wrap {
    grid-template-columns: minmax(0, 1fr);
  }

  .drivers-pitch__media {
    aspect-ratio: 16 / 10;
    min-height: 0;
  }

  .drivers-pitch__copy {
    max-width: none;
  }
}

@media (max-width: 820px) {
  .page-drivers .header__home {
    color: var(--muted);
  }

  .page-drivers .header__home:hover {
    color: var(--text);
  }
}

@media (max-width: 640px) {
  .page-drivers .stage--drivers {
    padding: 14px 16px 18px;
  }

  .drivers-hero__actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .drivers-point {
    grid-template-columns: 1fr;
    row-gap: 10px;
  }

  .drivers-point__num {
    grid-row: auto;
  }

  .drivers-banner__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ========== Partners page ========== */
.page-partners .stage--partners {
  height: auto;
  min-height: 0;
  grid-template-rows: auto auto;
  padding-bottom: 0;
}

.page-partners .header__home {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(13, 13, 13, 0.7);
  text-decoration: none;
  transition: color 0.25s var(--ease);
}

.page-partners .header__home:hover {
  color: #0d0d0d;
}

.page-partners .hero-shell {
  min-height: 0;
  overflow: visible;
}

.partners-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(12px, 3vh, 28px) 0 clamp(8px, 2vh, 20px);
  min-height: clamp(280px, 42vh, 420px);
}

.partners-chips {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.partners-chip {
  position: absolute;
}

.partners-chip--a {
  top: 8%;
  left: 6%;
}

.partners-chip--b {
  top: 18%;
  right: 8%;
}

.partners-chip--c {
  top: 58%;
  left: 4%;
}

.partners-chip--d {
  top: 62%;
  right: 5%;
}

.partners-chip--e {
  top: 38%;
  right: 18%;
}

.partners-hero__copy {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding-top: clamp(8px, 2vh, 24px);
  text-align: center;
}

.partners-hero__brand {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: var(--yellow);
}

.partners-hero__title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.55rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--text);
}

.partners-hero__lead {
  margin: 0 auto 24px;
  max-width: 38ch;
  font-size: clamp(0.95rem, 1.3vw, 1.05rem);
  line-height: 1.6;
  color: rgba(244, 244, 240, 0.78);
}

.partners-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 20px;
}

.partners-join__eyebrow {
  margin: 0 0 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yellow);
}

.partners-grid {
  position: relative;
  z-index: 1;
  padding: 8px 24px clamp(64px, 8vw, 96px);
  background: var(--bg);
}

.partners-grid__wrap {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 28px);
}

.partner {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: linear-gradient(160deg, var(--bg-panel-2), var(--bg-panel));
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-panel);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}

.partner:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 204, 0, 0.28);
}

.partner__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-elevated);
}

.partner__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.partner:hover .partner__media img {
  transform: scale(1.04);
}

.partner__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 20px 24px;
}

.partner__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text);
}

.partner__cta {
  width: 100%;
}

.partners-join {
  position: relative;
  z-index: 1;
  padding: clamp(56px, 8vw, 88px) 24px;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(ellipse 50% 60% at 90% 20%, rgba(255, 204, 0, 0.08), transparent 55%),
    var(--bg);
}

.partners-join__wrap {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.partners-join__title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--text);
}

.partners-join__text {
  margin: 0 0 28px;
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(244, 244, 240, 0.75);
}

.page-partners .footer__actions {
  align-items: flex-end;
  gap: 14px;
}

@media (max-width: 960px) {
  .partners-chips {
    display: none;
  }

  .partners-hero {
    min-height: 0;
    padding: 8px 0 12px;
  }

  .partners-grid__wrap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .page-partners .stage--partners {
    padding: 14px 16px 0;
  }

  .page-partners .header__home {
    color: var(--muted);
  }

  .page-partners .header__home:hover {
    color: var(--text);
  }

  .partners-grid {
    padding: 20px 16px 56px;
  }

  .partners-grid__wrap {
    grid-template-columns: minmax(0, 1fr);
  }

  .partners-join {
    padding: 48px 16px;
  }
}

/* ========== Legal pages (terms / privacy) ========== */
.page-legal {
  position: relative;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
}

.page-legal::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: min(48vh, 460px);
  background:
    radial-gradient(ellipse 70% 80% at 12% 0%, rgba(255, 204, 0, 0.16), transparent 60%),
    radial-gradient(ellipse 50% 60% at 88% 18%, rgba(255, 90, 60, 0.08), transparent 55%);
  pointer-events: none;
  z-index: 0;
}

.page-legal .header {
  position: relative;
  z-index: 40;
  grid-template-columns: 1fr auto;
  padding: 18px 28px;
  background: none;
  backdrop-filter: none;
  border-bottom: none;
}

.page-legal .header__home {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.25s var(--ease);
}

.page-legal .header__home:hover {
  color: var(--text);
}

/* Lang switcher on dark pages (home styles assume yellow hero zone) */
.page-legal .lang {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.page-legal .lang__btn {
  color: var(--muted);
}

.page-legal .lang__btn.is-active,
.page-legal .lang__btn:hover {
  color: var(--yellow);
  background: #0d0d0d;
}

.legal {
  position: relative;
  z-index: 1;
  background: transparent;
  padding: clamp(48px, 8vw, 88px) 24px 72px;
}

.page-legal .footer {
  position: relative;
  z-index: 1;
}

.legal__wrap {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
}

.legal__intro {
  margin-bottom: clamp(28px, 5vw, 40px);
}

.legal__eyebrow {
  margin: 0 0 10px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yellow);
}

.legal__title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--text);
}

.legal__meta {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.legal__card {
  background: linear-gradient(160deg, var(--bg-panel-2), var(--bg-panel));
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(28px, 5vw, 48px);
  box-shadow: var(--shadow-panel);
}

.legal__section {
  padding-bottom: 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.legal__section:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
}

.legal__section h2 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.4vw, 1.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.legal__section p,
.legal__section li {
  font-family: var(--font-body);
  font-size: 0.98rem;
  line-height: 1.7;
  color: rgba(244, 244, 240, 0.82);
}

.legal__section p {
  margin: 0 0 12px;
}

.legal__section p:last-child {
  margin-bottom: 0;
}

.legal__section ul {
  margin: 0 0 12px;
  padding-left: 1.2em;
}

.legal__section li {
  margin-bottom: 8px;
}

.legal__section li:last-child {
  margin-bottom: 0;
}

.legal__section a {
  color: var(--yellow);
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

.legal__section strong {
  color: var(--text);
  font-weight: 600;
}

@media (max-width: 640px) {
  .page-legal .header {
    padding: 14px 16px;
  }

  .legal {
    padding: 36px 16px 56px;
  }

  .legal__card {
    border-radius: 16px;
    padding: 22px 18px;
  }
}

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