/* TagPop website — same brand tokens as the add-on (extension/static/sidepanel.css). */
:root {
  --pop: #5b3df5;
  --pop-soft: #eeeafe;
  --zing: #ffd23f;
  --ink: #17122e;
  --bg: #f6f5fb;
  --card: #ffffff;
  --muted: #5d5878;
  --line: #e1def0;
  --ok: #1f8a4c;
  --radius: 14px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --pop: #8b78ff; --pop-soft: #2a2350; --bg: #110e22; --card: #1b1733; --ink: #efedf9; --muted: #a7a2c2; --line: #2d2848; color-scheme: dark; }
}
:root[data-theme="dark"] { --pop: #8b78ff; --pop-soft: #2a2350; --bg: #110e22; --card: #1b1733; --ink: #efedf9; --muted: #a7a2c2; --line: #2d2848; color-scheme: dark; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Arial, sans-serif; }
a { color: var(--pop); }
img { max-width: 100%; display: block; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

/* header */
.top { background: #17122e; color: #fff; position: sticky; top: 0; z-index: 10; }
.top .wrap { display: flex; align-items: center; gap: 16px; height: 62px; }
.logo { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 21px; color: #fff; text-decoration: none; }
.logo b { color: var(--zing); }
.top nav { margin-left: auto; display: flex; gap: 18px; align-items: center; }
.top nav a { color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; opacity: 0.85; }
.top nav a:hover { opacity: 1; }
.top nav a.btn { opacity: 1; }
@media (max-width: 640px) { .top nav a:not(.btn) { display: none; } }

/* buttons */
.btn { display: inline-block; background: var(--pop); color: #fff; font-weight: 700; padding: 12px 20px; border-radius: 10px; text-decoration: none; border: 0; }
.btn:hover { filter: brightness(1.08); }
.btn.big { padding: 15px 26px; font-size: 18px; }
.btn.ghost { background: transparent; color: var(--pop); border: 2px solid var(--pop); }
.top .btn { padding: 8px 14px; font-size: 15px; }

/* hero */
.hero { background: #17122e; color: #fff; padding: 56px 0 72px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
@media (max-width: 820px) { .hero .wrap { grid-template-columns: 1fr; } }
.hero h1 { font-size: clamp(34px, 5vw, 52px); line-height: 1.08; margin: 0 0 16px; letter-spacing: -0.5px; }
.hero h1 .hl { color: var(--zing); }
.hero p.lead { font-size: 19px; opacity: 0.9; margin: 0 0 26px; max-width: 34em; }
.hero .small { font-size: 14px; opacity: 0.75; margin-top: 12px; }
.labels { position: relative; }
.labels img { border-radius: 8px; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45); background: #fff; }
.labels img + img { width: 78%; margin: -30px 0 0 auto; transform: rotate(3deg); }
.labels img:first-child { transform: rotate(-2deg); }
.pill { display: inline-block; background: var(--zing); color: #17122e; font-weight: 800; font-size: 13px; padding: 3px 10px; border-radius: 999px; margin-bottom: 16px; }

/* sections */
section { padding: 64px 0; }
h2 { font-size: clamp(26px, 3.5vw, 36px); margin: 0 0 10px; letter-spacing: -0.3px; }
.sub { color: var(--muted); margin: 0 0 32px; max-width: 40em; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 820px) { .grid3, .grid2 { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { margin: 0 0 6px; font-size: 19px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.num { width: 36px; height: 36px; border-radius: 50%; background: var(--pop); color: #fff; display: grid; place-items: center; font-weight: 800; margin-bottom: 12px; }
.ico { font-size: 26px; margin-bottom: 8px; }
.alt { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* pricing */
.price { max-width: 460px; margin: 0 auto; text-align: center; border: 2px solid var(--pop); }
.price .amount { font-size: 54px; font-weight: 800; line-height: 1; margin: 8px 0; }
.price .amount span { font-size: 18px; font-weight: 600; color: var(--muted); }
.price ul { text-align: left; padding: 0; list-style: none; margin: 18px 0 22px; }
.price li { padding: 6px 0 6px 28px; position: relative; color: var(--ink); }
.price li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 800; }

/* platforms */
.plat { display: flex; gap: 12px; flex-wrap: wrap; }
.plat span { background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-weight: 700; }
.plat span.soon { color: var(--muted); font-weight: 600; }

/* faq */
details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; margin: 10px 0; }
summary { cursor: pointer; font-weight: 700; }
details p { color: var(--muted); margin: 10px 0 0; }

/* prose (legal + setup) */
.prose { max-width: 760px; margin: 0 auto; padding: 48px 20px 72px; }
.prose h1 { font-size: 36px; margin: 0 0 6px; }
.prose h2 { font-size: 23px; margin: 34px 0 8px; }
.prose h3 { font-size: 19px; margin: 24px 0 6px; }
.prose .updated { color: var(--muted); font-size: 15px; margin-bottom: 28px; }
.prose li { margin: 6px 0; }
.note { background: var(--pop-soft); border-radius: 12px; padding: 14px 18px; margin: 18px 0; }
table { border-collapse: collapse; width: 100%; margin: 12px 0; font-size: 16px; }
th, td { text-align: left; border-bottom: 1px solid var(--line); padding: 8px 6px; vertical-align: top; }

/* footer */
footer { background: #17122e; color: #cfcbe6; font-size: 14px; padding: 36px 0; }
footer a { color: #fff; }
footer .row { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 14px; }
footer p { margin: 4px 0; }

/* partner code box */
form.code { margin-top: 22px; padding-top: 18px; border-top: 1px dashed var(--line); text-align: left; }
form.code label { font-weight: 700; display: block; margin-bottom: 6px; }
form.code div { display: flex; gap: 8px; }
form.code input { flex: 1; min-width: 0; font: inherit; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); text-transform: uppercase; }
form.code p { font-size: 14px; color: var(--muted); margin: 8px 0 0; }

/* demo video */
video.demo { display: block; width: 100%; max-width: 960px; margin: 0 auto; border-radius: 16px; box-shadow: 0 18px 50px rgba(23, 18, 46, 0.35); background: #17122e; aspect-ratio: 16 / 9; }
