* {
  box-sizing: border-box;
}

:root {
  --bg: #f6f7f2;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-strong: #ffffff;
  --surface-dark: #0d1b1e;
  --ink: #162027;
  --muted: #64707a;
  --line: rgba(22, 32, 39, 0.1);
  --brand: #11b57c;
  --brand-deep: #0b8b5f;
  --brand-soft: #dcfff2;
  --accent: #ffcc4d;
  --accent-soft: #fff0bf;
  --shadow: 0 30px 90px rgba(22, 32, 39, 0.12);
  --radius-xl: 36px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(17, 181, 124, 0.18), transparent 28%),
    radial-gradient(circle at right 14%, rgba(255, 204, 77, 0.18), transparent 22%),
    linear-gradient(180deg, #f9faf6 0%, #f1f4ec 100%);
  font-family: "Avenir Next", "Segoe UI", Helvetica, Arial, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: rgba(249, 250, 246, 0.78);
  border-bottom: 1px solid rgba(22, 32, 39, 0.06);
}

.site-header .container,
.hero-layout,
.hero-actions,
.stat-row,
.trust-row,
.feature-grid,
.steps-grid,
.pricing-grid,
.cta-strip,
.footer-grid,
.simple-grid,
.booking-grid,
.operator-grid,
.section-title,
.nav-links {
  display: grid;
  gap: 20px;
}

.site-header .container {
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 84px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, #122027, #0b8b5f);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.brand-copy strong,
.brand-wordmark {
  display: block;
  font-size: 1.12rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.9rem;
}

.nav-links {
  grid-auto-flow: column;
  align-items: center;
  justify-content: end;
  gap: 18px;
}

.nav-links a {
  color: #30414a;
  font-weight: 700;
}

.nav-links .nav-ghost {
  opacity: 0.7;
}

.nav-links .nav-pill {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: #122027;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero {
  padding: 40px 0 28px;
}

.hero-layout {
  grid-template-columns: 1.15fr 0.85fr;
  align-items: stretch;
}

.hero-copy {
  padding: 54px 54px 44px;
}

.hero-aside {
  padding: 28px;
  display: grid;
  gap: 18px;
}

.surface {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.hero-badge,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--brand-deep);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.hero-badge::before,
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
}

.hero-title,
.page-title {
  margin: 16px 0 16px;
  font-size: clamp(3.2rem, 7vw, 6rem);
  line-height: 0.92;
  letter-spacing: -0.06em;
  max-width: 8.5ch;
}

.page-title {
  max-width: 11ch;
  font-size: clamp(2.6rem, 5vw, 4.5rem);
}

.lede,
.section-copy,
.detail-copy,
.step-card p,
.feature-card p,
.price-card p,
.info-card p,
.footer-note,
.field-note,
.operator-kicker {
  color: var(--muted);
  line-height: 1.68;
}

.hero-actions {
  grid-auto-flow: column;
  justify-content: start;
  gap: 12px;
  margin-top: 26px;
}

.button {
  min-height: 54px;
  padding: 0 20px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  border: 1px solid transparent;
}

.button-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  color: #fff;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.85);
  border-color: var(--line);
}

.button-accent {
  background: #122027;
  color: #fff;
}

.button-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
}

button.button {
  cursor: pointer;
}

.stat-row {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 28px;
}

.queue-toolbar,
.verification-actions,
.verification-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.queue-toolbar {
  margin-top: 22px;
}

.queue-filter {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.84);
  color: var(--ink);
  font-weight: 800;
}

.queue-filter.is-active {
  background: #122027;
  border-color: #122027;
  color: #fff;
}

.verification-queue {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.verification-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.92);
  padding: 22px;
}

.verification-card h4 {
  margin: 12px 0 8px;
  font-size: 1.25rem;
}

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

.verification-notes {
  color: var(--ink);
  font-weight: 700;
}

.queue-empty {
  border: 1px dashed var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  color: var(--muted);
  text-align: center;
}

.admin-login-shell {
  min-height: 100vh;
  display: grid;
  align-content: center;
  padding-top: 32px;
  padding-bottom: 32px;
}

.admin-login-panel {
  max-width: 680px;
  margin: 0 auto;
  padding: 42px;
}

