/* Bipole landing — hand-written, zero-build, one page.
   Same Geist face and dotted-grid motif as the app canvas, so the site and the
   product read as one thing. Palette mirrors the app: ink on white, #3b6ef5. */

@font-face {
  font-family: 'Geist Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('assets/geist-latin-wght-normal.woff2') format('woff2-variations');
}

:root {
  --ink: #0b0d12;
  --muted: #5c6470;
  --line: #e6e8ec;
  --accent: #3b6ef5;
  --accent-ink: #2b55c4;
  --bg-soft: #f7f9fc;
  --radius: 12px;
  --w: 1080px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Geist Variable', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; margin: 0; }

/* ---- nav -------------------------------------------------------------- */
nav {
  max-width: var(--w);
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; }
.mark { width: 28px; height: 28px; border-radius: 7px; }
.nav-links { display: flex; align-items: center; gap: 22px; font-size: 14.5px; color: var(--muted); }
.nav-links a:hover { color: var(--ink); }

/* ---- buttons ---------------------------------------------------------- */
.btn {
  display: inline-block;
  border-radius: 10px;
  padding: 12px 22px;
  font-weight: 600;
  font-size: 15px;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn-sm { padding: 8px 14px; font-size: 13.5px; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-ink); color: #fff; }
.btn-ghost { border: 1px solid var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--ink); }

/* ---- hero ------------------------------------------------------------- */
.hero {
  max-width: var(--w);
  margin: 0 auto;
  padding: 72px 24px 24px;
  text-align: center;
  /* the app canvas's dotted grid, faded */
  background-image: radial-gradient(circle, #d9dee6 1px, transparent 1px);
  background-size: 22px 22px;
  background-position: center top;
}
.hero-kicker {
  display: inline-block;
  margin: 0 0 18px;
  border: 1px solid #cfdbff;
  border-radius: 999px;
  padding: 6px 11px;
  background: #f3f6ff;
  color: var(--accent-ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.hero h1 { font-size: clamp(44px, 7.5vw, 76px); font-weight: 750; }
.hero .sub {
  max-width: 700px;
  margin: 22px auto 0;
  font-size: 18.5px;
  color: var(--muted);
}
.cta-row { margin-top: 30px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.fineprint { margin-top: 14px; font-size: 13px; color: var(--muted); }

/* screenshot in a minimal browser frame */
.shot {
  margin: 56px auto 0;
  max-width: 1000px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 24px 60px -28px rgba(11, 13, 18, 0.25);
}
.shot-bar {
  display: flex; gap: 6px; padding: 10px 12px;
  border-bottom: 1px solid var(--line); background: var(--bg-soft);
}
.shot-bar span { width: 10px; height: 10px; border-radius: 50%; background: #d9dee6; }
.shot img { display: block; width: 100%; height: auto; }

/* ---- shared section heading ------------------------------------------- */
.section-head {
  max-width: 720px;
  margin: 0 auto 20px;
  text-align: center;
}
.section-head .eyebrow {
  margin: 0 0 8px;
  color: var(--accent-ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.section-head h2 { font-size: clamp(32px, 4vw, 46px); }
.section-head > p:last-child { margin: 12px 0 0; color: var(--muted); }

/* ---- editor ----------------------------------------------------------- */
.editor-section { max-width: var(--w); margin: 110px auto 0; padding: 0 24px; }
.editor-section .section-head { margin-bottom: 42px; }
.editor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.editor-card {
  min-height: 220px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  background: linear-gradient(150deg, #fff, var(--bg-soft));
}
.editor-card > span, .ai-card > span { color: var(--accent); font-size: 11px; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase; }
.editor-card h3 { margin-top: 28px; font-size: 20px; }
.editor-card p { margin: 10px 0 0; color: var(--muted); font-size: 14.5px; }

/* ---- AI --------------------------------------------------------------- */
.ai-section {
  margin-top: 110px;
  padding: 90px 24px;
  border-top: 1px solid #dfe6fa;
  border-bottom: 1px solid #dfe6fa;
  background:
    radial-gradient(circle at 50% 0, rgba(59, 110, 245, 0.13), transparent 34%),
    #f5f7fd;
}
.ai-inner { max-width: var(--w); margin: 0 auto; }
.ai-section .section-head { margin-bottom: 42px; }
.ai-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.ai-card {
  min-height: 220px;
  border: 1px solid #dfe6fa;
  border-radius: var(--radius);
  padding: 22px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 30px -26px rgba(38, 70, 150, 0.5);
}
.ai-card h3 { margin-top: 26px; font-size: 18px; }
.ai-card p { margin: 10px 0 0; color: var(--muted); font-size: 14px; }
.ai-note {
  max-width: 760px;
  margin: 20px auto 0;
  color: var(--muted);
  text-align: center;
  font-size: 13.5px;
}
.ai-note strong { color: var(--ink); }

/* ---- pricing ---------------------------------------------------------- */
.pricing { max-width: var(--w); margin: 96px auto 0; padding: 0 24px; text-align: center; }
.pricing h2 { font-size: 34px; }
.pricing-note { color: var(--muted); margin: 10px 0 30px; }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; text-align: left; }
.tiers-single { grid-template-columns: 1fr; max-width: 680px; margin: 0 auto; }
.tier {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: #fff;
}
.tier-hl { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.tier h3 { font-size: 18px; margin-bottom: 14px; }
.tier ul { margin: 0; padding: 0; list-style: none; }
.tier li { font-size: 14.5px; color: var(--muted); padding: 5px 0 5px 24px; position: relative; }
.tier li::before {
  content: '';
  position: absolute; left: 0; top: 11px;
  width: 14px; height: 14px;
  background: no-repeat center / contain
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5 6.5 12 13 4.5' fill='none' stroke='%233b6ef5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.pricing-future { margin: 18px 0 0; color: var(--muted); font-size: 13px; }

/* ---- last CTA + footer ------------------------------------------------- */
.last-cta {
  margin: 110px auto 0;
  padding: 72px 24px;
  text-align: center;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.last-cta h2 { font-size: clamp(28px, 4.5vw, 40px); margin-bottom: 24px; }

footer {
  max-width: var(--w);
  margin: 0 auto;
  padding: 28px 24px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
  color: var(--muted);
}
footer div { display: flex; gap: 18px; }
footer a:hover { color: var(--ink); }

/* ---- responsive -------------------------------------------------------- */
@media (max-width: 860px) {
  .editor-grid { grid-template-columns: repeat(2, 1fr); }
  .ai-grid { grid-template-columns: repeat(2, 1fr); }
  .tiers { grid-template-columns: 1fr; }
  .nav-links { gap: 14px; }
  .hero { padding-top: 48px; }
  .ai-section { padding: 80px 24px; }
}

@media (max-width: 560px) {
  nav { padding-inline: 16px; }
  .nav-links { gap: 12px; font-size: 13px; }
  .btn-sm { padding: 8px 12px; }
  .hero { padding-inline: 16px; }
  .hero-kicker { margin-bottom: 14px; }
  .editor-section { padding-inline: 16px; }
  .editor-grid, .ai-grid { grid-template-columns: 1fr; }
  .editor-card, .ai-card { min-height: 0; }
  .ai-section { padding-inline: 16px; }
}
