:root {
  --ink: #001f3f;
  --muted: #5f6c7b;
  --paper: #ffffff;
  --surface: #ffffff;
  --surface-2: #ffffff;
  --line: #e0e5eb;
  --green: #001f3f;
  --green-dark: #00142a;
  --lime: #ffe8eb;
  --blue: #e60012;
  --blue-soft: #fff1f3;
  --orange: #e60012;
  --gold: #f2bd2e;
  --accent-strong: #c90010;
  --accent-soft: #fff1f3;
  --wash: #ffffff;
  --ink-soft: #26384b;
  --line-strong: #cbd5e1;
  --card-hover: #f29aa4;
  --shadow: 0 12px 32px rgba(0, 31, 63, 0.08);
  --shadow-soft: 0 8px 24px rgba(0, 31, 63, 0.06);
  --shadow-hover: 0 16px 36px rgba(0, 31, 63, 0.12);
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1160px;
  --reading: 820px;
  --page-width: min(calc(100% - 32px), var(--max));
}

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

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Poppins, "Avenir Next", Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.68;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--green);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a,
button {
  touch-action: manipulation;
}

a:hover {
  color: var(--blue);
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
  border-radius: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  transform: translateY(-180%);
  transition: transform 160ms ease;
}

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

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
}

.header-inner,
.container,
.narrow,
.footer-inner {
  width: var(--page-width);
  margin-inline: auto;
}

.brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 850;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand:hover {
  color: var(--ink);
}

.brand-mark {
  position: relative;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--blue);
  box-shadow: 0 6px 18px rgba(0, 31, 63, 0.14);
  font-size: 0.94rem;
  font-weight: 900;
}

