/* ============================================================
   Outbound Edge — design tokens
   Palette: ink #14192E (near-black indigo), paper #F6F7FB (cool off-white),
            edge #3A5CFF (electric indigo-blue, the one accent), 
            edge-deep #22317E (pressed/hover state),
            signal #14B8A6 (teal, used only for "warm/deliverability" cues),
            line #E2E4EE (hairline borders), slate #545B78 (secondary text)
   Type: display "Space Grotesk" (headlines, a geometric grotesk with
         a slight technical edge, distinct from the default Inter-everywhere look),
         body "Inter" (long-form reading),
         mono "IBM Plex Mono" (prices, stats, step numbers, code-ish labels)
   Signature element: the "sequence rail", a horizontal stepper of touchpoints
   (email -> LinkedIn -> call -> email) that appears in the hero and recurs
   as a structural motif, because the actual product's core idea is a
   multichannel sequence, not a single channel.
   ============================================================ */

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

:root {
  --ink: #14192E;
  --paper: #F6F7FB;
  --paper-raised: #FFFFFF;
  --edge: #3A5CFF;
  --edge-deep: #22317E;
  --edge-soft: #EEF1FF;
  --signal: #14B8A6;
  --signal-soft: #E5FBF7;
  --line: #E2E4EE;
  --slate: #545B78;
  --slate-light: #8388A6;
  --danger: #E4572E;

  --font-display: 'Space Grotesk', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-card: 0 1px 2px rgba(20,25,46,0.04), 0 8px 24px -12px rgba(20,25,46,0.12);
  --shadow-pop: 0 4px 10px rgba(20,25,46,0.06), 0 24px 48px -20px rgba(20,25,46,0.22);
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 600; }
p  { margin: 0 0 1em; color: var(--slate); }
a  { color: var(--edge); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

:focus-visible {
  outline: 2px solid var(--edge);
  outline-offset: 2px;
  border-radius: 4px;
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--edge);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--signal);
  border-radius: 50%;
}
.lede { font-size: 1.15rem; max-width: 640px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: var(--edge);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(58,92,255,0.55);
}
.btn-primary:hover { background: var(--edge-deep); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--edge); color: var(--edge); }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 18px; font-size: 0.88rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(246,247,251,0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 30px; height: 30px; border-radius: 8px;
  background: linear-gradient(135deg, var(--edge), var(--edge-deep));
  position: relative; flex-shrink: 0;
}
.brand-mark::after {
  content: '';
  position: absolute; left: 7px; top: 13px;
  width: 16px; height: 4px; border-radius: 2px;
  background: #fff; opacity: 0.9;
}
.brand-mark::before {
  content: '';
  position: absolute; left: 7px; top: 7px;
  width: 10px; height: 4px; border-radius: 2px;
  background: rgba(255,255,255,0.55);
}
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a:not(.btn) { color: var(--slate); font-weight: 500; font-size: 0.94rem; }
.main-nav a:not(.btn):hover { color: var(--ink); text-decoration: none; }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; }

