:root {
  --paper: #edf7ff;
  --ink: #263d52;
  --ink-soft: #52697d;
  --line: #bdd8e9;
  --white: #ffffff;
  --red: #ef625c;
  --red-dark: #ae343b;
  --teal: #06737b;
  --green: #55bc39;
  --yellow: #f5bc15;
  --purple: #8058b8;
  --sky: #2f75a4;
  --blue-wash: #dff3fb;
  --shadow-card: 0 8px 22px rgba(37, 86, 120, 0.08);
  --shadow-card-hover: 0 12px 28px rgba(37, 86, 120, 0.13);
  --radius: 1rem;
  --radius-card: 0.9rem;
  --radius-small: 0.65rem;
  --max: 1240px;
  --reading: 760px;
  --page-shell: min(calc(100% - 2rem), var(--max));
  --space-section: clamp(2rem, 3.8vw, 3.35rem);
  --space-content: clamp(1.6rem, 3vw, 2.5rem);
  --space-grid: 0.8rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  margin: 0;
  min-width: 0;
  background:
    radial-gradient(circle at 9% 3%, rgba(94, 212, 255, 0.22), transparent 25rem),
    radial-gradient(circle at 90% 18%, rgba(174, 244, 100, 0.15), transparent 24rem),
    var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.68;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--teal);
  text-decoration-thickness: 0.09em;
  text-underline-offset: 0.16em;
}

a:hover {
  color: var(--red-dark);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
  border-radius: 0.25rem;
}

p,
ul,
ol,
blockquote {
  margin: 0 0 0.85rem;
}

ul,
ol {
  padding-left: 1.25rem;
}

li + li {
  margin-top: 0.32rem;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  font-family: "Trebuchet MS", Inter, ui-sans-serif, sans-serif;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

h1 {
  max-width: 900px;
  font-size: clamp(2.35rem, 7vw, 4.35rem);
}

h2 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.42rem, 2.55vw, 2rem);
}

h3 {
  margin-bottom: 0.5rem;
  font-size: clamp(1.12rem, 1.85vw, 1.32rem);
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  transform: translateY(-180%);
  border-radius: 999px;
  background: var(--ink);
  color: white;
  font-weight: 800;
}

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

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

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid #b7d6e8;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 4px 18px rgba(39, 102, 143, 0.08);
}

.header-bar {
  display: grid;
  width: var(--page-shell);
  min-height: 92px;
  margin: 0 auto;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.8rem 1.8rem;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.72rem;
  color: var(--ink);
  font-weight: 900;
  letter-spacing: -0.035em;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  isolation: isolate;
  display: grid;
  width: 3.25rem;
  height: 3.25rem;
  margin-right: 1.05rem;
  place-items: center;
  transform: rotate(-6deg);
  border: 0;
  border-radius: 0.2rem 0.8rem 0.3rem 0.9rem;
  background: #ff817c;
  box-shadow:
    0.55rem 0.2rem 0 -0.12rem #58bdf0,
    1rem -0.08rem 0 -0.18rem #5bd781,
    1.42rem 0.2rem 0 -0.24rem #c884e8;
  color: white;
  font-family: "Trebuchet MS", sans-serif;
  font-size: 1.75rem;
  font-weight: 900;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.08);
}

.brand-mark::after {
  position: absolute;
  z-index: -1;
  inset: -0.2rem 0.3rem 0.2rem -0.12rem;
  transform: rotate(8deg);
  border-radius: 0.6rem 0.2rem 0.7rem 0.25rem;
  background: rgba(255, 255, 255, 0.2);
  content: "";
}

