/* ==========================================================================
   Big Big Game Fishing Co. — core stylesheet
   Hand-authored, zero dependencies. Pure HTML + CSS.
   ========================================================================== */

/* ----- Design tokens ----------------------------------------------------- */
:root {
  /* Deep water navy (matches asset pages) */
  --deep-950: #081019;
  --deep-900: #0c2a42;
  --deep-800: #123a5a;
  --deep-700: #164668;
  --deep-600: #1c5a80;
  --deep-500: #2b7ba0;
  --deep-300: #7fb2cc;
  --deep-100: #d3e6f0;

  /* Teal accent (matches asset pages) */
  --rust-600: #0f8f80;
  --rust-500: #14a894;
  --rust-400: #2dbeac;
  --rust-300: #6fd6c8;

  /* Cool light backgrounds */
  --sand-50: #ffffff;
  --sand-100: #f6f8f9;
  --sand-200: #eef3f4;
  --sand-300: #dde5e9;

  --white: #ffffff;
  --ink: var(--deep-900);
  --muted: #5a6b78;

  --font-display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua",
    Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;

  --shadow-sm: 0 1px 2px rgba(12, 42, 66, 0.06);
  --shadow-md: 0 6px 20px rgba(12, 42, 66, 0.12);
  --shadow-lg: 0 18px 40px rgba(12, 42, 66, 0.18);

  --wrap: 1200px;
  --radius: 3px;
}

/* ----- Reset ------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--sand-100);
  line-height: 1.6;
  font-size: 17px;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: var(--rust-600);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  color: var(--deep-900);
  margin: 0 0 0.5em;
  font-weight: 700;
}
p {
  margin: 0 0 1em;
}
ul {
  margin: 0;
  padding: 0;
}

/* ----- Layout helpers ---------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 20px;
}
.wrap--narrow {
  max-width: 820px;
}
.section {
  padding-block: 64px;
}
.section--tight {
  padding-block: 40px;
}
.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rust-500);
  margin-bottom: 12px;
}
.section-heading {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 8px;
}
.section-lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 620px;
}
.text-center {
  text-align: center;
}
.text-center .section-lead {
  margin-inline: auto;
}

/* ----- Buttons ----------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 13px 26px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
  text-decoration: none;
}
.btn:hover {
  text-decoration: none;
}
.btn-primary {
  background: var(--rust-500);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--rust-600);
  color: var(--white);
}
.btn-secondary {
  border-color: var(--deep-900);
  color: var(--deep-900);
  background: transparent;
}
.btn-secondary:hover {
  background: var(--deep-900);
  color: var(--sand-100);
}
.btn-ghost {
  color: var(--sand-100);
  border-color: rgba(232, 238, 241, 0.5);
}
.btn-ghost:hover {
  background: rgba(232, 238, 241, 0.12);
  color: var(--white);
}

/* ----- Site header ------------------------------------------------------- */
.site-header {
  background: var(--deep-900);
  color: var(--sand-100);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(232, 238, 241, 0.08);
}
.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--sand-100);
  text-decoration: none;
  flex-shrink: 0;
}
.brand:hover {
  text-decoration: none;
}
.brand img {
  width: 44px;
  height: 44px;
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  font-size: 1.02rem;
  letter-spacing: 0.01em;
}
.brand-name small {
  display: block;
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rust-400);
  font-weight: 700;
}
.primary-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
.primary-nav a {
  color: var(--sand-100);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: var(--radius);
  transition: background 0.15s ease, color 0.15s ease;
}
.primary-nav a:hover {
  background: rgba(232, 238, 241, 0.1);
  color: var(--white);
  text-decoration: none;
}
.primary-nav a.is-cta {
  background: var(--rust-500);
  color: var(--white);
}
.primary-nav a.is-cta:hover {
  background: var(--rust-600);
}
.primary-nav a.is-active {
  color: var(--rust-400);
  box-shadow: inset 0 -2px 0 var(--rust-400);
}

/* CSS-only mobile menu (checkbox hack, no JS) */
.nav-toggle {
  display: none;
}
.nav-toggle-label {
  display: none;
  cursor: pointer;
  padding: 8px;
  color: var(--sand-100);
}
.nav-toggle-label svg {
  width: 28px;
  height: 28px;
}

