:root {
  --red: #b40000;
  --black: #0b0b0c;
  --ink: #151515;
  --muted: #5f5f5f;
  --line: #e6e1dc;
  --warm: #f7f3ee;
  --paper: #fff;
  --shadow: 0 16px 38px rgba(12, 10, 9, 0.09);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, Arial, Helvetica, sans-serif;
  line-height: 1.58;
}

a {
  color: var(--red);
  font-weight: 750;
}

.site-shell {
  width: min(100% - 40px, 1080px);
  margin: 0 auto;
}

.topbar {
  position: relative;
  z-index: 2;
  border-bottom: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 8px 24px rgba(12, 10, 9, 0.04);
}

.topbar__inner {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.brand,
.topbar nav a,
.button,
aside a,
.note a {
  transition: color 160ms ease, transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.topbar nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.topbar nav a {
  position: relative;
  color: #111;
  font-size: 0.78rem;
  text-decoration: none;
  text-transform: uppercase;
}

.topbar nav a:hover,
.topbar nav a:focus-visible,
aside a:hover,
aside a:focus-visible,
.note a:hover,
.note a:focus-visible {
  color: var(--red);
}

.hero {
  background:
    radial-gradient(circle at 82% 18%, rgba(180, 0, 0, 0.09), transparent 24%),
    linear-gradient(180deg, #fff 0%, var(--warm) 100%);
  border-bottom: 1px solid var(--line);
}

.hero__inner {
  padding: 58px 0 42px;
}

.eyebrow {
  display: block;
  margin-bottom: 14px;
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  max-width: 860px;
  margin: 0;
  color: #080808;
  font-size: clamp(2.35rem, 6vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.intro {
  max-width: 760px;
  margin: 20px 0 0;
  color: #333;
  font-size: 1.08rem;
  font-weight: 620;
}

.content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 48px;
  padding: 46px 0 70px;
}

article {
  min-width: 0;
}

.tldr {
  margin: 0 0 30px;
  padding: 20px;
  border-left: 5px solid var(--red);
  border-radius: var(--radius);
  background: var(--warm);
  color: #222;
  font-weight: 650;
}

.article-meta {
  margin: 0 0 22px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.article-meta strong {
  color: var(--black);
}

h2 {
  margin: 38px 0 12px;
  color: #111;
  font-size: 1.72rem;
  line-height: 1.12;
}

h3 {
  margin: 24px 0 8px;
  color: #111;
  font-size: 1.08rem;
  line-height: 1.25;
}

p,
li {
  color: #333;
  font-size: 1rem;
}

p {
  margin: 0 0 16px;
}

ul,
ol {
  margin: 0 0 20px;
  padding-left: 22px;
}

.article-figure {
  margin: 30px 0;
}

.article-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.article-figure figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.84rem;
}

.article-figure--framed img {
  border: 1px solid var(--line);
  background: #fff;
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 28px 0;
}

.comparison-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.comparison-card--accent {
  border-color: rgba(180, 0, 0, 0.2);
  background: linear-gradient(180deg, #fff 0%, #fbf3f0 100%);
}

.comparison-card__label {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--warm);
  color: var(--red);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.comparison-card p,
.comparison-card li {
  font-size: 0.94rem;
}

.product-panel {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: 26px;
  align-items: center;
  margin: 30px 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fff 0%, #f9f6f1 100%);
  box-shadow: var(--shadow);
}

.product-panel__media {
  margin: 0;
}

.product-panel__media img {
  display: block;
  width: 100%;
  height: auto;
}

.product-panel__copy h3 {
  margin-top: 0;
  font-size: 1.5rem;
}

.eyebrow--compact {
  margin-bottom: 10px;
}

.decision-list,
.faq-list {
  margin: 28px 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--warm);
}

.decision-list h3,
.faq-list h3,
.note > :is(h2, h3):first-child,
.cta-box > :is(h2, h3):first-child {
  margin-top: 0;
}

.note,
.cta-box {
  margin: 28px 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.cta-box {
  background: #111;
  color: #fff;
}

.cta-box p {
  color: rgba(255, 255, 255, 0.82);
}

.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: var(--radius);
  background: var(--red);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(180, 0, 0, 0.22);
}

.article-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 36px 0 8px;
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--red);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fff 0%, var(--warm) 100%);
  box-shadow: var(--shadow);
}

.article-cta__copy {
  display: grid;
  gap: 6px;
  max-width: 62ch;
}

.article-cta__copy strong {
  font-size: 1.12rem;
  line-height: 1.25;
  color: var(--black);
}

.article-cta__copy span {
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--muted);
}

.article-cta .button {
  white-space: nowrap;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
}

