/*
 * Summet — Landing Page Stylesheet
 *
 * Table of Contents
 * ──────────────────────────────────────────────────────────────────────────
 *  1.  Custom Properties (Design Tokens)
 *  2.  Reset & Base
 *  3.  Typography
 *  4.  Layout Utilities
 *  5.  Buttons
 *  6.  Badges / Tags
 *  7.  Section Header Pattern
 *  8.  Navigation
 *  9.  Hero
 * 10.  App Mockup (hero decoration)
 * 11.  Features
 * 12.  How It Works
 * 13.  Testimonials
 * 14.  Waitlist / Newsletter
 * 15.  Footer
 * 16.  Animations & Transitions
 * 17.  Responsive
 * ──────────────────────────────────────────────────────────────────────────
 */


/* ══════════════════════════════════════════════════════════════════════════
   1. Custom Properties
   ══════════════════════════════════════════════════════════════════════════ */

:root {
  /* Backgrounds — layered from deepest to most elevated */
  --bg-base:     #08080b;
  --bg-surface:  #0d0d12;
  --bg-elevated: #131318;
  --bg-raised:   #1a1a22;
  --bg-overlay:  #22222e;

  /* Brand accent — warm orange (sunrise on granite) */
  --accent:          #f97316;
  --accent-light:    #fb923c;
  --accent-dark:     #ea580c;
  --accent-glow:     rgba(249, 115, 22, 0.18);
  --accent-glow-sm:  rgba(249, 115, 22, 0.10);

  /* Secondary accent — sky blue (outdoor climbing sky) */
  --sky:      #38bdf8;
  --sky-glow: rgba(56, 189, 248, 0.12);

  /* Success / error states */
  --success:      #4ade80;
  --success-bg:   rgba(74, 222, 128, 0.10);
  --error:        #f87171;
  --error-bg:     rgba(248, 113, 113, 0.10);

  /* Borders */
  --border-subtle:  rgba(255, 255, 255, 0.06);
  --border-default: rgba(255, 255, 255, 0.10);
  --border-strong:  rgba(255, 255, 255, 0.18);
  --border-accent:  rgba(249, 115, 22, 0.30);

  /* Text */
  --text-1: #f0f0f4;
  --text-2: #9090a4;
  --text-3: #54546a;

  /* Typography */
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;

  /* Radii */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 28px;
  --r-full: 9999px;

  /* Shadows */
  --shadow-sm:   0 1px 4px rgba(0,0,0,0.5);
  --shadow-md:   0 4px 20px rgba(0,0,0,0.55), 0 1px 4px rgba(0,0,0,0.4);
  --shadow-lg:   0 8px 40px rgba(0,0,0,0.6),  0 2px 8px rgba(0,0,0,0.4);
  --shadow-glow: 0 0 48px rgba(249, 115, 22, 0.22);

  /* Transitions */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --t-fast: 150ms var(--ease);
  --t-base: 250ms var(--ease);
  --t-slow: 400ms var(--ease);

  /* Layout */
  --container-max: 1140px;
  --container-pad: clamp(1.25rem, 5vw, 2.5rem);
  --section-gap:   clamp(4.5rem, 8vw, 7rem);

  /* Z-index layers */
  --z-base:    0;
  --z-raised:  10;
  --z-nav:     100;
  --z-modal:   200;
}


/* ══════════════════════════════════════════════════════════════════════════
   2. Reset & Base
   ══════════════════════════════════════════════════════════════════════════ */

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

html {
  scroll-behavior: smooth;
  /* Offset anchor targets so sticky nav doesn't cover headings */
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font);
  background-color: var(--bg-surface);
  color: var(--text-1);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol { list-style: none; }

/* Focus ring — visible only on keyboard navigation */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

/* Utility: visually hidden but accessible to screen readers */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* ══════════════════════════════════════════════════════════════════════════
   3. Typography
   ══════════════════════════════════════════════════════════════════════════ */

h1, h2, h3, h4 {
  color: var(--text-1);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 800;
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.75rem); }
h3 { font-size: 1.1rem; font-weight: 700; letter-spacing: -0.01em; }

p { color: var(--text-2); line-height: 1.75; }

