/* Route 25 marketing site — self-contained styles (no CDN). */

:root {
  color-scheme: dark;

  --bg0: #05060a;
  --bg1: #0b1024;
  --ink: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.68);
  --faint: rgba(255, 255, 255, 0.12);
  --fainter: rgba(255, 255, 255, 0.08);
  --card: rgba(255, 255, 255, 0.06);

  --accentA: #6f7dff;
  --accentB: #8a5dff;
  --accentC: #58c7ff;

  --radius-lg: 28px;
  --radius-md: 18px;

  --shadow-soft: 0 18px 70px rgba(0, 0, 0, 0.55);
  --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.35);

  --content: 1100px;
  --gutter: clamp(18px, 4vw, 34px);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--ink);
  background: linear-gradient(180deg, var(--bg0), var(--bg1));
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(1200px 600px at 20% -10%, rgba(111, 125, 255, 0.22), transparent 60%),
    radial-gradient(900px 600px at 85% 8%, rgba(88, 199, 255, 0.16), transparent 55%),
    radial-gradient(900px 700px at 55% 85%, rgba(138, 93, 255, 0.16), transparent 55%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
  background-repeat: no-repeat;
  background-size: cover;
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.45); text-underline-offset: 4px; }

.container {
  width: 100%;
  max-width: var(--content);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transform: translateY(-150%);
  transition: transform 160ms ease;
  z-index: 1000;
}
.skip-link:focus { transform: translateY(0); outline: none; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 6, 10, 0.62);
  backdrop-filter: blur(16px);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px var(--gutter);
  max-width: var(--content);
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.brand img { width: 34px; height: 34px; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,0.4); }
.brand span { font-weight: 700; letter-spacing: -0.02em; }

.nav {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav a {
  font-size: 13px;
  color: var(--muted);
  padding: 10px 10px;
  border-radius: 999px;
}
.nav a:hover {
  color: var(--ink);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.06);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 650;
  font-size: 13px;
  letter-spacing: -0.01em;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
  white-space: nowrap;
}
.button:hover { text-decoration: none; background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.2); transform: translateY(-1px); }
.button.primary {
  border: 0;
  background: linear-gradient(90deg, rgba(111, 125, 255, 0.92), rgba(138, 93, 255, 0.92));
  box-shadow: 0 16px 50px rgba(111, 125, 255, 0.22);
}
.button.primary:hover { background: linear-gradient(90deg, rgba(111, 125, 255, 1), rgba(138, 93, 255, 1)); }

.hero {
  padding: clamp(54px, 8vw, 92px) 0 44px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(26px, 4vw, 40px);
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.pulse {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(88, 199, 255, 0.95);
  box-shadow: 0 0 0 0 rgba(88, 199, 255, 0.55);
  animation: pulse 1.7s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(88, 199, 255, 0.55); }
  70% { box-shadow: 0 0 0 14px rgba(88, 199, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(88, 199, 255, 0); }
}

h1 {
  font-size: clamp(40px, 5.2vw, 66px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  margin: 16px 0 12px;
}
.lead {
  font-size: clamp(16px, 1.7vw, 18px);
  line-height: 1.55;
  color: var(--muted);
  max-width: 52ch;
  margin: 0;
}
.hero-actions {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.note {
  margin-top: 14px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  max-width: 70ch;
}

.card {
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: var(--shadow-card);
}

.teaser {
  padding: 18px;
  position: relative;
  overflow: hidden;
}
.teaser::before {
  content: "";
  position: absolute;
  inset: -2px;
  background:
    radial-gradient(800px 260px at 40% -20%, rgba(88, 199, 255, 0.22), transparent 70%),
    radial-gradient(700px 240px at 75% 115%, rgba(138, 93, 255, 0.20), transparent 65%);
  opacity: 0.9;
  pointer-events: none;
}
.teaser-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.video {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.25);
  aspect-ratio: 16 / 9;
}
.video iframe { width: 100%; height: 100%; border: 0; }

.form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.input {
  flex: 1;
  min-width: min(320px, 100%);
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(10, 12, 24, 0.75);
  color: var(--ink);
  outline: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0);
}
.input::placeholder { color: rgba(255, 255, 255, 0.46); }
.input:focus {
  border-color: rgba(111, 125, 255, 0.55);
  box-shadow: inset 0 0 0 1px rgba(111, 125, 255, 0.25), 0 0 0 6px rgba(111, 125, 255, 0.18);
}
.submit {
  padding: 12px 16px;
  border-radius: 14px;
  border: 0;
  color: #070812;
  font-weight: 750;
  letter-spacing: -0.01em;
  background: linear-gradient(90deg, rgba(88, 199, 255, 0.98), rgba(111, 125, 255, 0.98), rgba(138, 93, 255, 0.98));
  box-shadow: 0 18px 60px rgba(111, 125, 255, 0.22);
  cursor: pointer;
}
.submit:hover { filter: brightness(1.03); }

.section {
  padding: clamp(56px, 7.2vw, 96px) 0;
}
.section-title {
  font-size: clamp(26px, 3vw, 34px);
  letter-spacing: -0.03em;
  margin: 0 0 10px;
}
.section-subtitle {
  margin: 0;
  color: var(--muted);
  max-width: 70ch;
  line-height: 1.6;
}

.story {
  padding-top: 10px;
}
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(18px, 3.5vw, 36px);
  align-items: start;
}
.story-sticky {
  position: sticky;
  top: 88px;
  padding-top: 10px;
}
.story-steps {
  display: grid;
  gap: 18px;
}

