:root {
  --blue: #0a66c2;
  --blue-dark: #004182;
  --blue-soft: #e8f1fb;
  --green: #057642;
  --bg: #f4f2ee;
  --surface: #ffffff;
  --text: rgba(0, 0, 0, 0.9);
  --muted: rgba(0, 0, 0, 0.6);
  --border: #e0dfdc;
  --radius: 12px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--blue);
}

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

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--border);
}

.header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 60px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
}

.brand img {
  width: 32px;
  height: 32px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 15px;
}

.nav a:not(.btn) {
  color: var(--muted);
  text-decoration: none;
}

.nav a:not(.btn):hover {
  color: var(--text);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border: 1px solid var(--blue);
  border-radius: 999px;
  background: var(--blue);
  color: #ffffff;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: background-color 120ms ease, border-color 120ms ease;
}

.btn:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
}

.btn--ghost {
  background: transparent;
  color: var(--blue);
}

.btn--ghost:hover {
  background: var(--blue-soft);
  color: var(--blue);
  border-color: var(--blue);
}

.btn--small {
  padding: 6px 16px;
  font-size: 14px;
}

/* Hero */
.hero {
  padding: 72px 0 56px;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 14px;
  font-weight: 600;
}

.hero h1 {
  max-width: 760px;
  margin: 0 auto 18px;
  font-size: clamp(34px, 6vw, 54px);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.hero h1 span {
  color: var(--blue);
}

.hero .lead {
  max-width: 600px;
  margin: 0 auto 30px;
  color: var(--muted);
  font-size: 19px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
}

/* Demo card: an illustration of the extension's own toolbar and results. */
.demo {
  max-width: 620px;
  margin: 52px auto 0;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  text-align: left;
}

.demo__title {
  margin: 0 0 14px;
  font-size: 17px;
  font-weight: 600;
}

.toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 8px 8px 8px 12px;
  background: #f4f8fc;
  border: 1px solid #dce6f0;
  border-radius: 10px;
  font-size: 14px;
}

.switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.switch i {
  position: relative;
  width: 32px;
  height: 18px;
  border-radius: 999px;
  background: var(--blue);
}

.switch i::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 16px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ffffff;
}

.pill {
  margin-left: auto;
  padding: 2px 10px;
  border-radius: 999px;
  background: rgba(10, 102, 194, 0.1);
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
}

.toolbar .btn {
  padding: 4px 14px;
  font-size: 13px;
}

.people {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.person {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 4px;
  border-bottom: 1px solid #f0efec;
}

.person:last-child {
  border-bottom: 0;
}

.avatar {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--c, #c9d8e8);
}

.person__lines {
  flex: 1;
}

.person__lines b,
.person__lines s {
  display: block;
  height: 10px;
  border-radius: 5px;
  background: #d9d7d2;
}

.person__lines b {
  width: 42%;
  margin-bottom: 7px;
  background: #bdbab4;
}

.person__lines s {
  width: 66%;
}

.person--gone {
  opacity: 0.45;
}

.person--gone .person__lines b,
.person--gone .person__lines s {
  background: #e4e2de;
}

.tag {
  flex: none;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.tag--hidden {
  background: #eeedea;
  color: var(--muted);
}

.tag--ok {
  background: #e6f2eb;
  color: var(--green);
}

/* Sections */
section {
  padding: 64px 0;
}

.section-title {
  max-width: 640px;
  margin: 0 auto 40px;
  text-align: center;
}

.section-title h2 {
  margin: 0 0 10px;
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.section-title p {
  margin: 0;
  color: var(--muted);
}

.white {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.card {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.white .card {
  background: var(--bg);
  border-color: transparent;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 19px;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border-radius: 10px;
  background: var(--blue-soft);
  color: var(--blue);
}

.icon svg {
  width: 22px;
  height: 22px;
}

.step {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--blue);
  color: #ffffff;
  font-weight: 700;
}

/* FAQ */
.faq {
  max-width: 720px;
  margin: 0 auto;
}

.faq details {
  margin-bottom: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.faq summary {
  position: relative;
  padding: 18px 52px 18px 22px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--blue);
  font-size: 24px;
  font-weight: 400;
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  margin: 0;
  padding: 0 22px 20px;
  color: var(--muted);
}

/* Final CTA */
.cta {
  padding: 56px 24px;
  background: var(--blue);
  border-radius: 20px;
  color: #ffffff;
  text-align: center;
}

.cta h2 {
  margin: 0 0 10px;
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.2;
}

.cta p {
  margin: 0 0 26px;
  opacity: 0.85;
}

.cta .btn {
  background: #ffffff;
  border-color: #ffffff;
  color: var(--blue);
}

.cta .btn:hover {
  background: var(--blue-soft);
}

/* Footer */
.footer {
  padding: 36px 0 44px;
  color: var(--muted);
  font-size: 14px;
}

.footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
}

.footer nav {
  display: flex;
  gap: 18px;
}

.footer a {
  color: var(--muted);
}

.disclaimer {
  flex-basis: 100%;
  margin: 0;
  font-size: 13px;
}

/* Legal page */
.legal {
  max-width: 720px;
  margin: 48px auto 64px;
  padding: 40px 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.legal h1 {
  margin: 0 0 4px;
  font-size: 32px;
  line-height: 1.2;
}

.legal h2 {
  margin: 32px 0 8px;
  font-size: 20px;
}

.legal .updated {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 14px;
}

.legal .summary {
  padding: 16px 20px;
  background: var(--blue-soft);
  border-radius: 10px;
}

.legal li {
  margin-bottom: 6px;
}

.legal code {
  padding: 1px 6px;
  border-radius: 4px;
  background: var(--bg);
  font-size: 0.9em;
}

@media (max-width: 640px) {
  .nav a:not(.btn) {
    display: none;
  }

  .hero {
    padding: 48px 0 40px;
  }

  section {
    padding: 48px 0;
  }

  .legal {
    margin: 24px auto 40px;
    padding: 28px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
