/* ============================================================
   KAREYO — conversion refresh overlay
   Load AFTER css/styles.css. Overrides tokens + the sections on
   the signup path. No content changes; no existing rules deleted.
   Fonts are loaded via <link> tags in index.html / build-blog.js's
   head template, not here — an @import after other rules is invalid
   CSS and would be dropped silently, and loading twice blocks render.
   ============================================================ */

/* ── Tokens ───────────────────────────────────────────────── */
:root {
  --font: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-display: 'Bricolage Grotesque', 'IBM Plex Sans', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --blue:        #2c45e8;
  --blue-dark:   #1b2fb0;
  --blue-light:  #eef1ff;

  --text-dark:   #14161c;
  --text-mid:    #4a5060;
  --text-muted:  #5a6070;
  --text-faint:  #6b7080;
  --border:      #e7e3da;
  --bg-soft:     #f3f1eb;

  --radius-sm:   12px;
  --radius:      16px;
  --radius-lg:   20px;

  --page:        #fbfaf7;
  --ink:         #14161c;
}

body { background: var(--page); }

/* ── Display type ─────────────────────────────────────────── */
.hero-heading,
.section-header h2,
.problem-text h2,
.spotlight-text h2,
.about-teaser-inner h2,
.final-cta-inner h2,
.pricing-number,
.pricing-dollar,
.step-number,
.step h3,
.feature-card h3,
.faq-btn,
.nav-logo,
.blog-title {
  font-family: var(--font-display);
  letter-spacing: -.03em;
}
.section-header h2,
.problem-text h2,
.spotlight-text h2,
.about-teaser-inner h2,
.final-cta-inner h2 { font-weight: 800; line-height: 1.03; }
.feature-card h3, .step h3, .faq-btn { font-weight: 700; letter-spacing: -.015em; }