/* Gradient text — used on hero headline accent word */
.gradient-text {
  background: linear-gradient(130deg, var(--accent-light) 0%, var(--accent) 50%, var(--accent-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}


/* ══════════════════════════════════════════════════════════════════════════
   4. Layout Utilities
   ══════════════════════════════════════════════════════════════════════════ */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

/* Standard section spacing */
.section {
  padding-block: var(--section-gap);
  position: relative;
}

/* Thin divider between sections */
.section + .section {
  border-top: 1px solid var(--border-subtle);
}


/* ══════════════════════════════════════════════════════════════════════════
   5. Buttons
   ══════════════════════════════════════════════════════════════════════════ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--r-md);
  transition: background var(--t-base), color var(--t-base),
              border-color var(--t-base), transform var(--t-fast),
              box-shadow var(--t-base), opacity var(--t-fast);
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.btn:active { transform: translateY(1px); }

/* Primary — orange fill */
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3), 0 0 0 1px rgba(249,115,22,0.4);
}
.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(249,115,22,0.35);
}
.btn-primary:focus-visible {
  outline-color: var(--accent-light);
}

/* Large variant */
.btn-lg {
  padding: 0.8rem 2rem;
  font-size: 1rem;
  border-radius: var(--r-lg);
}

/* Ghost — border only */
.btn-ghost {
  background: transparent;
  color: var(--text-2);
  border: 1px solid var(--border-default);
}
.btn-ghost:hover {
  color: var(--text-1);
  border-color: var(--border-strong);
  background: rgba(255,255,255,0.04);
  transform: translateY(-2px);
}

/* Loading state — shown via JS */
.btn[aria-busy="true"] {
  pointer-events: none;
  opacity: 0.7;
}

/* Spinner inside the submit button */
.btn-spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
.btn[aria-busy="true"] .btn-text { opacity: 0.6; }
.btn[aria-busy="true"] .btn-spinner { display: block; }


/* ══════════════════════════════════════════════════════════════════════════
   6. Badges / Tags
   ══════════════════════════════════════════════════════════════════════════ */

/* Small pill label (hero badge, section tag) */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--accent-glow-sm);
  color: var(--accent-light);
  border: 1px solid var(--border-accent);
  padding: 0.3rem 0.85rem;
  border-radius: var(--r-full);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Animated pulse dot inside hero badge */
.badge::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

.section-tag {
  display: inline-block;
  background: var(--accent-glow-sm);
  color: var(--accent);
  border: 1px solid var(--border-accent);
  padding: 0.28rem 0.85rem;
  border-radius: var(--r-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}


/* ══════════════════════════════════════════════════════════════════════════
   7. Section Header Pattern
   ══════════════════════════════════════════════════════════════════════════ */

.section-header {
  text-align: center;
  max-width: 620px;
  margin-inline: auto;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-header h2 {
  margin-bottom: 0.9rem;
}

.section-header p {
  font-size: 1.05rem;
  line-height: 1.75;
}


/* ══════════════════════════════════════════════════════════════════════════
   8. Navigation
   ══════════════════════════════════════════════════════════════════════════ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  /* Transparent by default; JS adds .navbar--scrolled when user scrolls */
  background: transparent;
  transition: background var(--t-base), border-color var(--t-base),
              box-shadow var(--t-base);
  border-bottom: 1px solid transparent;
}

/* Applied by JS when page is scrolled */
.navbar--scrolled {
  background: rgba(13, 13, 18, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border-subtle);
  box-shadow: 0 1px 24px rgba(0,0,0,0.4);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

/* Logo mark */
.navbar__logo {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text-1);
  transition: opacity var(--t-fast);
}
.navbar__logo:hover { opacity: 0.85; }

.navbar__logo img {
  height: 42px;
  width: auto;
  display: block;
}

.logo-icon {
  color: var(--accent);
  font-size: 1.1rem;
  line-height: 1;
}

/* Nav links */
.navbar__nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  padding: 0.4rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-2);
  border-radius: var(--r-sm);
  transition: color var(--t-fast), background var(--t-fast);
}
.nav-link:hover {
  color: var(--text-1);
  background: rgba(255,255,255,0.05);
}

/* CTA nav item */
.nav-link--cta {
  background: var(--accent-glow-sm);
  color: var(--accent-light) !important;
  border: 1px solid var(--border-accent);
  margin-left: 0.5rem;
}
.nav-link--cta:hover {
  background: var(--accent-glow);
  color: var(--accent-light) !important;
}

/* Mobile hamburger */
.navbar__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  gap: 5px;
  border-radius: var(--r-sm);
  transition: background var(--t-fast);
}
.navbar__toggle:hover { background: rgba(255,255,255,0.06); }

.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-2);
  border-radius: 2px;
  transition: transform var(--t-base), opacity var(--t-base);
}
.hamburger { position: relative; }
.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  left: 0;
}
.hamburger::before { top: -6px; }
.hamburger::after  { top:  6px; }

