@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Space+Grotesk:wght@300;400;500;600;700&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,300;1,400&display=swap');

:root {
  --bg-light: #FAF5F0;
  --bg-white: #FFFFFF;
  --bg-dark: #141414;
  --bg-dark-card: #1e1e1e;

  --text-dark: #1a1a1a;
  --text-body: #3d3d3d;
  --text-secondary: #6b6b6b;
  --text-muted: #9ca3af;
  --text-light: #f5f5f5;
  --text-light-muted: #888;

  --accent: #EA580C;
  --accent-hover: #F97316;
  --accent-light: #FFF3EB;
  --accent-glow: rgba(234,88,12,0.12);

  --border: rgba(0,0,0,0.08);
  --border-dark: rgba(255,255,255,0.1);

  --green: #16a34a;
  --green-bg: #dcfce7;
  --red: #dc2626;
  --red-bg: #fee2e2;
}

*,*::before,*::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', -apple-system, sans-serif;
  background: var(--bg-light);
  color: var(--text-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3 { color: var(--text-dark); line-height: 1.15; }
a { color: inherit; text-decoration: none; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 2rem; }

/* ============ NAV ============ */
.nav-wrapper {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,245,240,0.65);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.nav-wrapper.scrolled {
  background: rgba(250,245,240,0.85);
  box-shadow: 0 1px 12px rgba(0,0,0,0.04);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  max-width: 1140px;
  margin: 0 auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

.nav-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 1.4rem; color: var(--text-dark);
  display: flex; align-items: center; gap: 0.5rem;
  white-space: nowrap;
  text-decoration: none;
}

.beta-badge {
  font-size: 0.6rem; font-weight: 700;
  background: var(--accent); color: #fff;
  padding: 0.2rem 0.5rem; border-radius: 4px;
  text-transform: uppercase; letter-spacing: 0.08em;
  white-space: nowrap;
}

.nav-tagline {
  font-family: 'DM Serif Display', serif;
  font-style: italic; font-size: 0.9rem; color: var(--text-secondary);
}

.btn-nav {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600; font-size: 0.85rem;
  padding: 0.6rem 1.4rem;
  background: var(--text-dark); color: #fff;
  border: none; border-radius: 6px; cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.btn-nav:hover { background: #333; }

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

.nav-link {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem; font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
  text-decoration: none;
  white-space: nowrap;
}

.nav-link:hover, .active-nav-link { color: var(--text-dark); }

/* Dark nav variant (for feed page) */
.nav-dark {
  background: rgba(20,20,20,0.8) !important;
  border-bottom-color: rgba(255,255,255,0.06) !important;
}
.nav-dark .nav-link { color: rgba(255,255,255,0.5); }
.nav-dark .nav-link:hover, .nav-dark .active-nav-link { color: #fff; }
.nav-dark .btn-nav {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--text-light);
}
.nav-dark .btn-nav:hover { background: rgba(255,255,255,0.1); }

.btn-nav-outline {
  background: transparent !important;
  border: 1px solid rgba(255,255,255,0.2) !important;
  color: var(--text-light) !important;
}
.btn-nav-outline:hover { background: rgba(255,255,255,0.1) !important; }

@media (max-width: 768px) {
  nav { flex-wrap: wrap; gap: 0.75rem 0; padding-left: 1.25rem; padding-right: 1.25rem; }
  .nav-logo { flex: 1; }
  .nav-links { 
    display: flex; order: 3; width: 100%; 
    justify-content: center; gap: 1.25rem; 
    padding-top: 0.75rem; border-top: 1px solid rgba(0,0,0,0.06); 
    flex-wrap: wrap;
  }
  .nav-dark .nav-links { border-top-color: rgba(255,255,255,0.08); }
}

/* ============ LIVE BAR ============ */
.live-bar {
  display: flex; align-items: center; gap: 0.5rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--text-secondary); padding: 2.5rem 0 0;
}

.live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--red); display: inline-block;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,100% { opacity: 1; box-shadow: 0 0 0 0 rgba(220,38,38,0.4); }
  50% { opacity: 0.7; box-shadow: 0 0 0 4px rgba(220,38,38,0); }
}