.brand-mark::after {
  position: absolute;
  right: 4px;
  bottom: 4px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

.brand-note {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.nav-wrap {
  border-top: 1px solid var(--line);
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
}

.nav-list a {
  display: flex;
  min-height: 42px;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 720;
  text-decoration: none;
}

.nav-list a:hover,
.nav-list a[aria-current="page"] {
  color: var(--ink);
  background: var(--blue-soft);
}

.nav-list a[aria-current="page"]::after {
  display: none;
}

main {
  min-height: 62vh;
}

.narrow.prose > h2,
.narrow.prose > h3,
.narrow.prose > p,
.narrow.prose > ul,
.narrow.prose > ol,
.narrow.prose > blockquote {
  width: min(100%, var(--reading));
  margin-inline: 0;
}

.narrow.prose > .inline-note,
.narrow.prose > .fieldnote,
.narrow.prose > .decision-box,
.narrow.prose > .callout,
.narrow.prose > .actions,
.narrow.prose > .external-note,
.narrow.prose > .source-badges {
  width: 100%;
  margin-inline: 0;
}

.eyebrow,
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before,
.section-label::before {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--orange);
  content: "";
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
  text-wrap: balance;
}

h1 {
  max-width: 820px;
  font-size: clamp(2.35rem, 6vw, 4.9rem);
  font-weight: 880;
  letter-spacing: -0.05em;
}

.page-hero h1 {
  max-width: 900px;
  font-size: clamp(1.8rem, 3.6vw, 2.85rem);
}

h2 {
  font-size: clamp(1.42rem, 2.35vw, 2.05rem);
  font-weight: 830;
  letter-spacing: -0.045em;
}

h3 {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.hero-copy {
  max-width: 680px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 20px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 11px 18px;
  border: 1px solid var(--blue);
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(230, 0, 18, 0.18);
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.button:hover {
  background: var(--accent-strong);
  color: #fff;
  box-shadow: 0 12px 28px rgba(201, 0, 16, 0.24);
  transform: translateY(-1px);
}

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

.button-secondary:hover {
  background: var(--lime);
  color: var(--ink);
}

.button-text {
  border-color: transparent;
  background: transparent;
  color: var(--green);
  box-shadow: none;
}

.button-text:hover {
  background: var(--blue-soft);
  color: var(--blue);
  box-shadow: none;
}

.external-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.external-note::before {
  color: var(--orange);
  content: "↗";
  font-weight: 900;
}

.section {
  padding: 36px 0;
}

.section-tight {
  padding: 20px 0;
}

.section-wash {
  border-block: 1px solid var(--line);
  background: var(--surface);
}

.section-dark {
  background: var(--ink);
  color: #f8f7ef;
}

.section-dark p {
  color: #cbd5e1;
}

.section-dark .section-label {
  color: var(--lime);
}

.section-heading {
  display: grid;
  gap: 9px;
  margin-bottom: 16px;
}

.section-heading p {
  max-width: 690px;
  margin: 0;
  color: var(--muted);
}

.quick-answer {
  position: relative;
  margin-top: -2px;
  padding: 26px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--blue);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.quick-answer h2 {
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.quick-answer p {
  max-width: 860px;
  margin: 10px 0 0;
  font-size: 1.02rem;
  font-weight: 620;
}

.grid-2,
.grid-3,
.category-grid,
.link-grid,
.step-grid {
  display: grid;
  gap: 14px;
}

.card,
.note-card,
.comparison-card,
.link-card,
.faq-item,
.step-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.card,
.note-card,
.comparison-card,
.step-card {
  padding: 24px;
}

.card p,
.note-card p,
.comparison-card p,
.step-card p {
  margin: 10px 0 0;
  color: var(--muted);
}

.card ul,
.note-card ul,
.comparison-card ul {
  margin: 14px 0 0;
  padding-left: 20px;
}

.card li + li,
.note-card li + li,
.comparison-card li + li {
  margin-top: 7px;
}

.step-card {
  position: relative;
  padding-top: 66px;
}

.step-number {
  position: absolute;
  top: 18px;
  left: 22px;
  display: grid;
  width: 33px;
  height: 33px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--lime);
  font-size: 0.78rem;
  font-weight: 900;
}

.category-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  transition: border-color 140ms ease, transform 140ms ease, box-shadow 140ms ease;
}

.category-card:hover {
  border-color: var(--card-hover);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.category-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.category-code {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: var(--radius-sm);
  background: var(--blue-soft);
  color: var(--accent-strong);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.category-card h3 {
  font-size: 1.16rem;
}

.category-card p {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.category-check {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.category-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 18px;
  font-size: 0.84rem;
  font-weight: 820;
  text-decoration: none;
}

.category-link::after {
  content: "↗";
}

.callout {
  padding: 26px;
  border: 1px solid #f2c3c9;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

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

.search-panel {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--ink), #173654);
  box-shadow: var(--shadow);
}

.search-panel h2 {
  max-width: 680px;
}

.search-panel p {
  color: #d2dce8;
}

.search-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: none;
  margin-top: 18px;
}

.search-form label {
  font-size: 0.8rem;
  font-weight: 800;
}

.search-control {
  display: flex;
  gap: 9px;
  padding: 7px;
  border-radius: 999px;
  background: #fff;
}

.search-control input {
  min-width: 0;
  flex: 1;
  min-height: 47px;
  padding: 9px 13px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
}

.search-control input:focus {
  outline: 0;
}

.search-control button {
  min-height: 47px;
  padding: 10px 18px;
  border: 1px solid var(--blue);
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 850;
  cursor: pointer;
}

.search-control button:hover {
  background: var(--accent-strong);
}

.prose {
  color: var(--ink-soft);
}

.prose > * + * {
  margin-top: 16px;
}

.prose h2 {
  margin-top: 34px;
}

.prose h3 {
  margin-top: 22px;
}

.prose p,
.prose ul,
.prose ol {
  margin-bottom: 0;
}

.prose ul,
.prose ol {
  padding-left: 22px;
}

.prose li + li {
  margin-top: 8px;
}

.mini-label {
  display: inline-block;
  margin-bottom: 7px;
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

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

.checklist {
  display: grid;
  gap: 10px;
  margin: 18px 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  position: relative;
  padding: 15px 16px 15px 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.checklist li::before {
  position: absolute;
  top: 15px;
  left: 16px;
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  border: 1.5px solid var(--green);
  border-radius: 5px;
  color: var(--green);
  content: "✓";
  font-size: 0.74rem;
  font-weight: 900;
}

.score-grid {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.score-row {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.score-row strong {
  color: var(--green);
}

.metric-strip {
  display: grid;
  gap: 1px;
  overflow: hidden;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.metric {
  padding: 20px;
  background: var(--surface);
}

.metric strong,
.metric span {
  display: block;
}

.metric strong {
  font-size: 1rem;
}

.metric span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.8rem;
}

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

.faq-item {
  padding: 22px 24px;
}

.faq-item h2,
.faq-item h3 {
  font-size: 1.08rem;
  letter-spacing: -0.02em;
}

.faq-item p {
  margin: 10px 0 0;
  color: var(--muted);
}

.breadcrumb {
  padding-top: 18px;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.78rem;
  list-style: none;
}

.breadcrumb li + li::before {
  margin-right: 7px;
  content: "/";
}

.page-hero {
  padding: 22px 0 24px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.page-hero .hero-copy {
  max-width: 760px;
}

.page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.78rem;
}

.page-meta span,
.page-meta a {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}

.page-meta a {
  color: var(--green);
  font-weight: 780;
  text-decoration: none;
}

.page-meta a:hover {
  border-color: var(--green);
  color: var(--ink);
}

.article-cover {
  margin-top: 18px;
  margin-bottom: 6px;
}

.article-cover img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.link-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 92px;
  padding: 18px 20px;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

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

.link-card span:first-child {
  font-weight: 800;
}

.link-card span:last-child {
  color: var(--green);
  font-weight: 900;
}

.inline-note {
  margin: 22px 0;
  padding: 18px 20px;
  border-left: 4px solid var(--orange);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--surface);
}

.inline-note p {
  margin: 0;
}

.source-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}

.source-badge {
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 760;
}

.site-footer {
  margin-top: 28px;
  border-top: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
}

.footer-inner {
  padding: 32px 0 20px;
}

.footer-top {
  display: grid;
  gap: 26px;
}

.footer-brand .brand {
  color: var(--ink);
}

.footer-brand p {
  max-width: 640px;
  margin: 17px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--card-hover);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 20px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.74rem;
}

.whatsapp-float {
  position: fixed;
  z-index: 2147483000;
  right: 18px;
  bottom: 18px;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(9, 46, 28, 0.3);
  transition: background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.whatsapp-float:hover {
  background: #20bd5a;
  color: #fff;
  box-shadow: 0 15px 34px rgba(9, 46, 28, 0.36);
  transform: translateY(-2px);
}

.whatsapp-float:focus-visible {
  outline-color: var(--ink);
}

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

.whatsapp-float-label {
  position: absolute;
  top: 50%;
  right: 68px;
  padding: 7px 12px;
  border-radius: 9px;
  background: #17231d;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 760;
  line-height: 1.5;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transform: translateY(-50%);
}

@media (min-width: 620px) {
  .search-form {
    flex-direction: column;
  }

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

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

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

@media (min-width: 900px) {
  .section {
    padding: 44px 0;
  }

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

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

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

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

  .footer-top {
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
    align-items: start;
  }
}

@media (max-width: 560px) {
  .brand-row {
    min-height: 66px;
  }

  .brand-note {
    display: none;
  }

  .nav-list {
    flex-wrap: nowrap;
    gap: 4px;
    padding: 6px 0;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--line-strong) transparent;
    -webkit-overflow-scrolling: touch;
  }

  .nav-list::-webkit-scrollbar {
    height: 4px;
  }

  .nav-list::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: var(--line-strong);
  }

  .nav-list a {
    min-height: 44px;
    padding-inline: 11px;
    font-size: 0.78rem;
    white-space: nowrap;
  }

  h1 {
    font-size: clamp(2.2rem, 13vw, 3.15rem);
  }

  .page-hero h1 {
    font-size: clamp(1.7rem, 8vw, 2.2rem);
  }

  .actions,
  .actions .button {
    width: 100%;
  }

  .quick-answer,
  .search-panel,
  .callout {
    padding: 21px;
  }

  .search-control {
    flex-direction: column;
    border-radius: 20px;
  }

  .search-control button {
    width: 100%;
  }

  .score-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }

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

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

  .footer-inner {
    padding-bottom: 82px;
  }
}

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

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

  body {
    background: #fff;
    color: #000;
  }

  .container,
  .narrow {
    width: 100%;
  }
}

/* Homepage search hero: inspired by a wide marketplace search entry, while
   keeping this site visibly independent and sending results to Findsindex. */
.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;
}

.search-hero {
  position: relative;
  isolation: isolate;
  min-height: 570px;
  overflow: hidden;
  background: var(--ink) url("hero-logistics.webp") center / cover no-repeat;
  color: #fff;
}

.search-hero-overlay {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 28, 52, 0.86) 0%, rgba(8, 28, 52, 0.58) 48%, rgba(8, 28, 52, 0.18) 100%),
    linear-gradient(0deg, rgba(7, 24, 47, 0.86) 0%, transparent 50%, rgba(7, 24, 47, 0.12) 100%);
}