/* Animated X when mobile nav is open */
.navbar__toggle[aria-expanded="true"] .hamburger { background: transparent; }
.navbar__toggle[aria-expanded="true"] .hamburger::before {
  transform: translateY(6px) rotate(45deg);
}
.navbar__toggle[aria-expanded="true"] .hamburger::after {
  transform: translateY(-6px) rotate(-45deg);
}


/* ══════════════════════════════════════════════════════════════════════════
   9. Hero
   ══════════════════════════════════════════════════════════════════════════ */

.hero {
  /* Full viewport height, accounting for navbar */
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-block: 7rem 4rem;
  position: relative;
  overflow: hidden;
}

/* Two-column layout: copy left, visual right */
.hero__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}

.hero__content {
  position: relative;
  z-index: var(--z-raised);
}

.hero__badge {
  margin-bottom: 1.75rem;
}

.hero__headline {
  font-size: clamp(2.6rem, 5vw, 3.9rem);
  margin-bottom: 1.25rem;
  line-height: 1.1;
}

.hero__subhead {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-2);
  max-width: 500px;
  margin-bottom: 2.5rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 3rem;
}

/* Social proof stat row */
.hero__stats {
  display: flex;
  gap: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

.stat__number {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-1);
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.stat__label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-3);
  font-weight: 500;
  margin-top: 0.2rem;
}

/* Right-column visual */
.hero__visual {
  position: relative;
  z-index: var(--z-raised);
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Ambient background glows */
.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: var(--z-base);
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

/* Warm orange glow — top right */
.hero__glow--1 {
  width: 55vw;
  height: 55vw;
  max-width: 700px;
  max-height: 700px;
  top: -25%;
  right: -15%;
  background: radial-gradient(circle, rgba(249,115,22,0.14) 0%, transparent 70%);
}

/* Cool sky glow — bottom left */
.hero__glow--2 {
  width: 40vw;
  height: 40vw;
  max-width: 500px;
  max-height: 500px;
  bottom: -20%;
  left: -10%;
  background: radial-gradient(circle, rgba(56,189,248,0.08) 0%, transparent 70%);
}


/* ══════════════════════════════════════════════════════════════════════════
   10. App Mockup (hero right-column decoration)
   ══════════════════════════════════════════════════════════════════════════ */

.app-mockup {
  position: relative;
  width: 100%;
  max-width: 380px;
}

/* Slight tilt for visual interest */
.mockup-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-default);
  border-radius: var(--r-xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  transform: rotate(2deg);
  transition: transform var(--t-slow);
}
.mockup-card:hover { transform: rotate(0.5deg) translateY(-4px); }

/* Second card peeking behind */
.mockup-card--behind {
  position: absolute;
  top: -18px;
  left: 18px;
  right: -18px;
  bottom: 18px;
  background: var(--bg-raised);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-xl);
  z-index: -1;
  transform: rotate(-1.5deg);
}

.mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.mockup-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-1);
  letter-spacing: -0.01em;
}

.mockup-subtitle {
  font-size: 0.72rem;
  color: var(--text-3);
  margin-top: 0.1rem;
}

.mockup-date {
  font-size: 0.7rem;
  color: var(--text-3);
  background: var(--bg-raised);
  padding: 0.2rem 0.55rem;
  border-radius: var(--r-full);
  border: 1px solid var(--border-subtle);
}

/* Route log rows */
.route-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 1.25rem;
}

.route-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.75rem;
  background: var(--bg-raised);
  border-radius: var(--r-md);
  border: 1px solid var(--border-subtle);
}

.grade-pill {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.18rem 0.5rem;
  border-radius: var(--r-full);
  letter-spacing: 0.03em;
  min-width: 36px;
  text-align: center;
}

/* Grade color tiers */
.grade-pill--green  { background: rgba(74,222,128,0.15); color: #4ade80; }
.grade-pill--teal   { background: rgba(45,212,191,0.15); color: #2dd4bf; }
.grade-pill--sky    { background: rgba(56,189,248,0.15); color: #38bdf8; }
.grade-pill--orange { background: rgba(249,115,22,0.15); color: #fb923c; }
.grade-pill--red    { background: rgba(248,113,113,0.15); color: #f87171; }

.route-style {
  font-size: 0.75rem;
  color: var(--text-2);
  flex: 1;
}

.route-status {
  font-size: 0.7rem;
  font-weight: 600;
}
.route-status--sent    { color: var(--success); }
.route-status--project { color: var(--text-3); }

/* Mini stats bar at bottom of mockup */
.mockup-stats {
  border-top: 1px solid var(--border-subtle);
  padding-top: 1rem;
  display: flex;
  gap: 1rem;
}

.mockup-stat {
  flex: 1;
  text-align: center;
}

.mockup-stat-val {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-1);
  display: block;
  letter-spacing: -0.03em;
}

.mockup-stat-label {
  font-size: 0.65rem;
  color: var(--text-3);
  display: block;
  margin-top: 0.1rem;
}

/* Progress bar */
.progress-bar-wrap {
  margin-top: 0.7rem;
}

.progress-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  color: var(--text-3);
  margin-bottom: 0.3rem;
}

.progress-bar {
  height: 4px;
  background: var(--bg-overlay);
  border-radius: var(--r-full);
  overflow: hidden;
}

.progress-bar__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-dark), var(--accent));
  border-radius: var(--r-full);
  /* Width set inline in HTML */
}


