@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/montserrat-latin-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

:root {
  --ink: #eafcff;
  --muted: #92a8c7;
  --navy: #020716;
  --line: rgba(83, 221, 255, 0.22);
  --cyan: #58e8ff;
  --violet: #8b5cff;
  --pink: #ed3caa;
  --green: #47efb0;
  --font-display: "Montserrat", "Avenir Next", "Century Gothic", sans-serif;
  --font-mono: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--navy); }

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(1, 5, 18, 0.2), rgba(1, 5, 18, 0.88)),
    url("/brand/togethia-background.png") center top / cover fixed,
    var(--navy);
  font-family: var(--font-display);
}

a { color: inherit; text-decoration: none; }
button { font: inherit; }
button:disabled { cursor: not-allowed; opacity: .55; }

.site-shell {
  position: relative;
  isolation: isolate;
  width: min(1180px, calc(100% - 32px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 24px 0 28px;
}

.ambient-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 15%, rgba(139, 92, 255, 0.16), transparent 27rem),
    radial-gradient(circle at 83% 22%, rgba(0, 188, 231, 0.14), transparent 29rem),
    linear-gradient(rgba(71, 203, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(71, 203, 255, 0.025) 1px, transparent 1px);
  background-size: auto, auto, 48px 48px, 48px 48px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 12px;
  border: 1px solid rgba(74, 222, 255, 0.24);
  border-radius: 24px;
  background: rgba(1, 7, 24, 0.76);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32), inset 0 1px rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(18px);
}

.brand-panel {
  display: block;
  width: 230px;
  height: 74px;
  overflow: hidden;
  border-radius: 16px;
  background: #02091a;
}

.brand-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.tool-nav {
  display: flex;
  align-items: center;
  gap: 7px;
  overflow-x: auto;
  scrollbar-width: none;
}
.tool-nav::-webkit-scrollbar { display: none; }