@media (max-width: 860px) {
  .main-nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero {
  padding: 76px 0 40px;
  background:
    radial-gradient(600px 300px at 85% -10%, rgba(58,92,255,0.10), transparent 60%),
    var(--paper);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
@media (max-width: 940px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 span { color: var(--edge); }
.hero-actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.hero-fineprint { margin-top: 14px; font-size: 0.82rem; color: var(--slate-light); }
.trust-row { display: flex; gap: 26px; margin-top: 40px; flex-wrap: wrap; }
.trust-item { font-family: var(--font-mono); font-size: 0.82rem; color: var(--slate); }
.trust-item b { font-family: var(--font-display); font-size: 1.4rem; color: var(--ink); display: block; }

/* ---------- Sequence rail (signature element) ---------- */
.sequence-rail {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-pop);
  padding: 26px;
}
.sequence-rail-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.sequence-rail-head .label { font-family: var(--font-mono); font-size: 0.75rem; color: var(--slate-light); text-transform: uppercase; letter-spacing: 0.08em; }
.rail-status { font-family: var(--font-mono); font-size: 0.72rem; color: var(--signal); background: var(--signal-soft); padding: 4px 10px; border-radius: 20px; }
.rail-track { position: relative; padding-left: 4px; }
.rail-line { position: absolute; left: 21px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.rail-step {
  display: flex; gap: 16px; padding: 14px 0;
  opacity: 0; transform: translateY(6px);
  animation: railIn 0.5s ease forwards;
}
.rail-step:nth-child(1){ animation-delay: .1s }
.rail-step:nth-child(2){ animation-delay: .35s }
.rail-step:nth-child(3){ animation-delay: .6s }
.rail-step:nth-child(4){ animation-delay: .85s }
@keyframes railIn { to { opacity: 1; transform: translateY(0); } }
.rail-dot {
  position: relative; z-index: 1;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--edge-soft); color: var(--edge);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 0.78rem; font-weight: 600;
  flex-shrink: 0;
  border: 3px solid var(--paper-raised);
}
.rail-step.is-call .rail-dot { background: var(--signal-soft); color: var(--signal); }
.rail-body b { display: block; font-size: 0.95rem; color: var(--ink); }
.rail-body span { font-size: 0.84rem; color: var(--slate-light); }

/* ---------- Logo / proof strip ---------- */
.proof-strip { padding: 34px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.proof-strip p { text-align: center; font-family: var(--font-mono); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--slate-light); margin-bottom: 20px; }
.proof-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.proof-tag { font-size: 0.86rem; color: var(--slate); border: 1px solid var(--line); border-radius: 20px; padding: 7px 16px; background: var(--paper-raised); }

/* ---------- Feature grid ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 44px; }
@media (max-width: 860px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-card);
}
.card-icon {
  width: 42px; height: 42px; border-radius: 10px;
  background: var(--edge-soft); color: var(--edge);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.card-icon svg { width: 22px; height: 22px; }
.card h3 { margin-bottom: 8px; }
.card p { margin-bottom: 0; font-size: 0.94rem; }

/* ---------- Numbered process ---------- */
.process-list { counter-reset: step; margin-top: 44px; display: grid; gap: 0; }
.process-item {
  counter-increment: step;
  display: grid; grid-template-columns: 64px 1fr; gap: 20px;
  padding: 26px 0; border-top: 1px solid var(--line);
}
.process-item:last-child { border-bottom: 1px solid var(--line); }
.process-item::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-mono); font-weight: 600; color: var(--edge);
  font-size: 1.1rem;
}
.process-item h3 { margin-bottom: 6px; }
.process-item p { margin-bottom: 0; }

/* ---------- Comparison table ---------- */
.compare-table { width: 100%; border-collapse: collapse; margin-top: 40px; background: var(--paper-raised); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-card); }
.compare-table th, .compare-table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); font-size: 0.92rem; }
.compare-table th { font-family: var(--font-mono); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--slate-light); background: var(--paper); }
.compare-table td:first-child, .compare-table th:first-child { color: var(--ink); font-weight: 500; }
.compare-table tr:last-child td { border-bottom: none; }
.yes { color: var(--signal); font-weight: 600; }
.no { color: var(--slate-light); }

