/* Merch Ads Pilot website: one style for every page, in the extension's own colours. */
:root {
  --bg: #0b0d1c;
  --bg2: #111430;
  --card: #151938;
  --line: rgba(255, 255, 255, 0.08);
  --text: #e6e8f5;
  --muted: #9ea3c7;
  --dim: #6f7499;
  --accent: #a855f7;
  --grad: linear-gradient(135deg, #6366f1, #a855f7 60%, #ec4899);
  --good: #6ee7b7;
  --bad: #f87171;
  --warn: #fbbf24;
  --radius: 16px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.6 Inter, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: #c4b5fd; }
img, svg { display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* ---------- top bar ---------- */
.top { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(12px); background: rgba(11, 13, 28, 0.78); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 20px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 700; letter-spacing: -0.01em; }
.logo { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--grad); box-shadow: 0 6px 18px -6px rgba(168, 85, 247, 0.7); flex: none; }
.logo svg { width: 20px; height: 20px; color: #fff; }
.top nav { display: flex; gap: 22px; margin-left: auto; }
.top nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
.top nav a:hover { color: #fff; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 12px; font-weight: 600; text-decoration: none; color: #fff; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.04); transition: transform 0.15s, box-shadow 0.15s; }
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--grad); border: 0; box-shadow: 0 10px 30px -10px rgba(168, 85, 247, 0.8); }
.btn.small { padding: 8px 16px; font-size: 14px; }
.btn.soon { opacity: 0.6; cursor: default; transform: none; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 84px 0 70px; }
.hero::before { content: ''; position: absolute; inset: -40% -10% auto; height: 640px; background: radial-gradient(closest-side, rgba(168, 85, 247, 0.28), transparent), radial-gradient(closest-side at 70% 40%, rgba(99, 102, 241, 0.25), transparent); pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; color: var(--good); border: 1px solid rgba(110, 231, 183, 0.35); background: rgba(16, 185, 129, 0.1); border-radius: 999px; padding: 3px 12px; margin-bottom: 18px; }
h1 { font-size: clamp(36px, 5vw, 56px); line-height: 1.08; letter-spacing: -0.03em; margin: 0 0 18px; }
h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 19px; color: var(--muted); margin: 0 0 28px; max-width: 34em; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.fine { font-size: 14px; color: var(--dim); margin-top: 14px; }

/* the three promises under the hero buttons */
.trust { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.trust li { display: flex; align-items: center; gap: 7px; font-weight: 600; font-size: 15px; color: var(--good); }
.trust li::before { content: '✓'; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; color: #0b0d1c; background: var(--good); }

/* the dashboard drawn in HTML (made-up numbers) */
.mock { background: linear-gradient(180deg, #151938, #10132b); border: 1px solid var(--line); border-radius: 20px; padding: 18px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(168, 85, 247, 0.12); font-size: 13.5px; }
.mock-head { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.mock-head .dot { width: 10px; height: 10px; border-radius: 50%; background: #2a2f57; }
.mock-head .pill { margin-left: auto; }
.mock-head .local { margin-left: 10px; font-size: 12px; color: var(--good); }
.pill { display: inline-block; font-size: 12px; font-weight: 700; border-radius: 999px; padding: 2px 10px; }
.pill.good { color: var(--good); background: rgba(16, 185, 129, 0.12); border: 1px solid rgba(110, 231, 183, 0.3); }
.pill.bad { color: #fecaca; background: rgba(240, 68, 58, 0.18); border: 1px solid rgba(248, 113, 113, 0.35); }
.pill.warn { color: #fde68a; background: rgba(245, 158, 11, 0.14); border: 1px solid rgba(251, 191, 36, 0.35); }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.kpi { background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.kpi span { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--dim); }
.kpi b { font-size: 20px; letter-spacing: -0.02em; }
.kpi .up { color: var(--good); }
.mock table { width: 100%; border-collapse: collapse; }
.mock th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--dim); font-weight: 600; padding: 6px 8px; }
.mock td { padding: 8px; border-top: 1px solid var(--line); }
.mock td.num { text-align: right; font-variant-numeric: tabular-nums; }
.mock .why { color: var(--muted); font-size: 12px; }
.mock .act { font-size: 12px; font-weight: 600; color: #fff; background: rgba(255, 255, 255, 0.07); border-radius: 8px; padding: 3px 9px; white-space: nowrap; }

/* ---------- sections ---------- */
section { padding: 76px 0; }
section.alt { background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2 { font-size: clamp(28px, 3.4vw, 38px); letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 12px; }
.sub { color: var(--muted); font-size: 18px; margin: 0 0 40px; max-width: 40em; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { margin: 12px 0 8px; font-size: 18px; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }
.icon { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: rgba(168, 85, 247, 0.14); color: #d8b4fe; }
.icon svg { width: 21px; height: 21px; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step { position: relative; padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--grad); font-weight: 700; margin-bottom: 12px; }
.step h3 { margin: 0 0 6px; font-size: 18px; }
.step p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* privacy band */
.privacy { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks li::before { content: '✓'; flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; color: #0b0d1c; background: var(--good); margin-top: 1px; }
.shield { justify-self: center; width: min(320px, 80%); aspect-ratio: 1; border-radius: 40px; display: grid; place-items: center; background: radial-gradient(circle at 30% 20%, rgba(110, 231, 183, 0.25), transparent 60%), var(--card); border: 1px solid var(--line); }
.shield svg { width: 46%; height: 46%; color: var(--good); }

/* privacy comparison */
.compare { margin-top: 48px; overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); }
.compare table { width: 100%; border-collapse: collapse; font-size: 15.5px; min-width: 560px; }
.compare th, .compare td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare tr:last-child td { border-bottom: 0; }
.compare th { font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--dim); font-weight: 700; }
.compare td:first-child { color: var(--muted); font-weight: 600; }
.compare td:nth-child(2) { color: #c9a5a5; }
.compare .us { color: var(--good); font-weight: 600; background: rgba(16, 185, 129, 0.06); }
.compare th.us { color: var(--good); }

/* pricing */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 860px; }
.plan { padding: 28px; border-radius: 20px; border: 1px solid var(--line); background: var(--card); display: flex; flex-direction: column; }
.plan.pro { border: 1px solid rgba(168, 85, 247, 0.5); box-shadow: 0 30px 60px -30px rgba(168, 85, 247, 0.6); }
.plan h3 { margin: 0; font-size: 20px; }
.price { font-size: 42px; font-weight: 800; letter-spacing: -0.03em; margin: 10px 0 2px; }
.price small { font-size: 16px; font-weight: 500; color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 9px; color: var(--muted); font-size: 15.5px; }
.plan li::before { content: '✓  '; color: var(--good); font-weight: 700; }
.plan .btn { margin-top: auto; }

/* faq */
.faq { max-width: 820px; display: grid; gap: 10px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: '+'; color: var(--accent); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq p { color: var(--muted); margin: 10px 0 0; }

/* closing call */
.final { text-align: center; }
.final .ctas { justify-content: center; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 34px 0 44px; color: var(--dim); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
footer nav { display: flex; gap: 20px; margin-left: auto; }
footer a { color: var(--muted); text-decoration: none; }
footer .disclaimer { flex-basis: 100%; margin: 6px 0 0; }

/* ---------- legal pages ---------- */
.doc { max-width: 760px; padding: 56px 20px 80px; margin: 0 auto; }
.doc h1 { font-size: clamp(32px, 4vw, 42px); }
.doc h2 { font-size: 22px; margin: 36px 0 8px; }
.doc p, .doc li { color: #c9cce4; }
.doc .updated { color: var(--dim); }
.doc table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
.doc th, .doc td { text-align: left; padding: 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { color: var(--muted); font-weight: 600; }

/* ---------- phones ---------- */
@media (max-width: 900px) {
  .hero { padding: 56px 0 48px; }
  .hero .wrap, .privacy { grid-template-columns: 1fr; }
  .grid, .steps { grid-template-columns: 1fr 1fr; }
  .top nav { display: none; }
  .top .btn { margin-left: auto; }
}
@media (max-width: 620px) {
  .grid, .steps, .plans { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .kpis .kpi:last-child { display: none; }
  .mock .why { display: none; }
  .shield { display: none; }
  /* the comparison: one card per question, both answers under it */
  .compare table { min-width: 0; }
  .compare thead { display: none; }
  .compare tr { display: block; padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .compare tr:last-child { border-bottom: 0; }
  .compare td { display: block; padding: 3px 0; border: 0; }
  .compare td:first-child { margin-bottom: 4px; }
  .compare td:nth-child(2)::before { content: 'Server tool: '; color: var(--dim); font-weight: 600; }
  .compare td.us { background: none; }
  .compare td.us::before { content: 'Merch Ads Pilot: '; color: var(--dim); font-weight: 600; }
  section { padding: 56px 0; }
  .lead { font-size: 17px; }
  footer nav { margin-left: 0; }
}