/* ── Nav: pill CTA carrying the price ─────────────────────── */
.site-nav { background: rgba(251,250,247,.88); border-bottom: 1px solid var(--border); }
.site-nav.nav-solid { background: rgba(251,250,247,.96); }
.nav-logo { color: #3d5afe; }                     /* brand blue, matches the app */
.nav-actions .btn-primary,
.mobile-cta { border-radius: 999px; }
.nav-cta-price {                                   /* new span, see README markup edit 2 */
  font-weight: 400;
  opacity: .72;
  margin-left: 6px;
}
/* the added price makes the nav row tight — keep links on one line and drop
   the price before anything can wrap */
.nav-inner { gap: 1.25rem; }
.nav-links { flex-wrap: nowrap; gap: 1.1rem; }
.nav-links a { white-space: nowrap; }
@media (max-width: 1120px) { .nav-cta-price { display: none; } }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  background: var(--page);
  /* Tighter than the original 72px 0 40px spec — the larger display type below already added
     real height here, and the trust chips right after this section were dropping below the
     fold on typical laptop viewports as a result. Recovers space without touching type sizes. */
  padding: 52px 0 28px;
}
.hero-heading { font-size: clamp(2.75rem, 5.6vw, 4.75rem); line-height: .97; }
.hero-accent { color: var(--blue); }               /* new span, see README markup edit 3 */
.hero-badge {
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 400;
  letter-spacing: .08em;
  background: var(--blue-light);
  border-color: #d8deff;
  padding: .45rem .8rem;
}
.hero-sub { font-size: 1.18rem; color: #4a5060; line-height: 1.55; text-wrap: pretty; }
.hero-actions { gap: .75rem; margin-bottom: 1rem; }
.hero .btn-primary.btn-lg {
  padding: 1.05rem 1.9rem;
  font-size: 1.06rem;
  box-shadow: 0 8px 22px rgba(44,69,232,.26);
}
.hero .btn-outline.btn-lg {
  background: #fff;
  border-color: #dfdace;
  padding: 1.05rem 1.6rem;
  font-size: 1.06rem;
}
.hero .btn-outline.btn-lg:hover { border-color: var(--ink); color: var(--ink); background: #fff; }
.hero-fine { font-family: var(--font-mono); font-size: .78rem; color: var(--text-faint); }

/* ── Trust bar: chips, not a strip ────────────────────────── */
/* padding and chip padding both trimmed from the original spec (26px 0 8px / .5rem .8rem) for
   the same above-the-fold reason as the hero's padding change above. */
.trust-bar { background: var(--page); border-top: none; padding: 14px 0 8px; }
.trust-bar-inner { gap: .6rem; justify-content: flex-start; }
.trust-item {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: .4rem .75rem;
  font-size: .84rem;
  white-space: normal;
}

/* ── Problem: before/after, after goes dark ───────────────── */
.problem { padding: 88px 0 0; }
.problem-highlight { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; color: #3d5afe !important; }
.vs-col { border-radius: var(--radius); padding: 24px; }
.vs-bad { background: var(--bg-soft); border-color: var(--border); }
.vs-good {
  background: var(--ink);
  border-color: var(--ink);
  box-shadow: 0 16px 40px rgba(20,22,28,.16);
}
.vs-label { font-family: var(--font-mono); font-weight: 400; letter-spacing: .1em; }
.vs-bad .vs-label { color: #8a8f9c; }
.vs-good .vs-label { color: #8fa0ff; }
.vs-bad li { border-bottom-color: rgba(0,0,0,.06); }
.vs-good li { color: #e6e9f2; border-bottom-color: rgba(255,255,255,.08); }

/* ── Section headers: left-aligned outside pricing ────────── */
.features .section-header,
.how-it-works .section-header,
.screenshots-section .section-header,
.video-section .section-header,
.faq .section-header {
  text-align: left;
  max-width: 760px;
  margin-inline: 0;
}

/* ── Features: one hairline grid instead of floating cards ── */
.features { background: var(--page); padding: 88px 0 0; }
.features-grid {
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  margin-top: 2.5rem;
}
.feature-card { border: none; border-radius: 0; background: #fff; padding: 30px 28px; }
.feature-card:hover { transform: none; box-shadow: none; background: #fcfbf8; }

/* ── Spotlights ───────────────────────────────────────────── */
.spotlight { padding: 88px 0 0; }
.spotlight--ai, .spotlight--pwa { background: var(--page); }
.spotlight-badge {
  font-family: var(--font-mono);
  font-weight: 400;
  letter-spacing: .09em;
  color: var(--blue);
  background: none;
  border: none;
  padding: 0;
  margin-bottom: .6rem;
}
.spotlight-badge--green { color: var(--blue); background: none; border: none; }
.spotlight-list li svg { color: var(--blue); }
.spotlight .btn-primary { padding: .95rem 1.6rem; font-size: 1rem; box-shadow: 0 8px 20px rgba(44,69,232,.24); }

/* ── How it works: panel + numerals ───────────────────────── */
.how-it-works { padding: 88px 0 0; }
.how-it-works > .container {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: clamp(36px, 5vw, 64px);
  max-width: 1100px;
}
.step { text-align: left; max-width: none; border-radius: var(--radius); padding: 28px; }
.step-number {
  width: auto; height: auto;
  background: none;
  color: #3d5afe;
  font-size: 2rem;
  font-weight: 800;
  border-radius: 0;
  margin: 0 0 .85rem;
  justify-content: flex-start;
}
.step-arrow { color: #c9c3b4; }

/* ── Updates teaser ───────────────────────────────────────── */
.whats-new-teaser-section { padding: 40px 0 0; }
.whats-new-teaser { background: #fff; max-width: 1100px; border-radius: var(--radius); }
.whats-new-teaser-head h5 { font-family: var(--font-mono); font-weight: 400; letter-spacing: .1em; color: #8a8f9c; }

/* ── Screenshots + video ──────────────────────────────────── */
.screenshots-section { background: var(--page); padding: 88px 0 0; }
.screenshot-frame { border-color: var(--border); box-shadow: 0 20px 50px rgba(20,22,28,.10); }
.screenshot-label { text-align: left; font-family: var(--font); color: var(--text-muted); }
.video-section { padding: 88px 0 0; }
.video-section > .container {
  background: var(--ink);
  border-radius: 24px;
  padding: clamp(32px, 4.5vw, 56px);
  max-width: 1100px;
}
.video-section .section-header h2 { color: #fff; }
.video-section .section-header p { color: #c2c7d6; }
.video-wrapper { border-radius: 14px; }

/* ── Pricing: dark price panel + two-column feature list ──── */
.pricing { background: var(--page); padding: 88px 0 0; }
.pricing .section-header { max-width: 700px; margin: 0 auto 2.75rem; }
.pricing-card {
  max-width: 1100px;
  display: grid;
  grid-template-columns: 1fr;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(20,22,28,.09);
}
.pricing-top {
  background: var(--ink);
  text-align: left;
  padding: 44px 40px;
  color: #fff;
}
.pricing-name { font-family: var(--font-mono); font-weight: 400; letter-spacing: .1em; color: #a9afc4; }
.pricing-amount { justify-content: flex-start; margin-bottom: .75rem; }
.pricing-dollar, .pricing-number { color: #fff; font-weight: 800; }
.pricing-number { font-size: 4.75rem; letter-spacing: -.04em; }
.pricing-period { color: #c2c7d6; font-size: 1.05rem; }
.pricing-tagline { color: #d5d9e4; font-size: 1rem; }
.pricing-top .pricing-fine { color: #a9afc4; }
.pricing-cta { border-radius: 12px; margin-top: .5rem; }
.pricing-top .btn-primary:hover { background: #4a61f0; box-shadow: none; }
.pricing-divider { display: none; }
.pricing-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: .35rem 2rem;
  align-content: start;
  padding: 40px;
}
.pricing-features li { align-items: flex-start; font-size: .94rem; padding: .35rem 0; }
.pricing-features li svg { color: var(--blue); margin-top: 3px; }

@media (min-width: 700px) {
  .pricing-features { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 980px) {
  .pricing-card { grid-template-columns: minmax(0, 380px) minmax(0, 1fr); }
}

/* ── FAQ: two columns, less vertical wall ─────────────────── */
.faq { padding: 88px 0 0; }
.faq-inner { max-width: 1100px; }
.faq-list { display: grid; grid-template-columns: 1fr; gap: 10px 28px; align-items: start; }
.faq-item { border-radius: 14px; background: #fff; }
.faq-btn { font-size: 1.02rem; }

@media (min-width: 900px) {
  .faq-list { grid-template-columns: 1fr 1fr; }
}

/* ── Final CTA: contained blue block, copy beside action ──── */
.final-cta { background: var(--page); padding: 88px 0 0; text-align: left; }
.final-cta-inner {
  background: var(--blue);
  border-radius: 24px;
  padding: clamp(48px, 6vw, 84px) clamp(28px, 5vw, 68px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}
.final-cta-inner h2 { font-size: clamp(2rem, 4.2vw, 3.5rem); margin-bottom: 1rem; }
.final-cta-inner p { color: #dce1ff; margin-bottom: 0; max-width: 30em; }
.final-cta-action { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.final-cta .btn-primary {
  color: var(--ink);
  font-size: 1.1rem;
  padding: 1.15rem 2rem;
  border-radius: 12px;
  box-shadow: 0 10px 26px rgba(0,0,0,.18);
}
.final-cta .btn-primary:hover { background: #f1f3ff; }
.final-cta-fine { font-family: var(--font-mono); font-size: .78rem; color: #dce1ff; margin-top: 0; }
.final-cta-fine a { color: #fff; }

@media (min-width: 900px) {
  .final-cta-inner { grid-template-columns: 1.15fr .85fr; gap: 48px; }
}

/* ── Footer ───────────────────────────────────────────────── */
.site-footer { background: var(--ink); }
.footer-col-heading { font-family: var(--font-mono); font-weight: 400; letter-spacing: .1em; }
.footer-logo { color: #fff; }
.footer-copy { font-family: var(--font-mono); }

/* ── About teaser ─────────────────────────────────────────── */
.about-teaser { padding: 88px 0 0; }
.about-teaser-inner { max-width: 1100px; text-align: left; border-top: 1px solid var(--border); padding-top: 56px; }

/* ── Sub-pages (About / Blog / What's New) ────────────────────
   These pages share styles.css, so the token overrides above already
   carry the warm page, new type and radii. These few rules finish the
   job. Generated by build-blog.js — see README step 3. */
.blog-post { padding: 72px 0; }
.blog-post-inner { max-width: 720px; }
.blog-title { font-size: clamp(2.25rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.02; }
.blog-dateline { font-family: var(--font-mono); font-size: .78rem; color: var(--text-faint); border-bottom-color: var(--border); }
.blog-article h2, .blog-article h3 { font-family: var(--font-display); letter-spacing: -.02em; }
.blog-article h2 { font-size: 1.6rem; font-weight: 800; }
.blog-article p, .blog-article li { color: var(--text-mid); }
.blog-article blockquote { border-left-color: #3d5afe; }
.blog-article code, .blog-article pre { font-family: var(--font-mono); background: var(--bg-soft); }
.blog-card { border-radius: var(--radius); border-color: var(--border); box-shadow: none; padding: 28px; }
.blog-card:hover { background: #fcfbf8; }
.blog-card-title { font-family: var(--font-display); font-weight: 700; letter-spacing: -.015em; }
.blog-card-date { font-family: var(--font-mono); font-size: .74rem; color: var(--text-faint); }
.whats-new-date { font-family: var(--font-mono); font-weight: 400; }
.whats-new-dot { background: #3d5afe; }
.whats-new-content h3 { font-family: var(--font-display); font-size: 1.05rem; letter-spacing: -.015em; }
