/* SPDX-License-Identifier: MIT */

/* The theme follows the system unless the switch at the bottom picks one;
   every colour is light-dark(light, dark). */
:root {
  color-scheme: light dark;
  --bg: light-dark(#ffffff, #0f1513);
  --bg-alt: light-dark(#f5f7f6, #141c19);
  --surface: light-dark(#ffffff, #18211e);
  --text: light-dark(#16201c, #e6ecea);
  --muted: light-dark(#5b6863, #9aa8a3);
  --border: light-dark(#dbe2df, #2a3632);
  --accent: light-dark(#0b6e55, #3fbf96);
  --accent-text: light-dark(#ffffff, #06261c);
  --accent-soft: light-dark(#e3f3ed, #163a2f);
  --ok: light-dark(#0b6e55, #4cc9a0);
  --ok-soft: light-dark(#e3f3ed, #163a2f);
  --bad: light-dark(#b42318, #f47066);
  --bad-soft: light-dark(#fdecea, #3d1c1a);
  --warn: light-dark(#8a5a00, #e0b14a);
  --warn-soft: light-dark(#fdf3dc, #3a2f14);
  --code-bg: light-dark(#f0f3f2, #1d2724);
  --radius: 12px;
  --wrap: 72rem;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
:root[data-theme='light'] { color-scheme: light; }
:root[data-theme='dark'] { color-scheme: dark; }


*, *::before, *::after { box-sizing: border-box; }

html { scroll-padding-top: 4.5rem; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); }
a:hover { text-decoration-thickness: 2px; }

code, pre { font-family: var(--mono); font-size: .9em; }
code { background: var(--code-bg); padding: .1em .35em; border-radius: 5px; }
pre {
  background: var(--code-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  overflow-x: auto;
  line-height: 1.5;
}
pre code { background: none; padding: 0; }

h1, h2, h3 { line-height: 1.2; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.2rem); margin: .25rem 0 1rem; letter-spacing: -.025em; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 .75rem; }
h3 { font-size: 1.05rem; margin: 1.5rem 0 .5rem; }

/* the same content width as golubmail.com */
.wrap { inline-size: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }
.narrow { --wrap: 46rem; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip { position: absolute; left: -999px; top: .5rem; background: var(--surface); padding: .5rem 1rem; z-index: 10; }
.skip:focus { left: .5rem; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* header */
.top {
  position: sticky; top: 0; z-index: 5;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.top-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 3.75rem; }
.brand { display: inline-flex; align-items: center; gap: .55rem; color: var(--text); text-decoration: none; font-weight: 700; font-size: 1.1rem; }
.brand-mark { width: 30px; height: 30px; color: var(--text); }


/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .4rem;
  min-height: 2.75rem;
  padding: 0 1.25rem;
  border: 1px solid transparent;
  border-radius: 10px;
  background: var(--accent);
  color: var(--accent-text);
  font: inherit; font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { filter: brightness(1.08); }
.btn:disabled { opacity: .6; cursor: progress; }
.btn-small { min-height: 2.25rem; padding: 0 .9rem; font-size: .9rem; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { background: var(--bg-alt); filter: none; }

/* hero and the check form */
.hero { padding: 3.5rem 0 3rem; }
.eyebrow { color: var(--accent); font-weight: 600; font-size: .9rem; margin: 0; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 44rem; margin: 0 0 1.75rem; }
.hero .lede { max-width: 56rem; }

.check { display: flex; gap: .6rem; max-width: 40rem; }
.check input, .list-form input, .weights input {
  font: inherit;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.check input { flex: 1; min-width: 0; min-height: 3.25rem; padding: 0 1rem; font-size: 1.05rem; }
.check .btn { min-height: 3.25rem; min-width: 7.5rem; }
@media (max-width: 520px) {
  .check { flex-direction: column; }
}

.examples { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin: .9rem 0 0; color: var(--muted); font-size: .9rem; }
.chip {
  font: inherit; font-size: .85rem;
  padding: .25rem .65rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}
.chip:hover { border-color: var(--accent); }
.privacy-note { color: var(--muted); font-size: .875rem; margin: .9rem 0 0; }
.error { color: var(--bad); margin-top: 1rem; }

/* result */
.result {
  margin-top: 2rem;
  max-width: 48rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.result-head { display: flex; align-items: center; gap: 1.25rem; padding: 1.25rem 1.4rem; border-bottom: 1px solid var(--border); }
.score {
  --p: 0;
  --c: var(--ok);
  flex: none;
  width: 4.75rem; height: 4.75rem;
  border-radius: 50%;
  display: grid; place-items: center;
  background: conic-gradient(var(--c) calc(var(--p) * 1%), var(--border) 0);
}
.score span {
  display: grid; place-items: center;
  width: 3.85rem; height: 3.85rem;
  border-radius: 50%;
  background: var(--surface);
  font-size: 1.45rem; font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.result-title { min-width: 0; }
.result-title .addr { font-weight: 600; overflow-wrap: anywhere; }
.verdict {
  display: inline-block;
  margin-top: .3rem;
  padding: .1rem .6rem;
  border-radius: 999px;
  font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
}
.verdict.accepted { background: var(--ok-soft); color: var(--ok); }
.verdict.rejected { background: var(--bad-soft); color: var(--bad); }

.checks { list-style: none; margin: 0; padding: 0; }
.checks li {
  display: grid;
  grid-template-columns: 1.6rem 1fr auto;
  gap: .75rem;
  align-items: start;
  padding: .8rem 1.4rem;
  border-bottom: 1px solid var(--border);
}
.checks li:last-child { border-bottom: 0; }
.mark {
  width: 1.5rem; height: 1.5rem; border-radius: 50%;
  display: grid; place-items: center;
  font-size: .8rem; font-weight: 700;
}
.mark.good { background: var(--ok-soft); color: var(--ok); }
.mark.bad { background: var(--bad-soft); color: var(--bad); }
.mark.off { background: var(--bg-alt); color: var(--muted); }
.check-name { font-weight: 600; }
.check-detail { color: var(--muted); font-size: .9rem; overflow-wrap: anywhere; }
.points { font-variant-numeric: tabular-nums; font-weight: 600; font-size: .95rem; color: var(--muted); }
.points.plus { color: var(--ok); }
.points.minus { color: var(--bad); }

.result-foot { display: flex; flex-wrap: wrap; gap: .5rem; padding: 1rem 1.4rem; background: var(--bg-alt); border-top: 1px solid var(--border); }
.result-json { margin: 0; border: 0; border-radius: 0; overflow: auto; }

/* sections */
.section { padding: 4rem 0; }
.section.alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-lede { color: var(--muted); max-width: 44rem; margin: 0 0 1.5rem; }

.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr)); gap: 1.5rem 2.5rem; }
.grid-2 > div > h3:first-child, .card > h3:first-child { margin-top: 0; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.features > * { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.1rem 1.25rem; }
.features h3 { margin: 0 0 .35rem; }
.features p { margin: 0; color: var(--muted); }

.ticks { list-style: none; padding: 0; margin: 0 0 1rem; }
.ticks li { position: relative; padding-left: 1.6rem; margin: .5rem 0; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* playground */
.weights { display: grid; grid-template-columns: 1fr 5.5rem; gap: .45rem .75rem; align-items: center; }
.weights label { font-family: var(--mono); font-size: .9rem; }
.weights input { min-height: 2.25rem; padding: 0 .6rem; text-align: right; font-variant-numeric: tabular-nums; }
.row-actions { margin-top: 1rem; }
.list-form { display: flex; flex-wrap: wrap; gap: .5rem; }
.list-form .btn { flex: 1; }
.list-form input { flex: 1 1 100%; min-height: 2.75rem; padding: 0 .8rem; }
.list-items { list-style: none; padding: 0; margin: 1rem 0; }
.list-items li { display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding: .4rem 0; border-bottom: 1px solid var(--border); }
.tag { font-size: .75rem; font-weight: 700; text-transform: uppercase; padding: .05rem .45rem; border-radius: 6px; margin-right: .5rem; }
.tag.whitelist { background: var(--ok-soft); color: var(--ok); }
.tag.blacklist { background: var(--bad-soft); color: var(--bad); }
.link-btn { background: none; border: 0; color: var(--accent); font: inherit; font-size: .9rem; cursor: pointer; padding: .25rem; }

/* faq */
details { border-bottom: 1px solid var(--border); padding: .9rem 0; }
summary { cursor: pointer; font-weight: 600; }
details p { color: var(--muted); margin: .6rem 0 0; }


/* theme switch, the same control as on golubmail.com */
.themes {
  display: inline-flex;
  padding: 2px;
  border-radius: 999px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
}
.themes button {
  display: grid;
  place-items: center;
  inline-size: 1.95rem;
  block-size: 1.7rem;
  padding: 0;
  color: var(--muted);
  background: none;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}
.themes button:hover { color: var(--text); }
.themes button[aria-checked='true'] {
  color: var(--text);
  background: light-dark(#ffffff, #33413c);
  box-shadow: 0 1px 2px rgb(0 0 0 / .14);
}
.themes svg { inline-size: 1rem; block-size: 1rem; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }

@media (prefers-reduced-motion: no-preference) {
  .result { animation: rise .25s ease-out; }
  @keyframes rise { from { opacity: 0; transform: translateY(6px); } }
}

/* ---- site layout ---- */

/* a 4px band of colours above the header and above the footer, as on golubmail.com */
.top::before, .foot::before {
  content: '';
  display: block;
  block-size: 4px;
  background: linear-gradient(135deg, #00add8 0 20%, #34d399 20% 40%, #a78bfa 40% 60%, #f97316 60% 80%, #facc15 80% 100%);
}
.top { position: sticky; }
.top-inner { gap: 1.5rem; }
.nav { display: flex; align-items: center; gap: .15rem; margin-inline-end: auto; }
/* each menu item takes a colour from the band above the header: a line on hover, a darker one when open, as on golubmail.com */
.nav a {
  --c: #00add8;
  --c-dark: #0089ab;
  position: relative;
  padding: .4rem .7rem;
  color: var(--text);
  text-decoration: none;
  font-size: .95rem;
  font-weight: 450;
  border-radius: 8px;
}
.nav a:nth-child(5n + 2) { --c: #34d399; --c-dark: #059669; }
.nav a:nth-child(5n + 3) { --c: #a78bfa; --c-dark: #7c3aed; }
.nav a:nth-child(5n + 4) { --c: #f97316; --c-dark: #c2410c; }
.nav a:nth-child(5n + 5) { --c: #facc15; --c-dark: #ca8a04; }
.nav a::after {
  content: '';
  position: absolute;
  inset-inline: .7rem;
  inset-block-end: 0;
  block-size: 2px;
  background: var(--c);
  transform: skewX(-30deg) scaleX(0);
  transition: transform .15s ease;
}
.nav a:hover::after { transform: skewX(-30deg) scaleX(1); }
.nav a[aria-current="page"] { font-weight: 600; }
.nav a[aria-current="page"]::after { background: var(--c-dark); transform: skewX(-30deg) scaleX(1); }
@media (prefers-reduced-motion: reduce) { .nav a::after { transition: none; } }
.top-end { display: flex; align-items: center; gap: .5rem; }
.gh svg { inline-size: 1.1rem; block-size: 1.1rem; fill: currentColor; }
.stars { font-variant-numeric: tabular-nums; }
.stars::before { content: '★ '; color: var(--muted); }
.btn-icon { inline-size: 2.5rem; padding: 0; }
.icon { inline-size: 1rem; block-size: 1rem; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.menu-btn { display: none; }
@media (max-width: 860px) {
  .menu-btn { display: inline-flex; }
  .gh-label { display: none; }
  .nav {
    display: none; position: absolute; inset-inline: 0; inset-block-start: 100%;
    flex-direction: column; align-items: stretch; padding: .75rem 1.25rem 1rem;
    background: var(--bg); border-bottom: 1px solid var(--border);
  }
  .nav.open { display: flex; }
  .nav a { padding: .6rem .75rem; }
  .nav a::after { inset-inline: .75rem; }
}
@media (max-width: 420px) { .demo-btn { display: none; } }

/* the same height and heading position on every inner page, as on golubmail.com */
.page-head { display: grid; align-content: start; min-block-size: 11rem; padding-block: 2.5rem; border-bottom: 1px solid var(--border); background: var(--bg-alt); }
@media (max-width: 640px) { .page-head { min-block-size: 17rem; } }
.page-head h1 { margin: 0 0 .5em; font-size: clamp(1.9rem, 3.6vw, 2.6rem); font-weight: 600; letter-spacing: -.035em; line-height: 1.08; }
.page-head .lede, .page-head p { margin: 0; max-width: none; color: var(--muted); font-size: 1.1rem; }
.h3 { font-size: 1.05rem; margin: 0 0 .35rem; }

/* closing band above the footer */
.end { overflow: clip; padding: 3.5rem 0; background: #063b2e; color: #fff; }
.end-inner { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); align-items: center; gap: 2.5rem; }
.end-title { margin: 0 0 2rem; font-size: clamp(2rem, 5vw, 4.2rem); line-height: 1; letter-spacing: -.045em; color: #fff; }
.end-title small { display: block; margin-bottom: .12em; font-size: .6em; letter-spacing: -.035em; }
/* the headline keeps "before they sign up." on one line */
.end-title span { color: #7fe0bf; white-space: nowrap; }
.end-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; }
.end-btn { color: #063b2e; background: #fff; }
.end-btn:hover { background: #e3f7ef; filter: none; }
.end-btn .icon { transition: transform .15s ease; }
.end-btn:hover .icon { transform: translateX(3px); }
.btn-lg { min-height: 3.25rem; padding: 0 1.5rem; font-size: 1.05rem; }
.end-link { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.end-note { margin: 1.25rem 0 0; color: rgb(255 255 255 / .75); }
.end :focus-visible { outline-color: #fff; }
/* result cards fanned out like a hand of cards; they spread a little on hover */
.end-stack { position: relative; display: block; min-height: 15rem; color: #16201c; text-decoration: none; }
.end-stack .card {
  position: absolute; inset-inline-end: 0; display: flex; align-items: center; gap: .9rem;
  inline-size: min(100%, 23rem); padding: .9rem 1.1rem; border-radius: 14px; background: #fff;
  box-shadow: 0 18px 50px rgb(0 0 0 / .35); transition: transform .35s cubic-bezier(.2, .7, .2, 1);
}
.end-stack .card > span:last-child { display: grid; min-width: 0; }
.end-stack b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.end-stack small { color: #5b6863; }
.end-stack .c1 { inset-block-start: 0; transform: rotate(5deg); opacity: .9; }
.end-stack .c2 { inset-block-start: 4.5rem; inset-inline-end: 1.5rem; transform: rotate(1deg); }
.end-stack .c3 { inset-block-start: 9rem; inset-inline-end: 3rem; transform: rotate(-3deg); }
.end-stack:hover .c1 { transform: rotate(8deg) translate(3%, -6%); }
.end-stack:hover .c3 { transform: rotate(-5deg) translate(-3%, 4%); }
.ring { display: grid; place-items: center; flex: none; inline-size: 3rem; block-size: 3rem; border-radius: 50%; font-weight: 700; border: 4px solid; }
.ring.ok { border-color: #0b6e55; color: #0b6e55; }
.ring.bad { border-color: #b42318; color: #b42318; }
.pill { justify-self: start; font-style: normal; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: .05rem .5rem; border-radius: 999px; margin: .15rem 0; }
.pill.ok { background: #e3f3ed; color: #0b6e55; }
.pill.bad { background: #fdecea; color: #b42318; }
@media (max-width: 860px) { .end-inner { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .end-stack .card, .end-btn .icon { transition: none; } }

/* footer */
.foot { background: var(--bg-alt); font-size: .9rem; border-top: 1px solid var(--border); }
.foot-grid { display: grid; grid-template-columns: 2fr repeat(5, 1fr); gap: 2rem; padding-block: 3rem 2rem; }
.foot-about .brand img { inline-size: 24px; }
.foot-about p { margin: .75rem 0 1rem; max-width: 22rem; color: var(--muted); }
.foot nav { display: grid; align-content: start; gap: .45rem; }
.foot nav h2 { margin: 0 0 .3rem; font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.foot nav a { color: var(--text); text-decoration: none; }
.foot nav a:hover { color: var(--accent); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; padding-block: 1.25rem 2rem; border-top: 1px solid var(--border); color: var(--muted); }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-about { grid-column: 1 / -1; } }

/* features page */
.feature-rows { display: grid; gap: 1rem; margin: 1.5rem 0 2rem; }
.feature-row { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 1.5rem; align-items: center; padding: 1.25rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.feature-row h3 { margin-top: 0; }
.feature-row p { margin: 0; color: var(--muted); }
.feature-row pre { margin: 0; }
@media (max-width: 760px) { .feature-row { grid-template-columns: 1fr; } }

/* tables */
.table-wrap { overflow-x: auto; margin: 1rem 0 1.5rem; border: 1px solid var(--border); border-radius: var(--radius); }
table { inline-size: 100%; border-collapse: collapse; font-size: .92rem; }
th, td { text-align: start; padding: .6rem .85rem; border-bottom: 1px solid var(--border); vertical-align: top; }
thead th { background: var(--bg-alt); font-weight: 600; }
tbody tr:last-child td { border-bottom: 0; }

.license-text { white-space: pre-wrap; max-width: 48rem; font-size: .85rem; }
.releases .release { padding: 1.5rem 0; border-bottom: 1px solid var(--border); }
.release header { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem; }
.release h2 { margin: 0; font-size: 1.35rem; }
.release h2 a { color: var(--text); text-decoration: none; }
.latest { margin-inline-start: .6rem; font-size: .75rem; font-weight: 700; text-transform: uppercase; padding: .1rem .5rem; border-radius: 999px; background: var(--accent-soft); color: var(--accent); vertical-align: middle; }
.release time, .release-links { color: var(--muted); font-size: .9rem; }
.notfound { padding: 6rem 0; text-align: center; }

/* domain lists */
.tabs { display: inline-flex; gap: .25rem; padding: 3px; border: 1px solid var(--border); border-radius: 999px; background: var(--bg-alt); margin-bottom: 1.25rem; }
.tabs a { padding: .35rem 1rem; border-radius: 999px; color: var(--muted); text-decoration: none; font-weight: 600; font-size: .92rem; }
.tabs a[aria-current="page"] { background: var(--surface); color: var(--text); box-shadow: 0 1px 2px rgb(0 0 0 / .12); }
.domain-tools { display: grid; gap: .6rem; margin: 1.25rem 0 1.75rem; }
/* one rounded field: a search icon, the input and a small Check button inside it */
.domain-search { display: flex; align-items: center; gap: .5rem; padding: .35rem .35rem .35rem 1.1rem; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); box-shadow: 0 1px 3px rgb(0 0 0 / .06); transition: border-color .15s ease, box-shadow .15s ease; }
.domain-search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
.domain-search .icon { inline-size: 1.15rem; block-size: 1.15rem; color: var(--muted); }
.domain-search input { flex: 1; min-width: 0; min-height: 2.75rem; padding: 0; font: inherit; font-size: 1.05rem; color: var(--text); background: transparent; border: 0; outline: 0; }
.domain-search input::-webkit-search-cancel-button { cursor: pointer; }
.domain-search .btn { border-radius: 999px; min-height: 2.6rem; padding-inline: 1.4rem; }
.domain-answer { margin: 0 0 0 1.1rem; font-weight: 600; }
.domain-answer.yes { color: var(--bad); }
.domain-answer.no { color: var(--ok); }
.domain-meta { margin: 0 0 0 1.1rem; color: var(--muted); font-size: .94rem; }
.domain-grid { list-style: none; padding: 0; margin: 1.25rem 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: .1rem 1.5rem; font-size: .92rem; }
.domain-grid li { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: .2rem 0; border-bottom: 1px solid var(--border); }
.domain-grid a { color: var(--text); text-decoration: none; }
.domain-grid a:hover { color: var(--accent); }
.pager { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; margin-top: 1.5rem; }
.pager a, .pager span { display: inline-flex; align-items: center; gap: .3rem; min-inline-size: 2.4rem; justify-content: center; padding: .35rem .7rem; border-radius: 8px; border: 1px solid var(--border); text-decoration: none; color: var(--text); }
.pager [aria-current="page"] { background: var(--accent); border-color: var(--accent); color: var(--accent-text); font-weight: 700; }
.pager .gap { border: 0; }
.domain-result { margin-top: 1.5rem; max-width: 48rem; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); overflow: hidden; }
.domain-result .verdict-line { padding: 1.25rem 1.4rem; border-bottom: 1px solid var(--border); font-size: 1.15rem; }
.domain-result dl { display: grid; grid-template-columns: 9rem 1fr; gap: .6rem 1rem; margin: 0; padding: 1.25rem 1.4rem; }
.domain-result dt { color: var(--muted); }
.domain-result dd { margin: 0; overflow-wrap: anywhere; font-family: var(--mono); font-size: .9rem; }

/* docs */
.docs-section { padding-top: 2rem; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; color: var(--muted); font-size: .9rem; }
.crumbs a { color: var(--muted); }
.docs { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: 2.5rem; align-items: start; }
.docs.has-toc { grid-template-columns: 15rem minmax(0, 1fr) 13rem; }
.docs-side, .doc-toc { position: sticky; top: 5rem; max-height: calc(100vh - 6rem); overflow-y: auto; }
.docs-nav { display: grid; gap: .1rem; margin-top: 1rem; }
.docs-nav > a, .docs-group a { display: block; padding: .3rem .6rem; border-radius: 7px; color: var(--text); text-decoration: none; font-size: .93rem; }
.docs-nav a:hover { background: var(--bg-alt); }
.docs-nav a[aria-current="page"] { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.docs-group h2 { margin: 1rem 0 .25rem; padding: 0 .6rem; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.docs-search { position: relative; display: flex; align-items: center; }
.docs-search .icon { position: absolute; inset-inline-start: .7rem; color: var(--muted); }
.docs-search input { inline-size: 100%; min-height: 2.4rem; padding: 0 .7rem 0 2.1rem; font: inherit; font-size: .92rem; color: var(--text); background: var(--surface); border: 1px solid var(--border); border-radius: 9px; }
.docs-results { position: absolute; inset-inline: 0; inset-block-start: calc(100% + .3rem); z-index: 4; display: grid; max-height: 22rem; overflow-y: auto; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; box-shadow: 0 12px 30px rgb(0 0 0 / .18); }
.docs-results a { display: block; padding: .55rem .8rem; color: var(--text); text-decoration: none; border-bottom: 1px solid var(--border); font-size: .9rem; }
.docs-results a:hover, .docs-results a:focus { background: var(--bg-alt); }
.docs-results small { display: block; color: var(--muted); }
.docs-results p { margin: 0; padding: .6rem .8rem; color: var(--muted); font-size: .9rem; }
.doc-toc h2 { margin: 0 0 .5rem; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.doc-toc a { display: block; padding: .2rem 0; color: var(--muted); text-decoration: none; font-size: .88rem; }
.doc-toc a.l3 { padding-inline-start: .8rem; }
.doc-toc a:hover { color: var(--accent); }
.prose { max-width: 46rem; }
.prose h2 { margin: 2.25rem 0 .75rem; font-size: 1.45rem; }
.prose h3 { margin: 1.75rem 0 .5rem; }
.prose li { margin: .3rem 0; }
.prose > :first-child { margin-top: 0; }
.prose blockquote { margin: 1.25rem 0; padding: .75rem 1rem; border-inline-start: 4px solid var(--accent); background: var(--accent-soft); border-radius: 0 10px 10px 0; }
.prose blockquote p { margin: 0; }
.doc-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 3rem; }
.doc-pager a { display: flex; align-items: center; gap: .75rem; padding: .9rem 1rem; border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); text-decoration: none; }
.doc-pager a:hover { border-color: var(--accent); }
.doc-pager .next { justify-content: flex-end; text-align: end; grid-column: 2; }
.doc-pager small { display: block; color: var(--muted); }
.fine { font-size: .88rem; color: var(--muted); }
@media (max-width: 1100px) { .docs.has-toc { grid-template-columns: 15rem minmax(0, 1fr); } .doc-toc { display: none; } }
@media (max-width: 800px) { .docs, .docs.has-toc { grid-template-columns: 1fr; } .docs-side { position: static; max-height: none; } }
.domain-result .verdict-line.bad { color: var(--bad); font-weight: 600; }
[hidden] { display: none !important; }
.feature-row pre { white-space: pre-wrap; overflow-wrap: anywhere; }
/* links that leave the site open in a new tab and get a small arrow pointing out, as on golubmail.com */
.foot nav a[target="_blank"]::after {
  content: "";
  display: inline-block;
  inline-size: .7em;
  block-size: .7em;
  margin-inline-start: .3em;
  background: currentColor;
  opacity: .55;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 2.5h5.5V8M9.5 2.5 2.5 9.5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 2.5h5.5V8M9.5 2.5 2.5 9.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* features: a card per check, with a small picture of the address, the field it sets and what it does to the verdict */
.fcards { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; margin: 1.5rem 0 2rem; }
.fcard { grid-column: span 2; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.fcard.s3 { grid-column: span 3; }
.fviz { display: grid; place-items: center; min-height: 13.5rem; padding: 1.5rem 1.25rem; background: var(--bg-alt); border-bottom: 1px solid var(--border); }
.fviz-box { display: grid; gap: .5rem; inline-size: min(100%, 21rem); font-size: .875rem; }
.fviz-label { font-weight: 600; color: var(--muted); }
.fviz-input {
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  padding: .55rem .6rem .55rem .9rem; border-radius: 8px; background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--border); font-size: .95rem; overflow-wrap: anywhere;
}
.fviz-input svg { flex: none; inline-size: 1.25rem; block-size: 1.25rem; fill: currentColor; }
.fviz-input.bad { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bad) 45%, transparent); color: var(--bad); }
.fviz-input.ok { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ok) 45%, transparent); color: var(--ok); }
.fviz-input.warn { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--warn) 45%, transparent); color: var(--warn); }
.fviz-step { display: flex; align-items: center; gap: .4rem; padding-inline-start: .4rem; min-width: 0; }
.fviz-step.l2 { padding-inline-start: 2rem; }
.fviz-arrow { flex: none; inline-size: 1.15rem; block-size: 1.15rem; color: var(--muted); }
.fviz-step code { padding: .2rem .6rem; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); font-size: .8rem; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.fviz-out { padding: .2rem .9rem; border-radius: 999px; font-weight: 700; border: 1px solid; }
.fviz-out.bad { color: var(--bad); background: var(--bad-soft); border-color: color-mix(in srgb, var(--bad) 30%, transparent); }
.fviz-out.ok { color: var(--ok); background: var(--ok-soft); border-color: color-mix(in srgb, var(--ok) 30%, transparent); }
.fviz-out.warn { color: var(--warn); background: var(--warn-soft); border-color: color-mix(in srgb, var(--warn) 30%, transparent); }
.fcard-text { padding: 1.1rem 1.4rem 1.4rem; }
.fcard-text h3 { margin: 0 0 .4rem; font-size: 1.15rem; }
.fcard-text p { margin: 0; color: var(--muted); font-size: .94rem; }
@media (max-width: 1000px) { .fcards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fcard, .fcard.s3 { grid-column: span 1; } }
@media (max-width: 640px) { .fcards { grid-template-columns: 1fr; } }

/* home: the check on the left, its result on the right, with room kept for it before the first check */
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 30rem); gap: 2.5rem 3rem; align-items: start; }
.hero-grid .lede { max-width: none; }
.hero-grid .check { max-width: none; }
.result-pane { position: relative; min-height: 30rem; }
.result-pane .result { margin-top: 0; max-width: none; }
.result-empty {
  display: grid; justify-items: center; align-content: center; gap: 1rem;
  min-height: 30rem; padding: 2rem 1.75rem; text-align: center;
  border: 2px dashed var(--border); border-radius: 16px; color: var(--muted);
}
.result-pane:has(.result:not([hidden])) .result-empty { display: none; }
.result-empty .score { --p: 0; }
.result-empty .score span { color: var(--muted); }
.result-empty p { margin: 0; max-width: 22rem; }
.result-empty strong { display: block; color: var(--text); font-size: 1.05rem; margin-bottom: .25rem; }
.result-empty ul { list-style: none; padding: 0; margin: .5rem 0 0; display: grid; gap: .55rem; justify-items: start; }
.result-empty li { display: flex; align-items: center; gap: .6rem; }
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .result-pane, .result-empty { min-height: 0; }
}

/* a strip of key figures under the page head, as on golubmail.com */
.b-stats { background: var(--surface); border-bottom: 1px solid var(--border); }
.b-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.b-stats-grid > * { display: grid; gap: .15rem; padding: 1.75rem .75rem; text-align: center; }
.b-stats-grid > * + * { border-inline-start: 1px solid var(--border); }
.b-stats strong { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; font-size: 2rem; font-weight: 650; letter-spacing: -.03em; line-height: 1.1; }
.b-stats strong img, .b-stats strong svg { inline-size: 1.6rem; block-size: 1.6rem; }
.b-stats span { color: var(--muted); font-size: .92rem; }
/* figures that link somewhere get a hover background */
a.b-stat { color: var(--text); text-decoration: none; transition: background .15s ease; }
a.b-stat:hover { background: var(--bg-alt); }
@media (max-width: 640px) {
  .b-stats-grid { grid-template-columns: 1fr 1fr; }
  .b-stats-grid > :nth-child(3) { border-inline-start: 0; }
  .b-stats-grid > :nth-child(n + 3) { border-top: 1px solid var(--border); }
}

/* code with a title bar and a copy button */
.code { margin: 1rem 0 1.25rem; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--code-bg); }
.code-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .4rem .5rem .4rem 1rem; border-bottom: 1px solid var(--border); background: var(--bg-alt); color: var(--muted); font-size: .85rem; font-family: var(--mono); }
.code-bar .btn { min-height: 1.9rem; padding: 0 .75rem; font-size: .82rem; }
.code pre { margin: 0; border: 0; border-radius: 0; }

/* tighter result rows, so the whole result fits beside the check form */
.result-head { padding: .9rem 1.2rem; gap: 1rem; }
.result-head .score { width: 4.1rem; height: 4.1rem; }
.result-head .score span { width: 3.3rem; height: 3.3rem; font-size: 1.25rem; }
.checks li { padding: .45rem 1.2rem; gap: .65rem; grid-template-columns: 1.3rem 1fr auto; line-height: 1.35; }
.checks .mark { width: 1.3rem; height: 1.3rem; font-size: .72rem; margin-top: .1rem; }
.check-name { font-size: .95rem; }
.checks .check-detail { font-size: .84rem; }
.points { font-size: .9rem; }
.result-foot { padding: .7rem 1.2rem; }

/* ---- comparison pages, as on golubmail.com ---- */
.intro { margin: 0; max-width: 40rem; color: var(--muted); font-size: 1.05rem; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3.5rem; align-items: start; }
.split.even { grid-template-columns: 1fr 1fr; }
@media (max-width: 860px) { .split, .split.even { grid-template-columns: 1fr; gap: 2rem; } }
.app { display: inline-flex; align-items: center; gap: .45rem; font-size: .9rem; color: var(--text); font-weight: 600; }
.app img, .app .initial { inline-size: 1.25rem; block-size: 1.25rem; border-radius: .3rem; flex: none; }
/* other tools get a grey initial, so EmailFilter's mark is the only one in colour */
.app .initial { display: grid; place-items: center; font-size: .72rem; font-weight: 700; color: var(--muted); background: var(--bg-alt); box-shadow: 0 0 0 1px var(--border); }
.checklist { list-style: none; margin: 0; padding: 0; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); }
.checklist li { display: flex; gap: .75rem; padding: .95rem 1.2rem; color: var(--muted); }
.checklist li + li { border-top: 1px solid var(--border); }
.checklist li::before { content: '✓'; flex: none; color: var(--accent); font-weight: 700; }
.checklist strong { color: var(--text); }
table.compare { table-layout: fixed; }
table.compare thead th:first-child { inline-size: 34%; }
/* the EmailFilter column is tinted in the brand colour, top to bottom */
table.compare th:nth-child(2), table.compare td:nth-child(2) { background: color-mix(in srgb, var(--accent) 9%, transparent); }
table.compare td:nth-child(2) { font-weight: 500; }
.compare .yes::before, .compare .some::before, .compare .no::before { display: inline-block; inline-size: 1.1rem; font-weight: 700; }
.compare .yes::before { content: '✓'; color: var(--ok); }
.compare .some::before { content: '◐'; color: var(--muted); }
.compare .no::before { content: '–'; color: var(--muted); }
.compare .no { color: var(--muted); }
td.best { font-weight: 700; }
ol.steps { display: grid; gap: .9rem; margin: 0; padding: 0; list-style: none; counter-reset: step; }
ol.steps li { position: relative; padding: .9rem 1.1rem .9rem 3.25rem; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); color: var(--muted); counter-increment: step; }
ol.steps li::before { content: counter(step); position: absolute; inset-inline-start: 1rem; inset-block-start: .85rem; display: grid; place-items: center; inline-size: 1.6rem; block-size: 1.6rem; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: .85rem; }
ol.steps strong { color: var(--text); }
.bars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; margin-top: 2rem; }
.bars figure { margin: 0; }
.bars figcaption { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: .9rem; font-weight: 600; }
.bars figcaption span { font-weight: 400; font-size: .8rem; color: var(--muted); }
.bars ul { display: grid; gap: .7rem; margin: 0; padding: 0; list-style: none; }
.bars li { display: grid; grid-template-columns: 1fr auto; gap: .3rem .75rem; align-items: center; }
.bars .bar { grid-column: 1 / -1; grid-row: 2; block-size: .5rem; border-radius: 999px; background: linear-gradient(to right, var(--muted) var(--v), var(--bg-alt) var(--v)); opacity: .55; }
.bars li.us .bar { background: linear-gradient(to right, var(--accent) max(var(--v), .5rem), var(--bg-alt) max(var(--v), .5rem)); opacity: 1; }
.bars b { font-weight: 500; font-size: .875rem; font-variant-numeric: tabular-nums; }
.bars li.us b { font-weight: 700; }
@media (max-width: 900px) { .bars { grid-template-columns: 1fr; } }
.alt-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.alt-cards a { display: grid; gap: .35rem; padding: 1.25rem; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); color: var(--text); text-decoration: none; }
.alt-cards a:hover { border-color: var(--accent); }
.alt-cards span { color: var(--muted); font-size: .92rem; }
@media (max-width: 760px) { .alt-cards { grid-template-columns: 1fr; } }

/* the switch between the domain lists sits on the bottom line of the page head, centred */
.tabs-line { display: flex; justify-content: center; align-items: flex-start; block-size: 0; position: relative; z-index: 1; }
.tabs-line .tabs { margin: 0; transform: translateY(-50%); background: var(--surface); box-shadow: 0 1px 3px rgb(0 0 0 / .08); }
.tabs-line .tabs a[aria-current="page"] { background: var(--accent); color: var(--accent-text); box-shadow: none; }

/* home: how it works, three steps with a small picture each */
.steps-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 2rem; }
.steps-head h2 { margin-top: .25rem; }
.steps-head .section-lede { margin-bottom: 0; }
.howto { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.howto li { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); overflow: hidden; padding-bottom: 1.4rem; }
.howto-viz { display: grid; place-items: center; min-height: 11rem; padding: 1.5rem 1.25rem; margin-bottom: 1.1rem; background: var(--bg-alt); border-bottom: 1px solid var(--border); }
.howto-num { display: grid; place-items: center; inline-size: 1.7rem; block-size: 1.7rem; margin: 0 1.4rem .6rem; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: .85rem; }
.howto h3 { margin: 0 1.4rem .4rem; font-size: 1.15rem; }
.howto p { margin: 0 1.4rem; color: var(--muted); font-size: .94rem; }
.file-chip { display: flex; align-items: center; gap: .8rem; inline-size: min(100%, 17rem); padding: .75rem 1rem; border-radius: 12px; background: var(--surface); box-shadow: 0 0 0 1px var(--border), 0 6px 18px rgb(0 0 0 / .06); }
.file-chip svg { inline-size: 2.2rem; block-size: 2.2rem; color: var(--accent); flex: none; }
.file-chip > span:not(.chip-x) { display: grid; flex: 1; min-width: 0; }
.file-chip small { color: var(--muted); }
.chip-x { color: var(--muted); font-size: 1.2rem; }
.progress-card { inline-size: min(100%, 17rem); padding: .9rem 1rem; border-radius: 12px; background: var(--surface); box-shadow: 0 0 0 1px var(--border), 0 6px 18px rgb(0 0 0 / .06); }
.progress-top { display: flex; justify-content: space-between; font-size: .9rem; color: var(--muted); }
.progress-top b { color: var(--text); }
.progress-bar { block-size: .5rem; margin: .55rem 0 .7rem; border-radius: 999px; background: var(--bg-alt); overflow: hidden; }
.progress-bar span { display: block; block-size: 100%; border-radius: inherit; background: linear-gradient(90deg, #00add8, #34d399, #a78bfa, #f97316); }
.progress-tags { display: flex; flex-wrap: wrap; gap: .3rem; }
.progress-tags span { font-size: .72rem; padding: .05rem .45rem; border-radius: 999px; border: 1px solid var(--border); color: var(--muted); }
.result-rows { display: grid; gap: .5rem; inline-size: min(100%, 17rem); }
.rr { display: flex; align-items: center; gap: .7rem; padding: .6rem .9rem; border-radius: 12px; background: var(--surface); box-shadow: 0 0 0 1px var(--border), 0 6px 18px rgb(0 0 0 / .06); }
.rr b { font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.rr span:last-child { color: var(--muted); }
.rr-icon { display: grid; place-items: center; inline-size: 1.5rem; block-size: 1.5rem; border-radius: 50%; font-size: .75rem; font-weight: 700; }
.rr.ok .rr-icon { background: var(--ok-soft); color: var(--ok); }
.rr.bad .rr-icon { background: var(--bad-soft); color: var(--bad); }
@media (max-width: 860px) { .howto { grid-template-columns: 1fr; } }
/* the percentage is a counter, so it can count up while the bar fills */
@property --pct { syntax: '<integer>'; inherits: false; initial-value: 86; }
.progress-pct { counter-reset: pct var(--pct); }
.progress-pct::after { content: counter(pct) '%'; }
/* hovering the section plays the three steps in turn: the file drops in, the list is checked, the result comes out */
@media (prefers-reduced-motion: no-preference) {
  .steps-section:hover .file-chip { animation: howto-drop .55s cubic-bezier(.3, 1.4, .5, 1) both; }
  .steps-section:hover .chip-x { animation: howto-fade .3s .45s both; }
  .steps-section:hover .progress-bar span { animation: howto-fill 1.3s .5s ease-out both; }
  .steps-section:hover .progress-pct { animation: howto-count 1.3s .5s ease-out both; }
  .steps-section:hover .progress-tags span { animation: howto-tag 1.3s both; }
  .steps-section:hover .progress-tags span:nth-child(1) { animation-delay: .6s; }
  .steps-section:hover .progress-tags span:nth-child(2) { animation-delay: .8s; }
  .steps-section:hover .progress-tags span:nth-child(3) { animation-delay: 1s; }
  .steps-section:hover .progress-tags span:nth-child(4) { animation-delay: 1.2s; }
  .steps-section:hover .progress-tags span:nth-child(5) { animation-delay: 1.4s; }
  .steps-section:hover .rr { animation: howto-slide .45s cubic-bezier(.2, .8, .3, 1) both; }
  .steps-section:hover .rr.ok { animation-delay: 1.75s; }
  .steps-section:hover .rr.bad { animation-delay: 1.9s; }
  .steps-section:hover .rr-icon { animation: howto-pop .35s cubic-bezier(.3, 1.6, .5, 1) both; }
  .steps-section:hover .rr.ok .rr-icon { animation-delay: 2s; }
  .steps-section:hover .rr.bad .rr-icon { animation-delay: 2.15s; }
}
@keyframes howto-drop { from { opacity: 0; transform: translateY(-1.25rem) rotate(-4deg) scale(.96); } }
@keyframes howto-fade { from { opacity: 0; } }
@keyframes howto-fill { from { inline-size: 0; } }
@keyframes howto-count { from { --pct: 0; } }
@keyframes howto-tag { 0%, 100% { border-color: var(--border); color: var(--muted); } 15%, 60% { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); } }
@keyframes howto-slide { from { opacity: 0; transform: translateX(-1rem); } }
@keyframes howto-pop { from { transform: scale(0); } }

/* bulk check page */
.bulk-drop { position: relative; }
.bulk-drop textarea { display: block; inline-size: 100%; min-block-size: 16rem; padding: 1rem 1.1rem; resize: vertical; font: .95rem/1.55 var(--mono); color: var(--text); background: var(--surface); border: 1px solid var(--border); border-radius: 14px; }
.bulk-drop-hint { position: absolute; inset: 0; display: none; place-items: center; border: 2px dashed var(--accent); border-radius: 14px; background: color-mix(in srgb, var(--accent-soft) 85%, transparent); color: var(--accent); font-weight: 700; pointer-events: none; }
.bulk-drop.over .bulk-drop-hint { display: grid; }
.bulk-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; margin: 1rem 0; }
.bulk-actions label.btn { cursor: pointer; }
.bulk-actions #bulk-start { margin-inline-start: auto; min-width: 10rem; }
.bulk-progress { margin-bottom: 1.25rem; }
.bulk-progress-text { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: .45rem; color: var(--muted); }
.bulk-progress-text strong { color: var(--text); }
.bulk-bar { block-size: .6rem; border-radius: 999px; background: var(--bg-alt); overflow: hidden; }
.bulk-bar span { display: block; block-size: 100%; inline-size: 0; border-radius: inherit; background: var(--accent); transition: width .2s ease; }
.bulk-summary { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .6rem; margin-bottom: 1.25rem; }
.sum { display: grid; gap: .1rem; padding: .8rem .9rem; text-align: start; font: inherit; color: var(--text); background: var(--surface); border: 1px solid var(--border); border-radius: 12px; cursor: pointer; }
.sum strong { font-size: 1.5rem; font-variant-numeric: tabular-nums; line-height: 1.15; }
.sum span { color: var(--muted); font-size: .85rem; }
.sum.ok strong { color: var(--ok); }
.sum.bad strong { color: var(--bad); }
.sum[aria-pressed="true"] { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
@media (max-width: 860px) { .bulk-summary { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.bulk-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: .5rem; }
.bulk-downloads { display: flex; flex-wrap: wrap; gap: .5rem; }
.bulk-table { max-block-size: 34rem; overflow-y: auto; }
.bulk-table thead th { position: sticky; top: 0; z-index: 1; }
.bulk-table td.addr { font-family: var(--mono); font-size: .86rem; overflow-wrap: anywhere; }
.bulk-table td.num { font-variant-numeric: tabular-nums; }
.bulk-table td.why { color: var(--muted); }
.bulk-table .pill { display: inline-block; }

/* home: feature cards with a small piece of interface each, as on golubmail.com */
.b-section { padding-block: 6rem; }
.b-section h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); letter-spacing: -.035em; max-inline-size: 22ch; }
.b-sub { color: var(--muted); font-size: 1.1rem; margin: 0 0 3rem; }
.b-mark { --c: #00add8; background: linear-gradient(var(--c), var(--c)) 0 100% / 100% .12em no-repeat; padding-bottom: .04em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.b-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.b-card, a.fcard, a.feature { --c: #00add8; position: relative; overflow: hidden; color: inherit; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.b-card { display: flex; flex-direction: column; gap: 1.25rem; padding: 1.5rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
:is(.b-card, a.fcard, a.feature):hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgb(0 0 0 / .08); }
:is(.b-card, a.fcard, a.feature):nth-child(5n + 2) { --c: #34d399; }
:is(.b-card, a.fcard, a.feature):nth-child(5n + 3) { --c: #a78bfa; }
:is(.b-card, a.fcard, a.feature):nth-child(5n + 4) { --c: #f97316; }
:is(.b-card, a.fcard, a.feature):nth-child(5n + 5) { --c: #facc15; }
/* on hover a card gets a line in one of the colours of the band above the header, like the menu */
:is(.b-card, a.fcard, a.feature)::after { content: ''; position: absolute; inset-inline: 0; inset-block-end: 0; block-size: 3px; background: var(--c); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
:is(.b-card, a.fcard, a.feature):hover::after { transform: scaleX(1); }
.b-card h3 { font-size: 1.15rem; margin: 0; }
.b-card p { margin: 0; color: var(--muted); }
.b-ui { display: grid; gap: .5rem; min-block-size: 9.5rem; align-content: center; padding: 1rem; border: 1px solid var(--border); border-radius: .5rem; background: var(--bg); font-size: .85rem; }
.b-muted { color: var(--muted); }
.b-mono { font-family: var(--mono); font-size: .8rem; }
.b-row { display: grid; grid-template-columns: auto 1fr auto; gap: .6rem; align-items: center; }
.b-row > span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.b-search { display: flex; align-items: center; gap: .5rem; padding: .45rem .7rem; border-radius: 8px; background: var(--bg-alt); border: 1px solid var(--border); overflow-wrap: anywhere; }
.b-sig, .b-bad { display: flex; align-items: center; gap: .5rem; padding: .45rem .7rem; border-radius: 8px; font-weight: 500; overflow-wrap: anywhere; }
.b-sig { background: var(--ok-soft); color: var(--ok); }
.b-bad { background: var(--bad-soft); color: var(--bad); }
.b-notice { display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding: .5rem .75rem; border-radius: 8px; background: var(--warn-soft); color: var(--warn); font-weight: 500; }
.b-chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.b-chip { display: inline-flex; align-items: center; padding: .2rem .6rem; border-radius: 999px; border: 1px solid var(--border); font-family: var(--mono); font-size: .78rem; }
.b-chip.bad { color: var(--bad); border-color: color-mix(in srgb, var(--bad) 40%, transparent); background: var(--bad-soft); }
.b-pri { display: grid; place-items: center; min-inline-size: 1.6rem; padding: 0 .3rem; border-radius: 6px; background: var(--bg-alt); color: var(--muted); font-variant-numeric: tabular-nums; font-size: .78rem; }
.b-tag { padding: .05rem .45rem; border-radius: 6px; font-size: .72rem; font-weight: 700; text-transform: uppercase; }
.b-tag.ok { background: var(--ok-soft); color: var(--ok); }
.b-tag.bad { background: var(--bad-soft); color: var(--bad); }
.b-meter { block-size: .45rem; border-radius: 999px; background: var(--bg-alt); overflow: hidden; }
.b-meter span { display: block; block-size: 100%; background: var(--bad); border-radius: inherit; }
@media (max-width: 1000px) { .b-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .b-cards { grid-template-columns: 1fr; } .b-section { padding-block: 4rem; } }
@media (prefers-reduced-motion: reduce) { :is(.b-card, a.fcard, a.feature), :is(.b-card, a.fcard, a.feature)::after { transition: none; } }

/* the list box keeps its height while the lists load, so nothing below it jumps */
.list-items { min-block-size: 6rem; }