/* ============ HERO ============ */
.hero { padding: 1rem 0 4rem; }

.hero-pretitle {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.15rem; color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.hero h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(3.5rem, 8vw, 5.5rem);
  font-weight: 400; letter-spacing: -0.02em;
  margin-bottom: 0.25rem; line-height: 1.05;
}

.hero h1 .accent-italic {
  color: var(--accent);
  font-style: italic;
  display: block;
}

.hero-desc {
  font-size: 1.1rem; color: var(--text-secondary);
  max-width: 500px; margin: 1.5rem 0 2.5rem; line-height: 1.65;
}

/* Inline email form */
.inline-form {
  display: flex; gap: 0; max-width: 560px;
}

.inline-form input {
  flex: 1;
  padding: 1rem 1.2rem;
  font-family: 'DM Sans', sans-serif; font-size: 0.95rem;
  border: 1px solid var(--border); border-right: none;
  border-radius: 8px 0 0 8px; background: var(--bg-white);
  color: var(--text-dark);
}
.inline-form input::placeholder { color: var(--text-muted); }
.inline-form input:focus { outline: none; border-color: var(--accent); }

.btn-cta {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600; font-size: 0.95rem;
  padding: 1rem 1.8rem; white-space: nowrap;
  background: var(--accent); color: #fff;
  border: none; border-radius: 0 8px 8px 0; cursor: pointer;
  transition: background 0.2s;
}
.btn-cta:hover { background: var(--accent-hover); }

/* Dual hero CTAs */
.hero-dual-cta {
  display: flex; gap: 1rem; flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.btn-cta-solid {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600; font-size: 0.95rem;
  padding: 1rem 2rem;
  background: var(--accent); color: #fff;
  border-radius: 8px; text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  display: inline-block;
}
.btn-cta-solid:hover { background: var(--accent-hover); transform: translateY(-2px); }

.btn-cta-ghost {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600; font-size: 0.95rem;
  padding: 1rem 2rem;
  background: transparent; color: var(--text-dark);
  border: 1.5px solid var(--border);
  border-radius: 8px; text-decoration: none;
  transition: all 0.2s;
  display: inline-block;
}
.btn-cta-ghost:hover { border-color: var(--accent); color: var(--accent); }

@media (max-width: 480px) {
  .hero-dual-cta { flex-direction: column; }
  .btn-cta-solid, .btn-cta-ghost { text-align: center; }
}

.form-trust {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.78rem; color: var(--text-muted);
  margin-top: 0.75rem;
  font-family: 'Space Grotesk', sans-serif;
}

/* Stats Row */
.stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2rem; padding: 4rem 0; margin-top: 2rem;
  border-top: 1px solid var(--border);
}

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

.stat-number {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text-dark); font-weight: 400;
}

.stat-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.65rem; text-transform: uppercase;
  letter-spacing: 0.14em; color: var(--text-muted); margin-top: 0.25rem;
}

/* ============ PROBLEMS SECTION ============ */
.section-light { background: var(--bg-light); padding: 6rem 0; }
.section-dark { background: var(--bg-dark); padding: 6rem 0; color: var(--text-light); }

.section-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--accent); display: flex; align-items: center; gap: 0.5rem;
  margin-bottom: 1rem;
}

.section-label .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.section-title-serif {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400; margin-bottom: 0.75rem;
}

.section-sub {
  font-size: 1rem; color: var(--text-secondary); margin-bottom: 3rem;
}

/* Problem Cards */
.problems-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.problem-card {
  background: var(--bg-white);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 16px;
  padding: 2rem 2.25rem;
  transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow:
    0 1px 2px rgba(0,0,0,0.03),
    0 4px 16px rgba(0,0,0,0.02);
  position: relative;
  overflow: hidden;
}

/* Subtle left accent on hover */
.problem-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: var(--accent);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 0 3px 3px 0;
}

.problem-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 8px 24px rgba(0,0,0,0.05),
    0 20px 48px rgba(0,0,0,0.04);
  border-color: rgba(234,88,12,0.15);
}

.problem-card:hover::before {
  opacity: 1;
}

.problem-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

.problem-id {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.72rem; color: var(--text-muted);
  letter-spacing: 0.06em;
  font-weight: 500;
}

