* {
  box-sizing: border-box;
}

:root {
  --page-bg: #050816;
  --page-bg-soft: #0b1027;
  --surface: #0d1328;
  --surface-strong: #111936;
  --line: rgba(180, 199, 255, 0.16);
  --line-strong: rgba(200, 214, 255, 0.28);
  --text: #f8fafc;
  --muted: #aebbe0;
  --muted-strong: #dbe6ff;
  --green: #2ea043;
  --green-bright: #3fb950;
  --green-dark: #041b10;
  --amber: #ffd84d;
  --teal: #39d0ff;
  --blue: #58a6ff;
  --violet: #8b5cf6;
  --pink: #f778ba;
  --orange: #ff9f43;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.34);
}

body {
  position: relative;
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at 50% 12%, rgba(88, 166, 255, 0.22), transparent 34rem),
    radial-gradient(circle at 78% 20%, rgba(139, 92, 246, 0.16), transparent 28rem),
    linear-gradient(180deg, var(--page-bg) 0%, #070b20 48%, var(--page-bg-soft) 100%);
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.62) 0 1px, transparent 1.6px),
    radial-gradient(circle at 82% 9%, rgba(255, 255, 255, 0.48) 0 1px, transparent 1.6px),
    radial-gradient(circle at 64% 36%, rgba(88, 166, 255, 0.52) 0 1px, transparent 1.8px),
    radial-gradient(circle at 28% 44%, rgba(247, 120, 186, 0.4) 0 1px, transparent 1.7px),
    linear-gradient(rgba(255, 255, 255, 0.014) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.014) 1px, transparent 1px);
  background-size: 320px 240px, 260px 220px, 420px 300px, 360px 260px, 56px 56px, 56px 56px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.88) 45%, transparent 82%);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.88) 45%, transparent 82%);
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 8, 22, 0.88);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 20px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  font-weight: 800;
  font-size: 18px;
  color: #f8fafc;
  white-space: nowrap;
}

.brand-logo {
  display: block;
  width: auto;
  height: 32px;
  object-fit: contain;
  flex: 0 0 auto;
  opacity: 0.96;
}

.brand-icon {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--green);
  color: var(--green-dark);
  font-size: 24px;
  line-height: 1;
  flex: 0 0 auto;
}

.brand-mark {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--amber), var(--green-bright) 58%, var(--blue));
  box-shadow: inset 0 0 0 1px rgba(5, 46, 22, 0.2);
}

.brand-mark::before,
.brand-mark::after,
.brand-mark span {
  content: "";
  position: absolute;
  display: block;
}

.brand-mark::before {
  width: 20px;
  height: 10px;
  left: 8px;
  top: 14px;
  border-radius: 8px 8px 4px 4px;
  background: var(--green-dark);
}

.brand-mark::after {
  width: 5px;
  height: 5px;
  left: 11px;
  top: 25px;
  border-radius: 50%;
  background: #f8fafc;
  box-shadow: 13px 0 0 #f8fafc;
}

.brand-mark span {
  width: 13px;
  height: 2px;
  right: 7px;
  top: 11px;
  border-radius: 999px;
  background: rgba(5, 46, 22, 0.72);
  box-shadow: 0 6px 0 rgba(5, 46, 22, 0.48), 0 12px 0 rgba(5, 46, 22, 0.28);
}

.hero-logo {
  display: inline-grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin-bottom: 18px;
  border-radius: 18px;
  background: var(--green);
  color: var(--green-dark);
  font-size: 52px;
  line-height: 1;
  box-shadow: 0 18px 36px rgba(50, 209, 123, 0.18);
}

.site-menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex: 1 1 auto;
  min-width: 0;
}

.site-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.site-links-actions {
  justify-content: flex-end;
  margin-left: auto;
}

.site-links a {
  text-decoration: none;
  color: var(--muted);
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 15px;
  font-weight: 700;
}

.site-links a.nav-register {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.045);
}

.site-links a:hover,
.site-links a:focus-visible,
.site-links a[aria-current="page"] {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--line-strong);
  outline: none;
}

.site-links a.nav-register:hover,
.site-links a.nav-register:focus-visible {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.1);
}

.wrap {
  position: relative;
  z-index: 1;
  width: min(100%, var(--wrap-max, 1120px));
  margin: 0 auto;
  padding: var(--wrap-padding, 30px 20px 60px);
}