/* ---------- Pricing ---------- */
.pricing-toggle { display: flex; justify-content: center; margin: 8px 0 44px; }
.pricing-toggle-inner { display: inline-flex; background: var(--paper-raised); border: 1px solid var(--line); border-radius: 30px; padding: 4px; }
.pricing-toggle button {
  font-family: var(--font-body); font-weight: 600; font-size: 0.86rem;
  border: none; background: transparent; color: var(--slate);
  padding: 9px 20px; border-radius: 26px; cursor: pointer;
}
.pricing-toggle button.active { background: var(--ink); color: #fff; }
.save-badge { font-family: var(--font-mono); font-size: 0.65rem; background: var(--signal-soft); color: var(--signal); padding: 2px 7px; border-radius: 10px; margin-left: 6px; }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
@media (max-width: 940px) { .pricing-grid { grid-template-columns: 1fr; } }
.plan-card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex; flex-direction: column;
  position: relative;
}
.plan-card.is-popular {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  transform: translateY(-8px);
  box-shadow: var(--shadow-pop);
}
.plan-card.is-popular h3, .plan-card.is-popular p, .plan-card.is-popular .plan-feature { color: #fff; }
.plan-card.is-popular .plan-feature.excluded { color: rgba(255,255,255,0.4); }
.popular-flag {
  position: absolute; top: -13px; right: 24px;
  background: var(--edge); color: #fff;
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.05em;
  padding: 5px 12px; border-radius: 20px;
}
.plan-desc { font-size: 0.88rem; min-height: 44px; }
.plan-price { display: flex; align-items: baseline; gap: 8px; margin: 14px 0 4px; }
.plan-price .old { font-family: var(--font-mono); text-decoration: line-through; color: var(--slate-light); font-size: 1rem; }
.plan-card.is-popular .plan-price .old { color: rgba(255,255,255,0.45); }
.plan-price .now { font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; }
.plan-price .per { font-size: 0.86rem; color: var(--slate-light); }
.plan-card.is-popular .plan-price .per { color: rgba(255,255,255,0.6); }
.plan-users { font-family: var(--font-mono); font-size: 0.78rem; color: var(--slate); border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; margin: 14px 0 18px; }
.plan-card.is-popular .plan-users { border-color: rgba(255,255,255,0.2); color: rgba(255,255,255,0.75); }
.plan-features { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.plan-feature { font-size: 0.9rem; display: flex; gap: 10px; align-items: flex-start; }
.plan-feature::before { content: '✓'; color: var(--signal); font-weight: 700; flex-shrink: 0; }
.plan-feature.excluded { color: var(--slate-light); }
.plan-feature.excluded::before { content: '–'; color: var(--slate-light); }
.plan-eyebrow { font-family: var(--font-mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--slate-light); margin-bottom: 6px; }
.plan-card.is-popular .plan-eyebrow { color: rgba(255,255,255,0.55); }

/* ---------- Video / guide blocks ---------- */
.video-frame {
  position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;
  border-radius: var(--radius-md); background: var(--ink);
  box-shadow: var(--shadow-card);
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.guide-hero { padding: 56px 0 20px; }
.guide-meta { display: flex; gap: 16px; align-items: center; font-family: var(--font-mono); font-size: 0.8rem; color: var(--slate-light); margin-bottom: 18px; }
.article-body { max-width: 720px; margin: 0 auto; }
.article-body h2 { margin-top: 2em; }
.article-body h3 { margin-top: 1.6em; }
.article-body ul, .article-body ol { padding-left: 22px; }
.article-body li { margin-bottom: 0.5em; color: var(--slate); }
.callout {
  background: var(--edge-soft);
  border: 1px solid rgba(58,92,255,0.18);
  border-radius: var(--radius-md);
  padding: 24px 26px;
  margin: 32px 0;
}
.callout h3 { margin-bottom: 8px; }
.callout p:last-child { margin-bottom: 0; }
.callout-signal { background: var(--signal-soft); border-color: rgba(20,184,166,0.2); }

/* ---------- Guide index cards ---------- */
.guide-card {
  display: block; background: var(--paper-raised);
  border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 26px; box-shadow: var(--shadow-card);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.guide-card:hover { text-decoration: none; transform: translateY(-3px); box-shadow: var(--shadow-pop); }
.guide-card .tag { font-family: var(--font-mono); font-size: 0.7rem; text-transform: uppercase; color: var(--edge); letter-spacing: 0.06em; }
.guide-card h3 { margin: 10px 0 8px; color: var(--ink); }
.guide-card p { font-size: 0.9rem; margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--ink), var(--edge-deep));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 56px;
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.75); }
.cta-band .btn-primary { background: #fff; color: var(--ink); box-shadow: none; }
.cta-band .btn-primary:hover { background: var(--edge-soft); }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq-item summary { cursor: pointer; font-weight: 600; font-family: var(--font-display); font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.4rem; color: var(--edge); font-weight: 400; }
.faq-item[open] summary::after { content: '–'; }
.faq-item p { margin-top: 12px; margin-bottom: 0; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 30px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { font-family: var(--font-mono); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--slate-light); margin-bottom: 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-grid a { color: var(--slate); font-size: 0.92rem; }
.footer-grid a:hover { color: var(--edge); }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 0.78rem; color: var(--slate-light); }
.footer-bottom p { color: var(--slate-light); margin-bottom: 8px; }

/* ---------- Utility ---------- */
.tag-row { display: flex; gap: 8px; flex-wrap: wrap; margin: 18px 0; }
.tag-pill { font-family: var(--font-mono); font-size: 0.72rem; border: 1px solid var(--line); border-radius: 16px; padding: 5px 12px; color: var(--slate); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