.trend-badge {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.68rem; font-weight: 600;
  padding: 0.3rem 0.75rem; border-radius: 100px;
  display: inline-flex; align-items: center; gap: 0.35rem;
}
.trend-badge.up { background: var(--green-bg); color: var(--green); }
.trend-badge.critical { background: var(--red-bg); color: var(--red); }

.reported-by {
  font-size: 0.82rem; color: var(--text-secondary); margin-bottom: 1rem;
}
.reported-by strong { color: var(--text-dark); font-weight: 600; }

.problem-quote {
  font-family: 'DM Serif Display', serif;
  font-size: 1.05rem; color: var(--text-dark);
  line-height: 1.55; margin-bottom: 1.5rem;
  font-weight: 400;
}

.problem-footer {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 1rem;
  border-top: 1px solid rgba(0,0,0,0.04);
}

.tag-group { display: flex; gap: 0.5rem; flex-wrap: wrap; }

.tag {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.68rem; font-weight: 500;
  padding: 0.3rem 0.75rem;
  background: var(--bg-light);
  border: 1px solid rgba(0,0,0,0.06); border-radius: 6px;
  color: var(--text-secondary);
}

.urgency-badge {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.68rem; font-weight: 600;
  padding: 0.3rem 0.75rem; border-radius: 100px;
  display: inline-flex; align-items: center; gap: 0.35rem;
}
.urgency-badge.high { background: var(--green-bg); color: var(--green); }
.urgency-badge.very-high { background: var(--red-bg); color: var(--red); }

/* See-all link */
.see-all-wrap { text-align: center; margin-top: 3rem; }

.btn-see-all {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem; font-weight: 600;
  color: var(--accent); text-decoration: none;
  border: 1px solid rgba(234,88,12,0.25);
  padding: 0.8rem 2rem; border-radius: 8px;
  display: inline-block; transition: all 0.2s;
}
.btn-see-all:hover { background: var(--accent-light); }

.see-feed-link {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem; font-weight: 600;
  color: var(--accent); text-decoration: none;
  transition: opacity 0.2s; white-space: nowrap;
}
.see-feed-link:hover { opacity: 0.7; }

/* Why GRIPR block */
.why-gripr {
  max-width: 720px; margin: 0 auto; text-align: center;
}

.why-quote {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 400; color: var(--text-light);
  line-height: 1.3; margin: 2rem 0 1.5rem;
  border: none; padding: 0;
}

.why-quote em { color: var(--accent); font-style: italic; }

.why-body {
  font-size: 1rem; color: var(--text-light-muted);
  line-height: 1.7; max-width: 560px; margin: 0 auto;
}

/* ============ HOW IT WORKS (DARK) ============ */
.how-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 3rem; gap: 4rem;
}
.how-header h2 { color: var(--text-light); max-width: 500px; }
.how-header p { color: var(--text-light-muted); max-width: 300px; text-align: right; font-size: 0.95rem; }

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

.how-card {
  background: var(--bg-white);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  color: var(--text-dark);
  transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
  box-shadow:
    0 1px 2px rgba(0,0,0,0.04),
    0 4px 16px rgba(0,0,0,0.03);
}

.how-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.how-card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 12px 32px rgba(0,0,0,0.08),
    0 24px 56px rgba(0,0,0,0.06);
}

.how-card:hover::before { opacity: 1; }

.how-step {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.7rem; color: var(--text-muted); margin-bottom: 1.5rem;
  font-weight: 500; letter-spacing: 0.05em;
}

.how-icon {
  font-size: 1.5rem; margin-bottom: 1rem; color: var(--accent);
}

.how-card h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.25rem; font-weight: 400; margin-bottom: 0.75rem;
}

.how-card p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.55; }

/* ============ COMPARISON TABLE (DARK) ============ */
.comparison-table {
  width: 100%; border-collapse: collapse; margin-top: 3rem;
}
.comparison-table th, .comparison-table td {
  text-align: left; padding: 1rem 1.5rem;
  font-family: 'DM Sans', sans-serif; font-size: 0.9rem;
  border-bottom: 1px solid var(--border-dark);
}
.comparison-table th {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600; font-size: 0.85rem;
  color: var(--text-light-muted);
}
.comparison-table th:first-child { color: transparent; }