.wrap-narrow {
  --wrap-max: 1040px;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero {
  text-align: center;
  position: relative;
  padding: clamp(70px, 9vw, 112px) 0 44px;
}

.hero-premium {
  isolation: isolate;
}

.hero-premium::before,
.hero-premium::after {
  content: "";
  position: absolute;
  left: 50%;
  z-index: -1;
  pointer-events: none;
  transform: translateX(-50%);
}

.hero-premium::before {
  top: 12px;
  width: min(1080px, 100%);
  height: 560px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 22%, rgba(88, 166, 255, 0.3), transparent 34%),
    radial-gradient(circle at 28% 44%, rgba(139, 92, 246, 0.22), transparent 30%),
    radial-gradient(circle at 74% 56%, rgba(247, 120, 186, 0.16), transparent 28%);
  filter: blur(10px);
}

.hero-premium::after {
  top: 46px;
  width: min(900px, 92%);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(88, 166, 255, 0.5), rgba(247, 120, 186, 0.35), transparent);
}

.hero-actions {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 10px;
  width: min(100%, 1030px);
  margin: 32px auto 0;
}

.signup-form {
  display: flex;
  align-items: stretch;
  gap: 8px;
  flex: 1 1 730px;
  min-width: 0;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 12px;
  background: #ffffff;
  box-shadow:
    0 22px 60px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(88, 166, 255, 0.12);
}

.signup-form input {
  width: 100%;
  min-height: 52px;
  min-width: 0;
  border: 0;
  border-radius: 8px;
  padding: 0 16px;
  color: #0f172a;
  font: inherit;
  font-size: 17px;
  outline: none;
}

.signup-form input::placeholder {
  color: #64748b;
  opacity: 1;
}

.signup-form input:focus-visible {
  box-shadow: inset 0 0 0 2px rgba(88, 166, 255, 0.55);
}

.motion-field {
  position: relative;
  z-index: 1;
  width: min(100%, 1040px);
  min-height: 332px;
  margin: clamp(42px, 6vw, 66px) auto 0;
  border-radius: 34px;
  overflow: visible;
}

.motion-field::before {
  content: "";
  position: absolute;
  inset: 72px 5% 20px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 45%, rgba(88, 166, 255, 0.14), transparent 45%),
    linear-gradient(90deg, transparent, rgba(88, 166, 255, 0.2), rgba(139, 92, 246, 0.18), transparent);
  filter: blur(12px);
  pointer-events: none;
}

.motion-field::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200, 214, 255, 0.22), transparent);
  pointer-events: none;
}

.motion-field-compact {
  min-height: 300px;
  margin-top: 42px;
}

.space-star {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.75);
  opacity: 0.74;
  animation: starGlow 6s ease-in-out infinite;
}

.star-one {
  left: 20%;
  top: 30px;
}

.star-two {
  right: 21%;
  top: 82px;
  width: 3px;
  height: 3px;
  animation-delay: -1.8s;
}

.star-three {
  left: 62%;
  bottom: 42px;
  width: 4px;
  height: 4px;
  background: var(--blue);
  animation-delay: -3.2s;
}

.driver-icon {
  position: absolute;
  z-index: 3;
  display: block;
  width: var(--icon-width);
  height: var(--icon-height);
  max-width: min(var(--icon-width), 42vw);
  object-fit: contain;
  object-position: center;
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transform-origin: center;
  pointer-events: auto;
  user-select: none;
  filter:
    drop-shadow(0 24px 38px var(--icon-glow))
    drop-shadow(0 0 18px var(--icon-glow-soft));
  transition: filter 220ms ease, transform 220ms ease;
}

.driver-icon--plane {
  --icon-width: 203px;
  --icon-height: 203px;
  --icon-glow: rgba(139, 92, 246, 0.46);
  --icon-glow-soft: rgba(247, 120, 186, 0.24);
  left: calc(50% - 102px);
  top: -42px;
  animation: planeArrive 5.4s cubic-bezier(0.2, 0.8, 0.22, 1);
}

.driver-icon--train {
  --icon-width: 149px;
  --icon-height: 149px;
  --icon-glow: rgba(45, 212, 191, 0.4);
  --icon-glow-soft: rgba(88, 166, 255, 0.18);
  right: 15%;
  bottom: 10px;
  animation: trainArrive 5.8s cubic-bezier(0.2, 0.8, 0.22, 1);
}