/* ══════════════════════════════════════════════════════════════════════════
   11. Features
   ══════════════════════════════════════════════════════════════════════════ */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.feature-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  transition: border-color var(--t-base), background var(--t-base),
              transform var(--t-base), box-shadow var(--t-base);
}

.feature-card:hover {
  background: var(--bg-raised);
  border-color: var(--border-default);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-glow-sm);
  border: 1px solid var(--border-accent);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  color: var(--accent);
  flex-shrink: 0;
}

.feature-card h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--text-2);
}


/* ══════════════════════════════════════════════════════════════════════════
   12. How It Works
   ══════════════════════════════════════════════════════════════════════════ */

.hiw {
  background: var(--bg-elevated);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  position: relative;
}

/* Connecting line between steps */
.steps::before {
  content: "";
  position: absolute;
  top: 30px;
  left: calc(100% / 6);
  right: calc(100% / 6);
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    var(--border-default) 20%,
    var(--border-default) 80%,
    transparent
  );
  z-index: 0;
}

.step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  transition: border-color var(--t-base), transform var(--t-base);
}

.step:hover {
  border-color: var(--border-accent);
  transform: translateY(-3px);
}

.step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: var(--bg-raised);
  border: 1px solid var(--border-accent);
  border-radius: 50%;
  font-size: 1rem;
  font-weight: 800;
  color: var(--accent);
  margin: 0 auto 1.25rem;
  letter-spacing: -0.02em;
}

.step h3 {
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
}

.step p {
  font-size: 0.875rem;
  line-height: 1.7;
}


/* ══════════════════════════════════════════════════════════════════════════
   13. Testimonials
   ══════════════════════════════════════════════════════════════════════════ */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.testimonial-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: border-color var(--t-base), transform var(--t-base);
}

.testimonial-card:hover {
  border-color: var(--border-default);
  transform: translateY(-3px);
}

/* Star rating */
.stars {
  display: flex;
  gap: 2px;
  color: var(--accent);
  font-size: 0.85rem;
}

.testimonial-card blockquote {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--text-2);
  flex: 1;
}

.testimonial-card blockquote::before {
  content: "\201C"; /* Left double quotation mark */
  font-size: 2.5rem;
  line-height: 0.5;
  color: var(--accent-glow);
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 800;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Avatar placeholder — colored initial */
.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-raised);
  border: 1px solid var(--border-default);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
}

.author-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-1);
  display: block;
}

.author-meta {
  font-size: 0.75rem;
  color: var(--text-3);
  display: block;
  margin-top: 0.1rem;
}


/* ══════════════════════════════════════════════════════════════════════════
   14. Waitlist / Newsletter
   ══════════════════════════════════════════════════════════════════════════ */

.waitlist {
  background: var(--bg-base);
  position: relative;
  overflow: hidden;
}

/* Large background glow behind the form */
.waitlist::before {
  content: "";
  position: absolute;
  width: 60vw;
  height: 60vw;
  max-width: 800px;
  max-height: 800px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(249,115,22,0.07) 0%, transparent 65%);
  pointer-events: none;
}

.waitlist__inner {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin-inline: auto;
  text-align: center;
}

.waitlist__inner h2 {
  margin-bottom: 0.9rem;
}

.waitlist__inner > p {
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
  color: var(--text-2);
}

/* Form layout */
.newsletter-form .form-row {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 0.85rem;
}

.newsletter-form input[type="email"] {
  flex: 1;
  background: var(--bg-elevated);
  border: 1px solid var(--border-default);
  border-radius: var(--r-md);
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-family: var(--font);
  color: var(--text-1);
  transition: border-color var(--t-fast), box-shadow var(--t-fast),
              background var(--t-fast);
  min-width: 0; /* prevents overflow in flex */
}

.newsletter-form input[type="email"]::placeholder {
  color: var(--text-3);
}

.newsletter-form input[type="email"]:hover {
  border-color: var(--border-strong);
  background: var(--bg-raised);
}

