/* ==========================================================================
   PAGES/HOME.CSS
   Fluid, content-driven layout for Hero, Radial Orbit, Bento Grid, Blog & Audit.
   Breakpoints (all at bottom of file):
     PC      → default (≥1024px)
     Tablet  → max-width: 1023px
     Mobile  → max-width: 599px
     Small   → max-width: 400px
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. Shared fluid design tokens
   -------------------------------------------------------------------------- */
:root {
  --section-py: clamp(60px, 7vh + 20px, 110px);
  --section-px: clamp(18px, 4vw, 32px);
  --container-max: 1200px;
  --content-gap: clamp(36px, 5vw, 56px);
}

/* --------------------------------------------------------------------------
   1. Brand Logo Sizing & Dark/Light Mode Filter
   -------------------------------------------------------------------------- */
.navbar-brand {
  display: flex;
  align-items: center;
}

.brand-logo-img {
  width: clamp(140px, 2vw + 124px, 156px);
  height: auto;
  aspect-ratio: 3 / 1;
  object-fit: contain;
  filter: brightness(0);
  transition: filter var(--transition-fast);
}

[data-theme="dark"] .brand-logo-img {
  filter: brightness(0) invert(1);
}


/* ==========================================================================
   SECTION 1 — HERO (EDITORIAL REDESIGN — TOKEN-ALIGNED)
   Flat rules, Swiss corner ticks, hard offset shadows. No gradients/blur.
   Uses site tokens + --font-heading throughout.
   Breakpoints: default (≥1024) · 1023 · 599 · 400
   ========================================================================== */

.home-hero {
  margin-top: -88px;
  padding-top: clamp(80px, 6vw + 40px, 110px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  box-sizing: border-box;
  background-color: var(--color-bg-subtle);
  border-bottom: 1px solid var(--color-border-divider);
}

[data-theme="dark"] .home-hero {
  background-color: var(--color-bg-page);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

/* Kept for markup compat — flat, no decorative canvas. */
.hero-bg-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.home-hero-wrapper,
.hero-bottom-marquee {
  position: relative;
  z-index: 1;
}

.home-hero-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 0 var(--section-px);
}

.home-container {
  max-width: var(--container-max);
  width: 100%;
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  position: relative;
  margin: clamp(14.5px, 2.25vw, 44px) auto;
  gap: var(--content-gap);
  padding: clamp(28px, 3.5vw, 44px) 0;
  border-top: 1px solid var(--color-border-divider);
  border-bottom: 1px solid var(--color-border-divider);
}

[data-theme="dark"] .home-container {
  border-color: rgba(255, 255, 255, 0.12);
}

.home-content {
  max-width: 600px;
  flex: 1 1 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.home-image-box {
  max-width: 420px;
  flex: 1 1 420px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-width: 0;
}

/* --------------------------------------------------------------------------
   Column divider — hairline, not a faded gradient.
   -------------------------------------------------------------------------- */
.hero-column-divider {
  width: 1px;
  align-self: stretch;
  background-color: var(--color-border-divider);
  flex-shrink: 0;
}

[data-theme="dark"] .hero-column-divider {
  background-color: rgba(255, 255, 255, 0.12);
}

/* --------------------------------------------------------------------------
   Eyebrow — scoped to hero so global .caption-box (used by Orbit/FAQ)
   is untouched. Rule ABOVE the label, wide tracking, no side border.
   -------------------------------------------------------------------------- */
.home-hero .caption-box {
  border-left: none;
  border-top: 1.5px solid var(--color-black);
  padding-left: 0;
  padding-top: 8px;
  margin-bottom: 24px;
}

.home-hero .caption-box .text-caption-uppercase {
  font-family: var(--font-body);
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-main);
}

[data-theme="dark"] .home-hero .caption-box {
  border-top-color: var(--color-white);
}

[data-theme="dark"] .home-hero .caption-box .text-caption-uppercase {
  color: var(--color-white);
}

/* --------------------------------------------------------------------------
   Headline — uses the site heading font (CalSans). The accent word
   switches to the brand purple rather than italic, since CalSans has no
   italic cut and a serif-italic would break the type system.
   -------------------------------------------------------------------------- */
.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 1.1rem + 3.2vw, 3.4rem);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-black);
  margin: 0;
  text-wrap: balance;
}

[data-theme="dark"] .hero-headline {
  color: var(--color-white);
}

.hero-headline-accent {
  font-style: normal;
  font-weight: 700;
  color: var(--color-purple-accent);
}

[data-theme="dark"] .hero-headline-accent {
  color: var(--color-purple-primary);
}

/* --------------------------------------------------------------------------
   Lead paragraph
   -------------------------------------------------------------------------- */
.hero-lead {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  color: var(--color-text-muted);
  max-width: 440px;
  margin: 22px 0 0;
}

[data-theme="dark"] .hero-lead {
  border-left-color: rgba(255, 255, 255, 0.15);
}

/* --------------------------------------------------------------------------
   Search bar — flat, hairline border. Uses tokens for radius + border.
   -------------------------------------------------------------------------- */
.hero-search-form {
  display: flex;
  align-items: center;
  background-color: var(--color-white);
  border: 1.5px solid var(--color-black);
  border-radius: var(--radius-xs);
  padding: 4px 4px 4px 16px;
  margin-top: 32px;
  max-width: 420px;
  transition: background-color var(--transition-fast);
}

[data-theme="dark"] .hero-search-form {
  background-color: var(--color-bg-input);
  border-color: var(--color-white);
}

.hero-search-form:focus-within {
  background-color: var(--color-purple-light);
}

[data-theme="dark"] .hero-search-form:focus-within {
  background-color: var(--color-bg-alt);
}

.hero-search-input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-black);
}

[data-theme="dark"] .hero-search-input {
  color: var(--color-white);
}

.hero-search-input::placeholder {
  color: var(--color-text-subtle);
}

.hero-search-button {
  background-color: var(--color-black);
  color: var(--color-white);
  border: none;
  border-radius: 2px;
  padding: 10px 20px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background-color var(--transition-fast);
  flex-shrink: 0;
}

[data-theme="dark"] .hero-search-button {
  background-color: var(--color-white);
  color: var(--color-black);
}

.hero-search-button:hover {
  background-color: var(--color-purple-accent);
  color: var(--color-white);
}