.feature-step {
  padding: 22px 22px 20px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 14px 50px rgba(0,0,0,0.26);
  min-height: 62vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.feature-step h3 {
  margin: 0 0 10px;
  letter-spacing: -0.02em;
  font-size: 22px;
}
.feature-step p { margin: 0; color: var(--muted); line-height: 1.6; }
.feature-step ul { margin: 14px 0 0; padding-left: 18px; color: rgba(255, 255, 255, 0.76); line-height: 1.6; }
.feature-step li { margin: 6px 0; }
.feature-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
  margin-bottom: 10px;
}
.feature-kicker .dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(111, 125, 255, 0.95);
  box-shadow: 0 0 0 8px rgba(111, 125, 255, 0.10);
}

.phone {
  width: min(520px, 100%);
  margin: 0 auto;
  aspect-ratio: 1284 / 2778;
  position: relative;
  border-radius: 50px;
  padding: 10px;
  background: linear-gradient(180deg, rgba(255,255,255,0.16), rgba(255,255,255,0.07));
  border: 1px solid rgba(255, 255, 255, 0.20);
  box-shadow: var(--shadow-soft);
}
.phone::after {
  content: "";
  position: absolute;
  inset: -18px -18px -22px -18px;
  background:
    radial-gradient(400px 240px at 40% 20%, rgba(88, 199, 255, 0.12), transparent 65%),
    radial-gradient(450px 280px at 70% 80%, rgba(138, 93, 255, 0.14), transparent 65%);
  filter: blur(14px);
  opacity: 0.9;
  z-index: 0;
}
.phone-screen {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 38px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transform: translateZ(0);
}

.screen-img {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 420ms ease;
}
.screen-img.active { opacity: 1; }

.phone--sm {
  width: min(280px, 100%);
  aspect-ratio: 12 / 25;
  padding: 6px;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.55);
}
.phone--sm::after { display: none; }
.phone--sm .phone-screen {
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(0, 0, 0, 0.25);
  border-radius: 26px;
}
.phone--sm .phone-screen img {
  filter: drop-shadow(0 22px 60px rgba(0, 0, 0, 0.52));
  transform: translateZ(0) scale(1.10);
}

.shot {
  width: min(560px, 100%);
  margin: 0 auto;
  aspect-ratio: 9 / 16;
  position: relative;
}
.shot-stage {
  position: absolute;
  inset: 0;
}
.shot .screen-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 22px 60px rgba(0, 0, 0, 0.62));
}

.gallery {
  margin-top: 26px;
  position: relative;
}
.gallery-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(230px, 300px);
  gap: 16px;
  overflow-x: auto;
  padding: 12px 4px 18px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.gallery-track::-webkit-scrollbar { height: 10px; }
.gallery-track::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.14); border-radius: 999px; }
.gallery-item { scroll-snap-align: start; }
.gallery-controls {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
  margin-top: 10px;
}
.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  cursor: pointer;
}
.icon-btn:hover { background: rgba(255, 255, 255, 0.10); }

.cta {
  margin-top: 18px;
}
.cta-card {
  padding: clamp(22px, 3vw, 30px);
}

footer {
  padding: 26px 0 40px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}
.footer-inner {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.footer-links {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}
.social-link { display: inline-flex; align-items: center; }
.social-link:hover { text-decoration: none; }
.social-link svg { width: 18px; height: 18px; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(10, 12, 24, 0.72);
  backdrop-filter: blur(16px);
  color: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-card);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease, transform 220ms ease;
  z-index: 100;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(-4px); }

/* Legal pages */
.prose h1 {
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: -0.03em;
  margin: 0 0 8px;
}
.prose h2 { font-size: 18px; margin: 26px 0 10px; letter-spacing: -0.015em; }
.prose p, .prose li { color: rgba(255, 255, 255, 0.78); line-height: 1.7; }
.prose a { color: rgba(88, 199, 255, 0.95); }
.prose a:hover { text-decoration-color: rgba(88, 199, 255, 0.55); }

/* Reveal animation */
[data-reveal] { opacity: 0; transform: translateY(10px); transition: opacity 500ms ease, transform 500ms ease; }
[data-reveal].revealed { opacity: 1; transform: translateY(0); }

@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .story-grid { grid-template-columns: 1fr; }
  .story-sticky { position: relative; top: auto; }
  .feature-step { min-height: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pulse { animation: none; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .screen-img { transition: none; }
  .button { transition: none; }
}