.driver-icon--bus {
  --icon-width: 188px;
  --icon-height: 188px;
  --icon-glow: rgba(247, 120, 186, 0.4);
  --icon-glow-soft: rgba(255, 159, 67, 0.22);
  left: 8%;
  bottom: -10px;
  animation: busArrive 5.8s cubic-bezier(0.2, 0.8, 0.22, 1);
}

.driver-icon--taxi {
  --icon-width: 350px;
  --icon-height: 350px;
  --icon-glow: rgba(255, 171, 64, 0.48);
  --icon-glow-soft: rgba(255, 216, 77, 0.22);
  left: calc(50% - 175px);
  top: 36px;
  animation: taxiSpinSettle 5.8s cubic-bezier(0.18, 0.86, 0.24, 1);
}

.badge {
  display: inline-block;
  background: rgba(244, 196, 48, 0.12);
  color: #fde68a;
  border: 1px solid rgba(244, 196, 48, 0.22);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 14px;
  margin-bottom: 18px;
}

h1 {
  font-size: 46px;
  line-height: 1.08;
  margin: 12px 0;
}

.hero h1 {
  font-size: clamp(46px, 7.4vw, 82px);
  line-height: 0.98;
  margin: 0 auto 18px;
  max-width: 980px;
  color: #ffffff;
  letter-spacing: 0;
}

h2 {
  font-size: 28px;
  margin: 0 0 14px;
}

h3 {
  margin: 0 0 8px;
  font-size: 21px;
}

.lead {
  font-size: clamp(18px, 2.2vw, 22px);
  color: rgba(248, 250, 252, 0.84);
  max-width: 790px;
  margin: 0 auto;
}

.btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  text-decoration: none;
  background: var(--green);
  color: var(--green-dark);
  cursor: pointer;
  font-family: inherit;
  font-weight: 800;
  font-size: 17px;
  padding: 15px 20px;
  border-radius: 6px;
  min-width: 220px;
  text-align: center;
  box-shadow: 0 14px 30px rgba(46, 160, 67, 0.22);
  transition: transform 160ms ease, filter 160ms ease, border-color 160ms ease;
}

.btn.secondary {
  background: linear-gradient(180deg, #172554, #0f1b3d);
  color: #ffffff;
  border: 1px solid rgba(147, 197, 253, 0.3);
  box-shadow: 0 16px 36px rgba(8, 13, 35, 0.34);
}

.btn-register {
  min-height: 52px;
  min-width: 260px;
  background: linear-gradient(180deg, var(--green-bright), var(--green));
  color: #ffffff;
  white-space: nowrap;
}

.btn::before {
  content: "";
  display: inline-block;
  flex: 0 0 auto;
}

.btn.btn-register::before {
  display: none;
}

.btn-telegram::before {
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 13px solid currentColor;
  transform: translateX(1px);
}

.btn-dispo::before {
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-radius: 4px;
  box-shadow: inset 0 5px 0 rgba(255, 255, 255, 0.12);
}

.btn:hover,
.btn:focus-visible {
  filter: brightness(1.06);
  transform: translateY(-1px);
  outline: 2px solid rgba(88, 166, 255, 0.72);
  outline-offset: 2px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 28px 0;
}

.feature-section {
  position: relative;
  margin-top: 8px;
}

.card {
  background:
    linear-gradient(180deg, rgba(17, 25, 58, 0.72), rgba(10, 16, 38, 0.74));
  border: 1px solid rgba(180, 199, 255, 0.12);
  border-radius: 8px;
  padding: 22px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
}

.card p {
  color: var(--muted);
  margin: 0 0 14px;
}

.feature-card {
  position: relative;
  min-height: 178px;
  overflow: hidden;
  isolation: isolate;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 18% 0%, rgba(88, 166, 255, 0.14), transparent 36%);
}

.feature-card::after {
  content: "";
  position: absolute;
  right: -28px;
  bottom: -38px;
  width: 110px;
  height: 110px;
  z-index: 0;
  border: 1px solid rgba(147, 197, 253, 0.1);
  border-radius: 50%;
}

.feature-card > * {
  position: relative;
  z-index: 1;
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border-radius: 8px;
  background: rgba(88, 166, 255, 0.12);
  border: 1px solid rgba(88, 166, 255, 0.25);
}

.feature-icon::before {
  content: "";
  width: 18px;
  height: 18px;
  border: 2px solid var(--blue);
  border-radius: 5px;
}