/* --------------------------------------------------------------------------
   Trending row — editorial underlined links, not SaaS chips.
   -------------------------------------------------------------------------- */
.hero-trending-text {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  font-family: var(--font-body);
  font-size: 12.5px;
  color: var(--color-text-subtle);
  margin-top: 22px;
}

.hero-trending-text > .color-text-muted {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-subtle);
  margin-right: 2px;
  flex-basis: 100%;
}

.trending-pill {
  color: var(--color-text-main);
  background: none;
  border: none;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--color-border-divider);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  padding: 0;
  transition: color var(--transition-fast), text-decoration-color var(--transition-fast);
}

.trending-pill:hover {
  color: var(--color-purple-accent);
  text-decoration-color: var(--color-purple-accent);
}

[data-theme="dark"] .trending-pill {
  color: var(--color-white);
  text-decoration-color: rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .trending-pill:hover {
  color: var(--color-purple-primary);
  text-decoration-color: var(--color-purple-primary);
}

/* --------------------------------------------------------------------------
   Featured card — "tear sheet": flat panel, hairline border, hard offset
   shadow in the brand accent. Uses site radii (--radius-sm) — not 8px flat.
   -------------------------------------------------------------------------- */
.hero-swap-card {
  width: 100%;
  max-width: 400px;
  background-color: var(--color-white);
  border: 1.5px solid var(--color-black);
  border-radius: var(--radius-sm);
  padding: 22px 22px 18px;
  box-shadow: 7px 7px 0 var(--color-purple-accent);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.hero-swap-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 10px 10px 0 var(--color-purple-accent);
}

[data-theme="dark"] .hero-swap-card {
  background-color: var(--color-bg-alt);
  border-color: var(--color-white);
  box-shadow: 7px 7px 0 var(--color-purple-primary);
}

[data-theme="dark"] .hero-swap-card:hover {
  box-shadow: 10px 10px 0 var(--color-purple-primary);
}

.card-meta-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-badge-tag {
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-yellow-text);
  background-color: var(--color-yellow);
  border: 1px solid var(--color-black);
  border-radius: 3px;
  padding: 4px 10px;
}

.card-meta-right {
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--color-text-subtle);
}

.card-title {
  font-family: var(--font-heading);
  font-size: 26px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--color-black);
  margin: 14px 0 0;
}

[data-theme="dark"] .card-title {
  color: var(--color-white);
}

.card-description {
  font-family: var(--font-body);
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--color-text-muted);
  margin: 6px 0 0;
}

.card-image-slot {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-xs);
  overflow: hidden;
  background-color: var(--color-slot-bg);
  border: 1px solid var(--color-black);
  margin-top: 16px;
}

[data-theme="dark"] .card-image-slot {
  border-color: var(--color-white);
}

.card-image-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(0.15) contrast(1.05);
}

.card-action-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-border-subtle);
  min-width: 0;
}

.card-pill-group {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  gap: 6px;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 2px;
  mask-image: linear-gradient(to right, black 0%, black calc(100% - 20px), transparent 100%);
  -webkit-mask-image: linear-gradient(to right, black 0%, black calc(100% - 20px), transparent 100%);
}

.card-pill-group::-webkit-scrollbar { display: none; }

.card-pill {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--color-text-main);
  background: none;
  border: 1px solid var(--color-border-divider);
  border-radius: 3px;
  padding: 3px 8px;
  display: inline-block;
  flex-shrink: 0;
  white-space: nowrap;
  line-height: 1.4;
}

.card-explore-btn-filled {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  color: var(--color-white);
  background-color: var(--color-black);
  padding: 7px 14px;
  border-radius: 3px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: background-color var(--transition-fast);
  flex-shrink: 0;
}

.card-explore-btn-filled:hover {
  background-color: var(--color-purple-accent);
}

.card-explore-btn-filled:hover .explore-arrow {
  transform: translate(2px, -2px);
}

.explore-arrow { transition: transform var(--transition-fast); }

.card-nav-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
}

.card-counter-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-counter-label {
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--color-text-subtle);
  letter-spacing: 0.02em;
}

.card-arrow-btn {
  width: 28px;
  height: 28px;
  border-radius: 3px;
  border: 1px solid var(--color-black);
  background: var(--color-white);
  color: var(--color-black);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

[data-theme="dark"] .card-arrow-btn {
  background: var(--color-bg-pill);
  border-color: var(--color-white);
  color: var(--color-white);
}

.card-arrow-btn:hover {
  background-color: var(--color-black);
  color: var(--color-white);
}

[data-theme="dark"] .card-arrow-btn:hover {
  background: var(--color-white);
  color: var(--color-black);
}

.card-indicator-group {
  display: flex;
  gap: 6px;
  align-items: center;
}

.card-dash {
  width: 24px;
  height: 3px;
  background-color: var(--color-dash-bg);
  border-radius: 0;
  border: none;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-dash.is-active { width: 32px; }

.dash-progress {
  display: block;
  height: 100%;
  width: 0%;
  background-color: var(--color-black);
}

[data-theme="dark"] .dash-progress {
  background-color: var(--color-purple-primary);
}

.card-dash.is-active .dash-progress { width: 100%; }

/* --------------------------------------------------------------------------
   Bottom marquee
   -------------------------------------------------------------------------- */
.hero-bottom-marquee {
  max-width: var(--container-max);
  width: 100%;
  margin: clamp(48px, 5.5vw, 72px) auto 0;
  display: flex;
  align-items: center;
  padding: clamp(16px, 2vw, 24px) 0;
  box-sizing: border-box;
  border-top: 1px solid var(--color-border-divider);
  overflow: hidden;
}

[data-theme="dark"] .hero-bottom-marquee {
  border-top-color: rgba(255, 255, 255, 0.1);
}

.marquee-title-box { flex-shrink: 0; width: 300px; }

.marquee-heading {
  font-family: var(--font-body);
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-black);
  letter-spacing: -0.01em;
  margin: 0;
}

[data-theme="dark"] .marquee-heading { color: var(--color-white); }

.marquee-heading span {
  font-weight: 500;
  color: var(--color-text-muted);
}

.marquee-divider-vert {
  width: 1px;
  height: 32px;
  background-color: var(--color-border-divider);
  margin-left: 24px;
  margin-right: 32px;
  flex-shrink: 0;
}

.marquee-track-col {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.marquee-track-col .marquee {
  display: flex;
  align-items: center;
  animation: marquee-scroll 24s linear infinite;
  gap: 75px;
}

.marquee-track-col .marquee-logo {
  height: 32px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  filter: brightness(0);
  opacity: 0.82;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

[data-theme="dark"] .marquee-track-col .marquee-logo {
  filter: brightness(0) invert(1);
  opacity: 0.75;
}

.marquee-track-col .marquee-logo:hover {
  opacity: 1;
  transform: scale(1.04);
}


/* ==========================================================================
   SECTION 2 — RADIAL ORBIT (EDITORIAL LEFT · ORIGINAL RIGHT)
   Left column matches the hero editorial language.
   Right column (hub, rings, nodes) is UNCHANGED from the original.
   Breakpoints shared with hero: default · 1023 · 599 · 400
   ========================================================================== */

.radial-orbit-section {
  padding: clamp(120px, 13vw, 200px) var(--section-px);
  background-color: var(--color-dark-deep);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-sizing: border-box;
}

.orbit-shell {
  max-width: var(--container-max);
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--content-gap);
  box-sizing: border-box;
}

/* --------------------------------------------------------------------------
   Left column — editorial
   -------------------------------------------------------------------------- */

.orbit-content-col {
  flex: 0 0 44%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
  min-width: 0;
}

/* Eyebrow — rule above, wide tracking, no side border. */
.orbit-caption {
  border-left: none;
  border-top: var(--border-thin) solid var(--color-purple-primary);
  padding-left: 0;
  padding-top: 8px;
  margin-bottom: 24px;
}

.orbit-caption .text-caption-uppercase {
  font-family: var(--font-body);
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-purple-primary);
}

/* Headline */
.orbit-headline {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 1rem + 3.5vw, 2.75rem);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-white);
  margin: 0;
  text-wrap: balance;
}