.comparison-table .gripr-col {
  background: rgba(234,88,12,0.08);
  color: var(--text-light); font-weight: 500;
}
.comparison-table .gripr-header {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; color: var(--accent); font-size: 1rem;
  border-bottom: 2px solid var(--accent);
}
.comparison-table .other-col { color: var(--text-light-muted); }
.comparison-table .row-label {
  color: var(--text-light-muted); font-size: 0.85rem;
}

/* ============ EARLY ACCESS (SPLIT) ============ */
.early-access-split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: start; padding: 6rem 0;
}

.ea-left h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 400; margin-bottom: 0.25rem;
}
.ea-left .accent-italic {
  font-family: 'DM Serif Display', serif;
  font-style: italic; color: var(--accent);
  font-size: clamp(2rem, 4vw, 2.8rem); display: block; margin-bottom: 1.5rem;
}

.ea-left p { color: var(--text-secondary); margin-bottom: 1.5rem; line-height: 1.6; }

.ea-urgency {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem; font-weight: 600; color: var(--accent);
  margin-bottom: 2rem;
}

.ea-features { list-style: none; }
.ea-features li {
  font-size: 0.95rem; padding: 0.4rem 0;
  display: flex; align-items: center; gap: 0.75rem;
  color: var(--text-body);
}

/* Right form card */
.ea-form-card {
  background: var(--bg-white); border: 1px solid var(--border);
  border-radius: 16px; padding: 2rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.04);
}

.ea-progress-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 0.5rem;
}
.ea-progress-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--text-muted);
}
.ea-progress-count {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem; font-weight: 700; color: var(--accent);
}
.ea-progress-bar {
  height: 4px; background: #eee; border-radius: 100px;
  overflow: hidden; margin-bottom: 0.4rem;
}
.ea-progress-fill { height: 100%; width: 68%; background: var(--accent); border-radius: 100px; }
.ea-progress-sub {
  font-size: 0.7rem; color: var(--text-muted); margin-bottom: 1.5rem;
}

.ea-form-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem; font-weight: 700; margin-bottom: 0.3rem;
  color: var(--text-dark);
}
.ea-form-card .form-sub { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 1.25rem; }

.ea-form-card input[type="email"] {
  width: 100%; padding: 0.9rem 1rem;
  font-family: 'DM Sans', sans-serif; font-size: 0.9rem;
  border: 1px solid var(--border); border-radius: 8px;
  background: var(--bg-white); color: var(--text-dark);
  margin-bottom: 0.75rem;
}
.ea-form-card input:focus { outline: none; border-color: var(--accent); }

.btn-cta-full {
  width: 100%; padding: 0.9rem;
  font-family: 'Space Grotesk', sans-serif; font-weight: 600;
  font-size: 0.95rem; background: var(--accent); color: #fff;
  border: none; border-radius: 8px; cursor: pointer;
  transition: background 0.2s;
}
.btn-cta-full:hover { background: var(--accent-hover); }

.ea-form-trust {
  display: flex; gap: 1rem; margin-top: 0.75rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.7rem; color: var(--text-muted);
}

/* ============ FINAL CTA (DARK) ============ */
.final-cta {
  text-align: center; padding: 6rem 2rem;
}
.final-cta h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: var(--text-light); font-weight: 400; margin-bottom: 0.25rem;
}
.final-cta .accent-italic {
  font-family: 'DM Serif Display', serif;
  font-style: italic; color: var(--accent);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  display: block; margin-bottom: 2rem;
}
.final-cta p { color: var(--text-light-muted); max-width: 500px; margin: 0 auto 2.5rem; font-size: 0.95rem; }

.btn-cta-round {
  font-family: 'Space Grotesk', sans-serif; font-weight: 600;
  font-size: 1rem; padding: 1rem 2.5rem;
  background: var(--accent); color: #fff;
  border: none; border-radius: 8px; cursor: pointer;
  display: inline-block; transition: background 0.2s;
}
.btn-cta-round:hover { background: var(--accent-hover); }

.final-trust {
  font-size: 0.75rem; color: var(--text-light-muted);
  margin-top: 1rem;
  font-family: 'Space Grotesk', sans-serif;
}

