/* Just Reach — marketing site styles.
   Design language borrowed from the Just Said webpage: Geist, brand blue
   #007BFF, white→slate gradient, rounded-2xl cards, soft xl shadows. */

:root {
  --brand: #007bff;
  --brand-600: #0069d9;
  --brand-muted: #e9f2ff;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --fg: #0f172a;
  --fg-soft: #1e293b;
  --muted: #64748b;
  --muted-2: #94a3b8;
  --border: #e5e7eb;
  --border-soft: #eef2f6;
  --card: #ffffff;
  --green: #16a34a;
  --radius: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-xl: 0 24px 60px rgba(15, 23, 42, 0.12);
  --maxw: 1200px;
  --font: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --mono: 'DM Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--fg);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { line-height: 1.12; letter-spacing: -0.022em; margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; }

.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--brand-muted);
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
}

.section { padding: 5.5rem 0; }
.section-tight { padding: 3.5rem 0; }
.section-head { max-width: 720px; margin: 0 auto 3rem; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); font-weight: 800; }
.section-head p { margin-top: 1rem; color: var(--muted); font-size: 1.08rem; }

.text-brand { color: var(--brand); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border-color 0.18s, transform 0.05s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-brand { background: var(--brand); color: #fff; }
.btn-brand:hover { background: var(--brand-600); }
.btn-outline { background: #fff; color: var(--fg); border-color: var(--border); }
.btn-outline:hover { border-color: var(--muted-2); }
.btn-ghost { background: transparent; color: var(--fg-soft); }
.btn-ghost:hover { color: var(--brand); }
.btn-lg { padding: 0.85rem 1.7rem; font-size: 1rem; }

/* ---- Nav ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border-soft);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: 0.55rem; font-weight: 800; font-size: 1.15rem; letter-spacing: -0.03em; }
.brand .dot {
  width: 22px; height: 22px; border-radius: 7px;
  background: linear-gradient(135deg, var(--brand), #4da3ff);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
}
.brand .dot svg { width: 13px; height: 13px; color: #fff; }
.brand span.r { color: var(--brand); }
.nav-links { display: flex; align-items: center; gap: 1.8rem; }
.nav-links a { font-size: 0.92rem; color: var(--muted); font-weight: 500; transition: color 0.15s; }
.nav-links a:hover { color: var(--fg); }
.nav-cta { display: flex; align-items: center; gap: 0.6rem; }
.nav-toggle { display: none; }

/* ---- Hero ---- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-soft) 100%);
  padding: 4rem 0 5.5rem;
}
.hero-blob {
  position: absolute; pointer-events: none; border-radius: 50%; filter: blur(80px);
}
.hero-blob.a { top: -180px; right: -140px; width: 560px; height: 560px; background: rgba(0, 123, 255, 0.06); }
.hero-blob.b { bottom: -120px; left: -120px; width: 420px; height: 420px; background: rgba(0, 123, 255, 0.07); }
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 4rem;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.9rem);
  font-weight: 800;
  margin-top: 1.4rem;
}
.hero h1 .line2 { color: var(--brand); }
.hero-sub { margin-top: 1.4rem; color: var(--muted); font-size: 1.18rem; max-width: 34rem; }
.hero-cta { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.8rem; }
.hero-trust { margin-top: 1.8rem; display: flex; flex-wrap: wrap; gap: 1.2rem; color: var(--muted); font-size: 0.9rem; }
.hero-trust span { display: inline-flex; align-items: center; gap: 0.4rem; }
.hero-trust svg { width: 16px; height: 16px; color: var(--brand); }

/* Hero live mockup card */
.demo {
  position: relative;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}
.demo-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.8rem 1rem; border-bottom: 1px solid var(--border-soft);
}
.demo-head .live { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; font-weight: 600; }
.demo-head .pulse { position: relative; width: 8px; height: 8px; }
.demo-head .pulse::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: #4ade80; opacity: 0.75; animation: ping 1.6s cubic-bezier(0,0,0.2,1) infinite;
}
.demo-head .pulse::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: #22c55e; }
@keyframes ping { 75%, 100% { transform: scale(2.4); opacity: 0; } }
.demo-head .tag { font-size: 0.72rem; color: var(--muted); background: var(--bg-soft); border-radius: 999px; padding: 0.15rem 0.6rem; }
.demo-body { padding: 1.1rem; min-height: 320px; }
.demo-ask {
  background: var(--brand); color: #fff; font-size: 0.92rem; font-weight: 500;
  padding: 0.7rem 0.95rem; border-radius: 0.9rem 0.9rem 0.25rem 0.9rem;
  margin-left: auto; max-width: 86%; width: fit-content;
}
.demo-answer { margin-top: 0.9rem; transition: opacity 0.3s, transform 0.3s; }
.demo-answer .lead {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 0.55rem; display: flex; align-items: center; gap: 0.4rem;
}
.demo-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.5rem 0.7rem; border: 1px solid var(--border-soft); border-radius: 0.6rem;
  margin-bottom: 0.4rem; background: #fff;
}
.demo-row .name { font-weight: 600; font-size: 0.9rem; }
.demo-row .meta { font-size: 0.72rem; color: var(--muted); }
.demo-row .score {
  font-family: var(--mono); font-size: 0.78rem; font-weight: 600; color: var(--brand);
  background: var(--brand-muted); border-radius: 6px; padding: 0.1rem 0.45rem;
}
.demo-foot { margin-top: 0.7rem; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.demo-chip {
  font-size: 0.72rem; font-weight: 500; color: var(--fg-soft);
  background: var(--bg-soft); border: 1px solid var(--border-soft);
  border-radius: 999px; padding: 0.25rem 0.6rem; display: inline-flex; gap: 0.3rem; align-items: center;
}
.demo-chip.brand { color: var(--brand); background: var(--brand-muted); border-color: transparent; }
.demo-dots { display: flex; gap: 0.35rem; justify-content: center; padding: 0 0 0.9rem; }
.demo-dots button { height: 6px; width: 6px; border-radius: 999px; border: none; background: #cbd5e1; cursor: pointer; transition: width 0.2s, background 0.2s; padding: 0; }
.demo-dots button.on { width: 18px; background: var(--brand); }

/* ---- Logos / plain-English strip ---- */
.strip { border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); background: var(--bg-soft); }
.strip-inner { padding: 1.6rem 0; text-align: center; }
.strip-inner .label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted-2); font-weight: 600; }
.strip-prompts { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; }
.prompt-chip {
  font-size: 0.86rem; color: var(--fg-soft); background: #fff; border: 1px solid var(--border);
  border-radius: 999px; padding: 0.45rem 0.9rem; box-shadow: var(--shadow-sm);
}
.prompt-chip .q { color: var(--brand); font-weight: 700; margin-right: 0.35rem; }