@media (max-width: 900px) {
  .nav-toggle-label {
    display: inline-flex;
  }
  .primary-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--deep-800);
    padding: 8px;
    border-bottom: 3px solid var(--rust-500);
    box-shadow: var(--shadow-md);
  }
  .primary-nav a {
    padding: 12px 14px;
    border-radius: 0;
    border-bottom: 1px solid rgba(232, 238, 241, 0.06);
  }
  .nav-toggle:checked ~ .primary-nav {
    display: flex;
  }
}

/* ----- Hero -------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--deep-950);
  color: var(--sand-100);
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(12, 42, 66, 0.92) 0%,
    rgba(12, 42, 66, 0.7) 45%,
    rgba(12, 42, 66, 0.35) 100%
  );
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding-block: clamp(64px, 12vw, 130px);
  max-width: 720px;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(2.3rem, 5.5vw, 4rem);
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}
.hero p {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: var(--sand-200);
  margin-bottom: 28px;
  max-width: 560px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Compact pillar hero */
.hero--pillar .hero-inner {
  padding-block: clamp(48px, 8vw, 88px);
}
.breadcrumb {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--sand-300);
  margin-bottom: 14px;
}
.breadcrumb a {
  color: var(--sand-200);
}
.breadcrumb span {
  opacity: 0.6;
  padding-inline: 6px;
}

/* ----- Cards / grids ----------------------------------------------------- */
.grid {
  display: grid;
  gap: 24px;
}
.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 980px) {
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 620px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid rgba(18, 58, 90, 0.1);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.card-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--deep-800);
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.card:hover .card-media img {
  transform: scale(1.04);
}
.card-body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rust-500);
  margin-bottom: 8px;
}
.card h3 {
  font-size: 1.28rem;
  margin-bottom: 8px;
}
.card h3 a {
  color: var(--deep-900);
}
.card h3 a:hover {
  color: var(--rust-600);
  text-decoration: none;
}
.card p {
  color: var(--muted);
  font-size: 0.96rem;
  margin-bottom: 16px;
}
.card-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.card-link {
  color: var(--rust-600);
  font-weight: 700;
}

/* Pillar tile (image with overlaid title) */
.pillar-tile {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.pillar-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.pillar-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(12, 42, 66, 0.05) 30%,
    rgba(12, 42, 66, 0.85) 100%
  );
}
.pillar-tile:hover img {
  transform: scale(1.05);
}
.pillar-tile-body {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: 2;
  padding: 20px;
}
.pillar-tile-body h3 {
  color: var(--white);
  font-size: 1.2rem;
  margin: 0 0 2px;
}
.pillar-tile-body span {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sand-300);
  font-weight: 600;
}
.pillar-tile:hover {
  text-decoration: none;
}

/* ----- Cluster list (pillar pages) --------------------------------------- */
.cluster-list {
  list-style: none;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 720px) {
  .cluster-list {
    grid-template-columns: 1fr;
  }
}
.cluster-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: var(--white);
  border: 1px solid rgba(18, 58, 90, 0.1);
  border-left: 3px solid var(--rust-500);
  border-radius: var(--radius);
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.cluster-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.cluster-item h3 {
  font-size: 1.12rem;
  margin: 0 0 4px;
  text-transform: capitalize;
}
.cluster-item h3 a {
  color: var(--deep-900);
}
.cluster-item h3 a:hover {
  color: var(--rust-600);
  text-decoration: none;
}
.cluster-item p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}
.cluster-count {
  flex-shrink: 0;
  margin-left: auto;
  font-size: 12px;
  font-weight: 700;
  color: var(--deep-500);
  background: var(--sand-100);
  padding: 4px 10px;
  border-radius: 999px;
}

/* Featured linkable-asset callout */
.featured-asset {
  display: block;
  background: var(--deep-900);
  color: var(--sand-100);
  border-radius: var(--radius);
  border-left: 4px solid var(--rust-500);
  padding: 24px 26px;
  margin-bottom: 24px;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.featured-asset:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
}
.featured-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rust-400);
  margin-bottom: 8px;
}
.featured-asset h3 {
  color: var(--white);
  font-size: 1.35rem;
  margin: 0 0 8px;
}
.featured-asset p {
  color: var(--sand-200);
  font-size: 0.96rem;
  margin: 0 0 12px;
}
.featured-link {
  font-weight: 700;
  color: var(--rust-400);
  font-size: 0.9rem;
  letter-spacing: 0.03em;
}