.orbit-headline span {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
}

/* Category tabs */
.orbit-tabs-scroll-wrap {
  width: 100%;
  overflow: hidden;
  position: relative;
  margin-top: 22px;
  margin-bottom: 18px;
  mask-image: linear-gradient(to right, black 82%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, black 82%, transparent 100%);
}

.orbit-tabs-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 8px;
}

.orbit-tabs-track::-webkit-scrollbar { display: none; }

.orbit-tab-item {
  background: transparent;
  border: none;
  padding: 6px 0;
  font-family: var(--font-body);
  font-size: clamp(12.5px, 0.1vw + 12.3px, 13.5px);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  position: relative;
  transition: color var(--transition-fast);
  flex-shrink: 0;
  letter-spacing: 0.01em;
}

.orbit-tab-item:hover {
  color: rgba(255, 255, 255, 0.9);
}

.orbit-tab-item.is-active {
  color: var(--color-white);
  font-weight: 600;
}

.orbit-tab-item.is-active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: var(--border-thick);
  background-color: var(--color-purple-primary);
  border-radius: 0;
}

.orbit-description {
  font-family: var(--font-body);
  font-size: clamp(14px, 0.2vw + 12.6px, 15px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.68);
  margin: 4px 0 28px;
}

.orbit-cta-wrap {
  display: flex;
  align-items: center;
}

/* --------------------------------------------------------------------------
   Primary CTA — flat, sharp corners, hairline border. No shadow.
   Same discipline as .hero-search-button.
   -------------------------------------------------------------------------- */
.orbit-primary-btn {
  background-color: var(--color-white);
  color: var(--color-black);
  border: var(--border-thin) solid var(--color-white);
  border-radius: 2px;
  padding: 13px 24px;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition:
    background-color var(--transition-fast),
    border-color var(--transition-fast),
    color var(--transition-fast);
}

.orbit-primary-btn svg {
  transition: transform var(--transition-fast);
}

.orbit-primary-btn:hover {
  background-color: var(--color-purple-primary);
  border-color: var(--color-purple-primary);
  color: var(--color-black);
}

.orbit-primary-btn:hover svg {
  transform: translate(2px, -2px);
}

.orbit-primary-btn:focus-visible {
  outline: var(--border-thick) solid var(--color-purple-primary);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Right column — ORIGINAL DESIGN, untouched.
   -------------------------------------------------------------------------- */

.orbit-stage-col {
  --stage-size: min(500px, 50vh);
  flex: 0 0 var(--stage-size);
  width: var(--stage-size);
  height: var(--stage-size);
  max-width: var(--stage-size);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbit-center-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 104px;
  height: 104px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at 30% 30%, var(--color-hub-start), var(--color-hub-end));
  border: 1.5px solid rgba(169, 161, 232, 0.45);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  box-shadow: 0 0 35px rgba(104, 83, 255, 0.25), inset 0 2px 6px rgba(255, 255, 255, 0.1);
}

.hub-inner-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbit-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
}

.inner-ring {
  width: 59.26%;
  height: 59.26%;
  border: 1px dashed rgba(255, 255, 255, 0.14);
}

.outer-ring {
  width: 100%;
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.orbit-node-anchor {
  position: absolute;
  pointer-events: auto;
}

.pos-inner-n { top: 0;     left: 50%;   transform: translate(-50%, -50%); }
.pos-inner-e { top: 50%;   left: 100%;  transform: translate(-50%, -50%); }
.pos-inner-s { top: 100%;  left: 50%;   transform: translate(-50%, -50%); }
.pos-inner-w { top: 50%;   left: 0;     transform: translate(-50%, -50%); }

.pos-outer-n  { top: 0;     left: 50%;    transform: translate(-50%, -50%); }
.pos-outer-e  { top: 50%;   left: 100%;   transform: translate(-50%, -50%); }
.pos-outer-s  { top: 100%;  left: 50%;    transform: translate(-50%, -50%); }
.pos-outer-w  { top: 50%;   left: 0;      transform: translate(-50%, -50%); }
.pos-outer-ne { top: 14.64%; left: 85.36%; transform: translate(-50%, -50%); }
.pos-outer-se { top: 85.36%; left: 85.36%; transform: translate(-50%, -50%); }
.pos-outer-sw { top: 85.36%; left: 14.64%; transform: translate(-50%, -50%); }
.pos-outer-nw { top: 14.64%; left: 14.64%; transform: translate(-50%, -50%); }

.orbit-node {
  background-color: var(--color-node-bg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--color-white);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55), inset 0 1px 2px rgba(255, 255, 255, 0.1);
  transition:
    transform var(--transition-fast),
    border-color var(--transition-fast),
    box-shadow var(--transition-fast),
    background-color var(--transition-fast),
    opacity 0.2s ease;
}