.newsletter-form input[type="email"]:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow-sm);
  background: var(--bg-raised);
}

/* Input error state */
.newsletter-form input[type="email"].input--error {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgba(248,113,113,0.12);
}

/* Status message below the form */
#form-status {
  min-height: 1.4rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--r-sm);
  padding: 0;
  transition: opacity var(--t-base), transform var(--t-base);
}

#form-status:empty { display: none; }

#form-status.status--success {
  color: var(--success);
  background: var(--success-bg);
  border: 1px solid rgba(74,222,128,0.2);
  padding: 0.6rem 1rem;
}

#form-status.status--error {
  color: var(--error);
  background: var(--error-bg);
  border: 1px solid rgba(248,113,113,0.2);
  padding: 0.6rem 1rem;
}

.waitlist__note {
  font-size: 0.78rem;
  color: var(--text-3);
  margin-top: 0.9rem;
}


/* ══════════════════════════════════════════════════════════════════════════
   15. Footer
   ══════════════════════════════════════════════════════════════════════════ */

.footer {
  background: var(--bg-base);
  border-top: 1px solid var(--border-subtle);
  padding-top: 3.5rem;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.footer__brand .navbar__logo {
  margin-bottom: 0.85rem;
}

.footer__brand .navbar__logo img {
  height: 52px;
}

.footer__brand p {
  font-size: 0.875rem;
  color: var(--text-3);
  max-width: 220px;
  line-height: 1.65;
}

.footer__col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-1);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 1rem;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer__col ul li a {
  font-size: 0.875rem;
  color: var(--text-3);
  transition: color var(--t-fast);
}
.footer__col ul li a:hover { color: var(--text-1); }

/* Bottom bar */
.footer__bottom {
  border-top: 1px solid var(--border-subtle);
  padding-block: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer__bottom p {
  font-size: 0.8rem;
  color: var(--text-3);
}


/* ══════════════════════════════════════════════════════════════════════════
   16. Animations & Transitions
   ══════════════════════════════════════════════════════════════════════════ */

/* Spin — used by the button loading spinner */
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Pulsing dot in the hero badge */
@keyframes pulse-dot {
  0%, 100% { opacity: 1;   transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.8); }
}

/* Fade + slide-up — applied to .animate-on-scroll elements before they
   enter the viewport; the 'is-visible' class triggers the transition.
   The JS IntersectionObserver adds 'is-visible' when the element scrolls in. */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--t-slow), transform var(--t-slow);
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delay helpers — applied to children in JS or inline */
.stagger-1 { transition-delay: 80ms;  }
.stagger-2 { transition-delay: 160ms; }
.stagger-3 { transition-delay: 240ms; }
.stagger-4 { transition-delay: 320ms; }
.stagger-5 { transition-delay: 400ms; }
.stagger-6 { transition-delay: 480ms; }


/* ══════════════════════════════════════════════════════════════════════════
   17. Responsive
   ══════════════════════════════════════════════════════════════════════════ */

/* ── Tablet (≤ 960px) ─────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .hero__layout {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__subhead   { margin-inline: auto; }
  .hero__actions   { justify-content: center; }
  .hero__stats     { justify-content: center; }
  .hero__visual    { display: none; } /* hide mockup on tablet/mobile */

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

  .footer__top {
    grid-template-columns: 1fr 1fr;
  }
  .footer__brand { grid-column: 1 / -1; }
}

/* ── Mobile (≤ 640px) ─────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .navbar__nav    { display: none; }
  .navbar__toggle { display: flex; }

  /* Mobile nav — full-width dropdown */
  .navbar__nav.is-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(13, 13, 18, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 1rem var(--container-pad) 1.5rem;
    gap: 0.25rem;
    box-shadow: var(--shadow-lg);
    z-index: calc(var(--z-nav) - 1);
  }

  .navbar__nav.is-open .nav-link {
    padding: 0.7rem 0.85rem;
    font-size: 1rem;
  }
  .navbar__nav.is-open .nav-link--cta { margin-left: 0; margin-top: 0.5rem; }

  .hero { min-height: auto; padding-block: 7rem 4rem; }
  .hero__stats { flex-wrap: wrap; gap: 1.5rem; }

  .features-grid         { grid-template-columns: 1fr; }
  .steps                 { grid-template-columns: 1fr; }
  .steps::before         { display: none; }
  .testimonials-grid     { grid-template-columns: 1fr; }

  .newsletter-form .form-row {
    flex-direction: column;
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ── Reduced motion — respect user preference ─────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .animate-on-scroll {
    opacity: 1;
    transform: none;
  }
}