/* Coming-soon cluster item (soft launch, no link yet) */
.cluster-item--soon {
  border-left-color: var(--sand-300);
  background: var(--sand-50);
  opacity: 0.92;
}
.cluster-item--soon:hover {
  transform: none;
  box-shadow: var(--shadow-sm);
}
.cluster-item--soon h3 {
  color: var(--deep-700);
  cursor: default;
}
.cluster-soon {
  flex-shrink: 0;
  margin-left: auto;
  align-self: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rust-600);
  background: var(--sand-200);
  padding: 4px 10px;
  border-radius: 999px;
}

/* Coming-soon blog card */
.card--soon {
  cursor: default;
}
.card--soon:hover {
  transform: none;
  box-shadow: var(--shadow-sm);
}
.card--soon .card-media {
  position: relative;
}
.card--soon .card-media img {
  filter: grayscale(0.25) brightness(0.92);
}
.card-soon-flag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--rust-500);
  padding: 5px 10px;
  border-radius: 999px;
}
.card--soon h3 {
  color: var(--deep-700);
}
.card--soon .card-link {
  color: var(--muted);
}

/* Simple content-page header (legal / about / contact / 404) */
.page-head {
  background: var(--deep-900);
  color: var(--sand-100);
  padding-block: 48px 40px;
}
.page-head h1 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 2.8rem);
}

/* Contact form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 520px;
  margin-top: 8px;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--deep-700);
}
.contact-form input,
.contact-form textarea {
  padding: 12px 14px;
  border: 1px solid rgba(18, 58, 90, 0.2);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 1rem;
  background: var(--white);
  color: var(--ink);
}
.contact-form button {
  align-self: flex-start;
}

/* ----- Prose (article body) ---------------------------------------------- */
.prose {
  font-size: 1.08rem;
  color: #16222b;
}
.prose h2 {
  font-size: 1.7rem;
  margin-top: 1.6em;
}
.prose h3 {
  font-size: 1.3rem;
  margin-top: 1.4em;
}
.prose ul,
.prose ol {
  padding-left: 1.4em;
  margin-bottom: 1.2em;
}
.prose li {
  margin-bottom: 0.4em;
}

/* ----- Product roundup card (affiliate) ---------------------------------- */
.product-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  background: var(--white);
  border: 1px solid rgba(18, 58, 90, 0.12);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  position: relative;
}
@media (max-width: 640px) {
  .product-card {
    grid-template-columns: 1fr;
  }
}
.product-rank {
  position: absolute;
  top: -12px;
  left: -12px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--rust-500);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  border-radius: 50%;
  box-shadow: var(--shadow-md);
}
.product-media {
  aspect-ratio: 1;
  background: var(--sand-50);
  border: 1px solid rgba(18, 58, 90, 0.08);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.product-media img {
  object-fit: contain;
  padding: 12px;
}
.product-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--deep-700);
  background: var(--sand-200);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.product-body h3 {
  font-size: 1.35rem;
  margin-bottom: 8px;
}
.product-rating {
  color: var(--rust-500);
  letter-spacing: 2px;
  font-size: 0.95rem;
  margin-bottom: 10px;
}
.product-rating span {
  color: var(--muted);
  letter-spacing: 0;
  font-size: 0.82rem;
  margin-left: 6px;
}
.product-specs {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 0.86rem;
  color: var(--muted);
}
.product-specs li::before {
  content: "✓";
  color: var(--deep-500);
  font-weight: 700;
  margin-right: 6px;
}

/* ----- Ad slots ---------------------------------------------------------- */
.ad-wrap {
  width: 100%;
  margin-block: 8px;
}
.ad-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 90px;
  border: 1px dashed rgba(18, 58, 90, 0.22);
  background: rgba(18, 58, 90, 0.03);
  color: rgba(18, 58, 90, 0.4);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border-radius: var(--radius);
}
.ad-slot--leaderboard {
  min-height: 90px;
}
.ad-slot--rectangle {
  min-height: 250px;
  max-width: 336px;
  margin-inline: auto;
}
.ad-label {
  display: block;
  text-align: center;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(18, 58, 90, 0.35);
  margin-bottom: 6px;
}