.search-hero-inner {
  display: flex;
  min-height: 570px;
  flex-direction: column;
  justify-content: center;
  padding-block: 46px 22px;
}

.search-hero-copy {
  max-width: 850px;
}

.search-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 14px;
  color: #fff3a5;
  font-size: 0.77rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.search-hero-kicker::before {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff4a55;
  content: "";
  box-shadow: 0 0 0 5px rgba(255, 74, 85, 0.2);
}

.search-hero h1 {
  max-width: 850px;
  color: #fff;
  font-size: clamp(2.1rem, 3.6vw, 3.25rem);
  letter-spacing: -0.058em;
  text-shadow: 0 4px 22px rgba(0, 0, 0, 0.28);
}

.search-hero-copy > p:last-child {
  max-width: 720px;
  margin: 17px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.02rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.hero-product-search {
  display: flex;
  gap: 8px;
  width: 100%;
  margin-top: 22px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(2, 15, 31, 0.28);
}

.hero-product-search input {
  min-width: 0;
  flex: 1;
  min-height: 58px;
  padding: 10px 22px;
  border: 0;
  background: transparent;
  color: #1a2630;
  font: inherit;
  font-size: 1rem;
}

.hero-product-search input::placeholder {
  color: #99a2ad;
}

.hero-product-search input:focus {
  outline: 0;
}

.hero-product-search:focus-within {
  outline: 4px solid rgba(255, 255, 255, 0.38);
  outline-offset: 4px;
}

.hero-product-search button {
  display: inline-flex;
  min-width: 176px;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 25px;
  border: 0;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font: inherit;
  font-size: 1.06rem;
  font-weight: 900;
  cursor: pointer;
  transition: background 140ms ease, transform 140ms ease;
}

.hero-product-search button:hover {
  background: var(--accent-strong);
  transform: translateY(-1px);
}

.hero-search-icon {
  position: relative;
  display: inline-block;
  width: 19px;
  height: 19px;
  border: 3px solid currentColor;
  border-radius: 50%;
}

.hero-search-icon::after {
  position: absolute;
  right: -7px;
  bottom: -5px;
  width: 9px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
  content: "";
  transform: rotate(47deg);
  transform-origin: left center;
}

.hero-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  margin-top: 13px;
}