.admin-login-form {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.admin-field {
  display: grid;
  gap: 8px;
}

.admin-field span {
  font-weight: 800;
  color: var(--ink);
}

.admin-field input {
  min-height: 54px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0 16px;
  color: var(--ink);
  font: inherit;
}

.admin-error {
  border-radius: 14px;
  background: #fff2ed;
  border: 1px solid #ffcab9;
  color: #a53a17;
  padding: 14px 16px;
  font-weight: 700;
}

.admin-submit {
  width: 100%;
}

.stat-card,
.mini-card,
.feature-card,
.step-card,
.price-card,
.info-card,
.dashboard-card,
.panel {
  border-radius: var(--radius-lg);
  background: var(--surface-strong);
  border: 1px solid var(--line);
}

.stat-card {
  padding: 18px 18px 16px;
  background: rgba(255, 255, 255, 0.8);
}

.stat-card strong {
  display: block;
  font-size: 1.9rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.stat-card span {
  color: var(--muted);
  font-size: 0.94rem;
}

.hero-card {
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(17, 181, 124, 0.08), rgba(255, 255, 255, 0.98)),
    #fff;
}

.map-card {
  padding: 0;
  overflow: hidden;
  min-height: 280px;
}

.map-visual {
  height: 100%;
  min-height: 280px;
  position: relative;
  background:
    linear-gradient(135deg, rgba(17, 181, 124, 0.16), rgba(255, 204, 77, 0.1)),
    repeating-linear-gradient(
      90deg,
      rgba(18, 32, 39, 0.04),
      rgba(18, 32, 39, 0.04) 1px,
      transparent 1px,
      transparent 64px
    ),
    repeating-linear-gradient(
      0deg,
      rgba(18, 32, 39, 0.04),
      rgba(18, 32, 39, 0.04) 1px,
      transparent 1px,
      transparent 64px
    ),
    #eff5ed;
}

.map-visual::before,
.map-visual::after {
  content: "";
  position: absolute;
  border-radius: 999px;
}

.map-visual::before {
  width: 220px;
  height: 220px;
  top: 24px;
  right: 28px;
  background: rgba(17, 181, 124, 0.12);
}

.map-visual::after {
  width: 110px;
  height: 110px;
  bottom: 24px;
  left: 28px;
  background: rgba(255, 204, 77, 0.2);
}

.route-line {
  position: absolute;
  inset: 18% 14%;
}

.route-line svg {
  width: 100%;
  height: 100%;
}

.pin {
  position: absolute;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 5px solid #fff;
  box-shadow: 0 8px 20px rgba(18, 32, 39, 0.16);
}

.pin-start {
  top: 30%;
  left: 18%;
  background: #11b57c;
}

.pin-end {
  right: 22%;
  bottom: 26%;
  background: #122027;
}

.fare-chip,
.status-chip,
.seat-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
}

.fare-chip {
  background: var(--accent-soft);
  color: #8a6200;
}

.status-chip {
  background: var(--brand-soft);
  color: var(--brand-deep);
}

.seat-chip {
  background: rgba(18, 32, 39, 0.08);
  color: #122027;
}

.trust {
  padding: 24px 0 4px;
}

.trust-row {
  grid-template-columns: repeat(4, 1fr);
}

.trust-item {
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(22, 32, 39, 0.06);
  color: #34444d;
  font-weight: 700;
}

.section {
  padding: 42px 0;
}

.section-title {
  grid-template-columns: 1fr auto;
  align-items: end;
  margin-bottom: 20px;
}

