/* Propel — shared design tokens
   Linear-style: tight, technical, product-forward. Light mode. Cool neutrals. */

@import url('https://fonts.googleapis.com/css2?family=Geist:wght@300;400;500;600;700&family=Geist+Mono:wght@400;500&display=swap');

:root {
  /* Cool neutrals */
  --bg: #ffffff;
  --bg-2: #f7f8fa;
  --bg-3: #eef0f4;
  --line: #e4e7ec;
  --line-2: #d3d7de;
  --ink: #0b0d12;
  --ink-2: #2a2f3a;
  --ink-3: #555c6a;
  --ink-4: #8690a0;
  --ink-5: #b4bcc8;

  /* Brand */
  --orange: #FF6B1A;
  --orange-2: #ff8438;
  --orange-ink: #c94a00;
  --orange-bg: #fff2e8;
  --orange-line: #ffd6b8;

  /* Radii & elevation */
  --r-sm: 4px;
  --r: 6px;
  --r-lg: 10px;
  --r-xl: 16px;

  --shadow-1: 0 1px 2px rgba(15, 20, 30, .04), 0 1px 1px rgba(15, 20, 30, .03);
  --shadow-2: 0 4px 14px rgba(15, 20, 30, .06), 0 1px 3px rgba(15, 20, 30, .04);
  --shadow-3: 0 20px 60px rgba(15, 20, 30, .12), 0 6px 18px rgba(15, 20, 30, .06);
}

* { box-sizing: border-box; }

body, .pp {
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-feature-settings: 'ss01', 'cv11';
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.005em;
}

.pp { font-size: 15px; line-height: 1.55; }

.pp .mono { font-family: 'Geist Mono', ui-monospace, monospace; }

