:root {
  --primary: #5d50a0;
  --primary-dark: #463b7d;
  --secondary: #9ced6a;
  --teal: #48ad91;
  --teal-soft: #e7f6f1;
  --ink: #34343f;
  --muted: #687083;
  --surface: #f7f8fb;
  --line: #e3e6ec;
  --white: #ffffff;
  --header-height: 78px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}

body,
button,
input,
select {
  font-family: "Poppins", sans-serif;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
select,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(156, 237, 106, 0.8);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 10px 14px;
  color: var(--white);
  background: var(--primary);
  border-radius: 6px;
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  width: min(1220px, calc(100% - 40px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 36px;
}

.brand {
  flex: 0 0 auto;
}

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

.header-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-left: auto;
}

.header-nav a {
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.header-nav a:hover {
  color: var(--primary);
}

.header-cta {
  flex: 0 0 auto;
  padding: 12px 22px;
  color: var(--primary-dark);
  background: var(--secondary);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(82, 73, 126, 0.16);
}

.plan-hero {
  color: var(--white);
  background: var(--primary);
  border-bottom: 8px solid var(--secondary);
}

.hero-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 58px 0 62px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.breadcrumbs a {
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--secondary);
}

.hero-kicker,
.eyebrow {
  margin: 0 0 8px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero-kicker {
  display: inline-flex;
  padding: 6px 12px;
  color: var(--primary-dark);
  background: var(--secondary);
  border-radius: 999px;
}

.plan-hero h1 {
  max-width: 780px;
  margin: 18px 0 14px;
  color: var(--white);
  font-size: 52px;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
  line-height: 1.65;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-meta span {
  padding: 8px 12px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(24, 21, 50, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  font-size: 13px;
}

.hero-meta strong {
  color: var(--white);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  min-height: 48px;
  padding: 13px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease, color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--primary-dark);
  background: var(--secondary);
}

.button-secondary {
  color: var(--white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.42);
}

.button-secondary:hover {
  color: var(--primary);
  background: var(--white);
}

.coverage-intro {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.intro-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 42px 0;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 22px;
}

.intro-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--teal);
  border-radius: 50%;
  font-size: 22px;
  font-weight: 800;
}

.intro-inner h2 {
  margin: 0 0 10px;
  font-size: 25px;
  line-height: 1.25;
}

.intro-inner > div:last-child > p:last-child {
  max-width: 1010px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.coverage-tools {
  position: sticky;
  top: var(--header-height);
  z-index: 80;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 20px rgba(38, 42, 58, 0.06);
}

.tools-inner {
  width: min(1120px, calc(100% - 40px));
  min-height: 98px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(220px, 0.65fr) auto;
  align-items: end;
  gap: 18px;
  padding: 16px 0;
}

.search-field,
.section-select {
  display: grid;
  gap: 7px;
}

.search-field span,
.section-select span {
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}

.search-field input,
.section-select select {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #cfd4dd;
  border-radius: 6px;
  font-size: 14px;
}

.search-field input:focus,
.section-select select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(93, 80, 160, 0.12);
  outline: none;
}

.search-summary {
  min-width: 190px;
  margin: 0;
  padding-bottom: 11px;
  color: var(--muted);
  font-size: 12px;
  text-align: right;
}

.search-summary strong {
  color: var(--primary);
  font-size: 18px;
}

.coverage-layout {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 58px 0 82px;
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 50px;
  align-items: start;
}

.section-sidebar {
  position: sticky;
  top: 200px;
  max-height: calc(100vh - 220px);
  overflow: auto;
  padding-right: 10px;
}

.section-sidebar > p {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.section-sidebar nav {
  display: grid;
  gap: 3px;
  padding-left: 12px;
  border-left: 2px solid var(--line);
}

.section-sidebar a {
  padding: 7px 10px;
  color: var(--muted);
  border-radius: 5px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  text-decoration: none;
}

.section-sidebar a:hover,
.section-sidebar a.is-active {
  color: var(--primary);
  background: rgba(93, 80, 160, 0.08);
}

.section-sidebar a.is-active {
  font-weight: 700;
}

.coverage-content {
  min-width: 0;
}

.coverage-section {
  padding: 0 0 54px;
  scroll-margin-top: 190px;
}

.coverage-section + .coverage-section {
  padding-top: 54px;
  border-top: 1px solid var(--line);
}

.section-heading {
  margin-bottom: 22px;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.section-number {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  color: var(--primary);
  background: var(--teal-soft);
  border: 1px solid #cdebe2;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 800;
}

.section-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: 26px;
  line-height: 1.25;
}

.section-heading > div > p:last-child {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.table-shell {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

thead {
  background: var(--teal-soft);
}

th,
td {
  padding: 14px 15px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  text-align: left;
  vertical-align: top;
}

thead th {
  color: #28584e;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

thead th:first-child {
  width: 43%;
}

thead th:nth-child(2) {
  width: 15%;
}

thead th:nth-child(3) {
  width: 26%;
}

thead th:nth-child(4) {
  width: 16%;
}

tbody th {
  color: var(--ink);
  font-weight: 600;
}

tbody td {
  color: var(--muted);
}

tbody tr:nth-child(even) {
  background: #fafafd;
}

tbody tr:hover {
  background: #f3f1fb;
}

tbody tr:last-child th,
tbody tr:last-child td {
  border-bottom: 0;
}

.section-empty {
  margin: 0;
  padding: 30px 20px;
  color: var(--muted);
  background: var(--surface);
  font-size: 14px;
  text-align: center;
}

.closing-cta {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto 80px;
  padding: 34px 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  color: var(--white);
  background: #194d50;
  border-left: 7px solid var(--secondary);
  border-radius: 8px;
}

.closing-cta .eyebrow {
  color: var(--secondary);
}

.closing-cta h2 {
  margin: 0;
  font-size: 28px;
}

.closing-cta p:not(.eyebrow) {
  margin: 7px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
}

.site-footer {
  min-height: 220px;
  padding: 46px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.75);
  background: #2f2d47;
  text-align: center;
}

.site-footer img {
  width: 210px;
  height: 72px;
  object-fit: contain;
}

.site-footer p {
  margin: 14px 0 10px;
  font-size: 13px;
}

.site-footer a {
  color: var(--secondary);
  font-size: 13px;
  font-weight: 700;
}

.site-footer.home-site-footer {
  min-height: 0;
  padding: 80px 0 40px;
  display: block;
  color: #6b7280;
  background: var(--surface);
  border-top: 1px solid #f0f1f4;
  text-align: left;
}

.home-footer-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.home-footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.7fr 1.35fr 1fr;
  gap: 40px;
  margin-bottom: 64px;
}

.site-footer.home-site-footer h2 {
  margin: 0 0 24px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

.site-footer.home-site-footer p {
  margin: 0;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.7;
}

.site-footer.home-site-footer a {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  text-decoration: none;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.home-footer-logo {
  width: auto !important;
  height: 64px !important;
  margin: 0 0 16px;
  object-fit: contain;
}

.home-footer-brand p {
  max-width: 270px;
}

.home-footer-social {
  width: 40px;
  height: 40px;
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary) !important;
  background: rgba(93, 80, 160, 0.1);
  border-radius: 999px;
}

.home-footer-social:hover {
  color: var(--ink) !important;
  background: var(--secondary);
}

.home-footer-social svg,
.home-footer-contact svg,
.home-footer-access svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.home-footer-links a:hover,
.home-footer-bottom a:hover {
  color: var(--primary) !important;
}

.home-footer-contact ul {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  list-style: none;
}

.home-footer-contact li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  line-height: 1.55;
}

.home-footer-contact li:last-child {
  align-items: flex-start;
}

.home-footer-contact svg {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  color: var(--primary);
}

.home-footer-contact strong {
  color: #4b5563;
}

.home-footer-access p {
  margin-bottom: 16px !important;
}

.home-footer-access-client,
.home-footer-access-vet {
  width: 100%;
  min-height: 48px;
  margin-top: 12px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 2px solid var(--primary);
  border-radius: 12px;
  color: var(--primary) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-align: center;
  box-shadow: 0 2px 5px rgba(52, 52, 63, 0.08);
}

.home-footer-access-client:hover {
  color: var(--white) !important;
  background: var(--primary);
}

.home-footer-access-vet {
  color: var(--white) !important;
  background: var(--primary);
  box-shadow: 0 5px 12px rgba(93, 80, 160, 0.2);
}

.home-footer-access-vet:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.home-footer-access svg {
  width: 18px;
  height: 18px;
}

.home-footer-bottom {
  padding-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid #e5e7eb;
}

.site-footer.home-site-footer .home-footer-bottom p,
.home-footer-bottom a {
  color: #9ca3af;
  font-size: 12px;
  line-height: 1.5;
}

.home-footer-bottom p a {
  color: var(--primary);
  font-weight: 600;
}

.home-footer-bottom > div {
  display: flex;
  gap: 24px;
  flex: 0 0 auto;
}

@media (max-width: 920px) {
  .header-inner {
    gap: 18px;
  }

  .header-nav {
    gap: 16px;
  }

  .header-nav a {
    font-size: 12px;
  }

  .brand img {
    width: 160px;
  }

  .tools-inner {
    grid-template-columns: 1fr 1fr;
  }

  .search-summary {
    grid-column: 1 / -1;
    padding: 0;
    text-align: left;
  }

  .coverage-layout {
    display: block;
  }

  .section-sidebar {
    display: none;
  }

  .home-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  :root {
    --header-height: 68px;
  }

  html {
    scroll-padding-top: 150px;
  }

  .header-inner,
  .hero-inner,
  .intro-inner,
  .tools-inner,
  .coverage-layout,
  .closing-cta {
    width: min(100% - 28px, 1120px);
  }

  .site-header {
    height: var(--header-height);
  }

  .brand img {
    width: 132px;
    height: 48px;
  }

  .header-nav {
    display: none;
  }

  .header-cta {
    margin-left: auto;
    padding: 10px 15px;
    font-size: 12px;
  }

  .hero-inner {
    padding: 38px 0 44px;
  }

  .breadcrumbs {
    margin-bottom: 24px;
    font-size: 11px;
  }

  .plan-hero h1 {
    font-size: 38px;
  }

  .hero-copy {
    font-size: 15px;
  }

  .hero-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .hero-meta span:last-child {
    grid-column: 1 / -1;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .site-footer.home-site-footer {
    padding: 56px 0 28px;
  }

  .home-footer-inner {
    width: min(100% - 36px, 1120px);
  }

  .home-footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
    margin-bottom: 42px;
  }

  .home-footer-brand p {
    max-width: none;
  }

  .home-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .intro-inner {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 14px;
    padding: 32px 0;
  }

  .intro-mark {
    width: 38px;
    height: 38px;
    font-size: 18px;
  }

  .intro-inner h2 {
    font-size: 21px;
  }

  .coverage-tools {
    top: var(--header-height);
  }

  .tools-inner {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 12px 0;
  }

  .search-summary {
    display: none;
  }

  .coverage-layout {
    padding: 40px 0 60px;
  }

  .coverage-section {
    padding-bottom: 42px;
    scroll-margin-top: 220px;
  }

  .coverage-section + .coverage-section {
    padding-top: 42px;
  }

  .section-heading {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
    margin-bottom: 16px;
  }

  .section-number {
    width: 44px;
    height: 44px;
  }

  .section-heading h2 {
    font-size: 21px;
  }

  .table-shell {
    overflow: visible;
    border: 0;
  }

  table,
  tbody {
    display: block;
  }

  thead {
    display: none;
  }

  tbody {
    display: grid;
    gap: 10px;
  }

  tbody tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    background: var(--white) !important;
    border: 1px solid var(--line);
    border-radius: 8px;
  }

  tbody tr:hover {
    background: var(--white);
  }

  tbody th {
    grid-column: 1 / -1;
    padding: 14px;
    color: var(--white);
    background: var(--primary);
    border-bottom: 0;
    font-size: 13px;
  }

  tbody td {
    min-width: 0;
    padding: 10px 12px 12px;
    display: grid;
    align-content: start;
    gap: 3px;
    border-bottom: 0;
    border-right: 1px solid var(--line);
    font-size: 12px;
    overflow-wrap: anywhere;
  }

  tbody td:last-child {
    border-right: 0;
  }

  tbody td:nth-of-type(3) {
    grid-column: 1 / -1;
    border-top: 1px solid var(--line);
    border-right: 0;
  }

  tbody td::before {
    content: attr(data-label);
    color: var(--teal);
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
  }

  .closing-cta {
    margin-bottom: 52px;
    padding: 28px 24px;
    display: grid;
  }

  .closing-cta h2 {
    font-size: 24px;
  }

  .site-footer {
    min-height: 190px;
  }
}

@media (max-width: 380px) {
  .header-cta {
    padding: 9px 12px;
  }

  .brand img {
    width: 118px;
  }

  .plan-hero h1 {
    font-size: 34px;
  }
}

@media print {
  .site-header,
  .coverage-tools,
  .section-sidebar,
  .hero-actions,
  .closing-cta,
  .site-footer {
    display: none !important;
  }

  .plan-hero {
    color: var(--ink);
    background: var(--white);
    border-bottom: 2px solid var(--primary);
  }

  .plan-hero h1,
  .hero-copy,
  .hero-meta strong {
    color: var(--ink);
  }

  .hero-meta span {
    color: var(--ink);
    border-color: var(--line);
  }

  .coverage-layout {
    width: 100%;
    display: block;
    padding: 30px 0;
  }

  .coverage-section {
    break-inside: avoid;
  }
}