.node-outer-lg { width: clamp(32px, 5.5vw, 76px); height: clamp(32px, 5.5vw, 76px); }
.node-outer-md { width: clamp(26px, 4vw, 56px);   height: clamp(26px, 4vw, 56px); }
.node-inner-md { width: clamp(24px, 3.5vw, 48px); height: clamp(24px, 3.5vw, 48px); }
.node-inner-sm { width: clamp(22px, 3vw, 40px);   height: clamp(22px, 3vw, 40px); }

.orbit-node > svg,
.orbit-node > img,
.orbit-node > picture {
  max-width: 60%;
  max-height: 60%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  pointer-events: none;
}

.orbit-node:hover {
  transform: scale(1.14);
  background-color: var(--color-node-hover);
  border-color: var(--color-purple-primary);
  box-shadow: 0 0 24px rgba(169, 161, 232, 0.55);
  z-index: 20;
}

.orbit-node.is-switching {
  opacity: 0;
  transform: scale(0.85);
}


/* ==========================================================================
   SECTION 3 — THE CASE FOR OPEN SOFTWARE (BENTO · EDITORIAL)
   Flat panels, hairline borders, sharp corners, hard offset on hover.
   ========================================================================== */

.content-01 {
  position: relative;
  padding: var(--section-py) var(--section-px);
  background-color: var(--color-bg-subtle);
  box-sizing: border-box;
}

[data-theme="dark"] .content-01 {
  background-color: var(--color-bg-page);
}

.content-01-container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  box-sizing: border-box;
}

.content-01-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
}

/* --------------------------------------------------------------------------
   Card — flat panel, hairline border, sharp corners.
   Hover swaps the soft translate for a hard offset purple shadow,
   matching the hero tear-sheet metaphor.
   -------------------------------------------------------------------------- */
.content-card {
  position: relative;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 1.5vw + 16px, 32px);
  box-sizing: border-box;
  background-color: var(--color-white);
  border: var(--border-hairline) solid var(--color-border-divider);
  border-radius: var(--radius-xs);
  transition:
    transform var(--transition-fast),
    border-color var(--transition-fast),
    box-shadow var(--transition-fast);
}

[data-theme="dark"] .content-card {
  background-color: var(--color-bg-alt);
  border-color: rgba(255, 255, 255, 0.12);
}

.content-card:hover {
  transform: translate(-3px, -3px);
  border-color: var(--color-purple-accent);
  box-shadow: 5px 5px 0 var(--color-purple-accent);
}

[data-theme="dark"] .content-card:hover {
  border-color: var(--color-purple-primary);
  box-shadow: 5px 5px 0 var(--color-purple-primary);
}

.content-card-large {
  grid-column: span 2;
}

.content-card-small {
  grid-column: span 1;
}

/* --------------------------------------------------------------------------
   Top row — number + category, divider under both.
   -------------------------------------------------------------------------- */
.content-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 22px;
  border-bottom: var(--border-hairline) solid var(--color-border-subtle);
}

[data-theme="dark"] .content-card-top {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.content-card-number {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--color-purple-accent);
}

[data-theme="dark"] .content-card-number {
  color: var(--color-purple-primary);
}

.content-card-category {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-subtle);
}

[data-theme="dark"] .content-card-category {
  color: var(--color-text-subtle);
}

/* --------------------------------------------------------------------------
   Content — pushed to bottom of card so large and small cards
   share the same anchor line across the grid.
   -------------------------------------------------------------------------- */
.content-card-content {
  margin-top: auto;
  padding-top: 30px;
}

.content-card-content h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.5625rem, 0.75rem + 2.5vw, 2.625rem);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--color-black);
}

[data-theme="dark"] .content-card-content h3 {
  color: var(--color-white);
}

.content-card-content p {
  max-width: 620px;
  margin: 20px 0 0;
  font-family: var(--font-body);
  font-size: clamp(13.5px, 0.2vw + 12.1px, 14.5px);
  line-height: 1.6;
  color: var(--color-text-muted);
}

.content-card-small .content-card-content h3 {
  font-size: clamp(1.375rem, 0.75rem + 2vw, 1.9375rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.content-card-small .content-card-content p {
  margin-top: 16px;
  font-size: clamp(13px, 0.2vw + 11.6px, 14px);
  line-height: 1.6;
}


/* ==========================================================================
   SECTION 4 — FROM THE BLOG (EDITORIAL CAROUSEL · PREMIUM)
   Cards read as clean content panels. Dim state is subtle, hover is
   soft (lift + border accent), no gimmicks.
   Reusable as .feed-card on the blog listing page.
   ========================================================================== */

.section-blog-slider {
  position: relative;
  padding: var(--section-py) var(--section-px);
  background-color: var(--color-bg-page);
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: var(--border-hairline) solid var(--color-border-subtle);
  box-sizing: border-box;
}

[data-theme="dark"] .section-blog-slider {
  border-top-color: rgba(255, 255, 255, 0.08);
}

.blog-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}

.blog-carousel-viewport {
  position: relative;
  width: 100%;
  max-width: 1136px;
  overflow: hidden;
  display: flex;
  align-items: center;
  user-select: none;
  margin: 0 auto clamp(30px, 4vw, 44px);
  box-sizing: border-box;
}

/* Soft edge fades — functional, keeps overflow cards readable at the rim. */
.blog-carousel-viewport::before,
.blog-carousel-viewport::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(20px, 4vw, 56px);
  z-index: 5;
  pointer-events: none;
}

.blog-carousel-viewport::before {
  left: 0;
  background: linear-gradient(90deg, var(--color-bg-page) 0%, rgba(255, 255, 255, 0) 100%);
}

.blog-carousel-viewport::after {
  right: 0;
  background: linear-gradient(270deg, var(--color-bg-page) 0%, rgba(255, 255, 255, 0) 100%);
}

[data-theme="dark"] .blog-carousel-viewport::before {
  background: linear-gradient(90deg, var(--color-bg-page) 0%, rgba(13, 13, 16, 0) 100%);
}

[data-theme="dark"] .blog-carousel-viewport::after {
  background: linear-gradient(270deg, var(--color-bg-page) 0%, rgba(13, 13, 16, 0) 100%);
}