.hero-shortcuts > span,
.hero-shortcuts a {
  display: inline-flex;
  min-height: 39px;
  align-items: center;
  justify-content: center;
  padding: 7px 16px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 780;
  line-height: 1.1;
  text-decoration: none;
  backdrop-filter: blur(10px);
}

.hero-shortcuts > span {
  border-color: #fff05f;
  background: rgba(10, 26, 47, 0.88);
  color: #fff05f;
}

.hero-shortcuts a {
  min-width: 112px;
  background: rgba(37, 51, 68, 0.6);
}

.hero-shortcuts a:hover {
  border-color: #fff;
  background: #fff;
  color: #17211b;
}

.hero-search-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  width: 100%;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.73rem;
}

.hero-search-meta p {
  max-width: 560px;
  margin: 0;
}

.hero-search-meta div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 17px;
}

.hero-search-meta a {
  color: #fff;
  font-weight: 760;
}

.hero-steps {
  display: grid;
  gap: 0;
  width: 100%;
  margin-top: auto;
  padding-top: 20px;
}

.hero-steps article {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  padding: 14px 18px 8px 0;
  border-top: 1px dashed rgba(255, 255, 255, 0.5);
}

.hero-steps article > span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 900;
}

.hero-steps h2 {
  color: #fff;
  font-size: 0.98rem;
  letter-spacing: -0.02em;
}

