/* Lavender theme, matching the extension popup (colours from design/mockups/). */
:root {
  --bg: #fcf8ff;
  --bg-deep: #f1e8ff;
  --card: #f6effe;
  --border: #e3d6f8;
  --navy: #14104a;
  --text: #3b3760;
  --muted: #6b6690;
  --accent: #7c4fe0;
  --accent-hover: #6a3fd0;
  --accent-soft: #efe4ff;
  --linkedin: #0a66c2;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
}
img { max-width: 100%; height: auto; }
a { color: var(--accent); }
h1, h2, h3 { color: var(--navy); }
code { background: var(--accent-soft); color: #4c33b5; padding: 1px 6px; border-radius: 5px; font-size: .92em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(252, 248, 255, 0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--navy); text-decoration: none; }
.brand img { width: 30px; height: auto; }
.nav { display: flex; align-items: center; gap: 20px; font-size: 15px; }
.nav a:not(.btn) { color: var(--text); text-decoration: none; }
.nav a:not(.btn):hover { color: var(--accent); }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 12px; background: var(--accent); color: #fff; font-weight: 600; text-decoration: none; transition: background .15s; }
.btn:hover { background: var(--accent-hover); }
.btn.small { padding: 8px 16px; font-size: 14px; border-radius: 10px; }
.btn.ghost { background: #fff; color: #4c33b5; border: 1.5px solid #cdb9f5; }
.btn.ghost:hover { background: var(--accent-soft); }
.btn[aria-disabled="true"] { opacity: .7; pointer-events: none; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 56px 0 0; text-align: center; background: linear-gradient(180deg, var(--bg-deep), var(--bg)); }
.hero .logo { width: 92px; margin: 0 auto 8px; display: block; }
.hero h1 { margin: 0; line-height: 0; }
.hero h1 img { width: min(440px, 88%); }
.hero .lead { font-size: 19px; max-width: 640px; margin: 14px auto 26px; color: var(--text); }
.hero .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero .shot { display: block; width: 100%; max-width: 920px; margin: 40px auto 0; border-radius: 16px; border: 1.5px solid var(--border); box-shadow: 0 30px 80px rgba(76, 51, 181, 0.18); }
.hero .band { display: block; width: 100%; max-width: 1040px; margin: -40px auto 0; position: relative; z-index: -0; }

/* Sections */
section.block { padding: 64px 0 8px; }
section.block > .wrap > h2 { font-size: clamp(26px, 4vw, 34px); text-align: center; margin: 0 0 8px; }
section.block > .wrap > .sub { text-align: center; color: var(--muted); margin: 0 auto 32px; max-width: 620px; }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; counter-reset: step; }
.steps li { list-style: none; padding: 22px; border: 1.5px solid var(--border); border-radius: 16px; background: var(--card); counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 10px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; }
.steps h3 { margin: 0 0 4px; font-size: 18px; }
.steps p { margin: 0; font-size: 15px; }
ol.steps { padding: 0; margin: 0; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.features div { padding: 20px; border: 1.5px solid var(--border); border-radius: 16px; background: #fff; }
.features h3 { margin: 0 0 6px; font-size: 17px; }
.features p { margin: 0; font-size: 15px; }

.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.gallery figure { margin: 0; border: 1.5px solid var(--border); border-radius: 16px; overflow: hidden; background: #fff; }
.gallery img { display: block; width: 100%; }
.gallery figcaption { padding: 14px 16px 16px; font-size: 15px; }
.gallery figcaption strong { display: block; color: var(--navy); font-size: 16px; margin-bottom: 2px; }

.sites { columns: 2 240px; column-gap: 24px; max-width: 720px; margin: 0 auto; padding: 20px 24px; border: 1.5px solid var(--border); border-radius: 16px; background: #fff; list-style: none; font: 14px/2 ui-monospace, "Cascadia Mono", Consolas, monospace; color: var(--text); }

.faq { max-width: 760px; margin: 0 auto; }
.faq details { border: 1.5px solid var(--border); border-radius: 14px; background: #fff; padding: 0 18px; margin-bottom: 12px; }
.faq summary { cursor: pointer; padding: 14px 0; font-weight: 600; color: var(--navy); }
.faq details p { margin: 0 0 16px; font-size: 15px; }

/* Privacy page */
.doc { max-width: 760px; margin: 0 auto; padding: 40px 16px 64px; }
.doc h1 { font-size: 34px; margin: 0 0 6px; }
.doc .meta { color: var(--muted); margin-top: 0; }
.doc h2 { font-size: 21px; margin-top: 34px; }
.table { overflow-x: auto; margin: 16px 0; }
table { border-collapse: collapse; width: 100%; font-size: 14.5px; background: #fff; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border: 1px solid var(--border); }
th { background: var(--card); color: var(--navy); }

/* Footer */
footer { margin-top: 72px; border-top: 1px solid var(--border); padding: 26px 0 34px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.credit { display: flex; align-items: center; gap: 10px; color: var(--navy); }
.credit a { display: inline-flex; align-items: center; gap: 6px; color: var(--text); text-decoration: none; }
.credit a:hover { text-decoration: underline; }
.credit svg { width: 18px; height: 18px; }
.credit svg rect { fill: var(--linkedin); }
.credit svg path { fill: #fff; }
.divider { width: 1.5px; height: 16px; background: var(--navy); }
footer nav { display: flex; gap: 16px; }
footer nav a { color: var(--text); }

@media (max-width: 600px) {
  .nav a:not(.btn) { display: none; }
  .hero { padding-top: 36px; }
  .credit { flex-wrap: wrap; }
}