.blog-track {
  display: flex;
  align-items: center;
  gap: 28px;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.blog-track.no-transition {
  transition: none !important;
}

/* --------------------------------------------------------------------------
   4.1 Blog Card
   Soft-cornered content panel — sits clean at rest, barely recedes when
   inactive, softly lifts on hover. No hard shadows, no glow.
   -------------------------------------------------------------------------- */
.blog-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-sizing: border-box;
  border: var(--border-hairline) solid var(--color-border-divider);
  border-radius: var(--radius-md);
  background-color: var(--color-white);
  color: inherit;
  text-decoration: none;
  cursor: pointer;

  position: relative;
  width: clamp(300px, 50vw, 620px);
  flex: 0 0 clamp(300px, 50vw, 620px);
  padding: 0;

  /* Gentle dim state — still readable, still premium. */
  scale: 0.94;
  opacity: 0.55;

  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast),
    border-color var(--transition-fast),
    scale 0.55s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.45s ease;
}

[data-theme="dark"] .blog-card {
  background-color: var(--color-bg-alt);
  border-color: rgba(255, 255, 255, 0.12);
}

.blog-card:not(.is-active):hover {
  opacity: 0.75;
}

.blog-card.is-active {
  scale: 1;
  opacity: 1;
}

/* Soft lift — border accent + muted shadow, nothing aggressive. */
.blog-card.is-active:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--color-purple-accent-rgb), 0.4);
  box-shadow: 0 16px 40px -12px rgba(var(--color-purple-accent-rgb), 0.14);
}

[data-theme="dark"] .blog-card.is-active:hover {
  border-color: rgba(var(--color-purple-primary-rgb), 0.4);
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.6);
}

/* --------------------------------------------------------------------------
   4.2 Card Media
   -------------------------------------------------------------------------- */
.blog-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: var(--color-slot-bg);
}

.blog-card-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card.is-active:hover .blog-card-media img {
  transform: scale(1.03);
}

.blog-badge-group {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  display: flex;
  gap: 6px;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 3px;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   4.3 Card Body
   -------------------------------------------------------------------------- */
.blog-card-body {
  min-width: 0;
  flex: 1;
  padding: clamp(22px, 2.4vw, 30px);
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.blog-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--color-text-subtle);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

[data-theme="dark"] .blog-meta-row {
  color: rgba(255, 255, 255, 0.5);
}

.blog-meta-dot {
  opacity: 0.5;
}

.blog-card-title {
  margin: 0;
  color: var(--color-black);
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 0.95rem + 0.7vw, 1.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
  transition: color var(--transition-fast);
}

[data-theme="dark"] .blog-card-title {
  color: var(--color-white);
}

.blog-card.is-active .blog-card-title:hover {
  color: var(--color-purple-accent);
}

[data-theme="dark"] .blog-card.is-active .blog-card-title:hover {
  color: var(--color-purple-primary);
}

/* --------------------------------------------------------------------------
   4.4 Card Footer
   -------------------------------------------------------------------------- */
.blog-card-footer {
  margin-top: auto;
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.blog-author-box {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.blog-author-avatar {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  object-fit: cover;
  border-radius: 6px;
  background-color: var(--color-bg-subtle);
}

[data-theme="dark"] .blog-author-avatar {
  background-color: rgba(255, 255, 255, 0.06);
}

.blog-author-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.blog-author-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--color-text-main);
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.3;
}

[data-theme="dark"] .blog-author-name {
  color: var(--color-white);
}

.blog-author-role {
  color: var(--color-text-subtle);
  font-family: var(--font-body);
  font-size: 10.5px;
  line-height: 1.2;
}

[data-theme="dark"] .blog-author-role {
  color: rgba(255, 255, 255, 0.45);
}

/* CTA — colour + arrow nudge, no layout shift. */
.blog-read-link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-black);
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  transition: color var(--transition-fast);
}

[data-theme="dark"] .blog-read-link {
  color: var(--color-white);
}

.blog-read-link svg {
  flex: 0 0 auto;
  transition: transform var(--transition-fast);
}

.blog-read-link:hover {
  color: var(--color-purple-accent);
}

[data-theme="dark"] .blog-read-link:hover {
  color: var(--color-purple-primary);
}

.blog-read-link:hover svg {
  transform: translate(2px, -2px);
}

/* --------------------------------------------------------------------------
   4.5 Bottom Bar — flat pill + sharp CTA
   -------------------------------------------------------------------------- */
.blog-bottom-bar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0;
}

.blog-progress-pill {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  padding: 8px 14px 8px 15px;
  background-color: var(--color-bg-subtle);
  border: var(--border-hairline) solid var(--color-border-divider);
  border-radius: 2px;
}

[data-theme="dark"] .blog-progress-pill {
  background-color: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
}

.blog-indicator-group {
  display: flex;
  align-items: center;
  gap: 6px;
}

.blog-dash {
  width: 16px;
  height: 3px;
  padding: 0;
  border: none;
  border-radius: 0;
  background-color: var(--color-dash-bg);
  cursor: pointer;
  transition:
    width 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    background-color var(--transition-fast);
}

.blog-dash:hover {
  background-color: var(--color-purple-accent);
}

.blog-dash.is-active {
  width: 30px;
  background-color: var(--color-black);
}

[data-theme="dark"] .blog-dash.is-active {
  background-color: var(--color-white);
}

.blog-progress-divider {
  width: var(--border-hairline);
  height: 15px;
  background-color: var(--color-border-divider);
}

[data-theme="dark"] .blog-progress-divider {
  background-color: rgba(255, 255, 255, 0.12);
}

.blog-counter-label {
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--color-text-main);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

/* CTA — flat, sharp, hairline border, no drop. */
.blog-all-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  background-color: var(--color-black);
  border: var(--border-thin) solid var(--color-black);
  border-radius: 2px;
  color: var(--color-white);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 700;
  transition:
    background-color var(--transition-fast),
    border-color var(--transition-fast),
    color var(--transition-fast);
}

[data-theme="dark"] .blog-all-btn {
  background-color: var(--color-white);
  color: var(--color-black);
  border-color: var(--color-white);
}

.blog-all-btn svg {
  transition: transform var(--transition-fast);
}

.blog-all-btn:hover {
  background-color: var(--color-purple-accent);
  border-color: var(--color-purple-accent);
  color: var(--color-white);
}