.feature-travel .feature-icon {
  background: rgba(55, 199, 196, 0.12);
  border-color: rgba(55, 199, 196, 0.24);
}

.feature-travel .feature-icon::before {
  width: 18px;
  height: 2px;
  border: 0;
  border-radius: 999px;
  background: var(--teal);
  box-shadow:
    0 -6px 0 -1px var(--teal),
    0 6px 0 -1px var(--teal);
  transform: rotate(-25deg);
}

.feature-taxi .feature-icon {
  background: rgba(244, 196, 48, 0.12);
  border-color: rgba(244, 196, 48, 0.24);
}

.feature-taxi .feature-icon::before,
.feature-uber .feature-icon::before {
  width: 20px;
  height: 11px;
  border: 2px solid currentColor;
  border-radius: 7px 7px 4px 4px;
  color: var(--amber);
  box-shadow: 4px 9px 0 -4px currentColor, -4px 9px 0 -4px currentColor;
}

.feature-uber .feature-icon {
  background: rgba(219, 231, 228, 0.1);
  border-color: rgba(219, 231, 228, 0.22);
}

.feature-uber .feature-icon::before {
  color: var(--muted-strong);
}

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

.section {
  margin: 34px 0;
}

.steps {
  margin: 0;
  padding-left: 22px;
  color: var(--muted-strong);
  font-size: 18px;
}

.steps li {
  margin: 8px 0;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.price {
  text-align: center;
}

.old {
  color: #8b9b98;
  text-decoration: line-through;
  font-size: 18px;
}

.new {
  font-size: 36px;
  font-weight: 800;
  color: #ffffff;
  margin: 8px 0;
}

.note {
  color: #95a7a3;
  font-size: 15px;
  margin-top: 24px;
}

.footer {
  border-top: 1px solid var(--line);
  margin-top: 38px;
  padding-top: 24px;
  color: #95a7a3;
  font-size: 14px;
  text-align: center;
}

.start-cta {
  display: inline-flex;
  width: auto;
  margin: 0 auto;
}

.start-hero {
  padding-top: clamp(54px, 8vw, 90px);
}

.start-card {
  margin: 24px 0;
}

.legal-hero {
  padding-bottom: 12px;
}

.legal-card h2 {
  margin-top: 26px;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card a {
  color: #93c5fd;
}

.secondary-link {
  display: inline-block;
  text-decoration: none;
  color: #93c5fd;
  font-size: 17px;
  margin-top: 14px;
}

.auth-wrap {
  --wrap-padding: 54px 20px 72px;
}

.auth-wrap-compact {
  --wrap-max: 980px;
}

.auth-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.75fr);
  gap: clamp(28px, 5vw, 62px);
  align-items: center;
  min-height: 620px;
}

.auth-layout-login {
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 440px);
  min-height: 560px;
}

.auth-copy {
  position: relative;
  z-index: 1;
}

.auth-copy h1 {
  margin: 0 0 18px;
  max-width: 780px;
  color: #ffffff;
  font-size: clamp(42px, 6vw, 70px);
  line-height: 1;
}

.auth-copy .lead {
  margin: 0;
  max-width: 700px;
}

.auth-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: #93c5fd;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.auth-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-bright);
  box-shadow: 0 0 0 6px rgba(63, 185, 80, 0.12);
}

.auth-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.auth-points span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 11px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted-strong);
  font-size: 14px;
  font-weight: 800;
}

.auth-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(180, 199, 255, 0.18);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(17, 25, 58, 0.88), rgba(8, 13, 35, 0.92));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
}

.auth-panel::before {
  content: "";
  position: absolute;
  inset: -1px;
  pointer-events: none;
  background: radial-gradient(circle at 18% 0%, rgba(88, 166, 255, 0.18), transparent 36%);
}

.auth-form {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 3vw, 30px);
}

.auth-form > * {
  position: relative;
  z-index: 1;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.field span {
  color: #dbe6ff;
  font-size: 14px;
  font-weight: 850;
}

.field input,
.field select {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(200, 214, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  color: #0f172a;
  font: inherit;
  font-size: 16px;
  padding: 0 12px;
  outline: none;
}

.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #475569 50%), linear-gradient(135deg, #475569 50%, transparent 50%);
  background-position: calc(100% - 18px) 20px, calc(100% - 12px) 20px;
  background-repeat: no-repeat;
  background-size: 6px 6px;
  padding-right: 34px;
}

.field input:focus-visible,
.field select:focus-visible {
  border-color: rgba(88, 166, 255, 0.75);
  box-shadow: 0 0 0 3px rgba(88, 166, 255, 0.22);
}

.form-help {
  margin: 0;
  color: #9fb0da;
  font-size: 14px;
}

.form-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}

