/* ============================================================
   SPLIT -- landing.css
   Marketing page only.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600&family=Inter+Tight:wght@400;500;600;700&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body.landing-body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
  overflow-x: hidden;
}

.ln-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.ln-section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-strong);
  margin-bottom: 12px;
}

.ln-section-title .accent { color: var(--accent); }

.ln-section-sub {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.65;
  margin-bottom: 48px;
}

/* nav */
.ln-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,14,21,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.ln-nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  height: 60px; display: flex; align-items: center;
  justify-content: space-between; gap: 24px;
}
.ln-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.ln-logo-mark svg { display: block; }
.ln-logo-wordmark { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--text-strong); letter-spacing: -0.02em; }
.ln-nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.ln-nav-links a { text-decoration: none; font-size: 13px; font-weight: 500; color: var(--text-muted); letter-spacing: 0.5px; transition: color 150ms; }
.ln-nav-links a:hover { color: var(--text); }
.ln-nav-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.ln-btn-login { background: transparent; border: 1px solid var(--border-strong); color: var(--text-muted); font-family: var(--font-body); font-size: 13px; font-weight: 600; padding: 8px 18px; cursor: pointer; transition: border-color 150ms, color 150ms; text-decoration: none; display: inline-block; }
.ln-btn-login:hover { border-color: var(--text-muted); color: var(--text); }
.ln-btn-cta { background: var(--accent); border: none; color: #0A0E15; font-family: var(--font-body); font-size: 13px; font-weight: 700; padding: 9px 20px; cursor: pointer; transition: background 150ms; text-decoration: none; display: inline-block; letter-spacing: 0.2px; }
.ln-btn-cta:hover { background: var(--accent-hover); }
.ln-nav-hamburger { display: none; background: none; border: none; cursor: pointer; padding: 4px; color: var(--text-muted); }
.ln-mobile-menu { display: none; background: var(--surface); border-bottom: 1px solid var(--border); padding: 16px 24px; }
.ln-mobile-menu.open { display: block; }
.ln-mobile-menu a, .ln-mobile-menu button { display: block; padding: 12px 0; font-size: 15px; font-weight: 500; color: var(--text); text-decoration: none; border-bottom: 1px solid var(--border); background: none; border-left: none; border-right: none; border-top: none; cursor: pointer; width: 100%; text-align: left; font-family: var(--font-body); }
.ln-mobile-menu a:last-child, .ln-mobile-menu button:last-child { border-bottom: none; }

/* hero */
.ln-hero { position: relative; min-height: calc(100vh - 60px); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 80px 24px 64px; overflow: hidden; }
.ln-hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.ln-hero-bg-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(228,178,26,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(228,178,26,0.04) 1px, transparent 1px); background-size: 60px 60px; }
.ln-hero-bg-glow { position: absolute; width: 800px; height: 400px; top: 50%; left: 50%; transform: translate(-50%,-55%); background: radial-gradient(ellipse at center, rgba(228,178,26,0.07) 0%, transparent 70%); }
.ln-hero-bars { position: absolute; bottom: 0; left: 0; right: 0; height: 50%; display: flex; align-items: flex-end; justify-content: center; gap: 3px; padding: 0 8vw; opacity: 0.15; }
.ln-hero-bar { flex: 1; max-width: 36px; background: linear-gradient(0deg, rgba(228,178,26,0.6) 0%, rgba(228,178,26,0.1) 100%); border-top: 1px solid rgba(228,178,26,0.5); }
.ln-speed-lines { position: absolute; top: 0; left: 0; right: 0; bottom: 0; pointer-events: none; }
.ln-speed-line { position: absolute; height: 1px; background: linear-gradient(90deg, transparent, rgba(228,178,26,0.3), transparent); animation: ln-streak 3s ease-in-out infinite; }
@keyframes ln-streak { 0% { transform: translateX(-100%); opacity: 0; } 20% { opacity: 1; } 80% { opacity: 0.5; } 100% { transform: translateX(100%); opacity: 0; } }
.ln-speed-line:nth-child(1) { top: 22%; width: 40%; left: 10%; animation-delay: 0s; animation-duration: 4s; }
.ln-speed-line:nth-child(2) { top: 38%; width: 30%; left: 60%; animation-delay: 1.2s; animation-duration: 3.5s; }
.ln-speed-line:nth-child(3) { top: 55%; width: 50%; left: 5%; animation-delay: 2.1s; animation-duration: 5s; }
.ln-speed-line:nth-child(4) { top: 70%; width: 25%; left: 40%; animation-delay: 0.7s; animation-duration: 3.8s; }
.ln-speed-line:nth-child(5) { top: 82%; width: 35%; left: 55%; animation-delay: 1.8s; animation-duration: 4.2s; }
.ln-hero-content { position: relative; z-index: 10; max-width: 860px; }
.ln-hero-title { font-family: var(--font-display); font-size: clamp(48px, 8vw, 96px); font-weight: 700; line-height: 1.0; letter-spacing: -0.02em; color: var(--text-strong); margin-bottom: 20px; }
.ln-hero-title .accent { color: var(--accent); }
.ln-hero-sub { font-size: clamp(15px, 2vw, 18px); color: var(--text-muted); line-height: 1.65; max-width: 560px; margin: 0 auto 36px; }
.ln-hero-actions { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 56px; }
.ln-btn-hero-primary { background: var(--accent); border: none; color: #0A0E15; font-family: var(--font-body); font-size: 15px; font-weight: 700; padding: 14px 32px; cursor: pointer; transition: background 150ms, box-shadow 150ms; text-decoration: none; display: inline-block; letter-spacing: 0.3px; }
.ln-btn-hero-primary:hover { background: var(--accent-hover); box-shadow: 0 0 24px rgba(228,178,26,0.3); }
.ln-btn-hero-secondary { background: transparent; border: 1px solid var(--border-strong); color: var(--text-muted); font-family: var(--font-body); font-size: 15px; font-weight: 600; padding: 14px 32px; cursor: pointer; transition: border-color 150ms, color 150ms; text-decoration: none; display: inline-block; }
.ln-btn-hero-secondary:hover { border-color: var(--text-muted); color: var(--text); }

/* trust strip */
.ln-trust { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 24px; font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--text-subtle); }
.ln-trust-sep { width: 1px; height: 14px; background: var(--border-strong); }
.ln-trust-item { display: flex; align-items: center; gap: 6px; }

