/* Shared landing styles for all products in the extension-docs public hub.
   Plain static CSS — Jekyll serves it as-is. Per-product index.html sets copy + brand accent. */
:root {
  --brand: #2563EB; --brand-dark: #1b4f99; --ink: #0f1b2d; --muted: #54627a;
  --ok: #22C55E; --bg: #f6f8fc; --card: #ffffff; --border: #e6ebf3;
  --maxw: 1080px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink); background: var(--bg); line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: var(--brand); text-decoration: none; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* nav */
.nav { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; }
.nav .brand { font-weight: 800; font-size: 19px; letter-spacing: -.01em; }
.nav .brand span { color: var(--brand); }
.nav .links a { margin-left: 22px; color: var(--muted); font-weight: 600; font-size: 15px; }

/* hero */
.hero { text-align: center; padding: 56px 0 40px; }
.hero .eyebrow { display: inline-block; background: #e7f0ff; color: var(--brand); font-weight: 700;
  font-size: 13px; letter-spacing: .04em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; }
.hero h1 { font-size: 52px; line-height: 1.08; font-weight: 800; letter-spacing: -.02em; margin: 20px 0 0;
  max-width: 820px; margin-inline: auto; }
.hero p.sub { font-size: 21px; color: var(--muted); margin: 18px auto 0; max-width: 640px; }
.cta-row { display: flex; gap: 14px; justify-content: center; align-items: center; margin-top: 30px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 17px; padding: 14px 26px;
  border-radius: 12px; border: 1px solid transparent; cursor: pointer; transition: transform .06s ease, box-shadow .2s ease; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 10px 26px rgba(37,99,235,.30); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 32px rgba(37,99,235,.38); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--border); }
.cta-note { color: var(--muted); font-size: 14px; margin-top: 12px; }

/* demo */
.demo { margin: 34px auto 0; max-width: 900px; border-radius: 16px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(20,60,120,.20); border: 1px solid var(--border); background: #1d2433; }
.demo-bar { height: 38px; display: flex; align-items: center; gap: 8px; padding: 0 16px; background: #2a3346; }
.demo-bar span { width: 12px; height: 12px; border-radius: 50%; background: #4a5468; }
.demo-bar span:nth-child(1) { background: #ff5f57; }
.demo-bar span:nth-child(2) { background: #febc2e; }
.demo-bar span:nth-child(3) { background: #28c840; }
.demo img { width: 100%; display: block; }

/* feature grid */
.section { padding: 64px 0; }
.section h2 { text-align: center; font-size: 34px; font-weight: 800; letter-spacing: -.02em; }
.section .lead { text-align: center; color: var(--muted); font-size: 18px; margin: 12px auto 0; max-width: 600px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.feat { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 26px; }
.feat .ic { width: 44px; height: 44px; border-radius: 11px; background: #e7f0ff; color: var(--brand);
  display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 800; }
.feat h3 { font-size: 19px; margin: 16px 0 8px; }
.feat p { color: var(--muted); font-size: 15.5px; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; counter-reset: s; }
.step { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 26px; position: relative; }
.step::before { counter-increment: s; content: counter(s); position: absolute; top: -16px; left: 24px;
  width: 36px; height: 36px; background: var(--brand); color: #fff; border-radius: 50%; font-weight: 800;
  display: flex; align-items: center; justify-content: center; }
.step h3 { margin: 10px 0 8px; font-size: 18px; }
.step p { color: var(--muted); font-size: 15.5px; }

/* pricing strip */
.pricing { text-align: center; background: linear-gradient(135deg, #1b4f99, #2563EB); color: #fff;
  border-radius: 22px; padding: 52px 24px; }
.pricing h2 { color: #fff; }
.pricing .lead { color: #d6e4ff; }
.pricing .btn-primary { background: #fff; color: var(--brand); box-shadow: 0 10px 26px rgba(0,0,0,.22); margin-top: 26px; }

/* faq */
.faq details { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 18px 22px;
  margin-bottom: 12px; }
.faq summary { font-weight: 700; cursor: pointer; font-size: 16.5px; }
.faq p { color: var(--muted); margin-top: 10px; font-size: 15.5px; }

/* footer */
footer { border-top: 1px solid var(--border); padding: 34px 0; color: var(--muted); font-size: 14.5px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
footer a { color: var(--muted); margin-left: 18px; }

@media (max-width: 760px) {
  .hero h1 { font-size: 36px; } .hero p.sub { font-size: 18px; }
  .grid, .steps { grid-template-columns: 1fr; }
  .nav .links { display: none; }
}