[data-theme="dark"] .blog-all-btn:hover {
  background-color: var(--color-purple-primary);
  border-color: var(--color-purple-primary);
  color: var(--color-black);
}

.blog-all-btn:hover svg {
  transform: translate(2px, -2px);
}


/* ==========================================================================
   SECTION 5 — AUDIT PROCESS (EDITORIAL DARK)
   Flat surfaces · hairline rules · sharp corners · numbered steps.
   No hover shadows — this is a reading flow, restraint wins.
   ========================================================================== */

.section-audit {
  padding: var(--section-py) var(--section-px);
  background-color: var(--color-dark-deep);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: var(--border-hairline) solid rgba(255, 255, 255, 0.08);
  border-bottom: var(--border-hairline) solid rgba(255, 255, 255, 0.08);
  box-sizing: border-box;
}

.audit-container {
  max-width: var(--container-max);
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   Two-column wrapper — image left, steps right.
   -------------------------------------------------------------------------- */
.audit-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(40px, 5vw, 72px);
  width: 100%;
  margin-top: clamp(13px, 1.6vw, 22px);
  margin-bottom: clamp(13px, 1.6vw, 22px);
}

/* --------------------------------------------------------------------------
   Image slot — flat frame, hairline border, no radius shadow.
   -------------------------------------------------------------------------- */
.audit-image-slot {
  flex: 4 1 0;
  min-width: 0;
  width: 100%;
}

.audit-image-box {
  width: 100%;
  aspect-ratio: 520 / 585;
  border-radius: var(--radius-xs);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.02);
  border: var(--border-hairline) solid rgba(255, 255, 255, 0.08);
}

.audit-feature-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* --------------------------------------------------------------------------
   Right column — numbered step list.
   -------------------------------------------------------------------------- */
.audit-content-col {
  flex: 6 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.audit-step-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.audit-step-header {
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.audit-step-heading {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.1875rem, 1rem + 0.6vw, 1.5rem);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-white);
  text-wrap: balance;
}

.audit-step-body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(13.5px, 0.2vw + 12.1px, 14.5px);
  line-height: 1.62;
  color: rgba(255, 255, 255, 0.68);
  max-width: 620px;
}

/* Hairline rule between steps — no gradient, no fade. */
.audit-divider {
  width: 100%;
  height: var(--border-hairline);
  background-color: rgba(255, 255, 255, 0.1);
  margin: 24px 0;
}

/* --------------------------------------------------------------------------
   Bottom CTA — flat, sharp, hairline border. Same discipline as
   the search button and orbit CTA.
   -------------------------------------------------------------------------- */
.audit-action-wrap {
  margin-top: 28px;
  padding-left: 0;
}

.audit-policy-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--color-white);
  background-color: transparent;
  border: var(--border-thin) solid rgba(255, 255, 255, 0.24);
  border-radius: 2px;
  padding: 11px 22px;
  text-decoration: none;
  transition:
    background-color var(--transition-fast),
    border-color var(--transition-fast),
    color var(--transition-fast);
}

.audit-policy-btn:hover {
  background-color: var(--color-white);
  color: var(--color-black);
  border-color: var(--color-white);
}

.audit-btn-arrow {
  transition: transform var(--transition-fast);
}

.audit-policy-btn:hover .audit-btn-arrow {
  transform: translate(2px, -2px);
}


/* ==========================================================================
   RESPONSIVE — HOMEPAGE (EDITORIAL SYSTEM)
   Aligned with the sharp-corner + hairline + flat-shadow language.
   Breakpoints:
     Tablet  → max-width: 1023px
     Mobile  → max-width: 599px
     Small   → max-width: 400px
   ========================================================================== */


/* ==========================================================================
   RESPONSIVE — TABLET (max-width: 1023px)
   ========================================================================== */