/* section wrapper */
.ln-section { max-width: 1200px; margin: 0 auto; padding: 96px 24px; }
.ln-section-center { text-align: center; }
.ln-section-center .ln-section-sub { margin-left: auto; margin-right: auto; }

/* counter strip */
.ln-counter-strip { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.ln-counter-inner { max-width: 1200px; margin: 0 auto; padding: 40px 24px; display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--border); }
.ln-counter-item { background: var(--surface); padding: 24px 32px; text-align: center; }
.ln-counter-num { font-family: var(--font-display); font-size: clamp(32px,4vw,48px); font-weight: 700; color: var(--accent); letter-spacing: -0.02em; line-height: 1.1; }
.ln-counter-lbl { font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--text-subtle); margin-top: 6px; }

/* feature grid */
.ln-feature-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--border); }
.ln-feature-card { background: var(--surface); padding: 32px; position: relative; transition: background 200ms; }
.ln-feature-card:hover { background: var(--surface-2); }
.ln-feature-icon { width: 44px; height: 44px; background: var(--accent-soft); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; color: var(--accent); }
.ln-feature-title { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--text-strong); margin-bottom: 10px; }
.ln-feature-desc { font-size: 14px; color: var(--text-muted); line-height: 1.65; margin-bottom: 16px; }
.ln-feature-bullets { list-style: none; font-size: 13px; color: var(--text-subtle); display: flex; flex-direction: column; gap: 6px; }
.ln-feature-bullets li { display: flex; align-items: flex-start; gap: 8px; }
.ln-feature-bullets li::before { content: ''; display: inline-block; width: 4px; height: 4px; background: var(--accent); margin-top: 6px; flex-shrink: 0; }
.ln-mockup { margin-bottom: 24px; border: 1px solid var(--border); overflow: hidden; background: var(--bg); }
.ln-mockup svg { display: block; width: 100%; height: auto; }