.tool-nav a,
.tool-nav span {
  flex: none;
  padding: 10px 15px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #8fa7c8;
  font-size: 0.86rem;
  font-weight: 650;
}
.tool-nav a:hover { color: var(--ink); border-color: var(--line); }
.tool-nav a.active {
  color: #06101c;
  background: linear-gradient(135deg, #9cf4ff, #41d9f6);
  box-shadow: 0 0 24px rgba(69, 226, 255, 0.25);
}
.tool-nav span { opacity: 0.52; }

main { padding: 52px 6px 68px; }

.section-kicker {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.home-hero { max-width: 760px; margin-bottom: 36px; }
.home-hero h1,
.mailcheck-heading h1 {
  margin: 0;
  font-size: clamp(2rem, 3.8vw, 3.75rem);
  font-weight: 740;
  letter-spacing: -0.045em;
  line-height: 1.02;
  text-wrap: balance;
}
.hero-copy,
.mailcheck-heading p:not(.section-kicker) {
  max-width: 710px;
  margin: 18px 0 0;
  color: #a9bdd9;
  font-size: clamp(.96rem, 1.6vw, 1.12rem);
  line-height: 1.6;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.tool-card {
  position: relative;
  display: flex;
  min-height: 260px;
  flex-direction: column;
  overflow: hidden;
  padding: 24px;
  border: 1px solid rgba(104, 175, 255, 0.15);
  border-radius: 24px;
  background: linear-gradient(150deg, rgba(9, 22, 54, 0.92), rgba(2, 9, 28, 0.88));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.035);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.tool-card.is-ready { border-color: rgba(78, 228, 255, 0.38); }
.tool-card.is-ready:hover {
  transform: translateY(-4px);
  border-color: rgba(111, 239, 255, 0.7);
  box-shadow: 0 24px 70px rgba(0, 184, 230, 0.15), inset 0 1px rgba(255, 255, 255, 0.06);
}
.tool-orb {
  position: absolute;
  top: -46px;
  right: -42px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  filter: blur(34px);
  opacity: 0.24;
}
.tool-orb.cyan { background: var(--cyan); }
.tool-orb.violet { background: var(--violet); }
.tool-orb.blue { background: #2885ff; }
.tool-orb.pink { background: var(--pink); }
.tool-eyebrow { color: var(--cyan); font-size: .76rem; font-weight: 780; text-transform: uppercase; letter-spacing: .12em; }
.tool-card strong { margin-top: 24px; font-size: 1.55rem; }
.tool-description { margin-top: 11px; color: var(--muted); line-height: 1.55; }
.tool-state { display: flex; justify-content: space-between; margin-top: auto; padding-top: 28px; color: #d6f9ff; font-size: .87rem; font-weight: 700; }
.tool-card:not(.is-ready) .tool-state { color: #697c9b; }

.mailcheck-tile {
  grid-column: auto;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 140px minmax(150px, 1fr);
  min-height: 290px;
  padding: 0;
}
.mailcheck-tile-visual {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(83, 226, 255, .2);
  background: #02071a;
}
.mailcheck-tile-visual::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(120, 232, 255, .08);
  content: "";
  pointer-events: none;
}
.mailcheck-tile-visual img,
.mailcheck-hover-video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: opacity .22s ease;
}
.mailcheck-hover-video { opacity: 0; background: #02071a; }
.mailcheck-tile.is-animating .mailcheck-hover-video { opacity: 1; }
.mailcheck-tile.is-animating .mailcheck-tile-visual img { opacity: 0; }
.mailcheck-tile-copy {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 17px 20px;
  background: linear-gradient(155deg, rgba(8, 24, 58, .96), rgba(3, 8, 26, .96));
}
.mailcheck-tile-copy .tool-eyebrow { font-size: .66rem; }
.mailcheck-tile-copy > strong { margin-top: 8px; font-size: 1.28rem; }
.mailcheck-tile-copy .tool-description { margin-top: 6px; font-size: .78rem; line-height: 1.4; }
.mailcheck-tile-copy .tool-state { padding-top: 11px; font-size: .74rem; }

.mailcheck-visual-hero {
  position: relative;
  overflow: hidden;
  max-width: 880px;
  margin: -10px auto 32px;
  border: 1px solid rgba(94, 226, 255, .38);
  border-radius: 25px;
  background: #02071a;
  box-shadow: 0 35px 110px rgba(0, 0, 0, .42), 0 0 75px rgba(88, 63, 255, .13), inset 0 1px rgba(255, 255, 255, .08);
}
.mailcheck-visual-hero::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 55px rgba(30, 109, 255, .08);
  content: "";
  pointer-events: none;
}
.mailcheck-visual-hero img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1731 / 900;
}

.mailcheck-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 30px;
}
.mailcheck-heading > div:first-child { max-width: 860px; }
.mailcheck-heading h1 { font-size: clamp(1.95rem, 3.3vw, 3.05rem); }
.privacy-badge,
.queued-count {
  flex: none;
  padding: 11px 15px;
  border: 1px solid rgba(71, 239, 176, 0.28);
  border-radius: 999px;
  color: #b9ffe0;
  background: rgba(4, 49, 43, 0.42);
  font-size: .82rem;
  font-weight: 700;
}
.privacy-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
}

.test-console {
  overflow: hidden;
  border: 1px solid rgba(74, 226, 255, 0.35);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(6, 19, 49, 0.96), rgba(2, 8, 25, 0.94));
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.42), 0 0 70px rgba(26, 187, 226, 0.08);
}
.console-topline {
  display: flex;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid var(--line);
  color: #8ba5c7;
  font-size: .79rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.live-indicator {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 14px var(--cyan);
}
.address-block { padding: 29px 30px 24px; }
.address-block > p:first-child { margin: 0 0 13px; color: #a5bad8; font-size: .9rem; font-weight: 650; }
.address-row { display: flex; gap: 12px; }
.address-row code {
  min-width: 0;
  flex: 1;
  overflow-x: auto;
  padding: 16px 18px;
  border: 1px solid rgba(83, 226, 255, 0.28);
  border-radius: 15px;
  color: #b7f7ff;
  background: rgba(0, 8, 24, 0.72);
  font-family: var(--font-mono);
  font-size: clamp(.86rem, 1.8vw, 1.1rem);
  white-space: nowrap;
}
.copy-button,
.primary-button {
  border: 0;
  border-radius: 14px;
  cursor: pointer;
  font-weight: 800;
}
.copy-button { padding: 0 22px; color: #06121b; background: linear-gradient(135deg, #a3f4ff, #38d9f3); }
.copy-button:hover,
.primary-button:hover { filter: brightness(1.08); }
.address-help { margin: 14px 0 0; color: #758cac; font-size: .85rem; }
.delivery-option { position: relative; display: inline-flex; align-items: center; gap: 12px; margin-top: 19px; padding: 12px 14px; border: 1px solid rgba(83, 226, 255, .14); border-radius: 14px; background: rgba(2, 12, 31, .5); cursor: pointer; }
.delivery-option input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.delivery-switch { position: relative; flex: 0 0 auto; width: 40px; height: 22px; border: 1px solid rgba(117, 153, 195, .35); border-radius: 999px; background: #101d35; transition: .2s ease; }
.delivery-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: #69809f; transition: .2s ease; }
.delivery-option input:checked + .delivery-switch { border-color: var(--cyan); background: rgba(35, 168, 205, .28); box-shadow: 0 0 18px rgba(83, 226, 255, .14); }
.delivery-option input:checked + .delivery-switch::after { transform: translateX(18px); background: var(--cyan); }
.delivery-option input:focus-visible + .delivery-switch { outline: 2px solid white; outline-offset: 3px; }
.delivery-option > span:last-child { display: grid; gap: 3px; }
.delivery-option strong { color: #bfd6ef; font-size: .76rem; }
.delivery-option small { color: #607897; font-size: .66rem; }

.progress-rail {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 20px 30px;
  border-block: 1px solid rgba(78, 177, 224, 0.14);
  background: rgba(1, 8, 25, 0.5);
}
.progress-step { display: flex; align-items: center; gap: 11px; color: #637896; }
.progress-step > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid #3c4f6b;
  border-radius: 50%;
  font: 700 .76rem var(--font-mono);
}
.progress-step strong,
.progress-step small { display: block; white-space: nowrap; }
.progress-step strong { color: #7185a2; font-size: .82rem; }
.progress-step small { margin-top: 3px; color: #4e617c; font-size: .71rem; }
.progress-step.complete > span { color: #041811; border-color: var(--green); background: var(--green); }
.progress-step.active > span { color: #04141b; border-color: var(--cyan); background: var(--cyan); box-shadow: 0 0 20px rgba(83, 232, 255, .28); }
.progress-step.complete strong,
.progress-step.active strong { color: #e2fbff; }
.progress-step.active small { color: var(--cyan); }
.progress-line { height: 1px; background: #293a54; }
.progress-line.active { background: linear-gradient(90deg, var(--green), var(--cyan)); }

.console-actions { display: flex; align-items: center; gap: 18px; padding: 20px 30px; }
.primary-button { padding: 14px 19px; color: #eefcff; background: linear-gradient(135deg, #5745e9, #ab3cdb); box-shadow: 0 12px 32px rgba(102, 52, 222, .22); }
.console-actions p { margin: 0; color: #7186a4; font-size: .8rem; }

.queued-section { margin-top: 46px; }
.report-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 32px;
  padding: 24px 28px;
  border: 1px solid rgba(71, 239, 176, .3);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(4, 49, 43, .72), rgba(4, 22, 49, .82));
}
.report-summary[hidden] { display: none; }
.report-summary h2 { margin: 0; font-size: clamp(1.35rem, 2.4vw, 1.85rem); }
.report-summary p:not(.section-kicker) { margin: 7px 0 0; color: #89a4c4; font-size: .86rem; }
.summary-scores { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.summary-scores span { padding: 8px 11px; border-radius: 999px; font-size: .75rem; font-weight: 800; }
.score-pass { color: #b9ffe0; background: rgba(30, 168, 115, .2); }
.score-warn { color: #ffe9a7; background: rgba(214, 157, 38, .18); }
.score-fail { color: #ffc3d3; background: rgba(224, 55, 100, .18); }
.report-summary-actions { display: grid; justify-items: end; gap: 10px; }
.report-summary-actions > small { max-width: 360px; color: #7d98b8; font-size: .69rem; text-align: right; }
.download-button { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; padding: 0 16px; border: 1px solid rgba(83, 226, 255, .45); border-radius: 12px; color: #eefcff; background: linear-gradient(135deg, rgba(40, 123, 255, .82), rgba(169, 65, 239, .82)); box-shadow: 0 10px 30px rgba(70, 69, 220, .2); font-size: .76rem; font-weight: 780; text-decoration: none; }
.download-button[hidden] { display: none; }
.download-button:hover { border-color: #bff8ff; transform: translateY(-1px); }
.section-heading-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.section-heading-row h2 { margin: 0; font-size: clamp(1.45rem, 2.5vw, 2rem); letter-spacing: -.03em; }
.queued-count { color: #b8eaff; border-color: rgba(83, 226, 255, .22); background: rgba(4, 37, 59, .45); }
.check-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.check-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 13px;
  min-height: 96px;
  padding: 16px;
  border: 1px solid rgba(105, 205, 255, .34);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(15, 36, 75, .96), rgba(7, 23, 54, .96));
  box-shadow: inset 0 1px rgba(255, 255, 255, .055), 0 12px 32px rgba(0, 0, 0, .18);
}
.check-card > div > strong { color: #f1fbff; }
.check-card > div > p { color: #9bb2cf; }
.check-card .queued-label { color: #91a9c8; }
.check-icon { display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid rgba(83, 232, 255, .32); border-radius: 12px; color: var(--cyan); background: rgba(0, 172, 215, .08); font: 800 .9rem var(--font-mono); }
.check-card strong { font-size: .93rem; }
.check-card p { margin: 4px 0 0; color: #7186a5; font-size: .75rem; line-height: 1.35; }
.queued-label { color: #6d82a1; font-size: .7rem; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }
.check-card.result-pass { border-color: rgba(71, 239, 176, .54); background: linear-gradient(145deg, rgba(15, 65, 70, .92), rgba(7, 28, 58, .96)); }
.check-card.result-pass .queued-label { color: var(--green); }
.check-card.result-warn { border-color: rgba(255, 201, 84, .52); background: linear-gradient(145deg, rgba(70, 54, 24, .9), rgba(10, 28, 58, .96)); }
.check-card.result-warn .queued-label { color: #ffd77c; }
.check-card.result-fail,
.check-card.result-error { border-color: rgba(255, 85, 132, .56); background: linear-gradient(145deg, rgba(72, 24, 54, .92), rgba(11, 25, 55, .96)); }
.check-card.result-fail .queued-label,
.check-card.result-error .queued-label { color: #ff8eae; }
.check-details { display: none; grid-column: 1 / -1; padding-top: 11px; border-top: 1px solid rgba(83, 226, 255, .24); }
.check-card.result-pass .check-details,
.check-card.result-warn .check-details,
.check-card.result-fail .check-details,
.check-card.result-error .check-details { display: block; }
.check-details summary { width: max-content; cursor: pointer; color: #a7effa; font-size: .74rem; font-weight: 700; }
.evidence-view { display: grid; gap: 13px; margin-top: 13px; }
.evidence-intro { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid rgba(111, 164, 207, .18); border-radius: 13px; background: rgba(2, 10, 28, .62); }
.evidence-intro p { margin: 0; color: #91a9c7; font-size: .72rem; }
.evidence-signal { display: grid; width: 27px; height: 27px; place-items: center; border-radius: 9px; color: #9fb3cd; background: rgba(119, 148, 185, .13); font: 800 .72rem var(--font-mono); }
.evidence-pass { border-color: rgba(71, 239, 176, .22); }
.evidence-pass .evidence-signal { color: #7dffc6; background: rgba(30, 168, 115, .16); }
.evidence-fail, .evidence-error { border-color: rgba(255, 85, 132, .26); }
.evidence-fail .evidence-signal, .evidence-error .evidence-signal { color: #ff9cb6; background: rgba(224, 55, 100, .18); }
.evidence-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.evidence-fact { min-width: 0; padding: 11px 12px; border: 1px solid rgba(101, 167, 210, .12); border-radius: 11px; background: rgba(3, 12, 31, .55); }
.evidence-fact small { display: block; color: #587493; font-size: .58rem; font-weight: 780; letter-spacing: .06em; text-transform: uppercase; }
.evidence-fact strong, .evidence-fact code { display: block; margin-top: 6px; color: #c8dcf2; font-size: .71rem; line-height: 1.45; overflow-wrap: anywhere; }
.evidence-fact code { color: #82e8f4; font-family: var(--font-mono); }
.evidence-wide { grid-column: 1 / -1; }
.signature-list, .certificate-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.signature-card, .certificate-card { padding: 14px; border: 1px solid rgba(96, 162, 207, .16); border-radius: 14px; background: rgba(2, 10, 28, .68); }
.signature-card.valid, .certificate-card.verified { border-color: rgba(71, 239, 176, .24); }
.signature-card.invalid, .certificate-card.unverified { border-color: rgba(255, 201, 84, .2); }
.signature-heading, .certificate-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.signature-heading strong, .certificate-heading strong { color: #dfedfb; font-size: .77rem; }
.signature-heading span, .certificate-heading span { padding: 5px 7px; border-radius: 999px; color: #7dffc6; background: rgba(30, 168, 115, .14); font-size: .57rem; font-weight: 780; text-transform: uppercase; }
.invalid .signature-heading span, .unverified .certificate-heading span { color: #ffd77c; background: rgba(214, 157, 38, .14); }
.evidence-subheading { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding-top: 3px; }
.evidence-subheading span { color: #dcecfb; font-size: .82rem; font-weight: 760; }
.evidence-subheading small { color: #56708f; font-size: .61rem; }
.route-timeline { display: grid; gap: 8px; }
.route-hop { display: grid; grid-template-columns: auto 1fr; gap: 11px; padding: 11px 12px; border: 1px solid rgba(83, 226, 255, .13); border-radius: 12px; background: linear-gradient(100deg, rgba(8, 45, 75, .45), rgba(3, 12, 31, .55)); }
.route-hop-number { display: grid; width: 28px; height: 28px; place-items: center; border: 1px solid rgba(83, 226, 255, .28); border-radius: 50%; color: var(--cyan); font: 750 .65rem var(--font-mono); }
.route-hop-body strong { color: #c9e6f1; font-size: .7rem; }
.route-hop-body p { margin: 4px 0 0; color: #617d9b; font: .62rem/1.45 var(--font-mono); }
.evidence-note, .evidence-empty { margin: 0; padding: 11px 13px; border-radius: 10px; color: #6d87a7; background: rgba(2, 9, 24, .55); font-size: .66rem; line-height: 1.5; }

.rbl-card { grid-column: 1 / -1; }
.rbl-dashboard { grid-column: 1 / -1; padding-top: 14px; border-top: 1px solid rgba(83, 226, 255, .13); }
.rbl-dashboard[hidden] { display: none; }
.rbl-overview { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.rbl-overview > div { min-height: 88px; padding: 16px 18px; border: 1px solid rgba(111, 177, 222, .15); border-radius: 15px; background: rgba(2, 10, 29, .62); }
.rbl-overview span { display: block; color: #dff8ff; font: 760 1.65rem/1 var(--font-mono); }
.rbl-overview small { display: block; margin-top: 8px; color: #7188a8; font-size: .69rem; font-weight: 720; letter-spacing: .035em; text-transform: uppercase; }
.rbl-overview .clean { border-color: rgba(71, 239, 176, .23); background: rgba(15, 86, 66, .17); }
.rbl-overview .clean span { color: var(--green); }
.rbl-overview .listed { border-color: rgba(255, 85, 132, .22); background: rgba(105, 17, 44, .17); }
.rbl-overview .listed span { color: #ff96b3; }
.rbl-overview .attention { border-color: rgba(255, 201, 84, .2); background: rgba(102, 70, 13, .14); }
.rbl-overview .attention span { color: #ffd77c; }
.rbl-toolbar { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 14px; }
.rbl-toolbar button { min-height: 36px; padding: 0 13px; border: 1px solid rgba(93, 185, 236, .18); border-radius: 999px; color: #7f99ba; background: rgba(3, 17, 42, .72); font: 700 .7rem var(--font-display); cursor: pointer; }
.rbl-toolbar button:hover { color: #c6f5ff; border-color: rgba(83, 226, 255, .42); }
.rbl-toolbar button.active { color: #031525; border-color: var(--cyan); background: var(--cyan); box-shadow: 0 0 18px rgba(83, 226, 255, .17); }
.rbl-results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.rbl-result { min-width: 0; padding: 14px 15px; border: 1px solid rgba(101, 167, 210, .14); border-radius: 14px; background: rgba(2, 10, 28, .62); }
.rbl-result[hidden] { display: none; }
.rbl-result-top { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; }
.rbl-result-icon { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 9px; color: #91a8c4; background: rgba(115, 149, 191, .12); font: 800 .77rem var(--font-mono); }
.rbl-result-identity { min-width: 0; }
.rbl-result-identity strong { display: block; overflow: hidden; color: #d6e8fa; font-size: .78rem; text-overflow: ellipsis; white-space: nowrap; }
.rbl-result-identity small { display: block; overflow: hidden; margin-top: 3px; color: #58708f; font: .62rem var(--font-mono); text-overflow: ellipsis; white-space: nowrap; }
.rbl-state-label { padding: 5px 7px; border-radius: 999px; color: #8ca1bb; background: rgba(112, 137, 172, .11); font-size: .6rem; font-weight: 780; text-transform: uppercase; letter-spacing: .045em; }
.rbl-result-meta { display: flex; align-items: flex-start; gap: 8px; margin: 11px 0 0 38px; }
.rbl-result-meta p { flex: 1; margin: 0; color: #7087a7; font-size: .67rem; }
.rbl-category { flex: 0 0 auto; color: #7fd7e7; font-size: .6rem; font-weight: 750; text-transform: uppercase; letter-spacing: .045em; }
.rbl-state-clean { border-color: rgba(71, 239, 176, .18); }
.rbl-state-clean .rbl-result-icon, .rbl-state-clean .rbl-state-label { color: #7dffc6; background: rgba(30, 168, 115, .15); }
.rbl-state-listed { border-color: rgba(255, 85, 132, .38); background: rgba(73, 11, 35, .34); box-shadow: inset 3px 0 #ff557f; }
.rbl-state-listed .rbl-result-icon, .rbl-state-listed .rbl-state-label { color: #ff9cb6; background: rgba(224, 55, 100, .18); }
.rbl-state-timeout, .rbl-state-unavailable { border-color: rgba(255, 201, 84, .18); }
.rbl-state-timeout .rbl-result-icon, .rbl-state-unavailable .rbl-result-icon { color: #ffd77c; background: rgba(214, 157, 38, .14); }
.rbl-query-details { margin: 11px 0 0 38px; padding-top: 9px; border-top: 1px solid rgba(83, 226, 255, .09); }
.rbl-query-details summary { width: max-content; cursor: pointer; color: #6bb8ca; font-size: .65rem; font-weight: 700; }
.rbl-query-trail { display: grid; gap: 6px; margin-top: 9px; }
.rbl-query-item { display: grid; gap: 4px; padding: 9px 10px; border-radius: 9px; background: rgba(0, 4, 15, .7); }
.rbl-query-item code { color: #77dbea; font: .61rem/1.4 var(--font-mono); overflow-wrap: anywhere; }
.rbl-query-item span { color: #6e88a7; font-size: .61rem; }
.rbl-empty { margin: 20px 0 4px; color: #7186a5; text-align: center; }

footer { display: flex; justify-content: space-between; gap: 20px; padding: 24px 12px 0; border-top: 1px solid rgba(92, 178, 229, .13); color: #667b9a; font-size: .77rem; }
footer span:first-child { color: #9eb5d3; font-weight: 700; }

@media (max-width: 940px) {
  .site-header { align-items: stretch; flex-direction: column; }
  .brand-panel { width: 100%; height: 118px; }
  .tool-nav { padding: 0 4px 4px; }
  .tool-grid, .check-grid { grid-template-columns: repeat(2, 1fr); }
  .rbl-results { grid-template-columns: 1fr; }
  .mailcheck-heading { align-items: flex-start; flex-direction: column; }
  .report-summary { align-items: flex-start; flex-direction: column; }
  .summary-scores { justify-content: flex-start; }
  .report-summary-actions { justify-items: start; }
  .report-summary-actions > small { text-align: left; }
  .progress-rail { grid-template-columns: 1fr; gap: 12px; }
  .progress-line { width: 1px; height: 20px; margin-left: 16px; }
}

@media (max-width: 620px) {
  .site-shell { width: min(100% - 18px, 1180px); padding-top: 9px; }
  .site-header { border-radius: 18px; }
  .brand-panel { height: 92px; }
  main { padding: 40px 4px 54px; }
  .tool-grid, .check-grid { grid-template-columns: 1fr; }
  .signature-list, .certificate-grid { grid-template-columns: 1fr; }
  .evidence-facts { grid-template-columns: 1fr; }
  .evidence-wide { grid-column: auto; }
  .rbl-overview { grid-template-columns: repeat(2, 1fr); }
  .tool-card { min-height: 220px; }
  .mailcheck-tile { grid-template-columns: 1fr; grid-template-rows: 132px minmax(145px, 1fr); min-height: 277px; }
  .mailcheck-tile-visual { border-right: 0; border-bottom: 1px solid rgba(83, 226, 255, .2); }
  .mailcheck-tile-copy { min-height: 145px; padding: 16px 18px; }
  .mailcheck-visual-hero { margin-top: -4px; border-radius: 18px; }
  .address-block, .progress-rail, .console-actions { padding-inline: 18px; }
  .address-row { flex-direction: column; }
  .copy-button { min-height: 48px; }
  .console-actions { align-items: stretch; flex-direction: column; }
  .console-actions p { line-height: 1.5; }
  .console-topline { padding-inline: 18px; }
  footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .mailcheck-hover-video { display: none; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