.brand-domain {
  background: linear-gradient(90deg, #c94948, #976300 31%, #347f2b 57%, #087c83 78%, #7955ad);
  background-clip: text;
  color: transparent;
  font-size: 1.34rem;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-domain em {
  color: inherit;
  font-style: normal;
}

.header-search {
  display: grid;
  min-width: 0;
  max-width: 820px;
  margin-left: auto;
  grid-template-columns: auto auto auto minmax(220px, 1fr) auto;
  overflow: hidden;
  border: 3px solid var(--green);
  border-radius: 0.38rem;
  background: white;
  box-shadow: 0 5px 16px rgba(70, 160, 55, 0.14);
}

.search-chip,
.header-search input,
.header-search button {
  min-height: 44px;
  border: 0;
  border-right: 2px solid var(--green);
  border-radius: 0;
  font: inherit;
}

.search-chip {
  display: inline-flex;
  padding: 0.58rem 0.72rem;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.77rem;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.search-chip:hover,
.search-chip:focus-visible {
  color: white;
  filter: brightness(1.08);
}

.search-chip::before {
  margin-right: 0.28rem;
  font-size: 0.92em;
}

.chip-products {
  background: var(--purple);
}

.chip-products::before {
  content: "★";
}

.chip-source {
  background: var(--sky);
}

.chip-source::before {
  content: "⚡";
}

.chip-keywords {
  background: #88d65b;
  color: #185b1e;
}

.chip-keywords::before {
  content: "✚";
}

.chip-keywords:hover,
.chip-keywords:focus-visible {
  color: #185b1e;
}

.header-search input {
  width: 100%;
  min-width: 0;
  padding: 0.58rem 0.85rem;
  color: var(--ink);
  outline-offset: -3px;
}

.header-search input::placeholder {
  color: #81909d;
}

.header-search button {
  padding: 0.58rem 1rem;
  border-right: 0;
  background: #c9f4c5;
  color: #167825;
  cursor: pointer;
  font-weight: 900;
  white-space: nowrap;
}

.header-search button:hover {
  background: var(--green);
  color: white;
}

.nav-wrap {
  grid-column: 1 / -1;
  min-width: 0;
  width: 100%;
  overflow: visible;
}

.site-nav {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 0;
  overflow: hidden;
  border-radius: 0.5rem 0.5rem 0 0;
}

.site-nav a {
  flex: 1 1 0;
  min-width: 0;
  padding: 0.58rem 0.5rem;
  border-radius: 0;
  color: white;
  font-size: 0.84rem;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.16);
}

.site-nav a:nth-child(1) { background: linear-gradient(#ed6e68, #cc4742); }
.site-nav a:nth-child(2) { background: linear-gradient(#ffd537, #e9aa08); }
.site-nav a:nth-child(3) { background: linear-gradient(#b8e578, #83c83b); }
.site-nav a:nth-child(4) { background: linear-gradient(#63c34d, #2f8c26); }
.site-nav a:nth-child(5) { background: linear-gradient(#32b9bc, #078087); }
.site-nav a:nth-child(6) { background: linear-gradient(#68afe1, #2d73a6); }
.site-nav a:nth-child(7) { background: linear-gradient(#9a75c8, #7652a8); }

.site-nav a:nth-child(2),
.site-nav a:nth-child(3) {
  color: #27415a;
  text-shadow: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: white;
  box-shadow: inset 0 -5px 0 rgba(255, 255, 255, 0.85), inset 0 0 0 2px rgba(255, 255, 255, 0.25);
}

.site-nav a:nth-child(2)[aria-current="page"],
.site-nav a:nth-child(3)[aria-current="page"] {
  color: #27415a;
}

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 62% 42%, rgba(255, 255, 255, 0.92) 0 12rem, transparent 25rem),
    linear-gradient(105deg, #e1f2ff 0%, #f1faff 58%, #e7f8e9 100%);
}

.hero::before {
  position: absolute;
  top: 2.4rem;
  right: 8%;
  width: 2.2rem;
  height: 2.2rem;
  transform: rotate(8deg);
  border-radius: 0.15rem 0.65rem 0.18rem 0.55rem;
  background: rgba(239, 98, 92, 0.18);
  box-shadow:
    2.6rem 1.05rem 0 rgba(77, 169, 218, 0.2),
    5.1rem -0.3rem 0 rgba(85, 188, 57, 0.17),
    7.35rem 1.25rem 0 rgba(128, 88, 184, 0.14);
  content: "";
  pointer-events: none;
}

.hero::after {
  position: absolute;
  right: -7rem;
  bottom: -10rem;
  width: 25rem;
  height: 25rem;
  border: 1px solid rgba(77, 169, 218, 0.2);
  border-radius: 50%;
  box-shadow:
    0 0 0 3.5rem rgba(92, 201, 225, 0.06),
    0 0 0 7rem rgba(112, 209, 102, 0.05);
  content: "";
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  width: var(--page-shell);
  margin: 0 auto;
  padding: clamp(2.45rem, 4.7vw, 4.25rem) 0 clamp(2.25rem, 4.2vw, 3.65rem);
  gap: 1.7rem;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 0.8rem;
  align-items: center;
  gap: 0.55rem;
  color: var(--red-dark);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 2rem;
  height: 2px;
  background: var(--red);
  content: "";
}

.hero-copy {
  max-width: 900px;
}

.hero-copy h1 span {
  position: relative;
  white-space: nowrap;
}

.hero-copy h1 span::after {
  position: absolute;
  z-index: -1;
  right: -0.04em;
  bottom: 0.04em;
  left: -0.04em;
  height: 0.25em;
  transform: rotate(-1deg);
  background: linear-gradient(90deg, var(--yellow), #a6e765);
  content: "";
}

.hero-lede {
  max-width: 690px;
  margin: 1.05rem 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 2.2vw, 1.28rem);
}

.article-meta {
  display: flex;
  max-width: 690px;
  margin: 0.7rem 0 0;
  flex-wrap: wrap;
  gap: 0.25rem 0.75rem;
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.article-meta span::before {
  margin-right: 0.35rem;
  color: var(--green);
  content: "✓";
  font-weight: 900;
}

.article-meta a {
  font-weight: 800;
}

.trust-note {
  max-width: 830px;
  margin: 1.1rem 0 0;
  padding: 0.85rem 1rem;
  border-left: 5px solid var(--teal);
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink-soft);
  font-size: 0.91rem;
}

.button-row {
  display: flex;
  margin-top: 1.25rem;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.button {
  display: inline-flex;
  min-height: 46px;
  padding: 0.72rem 1.05rem;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 2px solid #176f9e;
  border-radius: var(--radius-small);
  background: #176f9e;
  color: white;
  font-size: 0.9rem;
  font-weight: 850;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  box-shadow: 4px 4px 0 #8bd95d;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.button:hover {
  transform: translate(-1px, -1px);
  color: white;
  box-shadow: 6px 6px 0 #8bd95d;
}

.button.secondary {
  border-color: var(--ink);
  background: var(--white);
  color: var(--ink);
  box-shadow: none;
}

.button.secondary:hover {
  color: var(--ink);
  box-shadow: 4px 4px 0 var(--blue-wash);
}

.button.tertiary {
  border-color: transparent;
  background: transparent;
  color: var(--teal);
  box-shadow: none;
  text-decoration: underline;
}

.external-note {
  margin: 0.7rem 0 0;
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.hero-aside {
  align-self: end;
  padding: 0.95rem;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 6px 6px 0 var(--teal);
}

.hero-aside-label {
  margin: 0 0 0.6rem;
  color: var(--red-dark);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.margin-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: 0;
  gap: 0.45rem;
  list-style: none;
}

.margin-list li {
  min-width: 0;
  margin: 0;
  padding: 0.7rem 0.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  color: var(--ink);
  font-family: Georgia, serif;
  font-size: 0.92rem;
  font-weight: 700;
  text-align: center;
}

.page-hero .hero-grid {
  padding-top: clamp(1.8rem, 3.2vw, 2.9rem);
  padding-bottom: clamp(1.9rem, 3.4vw, 3.05rem);
}

.page-hero h1,
.not-found h1 {
  max-width: 1000px;
  font-size: clamp(1.8rem, 4.2vw, 3.05rem);
}

.breadcrumb {
  width: var(--page-shell);
  margin: 0 auto;
  padding-top: 0.8rem;
  color: var(--ink-soft);
  font-size: 0.8rem;
}

.breadcrumb ol {
  display: flex;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  gap: 0.35rem;
  list-style: none;
}

.breadcrumb li + li::before {
  margin-right: 0.35rem;
  color: var(--red);
  content: "/";
}

.section {
  padding: var(--space-section) 0;
  background: var(--white);
}

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

.section.alt {
  background: var(--white);
}

.section.search-section {
  background: transparent;
}

.container {
  width: var(--page-shell);
  margin: 0 auto;
}

.section-head {
  display: grid;
  margin-bottom: 1.15rem;
  grid-template-areas:
    "kicker"
    "title"
    "intro";
  grid-template-columns: minmax(0, 1fr);
  gap: 0.35rem;
}

.section-kicker {
  display: flex;
  grid-area: kicker;
  margin: 0;
  align-items: center;
  gap: 0.45rem;
  color: var(--red-dark);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.section-kicker::before {
  width: 1.5rem;
  height: 2px;
  flex: 0 0 auto;
  background: var(--red);
  content: "";
}

.section-head h2 {
  grid-area: title;
  margin-bottom: 0;
}

.section-intro {
  grid-area: intro;
  max-width: 680px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 1rem;
}

.quick-answer {
  position: relative;
  width: 100%;
  padding: clamp(1.25rem, 2.7vw, 1.75rem);
  border: 2px solid #4aa9dd;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 6px 6px 0 rgba(85, 188, 57, 0.24);
}

.quick-answer::before {
  position: absolute;
  top: -0.62rem;
  right: 1.4rem;
  padding: 0.25rem 0.72rem;
  transform: rotate(1.5deg);
  border: 2px solid #4aa9dd;
  background: #bdeeb1;
  color: var(--ink);
  content: "START HERE";
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.12em;
}

.quick-answer p:last-child {
  margin-bottom: 0;
}

.quick-answer p {
  max-width: var(--reading);
}

.quick-answer h2 {
  font-size: clamp(1.38rem, 2.25vw, 1.78rem);
}

.search-panel {
  display: grid;
  padding: clamp(1.15rem, 2.5vw, 1.65rem);
  border: 3px solid var(--green);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  box-shadow: 6px 6px 0 #8fd7ed;
  gap: 0.8rem;
}

.search-panel h2,
.search-panel h3 {
  color: var(--ink);
}

.search-panel p {
  max-width: 700px;
  color: var(--ink-soft);
}

.search-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.65rem;
}

.search-form label {
  grid-column: 1 / -1;
  font-size: 0.78rem;
  font-weight: 850;
}

.search-form input {
  width: 100%;
  min-height: 50px;
  padding: 0.75rem 0.9rem;
  border: 3px solid var(--green);
  border-radius: var(--radius-small);
  background: white;
  color: var(--ink);
  font: inherit;
}

.search-form button {
  min-height: 50px;
  padding: 0.72rem 1rem;
  border: 2px solid var(--green);
  border-radius: var(--radius-small);
  background: #c9f4c5;
  color: #167825;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.search-form button:hover {
  background: var(--green);
  color: white;
}

.info-card,
.step-card {
  position: relative;
  min-width: 0;
  padding: 1.15rem;
  border: 1px solid var(--line);
  border-top: 4px solid var(--sky);
  border-radius: var(--radius-card);
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.step-card {
  border-top-color: var(--red);
}

.info-card p,
.step-card p {
  color: var(--ink-soft);
}

.info-card > :last-child,
.step-card > :last-child {
  margin-bottom: 0;
}

.text-link::after {
  margin-left: 0.35rem;
  content: "↗";
}

.directory-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--space-grid);
}

.directory-card {
  --directory-color: var(--red);
  --directory-ink: #ffffff;
  --directory-tilt: -2deg;
  display: flex;
  min-width: 0;
  min-height: 142px;
  padding: 0.85rem 0.7rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--white);
  box-shadow: var(--shadow-card);
  color: var(--ink);
  text-align: center;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.directory-card:nth-child(6n + 1) {
  --directory-color: var(--red);
}

.directory-card:nth-child(6n + 2) {
  --directory-color: #4da6de;
  --directory-ink: #173f58;
  --directory-tilt: 2deg;
}

.directory-card:nth-child(6n + 3) {
  --directory-color: var(--green);
  --directory-ink: #1f4c26;
  --directory-tilt: -1deg;
}

.directory-card:nth-child(6n + 4) {
  --directory-color: var(--purple);
  --directory-tilt: 2deg;
}

.directory-card:nth-child(6n + 5) {
  --directory-color: var(--yellow);
  --directory-ink: #4b3a00;
  --directory-tilt: -2deg;
}

.directory-card:nth-child(6n) {
  --directory-color: var(--teal);
  --directory-tilt: 1deg;
}

.directory-card:hover,
.directory-card:focus-visible {
  border-color: var(--directory-color);
  box-shadow: var(--shadow-card-hover);
  color: var(--ink);
  transform: translateY(-3px);
}

.directory-icon {
  display: grid;
  width: 72px;
  height: 72px;
  transform: rotate(var(--directory-tilt));
  border: 2px solid color-mix(in srgb, var(--directory-color) 70%, var(--ink));
  border-radius: 0.35rem 1rem 0.45rem 0.9rem;
  place-items: center;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.28), transparent 44%),
    var(--directory-color);
  box-shadow:
    5px 6px 0 color-mix(in srgb, var(--directory-color) 25%, transparent),
    inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  color: var(--directory-ink);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.directory-icon svg {
  width: 39px;
  height: 39px;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.directory-card:hover .directory-icon,
.directory-card:focus-visible .directory-icon {
  transform: rotate(0deg) translateY(-1px);
  box-shadow:
    7px 8px 0 color-mix(in srgb, var(--directory-color) 27%, transparent),
    inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.directory-name {
  margin-top: 0.65rem;
  color: var(--ink);
  font-family: "Trebuchet MS", "Avenir Next", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.1;
}

.directory-note {
  margin: 0.75rem 0 0;
  color: var(--ink-soft);
  font-size: 0.84rem;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: var(--space-grid);
  counter-reset: steps;
}

.step-card {
  counter-increment: steps;
}

.step-card::before {
  display: grid;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.75rem;
  place-items: center;
  border-radius: 50%;
  background: var(--red);
  color: white;
  content: counter(steps);
  font-size: 0.82rem;
  font-weight: 900;
}

.two-col {
  display: grid;
  gap: clamp(1.2rem, 3vw, 2.4rem);
}

.check-list {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 0.55rem;
  list-style: none;
}

.check-list li {
  position: relative;
  margin: 0;
  padding: 0.75rem 0.9rem 0.75rem 2.65rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.check-list li::before {
  position: absolute;
  top: 0.78rem;
  left: 0.9rem;
  width: 1.1rem;
  height: 1.1rem;
  border: 2px solid var(--teal);
  border-radius: 0.2rem;
  content: "";
}

.score-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.score {
  padding: 0.85rem;
  border-left: 5px solid var(--line);
  border-radius: var(--radius-small);
  background: var(--white);
}

.score strong {
  display: block;
  color: var(--ink);
  font-family: Georgia, serif;
  font-size: 1.25rem;
}

.score.good {
  border-color: var(--teal);
}

.score.mid {
  border-color: var(--yellow);
}

.score.weak {
  border-color: var(--red);
}

.comparison {
  display: grid;
  gap: var(--space-grid);
}

.comparison > article {
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.comparison .strong-row {
  border-top: 5px solid var(--teal);
}

.comparison .weak-row {
  border-top: 5px solid var(--red);
}

.label {
  display: inline-flex;
  margin-bottom: 0.6rem;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  background: var(--blue-wash);
  color: var(--teal);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.label.red {
  background: #f6dfdb;
  color: var(--red-dark);
}

.note-box,
.warning-box {
  border: 1px solid #b7dbea;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-card);
  background: var(--blue-wash);
}

.warning-box {
  border-color: #e7b7b2;
  border-left: 5px solid var(--red);
  background: #f7e4df;
}

.note-box p:last-child,
.warning-box p:last-child {
  margin-bottom: 0;
}

.source-grid,
.weight-grid,
.link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: var(--space-grid);
}

.source-grid + .link-grid {
  margin-top: 0.8rem;
}

.source-grid .info-card,
.weight-grid .info-card {
  min-height: 190px;
}

.mini-label {
  display: inline-block;
  margin-bottom: 0.55rem;
  color: var(--red-dark);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.editorial-note {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-left: 4px solid var(--sky);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink-soft);
  font-size: 0.83rem;
}

.content-section {
  width: 100%;
  margin-top: var(--space-content);
}

.content-section:first-child {
  margin-top: 0;
}

.content-section > p,
.content-section > ul,
.content-section > ol {
  max-width: var(--reading);
}

.article-layout {
  display: grid;
  gap: 1.5rem;
}

.article-layout > article {
  width: 100%;
  min-width: 0;
}

.article-nav {
  align-self: start;
  padding: 0.95rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-card);
}

.article-nav p {
  margin-bottom: 0.45rem;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.article-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-nav li {
  margin: 0;
  border-top: 1px solid var(--line);
}

.article-nav a {
  display: block;
  padding: 0.52rem 0;
  color: var(--ink-soft);
  font-size: 0.84rem;
  font-weight: 750;
  text-decoration: none;
}

.article-nav a:hover {
  color: var(--red-dark);
}

details {
  border-top: 1px solid var(--line);
  background: transparent;
}

details:last-child {
  border-bottom: 1px solid var(--line);
}

summary {
  padding: 0.9rem 2rem 0.9rem 0;
  cursor: pointer;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.17rem;
  font-weight: 700;
  line-height: 1.35;
}

details p {
  max-width: 760px;
  padding: 0 0 1rem;
  color: var(--ink-soft);
}

.cta-band {
  display: grid;
  padding: clamp(1.25rem, 3.5vw, 2rem);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--yellow);
  box-shadow: var(--shadow-card);
  gap: 0.8rem;
}

.cta-band p {
  max-width: 720px;
  margin: 0;
  color: #3a3b37;
}

.link-grid a {
  display: flex;
  min-height: 64px;
  padding: 0.75rem 0.9rem;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--white);
  color: var(--ink);
  font-weight: 850;
  text-decoration: none;
  box-shadow: var(--shadow-card);
  transition: transform 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.link-grid a::after {
  color: var(--red);
  content: "→";
}

.link-grid a:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
}

.site-footer {
  padding: 2.2rem 0 1.1rem;
  border-top: 1px solid var(--ink);
  background: var(--ink);
  color: #dce5ef;
}

.footer-grid {
  display: grid;
  gap: 1.4rem;
}

.footer-brand {
  color: white;
  font-family: Georgia, serif;
  font-size: 1.55rem;
  font-weight: 700;
}

.footer-trust {
  max-width: 700px;
  color: #c6d1dc;
  font-size: 0.88rem;
}

.footer-links {
  display: flex;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  gap: 0.35rem 0.8rem;
  list-style: none;
}

.footer-links li {
  margin: 0;
}

.footer-links a {
  color: white;
  font-size: 0.84rem;
}

.footer-bottom {
  display: flex;
  margin-top: 1.35rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  justify-content: space-between;
  gap: 0.8rem;
  color: #aebdca;
  font-size: 0.78rem;
}

.not-found {
  min-height: 60vh;
  display: grid;
  place-items: center;
  background: var(--white);
  text-align: center;
}

.not-found h1 {
  margin-inline: auto;
}

@media (min-width: 720px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.65fr) minmax(260px, 0.7fr);
    align-items: end;
  }

  .page-hero .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .section-head {
    grid-template-areas:
      "kicker intro"
      "title intro";
    grid-template-columns: minmax(0, 0.56fr) minmax(300px, 0.44fr);
    align-items: end;
    column-gap: clamp(1.5rem, 4vw, 3.5rem);
  }

  .section-intro {
    align-self: end;
    padding-bottom: 0.16rem;
  }

  .two-col,
  .comparison {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-band {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  }
}

@media (min-width: 960px) {
  .article-layout {
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 2.5rem;
  }

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

  .article-nav {
    position: sticky;
    top: 1rem;
  }
}

@media (max-width: 900px) {
  .directory-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .header-bar {
    min-height: auto;
    padding: 0.65rem 0;
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 0.7rem;
  }

  .brand {
    width: fit-content;
  }

  .header-search {
    width: 100%;
    max-width: none;
    margin-left: 0;
  }

  .nav-wrap {
    width: 100%;
    padding-bottom: 0.18rem;
    overflow: visible;
  }

  .site-nav {
    width: 100%;
    flex-wrap: wrap;
    align-items: stretch;
    border-radius: 0.45rem;
  }

  .site-nav a {
    display: flex;
    flex: 1 1 calc(25% - 1px);
    min-width: 82px;
    min-height: 44px;
    padding: 0.4rem 0.62rem;
    align-items: center;
    justify-content: center;
    line-height: 1.1;
  }
}

@media (max-width: 959px) {
  .article-nav {
    display: none;
  }
}

@media (max-width: 560px) {
  .hero-grid {
    padding-top: 1.8rem;
    padding-bottom: 1.75rem;
    gap: 1.2rem;
  }

  .page-hero .hero-grid {
    padding-top: 1.5rem;
    padding-bottom: 1.6rem;
  }

  .directory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
  }

  .directory-card {
    min-height: 122px;
    padding: 0.7rem 0.45rem 0.65rem;
  }

  .directory-icon {
    width: 58px;
    height: 58px;
  }

  .directory-icon svg {
    width: 32px;
    height: 32px;
  }

  .directory-name {
    margin-top: 0.55rem;
    font-size: 0.92rem;
  }

  .brand-mark {
    width: 2.85rem;
    height: 2.85rem;
    font-size: 1.5rem;
  }

  .brand-domain {
    font-size: 1.2rem;
  }

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

  .search-chip {
    min-width: 0;
    padding-inline: 0.3rem;
    font-size: 0.72rem;
  }

  .header-search input {
    grid-column: 1 / 3;
    border-top: 2px solid var(--green);
    font-size: 0.82rem;
  }

  .header-search button {
    grid-column: 3;
    padding-inline: 0.25rem;
    border-top: 2px solid var(--green);
    font-size: 0.76rem;
  }

  .hero-copy h1 span {
    white-space: normal;
  }

  .button-row .button {
    width: 100%;
  }

  .search-form {
    grid-template-columns: 1fr;
  }

  .score-grid {
    grid-template-columns: 1fr;
  }

  .hero-aside {
    box-shadow: 5px 5px 0 var(--teal);
  }

  .footer-bottom {
    flex-direction: column;
  }
}

.whatsapp-float {
  position: fixed;
  z-index: 2147483000;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  display: flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: #25d366;
  color: white;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(9, 46, 28, 0.3);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  color: white;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 16px 36px rgba(9, 46, 28, 0.38);
  outline: 3px solid white;
  outline-offset: 3px;
}

.whatsapp-float img {
  width: 32px;
  height: 32px;
}

.whatsapp-float-label {
  position: absolute;
  top: 50%;
  right: 68px;
  width: max-content;
  max-width: 210px;
  padding: 0.55rem 0.7rem;
  transform: translateY(-50%);
  visibility: hidden;
  border-radius: 9px;
  background: #17231d;
  color: white;
  font-size: 0.81rem;
  font-weight: 700;
  line-height: 1.2;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transition: opacity 180ms ease, visibility 180ms ease;
}

.whatsapp-float:hover .whatsapp-float-label,
.whatsapp-float:focus-visible .whatsapp-float-label {
  visibility: visible;
  opacity: 1;
}

@media (max-width: 600px) {
  .whatsapp-float {
    right: max(14px, env(safe-area-inset-right));
    bottom: max(14px, env(safe-area-inset-bottom));
    width: 54px;
    height: 54px;
  }

  .whatsapp-float-label {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

@media print {
  .site-header,
  .button-row,
  .search-panel,
  .site-footer,
  .whatsapp-float {
    display: none;
  }

  body {
    background: white;
  }

  .section {
    padding: 1.5rem 0;
  }
}