/* ----- Sidebar layout ---------------------------------------------------- */
.with-sidebar {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}
@media (max-width: 940px) {
  .with-sidebar {
    grid-template-columns: 1fr;
  }
}
.sidebar {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.sidebar-box {
  background: var(--white);
  border: 1px solid rgba(18, 58, 90, 0.1);
  border-radius: var(--radius);
  padding: 22px;
}
.sidebar-box h4 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--deep-700);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--sand-200);
}
.sidebar-links {
  list-style: none;
}
.sidebar-links li {
  border-bottom: 1px solid rgba(18, 58, 90, 0.06);
}
.sidebar-links li:last-child {
  border-bottom: none;
}
.sidebar-links a {
  display: block;
  padding: 9px 0;
  color: var(--deep-800);
  font-size: 0.94rem;
  font-weight: 500;
  text-transform: capitalize;
}
.sidebar-links a:hover {
  color: var(--rust-600);
  text-decoration: none;
}

/* ----- Newsletter band --------------------------------------------------- */
.band {
  background: var(--deep-900);
  color: var(--sand-100);
}
.band .section-heading {
  color: var(--white);
}
.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin-top: 20px;
}
.newsletter-form input {
  flex: 1;
  padding: 13px 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(232, 238, 241, 0.25);
  background: rgba(232, 238, 241, 0.08);
  color: var(--white);
  font-size: 15px;
}
.newsletter-form input::placeholder {
  color: rgba(232, 238, 241, 0.55);
}
@media (max-width: 520px) {
  .newsletter-form {
    flex-direction: column;
  }
}

/* ----- Footer ------------------------------------------------------------ */
.site-footer {
  background: var(--deep-950);
  color: var(--sand-200);
  padding-block: 56px 28px;
  font-size: 0.92rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}
@media (max-width: 860px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}
@media (max-width: 520px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
}
.footer-brand img {
  width: 52px;
  height: 52px;
  margin-bottom: 14px;
}
.footer-brand p {
  color: var(--deep-300);
  max-width: 320px;
}
.footer-col h5 {
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rust-400);
  margin: 0 0 14px;
}
.footer-col ul {
  list-style: none;
}
.footer-col li {
  margin-bottom: 8px;
}
.footer-col a {
  color: var(--sand-200);
  text-transform: capitalize;
}
.footer-col a:hover {
  color: var(--white);
}
.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(232, 238, 241, 0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  color: var(--deep-300);
  font-size: 0.82rem;
}
.footer-bottom a {
  color: var(--deep-300);
}

/* Affiliate disclosure */
.affiliate-note {
  background: var(--sand-200);
  border-left: 3px solid var(--rust-500);
  padding: 14px 18px;
  font-size: 0.86rem;
  color: var(--deep-800);
  border-radius: var(--radius);
  margin-bottom: 28px;
}

/* ----- Utilities --------------------------------------------------------- */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.stack > * + * { margin-top: 16px; }
.divider {
  height: 1px;
  background: rgba(18, 58, 90, 0.1);
  border: 0;
  margin-block: 48px;
}

/* ----- Theme toggle button ---------------------------------------------- */
/* header layout: brand left, then nav + toggle grouped right */
.header-bar {
  justify-content: flex-start;
  gap: 12px;
}
.brand {
  margin-right: auto;
}
.primary-nav {
  order: 2;
}
.theme-toggle {
  order: 3;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(232, 238, 241, 0.25);
  border-radius: var(--radius);
  color: var(--sand-100);
  cursor: pointer;
  transition: background 0.15s ease;
}
.nav-toggle-label {
  order: 4;
}
.theme-toggle:hover {
  background: rgba(232, 238, 241, 0.12);
}
.theme-toggle svg {
  width: 18px;
  height: 18px;
}
.theme-toggle .ic-sun {
  display: none;
}
[data-theme="dark"] .theme-toggle .ic-moon {
  display: none;
}
[data-theme="dark"] .theme-toggle .ic-sun {
  display: inline;
}

/* ==========================================================================
   DARK THEME  (applied when <html data-theme="dark">, set by the head script)
   Header, footer, hero, band, page-head and featured blocks are already dark,
   so they inherit correctly and need no overrides.
   ========================================================================== */
