:root {
  --red: #b51f3e;
  --red-dark: #8f1730;
  --blue: #174a7c;
  --green: #16735f;
  --ink: #17202a;
  --muted: #5d6875;
  --line: #dbe2ea;
  --bg: #f5f7f9;
  --panel: #ffffff;
  --soft: #eef4f1;
  --shadow: 0 14px 36px rgba(23, 32, 42, .11);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: var(--red-dark);
  text-underline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 50;
  background: #fff;
  color: var(--ink);
  padding: 10px 12px;
  border-radius: 6px;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 900;
  font-size: 18px;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--blue));
  font-weight: 900;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  flex-wrap: wrap;
}

.nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  padding: 8px 10px;
  border-radius: 6px;
}

.nav a:hover,
.nav a:focus,
.nav a[aria-current="page"] {
  color: #fff;
  background: var(--red);
}

.hero {
  color: #fff;
  min-height: 430px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(12, 22, 32, .92), rgba(12, 22, 32, .62)),
    var(--hero-image) center / cover no-repeat;
}

.hero .wrap {
  padding: 56px 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: #d8f0e8;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1,
h2,
h3 {
  line-height: 1.18;
  letter-spacing: 0;
}

h1 {
  max-width: 850px;
  margin: 0;
  font-size: 54px;
}

.hero-text {
  max-width: 760px;
  margin: 18px 0 0;
  color: #edf3f7;
  font-size: 19px;
}

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

.button,
.text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 6px;
  font-weight: 900;
  text-decoration: none;
}

.button {
  padding: 12px 18px;
  color: #fff;
  background: var(--red);
  border: 1px solid var(--red);
}

.button:hover,
.button:focus {
  background: var(--red-dark);
  border-color: var(--red-dark);
}

.button.secondary {
  color: var(--ink);
  background: #fff;
  border-color: #fff;
}

.button.alt {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}

.text-button {
  color: var(--red-dark);
}

.main {
  padding: 44px 0 64px;
}

.section {
  margin-bottom: 48px;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 22px;
}

.section-heading h2,
.content h2,
.content-panel h2 {
  margin: 0 0 12px;
  font-size: 34px;
}

.section-heading p,
.lead {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.quick-grid,
.topic-grid,
.product-grid,
.decision-grid,
.audience-grid,
.legal-grid {
  display: grid;
  gap: 16px;
}

.quick-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.topic-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.step-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.quick-card,
.topic-card,
.product-card,
.decision-card,
.audience-card,
.content-panel,
.legal-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.quick-card {
  padding: 18px;
  text-decoration: none;
  color: var(--ink);
  min-height: 140px;
}

.quick-card strong {
  display: block;
  font-size: 18px;
  margin-bottom: 8px;
}

.quick-card span {
  color: var(--muted);
}

.quick-card:hover,
.quick-card:focus {
  border-color: var(--red);
}

.topic-card {
  overflow: hidden;
}

.topic-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.topic-card-body,
.product-card,
.decision-card,
.audience-card,
.content-panel,
.legal-card {
  padding: 22px;
}

.topic-card h3,
.product-card h3,
.decision-card h3,
.audience-card h3,
.content-panel h3,
.legal-card h2,
.legal-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.topic-card p,
.product-card p,
.decision-card p,
.audience-card p,
.content-panel p,
.legal-card p {
  margin: 0 0 14px;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  gap: 24px;
  align-items: start;
}

.content-panel {
  box-shadow: none;
}

.check-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 8px 0 8px 28px;
  border-top: 1px solid var(--line);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
}

.finder-list {
  display: grid;
  gap: 12px;
}

.finder-list div {
  display: grid;
  gap: 4px;
  padding: 0 0 12px;
  border-bottom: 1px solid var(--line);
}

.finder-list div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.finder-list strong {
  color: var(--ink);
  font-size: 17px;
}

.finder-list span {
  color: var(--muted);
}

.band {
  padding: 28px;
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(23, 74, 124, .96), rgba(22, 115, 95, .9)),
    var(--band-image) center / cover no-repeat;
}

.band h2 {
  max-width: 740px;
  margin: 0 0 10px;
  font-size: 34px;
}

.band p {
  max-width: 760px;
  margin: 0 0 18px;
  color: #e9f2f6;
}

.crumbs {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
}

.crumbs a {
  color: var(--muted);
}

.page-hero {
  padding: 34px 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.page-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: center;
}

.page-hero img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
}

.page-hero h1 {
  color: var(--ink);
}

.page-hero .lead {
  margin-top: 16px;
}

.related-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.related-links a {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: #fff;
  text-decoration: none;
  font-weight: 800;
}

.table-wrap {
  overflow-x: auto;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.comparison-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

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

.comparison-table thead th {
  color: #fff;
  background: var(--blue);
  font-size: 14px;
}

.comparison-table tbody th {
  color: var(--ink);
  font-size: 17px;
}

.comparison-table tr:last-child th,
.comparison-table tr:last-child td {
  border-bottom: 0;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
  color: var(--muted);
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

@media (max-width: 900px) {
  .header-inner,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    justify-content: flex-start;
  }

  .quick-grid,
  .topic-grid,
  .product-grid,
  .decision-grid,
  .step-grid,
  .audience-grid,
  .split,
  .page-hero-layout {
    grid-template-columns: 1fr;
  }

  .page-hero img {
    max-height: 280px;
  }
}

@media (max-width: 560px) {
  .wrap {
    width: min(100% - 24px, 1180px);
  }

  .hero .wrap {
    padding: 42px 0;
  }

  .hero {
    min-height: 0;
  }

  h1 {
    font-size: 34px;
  }

  .section-heading h2,
  .content h2,
  .content-panel h2,
  .band h2 {
    font-size: 28px;
  }

  .hero-text,
  .section-heading p,
  .lead {
    font-size: 17px;
  }

  .table-wrap {
    overflow-x: visible;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .comparison-table {
    min-width: 0;
  }

  .comparison-table,
  .comparison-table thead,
  .comparison-table tbody,
  .comparison-table tr,
  .comparison-table th,
  .comparison-table td {
    display: block;
    width: 100%;
  }

  .comparison-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .comparison-table tr {
    margin-bottom: 14px;
    padding: 16px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .comparison-table tr:last-child {
    margin-bottom: 0;
  }

  .comparison-table th,
  .comparison-table td,
  .comparison-table tr:last-child th,
  .comparison-table tr:last-child td {
    padding: 0;
    border-bottom: 0;
  }

  .comparison-table tbody th {
    margin-bottom: 10px;
    font-size: 20px;
  }

  .comparison-table td {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 12px;
    padding-top: 8px;
    color: var(--muted);
  }

  .comparison-table td::before {
    content: attr(data-label);
    color: var(--ink);
    font-weight: 900;
  }

  .nav a {
    padding: 7px 8px;
  }

  .brand {
    white-space: normal;
  }

  .topic-card-body,
  .product-card,
  .decision-card,
  .audience-card,
  .content-panel,
  .legal-card,
  .band {
    padding: 18px;
  }
}