/* ============ FOOTER ============ */
footer {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 4rem 0; border-top: 1px solid rgba(255,255,255,0.06);
  font-family: 'Space Grotesk', sans-serif; font-size: 0.85rem;
}
.footer-left { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-right { text-align: right; display: flex; flex-direction: column; gap: 1rem; }

footer .footer-logo { font-weight: 700; font-size: 1.4rem; color: var(--text-light); }
footer .footer-tagline { font-family: 'DM Serif Display', serif; font-style: italic; color: var(--text-light-muted); font-size: 1rem; }
.copyright { color: var(--text-light-muted); font-size: 0.75rem; margin-top: 1rem; }

.footer-links { display: flex; gap: 1.5rem; justify-content: flex-end; }
.footer-links a { color: var(--text-light-muted); transition: color 0.2s; }
.footer-links a:hover { color: var(--accent); }
footer .footer-location { color: var(--text-light-muted); font-weight: 500; }

/* ============ ANIMATIONS ============ */
.fade-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* Ensure Hero elements are never hidden */
.hero .fade-in,
.hero h1,
.hero-desc,
.live-bar,
.hero-dual-cta,
.form-trust {
  opacity: 1 !important;
  transform: none !important;
}

/* ============ RESPONSIVE ============ */

/* Tablet & Small Laptop */
@media (max-width: 1024px) {
  .container { padding: 0 1.5rem; }
  .how-header { gap: 2rem; }
  .early-access-split { gap: 2.5rem; }
}

/* Mobile */
@media (max-width: 768px) {
  .container { padding: 0 1.5rem; }

  /* Nav */
  .nav-tagline { display: none; }
  nav { padding: 0.75rem 1.5rem; }
  .nav-logo { font-size: 1.2rem; }
  .btn-nav { font-size: 0.75rem; padding: 0.5rem 1rem; }

  /* Hero */
  .hero { padding: 2.5rem 0 2rem; text-align: center; }
  .hero h1 { font-size: 2.6rem; margin-bottom: 1rem; }
  .hero h1 .accent-italic { font-size: 2.6rem; display: block; }
  .hero-pretitle { font-size: 0.95rem; margin: 0 auto; }
  .hero-desc { font-size: 0.95rem; margin: 1rem auto 1.5rem; line-height: 1.5; }

  .live-bar { font-size: 0.62rem; margin-bottom: 1.25rem; justify-content: center; width: 100%; }

  /* Sleeker Hero Form on Mobile */
  .inline-form {
    flex-direction: column;
    gap: 0.5rem;
    background: transparent;
    border: none;
    padding: 0;
  }
  .inline-form input {
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
    text-align: center;
  }
  .btn-cta {
    border-radius: 8px;
    padding: 0.6rem;
    font-size: 0.95rem;
  }

  .form-trust {
    flex-direction: column;
    gap: 0.4rem;
    align-items: center;
    font-size: 0.75rem;
    margin-top: 1.25rem;
  }

  /* Stats */
  .stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1rem;
    padding: 3rem 0;
  }
  .stat-number { font-size: 2.2rem; }

  /* Section spacing */
  .section-light, .section-dark { padding: 5rem 0; }
  .section-title-serif { font-size: 2rem; }

  /* Problem cards */
  .problems-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .problem-card { padding: 1.75rem; }
  .problem-quote { font-size: 1.1rem; }
  .problem-footer { flex-direction: column; align-items: flex-start; gap: 0.75rem; }

  /* How It Works */
  .how-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .how-header {
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
  }
  .how-header h2 { font-size: 2.2rem; }
  .how-header p { text-align: left; max-width: 100%; }

  /* Comparison Table */
  .comparison-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    border-radius: 12px;
  }

  /* Early Access */
  .early-access-split {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 5rem 0;
  }
  .ea-left h2, .ea-left .accent-italic { font-size: 2.2rem; }
  .ea-form-card { padding: 2rem 1.5rem; }

  /* Final CTA */
  .final-cta h2, .final-cta .accent-italic { font-size: 2.2rem; }

  /* Footer */
  footer {
    flex-direction: column;
    gap: 2.5rem;
    text-align: left;
    padding: 4rem 0;
  }
  .footer-right { text-align: left; }
  .footer-links { justify-content: flex-start; }
}