[data-theme="dark"] {
  /* Light-background surface tokens flip dark; text usages get explicit overrides below */
  --sand-50: #141e27;
  --sand-200: #1a2731;
  --muted: #9dabb5;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 22px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 18px 40px rgba(0, 0, 0, 0.6);
}
/* Elements that sit on a permanently-dark surface need light text in dark mode
   (they use --sand-200 as light text, which the flip above would darken). */
[data-theme="dark"] .hero p,
[data-theme="dark"] .breadcrumb,
[data-theme="dark"] .breadcrumb a,
[data-theme="dark"] .band p,
[data-theme="dark"] .band .section-lead,
[data-theme="dark"] .newsletter p,
[data-theme="dark"] .featured-asset p,
[data-theme="dark"] .site-footer,
[data-theme="dark"] .site-footer p,
[data-theme="dark"] .footer-col a,
[data-theme="dark"] .footer-col li,
[data-theme="dark"] .footer-bottom,
[data-theme="dark"] .footer-bottom a {
  color: #c8d4da;
}
[data-theme="dark"] .footer-col a:hover,
[data-theme="dark"] .footer-bottom a:hover {
  color: #ffffff;
}
[data-theme="dark"] body {
  background: #0c141b;
  color: #e8eef1;
}
[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4 {
  color: #e8eef1;
}
[data-theme="dark"] .section-lead {
  color: #9dabb5;
}
[data-theme="dark"] .btn-secondary {
  border-color: #e8eef1;
  color: #e8eef1;
}
[data-theme="dark"] .btn-secondary:hover {
  background: #e8eef1;
  color: #0c141b;
}
/* Cards / cluster items / sidebar / product surfaces */
[data-theme="dark"] .card,
[data-theme="dark"] .cluster-item,
[data-theme="dark"] .sidebar-box,
[data-theme="dark"] .product-card {
  background: #141e27;
  border-color: rgba(232, 238, 241, 0.1);
}
[data-theme="dark"] .card h3 a,
[data-theme="dark"] .cluster-item h3 a {
  color: #e8eef1;
}
[data-theme="dark"] .card p,
[data-theme="dark"] .card-foot,
[data-theme="dark"] .cluster-item p,
[data-theme="dark"] .product-specs,
[data-theme="dark"] .product-rating span {
  color: #9dabb5;
}
[data-theme="dark"] .cluster-count {
  background: #1a2731;
  color: var(--deep-300);
}
[data-theme="dark"] .cluster-item--soon {
  background: #141e27;
  border-left-color: #33434e;
}
[data-theme="dark"] .cluster-item--soon h3,
[data-theme="dark"] .card--soon h3 {
  color: #c3d0d6;
}
/* Sidebar */
[data-theme="dark"] .sidebar-box h4 {
  color: #c3d0d6;
  border-bottom-color: rgba(232, 238, 241, 0.14);
}
[data-theme="dark"] .sidebar-links a {
  color: #c3d0d6;
}
[data-theme="dark"] .sidebar-links li {
  border-bottom-color: rgba(232, 238, 241, 0.08);
}
/* Prose (legal + article bodies) */
[data-theme="dark"] .prose {
  color: #c3d0d6;
}
/* Forms */
[data-theme="dark"] .contact-form label {
  color: #c3d0d6;
}
[data-theme="dark"] .contact-form input,
[data-theme="dark"] .contact-form textarea {
  background: #141e27;
  border-color: rgba(232, 238, 241, 0.16);
  color: #e8eef1;
}
/* Product roundup misc */
[data-theme="dark"] .product-media {
  background: #0c141b;
  border-color: rgba(232, 238, 241, 0.08);
}
[data-theme="dark"] .product-badge {
  background: #1a2731;
  color: #c3d0d6;
}
/* Ad slots */
[data-theme="dark"] .ad-slot {
  border-color: rgba(232, 238, 241, 0.2);
  background: rgba(232, 238, 241, 0.04);
  color: rgba(232, 238, 241, 0.4);
}
[data-theme="dark"] .ad-label {
  color: rgba(232, 238, 241, 0.4);
}
/* Affiliate note + divider */
[data-theme="dark"] .affiliate-note {
  background: #1a2731;
  color: #c3d0d6;
}
[data-theme="dark"] .divider {
  background: rgba(232, 238, 241, 0.12);
}