/* ---- How it works ---- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.step { position: relative; padding: 2rem 1.6rem; border: 1px solid var(--border); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); }
.step .num {
  width: 38px; height: 38px; border-radius: 10px; background: var(--brand-muted); color: var(--brand);
  font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 1.05rem; margin-bottom: 1.1rem;
}
.step h3 { font-size: 1.2rem; font-weight: 700; }
.step p { margin-top: 0.6rem; color: var(--muted); font-size: 0.96rem; }

/* ---- Feature pillars ---- */
.pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.pillar {
  border: 1px solid var(--border); border-radius: var(--radius-lg); background: #fff;
  padding: 2rem; box-shadow: var(--shadow-sm); transition: box-shadow 0.2s, transform 0.2s;
}
.pillar:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.pillar .icon {
  width: 46px; height: 46px; border-radius: 12px; background: var(--brand-muted); color: var(--brand);
  display: flex; align-items: center; justify-content: center; margin-bottom: 1.1rem;
}
.pillar .icon svg { width: 24px; height: 24px; }
.pillar .kicker { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-2); }
.pillar h3 { font-size: 1.35rem; font-weight: 700; margin-top: 0.3rem; }
.pillar p { margin-top: 0.7rem; color: var(--muted); font-size: 0.98rem; }
.pillar ul { margin: 1rem 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.pillar li { display: flex; gap: 0.55rem; font-size: 0.92rem; color: var(--fg-soft); }
.pillar li svg { width: 17px; height: 17px; color: var(--brand); flex-shrink: 0; margin-top: 0.15rem; }
.pillar .try {
  margin-top: 1.3rem; font-family: var(--mono); font-size: 0.8rem; color: var(--muted);
  background: var(--bg-soft); border: 1px dashed var(--border); border-radius: 0.6rem; padding: 0.6rem 0.8rem;
}
.pillar .try b { color: var(--brand); font-weight: 600; }

/* ---- Screenshots ---- */
.shots { display: flex; flex-direction: column; gap: 4rem; }
.shot { display: grid; grid-template-columns: 1fr 1.25fr; gap: 3rem; align-items: center; }
.shot.flip .shot-copy { order: 2; }
.shot-copy h3 { font-size: 1.7rem; font-weight: 800; }
.shot-copy p { margin-top: 0.9rem; color: var(--muted); font-size: 1.02rem; }
.shot-copy .tags { margin-top: 1.1rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.frame {
  border: 1px solid var(--border); border-radius: var(--radius-xl); overflow: hidden;
  background: #fff; box-shadow: var(--shadow-xl);
}
.frame-bar { display: flex; align-items: center; gap: 0.45rem; padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--border-soft); background: var(--bg-soft); }
.frame-bar .d { width: 10px; height: 10px; border-radius: 50%; }
.frame-bar .d.r { background: #f87171; } .frame-bar .d.y { background: #fbbf24; } .frame-bar .d.g { background: #4ade80; }
.frame-bar .url { margin-left: 0.6rem; font-family: var(--mono); font-size: 0.72rem; color: var(--muted); background: #fff; border-radius: 6px; padding: 0.2rem 0.7rem; border: 1px solid var(--border-soft); }
.frame img { width: 100%; display: block; }
.frame-cap { font-size: 0.8rem; color: var(--muted-2); text-align: center; margin-top: 0.7rem; }

/* ---- Precision / radius spotlight ---- */
.precision-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: start; }
.precision-h { font-size: 1.3rem; font-weight: 700; }
.precision-list { margin: 1.1rem 0 1.6rem; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 0.8rem; }
.precision-list li { display: flex; gap: 0.6rem; font-size: 0.98rem; color: var(--fg-soft); }
.precision-list li svg { width: 18px; height: 18px; color: var(--brand); flex-shrink: 0; margin-top: 0.25rem; }
.precision-list b { font-weight: 600; }
.precision-list code { font-family: var(--mono); font-size: 0.85em; background: var(--bg-soft); padding: 0.05rem 0.3rem; border-radius: 4px; }
.code-wrap { display: flex; flex-direction: column; gap: 0.9rem; }
.code-block { border: 1px solid #1e293b; border-radius: 12px; overflow: hidden; background: #0f172a; box-shadow: var(--shadow-md); }
.code-head { display: flex; align-items: center; gap: 0.5rem; padding: 0.55rem 0.9rem; font-family: var(--mono); font-size: 0.72rem; color: #94a3b8; border-bottom: 1px solid #1e293b; }
.code-head .dotg { width: 9px; height: 9px; border-radius: 50%; background: #34a853; }
.code-head .dotb { width: 9px; height: 9px; border-radius: 50%; background: #0866ff; }
.code-block pre { margin: 0; padding: 0.9rem; overflow-x: auto; }
.code-block code { font-family: var(--mono); font-size: 0.78rem; line-height: 1.6; color: #e2e8f0; white-space: pre; }
.code-note { margin-top: 0.2rem; font-size: 0.8rem; color: var(--muted-2); }

/* ---- Gallery ---- */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.g-item { margin: 0; }
.g-item figcaption { margin-top: 0.8rem; font-size: 0.9rem; color: var(--muted); line-height: 1.5; }
.g-item figcaption b { color: var(--fg); font-weight: 600; }

/* ---- Use cases ---- */
.cases { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.case { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; background: #fff; box-shadow: var(--shadow-sm); }
.case .badge { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.25rem 0.7rem; border-radius: 999px; }
.case.biz .badge { color: var(--brand); background: var(--brand-muted); }
.case.pol .badge { color: #7c3aed; background: #f3eeff; }
.case h3 { font-size: 1.3rem; font-weight: 700; margin-top: 0.9rem; }
.case ul { margin: 1.1rem 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 0.65rem; }
.case li { display: flex; gap: 0.55rem; font-size: 0.95rem; color: var(--fg-soft); }
.case li svg { width: 18px; height: 18px; color: var(--brand); flex-shrink: 0; margin-top: 0.1rem; }
.case.pol li svg { color: #7c3aed; }

/* ---- Pricing ---- */
.price-toggle { display: flex; align-items: center; justify-content: center; gap: 0.9rem; margin-bottom: 2.5rem; }
.price-toggle .switch { position: relative; width: 52px; height: 28px; border-radius: 999px; background: var(--border); border: none; cursor: pointer; transition: background 0.2s; }
.price-toggle .switch.on { background: var(--brand); }
.price-toggle .switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform 0.2s; box-shadow: var(--shadow-sm); }
.price-toggle .switch.on::after { transform: translateX(24px); }
.price-toggle .opt { font-size: 0.95rem; color: var(--muted); font-weight: 500; }
.price-toggle .opt.active { color: var(--fg); font-weight: 600; }
.price-toggle .save { font-size: 0.72rem; color: var(--green); background: #e7f7ee; border-radius: 999px; padding: 0.15rem 0.55rem; font-weight: 600; }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; align-items: stretch; }
.plan { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.8rem 1.5rem; background: #fff; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.plan.popular { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand), var(--shadow-md); position: relative; }
.plan .pop-tag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--brand); color: #fff; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; padding: 0.25rem 0.8rem; border-radius: 999px; }
.plan h3 { font-size: 1.2rem; font-weight: 700; }
.plan .desc { margin-top: 0.4rem; color: var(--muted); font-size: 0.86rem; min-height: 2.6rem; }
.plan .price { margin-top: 1rem; display: flex; align-items: baseline; gap: 0.25rem; }
.plan .price .amt { font-size: 2.3rem; font-weight: 800; letter-spacing: -0.03em; }
.plan .price .per { color: var(--muted); font-size: 0.85rem; }
.plan .billed { font-size: 0.74rem; color: var(--muted-2); margin-top: 0.25rem; min-height: 1rem; }
.plan .btn { margin-top: 1.3rem; justify-content: center; width: 100%; }
.plan ul { margin: 1.4rem 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.plan li { display: flex; gap: 0.5rem; font-size: 0.88rem; color: var(--fg-soft); }
.plan li svg { width: 16px; height: 16px; color: var(--brand); flex-shrink: 0; margin-top: 0.15rem; }
.price-note { text-align: center; color: var(--muted-2); font-size: 0.85rem; margin-top: 1.6rem; }

/* ---- FAQ ---- */
.faq { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.8rem; }
.faq details { border: 1px solid var(--border); border-radius: var(--radius); background: #fff; padding: 0 1.2rem; box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; padding: 1.1rem 0; font-weight: 600; font-size: 1.02rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { width: 18px; height: 18px; color: var(--muted-2); transition: transform 0.2s; flex-shrink: 0; }
.faq details[open] summary .chev { transform: rotate(180deg); }
.faq .ans { padding: 0 0 1.2rem; color: var(--muted); font-size: 0.96rem; line-height: 1.65; }

/* ---- CTA band ---- */
.cta-band { background: linear-gradient(135deg, var(--brand), #2b8bff); color: #fff; border-radius: var(--radius-xl); padding: 3.5rem 2rem; text-align: center; box-shadow: var(--shadow-xl); }
.cta-band h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); font-weight: 800; }
.cta-band p { margin-top: 0.9rem; font-size: 1.1rem; opacity: 0.92; max-width: 36rem; margin-left: auto; margin-right: auto; }
.cta-band .btns { margin-top: 1.8rem; display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; }
.cta-band .btn-brand { background: #fff; color: var(--brand); }
.cta-band .btn-brand:hover { background: #f1f5f9; }
.cta-band .btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.cta-band .btn-outline:hover { border-color: #fff; }

/* ---- Footer ---- */
.footer { border-top: 1px solid var(--border-soft); padding: 3rem 0 2.5rem; color: var(--muted); }
.footer-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 2rem; }
.footer .brand { color: var(--fg); }
.footer .tagline { margin-top: 0.8rem; font-size: 0.9rem; max-width: 22rem; }
.footer-cols { display: flex; gap: 4rem; flex-wrap: wrap; }
.footer-col h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted-2); margin-bottom: 0.9rem; }
.footer-col a { display: block; font-size: 0.9rem; color: var(--muted); margin-bottom: 0.55rem; transition: color 0.15s; }
.footer-col a:hover { color: var(--brand); }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border-soft); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.8rem; font-size: 0.84rem; color: var(--muted-2); }

/* ---- Reveal on scroll ---- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---- Responsive ---- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .demo { max-width: 420px; }
  .pillars, .cases, .gallery, .precision-grid { grid-template-columns: 1fr; }
  .plans { grid-template-columns: repeat(2, 1fr); }
  .shot, .shot.flip .shot-copy { grid-template-columns: 1fr; order: 0; }
  .shot { gap: 1.5rem; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--border); padding: 1rem 1.5rem; gap: 1rem;
  }
  .nav-toggle { display: inline-flex; background: none; border: none; cursor: pointer; padding: 0.4rem; }
  .nav-cta .btn-ghost { display: none; }
  .plans { grid-template-columns: 1fr; }
  .section { padding: 4rem 0; }
  .hero h1 { font-size: 2.3rem; }
}