/* Small phones */
@media (max-width: 480px) {
  .hero h1 { font-size: 2.4rem; }
  .hero h1 .accent-italic { font-size: 2.4rem; }
  .stat-number { font-size: 1.8rem; }
  .btn-cta-round { width: 100%; text-align: center; }
}


/* ==========================================================================
   GRIPR EXTENSIONS — Evidence-First Platform System (Phase 1)
   ========================================================================== */

/* Universal Focus Visibility */
*:focus-visible {
  outline: 2px solid var(--accent) !important;
  outline-offset: 3px !important;
}

/* Nav Mobile Toggle & Responsive Navigation */
.nav-mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 105;
  flex-direction: column;
  gap: 5px;
}

.nav-mobile-toggle .burger-bar {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--text-dark);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-dark .nav-mobile-toggle .burger-bar {
  background-color: var(--text-light);
}

.nav-link {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}

.nav-link:hover {
  color: var(--accent);
}

.nav-link.active-nav-link {
  color: var(--text-dark);
  font-weight: 600;
}

.nav-dark .nav-link {
  color: rgba(255, 255, 255, 0.7);
}

.nav-dark .nav-link:hover,
.nav-dark .nav-link.active-nav-link {
  color: #ffffff;
}

.nav-admin-pill {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.06);
  color: var(--text-dark);
  transition: all 0.2s;
}

.nav-dark .nav-admin-pill {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.85);
}

.nav-admin-pill:hover {
  background: var(--accent);
  color: #fff;
}

@media (max-width: 768px) {
  .nav-mobile-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 65px;
    left: 0;
    right: 0;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 2rem 2rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    box-shadow: 0 16px 32px rgba(0,0,0,0.08);
    display: none;
    z-index: 99;
  }

  .nav-dark .nav-links {
    background: #181818;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .nav-links.nav-links-open {
    display: flex;
  }
}

/* Evidence Verification Badges */
.evidence-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
}

.badge-verified {
  background: rgba(16, 185, 129, 0.12);
  color: #10B981;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.badge-triangulated {
  background: rgba(59, 130, 246, 0.12);
  color: #3B82F6;
  border: 1px solid rgba(59, 130, 246, 0.25);
}

.badge-emerging {
  background: rgba(245, 158, 11, 0.12);
  color: #F59E0B;
  border: 1px solid rgba(245, 158, 11, 0.25);
}

/* UI Toast System */
.gripr-toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}

.gripr-toast {
  pointer-events: auto;
  min-width: 280px;
  max-width: 440px;
  padding: 0.9rem 1.2rem;
  border-radius: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  animation: toastSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transition: opacity 0.25s, transform 0.25s;
}

.toast-fade-out {
  opacity: 0;
  transform: translateY(8px);
}

.toast-success {
  background: #064E3B;
  color: #ECFDF5;
  border: 1px solid #059669;
}

.toast-error {
  background: #7F1D1D;
  color: #FEF2F2;
  border: 1px solid #DC2626;
}

.toast-info {
  background: #1E1E1E;
  color: #F3F4F6;
  border: 1px solid rgba(255,255,255,0.15);
}

.toast-close {
  background: transparent;
  border: none;
  color: inherit;
  font-size: 1.2rem;
  cursor: pointer;
  margin-left: auto;
  line-height: 1;
}

@keyframes toastSlideIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Accessible Form Errors & Cues */
.form-group {
  margin-bottom: 1.5rem;
  position: relative;
}

.form-group.has-error .submit-input,
.form-group.has-error .submit-textarea,
.form-group.has-error .submit-select {
  border-color: #DC2626 !important;
  background-color: #FFF5F5;
}

.form-error-text {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  color: #DC2626;
  margin-top: 0.35rem;
  font-weight: 500;
}

.form-hint {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 0.3rem;
  line-height: 1.4;
}

/* Shimmer Loading Skeleton */
.skeleton-box {
  background: linear-gradient(90deg, rgba(255,255,255,0.03) 25%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.03) 75%);
  background-size: 200% 100%;
  animation: griprShimmer 1.5s infinite;
  border-radius: 6px;
}