.section-title h2 {
  margin: 10px 0 0;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.section-kicker {
  color: var(--muted);
  font-weight: 700;
}

.feature-grid {
  grid-template-columns: repeat(3, 1fr);
}

.feature-card,
.step-card,
.price-card,
.info-card,
.dashboard-card {
  padding: 26px;
}

.feature-card h3,
.step-card h3,
.price-card h3,
.info-card h3,
.dashboard-card h3 {
  margin: 14px 0 10px;
  font-size: 1.3rem;
}

.feature-icon,
.step-number {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

.feature-icon {
  background: var(--brand-soft);
  color: var(--brand-deep);
}

.step-number {
  background: #122027;
  color: #fff;
}

.steps-grid {
  grid-template-columns: repeat(4, 1fr);
}

.pricing-grid {
  grid-template-columns: repeat(3, 1fr);
}

.price-card.featured {
  background: linear-gradient(180deg, #122027, #152930);
  color: #fff;
}

.price-card.featured p,
.price-card.featured .price-note {
  color: rgba(255, 255, 255, 0.76);
}

.price-pill {
  display: inline-flex;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  align-items: center;
  background: rgba(17, 181, 124, 0.12);
  color: var(--brand-deep);
  font-weight: 800;
}

.price-card.featured .price-pill {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.price {
  margin: 16px 0 8px;
  font-size: 2.4rem;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.price-note {
  color: var(--muted);
}

.cta-band {
  padding: 0 0 56px;
}

.cta-strip {
  grid-template-columns: 1.2fr 0.8fr;
  padding: 34px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #122027, #1a343d 55%, #0b8b5f);
  color: #fff;
  align-items: center;
}

.cta-strip h2 {
  margin: 10px 0 10px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.cta-strip p {
  color: rgba(255, 255, 255, 0.76);
  max-width: 52ch;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: end;
}

.site-footer {
  padding: 0 0 48px;
}

.footer-grid {
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 26px 28px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--muted);
  font-weight: 700;
  justify-content: end;
}

.page-shell {
  padding: 28px 0 54px;
}

.page-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
  color: var(--muted);
  font-weight: 700;
}

.page-top a {
  color: #22313a;
}

.simple-grid {
  grid-template-columns: 1.15fr 0.85fr;
}

.booking-grid {
  grid-template-columns: 1.05fr 0.95fr;
}

.operator-grid {
  grid-template-columns: repeat(3, 1fr);
}

.page-panel,
.booking-panel,
.operator-panel {
  padding: 30px;
}

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

.field-span {
  grid-column: span 2;
}

.booking-form label,
.stack-form label {
  display: block;
  font-weight: 800;
  color: #24343c;
}

.booking-form input,
.booking-form select,
.stack-form input,
.stack-form select {
  width: 100%;
  margin-top: 8px;
  min-height: 54px;
  padding: 0 16px;
  border-radius: 16px;
  border: 1px solid rgba(22, 32, 39, 0.12);
  background: #fff;
  font: inherit;
  color: var(--ink);
}

.list,
.check-list,
.module-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.list li,
.check-list li,
.module-list li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(22, 32, 39, 0.08);
}

.list li:last-child,
.check-list li:last-child,
.module-list li:last-child {
  border-bottom: 0;
}

.api-block,
code {
  display: block;
  padding: 14px 16px;
  border-radius: 16px;
  background: #122027;
  color: #d9fdea;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  overflow-wrap: anywhere;
}

.mini-card h3,
.mini-card h4,
.hero-card h3 {
  margin: 10px 0 8px;
}

.mini-card {
  padding: 18px;
}

.dark-panel {
  background: linear-gradient(180deg, #122027, #1a2e35);
  color: #fff;
}

.dark-panel p,
.dark-panel li,
.dark-panel .operator-kicker {
  color: rgba(255, 255, 255, 0.76);
}

.dashboard-card .dashboard-value {
  display: block;
  margin-top: 18px;
  font-size: 2.1rem;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.osm-shell {
  margin-top: 22px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(22, 32, 39, 0.08);
  min-height: 420px;
  background: #edf5f1;
}

.osm-shell iframe {
  width: 100%;
  min-height: 420px;
  border: 0;
}

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

@media (max-width: 960px) {
  .site-header .container,
  .hero-layout,
  .feature-grid,
  .steps-grid,
  .pricing-grid,
  .trust-row,
  .simple-grid,
  .booking-grid,
  .operator-grid,
  .cta-strip,
  .footer-grid,
  .section-title,
  .stat-row {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }

  .hero-copy,
  .hero-aside,
  .page-panel,
  .booking-panel,
  .operator-panel {
    padding: 26px;
  }

  .hero-actions {
    grid-auto-flow: row;
  }

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

  .field-span {
    grid-column: span 1;
  }

  .cta-actions,
  .footer-links {
    justify-content: start;
  }
}