/* why section */
.ln-why { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.ln-why-inner { max-width: 1200px; margin: 0 auto; padding: 96px 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.ln-why-lede { font-size: 15px; color: var(--text-muted); line-height: 1.75; margin-bottom: 36px; }
.ln-why-points { display: flex; flex-direction: column; gap: 24px; }
.ln-why-point { display: flex; gap: 16px; align-items: flex-start; }
.ln-why-point-icon { width: 36px; height: 36px; background: var(--accent-soft); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--accent); }
.ln-why-point-body b { display: block; font-size: 14px; font-weight: 600; color: var(--text-strong); margin-bottom: 4px; }
.ln-why-point-body span { font-size: 13px; color: var(--text-muted); line-height: 1.6; }
.ln-why-cta { display: inline-block; margin-top: 32px; font-size: 13px; font-weight: 600; color: var(--accent); text-decoration: none; letter-spacing: 0.3px; border-bottom: 1px solid var(--accent-dim); padding-bottom: 2px; transition: border-color 150ms; }
.ln-why-cta:hover { border-color: var(--accent); }
.ln-stack-compare { display: flex; gap: 20px; align-items: center; }
.ln-stack { flex: 1; }
.ln-stack-label { font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--text-subtle); margin-bottom: 12px; }
.ln-stack-items { display: flex; flex-direction: column; gap: 4px; margin-bottom: 12px; }
.ln-stack-bill { background: var(--surface-2); border: 1px solid var(--border); padding: 10px 14px; font-size: 12px; font-weight: 600; color: var(--text-subtle); display: flex; align-items: center; justify-content: space-between; }
.ln-stack-bill-hero { background: var(--surface-3); border-color: var(--accent-dim); padding: 16px 14px; color: var(--text-strong); }
.ln-split-word { font-family: var(--font-display); font-size: 28px; font-weight: 700; color: var(--text-strong); line-height: 1; }
.ln-split-sub { font-size: 11px; color: var(--text-subtle); margin-top: 4px; letter-spacing: 0.5px; }
.ln-stack-arrow { color: var(--text-subtle); font-size: 20px; flex-shrink: 0; }
.ln-stack-sub { font-size: 11px; color: var(--text-subtle); line-height: 1.5; }

/* pricing */
.ln-pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); max-width: 840px; margin: 0 auto; }
.ln-price-card { background: var(--surface); padding: 40px; position: relative; }
.ln-price-card.premium { background: var(--surface-2); border-top: 3px solid var(--accent); }
.ln-price-badge { display: inline-block; background: var(--accent); color: #0A0E15; font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; padding: 4px 10px; margin-bottom: 16px; }
.ln-price-tier { font-family: var(--font-display); font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--text-subtle); margin-bottom: 12px; }
.ln-price-amount { font-family: var(--font-display); font-size: clamp(40px,5vw,56px); font-weight: 700; color: var(--text-strong); line-height: 1; margin-bottom: 6px; }
.ln-price-period { font-family: var(--font-body); font-size: 14px; font-weight: 400; color: var(--text-subtle); margin-left: 4px; }
.ln-price-sub { font-size: 13px; color: var(--text-muted); margin-bottom: 28px; line-height: 1.5; }
.ln-price-features { list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 13px; color: var(--text-muted); margin-bottom: 32px; }
.ln-price-features li { display: flex; align-items: flex-start; gap: 10px; line-height: 1.4; }
.ln-price-features li::before { content: ''; display: inline-block; width: 14px; height: 14px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpolyline points='2,7 5.5,10.5 12,3' fill='none' stroke='%23E4B21A' stroke-width='1.8' stroke-linecap='square'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: contain; flex-shrink: 0; margin-top: 1px; }
.ln-price-features li.muted { color: var(--text-subtle); opacity: 0.55; }
.ln-price-features li.muted::before { opacity: 0.4; }
.ln-btn-price { width: 100%; background: var(--surface-3); border: 1px solid var(--border-strong); color: var(--text); font-family: var(--font-body); font-size: 14px; font-weight: 700; padding: 14px; cursor: pointer; transition: background 150ms, border-color 150ms; letter-spacing: 0.3px; }
.ln-btn-price:hover { background: var(--surface-hover); border-color: var(--text-muted); }
.ln-price-card.premium .ln-btn-price { background: var(--accent); border-color: var(--accent); color: #0A0E15; }
.ln-price-card.premium .ln-btn-price:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.ln-pricing-footnote { text-align: center; margin-top: 24px; font-size: 12px; color: var(--text-subtle); }

/* FAQ */
.ln-faq { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 0; }
.ln-faq-item { border-bottom: 1px solid var(--border); }
.ln-faq-item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; cursor: pointer; font-size: 15px; font-weight: 600; color: var(--text-strong); user-select: none; }
.ln-faq-item summary::-webkit-details-marker { display: none; }
.ln-faq-icon { flex-shrink: 0; width: 20px; height: 20px; color: var(--accent); transition: transform 200ms; }
.ln-faq-item[open] .ln-faq-icon { transform: rotate(45deg); }
.ln-faq-answer { padding: 0 0 20px; font-size: 14px; color: var(--text-muted); line-height: 1.75; }