/* ══════════════════════════════════════════════════════════════════════════
   18. Feature Card — Accent Variant
   First two feature cards carry a subtle accent border to visually
   signal that Route Discovery and Community are the lead features.
   ══════════════════════════════════════════════════════════════════════════ */

.feature-card--accent {
  border-color: var(--border-accent);
  background: linear-gradient(
    160deg,
    rgba(249, 115, 22, 0.04) 0%,
    var(--bg-elevated) 60%
  );
}

.feature-card--accent:hover {
  border-color: rgba(249, 115, 22, 0.45);
  background: linear-gradient(
    160deg,
    rgba(249, 115, 22, 0.07) 0%,
    var(--bg-raised) 60%
  );
}


/* ══════════════════════════════════════════════════════════════════════════
   19. Route Discovery Section
   Split two-column layout: copy + perk list on left, browse mockup right.
   ══════════════════════════════════════════════════════════════════════════ */

.discover {
  background: var(--bg-elevated);
}

/* Two-column grid — copy left, mockup right */
.discover__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.discover__copy {
  display: flex;
  flex-direction: column;
}

.discover__copy h2 {
  margin-bottom: 0.9rem;
}

.discover__copy > p {
  color: var(--text-2);
  margin-bottom: 2rem;
  font-size: 1.05rem;
  line-height: 1.75;
}

/* Three perk list items */
.discover__perks {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 0;
}

.discover__perk {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}

/* Small accent icon box */
.discover__perk-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  background: var(--accent-glow-sm);
  border: 1px solid var(--border-accent);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-top: 2px;
}

.discover__perk-text strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 0.2rem;
}

.discover__perk-text span {
  font-size: 0.8rem;
  color: var(--text-3);
  line-height: 1.65;
}

/* CTA button inside discover copy — overrides default btn alignment */
.discover__copy .btn {
  margin-top: 2rem;
  align-self: flex-start;
}


/* ── Browse Mockup ─────────────────────────────────────────────────────── */

/* Wrapper with a counter-clockwise tilt for visual interest */
.browse-mockup {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--r-xl);
  padding: 1.25rem;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  transform: rotate(-1.5deg);
  transition: transform var(--t-slow);
}

.browse-mockup:hover {
  transform: rotate(-0.5deg) translateY(-4px);
}

/* Search bar row */
.browse-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-raised);
  border: 1px solid var(--border-default);
  border-radius: var(--r-md);
  padding: 0.55rem 0.9rem;
  margin-bottom: 0.75rem;
  color: var(--text-2);
  font-size: 0.82rem;
}

.browse-search svg {
  color: var(--text-3);
  flex-shrink: 0;
}

.browse-search__arrow {
  margin-left: auto;
  color: var(--text-3);
  font-size: 0.7rem;
}

/* Filter pill row */
.browse-filters {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 0.85rem;
}

.filter-pill {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.2rem 0.65rem;
  border-radius: var(--r-full);
  border: 1px solid var(--border-default);
  color: var(--text-3);
  background: var(--bg-raised);
  cursor: default;
}

/* Active/selected filter state */
.filter-pill--active {
  background: var(--accent-glow-sm);
  color: var(--accent-light);
  border-color: var(--border-accent);
}

/* Route result list */
.browse-routes {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
}

.browse-route {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 0.75rem;
  background: var(--bg-elevated);
  border-radius: var(--r-md);
  border: 1px solid var(--border-subtle);
  transition: border-color var(--t-fast), background var(--t-fast);
}

.browse-route:hover {
  border-color: var(--border-default);
  background: var(--bg-raised);
}

/* Slightly highlighted row */
.browse-route--featured {
  border-color: var(--border-accent);
  background: linear-gradient(
    90deg,
    rgba(249, 115, 22, 0.04),
    var(--bg-elevated)
  );
}

.browse-route__grade {
  /* Reuses .grade-pill color classes from hero mockup */
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.18rem 0.5rem;
  border-radius: var(--r-full);
  min-width: 40px;
  text-align: center;
  flex-shrink: 0;
}

.browse-route__info {
  flex: 1;
  min-width: 0;
}