.form-actions .btn,
.login-panel .btn {
  width: 100%;
  min-width: 0;
}

.login-panel {
  max-width: 440px;
  width: 100%;
  justify-self: end;
}

.login-telegram {
  min-height: 54px;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #90a2cf;
  font-size: 13px;
  font-weight: 800;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  height: 1px;
  flex: 1 1 auto;
  background: rgba(180, 199, 255, 0.18);
}

.auth-message {
  margin: 0;
  border: 1px solid rgba(63, 185, 80, 0.35);
  border-radius: 8px;
  padding: 12px;
  background: rgba(63, 185, 80, 0.1);
  color: #bbf7d0;
  font-weight: 750;
}

.day-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  text-decoration: none;
  background: #111827;
  border: 1px solid #334155;
  border-radius: 18px;
  padding: 18px 20px;
  margin: 12px 0;
  color: #ffffff;
}

.day-card:hover,
.day-card:focus-visible {
  border-color: #64748b;
  outline: none;
}

.day-card strong {
  font-size: 22px;
}

.day-card p {
  margin: 5px 0 0;
  color: #cbd5e1;
}

.day-card span {
  color: #22c55e;
  font-weight: 800;
  white-space: nowrap;
}

code {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  padding: 3px 6px;
  border-radius: 6px;
}

body.dispo-page {
  background: #f6f7f9;
  color: #17202a;
}

body.dispo-page::before {
  display: none;
}

body.dispo-page .site-header {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.dispo-header {
  background: linear-gradient(180deg, #0f172a 0%, #111827 100%);
  color: #ffffff;
  border-bottom: 1px solid #1f2937;
}

.dispo-hero-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 26px clamp(16px, 4vw, 42px) 24px;
}

.dispo-header h1 {
  margin: 0 0 6px;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  letter-spacing: 0;
}

.dispo-header p {
  margin: 0;
  color: #cbd7e2;
  font-size: clamp(1rem, 2vw, 1.15rem);
}

.meta {
  margin-top: 10px;
  font-size: 12px;
  color: #94a3b8;
}

.dispo-context {
  margin-bottom: 8px;
  color: #5eead4;
  font-size: 13px;
  font-weight: 800;
}

.driver-brief,
.today-overview,
.next-days,
.overview,
.day-list,
.top-nav {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding-left: clamp(12px, 3vw, 28px);
  padding-right: clamp(12px, 3vw, 28px);
}

.driver-brief {
  padding-top: 18px;
  color: #334155;
  font-weight: 700;
}

.today-overview {
  padding-top: 24px;
  padding-bottom: 10px;
}

.next-days {
  padding-top: 8px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.section-heading h2 {
  margin: 0 0 4px;
  color: #17202a;
  font-size: 26px;
}

.section-heading p {
  margin: 0;
  color: #617080;
  font-weight: 700;
}

.today-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 9px 12px;
  border-radius: 8px;
  background: #0f766e;
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
  white-space: nowrap;
}

.today-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.today-column {
  background: #ffffff;
  border: 1px solid #d8dee6;
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
  min-width: 0;
}

.today-column h3 {
  color: #17202a;
  font-size: 18px;
  margin: 0 0 10px;
}

.today-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.today-event {
  border-top: 1px solid #e6ebf0;
  padding-top: 10px;
}

.today-event:first-child {
  border-top: 0;
  padding-top: 0;
}

.today-event-main {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  align-items: baseline;
}

.today-event-main a {
  color: #17202a;
  font-weight: 850;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.today-time {
  color: #0f766e;
  font-weight: 900;
  white-space: nowrap;
}

.today-place,
.today-empty {
  color: #617080;
  font-size: 14px;
  margin-top: 4px;
}

.today-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 800;
}

.today-actions a {
  color: #0f766e;
}

.today-link:hover,
.today-link:focus-visible,
.maps-link:hover,
.maps-link:focus-visible {
  filter: brightness(1.04);
  outline: 2px solid #0f766e;
  outline-offset: 2px;
}

body.dispo-page .overview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 14px;
  padding: 0;
  padding-bottom: 42px;
}

