/* Satoshi by Indian Type Foundry (fontshare.com, free for commercial use), served from /fonts */
@font-face { font-family: 'Satoshi'; src: url('/fonts/satoshi-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Satoshi'; src: url('/fonts/satoshi-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Satoshi'; src: url('/fonts/satoshi-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Satoshi'; src: url('/fonts/satoshi-900.woff2') format('woff2'); font-weight: 900; font-style: normal; font-display: swap; }

:root {
  --bg: #f8fafc;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --border: #e2e8f0;
  --brand: #2563eb;
  --brand-dark: #1d4ed8;
  --ok: #16a34a;
  --warn: #b45309;
  --danger: #dc2626;
  --radius: 10px;
  /* Page width (header, content and footer); full-width bands line their content up with it */
  --page: 1320px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-gutter: stable; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 Satoshi, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1 { font-size: 2rem; line-height: 1.2; margin: 0 0 .5rem; }
h2 { font-size: 1.25rem; margin: 1.5rem 0 .75rem; }
h3 { font-size: 1.05rem; margin: 1rem 0 .4rem; }
code { background: #f1f5f9; padding: 2px 6px; border-radius: 4px; font-size: .9em; word-break: break-all; }

.wrap { width: 100%; max-width: var(--page); margin: 0 auto; padding: 0 16px; }
main.wrap { flex: 1; padding-top: 24px; padding-bottom: 48px; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.lead { font-size: 1.1rem; color: #334155; max-width: 680px; }
.center { text-align: center; }
.narrow { max-width: 440px; margin: 40px auto; }
.inline { display: inline; margin: 0; }

/* Nav & footer */
/* Sticky header on every page, frosted so the page shows faintly through it */
.nav { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .82); -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--border); }
html { scroll-padding-top: 72px; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 12px; }
.nav nav { display: flex; align-items: center; gap: 6px; }
.nav nav a:not(.btn) { color: var(--text); }
.logo { display: inline-flex; align-items: center; gap: 10px; color: #0a0a0a; }
.logo:hover { text-decoration: none; }
.logo-mark { display: block; flex-shrink: 0; border-radius: 8px; transition: transform .2s; }
.logo-word { font-weight: 800; font-size: 1.18rem; letter-spacing: -.035em; line-height: 1; }
.logo-tld { color: #8a8a8a; font-weight: 600; letter-spacing: -.01em; }
/* Needle sweeps up into place on load, nudges higher on hover */
.logo-needle { transform-box: view-box; transform-origin: 16px 17px; animation: logo-sweep 1.1s cubic-bezier(.3, 1.4, .5, 1) .15s both; transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); }
.logo-arc { stroke-dasharray: 26 26; animation: logo-fill 1.1s cubic-bezier(.22, .8, .25, 1) .15s both; }
@keyframes logo-sweep { from { transform: rotate(-130deg); } }
@keyframes logo-fill { from { stroke-dashoffset: 26; } }
.logo:hover .logo-needle { transform: rotate(28deg); }
.logo:hover .logo-mark { transform: rotate(-4deg) scale(1.04); }
@media (prefers-reduced-motion: reduce) {
  .logo-needle, .logo-arc { animation: none; }
  .logo-needle, .logo-mark { transition: none; }
}

/* Buttons & forms */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--brand); color: #fff; border: 1px solid var(--brand);
  padding: 10px 18px; border-radius: 8px; font: inherit; font-weight: 600; cursor: pointer;
}
.btn:hover { background: var(--brand-dark); text-decoration: none; }
.btn-sm { padding: 6px 12px; font-size: .9rem; }
.btn-ghost { background: transparent; color: var(--brand); }
.btn-ghost:hover { background: #eff6ff; }
.btn-google { background: #fff; color: var(--text); border-color: var(--border); }
.btn-google:hover { background: #f1f5f9; }
button.link { background: none; border: 0; color: var(--text); font: inherit; cursor: pointer; padding: 0; }
button.link:hover { text-decoration: underline; }
.danger { color: var(--danger) !important; }
input[type=text], textarea, select {
  width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px;
  font: inherit; background: #fff; color: var(--text);
}
input:focus, textarea:focus, select:focus { outline: 2px solid #bfdbfe; border-color: var(--brand); }
label { display: block; margin-bottom: 14px; font-weight: 500; }
label input, label textarea, label select { margin-top: 4px; font-weight: 400; }
.row { display: flex; gap: 8px; margin-top: 6px; }
.row input { flex: 1; }

/* Cards & layout */
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; margin-bottom: 20px; }
.card > h2:first-of-type, .card > h3:first-of-type { margin-top: 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.page-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }

.flash { padding: 12px 16px; border-radius: 8px; margin-bottom: 20px; border: 1px solid; }
.flash-success { background: #f0fdf4; border-color: #bbf7d0; color: #166534; }
.flash-error { background: #fef2f2; border-color: #fecaca; color: #991b1b; }

/* Home */
.hero { padding: 40px 0 24px; }
.hero h1 { font-size: 2.6rem; letter-spacing: -.02em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 20px 0 10px; }
.search { display: flex; gap: 8px; flex: 1; min-width: 260px; max-width: 460px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 24px 0; }
.steps .card { margin: 0; }
.steps p { margin: 0; }
.step { width: 30px; height: 30px; border-radius: 50%; background: #eff6ff; color: var(--brand); font-weight: 700; display: grid; place-items: center; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { background: var(--card); border: 1px solid var(--border); padding: 6px 12px; border-radius: 999px; color: var(--text); font-size: .9rem; }
.chip:hover { border-color: var(--brand); text-decoration: none; }

/* Tables */
.table { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.table th, .table td { padding: 10px 12px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: middle; }
.table th { font-size: .8rem; color: var(--muted); font-weight: 600; background: #f8fafc; }
.table tr:last-child td { border-bottom: 0; }
/* Number columns take only the width they need, so the text columns (names, domains) get the rest */
.table .num { text-align: right; white-space: nowrap; width: 1%; }
.table th { white-space: nowrap; }
/* Their headers may wrap ("Sites / checked"), so a long label doesn't widen a column of short numbers */
.table th.num { white-space: normal; min-width: 64px; line-height: 1.25; }
.table th.num.th-sort a, .table th.num .th-btn { white-space: normal; text-align: right; }
.table th .attrib { display: block; font-weight: 400; font-size: .7rem; }
.dr-pill { display: inline-block; min-width: 40px; text-align: center; color: #fff; font-weight: 700; padding: 2px 8px; border-radius: 6px; }
.tag { display: inline-block; font-size: .8rem; padding: 2px 8px; border-radius: 999px; font-weight: 500; }
.tag-ok { background: #dcfce7; color: #166534; }
.tag-warn { background: #fef3c7; color: #92400e; }
.tag-info { background: #e0f2fe; color: #075985; }
.up { color: var(--ok); font-weight: 600; }
.down { color: var(--danger); font-weight: 600; }
.pager { display: flex; justify-content: space-between; margin-top: 16px; }

/* Site pages */
.site-header { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; flex-wrap: wrap; margin-bottom: 24px; }
.site-header h1 { word-break: break-all; }
.dr-box { text-align: center; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 32px; }
.dr-label { color: var(--muted); font-size: .9rem; }
.dr-value { font-size: 3.5rem; font-weight: 800; line-height: 1.1; }
.attrib { font-size: .8rem; color: var(--muted); }
.chart-wrap { position: relative; height: 280px; }
.copy-box { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #f1f5f9; border-radius: 8px; padding: 10px 12px; margin-bottom: 16px; }
.copy-box code { background: none; padding: 0; }
textarea.code { font: 13px/1.5 ui-monospace, Menlo, monospace; background: #f8fafc; margin-bottom: 8px; }
.danger-zone { margin-top: 32px; }
.prose { max-width: 720px; }

/* Dashboard: stat tiles and soft-coloured domain cards, like the homepage mockup */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.dash-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 36px 0 24px; }
.dash-head h1 { font-size: clamp(2rem, 4vw, 2.6rem); letter-spacing: -.04em; line-height: 1.05; margin: 0 0 8px; }
.dash-meta { margin: 0; color: var(--mute); font-size: .92rem; }
.mono .dash-meta a { text-decoration: underline; text-underline-offset: 2px; }
.dash-add { display: flex; align-items: center; gap: 6px; background: var(--paper); border: 1.5px solid var(--line); border-radius: 999px; padding: 5px 5px 5px 18px; width: min(100%, 400px); transition: border-color .15s, box-shadow .15s; }
.dash-add:focus-within { border-color: var(--ink); box-shadow: 0 0 0 4px #0a0a0a0f; }
.dash-add input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 8px 0; background: transparent; font-size: 1rem; }
.dash-add button { display: inline-flex; align-items: center; gap: 6px; flex: none; height: 40px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--ink); color: var(--paper); font: inherit; font-size: .92rem; font-weight: 600; cursor: pointer; transition: background .15s, transform .15s; }
.dash-add button:hover { background: #262626; }
.dash-add button:active { transform: scale(.98); }
.dash-full { margin: 0; font-size: .9rem; color: var(--mute); background: var(--soft); border-radius: 999px; padding: 10px 18px; }

.dash-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.dash-stat { background: var(--soft); border-radius: 16px; padding: 16px 18px; min-width: 0; }
.dash-stat strong { display: block; font-size: 1.7rem; font-weight: 700; letter-spacing: -.03em; line-height: 1.15; font-variant-numeric: tabular-nums; }
.dash-stat span { display: block; font-size: .85rem; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.dash-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; margin-bottom: 32px; }
.mono .dash-card { position: relative; display: flex; flex-direction: column; gap: 14px; background: var(--paper); border: 1.5px solid var(--line); border-radius: 20px; padding: 18px; color: var(--ink); transition: transform .15s, box-shadow .15s, border-color .15s; }
.mono .dash-card:hover { text-decoration: none; transform: translateY(-2px); border-color: #d4d4d4; box-shadow: 0 1px 2px #1010180a, 0 12px 28px -10px #1010182e; }
.dash-card-top { display: flex; align-items: center; gap: 14px; }
.dash-card-info { flex: 1; min-width: 0; }
.dash-card-domain { display: flex; align-items: center; gap: 7px; font-weight: 700; font-size: 1.05rem; letter-spacing: -.01em; }
.dash-card-domain span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dash-card-domain img { flex-shrink: 0; border-radius: 4px; }
.dash-card-sub { font-size: .82rem; color: var(--mute); margin-top: 2px; }
/* The whole card opens the domain page; the ⋯ menu sits above that link */
.dash-card-link { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.dash-card-link:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.card-menu { position: relative; z-index: 2; flex: none; }
/* The card with an open menu sits above its neighbours, so the menu isn't hidden under the next card */
.mono .dash-card:has(.card-menu[open]) { z-index: 5; transform: none; }
.mono .dash-card.menu-open { z-index: 5; transform: none; }
.card-menu > summary { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; color: #a3a3a3; transition: background .15s, color .15s; }
.card-menu > summary:hover, .card-menu[open] > summary { background: var(--soft); color: var(--ink); }
.card-menu .menu { min-width: 190px; }
.mono .card-menu .menu a { color: #0f172a; }

/* Sort and layout */
.dash-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 0 0 14px; }
.dash-sort, .dash-view { display: inline-flex; align-items: center; gap: 2px; background: var(--soft); border-radius: 999px; padding: 4px; }
.dash-toolbar-label { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); padding: 0 8px 0 10px; }
.dash-sort button, .dash-view button { border: 0; background: transparent; font: inherit; font-size: .86rem; font-weight: 600; color: var(--mute); padding: 6px 12px; border-radius: 999px; cursor: pointer; display: grid; place-items: center; transition: background .15s, color .15s; }
.dash-view button { padding: 6px 10px; }
.dash-sort button:hover, .dash-view button:hover { color: var(--ink); }
.dash-sort button[aria-pressed="true"], .dash-view button[aria-pressed="true"] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
/* List view: one row per domain */
.dash-grid.is-list { grid-template-columns: minmax(0, 1fr); gap: 10px; }
.dash-grid.is-list .dash-card { flex-direction: row; align-items: center; gap: 20px; padding: 12px 16px; }
.dash-grid.is-list .dash-card-top { flex: 1 1 280px; min-width: 0; }
.dash-grid.is-list .dash-card-spark { flex: 0 1 220px; height: 36px; }
.dash-grid.is-list .dash-card-spark .spark { height: 36px; }
.dash-grid.is-list .dash-card-spark span { padding: 6px 8px; font-size: .75rem; }
.dash-grid.is-list .dash-chips { flex: 0 1 320px; margin-top: 0; justify-content: flex-end; }
.dash-grid.is-list .dash-card { padding-right: 56px; }
.dash-grid.is-list .card-menu { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); }

/* What moved since the last visit */
.dash-changes { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding: 12px 16px; margin: 0 0 16px; border-radius: 16px; background: #0a0a0a; color: #fff; font-size: .9rem; animation: changes-in .5s cubic-bezier(.2, .8, .2, 1); }
.dash-changes strong { margin-right: 4px; }
.mono .dash-move { display: inline-flex; align-items: baseline; gap: 6px; padding: 4px 12px; border-radius: 999px; background: #262626; color: #fff; }
.mono .dash-move:hover { background: #333; text-decoration: none; }
.dash-move b { font-weight: 700; }
.dash-move.is-up b { color: #4ade80; }
.dash-move.is-down b { color: #f87171; }
.dash-move small { color: #a3a3a3; }
.dash-changes[hidden] { display: none; }
.dash-changes.is-quiet { background: var(--soft); color: var(--mute); }
.dash-changes-icon { width: 22px; height: 22px; border-radius: 50%; background: #16a34a; color: #fff; display: grid; place-items: center; font-size: .75rem; }
@keyframes changes-in { from { opacity: 0; transform: translateY(-6px); } }
.dash-card-spark { height: 44px; display: flex; align-items: center; }
.dash-card-spark .spark { height: 44px; }
.dash-card-spark span { font-size: .8rem; color: var(--mute); border: 1.5px dashed var(--line); border-radius: 10px; padding: 10px 12px; width: 100%; text-align: center; }
.dash-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.dash-chip { display: inline-flex; align-items: center; font-size: .78rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--soft); color: #404040; }
.dash-chip.is-up { background: #dcfce7; color: #166534; }
.dash-chip.is-down { background: #fee2e2; color: #991b1b; }
.dash-chip.is-warn { background: #ffedd5; color: #9a3412; }
.dash-chip.is-hint { background: transparent; box-shadow: inset 0 0 0 1.5px var(--line); color: var(--mute); }
.dash-card:nth-child(2) .ring-arc { animation-delay: .08s; }
.dash-card:nth-child(3) .ring-arc { animation-delay: .16s; }
.dash-card:nth-child(n+4) .ring-arc { animation-delay: .24s; }

/* Dashboard welcome (no domains yet): big add box, a live preview card and how it works */
.welcome { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: center; border: 1.5px solid var(--line); border-radius: 28px; padding: 48px; margin-bottom: 20px; background: radial-gradient(120% 120% at 100% 0%, #f4f4f5 0%, var(--paper) 55%); animation: welcome-in .6s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes welcome-in { from { opacity: 0; transform: translateY(16px); } }
.welcome-hi { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; font-weight: 600; border: 1px solid var(--line); border-radius: 999px; padding: 5px 14px; background: var(--paper); }
.welcome-dot { width: 8px; height: 8px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 0 #16a34a66; animation: welcome-ping 2s infinite; }
@keyframes welcome-ping { 70% { box-shadow: 0 0 0 8px #16a34a00; } 100% { box-shadow: 0 0 0 0 #16a34a00; } }
.welcome h2 { font-size: clamp(2rem, 4vw, 2.9rem); letter-spacing: -.045em; line-height: 1.05; margin: 18px 0 12px; }
.welcome-copy > p { color: var(--mute); font-size: 1.08rem; line-height: 1.6; margin: 0 0 26px; max-width: 520px; }
.welcome-add { display: flex; align-items: center; gap: 10px; background: var(--paper); border: 1.5px solid var(--ink); border-radius: 999px; padding: 6px 6px 6px 20px; max-width: 540px; color: var(--mute); box-shadow: 6px 6px 0 var(--ink); transition: box-shadow .2s, transform .2s; }
.welcome-add:focus-within { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--ink); }
.welcome-add input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 1.1rem; padding: 12px 0; color: var(--ink); }
.welcome-add button { flex: none; height: 50px; padding: 0 24px; border: 0; border-radius: 999px; background: var(--ink); color: var(--paper); font: inherit; font-weight: 700; cursor: pointer; transition: background .15s; }
.welcome-add button:hover { background: #262626; }
.welcome-add button span { display: inline-block; transition: transform .2s; }
.welcome-add button:hover span { transform: translateX(3px); }
.welcome-perks { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .9rem; color: #404040; }
.welcome-perks li { display: inline-flex; align-items: center; gap: 6px; }
.welcome-perks svg { color: #16a34a; }

.welcome-preview { position: relative; padding: 28px 8px 40px; }
.welcome-label { position: absolute; top: 0; left: 8px; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.mono .welcome-card { transform: rotate(-1.5deg); box-shadow: 0 2px 6px #1010180d, 0 30px 60px -20px #10101840; animation: welcome-float 6s ease-in-out infinite; cursor: default; }
.mono .welcome-card:hover { transform: rotate(-1.5deg); }
@keyframes welcome-float { 50% { translate: 0 -6px; } }
.welcome-fav { width: 16px; height: 16px; border-radius: 4px; background: linear-gradient(135deg, #2563eb, #16a34a); flex: none; }
.welcome-spark { display: block; width: 100%; height: 44px; }
.welcome-spark-line { fill: none; stroke: #ca8a04; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; stroke-dasharray: 400; stroke-dashoffset: 400; animation: welcome-draw 1.6s .4s cubic-bezier(.4, 0, .2, 1) forwards; }
.welcome-spark-fill { fill: #ca8a04; opacity: 0; animation: welcome-fade .8s 1.4s forwards; }
@keyframes welcome-draw { to { stroke-dashoffset: 0; } }
@keyframes welcome-fade { to { opacity: .12; } }
.welcome-toast { position: absolute; right: -6px; bottom: 0; display: flex; align-items: center; gap: 10px; background: var(--ink); color: #fff; border-radius: 14px; padding: 10px 14px 10px 10px; box-shadow: 0 16px 40px -12px #00000080; font-size: .85rem; opacity: 0; animation: welcome-toast .6s 1.8s cubic-bezier(.2, .9, .25, 1.2) forwards; }
.welcome-toast span:last-child { display: flex; flex-direction: column; line-height: 1.3; }
.welcome-toast small { color: #a3a3a3; }
.welcome-toast-icon { width: 32px; height: 32px; border-radius: 10px; background: #16a34a; display: grid; place-items: center; }
@keyframes welcome-toast { from { opacity: 0; transform: translateY(14px) scale(.95); } to { opacity: 1; transform: none; } }

.welcome-steps { margin-bottom: 32px; }
.welcome-steps h3 { font-size: 1rem; margin: 8px 0 14px; color: var(--mute); font-weight: 600; }
.welcome-steps ol { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.welcome-steps li { display: flex; flex-direction: column; gap: 6px; border: 1.5px solid var(--line); border-radius: 20px; padding: 22px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.welcome-steps li:hover { transform: translateY(-3px); border-color: #d4d4d4; box-shadow: 0 14px 30px -14px #10101833; }
.welcome-step-icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 8px; transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.welcome-steps li:hover .welcome-step-icon { transform: scale(1.08) rotate(-6deg); }
.welcome-step-no { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.welcome-steps strong { font-size: 1.08rem; letter-spacing: -.01em; }
.welcome-steps p { margin: 0; color: var(--mute); font-size: .92rem; line-height: 1.55; }
@media (max-width: 900px) {
  .welcome { grid-template-columns: 1fr; padding: 28px 22px; gap: 28px; }
  .welcome-steps ol { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .welcome-add { flex-wrap: wrap; border-radius: 22px; padding: 8px; box-shadow: 4px 4px 0 var(--ink); }
  .welcome-add > svg { display: none; }
  .welcome-add input { padding: 10px 12px; }
  .welcome-add button { width: 100%; }
  .welcome-toast { right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .welcome, .welcome-dot, .mono .welcome-card, .welcome-spark-line, .welcome-spark-fill, .welcome-toast { animation: none; }
  .welcome-spark-line { stroke-dashoffset: 0; }
  .welcome-spark-fill { opacity: .12; }
  .welcome-toast { opacity: 1; }
}
.dash-upsell { background: var(--soft); border-radius: 20px; padding: 22px 24px; margin-bottom: 40px; }
.dash-upsell h3 { margin: 0 0 4px; font-size: 1.05rem; }
.dash-upsell p { margin: 0; color: var(--mute); font-size: .92rem; }
@media (max-width: 800px) {
  .dash-head { padding-top: 24px; }
  .dash-add { width: 100%; }
  .dash-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dash-grid { grid-template-columns: minmax(0, 1fr); }
  .dash-sort { overflow-x: auto; max-width: 100%; }
  .dash-toolbar-label { display: none; }
  .dash-grid.is-list .dash-card { flex-wrap: wrap; }
  .dash-grid.is-list .dash-card-spark { display: none; }
  .dash-grid.is-list .dash-chips { justify-content: flex-start; flex-basis: 100%; }
}

.spark { display: block; width: 100%; height: 36px; margin-top: auto; }
.empty { padding: 36px 20px; }
.ring { display: block; flex-shrink: 0; }
.ring-arc { animation: ring-fill 1.2s cubic-bezier(.22, .8, .25, 1) both; }
@keyframes ring-fill { from { stroke-dashoffset: var(--len); } }
@media (prefers-reduced-motion: reduce) {
  .ring-arc { animation: none; }
}


/* Site page */
.site-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 6px; }
.site-title { display: flex; align-items: center; gap: 12px; min-width: 0; }
.site-title img { border-radius: 6px; }
.site-title h1 { margin: 0; word-break: break-all; }
.site-h1-sub { color: var(--muted); font-weight: 500; font-size: .62em; white-space: nowrap; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .84rem; color: var(--muted); margin: 0 0 14px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--text); }
.crumbs [aria-current] { color: var(--text); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* Visitor prompt on domain pages: a small card that slides up from the bottom */
.visitor-bar { position: fixed; left: 50%; bottom: 16px; z-index: 30; display: flex; align-items: center; gap: 14px; width: min(680px, calc(100vw - 24px)); padding: 12px 12px 12px 18px; background: #0a0a0a; color: #fff; border-radius: 16px; box-shadow: 0 20px 50px -12px rgba(0, 0, 0, .45); transform: translateX(-50%); animation: bar-in .45s cubic-bezier(.2, .9, .25, 1); }
.visitor-bar[hidden] { display: none; }
.visitor-bar p { margin: 0; flex: 1; font-size: .92rem; line-height: 1.4; }
.visitor-bar p span { color: #a3a3a3; }
.visitor-bar .btn { background: #fff; color: #0a0a0a; flex-shrink: 0; }
.visitor-bar-close { flex-shrink: 0; width: 32px; height: 32px; border: 0; border-radius: 10px; background: transparent; color: #a3a3a3; font-size: 1.3rem; cursor: pointer; }
.visitor-bar-close:hover { background: #262626; color: #fff; }
@keyframes bar-in { from { opacity: 0; transform: translate(-50%, 24px); } }
@media (max-width: 600px) {
  .visitor-bar { flex-wrap: wrap; bottom: 8px; padding: 12px 14px; }
  .visitor-bar p { flex-basis: calc(100% - 46px); }
  .visitor-bar .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) { .visitor-bar { animation: none; } }
.claim-page { max-width: 720px; margin: 0 auto; padding: 48px 0 72px; }
.claim-page h1 { font-size: clamp(2rem, 4.6vw, 2.8rem); letter-spacing: -.04em; line-height: 1.1; margin: 0 0 14px; }
.claim-page h1 span { color: #2563eb; word-break: break-all; }
.claim-lead { color: var(--mute); font-size: 1.08rem; margin: 0 0 32px; }
.claim-flow { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.claim-flow > li { display: flex; gap: 16px; border: 1.5px solid var(--line); border-radius: 20px; padding: 22px; }
.claim-flow > li > div { flex: 1; min-width: 0; }
.claim-flow h2 { margin: 2px 0 6px; font-size: 1.15rem; letter-spacing: -.02em; }
.claim-flow p { margin: 0 0 14px; color: #404040; }
.claim-flow code { font-size: .88em; background: var(--soft); padding: 1px 6px; border-radius: 6px; }
.claim-flow textarea { width: 100%; margin-bottom: 10px; }
.claim-no { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; font-weight: 700; font-size: .9rem; }
.claim-note { margin: 20px 0 0; font-size: .9rem; color: var(--mute); }
/* "Featured on" badges in the footer's bottom line (Admin → Badges). They sit still in the middle while they fit;
   with more, ui.js adds .is-scrolling and the row loops slowly (paused on hover). */
.featured { flex: 1; min-width: 0; display: flex; justify-content: center; overflow: hidden; }
.featured.is-scrolling { justify-content: flex-start; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.featured-track { display: flex; width: max-content; }
.is-scrolling .featured-track { animation: featured-scroll var(--featured-time, 40s) linear infinite; }
.featured:hover .featured-track, .featured:focus-within .featured-track { animation-play-state: paused; }
.featured-set { display: flex; align-items: center; gap: 12px; flex: none; }
.featured-set[hidden] { display: none; }
.is-scrolling .featured-set { padding-right: 12px; }
.featured-set > * { flex: none; display: inline-flex; opacity: .85; transition: opacity .15s; }
.featured-set > *:hover { opacity: 1; }
.featured-set img { display: block; height: 28px; width: auto; max-width: 160px; }
@keyframes featured-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .featured.is-scrolling { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .is-scrolling .featured-track { animation: none; }
  .featured-set[aria-hidden] { display: none; }
}

/* Free tools page (tools.ejs), in the homepage style */
.page-tools main.wrap { padding-bottom: 0; }
.tk-hero { text-align: center; padding: 56px 0 40px; }
.tk-pill { display: inline-flex; align-items: center; gap: 8px; border: 1px solid #e0e0e0; border-radius: 999px; padding: 6px 14px; font-size: .85rem; color: var(--mute); background: var(--paper); }
.tk-dot { width: 7px; height: 7px; border-radius: 50%; background: #40b88c; box-shadow: 0 0 0 3px #40b88c40; }
.tk-hero h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); line-height: 1.03; letter-spacing: -.05em; margin: 22px auto 0; max-width: 820px; text-wrap: balance; }
.tk-lead { color: var(--mute); font-size: clamp(1.05rem, 2vw, 1.2rem); line-height: 1.6; max-width: 620px; margin: 18px auto 0; }
.tk-trust { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; font-size: .92rem; color: #404040; }
.tk-trust li { display: inline-flex; align-items: center; gap: 6px; }
.tk-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; padding-bottom: 88px; }
.tk-card { display: flex; flex-direction: column; gap: 16px; border: 1.5px solid var(--line); border-radius: 24px; padding: 26px; background: var(--paper); transition: transform .2s, box-shadow .2s, border-color .2s; }
.tk-card:hover { transform: translateY(-3px); border-color: #d4d4d4; box-shadow: 0 16px 36px -16px #10101838; }
.tk-card-head { display: flex; gap: 16px; align-items: flex-start; }
.tk-card h2 { margin: 2px 0 4px; font-size: 1.35rem; letter-spacing: -.03em; }
.mono .tk-card h2 a { color: var(--ink); }
.tk-card-head p { margin: 0; color: var(--mute); }
.tk-icon { flex: none; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.tk-card:hover .tk-icon, .tk-why-card:hover .tk-icon { transform: scale(1.08) rotate(-6deg); }
.tk-icon-sm { width: 30px; height: 30px; border-radius: 9px; }
.tk-bullets { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: .95rem; }
.tk-bullets li { display: flex; gap: 10px; align-items: flex-start; }
.tk-bullets .hx-tick { margin-top: 4px; }
.tk-form { display: flex; align-items: center; gap: 8px; margin-top: auto; border: 1.5px solid var(--line); border-radius: 999px; padding: 5px 5px 5px 18px; transition: border-color .15s, box-shadow .15s; }
.tk-form:focus-within { border-color: var(--ink); box-shadow: 0 0 0 4px #0a0a0a0f; }
.tk-form input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 1rem; padding: 9px 0; }
.tk-form button { flex: none; border: 0; border-radius: 999px; background: var(--ink); color: var(--paper); font: inherit; font-weight: 700; padding: 10px 20px; cursor: pointer; }
.tk-form button:hover { background: #262626; }
.mono .tk-more { font-size: .9rem; font-weight: 600; color: var(--mute); }
.mono .tk-more:hover { color: var(--ink); text-decoration: none; }
.tk-why { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tk-why-card { background: var(--paper); border: 1px solid #ececec; border-radius: 22px; padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.tk-why-card strong { font-size: 1.1rem; margin-top: 8px; letter-spacing: -.01em; }
.tk-why-card p { margin: 0; color: var(--mute); line-height: 1.55; }
.tk-which { max-width: 900px; margin: 0 auto; }
.mono .tk-which-link { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); white-space: nowrap; }
.mono .tk-which-link:hover strong { text-decoration: underline; }
.tk-final { margin-top: 0; }
@media (max-width: 1100px) {
  .tk-why { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .tk-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .tk-why { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .tk-hero { padding-top: 36px; }
  .tk-card { padding: 20px; }
  .tk-which-link { white-space: normal; }
}

/* Admin → Domains: free listing popup */
.free-explain { margin: 12px 0 16px; color: #334155; font-size: .92rem; line-height: 1.55; }
.free-form { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding-bottom: 14px; }
.free-form select { width: auto; min-width: 200px; }
.free-check { display: flex; align-items: center; gap: 8px; font-size: .9rem; }

/* Tool pages (DR checker, domain age, domain expiry, speed test), in the homepage style */
.c-hero { text-align: center; padding: 56px 0 36px; max-width: 820px; margin: 0 auto; }
.c-hero h1 { font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1.03; letter-spacing: -.05em; margin: 22px auto 14px; text-wrap: balance; }
.c-lead { color: var(--mute); font-size: clamp(1.05rem, 2vw, 1.2rem); line-height: 1.6; max-width: 620px; margin: 0 auto 28px; }
.c-hero .h-search { max-width: 620px; padding: 7px 7px 7px 22px; border: 1px solid #d9d9d9; box-shadow: 0 1px 2px #1010180a, 0 8px 24px -8px #1010181f; }
.mono .c-hero .h-search input { font-size: 1.08rem; padding: 10px 0; }
.c-hero .h-search button { background: var(--ink); color: var(--paper); padding: 12px 22px; }
.c-hero .h-search button:hover { background: #262626; }

.tl-how { list-style: none; padding: 0; margin: 8px auto 96px; max-width: 980px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.tl-how li { display: flex; align-items: center; gap: 14px; border: 1px solid #ececec; border-radius: 18px; padding: 16px 18px; font-size: .95rem; background: var(--paper); }
.tl-how-no { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; font-weight: 700; font-size: .9rem; }
.tl-features { margin-bottom: 0; }

.c-learn { max-width: 860px; margin: 0 auto; padding: 88px 0 72px; }
.c-learn-block { padding: 0 0 64px; }
.c-learn-block h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); line-height: 1.1; letter-spacing: -.045em; margin: 0 0 16px; }
.c-learn-block p { color: #404040; font-size: 1.04rem; line-height: 1.7; }
.mono .c-learn-block p a, .mono .c-steps a { text-decoration: underline; text-underline-offset: 2px; }
.c-levels { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid #ececec; border-radius: 20px; overflow: hidden; margin: 10px 0 14px; box-shadow: 0 1px 2px #1010180a, 0 8px 24px -8px #1010181a; }
.c-levels th, .c-levels td { text-align: left; padding: 15px 20px; border-bottom: 1px solid #ececec; font-size: .95rem; }
.c-levels th { background: #fafafa; font-size: .8rem; font-weight: 600; color: var(--mute); }
.c-levels tr:last-child td { border-bottom: 0; }
.c-steps { list-style: none; counter-reset: step; padding: 0; margin: 8px 0 0; display: grid; gap: 10px; }
.c-steps li { counter-increment: step; position: relative; padding: 14px 18px 14px 58px; border: 1px solid #ececec; border-radius: 16px; color: #404040; line-height: 1.6; background: var(--paper); }
.c-steps li::before { content: counter(step); position: absolute; left: 16px; top: 14px; width: 28px; height: 28px; border-radius: 50%; background: #f5f5f7; color: var(--ink); font-weight: 700; font-size: .85rem; display: grid; place-items: center; }
.c-steps strong { color: var(--ink); }

.t-more { padding: 0 0 8px; }
.t-more h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); letter-spacing: -.045em; line-height: 1.1; margin: 0 0 22px; }
.t-tools { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.mono .t-tool { display: flex; flex-direction: column; gap: 8px; padding: 22px; border: 1px solid #ececec; border-radius: 20px; background: var(--paper); color: var(--ink); transition: transform .2s, box-shadow .2s; }
.mono .t-tool:hover { text-decoration: none; transform: translateY(-3px); box-shadow: 0 16px 36px -16px #10101838; }
.t-tool strong { margin-top: 8px; font-size: 1.05rem; letter-spacing: -.01em; }
.t-tool > span:not(.tk-icon) { color: var(--mute); font-size: .9rem; line-height: 1.5; flex: 1; }
.t-tool em { font-style: normal; font-weight: 600; font-size: .88rem; }
.mono .t-tool:hover .tk-icon { transform: scale(1.08) rotate(-6deg); }

.t-band { background: #f5f5f7; text-align: center; padding: 96px 16px; }
.t-band h2 { font-size: clamp(2.1rem, 5vw, 3.3rem); line-height: 1.05; letter-spacing: -.045em; margin: 0 auto; max-width: 760px; }
.t-band > p { color: var(--mute); font-size: 1.1rem; margin: 16px auto 0; max-width: 620px; line-height: 1.6; }
.t-band-cta { display: flex; justify-content: center; margin-top: 30px; }
.t-band > .t-band-fine { font-size: .82rem; margin-top: 14px; }
@media (max-width: 900px) {
  .tl-how { grid-template-columns: minmax(0, 1fr); margin-bottom: 72px; }
}
@media (max-width: 560px) {
  .c-hero { padding-top: 36px; }
  .c-hero .h-search { padding-left: 16px; }
  .c-learn { padding-top: 64px; }
  .c-learn-block { padding-bottom: 48px; }
  .c-steps li { padding-left: 52px; }
  .t-band { padding: 72px 16px; }
}

/* Admin: sortable column headers (server links or admin.js buttons) */
.th-sort a, .th-btn { display: inline-flex; align-items: center; gap: 4px; color: inherit; font: inherit; font-weight: inherit; background: none; border: 0; padding: 0; cursor: pointer; white-space: nowrap; }
.th-sort a:hover, .th-btn:hover { color: var(--text); text-decoration: none; }
.th-sort.num a, .th-sort.num .th-btn { flex-direction: row-reverse; }
.sort-arrow { width: 10px; height: 12px; opacity: .35; background: no-repeat center / 10px 12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 12'%3E%3Cpath d='M5 1 8.5 5h-7zM5 11 1.5 7h7z' fill='%23334155'/%3E%3C/svg%3E"); }
.th-sort.is-asc .sort-arrow, .th-sort.is-desc .sort-arrow { opacity: 1; }
.th-sort.is-asc .sort-arrow { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 12'%3E%3Cpath d='M5 1 8.5 5h-7z' fill='%232563eb'/%3E%3Cpath d='M5 11 1.5 7h7z' fill='%23cbd5e1'/%3E%3C/svg%3E"); }
.th-sort.is-desc .sort-arrow { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 12'%3E%3Cpath d='M5 1 8.5 5h-7z' fill='%23cbd5e1'/%3E%3Cpath d='M5 11 1.5 7h7z' fill='%232563eb'/%3E%3C/svg%3E"); }
.th-sort.is-asc, .th-sort.is-desc { color: var(--text); }
.table .fav { vertical-align: -3px; margin-right: 6px; border-radius: 3px; }

/* Admin popup (one shared <dialog>, filled from a <template>) */
.pop { width: min(760px, calc(100vw - 24px)); max-height: min(80vh, 760px); padding: 0; border: 0; border-radius: 18px; box-shadow: 0 30px 80px rgba(15, 23, 42, .35); overflow: hidden; }
.pop[open] { display: flex; flex-direction: column; animation: pop-in .22s cubic-bezier(.2, .9, .25, 1); }
.pop::backdrop { background: rgba(15, 23, 42, .45); backdrop-filter: blur(3px); }
@keyframes pop-in { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.pop [data-pop-content] { display: flex; flex-direction: column; min-height: 0; flex: 1; }
.pop-close { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border: 0; border-radius: 10px; background: #f1f5f9; font-size: 1.3rem; line-height: 1; cursor: pointer; color: #334155; z-index: 1; }
.pop-close:hover { background: #e2e8f0; }
.pop-head { display: flex; align-items: center; gap: 12px; padding: 20px 60px 16px 22px; border-bottom: 1px solid var(--border); }
.pop-head img { border-radius: 6px; }
.pop-head h2 { margin: 0; font-size: 1.15rem; }
.pop-head p { margin: 2px 0 0; color: var(--muted); font-size: .88rem; }
.pop-body { overflow-y: auto; padding: 8px 22px; flex: 1; }
.pop-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 22px; border-top: 1px solid var(--border); background: #f8fafc; }
.pop-list { list-style: none; padding: 0; margin: 0; }
.pop-list li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.pop-list li:last-child { border-bottom: 0; }
.pop-person { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pop-person > span { overflow: hidden; text-overflow: ellipsis; }
.pop-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.pop-tags .tag { font-size: .72rem; background: #f1f5f9; color: #334155; }
.pop-tags .tag-info { background: #e0f2fe; color: #075985; }
.pop-stats { display: flex; flex-direction: column; align-items: flex-end; text-align: right; gap: 1px; white-space: nowrap; }
.pop-stats strong { font-size: 1.15rem; }
.pop-avatar { flex: none; border-radius: 50%; object-fit: cover; display: inline-grid; place-items: center; background: #e0e7ff; color: #3730a3; font-weight: 700; font-size: .75rem; }
.pop-faces { display: inline-flex; }
.pop-faces .pop-avatar { border: 2px solid #fff; }
.pop-faces .pop-avatar + .pop-avatar { margin-left: -8px; }
.pop-people { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; border: 1px solid var(--border); border-radius: 999px; background: #fff; font: inherit; font-size: .88rem; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.pop-people:hover { border-color: #2563eb; box-shadow: 0 0 0 3px #dbeafe; }
.pop-link { border: 0; background: none; padding: 2px 6px; border-radius: 6px; font: inherit; font-weight: 600; color: #2563eb; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.pop-link:hover { background: #eff6ff; }
.pop-table { margin: 0; }
.times-pill { display: inline-block; min-width: 34px; padding: 2px 8px; border-radius: 999px; background: #eff6ff; color: #1d4ed8; font-weight: 700; font-size: .82rem; text-align: center; }
@media (max-width: 600px) {
  .pop-list li { flex-wrap: wrap; }
  .pop-stats { align-items: flex-start; text-align: left; flex-basis: 100%; padding-left: 54px; }
}
.lookup-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 12px; }
.lookup-all { display: inline-flex; align-items: center; gap: 6px; font-size: .9rem; margin-right: 6px; }
/* Admin Lookups: section switch (DR / Expiry & age / Speed), "Expiring" chips, days-left colours */
.lk-sections { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; margin: 0 0 14px; background: #f4f4f5; border-radius: 12px; }
.lk-sections a { padding: 7px 14px; border-radius: 9px; color: #52525b; font-weight: 600; font-size: .92rem; white-space: nowrap; }
.lk-sections a:hover { color: #0a0a0a; text-decoration: none; }
.lk-sections a.active { background: #fff; color: #0a0a0a; box-shadow: 0 1px 3px #0000001a; }
.lk-sections a span, .lk-chips a span { margin-left: 4px; font-size: .78rem; font-weight: 700; color: #a1a1aa; font-variant-numeric: tabular-nums; }
.lk-sections a.active span { color: #52525b; }
.lk-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: -4px 0 14px; }
.lk-chips a { padding: 4px 12px; border: 1px solid #e4e4e7; border-radius: 999px; color: #3f3f46; font-size: .86rem; background: #fff; }
.lk-chips a:hover { border-color: #0a0a0a; text-decoration: none; }
.lk-chips a.active { background: #0a0a0a; border-color: #0a0a0a; color: #fff; }
.lk-chips a.active span { color: #d4d4d8; }
.lk-chips a.is-hot:not(.active) { border-color: #fecaca; background: #fef2f2; color: #b91c1c; }
.lk-left { color: #71717a; }
.lk-left.is-near { color: #ca8a04; font-weight: 600; }
.lk-left.is-soon { color: #dc2626; font-weight: 700; }
.lk-left.is-gone { color: #7f1d1d; font-weight: 700; }
.lk-registrar { max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lk-score { font-size: 1.02rem; font-variant-numeric: tabular-nums; }
.site-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.site-actions .btn { height: 38px; }
.btn-icon { width: 38px; padding: 0; justify-content: center; }
.btn.loading svg { animation: spin .8s linear infinite; }
.btn.loading { pointer-events: none; opacity: .75; }
@keyframes spin { to { transform: rotate(360deg); } }
.toast-stack { position: fixed; top: 76px; right: 20px; z-index: 60; display: flex; flex-direction: column; gap: 10px; width: min(380px, calc(100vw - 32px)); pointer-events: none; }
.toast {
  pointer-events: auto; display: flex; align-items: flex-start; gap: 10px; padding: 12px 10px 12px 14px;
  border-radius: 12px; color: #fff; font-size: .92rem; line-height: 1.45;
  box-shadow: 0 12px 32px rgba(15, 23, 42, .22); opacity: 0; transform: translateX(28px); cursor: pointer;
  transition: opacity .25s, transform .25s;
}
.toast.show { opacity: 1; transform: none; }
.toast-ok { background: #15803d; }
.toast-error { background: #b91c1c; }
.toast-icon { width: 20px; height: 20px; border-radius: 50%; background: rgba(255, 255, 255, .22); display: grid; place-items: center; font-size: .75rem; font-weight: 800; flex-shrink: 0; margin-top: 1px; }
.toast-text { flex: 1; }
.toast-close { border: 0; background: transparent; color: inherit; opacity: .75; font-size: 1.3rem; line-height: 1; padding: 0 4px; cursor: pointer; }
.toast-close:hover { opacity: 1; }
@media (max-width: 600px) {
  .toast-stack { top: 68px; right: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .toast { transition: opacity .2s; transform: none; }
}
.btn-dark { background: #0f172a; border-color: #0f172a; color: #fff; }
.btn-dark:hover { background: #1e293b; }
.btn-share { background: #4ade80; border-color: #4ade80; color: #fff; }
.btn-share:hover { background: #22c55e; }
.refresh-note { font-size: .8rem; color: var(--muted); margin: 0 0 20px; }
.overview { display: grid; grid-template-columns: 280px 1fr; gap: 20px; margin-bottom: 20px; }
.overview .card { margin: 0; }
.dr-card { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; box-shadow: 0 4px 14px rgba(15, 23, 42, .06); }
.dr-card-title { font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .95rem; }
.chart-card { display: flex; flex-direction: column; min-width: 0; }
.chart-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; }
.chart-head h2 { margin: 0; }
.chart-card .chart-wrap { flex: 1; min-height: 240px; }
.chart-empty { flex: 1; display: grid; place-items: center; min-height: 200px; }
.range-chips { display: flex; gap: 4px; background: #f1f5f9; padding: 3px; border-radius: 8px; }
.range-chips button { border: 0; background: transparent; padding: 4px 10px; border-radius: 6px; font: inherit; font-size: .8rem; font-weight: 600; color: var(--muted); cursor: pointer; }
.range-chips button.active { background: #fff; color: var(--text); box-shadow: 0 1px 2px rgba(15, 23, 42, .1); }
.stat-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-bottom: 20px; }
.stat-cell { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 14px; }
.stat-cell-label { font-size: .75rem; color: var(--muted); }
.stat-cell-value { font-size: 1.35rem; font-weight: 800; }
.stat-cell-value.small-value { font-size: 1rem; padding: 4px 0; }
.stat-cell-sub { font-size: .72rem; color: var(--muted); }

.site-subtitle { color: #334155; margin: 0 0 16px; }
.site-head + .overview { margin-top: 16px; }
.listing-status { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; padding: 12px 16px; border-radius: var(--radius); border: 1px solid; margin-bottom: 20px; font-size: .92rem; }
.listing-status.is-listed { background: #f0fdf4; border-color: #bbf7d0; color: #166534; }
.listing-status.not-listed { background: #fffbeb; border-color: #fde68a; color: #92400e; }
.listing-status a { word-break: break-all; }
.owner-verified { flex-basis: 100%; font-weight: 600; }
.owner-verified.is-hint { font-weight: 400; color: #4b5563; }
.warn-text { color: var(--warn); }
.site-info .card { margin: 0; }
.site-info { margin-bottom: 24px; }
.cta-card { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; background: #eff6ff; border-color: #dbeafe; }
.badge-check { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; }
.badge-preview > p { margin: 0; }

/* Badge builder */
.badge-section { background: #ecfdf3; border-color: #d1fadf; text-align: center; }
.badge-section > p { max-width: 640px; margin: 0 auto 20px; }
.badge-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: center; text-align: left; }
.badge-options { background: #fff; border-radius: 14px; padding: 18px 22px; margin: 0; }
.badge-options h3 { margin: 0 0 12px; font-size: 1.15rem; }
.opt-row { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 10px; }
.opt-label { width: 80px; flex-shrink: 0; font-weight: 500; font-size: .95rem; padding-top: 3px; margin: 0; }
.opt-text { flex: 1; }
.opt-text input { padding: 5px 10px; }
.chip-group { display: flex; flex-wrap: wrap; gap: 6px; }
.chip-radio { margin: 0; font-weight: 400; cursor: pointer; }
.chip-radio input { position: absolute; opacity: 0; pointer-events: none; }
.chip-radio span { display: inline-block; padding: 3px 12px; border-radius: 999px; background: #e5e7eb; font-size: .9rem; min-width: 34px; text-align: center; }
.chip-radio span.italic { font-style: italic; }
.chip-radio input:checked + span { background: #16a34a; color: #fff; }
.chip-radio input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.badge-preview { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.badge-stage { min-height: 90px; display: grid; place-items: center; }
.badge-stage img { max-width: 100%; }
.badge-preview .code { font-size: 12px; }

/* Black & white theme (home, directory, sign-in): body.mono */
.mono { --ink: #0a0a0a; --paper: #ffffff; --soft: #f5f5f5; --line: #e7e7e7; --mute: #6b6b6b; background: var(--paper); overflow-x: clip; }
.mono .nav { border-bottom-color: var(--line); }
.mono .logo-tld { color: var(--mute); }
.page-home main.wrap { padding-top: 0; padding-bottom: 0; }
.mono { color: var(--ink); }
.mono a { color: var(--ink); }
.mono .btn-dark, .mono .btn-dark:hover { color: var(--paper); }
.mono .attrib { color: var(--mute); }
.mono .attrib a { text-decoration: underline; }

.h-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 999px; font-weight: 600; border: 1.5px solid var(--ink); transition: transform .12s, background .12s, color .12s; }
.h-btn:hover { text-decoration: none; transform: translateY(-1px); }
.mono .h-btn-dark { background: var(--ink); color: var(--paper); }
.mono .h-btn-dark:hover { background: #262626; }
.mono .h-btn-line { background: transparent; color: var(--ink); }
.mono .h-btn-line:hover { background: var(--soft); }
.mono .h-btn-light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.mono .h-btn-light:hover { background: #e5e5e5; }

.h-search { display: flex; align-items: center; gap: 10px; max-width: 520px; border: 1.5px solid var(--line); border-radius: 999px; padding: 5px 5px 5px 18px; color: var(--mute); background: var(--paper); }
.h-search:focus-within { border-color: var(--ink); }
.mono .h-search input { border: 0; padding: 9px 0; outline: none; background: transparent; font-size: 1rem; }
.h-search button { border: 0; background: var(--soft); color: var(--ink); font: inherit; font-weight: 600; padding: 9px 18px; border-radius: 999px; cursor: pointer; white-space: nowrap; flex-shrink: 0; }
.h-search button:hover { background: var(--line); }



.h-kicker { text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; font-weight: 700; color: var(--mute); margin: 0 0 8px; }
.mono .h-link { font-weight: 600; border-bottom: 1.5px solid var(--ink); padding-bottom: 2px; }
.mono .h-link:hover { text-decoration: none; }
.h-empty { border: 1.5px dashed var(--line); border-radius: 16px; padding: 32px; text-align: center; color: var(--mute); }


.h-board { border: 1.5px solid var(--ink); border-radius: 18px; overflow: hidden; }
.h-board-head, .h-row { display: grid; grid-template-columns: 48px minmax(0, 1fr) minmax(100px, 26%) 128px 56px; align-items: center; gap: 16px; padding: 12px 20px; }
.h-change { display: flex; justify-content: flex-end; }
.chg { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.chg-up { background: #e8f6ec; color: #15803d; }
.chg-down { background: #fdecec; color: #b91c1c; }
.h-board-head { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--mute); border-bottom: 1.5px solid var(--ink); background: var(--soft); }
.h-board-head .attrib { text-transform: none; letter-spacing: 0; }
.h-board-head span:last-child, .h-dr { text-align: right; }
.mono .h-row { position: relative; color: var(--ink); border-bottom: 1px solid var(--line); transition: background .12s; }
/* The row opens the site's page here; "Visit site" sits above that link and goes to the site itself */
.h-row-link { position: absolute; inset: 0; z-index: 1; }
.h-row-link:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }
.mono .h-visit { position: relative; z-index: 2; flex: none; margin-left: 4px; padding: 3px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: .76rem; font-weight: 600; color: var(--mute); background: var(--paper); white-space: nowrap; transition: color .15s, border-color .15s; }
.mono .h-visit:hover { color: var(--ink); border-color: var(--ink); text-decoration: none; }
.h-row:last-child { border-bottom: 0; }
.h-row:hover { background: var(--soft); text-decoration: none; }
.h-rank { font-weight: 700; color: var(--mute); font-variant-numeric: tabular-nums; }
.h-row:nth-child(-n+3) .h-rank { color: var(--ink); }
/* Logo | name over description | Visit site. On phones Visit site moves onto the description line (see below). */
.h-site { display: grid; grid-template-columns: 18px minmax(0, max-content) auto; column-gap: 12px; align-items: center; min-width: 0; }
.h-site img { grid-row: 1 / 3; border-radius: 4px; }
.h-site strong, .h-site small { grid-column: 2; }
.mono .h-site .h-visit { grid-column: 3; grid-row: 1 / 3; justify-self: start; }
.h-site strong, .h-site small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.h-site small { color: var(--mute); font-size: .8rem; }
.h-bar { height: 8px; background: var(--soft); border-radius: 99px; overflow: hidden; }
.h-bar span { display: block; height: 100%; background: var(--ink); border-radius: 99px; transform-origin: left; animation: h-grow 1s cubic-bezier(.22, .8, .25, 1) both; }
@keyframes h-grow { from { transform: scaleX(0); } }
.h-dr { font-size: 1.35rem; font-weight: 800; font-variant-numeric: tabular-nums; }


.h-dist { display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; height: 240px; align-items: end; border-bottom: 1.5px solid var(--ink); padding-bottom: 0; }
.mono .h-col { display: flex; flex-direction: column; align-items: center; height: 100%; justify-content: flex-end; gap: 6px; color: var(--ink); position: relative; }
.h-col:hover { text-decoration: none; }
.h-col-n { font-size: .78rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.h-col-bar { width: 100%; height: 170px; display: flex; align-items: flex-end; }
.h-col-bar span { width: 100%; background: var(--ink); border-radius: 6px 6px 0 0; transform-origin: bottom; animation: h-rise .9s cubic-bezier(.22, .8, .25, 1) both; transition: opacity .12s; }
.h-col:hover .h-col-bar span { opacity: .7; }
@keyframes h-rise { from { transform: scaleY(0); } }
.h-col-label { position: absolute; bottom: -24px; font-size: .68rem; color: var(--mute); white-space: nowrap; }

.h-ticks { list-style: none; padding: 0; margin: 0 0 24px; }
.h-ticks li { padding: 6px 0 6px 28px; position: relative; }
.h-ticks li::before { content: ''; position: absolute; left: 0; top: 10px; width: 16px; height: 16px; border-radius: 50%; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2L11.5 5.6' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }

.h-faq details { border-top: 1.5px solid var(--line); padding: 4px 0; }
.h-faq details:last-of-type { border-bottom: 1.5px solid var(--line); }
.h-faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font-weight: 600; font-size: 1.08rem; }
.h-faq summary::-webkit-details-marker { display: none; }
.h-faq summary::after { content: '+'; font-size: 1.5rem; font-weight: 400; transition: transform .2s; }
.h-faq details[open] summary::after { transform: rotate(45deg); }
.h-faq details p { margin: 0 0 18px; color: #404040; max-width: 760px; line-height: 1.65; }


/* Homepage: two-column hero with a live example card, then soft grey bands and pastel icon tiles */
.h-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center; padding: 72px 0 64px; }
.h-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--mute); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; margin: 0 0 22px; }
.h-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ink); display: inline-block; animation: h-pulse 2s ease-in-out infinite; }
@keyframes h-pulse { 50% { opacity: .25; } }
.h-hero h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); line-height: 1.04; letter-spacing: -.035em; font-weight: 800; margin: 0 0 20px; }
.h-hero h1 span { color: var(--mute); }
.h-lead { font-size: 1.15rem; line-height: 1.6; color: #404040; max-width: 600px; margin: 0 0 28px; }
.h-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.h-hero-card { position: relative; border: 1.5px solid var(--ink); border-radius: 22px; padding: 22px 24px 18px; background: var(--paper); box-shadow: 10px 10px 0 var(--ink); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.h-card-top { display: flex; justify-content: space-between; width: 100%; font-size: .8rem; color: var(--mute); }
.h-live { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--ink); }
.h-card-site { display: flex; align-items: center; gap: 8px; font-size: 1.2rem; margin-top: 4px; }
.h-card-site img { border-radius: 5px; }
.h-card-ring { margin: 4px 0; }
.h-card-meta { display: flex; justify-content: space-between; width: 100%; font-size: .85rem; color: var(--mute); border-top: 1px solid var(--line); padding-top: 10px; }
.h-up { color: var(--ink); font-weight: 700; }
.h-card-spark { width: 100%; }
.h-card-spark .spark { height: 56px; }
.h-card-badge { display: flex; align-items: center; gap: 10px; font-size: .78rem; color: var(--mute); }
.h-card-empty { color: var(--mute); margin: 0 0 6px; }
/* The whole live-example card opens that site's page */
.h-hero-card.is-link { transition: transform .2s, box-shadow .2s; }
.h-hero-card.is-link:hover { transform: translate(-3px, -3px); box-shadow: 13px 13px 0 var(--ink); }
.h-card-cover { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.h-card-cover:focus-visible { outline: 3px solid #2563eb; outline-offset: 4px; }
.h-card-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; border-top: 1px solid var(--line); padding-top: 10px; font-size: .85rem; }
.h-card-more { font-weight: 700; }
.h-card-more span { display: inline-block; transition: transform .2s; }
.h-hero-card.is-link:hover .h-card-more span { transform: translateX(4px); }
.h-card-attrib { position: relative; z-index: 2; color: var(--mute); }
.hx-trust { grid-column: 1 / -1; display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0 16px 20px; font-size: .86rem; color: var(--mute); text-align: center; }
.hx-trust svg { color: #16a34a; flex: none; }
.h-hero .c-hint { margin-left: 0; }
.h-hero .c-form { margin-left: 0; }
.h-hero .hx-tries { justify-content: flex-start; }
.h-hero .hx-proof { margin-top: 18px; }

.hx-band { background: #f5f5f7; margin-inline: calc(50% - 50vw); padding-inline: max(16px, calc(50vw - var(--page) / 2 + 16px)); }
.hx-section { padding-block: 96px; }
.hx-head { margin-bottom: 40px; max-width: 640px; }
.hx-head h2 { font-size: clamp(2rem, 4.6vw, 3.1rem); line-height: 1.05; letter-spacing: -.045em; font-weight: 700; margin: 0; text-wrap: balance; }
.hx-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; max-width: none; }
.hx-kicker { font-size: .82rem; font-weight: 600; color: #2563eb; margin: 0 0 12px; }
.hx-sub { color: var(--mute); font-size: 1.1rem; margin: 14px 0 0; }
.hx-center { text-align: center; margin-inline: auto; }
.hx-h2-sm { font-size: clamp(1.6rem, 3vw, 2.1rem); letter-spacing: -.04em; line-height: 1.1; margin: 0 0 24px; }
.mono .hx-link { font-weight: 600; border-bottom: 1.5px solid var(--ink); padding-bottom: 2px; }
.mono .hx-link:hover { text-decoration: none; }

.hx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 24px; border-radius: 999px; font-weight: 600; white-space: nowrap; border: 1px solid transparent; transition: transform .2s, background .2s, opacity .2s; }
.hx-btn:hover { text-decoration: none; }
.hx-btn:active { transform: scale(.98); }
.mono .hx-btn-dark { background: var(--ink); color: var(--paper); }
.mono .hx-btn-dark:hover { opacity: .88; }
.mono .hx-btn-line { background: var(--paper); color: var(--ink); border-color: #d4d4d4; }
.mono .hx-btn-line:hover { background: var(--soft); }
.hx-btn-sm { height: 36px; padding: 0 16px; font-size: .88rem; }

.hx-ico { width: 40px; height: 40px; border-radius: 12px; display: inline-grid; place-items: center; flex: none; }
.c-purple { color: #7466e8; background: #8c80f229; }
.c-blue { color: #3b82e6; background: #599ef229; }
.c-orange { color: #ea7a43; background: #fa94612e; }
.c-green { color: #2a9f74; background: #40b88c29; }

.hx-tries { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 14px; font-size: .84rem; }
.hx-tries span { color: var(--mute); padding: 4px 0; }
.hx-tries button { font: inherit; color: var(--ink); background: var(--paper); border: 1px solid #e0e0e0; border-radius: 999px; padding: 4px 12px; cursor: pointer; transition: border-color .15s; }
.hx-tries button:hover { border-color: var(--ink); }
.hx-fine { font-size: .82rem; color: var(--mute); margin: 12px 0 0; }
.hx-proof { display: inline-flex; align-items: center; gap: 12px; margin: 22px 0 0; font-size: .9rem; color: var(--mute); }
.hx-proof strong { color: var(--ink); font-weight: 600; }
.hx-faces { display: flex; }
.hx-faces img { width: 28px; height: 28px; border-radius: 50%; background: var(--paper); border: 2px solid var(--paper); box-shadow: 0 0 0 1px #e5e5e5; padding: 3px; }
.hx-faces img + img { margin-left: -8px; }

.hx-quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.mono .hx-quote { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; border: 1px solid #ececec; border-radius: 20px; padding: 22px; color: var(--ink); transition: transform .15s, box-shadow .15s; }
.mono .hx-quote:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 12px 28px -10px #1010182e; }
.hx-quote p { margin: 0; font-size: 1rem; line-height: 1.6; }
.hx-quote-who { display: flex; align-items: center; gap: 10px; }
.hx-quote-who img { border-radius: 50%; }
.hx-quote-who > span { display: flex; flex-direction: column; }
.hx-quote-who small { color: var(--mute); font-size: .82rem; }
.hx-more { margin-top: 28px; }

.hx-faq-page { max-width: 820px; margin: 0 auto; padding: 56px 0 80px; }
.hx-faq-page .hx-head { margin-inline: auto; }
.hx-faq-page h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.05; letter-spacing: -.045em; margin: 0; }
.hx-faq-jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 48px; }
.mono .hx-faq-jump a { border: 1px solid #e0e0e0; border-radius: 999px; padding: 6px 14px; font-size: .88rem; font-weight: 500; }
.mono .hx-faq-jump a:hover { text-decoration: none; border-color: var(--ink); }
.hx-faq-group { margin-bottom: 48px; }
.hx-faq-group h2 { font-size: 1.35rem; letter-spacing: -.02em; margin: 0 0 8px; }
.hx-faq-end { text-align: center; background: #f5f5f7; border-radius: 24px; padding: 40px 24px; }
.hx-faq-end h2 { margin: 0; font-size: 1.6rem; letter-spacing: -.03em; }
.hx-faq-end p { color: var(--mute); margin: 10px auto 22px; max-width: 460px; }

.hx-chip { display: inline-flex; align-items: center; font-size: .75rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: #f2f2f2; color: #404040; }
.hx-chip.is-up { background: #dcfce7; color: #166534; }
.hx-chip.is-down { background: #fee2e2; color: #991b1b; }

.hx-numbers { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-block: 1px solid #ececec; margin-inline: calc(50% - 50vw); padding-inline: max(16px, calc(50vw - var(--page) / 2 + 16px)); }
.hx-numbers div { padding: 28px 12px; text-align: center; }
.hx-numbers strong { display: block; font-size: 2rem; font-weight: 700; letter-spacing: -.04em; line-height: 1.15; }
.hx-numbers span { font-size: .82rem; color: var(--mute); }

.hx-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.hx-steps li { border: 1px solid #ececec; border-radius: 20px; padding: 24px; display: flex; flex-direction: column; transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s, border-color .25s; }
.hx-steps li:hover { transform: translateY(-4px); border-color: #dcdcdc; box-shadow: 0 1px 2px #1010180a, 0 14px 30px -12px #10101830; }
.hx-steps .hx-ico { transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.hx-steps li:hover .hx-ico { transform: scale(1.1) rotate(-6deg); }
.hx-steps li:hover .hx-step-no { color: var(--ink); }

/* Scroll reveal (ui.js adds .is-in when the element scrolls into view). Hidden only when JS runs. */
.js [data-reveal]:not(.is-in) { opacity: 0; }
.js [data-reveal].is-in { animation: reveal-up .7s cubic-bezier(.2, .8, .2, 1) backwards; animation-delay: calc(var(--d, 0) * 110ms); }
@keyframes reveal-up { from { opacity: 0; transform: translateY(22px); } }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal]:not(.is-in) { opacity: 1; }
  .js [data-reveal].is-in { animation: none; }
  .hx-steps li, .hx-steps .hx-ico { transition: none; }
}
.hx-steps h3 { margin: 16px 0 6px; font-size: 1.12rem; letter-spacing: -.02em; }
.hx-steps p { margin: 0 0 16px; color: var(--mute); font-size: .92rem; }
.hx-step-no { margin-top: auto; font: 600 .78rem ui-monospace, SFMono-Regular, Menlo, monospace; color: #a3a3a3; }

.hx-compare { background: var(--paper); border: 1px solid #ececec; border-radius: 20px; overflow-x: auto; box-shadow: 0 1px 2px #1010180a, 0 8px 24px -8px #1010181a; }
.hx-compare table { width: 100%; min-width: 620px; border-collapse: collapse; }
.hx-compare th, .hx-compare td { text-align: left; padding: 17px 24px; border-bottom: 1px solid #ececec; font-size: .95rem; vertical-align: top; }
.hx-compare tr:last-child td { border-bottom: 0; }
.hx-compare th { font-size: .8rem; font-weight: 500; color: var(--mute); }
.hx-compare th.is-us { color: #15803d; font-weight: 700; }
.hx-compare td:first-child { font-weight: 600; }
/* Our column: a soft green tint, so the positive answer stands out first */
.hx-compare .is-us { background: #f0fdf4; color: #14532d; font-weight: 500; }
.hx-cell { display: flex; gap: 10px; align-items: flex-start; }
.hx-cell svg { flex: none; margin-top: 3px; }
.hx-cell.is-no { color: var(--mute); }
.hx-tick { color: #15803d; flex: none; }
.hx-cross { color: #dc2626; flex: none; }
/* Phones: each row becomes a card (task as the title, our answer highlighted, the manual way below), so the
   comparison never scrolls sideways. Also used by the "Which tool do I need?" table on /tools. */
@media (max-width: 680px) {
  .hx-compare { overflow: visible; background: none; border: 0; border-radius: 0; box-shadow: none; }
  .hx-compare table { min-width: 0; }
  .hx-compare thead { display: none; }
  .hx-compare table, .hx-compare tbody, .hx-compare td { display: block; width: 100%; }
  .hx-compare tr { display: flex; flex-direction: column; gap: 10px; background: var(--paper); border: 1px solid #ececec; border-radius: 18px; padding: 16px; margin-bottom: 12px; box-shadow: 0 1px 2px #1010180a; }
  .hx-compare td { border: 0; padding: 0; }
  .hx-compare td:first-child { order: 1; font-size: 1.02rem; font-weight: 700; color: var(--ink); }
  .hx-compare td.is-us { order: 2; background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 12px; padding: 12px 14px; font-weight: 600; color: #14532d; }
  .hx-compare td:not(:first-child):not(.is-us) { order: 3; padding: 0 14px; font-size: .9rem; color: var(--mute); }
  .hx-compare tr:last-child td { border-bottom: 0; }
}

.hx-features { padding-block: 48px; }
.hx-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 64px; align-items: center; padding-block: 48px; }
.hx-feature.is-flip > :first-child { order: 2; }
.hx-tag { display: inline-flex; align-items: center; gap: 10px; font-size: .85rem; font-weight: 600; }
.hx-feature h3 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); letter-spacing: -.04em; line-height: 1.1; margin: 16px 0 0; }
.hx-feature p { color: var(--mute); font-size: 1.05rem; line-height: 1.6; margin: 14px 0 0; }
.hx-ticks { list-style: none; padding: 0; margin: 20px 0 24px; display: grid; gap: 10px; }
.hx-ticks li { display: flex; gap: 10px; align-items: flex-start; }
.hx-ticks .hx-tick { margin-top: 4px; }
.hx-stage { background: #f5f5f7; border-radius: 24px; padding: 40px; min-height: 320px; display: grid; place-items: center; }
.hx-mail, .hx-chart, .hx-timeline { width: 100%; max-width: 420px; background: var(--paper); border-radius: 16px; box-shadow: 0 2px 6px #1010180d, 0 30px 80px -20px #10101840; }
.hx-mail-head { padding: 14px 18px; border-bottom: 1px solid #ececec; font-size: .82rem; color: var(--mute); }
.hx-mail-head strong { display: block; color: var(--ink); font-size: .9rem; }
.hx-mail-body { padding: 20px 18px; display: flex; flex-direction: column; gap: 4px; }
.hx-mail-body > small { color: var(--mute); font-size: .82rem; }
.hx-mail-big { display: flex; align-items: baseline; gap: 12px; font-size: 2.5rem; font-weight: 700; letter-spacing: -.04em; }
.hx-mail-big small { font-size: 1.1rem; color: var(--mute); font-weight: 500; }
.hx-mail-bar { height: 8px; border-radius: 99px; background: #f2f2f2; margin: 8px 0 10px; overflow: hidden; }
.hx-mail-bar i { display: block; width: 42%; height: 100%; border-radius: 99px; background: var(--ink); }
.hx-badges { gap: 14px; align-content: center; }
.hx-badges img { max-width: 100%; height: auto; }
.hx-badge-dark { background: var(--ink); border-radius: 14px; padding: 14px 18px; display: grid; }
.hx-chart { padding: 20px; }
.hx-chart-head { display: flex; justify-content: space-between; align-items: flex-start; }
.hx-chart-head > span:first-child { display: flex; flex-direction: column; }
.hx-chart-head small { color: var(--mute); font-size: .8rem; }
.hx-chart svg { display: block; width: 100%; height: auto; margin-top: 12px; }
.hx-chart line { stroke: #ececec; }
.hx-chart-fill { fill: #40b88c24; }
.hx-chart-line { fill: none; stroke: #2a9f74; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.hx-chart circle { fill: #2a9f74; }
.hx-timeline { padding: 22px; display: flex; flex-direction: column; }
.hx-timeline > small { color: var(--mute); font-size: .82rem; }
.hx-timeline ol { list-style: none; padding: 0; margin: 18px 0 0; }
.hx-timeline li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; padding-bottom: 18px; position: relative; }
.hx-timeline li::before { content: ''; position: absolute; left: 10px; top: 22px; bottom: 0; width: 2px; background: #ececec; }
.hx-timeline li:last-child { padding-bottom: 0; }
.hx-timeline li:last-child::before { display: none; }
.hx-timeline li > span:last-child { display: flex; flex-direction: column; }
.hx-timeline li small { color: var(--mute); font-size: .82rem; }
.hx-tl-dot { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; }

.hx-tools { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.mono .hx-tool { display: flex; flex-direction: column; gap: 8px; background: var(--paper); border: 1px solid #ececec; border-radius: 20px; padding: 24px; color: var(--ink); transition: transform .2s, box-shadow .2s; }
.mono .hx-tool:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 1px 2px #1010180a, 0 12px 28px -10px #1010182e; }
.hx-tool strong { margin-top: 8px; font-size: 1.05rem; letter-spacing: -.01em; }
.hx-tool > span:not(.hx-ico) { color: var(--mute); font-size: .9rem; line-height: 1.5; flex: 1; }
.hx-tool em { font-style: normal; font-weight: 600; font-size: .88rem; }

.hx-board { border: 1px solid #ececec; border-radius: 20px; }
.hx-board .h-board-head { border-bottom: 1px solid #ececec; background: #fafafa; }
.hx-board + .hx-center { margin-top: 24px; }

.hx-explore { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 56px; }
.hx-recent { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.mono .hx-mini { display: flex; align-items: center; gap: 12px; background: var(--paper); border: 1px solid #ececec; border-radius: 16px; padding: 12px 14px; color: var(--ink); transition: border-color .15s, transform .15s; }
.mono .hx-mini:hover { text-decoration: none; border-color: #c4c4c4; transform: translateY(-2px); }
.hx-mini > span { display: flex; flex-direction: column; min-width: 0; }
.hx-mini strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hx-mini small { color: var(--mute); font-size: .8rem; }
.hx-cats { display: flex; flex-wrap: wrap; gap: 8px; }
.mono .hx-cats a { display: inline-flex; align-items: center; gap: 8px; background: var(--paper); border: 1px solid #ececec; border-radius: 999px; padding: 8px 14px; font-size: .92rem; color: var(--ink); }
.mono .hx-cats a:hover { text-decoration: none; border-color: var(--ink); }
.hx-cats em { font-style: normal; font-size: .75rem; font-weight: 700; color: var(--mute); background: #f2f2f2; border-radius: 999px; padding: 1px 8px; }
.hx-dist-wrap { margin-top: 64px; padding-bottom: 24px; }

.hx-faq .h-faq { max-width: 760px; margin: 0 auto; }
.hx-final { text-align: center; background: #f5f5f7; margin-inline: calc(50% - 50vw); padding: 96px 16px; }
.hx-final h2 { font-size: clamp(2.1rem, 5vw, 3.3rem); line-height: 1.05; letter-spacing: -.045em; margin: 0; }
.hx-final > p:not(.hx-fine) { color: var(--mute); font-size: 1.1rem; margin: 16px 0 0; }
.hx-final-cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

@media (max-width: 900px) {
  .h-hero { grid-template-columns: 1fr; gap: 48px; padding-top: 48px; }
  .h-hero-card { max-width: 420px; width: 100%; margin: 0 auto; box-shadow: 6px 6px 0 var(--ink); }
  .hx-steps, .hx-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hx-feature, .hx-explore { grid-template-columns: minmax(0, 1fr); }
  .hx-feature { gap: 32px; }
  .hx-feature.is-flip > :first-child { order: 0; }
  .hx-numbers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .hx-section { padding-block: 72px; }
  .hx-steps, .hx-tools, .hx-recent { grid-template-columns: minmax(0, 1fr); }
  .hx-numbers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hx-numbers div:last-child { grid-column: 1 / -1; }
  .hx-stage { padding: 24px 16px; min-height: 0; }
}
@media (max-width: 600px) {
  .h-board-head, .h-row { grid-template-columns: 30px minmax(0, 1fr) auto 40px; padding: 12px 14px; gap: 10px; }
  .chg { padding: 3px 8px; font-size: .72rem; }
  .h-hide-sm { display: none; }
  /* Phones: the name gets the whole line, Visit site sits small on the description line, and the change pill
     drops "this mo", so nothing squeezes the site name */
  .chg-mo { display: none; }
  .h-site { column-gap: 8px; }
  .h-site img { margin-right: 2px; }
  .h-site strong { grid-column: 2 / -1; }
  .mono .h-site .h-visit { grid-row: 2; margin: 0; padding: 1px 7px; font-size: .68rem; }
  .h-dist { gap: 3px; }
  .h-col-label { font-size: .58rem; }
}
@media (prefers-reduced-motion: reduce) {
  .h-dot, .h-bar span, .h-col-bar span { animation: none; }
}

/* Directory (list.ejs) */
.d-head { padding: 48px 0 28px; max-width: 760px; }
.d-head h1 { font-size: clamp(2rem, 4.4vw, 3rem); letter-spacing: -.035em; line-height: 1.08; margin: 0 0 12px; }
.d-intro { font-size: 1.1rem; color: #404040; margin: 0 0 14px; }
.d-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; color: var(--mute); font-size: .9rem; margin: 0; }
.d-meta strong { color: var(--ink); }
.d-sep { width: 4px; height: 4px; border-radius: 50%; background: #c4c4c4; }
.d-toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.d-search { flex: 1; min-width: 260px; max-width: 520px; }
.mono .d-clear { font-size: 1.3rem; line-height: 1; color: var(--mute); padding: 0 6px; }
.mono .d-clear:hover { color: var(--ink); text-decoration: none; }
.d-sort { display: flex; gap: 2px; background: var(--soft); border-radius: 999px; padding: 4px; }
.mono .d-sort a { padding: 7px 14px; border-radius: 999px; font-size: .9rem; font-weight: 600; color: var(--mute); }
.mono .d-sort a:hover { color: var(--ink); text-decoration: none; }
.mono .d-sort a.active { background: var(--ink); color: var(--paper); }
.d-filters { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1.5px solid var(--line); }
.d-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.d-chips-label { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); width: 78px; flex-shrink: 0; }
.mono .d-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border: 1.5px solid var(--line); border-radius: 999px; font-size: .85rem; color: var(--ink); transition: border-color .12s; }
.mono .d-chip:hover { border-color: var(--ink); text-decoration: none; }
.mono .d-chip.active { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.d-chip em { font-style: normal; font-size: .72rem; font-weight: 700; opacity: .6; font-variant-numeric: tabular-nums; }
.d-empty { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 48px 20px; }
.d-empty p { margin: 0; font-size: 1.05rem; }
.d-pager { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; margin-top: 20px; }
.d-pager > :last-child { justify-self: end; }
.d-page { font-size: .9rem; color: var(--mute); font-variant-numeric: tabular-nums; }
.d-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; background: var(--ink); color: var(--paper); border-radius: 22px; padding: 32px 36px; margin: 56px 0 24px; }
.d-cta h2 { margin: 0 0 6px; font-size: 1.6rem; letter-spacing: -.02em; }
.d-cta p { margin: 0; color: #a3a3a3; max-width: 560px; }

/* Check DR (check.ejs) */
.c-form { margin: 0 auto; max-width: 560px; text-align: left; }
.c-result { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 24px; align-items: stretch; margin-bottom: 48px; }
.c-card { border: 1.5px solid var(--line); border-radius: 22px; padding: 30px 32px; background: var(--paper); }
.c-score { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.c-score .h-kicker { margin: 0; }
.c-unavailable { color: #991b1b; margin: 20px 0; }
.c-domain { display: flex; align-items: center; gap: 8px; margin: 6px 0 0; font-size: 1.4rem; letter-spacing: -.02em; word-break: break-all; }
.c-domain img { border-radius: 5px; flex-shrink: 0; }
.c-tier { background: var(--soft); border: 1px solid var(--line); border-radius: 999px; padding: 3px 14px; font-size: .85rem; font-weight: 700; }
.c-actions { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 8px; }
.c-attrib { margin: auto 0 0; padding-top: 8px; }
.c-listing { border-color: var(--ink); box-shadow: 8px 8px 0 var(--ink); display: flex; flex-direction: column; justify-content: center; }
.c-listing h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); letter-spacing: -.025em; line-height: 1.15; margin: 0 0 16px; word-break: break-word; }
.c-listing h2 span { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 4px; }
.c-ticks { margin-bottom: 22px; }
.c-cta { width: 100%; font-size: 1.02rem; cursor: pointer; font-family: inherit; }
.c-small { text-align: center; color: var(--mute); font-size: .85rem; margin: 10px 0 0; }
.c-updated { display: block; margin-top: 6px; font-size: .8rem; color: var(--mute); }
.c-own { text-align: center; color: var(--mute); font-size: .9rem; margin: 14px 0 0; }
.c-sheet .c-own a { font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.c-browse { align-self: center; margin-top: 14px; font-size: .9rem; }
@media (max-width: 800px) {
  .c-result { grid-template-columns: 1fr; }
  .c-listing { box-shadow: 5px 5px 0 var(--ink); }
  .c-card { padding: 24px 20px; }
}

/* Check DR: guide content under the checker (SEO) */
.mono .c-learn-block a { text-decoration: underline; }
.c-attrib-line { text-align: center; margin-top: 32px; }

/* Check DR: floating result card (a <dialog> above the page, so nothing on the page moves) */
.c-sheet { border: 0; padding: 0; background: transparent; width: min(1060px, calc(100vw - 32px)); max-width: none; max-height: none; overflow: visible; color: #0a0a0a;
  --ink: #0a0a0a; --paper: #ffffff; --soft: #f5f5f5; --line: #e7e7e7; --mute: #6b6b6b; }
.c-sheet::backdrop { background: rgba(10, 10, 10, .5); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); }
.c-sheet-inner { display: flex; flex-direction: column; background: #fff; border: 1.5px solid #0a0a0a; border-radius: 28px; max-height: calc(100dvh - 40px); overflow: hidden; box-shadow: 0 30px 90px rgba(0, 0, 0, .35); }
/* Header bar: part of the card, with the same hairline the cards use */
.c-sheet-bar { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px 12px 22px; border-bottom: 1.5px solid #e7e7e7; background: #fafafa; }
.c-sheet-title { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: .92rem; font-weight: 600; color: #525252; white-space: nowrap; }
.c-sheet-title .logo-mark { border-radius: 6px; flex-shrink: 0; }
.c-sheet-title strong { color: #0a0a0a; overflow: hidden; text-overflow: ellipsis; }
.c-sheet-sep { color: #bdbdbd; }
.c-sheet-close { flex: none; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 12px; border: 1.5px solid #e7e7e7; background: #fff; color: #0a0a0a; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.c-sheet-close svg { transition: transform .2s ease; }
.c-sheet-close:hover { background: #0a0a0a; border-color: #0a0a0a; color: #fff; }
.c-sheet-close:hover svg { transform: rotate(90deg); }
.c-sheet-close:focus-visible { outline: 2px solid #0a0a0a; outline-offset: 2px; }
.c-sheet-body { overflow-y: auto; overscroll-behavior: contain; padding: 24px; }
.c-sheet .c-result { margin: 0; }
.c-sheet a { color: #0a0a0a; }
.c-sheet .h-btn-dark { color: #fff; }
/* Open: the backdrop fades in while the card rises and settles. Close: the reverse, a bit faster. */
.c-sheet[open]::backdrop { animation: sheet-fade .3s ease both; }
.c-sheet[open] .c-sheet-inner { animation: sheet-in .42s cubic-bezier(.2, .9, .25, 1) backwards; }
.c-sheet.is-closing::backdrop { animation: sheet-fade-out .22s ease forwards; }
.c-sheet.is-closing .c-sheet-inner { animation: sheet-out .22s ease-in forwards; }
@keyframes sheet-fade { from { opacity: 0; } }
@keyframes sheet-fade-out { to { opacity: 0; } }
@keyframes sheet-in { from { opacity: 0; transform: translateY(28px) scale(.96); } }
@keyframes sheet-out { to { opacity: 0; transform: translateY(18px) scale(.97); } }
/* The two cards inside follow the sheet in, slightly staggered */
.c-sheet .c-result-slot.is-in .c-card { animation: c-in .55s cubic-bezier(.2, .8, .2, 1) .08s both; }
.c-sheet .c-result-slot.is-in .c-listing { animation-delay: .18s; }
/* Keep the page behind still. The scrollbar's space is always reserved (html rule at the top of this file),
   so hiding the scrollbar here can't change the page width. */
html:has(.c-sheet[open]) { overflow: hidden; }
@media (max-width: 800px) {
  /* Phones: a bottom sheet that slides up, with a drag handle look; the cards are tighter and the ring smaller */
  .c-sheet { width: 100vw; margin: auto 0 0; }
  .c-sheet-inner { border-radius: 22px 22px 0 0; border-bottom: 0; max-height: 92dvh; }
  .c-sheet[open] .c-sheet-inner { animation: sheet-up .38s cubic-bezier(.2, .9, .25, 1) backwards; }
  .c-sheet.is-closing .c-sheet-inner { animation: sheet-down .22s ease-in forwards; }
  .c-sheet-bar { position: relative; padding: 16px 10px 10px 16px; }
  .c-sheet-bar::before { content: ''; position: absolute; top: 6px; left: 50%; width: 38px; height: 4px; margin-left: -19px; border-radius: 99px; background: #d4d4d4; }
  .c-sheet-body { padding: 12px 12px calc(16px + env(safe-area-inset-bottom)); }
  .c-sheet .c-result { gap: 12px; }
  .c-sheet .c-card { padding: 18px 16px; border-radius: 18px; }
  .c-sheet .c-score { gap: 6px; }
  .c-sheet .c-cheer { min-height: 0; margin-bottom: 0; }
  .c-sheet .c-cheer-emoji { font-size: 1.3rem; }
  .c-sheet .c-cheer strong { font-size: 1.05rem; }
  .c-sheet .c-cheer > span:last-child, .c-sheet .c-score > .h-kicker { display: none; }
  .c-sheet .c-ring svg { width: 108px; height: 108px; }
  .c-sheet .c-updated { margin-top: 2px; }
  .c-sheet .c-attrib { padding-top: 2px; font-size: .78rem; }
  .c-sheet .c-domain { font-size: 1.15rem; margin-top: 2px; }
  .c-sheet .c-actions { flex-direction: row; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 12px; margin-top: 4px; }
  .c-sheet .c-share { padding: 10px 16px; font-size: .9rem; }
  .c-sheet .c-listing { box-shadow: 4px 4px 0 var(--ink); }
  .c-sheet .c-listing h2 { font-size: 1.3rem; margin-bottom: 10px; }
  .c-sheet .c-ticks { margin-bottom: 14px; }
  .c-sheet .c-ticks li:nth-child(n+3) { display: none; }
  .c-sheet .c-browse { margin-top: 10px; }
}
@keyframes sheet-up { from { transform: translateY(100%); } }
@keyframes sheet-down { to { transform: translateY(100%); } }
@media (prefers-reduced-motion: reduce) {
  .c-sheet[open]::backdrop, .c-sheet[open] .c-sheet-inner, .c-sheet.is-closing::backdrop, .c-sheet.is-closing .c-sheet-inner,
  .c-sheet .c-result-slot.is-in .c-card { animation: none; }
}

/* Check DR: in-page form, hint, loading, result entrance, share dialog */
.c-form button { position: relative; }
.c-spinner { position: absolute; inset: 0; margin: auto; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent; opacity: 0; animation: spin .7s linear infinite; }
.c-form.is-loading .c-btn-label { visibility: hidden; }
.c-form.is-loading .c-spinner { opacity: 1; }
.c-form.is-invalid { border-color: #dc2626; }
.c-hint { margin: 10px auto 0; max-width: 560px; font-size: .9rem; color: #b91c1c; text-align: left; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.c-hint[hidden] { display: none; }
.c-chip { border: 1.5px solid var(--ink); background: var(--paper); color: var(--ink); border-radius: 999px; padding: 4px 12px; font: inherit; font-size: .85rem; font-weight: 700; cursor: pointer; }
.c-chip:hover { background: var(--ink); color: var(--paper); }
.c-text { color: #404040; margin: 0 0 22px; }
.c-share { cursor: pointer; font-family: inherit; }
.mono .c-again { background: none; border: 0; color: var(--mute); font: inherit; font-size: .9rem; cursor: pointer; padding: 4px; }
.mono .c-again:hover { color: var(--ink); }
.c-result-slot:empty { display: none; }
.c-result-slot.is-in .c-card { animation: c-in .6s cubic-bezier(.2, .8, .2, 1) both; }
.c-result-slot.is-in .c-listing { animation-delay: .12s; }
.c-result-slot.is-in .c-tier { animation: c-pop .5s cubic-bezier(.3, 1.6, .5, 1) .9s both; }

/* Celebration once the DR lands (check.js adds .is-celebrating) */
.c-cheer { min-height: 66px; display: flex; flex-direction: column; align-items: center; gap: 1px; margin-bottom: 4px; opacity: 0; transform: translateY(8px) scale(.9); }
.c-cheer strong { font-size: 1.2rem; letter-spacing: -.01em; }
.c-cheer span:last-child { font-size: .88rem; color: var(--mute); word-break: break-word; }
.c-cheer-emoji { font-size: 1.6rem; line-height: 1.1; display: inline-block; }
.is-celebrating .c-cheer { animation: c-cheer-in .55s cubic-bezier(.3, 1.5, .5, 1) both; }
.is-celebrating .c-cheer-emoji { animation: c-bounce .9s cubic-bezier(.3, 1.6, .5, 1) .1s both; }
@keyframes c-cheer-in { to { opacity: 1; transform: none; } }
@keyframes c-bounce { 0% { transform: scale(.2) rotate(-30deg); } 60% { transform: scale(1.25) rotate(8deg); } 100% { transform: scale(1) rotate(0); } }
.c-ring { position: relative; display: grid; place-items: center; }
.c-ring::after { content: ''; position: absolute; inset: 6px; border-radius: 50%; border: 3px solid var(--ink); opacity: 0; pointer-events: none; }
.is-celebrating .c-ring::after { animation: c-ripple 1.1s ease-out; }
@keyframes c-ripple { 0% { opacity: .45; transform: scale(.95); } 100% { opacity: 0; transform: scale(1.45); } }
.is-celebrating .c-share { animation: c-nudge 1.4s ease-in-out .8s 2; }
@keyframes c-nudge { 0%, 100% { transform: none; box-shadow: none; } 40% { transform: translateY(-2px) scale(1.04); box-shadow: 0 8px 22px rgba(10, 10, 10, .25); } }
.confetti { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 80; }
@media (prefers-reduced-motion: reduce) {
  .c-cheer { opacity: 1; transform: none; }
  .is-celebrating .c-cheer, .is-celebrating .c-cheer-emoji, .is-celebrating .c-ring::after, .is-celebrating .c-share { animation: none; }
}
@keyframes c-in { from { opacity: 0; transform: translateY(18px) scale(.98); } }
@keyframes c-pop { from { opacity: 0; transform: scale(.6); } }
@media (prefers-reduced-motion: reduce) {
  .c-result-slot.is-in .c-card, .c-result-slot.is-in .c-tier { animation: none; }
}

.share-modal { border: 0; border-radius: 22px; padding: 22px 24px 18px; width: min(680px, calc(100vw - 32px)); background: #fff; color: #0a0a0a; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.share-modal::backdrop { background: rgba(10, 10, 10, .55); backdrop-filter: blur(3px); }
.share-modal[open] { animation: c-in .25s ease-out both; }
.share-head { display: flex; align-items: center; justify-content: center; position: relative; margin-bottom: 14px; }
.share-head h2 { margin: 0; font-size: 1.3rem; }
.share-close { position: absolute; right: -6px; top: -6px; width: 34px; height: 34px; border-radius: 10px; border: 1px solid #e5e5e5; background: #fff; font-size: 1.3rem; line-height: 1; cursor: pointer; }
.share-themes { display: flex; justify-content: center; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.share-themes button { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border: 1.5px solid #e5e5e5; border-radius: 999px; background: #fff; font: inherit; font-weight: 600; font-size: .9rem; cursor: pointer; }
.share-themes button[aria-checked="true"] { border-color: #0a0a0a; box-shadow: 0 0 0 1px #0a0a0a; }
.sw { width: 20px; height: 20px; border-radius: 50%; border: 1px solid #d4d4d4; }
.sw-dark { background: linear-gradient(135deg, #0a0a0a, #262626); }
.sw-light { background: #fff; }
.sw-graphite { background: linear-gradient(135deg, #1f1f1f, #6b6b6b); }
.share-canvas { width: 100%; height: auto; border-radius: 14px; display: block; box-shadow: 0 6px 20px rgba(0, 0, 0, .12); }
.share-actions { display: flex; justify-content: center; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.share-actions .h-btn { padding: 10px 18px; font-size: .92rem; cursor: pointer; font-family: inherit; }
.share-modal .h-btn-line { background: #fff; color: #0a0a0a; }
.share-modal .h-btn-line:hover { background: #f5f5f5; }
.share-modal .h-btn-dark { background: #0a0a0a; color: #fff; }
.share-tip { text-align: center; font-size: .8rem; color: #737373; margin: 12px 0 0; }

/* Sign in (login.ejs) */
.l-wrap { min-height: calc(100vh - 200px); display: grid; place-items: center; padding: 40px 0; }
.l-card { display: grid; grid-template-columns: 1fr 1.1fr; width: 100%; max-width: 900px; border: 1.5px solid var(--ink); border-radius: 26px; overflow: hidden; background: var(--paper); box-shadow: 12px 12px 0 var(--ink); }
.l-side { background: var(--ink); color: var(--paper); padding: 40px 36px; display: flex; flex-direction: column; gap: 18px; position: relative; overflow: hidden; }
.l-side .logo-mark { outline: 1.5px solid #333; border-radius: 12px; }
.l-side h2 { font-size: 1.7rem; line-height: 1.15; letter-spacing: -.025em; margin: 6px 0 0; }
.l-points { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.l-points li { padding-left: 28px; position: relative; color: #d4d4d4; }
.l-points li::before { content: ''; position: absolute; left: 0; top: 4px; width: 17px; height: 17px; border-radius: 50%; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2L11.5 5.6' fill='none' stroke='%230a0a0a' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 17px no-repeat; }
.l-side-foot { margin: auto 0 0; font-size: .8rem; color: #8a8a8a; }
.mono .l-side-foot a { color: #d4d4d4; text-decoration: underline; }
.l-main { padding: 44px 40px; display: flex; flex-direction: column; justify-content: center; }
.l-main h1 { font-size: 1.9rem; letter-spacing: -.03em; line-height: 1.15; margin: 0 0 10px; }
.l-sub { color: #404040; margin: 0 0 26px; }
.mono .l-google { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 14px 20px; border: 1.5px solid var(--ink); border-radius: 999px; font-weight: 600; font-size: 1.02rem; color: var(--ink); background: var(--paper); transition: background .12s, transform .12s, box-shadow .12s; }
.mono .l-google:hover { background: var(--soft); text-decoration: none; transform: translateY(-1px); box-shadow: 0 4px 0 var(--ink); }
.l-providers { display: flex; flex-direction: column; gap: 10px; }
.mono .l-x { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 14px 20px; border: 1.5px solid var(--ink); border-radius: 999px; font-weight: 600; font-size: 1.02rem; color: var(--paper); background: var(--ink); transition: background .12s, transform .12s, box-shadow .12s; }
.mono .l-x:hover { background: #262626; text-decoration: none; transform: translateY(-1px); box-shadow: 0 4px 0 #737373; }
.l-notice { border: 1.5px dashed #d4d4d4; border-radius: 14px; padding: 14px 16px; font-size: .9rem; color: #404040; }
.l-or { display: flex; align-items: center; gap: 12px; color: var(--mute); font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; margin: 18px 0 12px; }
.l-or::before, .l-or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.mono .l-dev { display: block; text-align: center; padding: 11px 16px; border: 1.5px dashed #c4c4c4; border-radius: 999px; color: var(--mute); font-weight: 600; font-size: .9rem; }
.mono .l-dev:hover { border-color: var(--ink); color: var(--ink); text-decoration: none; }
.l-trust { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .85rem; color: var(--mute); }
.l-trust li::before { content: '✓ '; color: var(--ink); font-weight: 700; }
.l-terms { font-size: .8rem; color: var(--mute); margin: 14px 0 0; }
.mono .l-terms a { text-decoration: underline; }

.l-mobile-points { display: none; }
@media (max-width: 760px) {
  /* Phones: sign-in first and everything on one screen; the dark benefits panel is left out */
  .l-wrap { min-height: 0; place-items: start stretch; padding: 16px 0 28px; }
  .l-card { grid-template-columns: 1fr; box-shadow: 5px 5px 0 var(--ink); border-radius: 22px; }
  .l-side { display: none; }
  .l-main { padding: 26px 20px 22px; }
  .l-main h1 { font-size: 1.55rem; }
  .l-sub { margin-bottom: 12px; font-size: .95rem; }
  .l-mobile-points { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 18px; }
  .l-mobile-points li { font-size: .8rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--soft); }
  .l-trust { margin-top: 16px; }
  .d-toolbar { flex-direction: column; align-items: stretch; }
  .d-search { max-width: none; min-width: 0; }
  .d-sort { align-self: flex-start; }
  .d-chips-label { width: 100%; }
  .d-cta { padding: 26px 22px; }
}

/* Header avatar menu */
.acct-avatar[hidden] { display: none; }
.user-menu { position: relative; }
.user-menu summary { list-style: none; display: flex; align-items: center; gap: 4px; cursor: pointer; padding: 3px 6px 3px 3px; border-radius: 999px; border: 1px solid transparent; transition: border-color .12s, background .12s; }
.user-menu summary::-webkit-details-marker { display: none; }
.user-menu summary:hover, .user-menu[open] summary { border-color: var(--border); background: #fff; }
.user-menu summary:focus-visible { outline: 2px solid #0f172a; outline-offset: 2px; }
.nav-avatar { width: 32px; height: 32px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: #0f172a; color: #fff; font-size: .82rem; font-weight: 700; flex-shrink: 0; }
.nav-avatar img { width: 100%; height: 100%; object-fit: cover; }
.nav-avatar span[hidden], .nav-avatar img[hidden] { display: none; }
.nav-chevron { color: var(--muted); transition: transform .15s; }
.user-menu[open] .nav-chevron { transform: rotate(180deg); }
.menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 70; min-width: 240px; background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 16px 40px rgba(15, 23, 42, .16); padding: 6px; animation: menu-in .14s ease-out; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-4px); } }
.menu-head { display: flex; flex-direction: column; gap: 1px; padding: 10px 12px 12px; margin-bottom: 4px; border-bottom: 1px solid var(--border); }
.menu-head strong { font-size: .95rem; color: #0f172a; }
.menu-head span { font-size: .8rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 260px; }
.menu-head em { align-self: flex-start; margin-top: 6px; font-style: normal; font-size: .7rem; font-weight: 700; background: #dcfce7; color: #166534; padding: 1px 8px; border-radius: 999px; }
.menu a, .menu-signout button { display: block; width: 100%; text-align: left; padding: 9px 12px; border-radius: 8px; color: #0f172a; font: inherit; font-size: .92rem; background: none; border: 0; cursor: pointer; }
.nav .menu a { color: #0f172a; }
.menu a:hover, .menu a:focus-visible, .menu-signout button:hover, .menu-signout button:focus-visible { background: #f1f5f9; text-decoration: none; outline: none; }
.menu-signout { margin: 4px 0 0; padding-top: 4px; border-top: 1px solid var(--border); }
.menu-signout button { color: var(--danger); }
.menu-mobile { display: none !important; }

/* Header: Check DR, Free tools dropdown, DR pill, sign-up button, phone ☰ */
.nav .nav-link { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; font-size: .95rem; transition: background .15s; }
.nav .nav-link:hover, .nav-drop[open] > .nav-link { background: #f1f5f9; text-decoration: none; }
.nav-check svg { color: var(--muted); }
.nav-menu { position: relative; }
.nav-menu > summary { list-style: none; cursor: pointer; }
.nav-menu > summary::-webkit-details-marker { display: none; }
.nav-drop[open] .nav-chevron { transform: rotate(180deg); }
/* Opens towards the middle of the page (anchored to the button's right edge) and never wider than the screen */
/* Invisible bridge over the gap under "Free tools", so the hover menu stays open while the mouse moves down */
.menu-tools::before { content: ''; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.menu-tools { right: 0; left: auto; width: 360px; min-width: 0; max-width: calc(100vw - 24px); padding: 8px; }
.menu .menu-tools-all { margin-top: 4px; padding-top: 10px; border-top: 1px solid var(--border); border-radius: 0 0 8px 8px; font-weight: 600; font-size: .88rem; }
.menu-tools a:not(.menu-tools-all) { display: flex; align-items: center; gap: 12px; padding: 10px; }
.menu-tools strong { display: block; font-size: .93rem; }
.menu-tools small { display: block; color: var(--muted); font-size: .8rem; line-height: 1.35; }
.menu-tool-icon { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; }
.nav .nav-cta { margin-left: 4px; white-space: nowrap; }
.nav-burger { display: none; }
.nav-burger > summary { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; color: #0f172a; }
.nav-burger > summary:hover, .nav-burger[open] > summary { background: #f1f5f9; }
.nav-burger .burger-close, .nav-burger[open] .burger-open { display: none; }
.nav-burger[open] .burger-close { display: block; }
.menu-burger { width: 320px; max-width: calc(100vw - 24px); padding: 8px; }
.menu-burger .menu-burger-tool { display: flex; align-items: center; gap: 12px; padding: 10px; }
.menu-burger strong { display: block; font-size: .93rem; }
.menu-burger small { display: block; color: var(--muted); font-size: .8rem; line-height: 1.35; }
.menu .menu-burger-sep { margin-top: 4px; padding-top: 12px; border-top: 1px solid var(--border); border-radius: 0 0 8px 8px; }
@media (max-width: 900px) {
  .nav .nav-check { display: none; }
}
@media (max-width: 600px) {
  .nav .nav-link, .nav .nav-link-wrap { display: none; }
  .menu-mobile { display: block !important; }
  .nav-burger { display: block; }
  .nav .nav-cta { padding: 6px 12px; font-size: .85rem; }
}

/* Account (account.ejs) */
.acct-grid { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 24px; align-items: start; }
.acct-summary { position: sticky; top: 80px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.acct-avatar { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; margin-bottom: 6px; }
.acct-avatar-blank { display: grid; place-items: center; background: #0f172a; color: #fff; font-size: 2rem; font-weight: 800; }
.acct-summary h2 { margin: 0; font-size: 1.2rem; }
.acct-email { margin: 0; font-size: .9rem; word-break: break-all; }
.acct-tags { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; margin: 4px 0; }
.acct-facts { width: 100%; margin: 10px 0 4px; border-top: 1px solid var(--border); padding-top: 10px; }
.acct-facts div { display: flex; justify-content: space-between; font-size: .88rem; padding: 4px 0; }
.acct-facts dt { color: var(--muted); }
.acct-facts dd { margin: 0; font-weight: 600; }
.acct-nav { width: 100%; display: flex; flex-direction: column; border-top: 1px solid var(--border); padding-top: 8px; text-align: left; }
.acct-nav a { color: var(--text); padding: 6px 8px; border-radius: 8px; font-size: .9rem; }
.acct-nav a:hover { background: #f1f5f9; text-decoration: none; }
.acct-section { scroll-margin-top: 20px; }
.acct-section h2 { margin-bottom: 6px; }
.acct-section > .muted.small { margin: 0 0 16px; }
.field-hint { display: block; font-size: .78rem; color: var(--muted); font-weight: 400; margin-top: 4px; }
.conn-row { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--border); }
.conn-row:last-of-type { border-bottom: 1px solid var(--border); margin-bottom: 8px; }
.conn-icon { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; border: 1px solid var(--border); background: #fff; }
.conn-x { background: #0a0a0a; border-color: #0a0a0a; color: #fff; }
.conn-text { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.conn-text .small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pref-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--border); margin: 0; font-weight: 400; cursor: pointer; }
.pref-row:last-of-type { border-bottom: 1px solid var(--border); margin-bottom: 16px; }
.pref-text { display: flex; flex-direction: column; gap: 2px; }
.pref-select { width: auto; min-width: 150px; margin: 0; }
.pref-row.is-muted { opacity: .45; }
.autosave-note { font-size: .8rem; color: var(--muted); margin: 0; }
/* Shown only with / without JavaScript (head.ejs adds .js to <html>) */
.js .nojs-only, html:not(.js) .js-only { display: none; }
.switch-check { appearance: none; -webkit-appearance: none; width: 46px; height: 26px; border-radius: 999px; background: #cbd5e1; position: relative; cursor: pointer; flex-shrink: 0; margin: 0; transition: background .2s; }
.switch-check::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .2s; }
.switch-check:checked { background: #0f172a; }
.switch-check:checked::after { transform: translateX(20px); }
.switch-check:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
@media (max-width: 860px) {
  .acct-grid { grid-template-columns: 1fr; }
  .acct-summary { position: static; }
}

/* Admin: DR check runs and logs */
.no-margin { margin: 0; }
.last-run { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 8px; font-size: .9rem; }
.check-actions { display: flex; gap: 8px; align-items: center; }
.run-status { display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: 700; padding: 2px 10px; border-radius: 999px; }
.run-success { background: #dcfce7; color: #166534; }
.run-failed { background: #fee2e2; color: #991b1b; }
.run-running { background: #e0f2fe; color: #075985; }
.run-running::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: h-pulse 1.2s ease-in-out infinite; }
.run-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.run-head p { margin: 4px 0 0; }
.run-counts { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin: 18px 0; }
.run-counts div { background: #f8fafc; border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; display: flex; flex-direction: column; }
.run-counts strong { font-size: 1.5rem; line-height: 1.2; }
.run-counts span { font-size: .78rem; color: var(--muted); }
.run-error { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; border-radius: 10px; padding: 10px 14px; margin-bottom: 14px; font-size: .9rem; }
.run-error[hidden] { display: none; }
.log-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #16a34a; animation: h-pulse 1.2s ease-in-out infinite; }
.run-log { margin: 0; background: #0b1020; color: #d1d5db; font: 12.5px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; padding: 14px 16px; border-radius: 10px; max-height: 560px; overflow: auto; white-space: pre-wrap; word-break: break-word; }
@media (max-width: 800px) { .run-counts { grid-template-columns: repeat(2, 1fr); } }

/* Admin: sign-in providers */
.avatar-wrap { display: inline-flex; flex-shrink: 0; }
.avatar[hidden] { display: none; }
.prov-set { display: inline-flex; align-items: center; gap: 4px; }
.prov { width: 24px; height: 24px; border-radius: 6px; border: 1px solid var(--border); background: #fff; display: inline-grid; place-items: center; }
.prov-x { background: #0a0a0a; border-color: #0a0a0a; color: #fff; }
.prov-off { opacity: .22; filter: grayscale(1); }
.prov-count { font-size: .75rem; color: var(--muted); margin-left: 4px; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.detail-grid h3 { margin: 0 0 6px; font-size: 1rem; }
.kv { margin: 0; }
.kv div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-top: 1px solid var(--border); font-size: .9rem; }
.kv div:last-child { border-bottom: 1px solid var(--border); }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 600; text-align: right; word-break: break-all; }
@media (max-width: 800px) { .detail-grid { grid-template-columns: 1fr; } }

/* Admin */
.flash-info { background: #eff6ff; border-color: #bfdbfe; color: #1e3a8a; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin-bottom: 20px; overflow-x: auto; }
.tabs a { padding: 8px 14px; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs a:hover { color: var(--text); text-decoration: none; }
.tabs a.active { color: var(--brand); border-bottom-color: var(--brand); font-weight: 600; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 20px; }
.stat { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; color: var(--text); }
a.stat:hover { border-color: var(--brand); text-decoration: none; }
.stat-label { font-size: .85rem; color: var(--muted); }
.stat-value { font-size: 2rem; font-weight: 800; line-height: 1.2; }
.stat-sub { font-size: .8rem; color: var(--muted); }
.check-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 16px; }
.filters input[type=text] { flex: 1; min-width: 200px; max-width: 360px; }
.filters select { width: auto; }
.email-previews { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 20px; margin-bottom: 24px; }
.email-preview { margin: 0; background: var(--card); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.email-preview figcaption { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--border); }
.email-preview iframe { display: block; width: 100%; height: 760px; border: 0; background: #f4f4f5; }
.table-scroll { overflow-x: auto; border-radius: var(--radius); }
.nowrap { white-space: nowrap; }
.actions { text-align: right; }
.btn-xs { padding: 3px 8px; font-size: .8rem; font-weight: 500; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.user-cell { display: flex; align-items: center; gap: 10px; }
.user-cell h2 { margin: 0; }
.avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.avatar-lg { width: 56px; height: 56px; font-size: 1.4rem; }
.avatar-blank { display: inline-grid; place-items: center; background: #e0e7ff; color: #3730a3; font-weight: 700; }
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; margin: 20px 0; }
.facts dt { font-size: .8rem; color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; }
.action-row { display: flex; flex-wrap: wrap; gap: 8px; }

@media (max-width: 900px) {
  .overview, .badge-grid { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 800px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .opt-label { width: 70px; }
  .grid-2, .steps { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2rem; }
  .hide-sm { display: none; }
  .table th, .table td { padding: 8px 10px; }
  .dr-box { width: 100%; }
  .table th .attrib { white-space: normal; }
  .search { min-width: 0; width: 100%; }
}

/* With JavaScript, flash messages show as top-right toasts instead (ui.js) */
.js [data-flash] { display: none; }

/* ---- Free tools: domain age / expiry checkers, speed test ---- */
.t-slot { max-width: 860px; margin: 0 auto 48px; transition: opacity .2s; }
.t-slot:empty { display: none; }
.t-slot.is-dim { opacity: .45; }
.t-slot.is-in .t-result, .sp-panel.is-in { animation: t-rise .45s cubic-bezier(.22, .8, .25, 1) both; }
@keyframes t-rise { from { opacity: 0; transform: translateY(14px); } }
.t-card { border: 1.5px solid var(--ink); border-radius: 22px; padding: 26px 28px; background: var(--paper); box-shadow: 8px 8px 0 var(--ink); }
.t-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.t-head img { border-radius: 6px; }
.t-domain { margin: 0; font-size: 1.45rem; letter-spacing: -.02em; word-break: break-all; }
.t-tag { margin-left: auto; font-size: .78rem; font-weight: 700; border: 1.5px solid var(--ink); border-radius: 999px; padding: 3px 12px; }
.t-tag.is-free { background: #dcfce7; border-color: #16a34a; color: #166534; }
.t-free { margin: 16px 0 0; color: #404040; }
.t-hero-stat { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 26px 0 24px; margin: 18px 0; border-top: 1.5px solid var(--line); border-bottom: 1.5px solid var(--line); }
.t-hero-stat .h-kicker { margin: 0; }
.t-big { font-size: clamp(2rem, 5.4vw, 3.1rem); line-height: 1.1; letter-spacing: -.035em; font-weight: 800; }
.t-sub { color: var(--mute); }
.t-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 20px; margin: 0; }
.t-facts dt { font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--mute); font-weight: 700; }
.t-facts dd { margin: 4px 0 0; font-weight: 700; word-break: break-word; }
.t-facts dd small { display: block; font-weight: 500; font-size: .8rem; color: var(--mute); }
.is-ok { color: #15803d; }
.is-warn { color: #b45309; }
.is-bad { color: #dc2626; }
.t-facts .is-ok small, .t-facts .is-warn small, .t-facts .is-bad small { color: inherit; opacity: .8; }
.t-ns { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 20px 0 0; font-size: .85rem; }
.t-ns span { font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--mute); font-weight: 700; margin-right: 4px; }
.t-ns code { background: var(--soft); border: 1px solid var(--line); border-radius: 6px; padding: 2px 8px; font-size: .8rem; }
.t-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; padding: 14px 16px; background: var(--soft); border-radius: 14px; font-size: .92rem; }
.t-cta .btn { flex-shrink: 0; }
.t-foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 16px; margin: 20px 0 0; font-size: .82rem; color: var(--mute); }
.t-links { display: flex; gap: 14px; flex-wrap: wrap; }
.t-links a, .t-foot a { color: var(--ink); font-weight: 600; }

.sp-wrap { max-width: 960px; margin: 0 auto 48px; }
.sp-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.sp-tabs { display: inline-flex; background: var(--soft); border: 1.5px solid var(--line); border-radius: 999px; padding: 4px; }
.sp-tabs button { border: 0; background: transparent; font: inherit; font-weight: 600; padding: 7px 16px; border-radius: 999px; cursor: pointer; color: var(--mute); display: inline-flex; align-items: center; gap: 6px; }
.sp-tabs button[aria-selected="true"] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.sp-tabs b { font-size: .78rem; border-radius: 999px; padding: 0 7px; color: #fff; }
.sp-tabs b:empty { display: none; }
.sp-tabs b.is-good, .sp-dot.is-good { background: #16a34a; }
.sp-tabs b.is-avg, .sp-dot.is-avg { background: #ea580c; }
.sp-tabs b.is-poor, .sp-dot.is-poor { background: #dc2626; }
.sp-panel { border: 1.5px solid var(--ink); border-radius: 22px; padding: 26px 28px; background: var(--paper); box-shadow: 8px 8px 0 var(--ink); }
.sp-loading { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 48px 12px; }
.sp-loading span:last-child { color: var(--mute); font-size: .9rem; }
.sp-spin { width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--ink); animation: spin .8s linear infinite; margin-bottom: 6px; }
.sp-error { color: #991b1b; text-align: center; margin: 24px 0; }
.sp-scores { display: flex; justify-content: center; align-items: flex-end; gap: clamp(14px, 4vw, 44px); flex-wrap: wrap; padding-bottom: 18px; }
.sp-score { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: .88rem; font-weight: 600; color: var(--mute); }
.sp-score.is-main { color: var(--ink); font-size: 1rem; }
.sp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.sp-card { border: 1.5px solid var(--line); border-radius: 16px; padding: 18px 20px; }
.sp-card h3 { margin: 0 0 10px; font-size: 1.02rem; }
.sp-card h3 small { font-weight: 500; color: var(--mute); font-size: .8rem; margin-left: 4px; }
.sp-verdict { font-weight: 800; font-size: 1.15rem; margin: 0 0 8px; }
.sp-verdict.is-good { color: #15803d; }
.sp-verdict.is-avg { color: #c2410c; }
.sp-verdict.is-poor { color: #dc2626; }
.sp-verdict small { font-weight: 500; color: var(--mute); font-size: .8rem; }
.sp-metrics { list-style: none; margin: 0; padding: 0; }
.sp-metrics li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.sp-metrics li:last-child { border-bottom: 0; }
.sp-metrics strong { margin-left: auto; white-space: nowrap; }
.sp-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line); flex-shrink: 0; }
.sp-note { color: var(--mute); font-size: .86rem; margin: 10px 0 0; line-height: 1.55; }
.sp-shot { display: block; max-width: 140px; margin: 14px auto 0; border: 1.5px solid var(--line); border-radius: 10px; }
.sp-opps { margin: 0; padding-left: 20px; }
.sp-opps li { padding: 6px 0; line-height: 1.5; }
.sp-opps li span { margin-right: 8px; }
.sp-opps em { font-style: normal; font-size: .82rem; color: #c2410c; font-weight: 600; white-space: nowrap; }
.sp-foot { margin-top: 14px; }
.sp-cta { margin-top: 16px; }

/* Site page: domain info + speed cards, dashboard expiry warning */
.site-extra { margin-bottom: 24px; }
.site-extra .card { margin: 0; }
.site-extra .facts { margin: 12px 0 14px; }
.fact-sub { display: block; font-weight: 500; font-size: .78rem; color: var(--muted); }
.danger-text { color: var(--danger); }
.info-tip { font-size: .88rem; background: #f8fafc; border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; margin: 0 0 10px; }
.info-tip.is-warn { background: #fffbeb; border-color: #fde68a; color: #92400e; }
.speed-mini { display: flex; gap: 28px; margin: 12px 0 14px; }
.speed-mini div { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: .85rem; font-weight: 600; color: var(--muted); }

@media (max-width: 800px) {
  .t-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sp-grid { grid-template-columns: 1fr; }
  .t-card, .sp-panel { padding: 20px 18px; box-shadow: 5px 5px 0 var(--ink); }
  .t-cta { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .t-slot.is-in .t-result, .sp-panel.is-in { animation: none; }
}

/* Footer: dark, brand + link columns */
.footer { background: #0b0b0c; color: #a1a1aa; font-size: .92rem; border-top: 1px solid #27272a; }
.f-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-top: 56px; padding-bottom: 44px; }
.footer .f-brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; text-decoration: none; }
.footer .f-brand:hover { text-decoration: none; }
.f-brand .logo-mark { border-radius: 9px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .18); }
.f-tld { color: #71717a; }
.f-about p { margin: 16px 0 18px; max-width: 360px; line-height: 1.65; }
.footer .f-cta { display: inline-block; color: #fff; font-weight: 600; border: 1px solid #3f3f46; border-radius: 999px; padding: 8px 16px; text-decoration: none; transition: border-color .15s, background .15s; }
.footer .f-cta:hover { border-color: #fff; background: rgba(255, 255, 255, .06); text-decoration: none; }
.f-col { display: flex; flex-direction: column; gap: 12px; }
.f-col h2 { margin: 0 0 6px; font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #71717a; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.footer .f-col a { color: #d4d4d8; text-decoration: none; width: fit-content; transition: color .15s; }
.footer .f-col a:hover { color: #fff; text-decoration: none; }
.f-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 24px; padding-top: 18px; padding-bottom: 22px; border-top: 1px solid #27272a; font-size: .82rem; color: #71717a; }
.footer .f-bottom a { color: #a1a1aa; }
@media (max-width: 800px) {
  .f-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; padding-top: 40px; }
  .f-about { grid-column: 1 / -1; }
  .f-bottom .featured { order: 1; flex-basis: 100%; padding-top: 6px; }
}

/* Tool pages: try chips, trust row, how it works, what you get, closing band; /tools cards */
.t-try { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; margin: 14px auto 0; font-size: .86rem; color: var(--mute); }
.t-chip { border: 1px solid #e0e0e0; background: var(--paper); color: var(--ink); font: inherit; font-size: .84rem; font-weight: 500; padding: 4px 12px; border-radius: 999px; cursor: pointer; transition: border-color .15s; }
.t-chip:hover { border-color: var(--ink); }
.t-trust { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin: 16px 0 0; padding: 0; font-size: .86rem; color: #404040; }
.t-trust li { display: inline-flex; align-items: center; gap: 5px; }
.t-trust svg { color: #16a34a; }
.sp-share-row { display: flex; justify-content: center; padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1.5px solid var(--line); }
.sp-share-row button { font: inherit; font-weight: 600; cursor: pointer; }
.sp-saved { color: var(--mute); }

/* Homepage: leaderboard tabs */
.h-tabs { display: inline-flex; background: var(--soft); border: 1.5px solid var(--line); border-radius: 999px; padding: 3px; }
.h-tabs button { border: 0; background: transparent; font: inherit; font-size: .88rem; font-weight: 600; color: var(--mute); padding: 6px 14px; border-radius: 999px; cursor: pointer; }
.h-tabs button[aria-selected="true"] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.h-board-empty { margin: 0; padding: 28px 20px; text-align: center; color: var(--mute); }
.featured-preview { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 16px; background: #0b0b0c; border-radius: 12px; }