.cta-secondary {
  color: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cta-box .cta-secondary {
  color: #fff;
}

.article-cta .cta-secondary {
  color: var(--black);
}

.content > aside {
  position: sticky;
  top: 104px;
  align-self: start;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.content > aside h2 {
  margin: 0 0 12px;
  font-size: 1rem;
}

.content > aside a {
  display: block;
  margin: 10px 0;
  color: #111;
  font-size: 0.86rem;
  text-decoration: none;
}

.footer {
  background: var(--black);
  color: #fff;
}

.footer__inner {
  display: flex;
  min-height: 86px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.78rem;
}

.footer a {
  color: #fff;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}
.footer-links a {
  text-decoration: none;
}
.footer-links a:hover,
.footer-links a:focus-visible {
  text-decoration: underline;
}

@media (prefers-reduced-motion: no-preference) {
  .hero__inner,
  .note,
  .content > aside {
    animation: fade-up 560ms ease both;
  }

  .note:hover,
  .content > aside:hover {
    transform: translateY(-3px);
    border-color: rgba(180, 0, 0, 0.22);
    box-shadow: 0 20px 44px rgba(12, 10, 9, 0.12);
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 820px) {
  .topbar__inner,
  .footer__inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 16px 0;
  }

  .content {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 32px;
  }

  .comparison-grid,
  .product-panel {
    grid-template-columns: 1fr;
  }

  .content > aside {
    position: static;
  }

  .topbar nav {
    gap: 10px;
  }

  .topbar nav a {
    padding: 7px 9px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    font-size: 0.72rem;
  }
}

.table-wrap {
  overflow-x: auto;
  margin: 26px 0;
}

table.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

table.compare th,
table.compare td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

table.compare thead th {
  background: var(--black);
  color: #fff;
  font-weight: 700;
}

table.compare tbody tr:nth-child(even) {
  background: var(--warm);
}

table.compare tbody tr:last-child td {
  border-bottom: 0;
}

/* Responsive demo video embed (used in guides and news briefs) */
.video-embed {
  margin: 1.9rem 0;
}

.video-embed__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: #101010;
  box-shadow: var(--shadow);
}

.video-embed__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-embed figcaption {
  margin-top: 0.6rem;
  font-size: 0.9rem;
  color: var(--muted);
}

/* On-this-page table of contents */
.toc {
  margin: 26px 0;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  border-radius: var(--radius);
  background: var(--warm);
}

.toc__title {
  margin: 0 0 10px;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
}

.toc__meta {
  margin-left: 8px;
  color: var(--muted);
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
}

.toc__list {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 6px;
}

.toc__list li {
  line-height: 1.35;
}

.toc__list a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 650;
  border-bottom: 1px solid transparent;
}

.toc__list a:hover,
.toc__list a:focus-visible {
  color: var(--red);
  border-bottom-color: currentColor;
}

@media (max-width: 720px) {
  .toc {
    padding: 16px 18px;
  }
}

/* Keep TOC jump targets clear of the sticky site header */
.content h2[id],
.content h3[id] {
  scroll-margin-top: 90px;
}

/* Visual label for a .note aside. Not a heading: the aside is already named by
   its aria-label, and as an h3 straight after the h1 it made the document
   outline skip a level. */
.note__label {
  margin: 0 0 8px;
  color: #111;
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.25;
}

/* Hazard tape: K9-Alert's signature edge on the product call-outs. */
.cta-box,
.article-cta {
  position: relative;
  overflow: hidden;
}

.cta-box::before,
.article-cta::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 5px;
  background: repeating-linear-gradient(-45deg, #ffd60a 0 12px, #0b0b0c 12px 24px);
  content: "";
}

/* Verbatim buyer reviews quoted inside an article, with their source platform. */
.buyer-quote {
  margin: 18px 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  border-radius: var(--radius);
  background: var(--warm);
}

.buyer-quote blockquote {
  margin: 0;
}

.buyer-quote blockquote p {
  margin: 0;
}

.buyer-quote figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.pet-table{overflow-x:auto;max-width:100%;margin:1.3rem 0}.pet-table table{min-width:520px}.toc a{display:inline-block;min-height:48px;padding:10px 0}.faq-list h3{scroll-margin-top:100px}

.outage-table{overflow-x:auto;max-width:100%;margin:1.4rem 0}.outage-table table{min-width:520px}.source-note,.source-review{padding:1rem;background:#f7f3ee}.source-review li{margin:.7rem 0}.source-review a{display:inline-block;min-height:48px}.cta-box a{color:#fff;text-decoration:underline}.article-meta a{min-height:48px;display:inline-flex;align-items:center}
/* Standalone controls stay easy to tap without changing links inside prose. */
.toc__list a,.source-review li a,.content>aside>a,.cta-box a,.k9-marketing-privacy-toggle{display:inline-flex;align-items:center;min-height:48px;box-sizing:border-box}
.k9-privacy-choices{min-height:48px;display:inline-flex;align-items:center;box-sizing:border-box}
body .k9-privacy-choices{min-height:48px!important}