body.dispo-page .day-list {
  padding-top: 18px;
  padding-bottom: 42px;
}

body.dispo-page .day-card,
.event-group {
  background: #ffffff;
  border: 1px solid #d8dee6;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

body.dispo-page .day-card {
  display: block;
  padding: 16px;
  margin: 0;
}

body.dispo-page .day-link {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  color: #17202a;
  text-decoration: none;
  min-width: 0;
}

.day-date {
  font-size: 19px;
  font-weight: 800;
  min-width: 0;
}

body.dispo-page .day-count {
  color: #0f766e;
  background: #d8f3ef;
  border-radius: 999px;
  padding: 3px 9px;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 800;
}

body.dispo-page .area {
  border-top: 1px solid #d8dee6;
  padding-top: 10px;
}

body.dispo-page .area h3 {
  margin-bottom: 7px;
  color: #617080;
  font-size: 15px;
}

body.dispo-page .area ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
}

body.dispo-page .area a,
.top-nav a,
body.dispo-page table a {
  color: #0f766e;
  font-weight: 750;
  overflow-wrap: anywhere;
}

.top-nav {
  padding-top: 16px;
}

.event-group {
  margin-bottom: 16px;
  overflow: hidden;
}

.event-group h2 {
  padding: 14px 16px;
  margin: 0;
  border-bottom: 1px solid #d8dee6;
  font-size: 22px;
}

.table-wrap {
  overflow-x: auto;
}

body.dispo-page table {
  width: 100%;
  border-collapse: collapse;
  min-width: 820px;
}

body.dispo-page th,
body.dispo-page td {
  padding: 11px 12px;
  border-bottom: 1px solid #d8dee6;
  text-align: left;
  vertical-align: top;
}

body.dispo-page th {
  color: #617080;
  font-size: 13px;
  background: #fbfcfd;
}

body.dispo-page td span {
  display: block;
  color: #617080;
  font-size: 14px;
}

.time {
  font-weight: 800;
  white-space: nowrap;
}

.maps-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 11px;
  border-radius: 8px;
  background: #0f766e;
  color: #ffffff !important;
  text-decoration: none;
  white-space: nowrap;
}

.maps-link.compact {
  min-height: 30px;
  padding: 5px 9px;
  font-size: 13px;
}

.empty {
  grid-column: 1 / -1;
  color: #617080;
}