/* Typographic scale — tight */
.pp .eyebrow {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.pp h1, .pp .h1 {
  font-size: 68px;
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 500;
  color: var(--ink);
  margin: 0;
}
.pp h2, .pp .h2 {
  font-size: 42px;
  line-height: 1.05;
  letter-spacing: -0.028em;
  font-weight: 500;
  margin: 0;
}
.pp h3, .pp .h3 {
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.018em;
  font-weight: 500;
  margin: 0;
}
.pp .lede {
  font-size: 19px;
  line-height: 1.5;
  color: var(--ink-3);
  letter-spacing: -0.01em;
}

/* Buttons */
.pp .btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 38px; padding: 0 16px;
  border-radius: var(--r);
  font: inherit; font-size: 14px; font-weight: 500;
  letter-spacing: -0.005em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all .12s ease;
  white-space: nowrap;
}
.pp .btn-primary {
  background: var(--ink);
  color: #fff;
}
.pp .btn-primary:hover { background: #1c1f27; }
.pp .btn-accent {
  background: var(--orange);
  color: #fff;
}
.pp .btn-accent:hover { background: #f25e0a; }
.pp .btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.pp .btn-ghost:hover { background: var(--bg-2); border-color: var(--line-2); }
.pp .btn-sm { height: 32px; padding: 0 12px; font-size: 13px; }

/* Pills / tags */
.pp .pill {
  display: inline-flex; align-items: center; gap: 6px;
  height: 26px; padding: 0 10px;
  border-radius: 999px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  font-size: 12px;
  color: var(--ink-2);
  font-weight: 500;
}
.pp .pill-orange {
  background: var(--orange-bg);
  border-color: var(--orange-line);
  color: var(--orange-ink);
}
.pp .dot {
  width: 6px; height: 6px; border-radius: 3px; background: var(--orange);
}

/* Links */
.pp a { color: inherit; text-decoration: none; }

/* Utility */
.pp .row { display: flex; }
.pp .col { display: flex; flex-direction: column; }
.pp .center { align-items: center; justify-content: center; }
.pp .hairline { height: 1px; background: var(--line); }

/* Subtle background dot grid (Linear-esque) */
.pp .dot-grid {
  background-image: radial-gradient(circle at 1px 1px, rgba(11,13,18,.06) 1px, transparent 0);
  background-size: 20px 20px;
}
.pp .line-grid-h {
  background-image: linear-gradient(to right, var(--line) 1px, transparent 1px);
  background-size: 80px 100%;
}

/* Shimmer placeholder striping for product-shot placeholders */
.pp .placeholder-stripes {
  background:
    repeating-linear-gradient(135deg, rgba(11,13,18,.04) 0 1px, transparent 1px 12px),
    var(--bg-2);
  color: var(--ink-4);
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  display: flex; align-items: center; justify-content: center;
  border: 1px dashed var(--line-2);
}

/* ============================================================
   Responsive overrides
   Most of the site uses inline styles. React's style serializer
   emits properties with NO space after the colon (e.g.
   `padding:72px 48px`), so attribute selectors below must match
   that exact form. `!important` beats inline styles.
   ============================================================ */

/* Tablet (≤ 1024px) — soften padding, start stacking hero */
@media (max-width: 1024px) {
  .pp section,
  .pp footer {
    padding-left: 32px !important;
    padding-right: 32px !important;
  }
  .pp h1, .pp .h1 { font-size: 56px !important; line-height: 1.03 !important; }
  .pp h2, .pp .h2 { font-size: 36px !important; }

  /* Hero top grid: heading + CTA stacks */
  .pp section [style*="grid-template-columns:1fr auto"] {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    align-items: flex-start !important;
  }
  .pp section [style*="align-items:flex-end"][style*="flex-direction:column"] {
    align-items: flex-start !important;
  }
}

/* Mobile (≤ 768px) — major layout overrides */
@media (max-width: 768px) {
  html, body { max-width: 100vw; overflow-x: hidden; }

  /* Section horizontal padding */
  .pp section,
  .pp footer {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  /* Section vertical padding — match React's serialized inline strings */
  .pp section[style*="padding:120px 48px"],
  .pp section[style*="padding:140px 48px"],
  .pp section[style*="padding:96px 48px"],
  .pp section[style*="padding:80px 48px"] {
    padding-top: 64px !important;
    padding-bottom: 64px !important;
  }
  .pp section[style*="padding:72px 48px 160px"] {
    padding-top: 48px !important;
    padding-bottom: 72px !important;
  }
  .pp section[style*="padding:96px 48px 80px"],
  .pp section[style*="padding:96px 48px 64px"] {
    padding-top: 56px !important;
    padding-bottom: 48px !important;
  }
  .pp section[style*="padding:40px 48px 120px"] {
    padding-top: 24px !important;
    padding-bottom: 72px !important;
  }
  .pp section[style*="padding:64px 48px"] {
    padding-top: 48px !important;
    padding-bottom: 48px !important;
  }
  .pp footer[style*="padding:80px 48px 40px"] {
    padding-top: 56px !important;
    padding-bottom: 32px !important;
  }

  /* Collapse ALL grids to 1 column by default */
  .pp [style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  /* Re-expand: stats bars (4-cell hero strips with bordered container) → 2×2 */
  .pp [style*="grid-template-columns:repeat(4, 1fr)"][style*="border:1px solid var(--line)"] {
    grid-template-columns: 1fr 1fr !important;
    gap: 0 !important;
  }
  .pp [style*="grid-template-columns:repeat(4, 1fr)"][style*="border:1px solid var(--line)"] > div {
    border-right: none !important;
    border-top: 1px solid var(--line);
  }
  .pp [style*="grid-template-columns:repeat(4, 1fr)"][style*="border:1px solid var(--line)"] > div:nth-child(-n+2) {
    border-top: none;
  }
  .pp [style*="grid-template-columns:repeat(4, 1fr)"][style*="border:1px solid var(--line)"] > div:nth-child(odd) {
    border-right: 1px solid var(--line) !important;
  }

  /* Typography baseline */
  .pp h1, .pp .h1 { font-size: 40px !important; line-height: 1.04 !important; letter-spacing: -0.03em !important; }
  .pp h2, .pp .h2 { font-size: 30px !important; line-height: 1.1 !important; letter-spacing: -0.02em !important; }
  .pp h3, .pp .h3 { font-size: 19px !important; }
  .pp .lede { font-size: 16.5px !important; }

  /* Hero H1 inline overrides (72px/76px on hero pages) */
  .pp h1[style*="font-size:76px"],
  .pp h1[style*="font-size:72px"],
  .pp h1[style*="font-size:68px"],
  .pp h1[style*="font-size:64px"] {
    font-size: 40px !important;
    line-height: 1.05 !important;
  }
  /* Inline H2 overrides (CTA 56px, pricing 48px) */
  .pp h2[style*="font-size:56px"],
  .pp h2[style*="font-size:48px"] {
    font-size: 30px !important;
    line-height: 1.1 !important;
  }

  /* Large numeric/display fonts scale down */
  .pp [style*="font-size:48px"]:not(h1):not(h2) { font-size: 32px !important; }
  .pp [style*="font-size:40px"]:not(h1):not(h2) { font-size: 28px !important; }
  .pp [style*="font-size:36px"]:not(h1):not(h2) { font-size: 26px !important; }
  .pp [style*="font-size:30px"]:not(h1):not(h2) { font-size: 22px !important; }
  .pp [style*="font-size:28px"]:not(h1):not(h2) { font-size: 22px !important; }

  /* Nav */
  .pp nav { padding: 0 16px !important; }
  .pp .pp-nav-links { display: none !important; }
  .pp .pp-nav-cta { display: none !important; }
  .pp .pp-nav-mobile-toggle { display: inline-flex !important; align-items: center; justify-content: center; }

  /* Mockups — hide on mobile (1200×760 desktop frames don't scale readably) */
  .pp .pp-mockup { display: none !important; }

  /* Hide the decorative vertical-line background on hero sections */
  .pp section > [style*="background-size:88px 100%"] { display: none !important; }

  /* Testimonial stack */
  .pp [style*="padding:72px 80px"] {
    padding: 36px 24px !important;
    gap: 28px !important;
  }
  .pp [style*="border-left:1px solid var(--line)"][style*="padding-left:60px"] {
    border-left: none !important;
    border-top: 1px solid var(--line) !important;
    padding-left: 0 !important;
    padding-top: 28px !important;
    text-align: left !important;
    align-items: flex-start !important;
  }

  /* Social proof row — tighten gap so it wraps nicely */
  .pp [style*="display:flex"][style*="gap:28px"] { gap: 14px !important; }

  /* LogoBar — center-wrap */
  .pp [style*="max-width:1000px"][style*="justify-content:space-between"] {
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 16px 26px !important;
  }

  /* Pricing ribbons readable */
  .pp [style*="top:-12px"][style*="left:50%"] {
    font-size: 10px !important;
  }

  /* Pricing card padding */
  .pp [style*="padding:30px 26px 26px"] {
    padding: 24px 20px !important;
  }

  /* Absolute-positioned hero backgrounds stay within viewport */
  .pp section [style*="position:absolute"][style*="inset:0"] {
    max-width: 100% !important;
  }
}

/* Very small (≤ 440px) — tighter */
@media (max-width: 440px) {
  .pp h1[style*="font-size:76px"],
  .pp h1[style*="font-size:72px"],
  .pp h1[style*="font-size:68px"],
  .pp h1[style*="font-size:64px"],
  .pp h1, .pp .h1 {
    font-size: 34px !important;
  }
  .pp section,
  .pp footer {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  /* Stats bar → single column */
  .pp [style*="grid-template-columns:repeat(4, 1fr)"][style*="border:1px solid var(--line)"] {
    grid-template-columns: 1fr !important;
  }
  .pp [style*="grid-template-columns:repeat(4, 1fr)"][style*="border:1px solid var(--line)"] > div {
    border-right: none !important;
    border-top: 1px solid var(--line);
  }
  .pp [style*="grid-template-columns:repeat(4, 1fr)"][style*="border:1px solid var(--line)"] > div:first-child {
    border-top: none;
  }
}