.hero-steps p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.75rem;
  line-height: 1.45;
}

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

  .hero-steps article + article {
    padding-left: 26px;
  }
}

@media (max-width: 560px) {
  .search-hero,
  .search-hero-inner {
    min-height: 700px;
  }

  .search-hero {
    background-position: 60% center;
  }

  .search-hero-inner {
    justify-content: flex-start;
    padding-block: 34px 18px;
  }

  .search-hero h1 {
    font-size: clamp(1.85rem, 8.5vw, 2.3rem);
  }

  .search-hero-copy > p:last-child {
    font-size: 0.92rem;
  }

  .hero-product-search {
    flex-direction: column;
    padding: 7px;
    border-radius: 24px;
  }

  .hero-product-search input {
    min-height: 52px;
    padding-inline: 16px;
  }

  .hero-product-search button {
    width: 100%;
    min-height: 52px;
  }

  .hero-shortcuts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-shortcuts > span {
    grid-column: 1 / -1;
  }

  .hero-shortcuts a {
    min-width: 0;
  }

  .hero-search-meta div {
    gap: 6px 13px;
  }

  .hero-steps {
    padding-top: 18px;
  }

  .hero-steps article {
    padding-block: 11px 7px;
  }
}

@media print {
  .search-hero {
    min-height: auto;
    background: #fff;
    color: #000;
  }

  .search-hero-overlay,
  .hero-product-search,
  .hero-shortcuts,
  .hero-steps {
    display: none;
  }
}

/* Compact product directory: OOTD-inspired card rhythm in the bbbbuy palette. */
.directory-section {
  position: relative;
  overflow: hidden;
  padding-block: 44px;
  border-block: 1px solid var(--line);
  background: var(--surface);
}

.directory-section::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(82%, 920px);
  height: 4px;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(90deg, transparent, var(--blue) 24%, var(--blue) 76%, transparent);
  content: "";
  transform: translateX(-50%);
}

.directory-heading {
  max-width: 760px;
  margin: 0 auto 24px;
  text-align: center;
}

.directory-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.directory-eyebrow::before {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--blue);
  content: "";
}

.directory-heading h2 {
  color: var(--ink);
  font-size: clamp(1.62rem, 2.85vw, 2.25rem);
  letter-spacing: -0.05em;
}

.directory-heading > p:last-child {
  max-width: 680px;
  margin: 10px auto 0;
  color: var(--muted);
  font-size: 0.98rem;
}

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

.directory-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 166px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 19px 12px 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  text-align: center;
  text-decoration: none;
  box-shadow: var(--shadow-soft);
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, color 160ms ease, transform 160ms ease;
}

.directory-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--blue);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.directory-card:hover {
  border-color: var(--card-hover);
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.directory-card:hover::before {
  transform: scaleX(1);
}

.directory-icon-box {
  display: grid;
  width: 66px;
  height: 66px;
  place-items: center;
  border: 1px solid #f2c3c9;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 5px rgba(255, 255, 255, 0.42);
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.directory-icon-box img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  transition: filter 160ms ease;
}

.directory-card:hover .directory-icon-box {
  border-color: var(--blue);
  background: var(--blue);
  transform: scale(1.04);
}

.directory-card:hover .directory-icon-box img {
  filter: brightness(0) invert(1);
}

.directory-card-name {
  margin-top: 14px;
  font-size: 1rem;
  font-weight: 880;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.directory-card-hint {
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 760;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 160ms ease;
}

.directory-card:hover .directory-card-hint {
  color: var(--blue);
}

.directory-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.79rem;
}

.directory-footer p {
  margin: 0;
}

.directory-footer a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--blue);
  font-weight: 880;
  text-decoration: none;
}

.directory-footer a:hover {
  color: var(--ink);
}