@keyframes griprShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Submission Confirmation Card */
.confirmation-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 3rem 2.5rem;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0,0,0,0.04);
}

.confirmation-card .conf-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.5rem;
  font-weight: bold;
}

.confirmation-card h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
}

.confirmation-card .conf-tracking-badge {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.4rem 1rem;
  border-radius: 6px;
  background: rgba(234, 88, 12, 0.1);
  color: var(--accent);
  margin: 1rem 0 1.5rem;
  letter-spacing: 0.05em;
}

.confirmation-card .conf-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

/* Research Missions Grid */
.mission-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 900px) {
  .mission-grid {
    grid-template-columns: 1fr;
  }
}

.mission-card-package {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  position: sticky;
  top: 90px;
}

.mission-price {
  font-family: 'DM Serif Display', serif;
  font-size: 2.4rem;
  color: var(--accent);
  margin: 0.5rem 0 0.25rem;
}

.mission-feature-list {
  list-style: none;
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.mission-feature-list li {
  font-size: 0.9rem;
  color: var(--text-body);
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  line-height: 1.5;
}

.mission-feature-list li span.check {
  color: #10B981;
  font-weight: bold;
}


/* ==========================================================================
   B2B RESEARCH MISSIONS & WORKSPACE EXTENSIONS
   ========================================================================== */

/* Scoping Step Tracker */
.scoping-steps-bar {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  position: relative;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1rem;
}

.step-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.78rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
}

.step-indicator.active {
  color: var(--accent);
  font-weight: 700;
}

.step-indicator.completed {
  color: #10B981;
}

.step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid currentColor;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
}

.step-indicator.active .step-num {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.step-indicator.completed .step-num {
  background: #10B981;
  color: #fff;
  border-color: #10B981;
}

/* Mission Workspace Stages */
.stage-timeline {
  display: flex;
  gap: 0.5rem;
  margin: 1.5rem 0 2rem;
  flex-wrap: wrap;
}

.stage-pill {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.4rem 0.85rem;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.04);
  color: var(--text-secondary);
  border: 1px solid transparent;
}

.stage-pill.current {
  background: rgba(234, 88, 12, 0.12);
  color: var(--accent);
  border-color: rgba(234, 88, 12, 0.3);
}

.stage-pill.past {
  background: rgba(16, 185, 129, 0.1);
  color: #10B981;
}

.demo-state-switcher {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(234, 88, 12, 0.08);
  border: 1px solid rgba(234, 88, 12, 0.2);
  border-radius: 8px;
  padding: 0.6rem 1rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  margin-bottom: 2rem;
}

.demo-state-switcher select {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  border: 1px solid var(--accent);
  background: #fff;
  color: var(--text-dark);
}

/* Decision Brief Styles */
.recommendation-banner {
  border-radius: 14px;
  padding: 2.5rem;
  margin: 2.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.rec-reject {
  background: #FEF2F2;
  border: 2px solid #EF4444;
  color: #991B1B;
}

.rec-investigate {
  background: #FFFBEB;
  border: 2px solid #F59E0B;
  color: #92400E;
}

.rec-pilot {
  background: #ECFDF5;
  border: 2px solid #10B981;
  color: #065F46;
}

.rec-badge {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.35rem 0.85rem;
  border-radius: 6px;
  align-self: flex-start;
}

.rec-reject .rec-badge { background: #DC2626; color: #fff; }
.rec-investigate .rec-badge { background: #D97706; color: #fff; }
.rec-pilot .rec-badge { background: #059669; color: #fff; }

.traceable-session-tag {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.06);
  color: var(--text-dark);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.traceable-session-tag:hover {
  background: var(--accent);
  color: #fff;
}

.divergence-card {
  background: #fff;
  border: 1px solid var(--border);
  border-left: 4px solid #F59E0B;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}

.ai-interpretation-box {
  background: #F8FAFC;
  border: 1px solid #CBD5E1;
  border-radius: 12px;
  padding: 2rem;
  margin: 3rem 0;
  position: relative;
}

.ai-badge {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: #475569;
  color: #fff;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 0.75rem;
}