.browse-route__name {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.browse-route__area {
  display: block;
  font-size: 0.67rem;
  color: var(--text-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 0.1rem;
}

.browse-route__rating {
  font-size: 0.72rem;
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

/* Footer row showing nearby count */
.browse-footer {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.72rem;
  color: var(--text-3);
}

.browse-footer svg { color: var(--accent); }


/* ══════════════════════════════════════════════════════════════════════════
   20. Community Section
   Three pillar cards followed by a two-column testimonials row.
   ══════════════════════════════════════════════════════════════════════════ */

.community-section {
  background: var(--bg-base);
}

/* Three-column card grid */
.community-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 3rem;
}

/* Shares visual language with feature cards */
.community-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  transition: border-color var(--t-base), transform var(--t-base), box-shadow var(--t-base);
}

.community-card:hover {
  border-color: var(--border-default);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* Reuses .feature-icon and h3/p styles already defined */

/* Two-column testimonials layout */
.testimonials-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

/* .testimonial-card styles are already defined in section 13 above */


/* ══════════════════════════════════════════════════════════════════════════
   21. Footer — 3-column override
   User's updated footer has brand + product + legal (3 cols, not 4).
   Override the original 4-column grid defined in section 15.
   ══════════════════════════════════════════════════════════════════════════ */

.footer__top {
  grid-template-columns: 2fr 1fr 1fr;
}

/* Tagline in footer brand column */
.footer__brand p {
  font-size: 0.875rem;
  color: var(--text-3);
  line-height: 1.75;
  margin-top: 0.1rem;
}

/* Modal trigger links in footer — styled identically to regular footer links */
.modal-trigger {
  font-size: 0.875rem;
  color: var(--text-3);
  transition: color var(--t-fast);
  cursor: pointer;
}

.modal-trigger:hover {
  color: var(--text-1);
}


/* ══════════════════════════════════════════════════════════════════════════
   22. Modal System
   A single reusable overlay + dialog shell used for all three legal
   modals (Privacy, Terms, Cookies). ModalManager in main.js controls
   open/close state by toggling .is-open on the overlay.
   ══════════════════════════════════════════════════════════════════════════ */

/* Overlay — full-viewport backdrop */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--container-pad);

  /* Hidden state — use visibility so CSS transitions can work
     (display:none breaks transitions; visibility does not) */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--t-base), visibility var(--t-base);
}

/* Open state — toggled by ModalManager.open() */
.modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Dialog container */
.modal {
  background: var(--bg-elevated);
  border: 1px solid var(--border-default);
  border-radius: var(--r-xl);
  width: 100%;
  max-width: 680px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);

  /* Enter animation: slides up from slightly below */
  transform: translateY(20px) scale(0.97);
  transition: transform var(--t-base);
}

.modal-overlay.is-open .modal {
  transform: translateY(0) scale(1);
}

/* Header bar: title + close button */
.modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid var(--border-subtle);
  flex-shrink: 0;
}

.modal__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-1);
  letter-spacing: -0.02em;
}

/* Close button (×) */
.modal__close {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: var(--r-sm);
  color: var(--text-3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--t-fast), background var(--t-fast);
}

.modal__close:hover {
  color: var(--text-1);
  background: var(--bg-raised);
}

/* Scrollable body */
.modal__body {
  overflow-y: auto;
  padding: 1.75rem;
  flex: 1;
  -webkit-overflow-scrolling: touch;
  /* Custom scrollbar for dark theme */
  scrollbar-width: thin;
  scrollbar-color: var(--bg-raised) transparent;
}

.modal__body::-webkit-scrollbar { width: 6px; }
.modal__body::-webkit-scrollbar-track { background: transparent; }
.modal__body::-webkit-scrollbar-thumb {
  background: var(--bg-overlay);
  border-radius: var(--r-full);
}


/* ══════════════════════════════════════════════════════════════════════════
   23. Legal Content Typography
   Applied inside .modal__body > .legal-content. Designed to be readable
   at small size on a dark background.
   ══════════════════════════════════════════════════════════════════════════ */

.legal-content {
  font-size: 0.875rem;
  line-height: 1.75;
}

/* Effective date / metadata line */
.legal-effective {
  font-size: 0.78rem;
  color: var(--text-3);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
  display: block;
}

.legal-content h3 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-1);
  margin-top: 1.5rem;
  margin-bottom: 0.45rem;
  letter-spacing: 0;
  line-height: 1.4;
}

/* First heading needs no top margin */
.legal-content h3:first-of-type { margin-top: 0; }

.legal-content p {
  color: var(--text-2);
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
}

.legal-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 0.85rem;
}

.legal-content ul li {
  color: var(--text-2);
  margin-bottom: 0.3rem;
  font-size: 0.875rem;
}