@media (min-width: 680px) {
  .directory-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  .directory-card {
    min-height: 188px;
    border-radius: var(--radius);
  }
}

@media (min-width: 980px) {
  .directory-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px;
  }

  .directory-card {
    min-height: 202px;
  }

  .directory-icon-box {
    width: 72px;
    height: 72px;
  }

  .directory-icon-box img {
    width: 46px;
    height: 46px;
  }

  .directory-card-name {
    font-size: 1.08rem;
  }
}

@media (max-width: 420px) {
  .directory-section {
    padding-block: 36px;
  }

  .directory-heading {
    margin-bottom: 16px;
  }

  .directory-heading h2 {
    font-size: 1.8rem;
  }

  .directory-heading > p:last-child {
    font-size: 0.88rem;
  }

  .directory-card {
    min-height: 154px;
    padding-inline: 8px;
    border-radius: var(--radius);
  }

  .directory-icon-box {
    width: 58px;
    height: 58px;
    border-radius: var(--radius-sm);
  }

  .directory-icon-box img {
    width: 37px;
    height: 37px;
  }

  .directory-card-name {
    margin-top: 11px;
    font-size: 0.93rem;
  }

  .directory-card-hint {
    font-size: 0.61rem;
  }
}

@media print {
  .directory-section {
    background: #fff;
  }

  .directory-card {
    min-height: auto;
    box-shadow: none;
  }
}

/* Article library: task-first reading paths and long-form fieldnotes. */
.article-hub-hero,
.article-page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.article-hub-hero > .container,
.article-page-hero > .container {
  position: relative;
  z-index: 1;
}