@media (max-width: 720px) {
  .site-nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 14px 16px;
  }

  .site-links {
    width: 100%;
    justify-content: flex-start;
  }

  .site-menu {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .site-links-actions {
    margin-left: 0;
  }

  .site-brand {
    white-space: normal;
  }

  .site-links a {
    padding: 8px 10px;
  }

  .wrap {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero h1 {
    font-size: clamp(40px, 13vw, 54px);
  }

  .lead {
    font-size: 18px;
  }

  .hero {
    padding-top: 50px;
  }

  .signup-form {
    width: 100%;
    flex: none;
    flex-direction: column;
    gap: 6px;
    padding: 6px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .auth-wrap {
    --wrap-padding: 38px 16px 58px;
  }

  .auth-layout,
  .auth-layout-login {
    grid-template-columns: 1fr;
    gap: 24px;
    min-height: 0;
  }

  .auth-copy h1 {
    font-size: clamp(36px, 11vw, 50px);
  }

  .auth-panel,
  .login-panel {
    justify-self: stretch;
    max-width: none;
  }

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

  .signup-form input {
    text-align: center;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .motion-field {
    min-height: 260px;
    margin-top: 32px;
  }

  .motion-field-compact {
    min-height: 230px;
  }

  .driver-icon--plane {
    left: calc(50% - 72px);
    top: 0;
    width: 144px;
    height: 144px;
  }

  .driver-icon--train {
    right: -14px;
    bottom: 12px;
    width: 128px;
    height: 128px;
  }

  .driver-icon--bus {
    left: -16px;
    bottom: 18px;
    width: 162px;
    height: 162px;
  }

  .driver-icon--taxi {
    left: calc(50% - 140px);
    top: 74px;
    width: 280px;
    height: 280px;
  }

  .grid,
  .price-grid {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
    min-width: 0;
  }

  .day-card {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .dispo-hero-inner {
    padding: 22px 16px 20px;
  }

  .dispo-header h1 {
    font-size: 32px;
  }

  .today-overview,
  .next-days,
  .overview,
  .day-list,
  .top-nav {
    padding-left: 12px;
    padding-right: 12px;
  }

  body.dispo-page .overview {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .today-link {
    width: 100%;
    justify-content: center;
    white-space: normal;
    text-align: center;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  body.dispo-page .day-link {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  body.dispo-page .day-count {
    white-space: normal;
  }

  .today-column,
  body.dispo-page .day-card {
    padding: 14px;
  }

  body.dispo-page table,
  body.dispo-page thead,
  body.dispo-page tbody,
  body.dispo-page tr,
  body.dispo-page th,
  body.dispo-page td {
    display: block;
    min-width: 0;
  }

  body.dispo-page thead {
    display: none;
  }

  body.dispo-page tr {
    padding: 12px;
    border-bottom: 1px solid #d8dee6;
    overflow-wrap: anywhere;
  }

  body.dispo-page td {
    padding: 4px 0;
    border-bottom: 0;
  }

  .maps-link {
    width: 100%;
    justify-content: center;
  }
}

.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  width: min(100%, 1120px);
  margin: 10px auto 0;
  padding: 30px 20px 24px;
  color: #95a7a3;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.footer-grid h2 {
  margin: 0 0 10px;
  color: var(--muted-strong);
  font-size: 15px;
}

.footer-grid a,
.footer-grid p {
  display: block;
  margin: 6px 0;
  color: #95a7a3;
  text-decoration: none;
}

.footer-grid a:hover,
.footer-grid a:focus-visible {
  color: #ffffff;
  text-decoration: underline;
  outline: none;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  margin: 24px 0 0;
  padding-top: 16px;
  color: #6f817d;
  font-size: 13px;
}

@keyframes planeArrive {
  0% {
    opacity: 0;
    transform: translate3d(0, -150px, 0) rotate(-10deg) scale(0.9);
  }
  72% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
  }
}

@keyframes trainArrive {
  0% {
    opacity: 0;
    transform: translate3d(180px, 150px, 0) rotate(8deg) scale(0.88);
  }
  74% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
  }
}

@keyframes busArrive {
  0% {
    opacity: 0;
    transform: translate3d(-180px, 150px, 0) rotate(-8deg) scale(0.88);
  }
  74% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
  }
}

@keyframes taxiSpinSettle {
  0% {
    opacity: 0;
    transform: translate3d(0, 18px, 0) rotate(-14deg) scale(0.94);
  }
  16% {
    opacity: 1;
  }
  42% {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(9deg) scale(1.02);
  }
  72% {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(-4deg) scale(1.01);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
  }
}

@keyframes taxiHoverOnce {
  0% {
    transform: rotate(0deg) scale(1);
  }
  46% {
    transform: rotate(245deg) scale(1.035);
  }
  78% {
    transform: rotate(350deg) scale(1.012);
  }
  100% {
    transform: rotate(360deg) scale(1);
  }
}

@keyframes starGlow {
  0%,
  100% {
    opacity: 0.48;
  }
  50% {
    opacity: 0.95;
  }
}

@media (hover: hover) and (pointer: fine) {
  .driver-icon--small:hover {
    filter:
      drop-shadow(0 28px 42px var(--icon-glow))
      drop-shadow(0 0 24px var(--icon-glow-soft))
      brightness(1.06);
    transform: translate3d(0, -8px, 0) scale(1.03);
  }

  .driver-icon--taxi.driver-icon--taxi-spun:not(.driver-icon--taxi-settled) {
    animation: taxiHoverOnce 920ms cubic-bezier(0.22, 0.96, 0.28, 1) both;
  }

  .driver-icon--taxi.driver-icon--taxi-settled {
    animation: none;
  }

  .driver-icon--taxi.driver-icon--taxi-settled:hover {
    filter:
      drop-shadow(0 28px 42px var(--icon-glow))
      drop-shadow(0 0 24px var(--icon-glow-soft))
      brightness(1.04);
    transform: translate3d(0, -6px, 0) scale(1.025);
  }
}

@media (prefers-reduced-motion: reduce) {
  .driver-icon,
  .space-star {
    opacity: 1;
    animation: none;
    transform: none;
  }

  .driver-icon,
  .driver-icon--small:hover,
  .driver-icon--taxi:hover,
  .driver-icon--taxi.driver-icon--taxi-spun,
  .driver-icon--taxi.driver-icon--taxi-settled {
    animation: none;
    transition: none;
    transform: none;
  }

  .btn {
    transition: none;
  }
}