/* CTA banner */
.ln-cta-banner { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.ln-cta-inner { max-width: 800px; margin: 0 auto; padding: 96px 24px; text-align: center; }
.ln-cta-title { font-family: var(--font-display); font-size: clamp(32px,5vw,56px); font-weight: 700; color: var(--text-strong); margin-bottom: 14px; letter-spacing: -0.02em; }
.ln-cta-sub { font-size: 16px; color: var(--text-muted); margin-bottom: 36px; }

/* footer */
.ln-footer { background: var(--bg); border-top: 1px solid var(--border); padding: 40px 24px; }
.ln-footer-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.ln-footer-brand { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--text-strong); }
.ln-footer-copy { font-size: 12px; color: var(--text-subtle); }
.ln-footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.ln-footer-links a { font-size: 12px; color: var(--text-subtle); text-decoration: none; transition: color 150ms; }
.ln-footer-links a:hover { color: var(--text-muted); }

/* back to top */
.ln-to-top { position: fixed; bottom: 28px; right: 28px; width: 40px; height: 40px; background: var(--surface-2); border: 1px solid var(--border-strong); color: var(--text-muted); display: flex; align-items: center; justify-content: center; cursor: pointer; opacity: 0; pointer-events: none; transition: opacity 200ms, background 150ms; z-index: 50; }
.ln-to-top.visible { opacity: 1; pointer-events: auto; }
.ln-to-top:hover { background: var(--surface-3); color: var(--text); }