.article-hub-hero::after,
.article-page-hero::after {
  position: absolute;
  z-index: 0;
  top: 18px;
  right: max(16px, calc((100vw - var(--max)) / 2));
  width: clamp(150px, 22vw, 290px);
  aspect-ratio: 1;
  border: 1px solid rgba(13, 39, 71, 0.15);
  border-radius: 42% 58% 56% 44%;
  background: radial-gradient(circle at 35% 35%, #fff 0 14%, #ffe3e7 15% 42%, #eb1733 43% 46%, transparent 47%);
  content: "";
  opacity: 0.72;
  transform: rotate(12deg);
}

.article-hub-hero .hero-copy,
.article-page-hero .hero-copy {
  position: relative;
  z-index: 1;
  max-width: 750px;
}

.article-hub-grid {
  display: grid;
  gap: 14px;
}

.article-preview {
  display: flex;
  min-height: 330px;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.article-preview:hover {
  border-color: var(--card-hover);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.article-preview-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.article-number {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid #f2c3c9;
  border-radius: var(--radius-sm);
  background: var(--lime);
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 900;
}

.article-topic {
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.article-preview h2 {
  margin-top: 20px;
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
}

.article-preview h2 a {
  color: var(--ink);
  text-decoration: none;
}

.article-preview h2 a:hover {
  color: var(--blue);
}

.article-preview > p {
  margin: 12px 0 0;
  color: var(--muted);
}

.article-start {
  display: grid;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
}

.article-start > span {
  padding-top: 15px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
}

.article-start a {
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 850;
  text-decoration: none;
}

.reader-path {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.reader-path li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 15px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.reader-path li > span {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 900;
}

.reader-path p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.article-hub-hero + .section-tight,
.article-page-hero + .section-tight {
  padding-top: 8px;
}

.article-layout {
  display: grid;
  gap: 26px;
  align-items: start;
}

.article-toc {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.article-toc > p {
  margin: 0 0 13px;
  color: var(--ink);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.article-toc nav {
  display: grid;
  gap: 2px;
}

.article-toc nav a {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
}

.article-toc nav a:hover {
  color: var(--blue);
}

.toc-back {
  display: inline-block;
  margin-top: 16px;
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 850;
  text-decoration: none;
}

.article-body {
  min-width: 0;
  max-width: none;
  color: var(--ink-soft);
}

.article-body > h2 {
  scroll-margin-top: 22px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.article-body > h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.article-body h2 {
  font-size: clamp(1.42rem, 2.2vw, 1.9rem);
}

.article-body h3 {
  font-size: 1.04rem;
}

.article-body .fieldnote,
.article-body .decision-box {
  margin-block: 20px;
}

.fieldnote {
  padding: 22px;
  border: 1px solid #f2c3c9;
  border-radius: var(--radius-sm);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.fieldnote > strong {
  display: block;
  color: var(--ink);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fieldnote p,
.fieldnote ul {
  margin: 10px 0 0;
}

.audit-steps {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  counter-reset: audit;
  list-style: none;
}

.audit-steps li {
  position: relative;
  min-height: 92px;
  padding: 20px 20px 20px 70px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  counter-increment: audit;
}

.audit-steps li::before {
  position: absolute;
  top: 19px;
  left: 19px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 11px;
  background: var(--green);
  color: #fff;
  content: counter(audit, decimal-leading-zero);
  font-size: 0.68rem;
  font-weight: 900;
}

.audit-steps strong {
  color: var(--ink);
}

.audit-steps p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.evidence-grid,
.category-evidence-grid,
.measurement-grid,
.source-guide-grid {
  display: grid;
  gap: 12px;
  margin-block: 18px;
}

.evidence-grid section,
.category-evidence-grid section,
.measurement-grid section,
.source-guide-grid section {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.evidence-grid section > span,
.measurement-grid section > span,
.source-guide-grid section > span {
  display: inline-block;
  margin-bottom: 9px;
  color: var(--blue);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.evidence-grid h3,
.category-evidence-grid h3,
.measurement-grid h3 {
  margin: 0;
}

.evidence-grid p,
.category-evidence-grid p,
.measurement-grid p,
.source-guide-grid p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.category-evidence-grid section,
.source-guide-grid section {
  border-top: 4px solid var(--green);
}

.category-evidence-grid .missing-question {
  margin-top: 15px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-weight: 700;
}

.source-guide-grid section > span {
  padding: 5px 9px;
  border: 1px solid #f2c3c9;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--accent-strong);
}

.decision-box {
  padding: 22px;
  border: 1px solid var(--line-strong);
  border-left: 5px solid var(--green);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--surface);
}

.decision-box p {
  margin: 0;
}

.decision-box p + p {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line-strong);
}

.comparison-record {
  display: grid;
  gap: 1px;
  overflow: hidden;
  margin-block: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--line);
}

.comparison-record > div {
  display: grid;
  grid-template-columns: 0.8fr 0.9fr 0.9fr 1.8fr;
  gap: 12px;
  padding: 14px 16px;
  background: var(--surface);
  font-size: 0.82rem;
}

.comparison-record .comparison-record-head {
  background: var(--green);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.article-reading-section + .section-wash {
  margin-top: 0;
}

.article-hub-grid + .external-note {
  margin-top: 14px;
}

.article-hub-hero ~ .section .comparison-card h2 {
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
}

@media (min-width: 700px) {
  .article-hub-grid,
  .evidence-grid,
  .category-evidence-grid,
  .measurement-grid,
  .source-guide-grid,
  .reader-path {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-hub-grid > .article-preview:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    min-height: 280px;
  }

  .narrow.faq-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }
}

@media (min-width: 940px) {
  .article-layout {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: clamp(28px, 3vw, 42px);
  }

  .article-toc {
    position: sticky;
    top: 22px;
  }
}

@media (max-width: 699px) {
  .article-hub-hero::after,
  .article-page-hero::after {
    right: -62px;
    opacity: 0.35;
  }

  .article-preview {
    min-height: 0;
    padding: 22px;
  }

  .comparison-record > div {
    grid-template-columns: 1fr 1fr;
  }

  .comparison-record > div span:last-child {
    grid-column: 1 / -1;
  }

  .comparison-record .comparison-record-head {
    display: none;
  }

  .audit-steps li {
    padding: 66px 18px 18px;
  }

  .audit-steps li::before {
    top: 17px;
    left: 18px;
  }
}

@media print {
  .article-toc,
  .article-hub-hero::after,
  .article-page-hero::after {
    display: none;
  }

  .article-layout {
    display: block;
  }

  .article-body {
    max-width: none;
  }
}
