:root {
  --bg: #071019;
  --bg-soft: #0f1d2d;
  --bg-deep: #12253a;
  --panel: rgba(8, 17, 28, 0.82);
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(245, 158, 11, 0.42);
  --text: #f8fafc;
  --muted: #b8c4cf;
  --brand: #f59e0b;
  --brand-2: #14b8a6;
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.32);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.site-body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Manrope", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top right, rgba(245, 158, 11, 0.22), transparent 24%),
    radial-gradient(circle at bottom left, rgba(20, 184, 166, 0.18), transparent 28%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 54%, var(--bg-deep) 100%);
}

body.app-body {
  background:
    radial-gradient(circle at top left, rgba(20, 184, 166, 0.18), transparent 22%),
    radial-gradient(circle at bottom right, rgba(34, 197, 94, 0.12), transparent 24%),
    linear-gradient(180deg, #061019 0%, #102234 58%, #14293f 100%);
}

body.beta-body {
  background:
    radial-gradient(circle at top left, rgba(249, 115, 22, 0.18), transparent 24%),
    radial-gradient(circle at top right, rgba(244, 63, 94, 0.16), transparent 22%),
    linear-gradient(180deg, #1a0d0f 0%, #241722 52%, #152435 100%);
}

a {
  color: inherit;
}

.site-shell {
  width: min(1180px, calc(100% - 1.5rem));
  margin: 0 auto;
  padding: 1rem 0 4rem;
}

.site-header {
  position: sticky;
  top: 1rem;
  z-index: 40;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(5, 12, 20, 0.74);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 18px;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-weight: 800;
  color: #171717;
  background: linear-gradient(135deg, var(--brand), #fde047);
}

.brand-copy {
  display: grid;
  gap: 0.1rem;
}

.brand-copy strong {
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 1rem;
}

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

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.site-nav a {
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  text-decoration: none;
  color: var(--muted);
  border: 1px solid transparent;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.06);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: 1rem;
  margin-top: 1rem;
}

.hero-copy,
.signal-card,
.section,
.route-card,
.flow-card,
.package-card {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-copy {
  position: relative;
  overflow: hidden;
  padding: 1.5rem;
  border-radius: var(--radius-xl);
}

.hero-copy::after {
  content: "";
  position: absolute;
  inset: auto -10% -30% auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.22), transparent 70%);
  pointer-events: none;
}

.hero-stack {
  display: grid;
  gap: 1rem;
}

.eyebrow,
.plan-pill,
.signal-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: fit-content;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.78rem;
  font-weight: 800;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.07);
}

.eyebrow::before,
.plan-pill::before,
.signal-label::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Sora", "Segoe UI", sans-serif;
}

h1 {
  margin-top: 1rem;
  font-size: clamp(2.5rem, 6vw, 4.8rem);
  line-height: 0.96;
  max-width: 11ch;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

h3 {
  font-size: 1.2rem;
}

p {
  color: var(--muted);
  line-height: 1.68;
}

.lead {
  max-width: 60ch;
  margin: 1rem 0 0;
  font-size: 1.05rem;
}

.hero-actions,
.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.92rem 1.1rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  color: #141414;
  background: linear-gradient(135deg, #fde047, var(--brand));
}

.btn-secondary {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.08);
}

.btn-ghost {
  color: var(--muted);
  border-color: rgba(255, 255, 255, 0.08);
  background: transparent;
}

.btn-block {
  width: 100%;
}

.status-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1.4rem;
}

.status-strip > div,
.signal-card {
  padding: 1rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.06);
}

.status-strip strong,
.signal-card strong {
  display: block;
  margin-bottom: 0.35rem;
}

.signal-card p {
  margin-bottom: 0;
}

.signal-card-accent {
  border-color: rgba(20, 184, 166, 0.28);
  background:
    linear-gradient(180deg, rgba(20, 184, 166, 0.12), rgba(255, 255, 255, 0.04));
}

.section {
  margin-top: 1rem;
  padding: 1.3rem;
  border-radius: var(--radius-xl);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.section-note {
  max-width: 38ch;
  margin: 0;
}

.package-grid,
.route-grid,
.flow-grid,
.mini-grid {
  display: grid;
  gap: 1rem;
}

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

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

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

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

.package-card,
.route-card,
.flow-card {
  border-radius: var(--radius-lg);
  padding: 1.1rem;
}

.package-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.04));
}

.package-card-featured {
  border-color: var(--line-strong);
  transform: translateY(-3px);
}

.package-top {
  display: grid;
  gap: 0.7rem;
}

.price-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.price-chip {
  padding: 0.85rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
}

.price-chip span {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
}

.price-chip strong {
  display: block;
  margin-top: 0.35rem;
  font-size: 1.35rem;
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.feature-list li {
  position: relative;
  padding-left: 1rem;
  color: var(--muted);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}

.route-card,
.flow-card {
  background: rgba(255, 255, 255, 0.05);
}

.route-card strong,
.flow-card strong {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 1.1rem;
}

.route-card a {
  display: inline-flex;
  margin-top: 0.9rem;
  color: #fde68a;
  text-decoration: none;
  font-weight: 700;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  padding: 1.25rem 0 0.25rem;
}

.site-footer p {
  max-width: 48ch;
  margin: 0;
}

@media (max-width: 1100px) {
  .package-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 900px) {
  .hero-grid,
  .package-grid,
  .route-grid,
  .flow-grid,
  .mini-grid,
  .status-strip {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: 13ch;
  }
}

@media (max-width: 640px) {
  .site-shell {
    width: min(1180px, calc(100% - 1rem));
  }

  .site-header {
    border-radius: 24px;
  }

  .section,
  .hero-copy {
    padding: 1.1rem;
  }

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