/* modals */
.ln-modal-overlay { display: none; position: fixed; inset: 0; z-index: 500; background: rgba(10,14,21,0.88); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); align-items: center; justify-content: center; }
.ln-modal-overlay.open { display: flex; }
.ln-modal { background: var(--surface); border: 1px solid var(--border-strong); padding: 40px; width: 100%; max-width: 400px; position: relative; max-height: 92vh; overflow-y: auto; }
.ln-modal-close { position: absolute; top: 12px; right: 12px; background: none; border: none; cursor: pointer; color: var(--text-muted); padding: 4px; transition: color 150ms; }
.ln-modal-close:hover { color: var(--text); }
.ln-modal-header { text-align: center; margin-bottom: 28px; }
.ln-modal-title { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--text-strong); margin-top: 12px; }
.ln-modal-error { display: none; padding: 10px 14px; margin-bottom: 16px; background: rgba(224,85,81,0.1); border: 1px solid rgba(224,85,81,0.3); color: #E05551; font-size: 13px; }
/* font-size 16px (not 14px) — sub-16px triggers iOS Safari zoom on focus
   which then breaks the modal layout and is a known onboarding-friction
   anti-pattern. */
.ln-input { display: block; width: 100%; padding: 12px 16px; margin-bottom: 12px; background: var(--surface-2); border: 1px solid var(--border); color: var(--text); font-family: var(--font-body); font-size: 16px; outline: none; box-sizing: border-box; transition: border-color 150ms; }
.ln-input:focus { border-color: var(--accent); }
.ln-input:last-of-type { margin-bottom: 20px; }
.ln-btn-submit { display: block; width: 100%; padding: 14px; margin-bottom: 10px; background: var(--accent); border: none; color: #0A0E15; font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; transition: background 150ms; }
.ln-btn-submit:hover { background: var(--accent-hover); }
.ln-modal-divider { display: flex; align-items: center; gap: 12px; margin: 16px 0; }
.ln-modal-divider-line { flex: 1; height: 1px; background: var(--border); }
.ln-modal-divider-text { font-size: 11px; color: var(--text-subtle); text-transform: uppercase; letter-spacing: 1px; }
.ln-google-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 12px; background: var(--surface-2); border: 1px solid var(--border); color: var(--text); font-family: var(--font-body); font-size: 14px; font-weight: 500; text-decoration: none; box-sizing: border-box; transition: border-color 150ms; }
.ln-google-btn:hover { border-color: var(--border-strong); }
.ln-modal-footer { text-align: center; margin-top: 20px; font-size: 13px; color: var(--text-subtle); }
.ln-modal-footer a { color: var(--accent); text-decoration: none; font-weight: 500; }
.ln-forgot-link { display: block; text-align: right; margin: -4px 0 16px; font-size: 12px; color: var(--text-subtle); text-decoration: none; }
.ln-forgot-link:hover { color: var(--text-muted); }

/* responsive */
@media (max-width: 1024px) {
  .ln-feature-grid { grid-template-columns: repeat(2,1fr); }
  .ln-why-inner { grid-template-columns: 1fr; gap: 48px; }
  .ln-stack-compare { max-width: 400px; }
}
@media (max-width: 768px) {
  .ln-nav-links { display: none; }
  .ln-nav-hamburger { display: block; }
  .ln-hero { min-height: auto; padding: 56px 20px 48px; }
  .ln-hero-bars { display: none; }
  .ln-hero-actions { flex-direction: column; align-items: stretch; }
  .ln-btn-hero-primary, .ln-btn-hero-secondary { text-align: center; }
  .ln-counter-inner { grid-template-columns: 1fr; }
  .ln-counter-item { padding: 24px 20px; }
  .ln-feature-grid { grid-template-columns: 1fr; }
  .ln-feature-card { padding: 24px; }
  .ln-pricing-grid { grid-template-columns: 1fr; }
  .ln-price-card { padding: 28px 24px; }
  .ln-section { padding: 56px 20px; }
  .ln-why-inner { padding: 56px 20px; }
  .ln-cta-inner { padding: 64px 20px; }
  .ln-footer-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .ln-trust { gap: 6px 16px; }
  .ln-trust-sep { display: none; }
}
@media (max-width: 480px) {
  .ln-modal { padding: 28px 20px; }
  .ln-price-amount { font-size: 40px; }
  .ln-hero-title { font-size: clamp(36px,10vw,56px); }
}

/* #35 - landing stat cards (KMs tracked + Calories burned). */
.ln-stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}
.ln-stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 180px;
  padding: 18px 28px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
}
.ln-stat-num {
  font-family: var(--font-display, "Barlow Condensed", sans-serif);
  font-weight: 900;
  font-size: 44px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--accent, #D4A017);
  font-variant-numeric: tabular-nums;
}
.ln-stat-label {
  margin-top: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-subtle);
  text-align: center;
}
@media (max-width: 640px) {
  .ln-stats { gap: 10px; }
  .ln-stat-card { min-width: 140px; padding: 14px 20px; }
  .ln-stat-num { font-size: 36px; }
}