@media (max-width: 1023px) {

  /* ---------- NAVBAR ---------- */
  .header-wrapper {
    padding: 14px 24px 0;
  }

  .nav-link-compare {
    display: none;
  }

  .dropdown-item-tablet-compare {
    display: block;
  }

  /* ---------- HERO ---------- */
  .home-hero {
    margin-top: -78px;
    padding-top: 100px;
    padding-bottom: 0;
  }

  .home-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 48px;
    padding: 32px 0;
    margin: 0 auto;
  }

  .hero-column-divider {
    display: none;
  }

  .home-content {
    max-width: 620px;
    flex: none;
    align-items: center;
    text-align: center;
  }

  .home-hero .caption-box {
    align-self: center;
  }

  .hero-lead {
    text-align: center;
    border-left: none;
    padding-left: 0;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-search-form {
    width: 100%;
    max-width: 500px;
  }

  .hero-trending-text {
    display: none;
  }  

  .home-image-box {
    justify-content: center;
    width: 100%;
    max-width: 520px;
    flex: none;
  }

  .hero-swap-card {
    max-width: 100%;
    box-shadow: 5px 5px 0 var(--color-purple-accent);
  }

  .hero-bottom-marquee {
    flex-direction: column;
    gap: 16px;
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .marquee-title-box {
    width: 100%;
    text-align: center;
  }

  .marquee-divider-vert {
    display: none;
  }

  .marquee-track-col {
    width: 100%;
    max-width: 100%;
  }

  /* ---------- ORBIT ---------- */
  .radial-orbit-section {
    padding: clamp(80px, 10vh, 120px) var(--section-px);
  }

  .orbit-shell {
    flex-direction: column;
    align-items: center;
    gap: 36px;
    text-align: center;
    padding: 0;
  }

  .orbit-content-col {
    max-width: 640px;
    flex: none;
    align-items: center;
    width: 100%;
  }

  .orbit-caption {
    align-self: center;
  }

  .orbit-tabs-track {
    justify-content: center;
  }

  .orbit-description {
    text-align: center;
  }

  .orbit-cta-wrap {
    justify-content: center;
  }

  .orbit-stage-col {
    --stage-size: min(400px, 70vw, 55vh);
    flex: none;
  }

  /* ---------- BENTO ---------- */
  .content-01-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .content-card-large {
    grid-column: span 2;
  }

  .content-card-small {
    grid-column: span 1;
  }

  .content-card {
    min-height: auto;
    padding: 26px 28px;
  }

  .content-card-content {
    padding-top: 24px;
  }

  .content-card-content h3 {
    font-size: clamp(1.5rem, 4vw, 2rem);
  }

  .content-card-small .content-card-content h3 {
    font-size: clamp(1.375rem, 3.5vw, 1.75rem);
  }

  .content-card-content p {
    margin: 14px 0 0;
    font-size: clamp(13px, 0.2vw + 11.6px, 14px);
  }

  /* ---------- BLOG ---------- */
  .blog-shell {
    padding: 0;
  }

  .blog-card {
    width: clamp(320px, 62vw, 540px);
    flex: 0 0 clamp(320px, 62vw, 540px);
  }

  .blog-track {
    gap: 24px;
  }

  .blog-carousel-viewport::before,
  .blog-carousel-viewport::after {
    width: 40px;
  }

  .blog-card-body {
    padding: 22px 24px;
  }

  /* ---------- AUDIT ---------- */
  .audit-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .audit-image-slot {
    flex: none;
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
  }

  .audit-image-box {
    aspect-ratio: 5 / 4;
  }

  .audit-feature-img {
    object-fit: cover;
  }

  .audit-content-col {
    max-width: 640px;
    width: 100%;
  }

  /* ---------- FAQ ---------- */
  .faq-stack .faq-trigger {
    padding: 22px 28px;
  }

  .faq-stack .faq-panel-inner p {
    padding: 0 28px 24px;
    text-align: left;
  }

  /* ---------- FOOTER — Newsletter stacked ---------- */
  .footer-container {
    padding-left: var(--section-px);
    padding-right: var(--section-px);
  }

  .footer-newsletter-tier {
    grid-template-columns: 1fr;
    gap: 24px;
    justify-items: center;
    text-align: center;
  }

  .footer-newsletter-content {
    max-width: 560px;
    text-align: center;
  }

  .footer-newsletter-subtext {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-newsletter-form {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
  }

  /* ---------- FOOTER — Matrix 3-col + policies row ---------- */
  .footer-matrix-tier {
    grid-template-columns: repeat(3, 1fr);
    gap: 36px 24px;
    justify-items: center;
    text-align: center;
  }

  .footer-brand-col {
    grid-column: 1 / -1;
    padding-right: 0;
    align-items: center;
    text-align: center;
    max-width: 540px;
    margin: 0 auto 8px;
  }

  .footer-nav-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .footer-col-heading {
    text-align: center;
  }

  .footer-link-list {
    align-items: center;
    text-align: center;
  }

  .footer-nav-col:nth-child(5) {
    grid-column: 1 / -1;
    margin-top: 8px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .footer-nav-col:nth-child(5) .footer-link-list {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: safe center;
    align-items: center;
    gap: 28px;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 4px 0;
    mask-image: linear-gradient(to right, black 0%, black calc(100% - 24px), transparent 100%);
    -webkit-mask-image: linear-gradient(to right, black 0%, black calc(100% - 24px), transparent 100%);
  }

  .footer-nav-col:nth-child(5) .footer-link-list::-webkit-scrollbar {
    display: none;
  }

  .footer-nav-col:nth-child(5) .footer-link {
    white-space: nowrap;
    flex-shrink: 0;
  }

  .footer-bottom-tier {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    text-align: center;
  }

  /* ---------- CAPTION BOX — centered ---------- */
  .caption-box {
    align-self: center;
  }
}


/* ==========================================================================
   RESPONSIVE — MOBILE (max-width: 599px)
   ========================================================================== */

@media (max-width: 599px) {

  /* ---------- SECTION HEADER ---------- */
  .section-header {
    margin-bottom: 24px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .section-eyebrow {
    font-size: 10px;
    letter-spacing: 0.14em;
    margin-bottom: 8px;
  }

  .section-title {
    font-size: clamp(23px, 6.8vw, 27px);
    line-height: 1.15;
    letter-spacing: -0.02em;
  }

  .section-desc {
    font-size: 13.5px;
    line-height: 1.55;
    margin-top: 10px;
  }

  /* ---------- NAVBAR ---------- */
  .header-wrapper {
    padding: 12px 16px 0;
  }

  .navbar {
    height: 56px;
    padding: 0 14px;
    grid-template-columns: 1fr auto 1fr;
    gap: 8px;
  }

  .desktop-nav-links,
  .nav-dropdown-wrapper,
  .nav-submit-btn {
    display: none;
  }

  .nav-hamburger-box {
    display: inline-flex;
    width: 38px;
    height: 38px;
    justify-self: start;
  }

  .nav-center {
    justify-self: center;
  }

  .header-logo-wordmark {
    height: 26px;
    max-width: 110px;
  }

  .nav-right {
    justify-self: end;
    gap: 0;
  }

  .theme-toggle-btn {
    width: 38px;
    height: 38px;
  }

  /* ---------- HERO ---------- */
  .home-hero {
    margin-top: -68px;
    padding-top: 88px;
  }

  .home-hero-wrapper {
    padding: 0 18px;
  }

  .home-container {
    gap: 28px;
    padding: 24px 0;
  }

  .hero-headline {
    font-size: clamp(1.5rem, 1rem + 3vw, 1.75rem);
    line-height: 1.15;
  }

  .hero-lead {
    font-size: clamp(13px, 0.5vw + 11px, 14px);
    margin-top: 12px;
  }

  .hero-search-form {
    padding: 4px 4px 4px 12px;
    gap: 0;
    margin-top: 24px;
  }

  .hero-search-input {
    width: auto;
    padding: 8px 4px;
    font-size: clamp(13px, 0.5vw + 11px, 14px);
  }

  .hero-search-button {
    width: auto;
    padding: 9px 14px;
    font-size: clamp(12px, 0.5vw + 10px, 13px);
  }

  .hero-swap-card {
    padding: 16px;
    border-radius: var(--radius-sm);
    box-shadow: 4px 4px 0 var(--color-purple-accent);
  }

  [data-theme="dark"] .hero-swap-card {
    box-shadow: 4px 4px 0 var(--color-purple-primary);
  }

  .card-title { font-size: 22px; }
  .card-description { font-size: 13px; }

  .hero-bottom-marquee {
    gap: 14px;
    padding-left: 18px;
    padding-right: 18px;
    margin-top: 32px;
  }

  .marquee-track-col .marquee-logo {
    height: 26px;
    max-width: 100px;
  }

  .marquee-track-col .marquee {
    gap: 48px;
  }

  /* ---------- ORBIT ---------- */
  .radial-orbit-section {
    padding: var(--section-py) var(--section-px);
  }

  .orbit-tabs-track {
    justify-content: flex-start;
  }

  .orbit-stage-col {
    --stage-size: min(290px, calc(100vw - 80px));
    margin: 0 auto;
  }

  .orbit-center-hub {
    width: 64px;
    height: 64px;
  }

  .orbit-center-hub svg,
  .hub-inner-icon svg {
    width: 36px;
    height: 36px;
  }

  .inner-ring {
    width: 61.3%;
    height: 61.3%;
  }

  .node-outer-lg {
    width: clamp(24px, 9vw, 32px);
    height: clamp(24px, 9vw, 32px);
  }

  .node-outer-md {
    width: clamp(20px, 7.5vw, 26px);
    height: clamp(20px, 7.5vw, 26px);
  }

  .node-inner-md {
    width: clamp(18px, 6.5vw, 24px);
    height: clamp(18px, 6.5vw, 24px);
  }

  .node-inner-sm {
    width: clamp(16px, 5.5vw, 22px);
    height: clamp(16px, 5.5vw, 22px);
  }

  .orbit-primary-btn {
    padding: 12px 20px;
  }

  /* ---------- BENTO ---------- */
  .content-01-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .content-card-large,
  .content-card-small {
    grid-column: span 1;
  }

  .content-01-container {
    padding: 0;
  }

  .content-card {
    min-height: auto;
    padding: 20px 22px;
  }

  .content-card-content {
    padding-top: 16px;
  }

  .content-card-content p {
    margin: 10px 0 0;
    font-size: clamp(12.5px, 0.4vw + 10.9px, 13.5px);
  }

  /* ---------- BLOG ---------- */
  .blog-shell {
    padding: 0;
  }

  .blog-carousel-viewport {
    width: 100vw;
    max-width: 100vw;
    margin-left: -18px;
    margin-right: -18px;
  }

  .blog-carousel-viewport::before,
  .blog-carousel-viewport::after {
    width: 16px;
  }

  .blog-track {
    gap: 20px;
  }

  .blog-card {
    width: 86vw;
    flex: 0 0 86vw;
  }

  .blog-card-body {
    padding: 18px 18px 20px;
  }

  .blog-meta-row {
    font-size: 11px;
  }

  .blog-author-role {
    display: none;
  }

  .blog-read-link {
    font-size: 11.5px;
  }

  .blog-bottom-bar {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }

  .blog-progress-pill {
    width: auto;
  }

  .blog-all-btn {
    width: 100%;
    max-width: 240px;
  }

  /* ---------- AUDIT ---------- */
  .audit-container {
    padding: 0;
  }

  .audit-image-slot {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }

  .audit-image-box {
    aspect-ratio: 5 / 4;
  }

  .audit-feature-img {
    object-fit: cover;
  }

  .audit-step-header {
    gap: 12px;
  }

  .audit-step-body {
    font-size: clamp(12.5px, 0.4vw + 10.9px, 13.5px);
  }

  .audit-action-wrap {
    text-align: center;
  }

  .audit-policy-btn {
    width: 100%;
    justify-content: center;
  }

  /* ---------- FAQ ---------- */
  .faq-head {
    margin-bottom: 32px;
    text-align: center;
  }

  .faq-stack .faq-trigger {
    padding: 18px 20px;
    gap: 14px;
  }

  .faq-stack .faq-question {
    font-size: 1.05rem;
    line-height: 1.35;
    text-align: left;
  }

  .faq-stack .faq-panel-inner p {
    padding: 0 20px 20px;
    font-size: 13.5px;
    line-height: 1.62;
    text-align: left;
  }

  /* ---------- FOOTER — Newsletter compact ---------- */
  .footer-newsletter-form {
    max-width: 100%;
  }

  .footer-input-group {
    flex-direction: row;
    padding: 4px 4px 4px 12px;
    min-height: 50px;
  }

  .footer-submit-btn {
    padding: 9px 12px;
  }

  /* ---------- FOOTER — Matrix 2×2 ---------- */
  .footer-matrix-tier {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 20px;
    justify-items: center;
    text-align: center;
  }

  .footer-brand-col {
    grid-column: 1 / -1;
    margin: 0 auto 4px;
  }

  .footer-nav-col:nth-child(5) {
    grid-column: auto / span 1;
    margin-top: 0;
  }

  .footer-nav-col:nth-child(5) .footer-link-list {
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 10px;
    overflow-x: visible;
    padding: 0;
    mask-image: none;
    -webkit-mask-image: none;
  }

  .footer-bottom-tier {
    align-items: center;
    gap: 16px;
  }

  /* ---------- CAPTION BOX ---------- */
  .caption-box {
    padding-top: 6px;
    margin-bottom: 10px;
    border-top-width: var(--border-hairline);
  }

  .caption-box .text-caption-uppercase {
    font-size: 10px;
    letter-spacing: 0.14em;
  }
}


/* ==========================================================================
   RESPONSIVE — SMALL MOBILE (max-width: 400px)
   ========================================================================== */

@media (max-width: 400px) {

  .section-eyebrow {
    font-size: 9.5px;
    letter-spacing: 0.12em;
  }

  .navbar {
    padding: 0 10px;
    height: 52px;
    gap: 6px;
  }

  .header-logo-wordmark {
    height: 24px;
    max-width: 100px;
  }

  .nav-hamburger-box,
  .theme-toggle-btn {
    width: 34px;
    height: 34px;
  }

  .orbit-stage-col {
    --stage-size: min(260px, calc(100vw - 72px));
  }

  .orbit-primary-btn {
    font-size: 12.5px;
    padding: 11px 18px;
  }

  .faq-stack .faq-trigger {
    padding: 16px;
  }

  .faq-stack .faq-panel-inner p {
    padding: 0 16px 18px;
  }

  .caption-box .text-caption-uppercase {
    font-size: 9.5px;
    letter-spacing: 0.12em;
  }
}


/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */

@media (hover: none) {
  .blog-card.is-active:hover {
    transform: none;
  }

  .blog-card.is-active:hover .blog-card-media img {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .blog-track,
  .blog-card,
  .blog-card-media img,
  .blog-read-link,
  .blog-read-link svg,
  .blog-all-btn,
  .blog-all-btn svg,
  .blog-dash {
    transition-duration: 0.01ms !important;
  }
}