/* ─────────────────────────────────────────────────────────
   SEO landing pages — shared CSS
   Loaded ALONGSIDE legal.css (for header/footer chrome).
   Each page sets body class .layout-zigzag / .layout-numbered /
   .layout-cards / .layout-pills to pick its section style.
   ───────────────────────────────────────────────────────── */

/* ─── Primary button (works anywhere, not just inside .legal-footer) ─── */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 53px; padding: 0 32px;
  border-radius: 100px;
  background: var(--black); color: var(--white);
  font-weight: 500; font-size: 17px;
  text-decoration: none;
  transition: transform .15s ease, background .15s ease, opacity .15s ease;
  cursor: pointer;
}
.btn-primary:hover { background: #1a1a1a; transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }
.btn-primary.is-unsupported {
  background: #4b4d52;
  cursor: help;
}
.btn-primary.is-unsupported:hover { background: #5a5d63; }

.install-hint {
  margin-top: 14px;
  font-size: 12px;
  color: #9aa0a8;
  text-align: center;
}
.install-hint[hidden] { display: none; }

/* ── Common hero ───────────────────────────────────────── */
.seo-hero {
  max-width: 880px;
  margin: 0 auto;
  padding: 56px 24px 24px;
  text-align: center;
}
.seo-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--soft-bg);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 22px;
}
.seo-hero h1 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(36px, 5.4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
  text-wrap: balance;
}
.seo-hero .lede {
  max-width: 620px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  text-wrap: pretty;
}
.cta-row {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  height: 53px; padding: 0 8px;
  background: transparent;
  color: var(--muted);
  border: 0;
  font-weight: 500; font-size: 15px;
  text-decoration: none;
  transition: color .15s ease, transform .15s ease;
  position: relative;
}
.btn-ghost::after {
  content: " →";
  margin-left: 4px;
  transition: transform .15s ease;
  display: inline-block;
}
.btn-ghost:hover { color: var(--black); }
.btn-ghost:hover::after { transform: translateX(2px); }
@media (max-width: 640px) {
  .seo-hero { padding: 32px 20px 16px; }
  .seo-hero h1 { font-size: 34px; letter-spacing: -0.02em; }
  .seo-hero .lede { font-size: 15px; }
  .btn-ghost { height: 44px; font-size: 14px; }
  .cta-row { gap: 4px; }
}

/* ── Common body wrapper ───────────────────────────────── */
.seo-body {
  max-width: 980px;
  margin: 0 auto;
  padding: 24px 24px 80px;
}
.seo-body h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(24px, 3.2vw, 30px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
  text-wrap: balance;
}
.seo-body p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  text-wrap: pretty;
}

/* ─────────────────────────────────────────────────────────
   Variant A — zigzag (tab-manager)
   Alternating 2-col rows with decorative SVG illustration.
   ───────────────────────────────────────────────────────── */
.layout-zigzag .seo-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 56px 0;
}
.layout-zigzag .seo-row + .seo-row { border-top: 1px solid var(--border); }
.layout-zigzag .seo-row:nth-child(even) .seo-text { order: 2; }
.layout-zigzag .seo-illu {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 220px;
  background: var(--soft-bg);
  border-radius: 24px;
  padding: 32px;
  color: var(--black);
}
.layout-zigzag .seo-illu svg { width: 100%; height: 100%; max-width: 280px; max-height: 200px; display: block; }
@media (max-width: 760px) {
  .layout-zigzag .seo-row {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 40px 0;
  }
  .layout-zigzag .seo-row:nth-child(even) .seo-text { order: 0; }
  .layout-zigzag .seo-illu { min-height: 180px; padding: 24px; }
}

/* ─────────────────────────────────────────────────────────
   Variant B — numbered editorial (speed-dial)
   Big numbers on the left, content on the right.
   ───────────────────────────────────────────────────────── */
.layout-numbered.seo-body { max-width: 760px; }
.layout-numbered .seo-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 32px;
  padding: 56px 0;
  border-top: 1px solid var(--border);
}
.layout-numbered .seo-row:first-of-type { border-top: 0; }
.layout-numbered .seo-num {
  font-family: var(--display);
  font-weight: 500;
  font-size: 64px;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--black);
  opacity: .14;
}
@media (max-width: 640px) {
  .layout-numbered .seo-row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 40px 0;
  }
  .layout-numbered .seo-num { font-size: 48px; }
}

/* ─────────────────────────────────────────────────────────
   Variant C — feature cards (bookmark-manager)
   Each section is its own card, icon left + text right.
   ───────────────────────────────────────────────────────── */
.layout-cards .seo-row {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 28px;
  padding: 32px 36px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow-card);
  margin-bottom: 14px;
}
.layout-cards .seo-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--soft-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
}
.layout-cards .seo-icon svg { width: 28px; height: 28px; display: block; }
.layout-cards .seo-row h2 { font-size: clamp(22px, 2.8vw, 26px); }
@media (max-width: 640px) {
  .layout-cards .seo-row {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 24px 22px;
    border-radius: 20px;
  }
  .layout-cards .seo-icon { width: 48px; height: 48px; }
}

/* ─────────────────────────────────────────────────────────
   Variant D — eyebrow sections (ai-tools)
   Tool pills at top, then sections with small uppercase eyebrows.
   ───────────────────────────────────────────────────────── */
.tool-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 36px auto 16px;
  max-width: 720px;
  list-style: none;
  padding: 0;
}
.tool-pills li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: var(--white);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  box-shadow: var(--shadow-card);
}
.tool-pills li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  opacity: .55;
}

.layout-pills.seo-body { max-width: 800px; }
.layout-pills .seo-row {
  padding: 48px 0;
  border-bottom: 1px dashed var(--border);
}
.layout-pills .seo-row:last-of-type { border-bottom: 0; }
.layout-pills .eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
  margin-bottom: 12px;
}

/* ─────────────────────────────────────────────────────────
   Cross-links block — same on every SEO page
   ───────────────────────────────────────────────────────── */
.seo-crosslinks {
  max-width: 980px;
  margin: 0 auto;
  padding: 16px 24px 60px;
}
.seo-crosslinks-head {
  text-align: center;
  margin-bottom: 24px;
}
.seo-crosslinks-head h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(22px, 2.6vw, 28px);
  letter-spacing: -0.015em;
  margin-bottom: 6px;
}
.seo-crosslinks-head p {
  font-size: 14px;
  color: var(--muted);
}
.seo-crosslinks-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.seo-crosslinks-grid a {
  display: block;
  padding: 22px 22px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  text-decoration: none;
  color: var(--black);
  transition: transform .15s ease, box-shadow .15s ease;
}
.seo-crosslinks-grid a:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}
.seo-crosslinks-grid .ttl {
  font-family: var(--display);
  font-weight: 500;
  font-size: 17px;
  margin-bottom: 4px;
  display: block;
}
.seo-crosslinks-grid .sub {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
  display: block;
}
@media (max-width: 760px) {
  .seo-crosslinks-grid { grid-template-columns: 1fr; }
}

/* ─────────────────────────────────────────────────────────
   (use-cases-nav styles live in legal.css)
   ───────────────────────────────────────────────────────── */
