/* Mammoth Blocker — site styles.
   Light, clean layout: white and soft-gray sections, Lato headings,
   Source Sans 3 body text. Brand colors come from the Mammoth logo. */

:root {
  --green: #1d5038;
  --green-2: #2a6b4b;
  --green-soft: #e8f1ec;
  --red: #d0182a;
  --red-2: #b01323;
  --red-soft: #fdecee;
  --ink: #212121;
  --text: #333333;
  --muted: #666666;
  --line: #e2e2e2;
  --bg: #ffffff;
  --bg-alt: #f5f5f5;
  --bg-foot: #e9e9e9;
  --radius: 10px;
  --shadow: 0 2px 10px rgba(0,0,0,.06), 0 12px 32px rgba(0,0,0,.06);
  --head: "Lato", "Helvetica Neue", Arial, sans-serif;
  --body: "Source Sans 3", "Source Sans Pro", "Lato", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --max: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.6;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--green); }
a:hover { color: var(--green-2); }
h1, h2, h3, h4 { font-family: var(--head); color: var(--ink); line-height: 1.2; }
h1 { font-size: clamp(36px, 5.2vw, 60px); font-weight: 900; letter-spacing: -.01em; }
h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 700; }
h3 { font-size: 21px; font-weight: 700; }
p { margin-bottom: 0; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section.alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head p { color: var(--muted); margin-top: 14px; font-size: 19px; }
.kicker { display: inline-block; font-family: var(--head); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: 10px; }

.skip { position: absolute; left: -9999px; top: 10px; z-index: 200; background: var(--green); color: #fff; padding: 10px 16px; border-radius: 6px; }
.skip:focus { left: 10px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--head); font-weight: 700; font-size: 17px;
  padding: 14px 26px; border-radius: 6px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s;
  line-height: 1.2;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-2); color: #fff; }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-2); color: #fff; }
/* store buttons in each browser's own color, with its official icon */
.btn-store img { width: 26px; height: 26px; flex: none; background: #fff; border-radius: 50%; padding: 2px; }
.btn-store.chrome, .btn-store.brave-chrome { background: #1a73e8; color: #fff; }
.btn-store.chrome:hover, .btn-store.brave-chrome:hover { background: #1557b0; color: #fff; }
.btn-store.firefox { background: #e66000; color: #fff; }
.btn-store.firefox:hover { background: #c45200; color: #fff; }
.btn-store.edge { background: #0c59a4; color: #fff; }
.btn-store.edge:hover { background: #094a8a; color: #fff; }
.btn-store.brave { background: #fb542b; color: #fff; }
.btn-store.brave:hover { background: #d9431d; color: #fff; }
.btn-ghost { background: #fff; color: var(--green); border-color: var(--green); }
.btn-ghost:hover { background: var(--green-soft); color: var(--green); }
.btn-lg { font-size: 20px; padding: 18px 34px; }
@media (max-width: 520px) { .btn-lg { font-size: 18px; padding: 16px 22px; width: 100%; } }
.btn small { font-weight: 400; font-size: 13px; opacity: .85; }
.btn svg { width: 22px; height: 22px; flex: none; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--line); }
.site-header.scrolled { box-shadow: 0 2px 12px rgba(0,0,0,.07); }
.nav { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.brand img { width: 44px; height: 44px; }
.brand span { font-family: var(--head); font-weight: 900; font-size: 21px; letter-spacing: -.01em; }
.brand span b { color: var(--green); font-weight: 900; }
.nav-links { display: flex; gap: 26px; margin-left: auto; list-style: none; align-items: center; }
.nav-links a { color: var(--text); text-decoration: none; font-family: var(--head); font-size: 16px; }
.nav-links a:hover { color: var(--green); }
.nav .btn { padding: 10px 18px; font-size: 15px; }
.menu-btn { display: none; margin-left: auto; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; border-radius: 6px; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 24px; height: 2px; background: var(--ink); position: relative; margin: 0 auto; transition: transform .2s; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -7px; } .menu-btn span::after { top: 7px; }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 960px) {
  .menu-btn { display: block; }
  .nav > .btn { display: none; }
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 20px; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(0,0,0,.08); }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
  .nav-links li:last-child a { border-bottom: 0; }
}

/* ---------- hero ---------- */
.hero { padding: 72px 0 80px; background: linear-gradient(180deg, #fff 0%, #fff 60%, var(--bg-alt) 100%); }
.hero-grid > *, .split > * { min-width: 0; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero h1 span { color: var(--green); }
.hero .lead { font-size: 21px; color: var(--muted); margin: 20px 0 32px; max-width: 34rem; font-weight: 300; }
.hero .lead b { color: var(--text); font-weight: 600; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-note { margin-top: 18px; font-size: 15px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 18px; }
.hero-note span { display: inline-flex; align-items: center; gap: 6px; }
.hero-note svg { width: 16px; height: 16px; color: var(--green); }
.browsers { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 15px; color: var(--muted); }
.browsers .pill { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 4px 12px; font-family: var(--head); font-size: 14px; color: var(--text); display: inline-flex; align-items: center; gap: 7px; }
.browsers .pill img, .tab img { width: 18px; height: 18px; flex: none; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: minmax(0,1fr); } .hero { padding-top: 48px; } }

/* hero mock: a browser window with ads crossed out + the popup */
.mock { position: relative; }
.mock-window { background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); overflow: hidden; }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d6d6d6; }
.mock-url { flex: 1; margin-left: 10px; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-family: var(--mono); font-size: 12px; color: var(--muted); padding: 3px 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-ext { width: 22px; height: 22px; position: relative; }
.mock-ext img { width: 22px; height: 22px; }
.mock-ext b { position: absolute; right: -8px; bottom: -6px; background: var(--red); color: #fff; font-size: 9px; font-family: var(--head); border-radius: 999px; padding: 0 4px; line-height: 14px; }
.mock-body { padding: 18px; display: grid; grid-template-columns: 1fr 120px; gap: 14px; }
.mock-line { height: 10px; background: #ececec; border-radius: 4px; margin-bottom: 9px; }
.mock-line.h { height: 18px; width: 70%; background: #dcdcdc; margin-bottom: 14px; }
.mock-line.s { width: 82%; }
.mock-ad { border: 2px dashed #e5b3b8; background: var(--red-soft); border-radius: 8px; display: grid; place-items: center; color: var(--red); font-family: var(--head); font-weight: 700; font-size: 12px; text-align: center; min-height: 64px; margin: 12px 0; }
.mock-side .mock-ad { min-height: 180px; margin: 0; }
.mock-pop { position: absolute; right: -14px; top: 58px; width: 230px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 18px 40px rgba(0,0,0,.16); padding: 14px; font-size: 13px; }
.mock-pop .t { display: flex; align-items: center; gap: 8px; font-family: var(--head); font-weight: 900; color: var(--ink); }
.mock-pop .t img { width: 26px; height: 26px; }
.mock-pop .n { font-family: var(--head); font-weight: 900; font-size: 40px; color: var(--red); text-align: center; line-height: 1.1; margin-top: 8px; }
.mock-pop .l { text-align: center; font-size: 11px; letter-spacing: .1em; color: var(--muted); text-transform: uppercase; }
.mock-pop .chips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 10px; }
.mock-pop .chips span { font-family: var(--mono); font-size: 10.5px; border: 1px solid var(--line); border-radius: 999px; padding: 1px 8px; color: var(--muted); }
.mock-pop .ok { margin-top: 10px; background: var(--green-soft); color: var(--green); border-radius: 8px; padding: 6px 8px; font-weight: 600; font-size: 12px; }
@media (max-width: 900px) { .mock-pop { right: 8px; } }
@media (max-width: 520px) { .mock-body { grid-template-columns: 1fr; } .mock-side { display: none; } .mock-pop { position: relative; right: auto; top: auto; width: auto; margin: -30px 16px 0; } }

/* ---------- stats strip ---------- */
.stats { background: var(--green); color: #fff; padding: 34px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stats .n { font-family: var(--head); font-weight: 900; font-size: 38px; line-height: 1.1; }
.stats .l { font-size: 15px; opacity: .85; }
@media (max-width: 700px) { .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 26px; } }

/* ---------- feature cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card .ico { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: var(--green-soft); color: var(--green); margin-bottom: 18px; }
.card .ico.red { background: var(--red-soft); color: var(--red); }
.card .ico svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 17px; }
.card .tag { display: inline-block; margin-left: 6px; vertical-align: middle; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--red); color: #fff; border-radius: 4px; padding: 2px 6px; font-family: var(--head); }

/* ---------- split spotlight ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.rev .split-media { order: -1; }
.split h2 { margin-bottom: 16px; }
.split p { color: var(--muted); }
.checks { list-style: none; margin: 22px 0 28px; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks svg { width: 22px; height: 22px; flex: none; color: var(--green); margin-top: 3px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } .split.rev .split-media { order: 0; } }

.scam-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 24px; max-width: 420px; margin: 0 auto; }
.scam-card .top { display: flex; align-items: center; gap: 10px; font-family: var(--head); font-weight: 900; color: var(--ink); margin-bottom: 16px; }
.scam-card .top img { width: 30px; height: 30px; }
.scam-card .url { font-family: var(--mono); font-size: 13px; background: var(--bg-alt); border-radius: 6px; padding: 8px 10px; color: var(--muted); margin-bottom: 16px; word-break: break-all; }
.verdict { display: flex; align-items: center; gap: 10px; font-family: var(--head); font-weight: 900; font-size: 20px; color: var(--red); }
.verdict i { width: 12px; height: 12px; border-radius: 50%; background: var(--red); }
.scam-card ul { margin: 12px 0 0 20px; color: var(--muted); font-size: 16px; display: grid; gap: 6px; }
.scam-card .foot { margin-top: 16px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; }

/* ---------- steps ---------- */
.steps { counter-reset: s; }
.step { text-align: center; padding: 10px 18px; }
.step .num { width: 60px; height: 60px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center; background: var(--red); color: #fff; font-family: var(--head); font-weight: 900; font-size: 24px; }
.step p { color: var(--muted); margin-top: 8px; }

/* ---------- category explorer ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 28px; }
.tab { display: inline-flex; align-items: center; gap: 7px; font-family: var(--head); font-weight: 700; font-size: 15px; border: 1px solid var(--line); background: #fff; color: var(--text); border-radius: 999px; padding: 9px 18px; cursor: pointer; }
.tab:hover { border-color: var(--green); color: var(--green); }
.tab[aria-selected="true"] { background: var(--green); border-color: var(--green); color: #fff; }
.tab .c { font-weight: 400; opacity: .8; margin-left: 4px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.panel-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.panel-head .count { font-family: var(--head); font-weight: 900; color: var(--red); font-size: 20px; }
.panel p.desc { color: var(--muted); margin-bottom: 18px; }
.domains { display: flex; flex-wrap: wrap; gap: 8px; }
.domains span { font-family: var(--mono); font-size: 13px; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 6px; padding: 4px 10px; color: var(--text); }
.domains .more { background: none; border: 0; color: var(--green); font-family: var(--head); font-weight: 700; font-size: 14px; cursor: pointer; padding: 4px 6px; }
.panel .off-note { margin-top: 16px; font-size: 15px; color: var(--muted); }

/* ---------- domain checker ---------- */
.checker { max-width: 720px; margin: 0 auto; }
.checker form { display: flex; gap: 10px; }
.checker input { flex: 1; min-width: 0; font: inherit; font-family: var(--mono); font-size: 17px; padding: 14px 16px; border: 2px solid var(--line); border-radius: 6px; background: #fff; color: var(--ink); }
.checker input:focus { border-color: var(--green); outline: none; }
.checker .result { margin-top: 18px; border-radius: 8px; padding: 18px 20px; font-size: 17px; display: flex; gap: 14px; align-items: flex-start; }
.checker .result svg { width: 26px; height: 26px; flex: none; margin-top: 1px; }
.checker .result.blocked { background: var(--red-soft); color: #7a0e18; border: 1px solid #f3c2c8; }
.checker .result.clear { background: var(--green-soft); color: #173f2c; border: 1px solid #c4dccf; }
.checker .result.bad { background: var(--bg-alt); color: var(--muted); border: 1px solid var(--line); }
.checker .try { margin-top: 14px; font-size: 15px; color: var(--muted); text-align: center; }
.checker .try button { background: none; border: 0; color: var(--green); font: inherit; font-family: var(--mono); font-size: 14px; cursor: pointer; text-decoration: underline; margin: 0 4px; }
@media (max-width: 520px) { .checker form { flex-direction: column; } }

/* ---------- comparison ---------- */
.compare { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: 17px; }
.compare th, .compare td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.compare thead th { font-family: var(--head); background: var(--bg-alt); color: var(--ink); }
.compare thead th.us { background: var(--green); color: #fff; }
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; width: 24%; }
.compare tr:last-child td { border-bottom: 0; }
.yes { color: var(--green); font-weight: 700; }
.no { color: var(--red); font-weight: 700; }
.maybe { color: var(--muted); }
.table-wrap { overflow-x: auto; }
.fine { font-size: 14px; color: var(--muted); margin-top: 14px; text-align: center; }

/* ---------- install guide ---------- */
.install-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; }
.install-panel ol { margin: 18px 0 0 22px; display: grid; gap: 12px; }
.install-panel code { font-family: var(--mono); font-size: 15px; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 4px; padding: 1px 6px; }
.install-panel .row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; align-items: center; }
.install-panel .status { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-family: var(--head); font-weight: 700; padding: 5px 12px; border-radius: 999px; background: #fff4d6; color: #7a5a00; }
.install-panel .status.live { background: var(--green-soft); color: var(--green); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 8px; margin-bottom: 12px; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; font-family: var(--head); font-weight: 700; font-size: 19px; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 22px 20px; color: var(--muted); }
.faq-search { display: block; width: 100%; max-width: 860px; margin: 0 auto 22px; font: inherit; padding: 14px 16px; border: 2px solid var(--line); border-radius: 6px; }
.faq-search:focus { border-color: var(--green); outline: none; }
.faq-empty { text-align: center; color: var(--muted); }

/* ---------- support band ---------- */
.band { background: var(--ink); color: #eee; padding: 72px 0; }
.band h2 { color: #fff; }
.band p { color: #bdbdbd; }
.band .card { background: #2b2b2b; border-color: #3a3a3a; color: #ddd; }
.band .card h3 { color: #fff; }
.band .card p { color: #bdbdbd; }
.band .card .ico { background: #3a3a3a; color: #fff; }
.band .card a.link { color: #9fd4b7; font-family: var(--head); font-weight: 700; text-decoration: none; display: inline-block; margin-top: 12px; }
.band .card a.link:hover { text-decoration: underline; }

/* ---------- final CTA ---------- */
.cta { text-align: center; padding: 88px 0; }
.cta img { width: 96px; height: 96px; margin: 0 auto 20px; }
.cta p { color: var(--muted); margin: 14px auto 28px; max-width: 34rem; font-size: 19px; }

/* ---------- footer ---------- */
.site-footer { background: var(--bg-foot); color: var(--muted); font-size: 16px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding: 56px 0 40px; }
.foot-grid h4 { font-size: 15px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); margin-bottom: 14px; }
.foot-grid ul { list-style: none; display: grid; gap: 8px; }
.foot-grid a { color: var(--text); text-decoration: none; }
.foot-grid a:hover { color: var(--green); text-decoration: underline; }
.foot-brand p { margin-top: 12px; max-width: 22rem; }
.foot-bottom { border-top: 1px solid #d4d4d4; padding: 20px 0 28px; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: 14px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

.to-top { position: fixed; right: 18px; bottom: 18px; width: 46px; height: 46px; border-radius: 50%; background: var(--green); color: #fff; border: 0; cursor: pointer; box-shadow: var(--shadow); display: grid; place-items: center; opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 90; }
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top svg { width: 22px; height: 22px; }

/* ---------- simple pages (privacy, 404, welcome) ---------- */
.page { padding: 64px 0 88px; }
.page .wrap { max-width: 800px; }
.page h1 { font-size: clamp(34px, 5vw, 50px); margin-bottom: 14px; }
.page .sub { font-size: 20px; color: var(--muted); margin-bottom: 36px; font-weight: 300; }
.page h2 { font-size: 26px; margin: 40px 0 12px; }
.page p, .page li { color: var(--text); margin-bottom: 14px; }
.page ul, .page ol { margin: 0 0 14px 24px; }
.page .stamp { margin-top: 48px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.center { text-align: center; }