.legal-content a {
  color: var(--accent-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-content a:hover { color: var(--accent); }


/* ══════════════════════════════════════════════════════════════════════════
   24. Responsive additions for new sections
   ══════════════════════════════════════════════════════════════════════════ */

/* ── Tablet (≤ 960px) ─────────────────────────────────────────────────── */
@media (max-width: 960px) {
  /* Discover section: collapse to single column, hide mockup */
  .discover__layout  { grid-template-columns: 1fr; }
  .discover__visual  { display: none; }
  .discover__copy .btn { align-self: center; }
  .discover__copy { text-align: center; }
  .discover__perk { text-align: left; }

  /* Community: 2-col cards on tablet */
  .community-cards   { grid-template-columns: repeat(2, 1fr); }

  /* Testimonials: single column on tablet */
  .testimonials-row  { grid-template-columns: 1fr; }

  /* Footer: 2-col override (brand full-width, then product + legal) */
  .footer__top {
    grid-template-columns: 1fr 1fr;
  }
  .footer__brand { grid-column: 1 / -1; }
}

/* ── Mobile (≤ 640px) ─────────────────────────────────────────────────── */
@media (max-width: 640px) {
  /* Community: single column */
  .community-cards { grid-template-columns: 1fr; }

  /* Modal: bottom-sheet style on mobile */
  .modal-overlay {
    align-items: flex-end;
    padding: 0;
  }

  .modal {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-left: none;
    border-right: none;
    border-bottom: none;
    max-height: 90vh;
  }

  /* Footer: single column */
  .footer__top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}


/* ══════════════════════════════════════════════════════════════════════════
   25. Honeypot & Admin Page
   Honeypot: visually hides the spam-trap input from real users.
   Admin: signup list view at /admin/<path> — reuses design tokens and layout
   utilities from the rest of this file.
   ══════════════════════════════════════════════════════════════════════════ */

/* ── Honeypot ──────────────────────────────────────────────────────────── */

/* Moves the honeypot wrapper completely off-screen without display:none,
   which would also hide it from bots. Real users never reach it because it
   is positioned far off the left edge and has tabindex="-1" on the input. */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  pointer-events: none;
}


/* ── Admin: header badge ───────────────────────────────────────────────── */

/* Orange pill that appears next to the logo in the admin navbar */
.admin-badge {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-glow-sm);
  border: 1px solid var(--border-accent);
  border-radius: var(--r-full);
  padding: 0.2rem 0.65rem;
}


/* ── Admin: page layout ────────────────────────────────────────────────── */

.admin-section {
  background: var(--bg-base);
  min-height: calc(100vh - 68px - 80px); /* fill viewport minus navbar + footer */
}

/* Scrollable wrapper prevents the table from breaking the page on narrow screens */
.admin-table-wrap {
  overflow-x: auto;
  border-radius: var(--r-lg);
  border: 1px solid var(--border-subtle);
  background: var(--bg-elevated);
  /* Custom scrollbar to match dark theme */
  scrollbar-width: thin;
  scrollbar-color: var(--bg-raised) transparent;
}

.admin-table-wrap::-webkit-scrollbar       { height: 6px; }
.admin-table-wrap::-webkit-scrollbar-track { background: transparent; }
.admin-table-wrap::-webkit-scrollbar-thumb {
  background: var(--bg-overlay);
  border-radius: var(--r-full);
}


/* ── Admin: data table ─────────────────────────────────────────────────── */

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.admin-table thead tr {
  border-bottom: 1px solid var(--border-default);
}

.admin-table th {
  padding: 0.8rem 1.25rem;
  text-align: left;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-3);
  white-space: nowrap;
}

.admin-table tbody tr {
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--t-fast);
}

.admin-table tbody tr:last-child {
  border-bottom: none;
}

.admin-table tbody tr:hover {
  background: var(--bg-raised);
}

.admin-table td {
  padding: 0.85rem 1.25rem;
  color: var(--text-2);
  white-space: nowrap;
}

/* Column-specific type treatments */
.admin-td--id     { color: var(--text-3); font-size: 0.78rem; width: 3rem; }
.admin-td--email  { color: var(--text-1); font-weight: 500; }
.admin-td--date   { color: var(--text-3); font-size: 0.82rem; }
.admin-td--source { color: var(--accent-light); font-size: 0.78rem; }
.admin-td--ip {
  font-family: ui-monospace, "Cascadia Code", "Source Code Pro", monospace;
  font-size: 0.78rem;
  color: var(--text-3);
  letter-spacing: 0.03em;
}

/* Empty state shown when no signups exist yet */
.admin-empty {
  text-align: center;
  padding: 4rem 1.25rem;
  color: var(--text-3);
  font-size: 1rem;
}

/* ── Admin responsive ──────────────────────────────────────────────────── */

@media (max-width: 640px) {
  /* Table cells can wrap on very small screens */
  .admin-table td,
  .admin-table th { padding: 0.65rem 0.9rem; }
}
