@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

:root {
  --hcd-bg: #0a0b0d;
  --hcd-bg-soft: #15171b;
  --hcd-panel: rgba(21, 24, 29, 0.78);
  --hcd-panel-strong: rgba(12, 14, 18, 0.92);
  --hcd-border: rgba(174, 133, 255, 0.18);
  --hcd-text: #f3f1ff;
  --hcd-muted: #aaa6c3;
  --hcd-accent: #8a7dff;
  --hcd-accent-strong: #665cff;
  --hcd-cyan: #7bd7ff;
  --hcd-indigo: #5447c8;
  --hcd-violet: #8e6bff;
  --hcd-rose: #ff7ab6;
  --hcd-gold: #ffc97e;
  --hcd-lime: #97e4c6;
  --hcd-shadow: 0 36px 100px rgba(0, 0, 0, 0.52);
  --hcd-radius: 28px;
}

/* Accessibility */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  clip-path: none;
  color: #21759b;
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

html,
body,
#page {
  background-color: #08090c;
}

body {
  color: var(--hcd-text);
  font-family: "Inter", "Avenir Next", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 12% 10%, rgba(123, 215, 255, 0.18), transparent 18%),
    radial-gradient(circle at 82% 18%, rgba(142, 107, 255, 0.24), transparent 24%),
    radial-gradient(circle at 66% 72%, rgba(255, 122, 182, 0.1), transparent 26%),
    linear-gradient(145deg, #0a0b10 0%, #11131a 34%, #0f1118 68%, #07080b 100%);
}

#content.site-content {
  overflow: clip;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto;
  pointer-events: none;
  z-index: 0;
}

body::before {
  top: -160px;
  left: -120px;
  width: 540px;
  height: 540px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(123, 215, 255, 0.2) 0%, rgba(123, 215, 255, 0.06) 38%, transparent 70%);
  filter: blur(30px);
}

body::after {
  right: -140px;
  bottom: 6%;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(142, 107, 255, 0.2) 0%, rgba(255, 122, 182, 0.08) 40%, transparent 72%);
  filter: blur(26px);
}

.hcd-site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 18px 0;
  background: linear-gradient(180deg, rgba(9, 10, 16, 0.9), rgba(9, 10, 16, 0.24));
  backdrop-filter: blur(16px);
}

.hcd-site-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 18px 28px;
  border: 1px solid rgba(142, 107, 255, 0.22);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(30, 29, 49, 0.96), rgba(14, 16, 25, 0.94)),
    linear-gradient(120deg, rgba(142, 107, 255, 0.12), transparent 44%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 20px 60px rgba(0, 0, 0, 0.28);
}

.hcd-brand__link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.2s;
}

.hcd-brand__link:hover {
  opacity: 0.9;
}

.hcd-brand__icon {
  flex-shrink: 0;
}

.hcd-brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  gap: 2px;
}

.hcd-brand__text strong {
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.hcd-brand__highlight {
  background: linear-gradient(90deg, #b8a1ff, #7bd7ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.hcd-brand__text small {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
}

.hcd-site-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px 32px;
}

.hcd-site-nav a,
.hcd-header-link,
.hcd-site-footer a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-size: 0.96rem;
  font-weight: 500;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.hcd-site-nav a:hover,
.hcd-header-link:hover,
.hcd-site-footer a:hover {
  color: #ffffff;
  text-shadow: 0 0 18px rgba(142, 107, 255, 0.28);
}

.hcd-site-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Hamburger toggle — hidden on desktop */
.hcd-menu-toggle {
  display: none;
}

body.hcd-front-page,
body.hcd-special-page {
  background:
    radial-gradient(circle at 10% 8%, rgba(123, 215, 255, 0.18), transparent 18%),
    radial-gradient(circle at 80% 14%, rgba(142, 107, 255, 0.22), transparent 22%),
    radial-gradient(circle at 52% 44%, rgba(255, 122, 182, 0.08), transparent 24%),
    linear-gradient(135deg, #0b0c11 0%, #11121a 52%, #08090c 100%);
  color: var(--hcd-text);
}

.hcd-home,
.hcd-special {
  position: relative;
  z-index: 1;
}

.hcd-shell {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

.hcd-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border: 1px solid rgba(142, 107, 255, 0.24);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(142, 107, 255, 0.18), rgba(123, 215, 255, 0.08)),
    rgba(83, 145, 235, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  color: #d9d1ff;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hcd-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--hcd-muted);
  font-size: 0.9rem;
}

.hcd-breadcrumbs a,
.hcd-breadcrumbs span,
.hcd-breadcrumbs em {
  color: var(--hcd-muted);
  font-style: normal;
  text-decoration: none;
}

.hcd-breadcrumbs a:hover {
  color: #ffffff;
}

.hcd-breadcrumbs span[aria-current="page"] {
  color: #ffffff;
}

.hcd-hero,
.hcd-special-hero {
  padding: 48px 0 34px;
}

.hcd-hero__grid,
.hcd-special-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(360px, 0.86fr);
  gap: 56px;
  align-items: center;
}

.hcd-hero__copy {
  max-width: 720px;
}

.hcd-hero h1,
.hcd-special h1 {
  margin: 18px 0 18px;
  color: var(--hcd-text);
  text-shadow:
    0 0 30px rgba(142, 107, 255, 0.16),
    0 0 60px rgba(123, 215, 255, 0.08);
  font-size: clamp(2.9rem, 4.7vw, 5rem);
  line-height: 0.92;
  letter-spacing: -0.05em;
  text-transform: none;
}

.hcd-lead {
  color: #c5c2db;
  font-size: 1.08rem;
  line-height: 1.75;
  max-width: 680px;
}

.hcd-hero__actions,
.hcd-special-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0;
}

.hcd-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid rgba(142, 107, 255, 0.24);
  font-weight: 600;
  text-decoration: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 12px 30px rgba(0, 0, 0, 0.18);
  transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.hcd-button:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 20px 40px rgba(142, 107, 255, 0.35),
    0 0 20px rgba(123, 215, 255, 0.2);
}

.hcd-button--primary {
  background:
    radial-gradient(circle at 28% 24%, rgba(255, 255, 255, 0.28), transparent 22%),
    linear-gradient(135deg, #8e7dff 0%, #665cff 46%, #8f63ff 100%);
  color: #f7f4ff;
}

.hcd-button--ghost {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01)),
    rgba(255, 255, 255, 0.02);
  color: var(--hcd-text);
}

.hcd-hero__meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.hcd-metric,
.hcd-data-card,
.hcd-panel,
.hcd-case-card,
.hcd-phase-card,
.hcd-faq-item,
.hcd-preview-screen,
.hcd-special-panel,
.hcd-rich-block {
  border: 1px solid var(--hcd-border);
  background:
    linear-gradient(180deg, rgba(31, 32, 46, 0.78), rgba(15, 16, 24, 0.72)),
    linear-gradient(135deg, rgba(142, 107, 255, 0.08), transparent 42%);
  backdrop-filter: blur(20px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    var(--hcd-shadow);
}

.hcd-metric,
.hcd-data-card {
  padding: 18px 20px;
  border-radius: 22px;
}

.hcd-metric__value {
  display: block;
  color: #ffffff;
  font-size: 1.8rem;
  font-weight: 700;
  text-shadow: 0 0 22px rgba(142, 107, 255, 0.18);
}

.hcd-metric__label,
.hcd-data-card__label {
  color: var(--hcd-muted);
  font-size: 0.95rem;
}

.hcd-hero__visual {
  position: relative;
  min-height: 420px;
  width: 100%;
  max-width: 540px;
  justify-self: end;
}

.hcd-hero__halo {
  position: absolute;
  inset: 8% 8% auto auto;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(123, 215, 255, 0.24) 0%, rgba(142, 107, 255, 0.28) 34%, rgba(18, 20, 42, 0.05) 66%, transparent 74%);
  filter: blur(18px);
}

.hcd-hero-glow-card {
  position: relative;
  padding: 34px;
  border-radius: 32px;
  border: 1px solid rgba(142, 107, 255, 0.16);
  background:
    radial-gradient(circle at 85% 18%, rgba(142, 107, 255, 0.16), transparent 26%),
    linear-gradient(180deg, rgba(31, 32, 46, 0.82), rgba(15, 16, 24, 0.74));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 30px 80px rgba(0, 0, 0, 0.28);
}

.hcd-hero-glow-card h2 {
  margin: 18px 0 14px;
  font-size: clamp(1.7rem, 2.5vw, 2.4rem);
  line-height: 1.08;
  color: #fff;
}

.hcd-hero-glow-card p {
  color: #c5c2db;
  line-height: 1.75;
}

.hcd-hero-glow-card__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.hcd-console {
  position: relative;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 18px;
  min-height: 620px;
  padding: 18px;
  border: 1px solid rgba(142, 107, 255, 0.16);
  border-radius: 32px;
  background:
    radial-gradient(circle at 16% 18%, rgba(123, 215, 255, 0.08), transparent 16%),
    linear-gradient(180deg, rgba(29, 30, 45, 0.9), rgba(13, 14, 22, 0.9));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 40px 100px rgba(0, 0, 0, 0.42);
  overflow: hidden;
}

.hcd-section--console {
  padding-top: 8px;
}

.hcd-console--broad {
  grid-template-columns: 250px minmax(0, 1fr);
  min-height: 680px;
}

.hcd-console::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 30%),
    radial-gradient(circle at 80% 20%, rgba(142, 107, 255, 0.12), transparent 24%);
  pointer-events: none;
}

.hcd-console__sidebar,
.hcd-console__main {
  position: relative;
  z-index: 1;
}

.hcd-console__sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 14px;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(18, 20, 30, 0.84), rgba(13, 14, 20, 0.64));
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.hcd-console__search {
  min-height: 46px;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--hcd-muted);
  font-family: "Inter", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 0.95rem;
}

.hcd-console__nav {
  display: grid;
  gap: 10px;
}

.hcd-console__nav span {
  padding: 12px 14px;
  border-radius: 16px;
  color: #d6d2ee;
  font-family: "Inter", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.02);
}

.hcd-console__nav .is-active {
  background: linear-gradient(135deg, rgba(142, 107, 255, 0.82), rgba(102, 92, 255, 0.92));
  color: #fff;
  box-shadow: 0 14px 30px rgba(102, 92, 255, 0.28);
}

.hcd-console__mini-card {
  margin-top: auto;
  padding: 18px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(28, 30, 48, 0.86), rgba(17, 18, 26, 0.84)),
    radial-gradient(circle at 80% 18%, rgba(123, 215, 255, 0.08), transparent 24%);
  border: 1px solid rgba(142, 107, 255, 0.12);
}

.hcd-console__mini-card p,
.hcd-console__mini-card small {
  margin: 0;
  color: var(--hcd-muted);
}

.hcd-console__mini-card strong {
  display: block;
  margin: 8px 0 6px;
  color: #fff;
  font-size: 1.2rem;
  font-family: "Inter", "Avenir Next", "Segoe UI", sans-serif;
}

.hcd-console__main {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 16px;
}

.hcd-console__prompt {
  justify-self: end;
  max-width: 360px;
  padding: 16px 20px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(142, 107, 255, 0.92), rgba(102, 92, 255, 0.92));
  color: #fff;
  font-family: "Inter", "Avenir Next", "Segoe UI", sans-serif;
  box-shadow: 0 18px 34px rgba(102, 92, 255, 0.3);
}

.hcd-console__workspace {
  position: relative;
  min-height: 500px;
  padding: 26px 26px 108px;
  border-radius: 32px;
  background:
    radial-gradient(circle at 24% 18%, rgba(123, 215, 255, 0.06), transparent 18%),
    linear-gradient(180deg, rgba(35, 34, 58, 0.96), rgba(20, 21, 33, 0.98)),
    radial-gradient(circle at 84% 18%, rgba(142, 107, 255, 0.16), transparent 28%);
  border: 1px solid rgba(142, 107, 255, 0.18);
  overflow: hidden;
}

.hcd-console__score {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(20, 22, 34, 0.74);
  border: 1px solid rgba(142, 107, 255, 0.14);
}

.hcd-console__score span,
.hcd-console__score small {
  color: var(--hcd-muted);
}

.hcd-console__score strong {
  color: #fff;
  font-size: 3.8rem;
  line-height: 0.9;
  letter-spacing: -0.06em;
  font-family: "Inter", "Avenir Next", "Segoe UI", sans-serif;
}

.hcd-console__composer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 62px;
  padding: 0 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(142, 107, 255, 0.12);
  color: var(--hcd-muted);
}

.hcd-console__composer strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(142, 107, 255, 0.16);
  color: #fff;
  font-family: "Inter", "Avenir Next", "Segoe UI", sans-serif;
}

.hcd-carousel-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
}

.hcd-carousel-arrow {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(142, 107, 255, 0.3);
  background: rgba(32, 33, 48, 0.7);
  color: #d8d3ff;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
  backdrop-filter: blur(8px);
  z-index: 10;
  position: relative;
}

.hcd-carousel-arrow:hover {
  background: rgba(142, 107, 255, 0.22);
  border-color: rgba(142, 107, 255, 0.7);
  color: #fff;
  transform: scale(1.08);
}

.hcd-carousel-arrow--prev {
  margin-right: -22px;
}

.hcd-carousel-arrow--next {
  margin-left: -22px;
}

.hcd-carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.hcd-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(142, 107, 255, 0.25);
  cursor: pointer;
  padding: 0;
  transition: background 0.25s ease, transform 0.25s ease, width 0.25s ease;
}

.hcd-carousel-dot.is-active {
  background: #8e6bff;
  width: 24px;
  border-radius: 999px;
  transform: none;
}

.hcd-hero-carousel {
  position: relative;
  flex: 1;
  height: 360px;
  perspective: 1600px;
}

.hcd-hero-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(100%, 720px);
  min-height: 320px;
  padding: 34px 42px;
  border-radius: 38px;
  color: var(--hcd-text);
  text-decoration: none;
  background:
    radial-gradient(circle at 16% 12%, rgba(255, 255, 255, 0.06), transparent 18%),
    linear-gradient(180deg, rgba(32, 33, 48, 0.96), rgba(22, 23, 35, 0.96)),
    linear-gradient(135deg, rgba(123, 215, 255, 0.06), rgba(142, 107, 255, 0.14) 56%, transparent 80%);
  border: 1px solid rgba(142, 107, 255, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 30px 90px rgba(0, 0, 0, 0.34);
  transform-style: preserve-3d;
  transition: transform 0.7s ease, opacity 0.7s ease, filter 0.7s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hcd-hero-card::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), transparent 26%, transparent 70%, rgba(142, 107, 255, 0.08));
  pointer-events: none;
}

.hcd-hero-card__body {
  max-width: 500px;
}

.hcd-hero-card h2 {
  margin: 18px 0 18px;
  font-size: clamp(3.2rem, 4.8vw, 5.4rem);
  color: #fff;
  line-height: 0.94;
  letter-spacing: -0.05em;
  text-shadow: 0 0 26px rgba(142, 107, 255, 0.12);
}

.hcd-hero-card p {
  margin: 0;
  color: #c4c1dc;
  line-height: 1.5;
  font-size: 1.02rem;
  max-width: 34ch;
}

.hcd-hero-card__eyebrow,
.hcd-hero-card__stat {
  display: block;
  color: #b8a9ff;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-family: "Inter", "Avenir Next", "Segoe UI", sans-serif;
}

.hcd-hero-card__stat {
  margin-top: 28px;
  color: #cdbdff;
}

.hcd-hero-card.is-active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1) rotateX(0deg);
  z-index: 4;
}

.hcd-hero-card.is-left {
  opacity: 0.22;
  filter: blur(4px) saturate(0.75);
  transform: translate(-103%, -50%) scale(0.88) rotateY(18deg);
  z-index: 2;
}

.hcd-hero-card.is-right {
  opacity: 0.22;
  filter: blur(4px) saturate(0.75);
  transform: translate(2%, -50%) scale(0.88) rotateY(-18deg);
  z-index: 2;
}

.hcd-hero-card.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.82);
}

.hcd-section {
  padding: 48px 0;
}

.hcd-site-footer {
  position: relative;
  padding: 42px 0 28px;
  background:
    linear-gradient(180deg, rgba(10, 11, 16, 0.3), rgba(8, 8, 11, 0.98)),
    radial-gradient(circle at top left, rgba(123, 215, 255, 0.08), transparent 24%),
    radial-gradient(circle at 86% 18%, rgba(142, 107, 255, 0.12), transparent 26%);
}

.hcd-site-footer::before {
  content: "";
  display: block;
  width: min(1200px, calc(100% - 40px));
  height: 1px;
  margin: 0 auto 28px;
  background: linear-gradient(90deg, rgba(255, 103, 103, 0.1), rgba(255, 103, 103, 0.9), rgba(255, 103, 103, 0.1));
}

.hcd-site-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-bottom: 34px;
}

.hcd-site-footer__intro h2 {
  margin: 14px 0 12px;
  color: #fff;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.hcd-site-footer__intro p,
.hcd-site-footer__bottom p,
.hcd-footer-column span {
  color: #b6c2da;
  line-height: 1.75;
}

.hcd-site-footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 34px;
  padding: 26px 0 30px;
}

.hcd-footer-column h3 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 1.05rem;
}

.hcd-footer-column ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 16px;
}

.hcd-site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(142, 107, 255, 0.12);
}

.hcd-site-footer__bottom p {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.hcd-site-footer__bottom span {
  color: rgba(255, 255, 255, 0.26);
}

.hcd-site-footer__bottom a {
  color: #d8d3ff;
}

.hcd-site-footer__bottom a:hover {
  color: #ffffff;
}

.hcd-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #d8d3ff;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.hcd-linkedin:hover {
  color: #ffffff;
}

.hcd-section--alt {
  background:
    linear-gradient(180deg, rgba(18, 20, 31, 0.74), rgba(10, 11, 18, 0.34)),
    radial-gradient(circle at 12% 20%, rgba(142, 107, 255, 0.08), transparent 28%);
}

.hcd-section-heading {
  max-width: 760px;
  margin-bottom: 26px;
}

.hcd-section-heading h2,
.hcd-special h2 {
  color: #ffffff;
  font-size: clamp(2rem, 3vw, 3.3rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hcd-three-up,
.hcd-four-up,
.hcd-two-up,
.hcd-phase-grid,
.hcd-content-grid,
.hcd-faq {
  display: grid;
  gap: 18px;
}

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

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

.hcd-two-up,
.hcd-phase-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.hcd-panel,
.hcd-case-card,
.hcd-phase-card,
.hcd-faq-item,
.hcd-rich-block {
  padding: 28px;
  border-radius: 26px;
}

.hcd-rich-block--wide {
  grid-column: 1 / -1;
}

.hcd-panel h3,
.hcd-case-card h3,
.hcd-phase-card h3,
.hcd-faq-item h3,
.hcd-rich-block h3 {
  color: #fff;
}

.hcd-panel h3 a,
.hcd-case-card h3 a,
.hcd-phase-card h3 a,
.hcd-faq-item h3 a,
.hcd-rich-block h3 a {
  color: #ffffff;
  text-decoration: none;
}

.hcd-panel h3 a:hover,
.hcd-case-card h3 a:hover,
.hcd-phase-card h3 a:hover,
.hcd-faq-item h3 a:hover,
.hcd-rich-block h3 a:hover {
  color: #ffffff;
  text-shadow: 0 0 18px rgba(142, 107, 255, 0.22);
}

.hcd-panel p,
.hcd-case-card p,
.hcd-phase-card p,
.hcd-faq-item p,
.hcd-rich-block p,
.hcd-copy-stack p {
  color: #b9c5df;
  line-height: 1.8;
}

.hcd-panel ul {
  margin: 0;
  padding-left: 18px;
  color: #b9c5df;
}

.hcd-panel li,
.hcd-rich-block li {
  margin-bottom: 10px;
}

.hcd-panel li a,
.hcd-rich-block li a {
  color: #d8d3ff;
  text-decoration: none;
}

.hcd-panel li a:hover,
.hcd-rich-block li a:hover {
  color: #ffffff;
}

.hcd-visual-asset {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 16px 42px -12px rgba(142, 107, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.hcd-split,
.hcd-cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: start;
}

.hcd-cta-panel > .hcd-button {
  justify-self: end;
  align-self: center;
  width: fit-content;
  inline-size: fit-content;
  max-width: max-content;
  min-width: 0;
  padding-inline: 34px;
  white-space: nowrap;
}

.hcd-cta-panel {
  padding: 36px;
  border-radius: 32px;
  border: 1px solid rgba(142, 107, 255, 0.2);
  background:
    radial-gradient(circle at 18% 18%, rgba(123, 215, 255, 0.1), transparent 16%),
    linear-gradient(135deg, rgba(30, 31, 48, 0.9), rgba(14, 15, 24, 0.76)),
    radial-gradient(circle at left bottom, rgba(142, 107, 255, 0.18), transparent 32%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    var(--hcd-shadow);
}

.hcd-phase-card__index,
.hcd-case-card__label {
  display: inline-flex;
  margin-bottom: 14px;
  color: #85d6ff;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hcd-special-panel {
  display: grid;
  gap: 16px;
  padding: 18px;
  border-radius: 28px;
}

.hcd-data-card__value {
  margin: 8px 0 0;
  color: #fff;
  line-height: 1.7;
}

.hcd-direct-email-block {
  display: flex;
  align-items: center;
  gap: 24px;
  background:
    radial-gradient(circle at 10% 50%, rgba(142, 107, 255, 0.1), transparent 40%),
    linear-gradient(135deg, rgba(32, 33, 48, 0.98), rgba(22, 23, 35, 0.98));
  border: 1px solid rgba(142, 107, 255, 0.28);
}

.hcd-direct-email__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(142, 107, 255, 0.15);
  border: 1px solid rgba(142, 107, 255, 0.25);
  color: #b8a9ff;
}

.hcd-direct-email__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hcd-direct-email__label {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #b8a9ff;
}

.hcd-direct-email__address {
  display: inline-block;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.02em;
  transition: color 0.2s ease;
}

.hcd-direct-email__address:hover {
  color: #c4b5ff;
}

.hcd-direct-email__note {
  margin: 2px 0 0;
  font-size: 0.88rem;
  color: #8a90a8;
  line-height: 1.5;
}

/* Light theme overrides */
html.theme-light .hcd-direct-email-block {
  background: #f5f3ff;
  border-color: rgba(102, 92, 255, 0.2);
}

html.theme-light .hcd-direct-email__icon {
  background: rgba(102, 92, 255, 0.1);
  border-color: rgba(102, 92, 255, 0.2);
  color: #665cff;
}

html.theme-light .hcd-direct-email__label {
  color: #665cff;
}

html.theme-light .hcd-direct-email__address {
  color: #1a1a2e;
}

html.theme-light .hcd-direct-email__address:hover {
  color: #665cff;
}

html.theme-light .hcd-direct-email__note {
  color: #6b6f85;
}

.hcd-guide-form {
  display: grid;
  gap: 18px;
}

.hcd-guide-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.hcd-guide-form label {
  display: grid;
  gap: 10px;
}

.hcd-guide-form span {
  color: #fff;
  font-size: 0.94rem;
  font-weight: 600;
}

.hcd-calendly-panel {
  margin-top: 22px;
  padding: 18px;
  border-radius: 32px;
  border: 1px solid rgba(142, 107, 255, 0.18);
  background:
    radial-gradient(circle at 12% 12%, rgba(123, 215, 255, 0.08), transparent 16%),
    linear-gradient(180deg, rgba(31, 32, 46, 0.88), rgba(15, 16, 24, 0.84));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    var(--hcd-shadow);
}

.hcd-calendly-panel .calendly-inline-widget {
  width: 100%;
  overflow: hidden;
  border-radius: 22px;
}

.hcd-guide-form input,
.hcd-guide-form select,
.hcd-guide-form textarea {
  box-sizing: border-box;
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(142, 107, 255, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--hcd-text);
  font: inherit;
}

.hcd-guide-form textarea {
  resize: vertical;
}

.hcd-guide-form__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
}

.hcd-guide-form__actions p {
  margin: 0;
  color: var(--hcd-muted);
}

@media (max-width: 1080px) {
  .hcd-hero-glow-card__grid,
  .hcd-console {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hcd-console__sidebar {
    margin-bottom: 4px;
  }

  .hcd-console__main {
    min-height: 540px;
  }

  .hcd-console__score {
    position: static;
    margin-top: 20px;
  }

  .hcd-console__workspace {
    padding-bottom: 18px;
  }

  .hcd-site-footer__top,
  .hcd-hero__grid,
  .hcd-special-hero__grid,
  .hcd-three-up,
  .hcd-four-up,
  .hcd-two-up,
  .hcd-phase-grid,
  .hcd-content-grid,
  .hcd-split,
  .hcd-cta-panel {
    grid-template-columns: 1fr;
  }

  .hcd-cta-panel > .hcd-button {
    justify-self: start;
    width: auto;
  }

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

  .hcd-hero__visual {
    min-height: auto;
    max-width: none;
    justify-self: stretch;
  }
}

/* ── Mobile nav / hamburger — kicks in at tablet width ── */
@media (max-width: 1024px) {
  .hcd-site-header__inner {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    padding: 14px 20px;
    border-radius: 24px;
    gap: 0 12px;
  }

  /* Pin brand and actions to row 1, nav always on row 2 */
  .hcd-brand {
    grid-row: 1;
    grid-column: 1;
  }

  .hcd-site-header__actions {
    grid-row: 1;
    grid-column: 2;
  }

  /* Nav hidden by default; revealed via JS */
  .hcd-site-nav {
    display: none;
    grid-row: 2;
    grid-column: 1 / -1;
    flex-direction: column;
    gap: 4px;
    padding-top: 14px;
    margin-top: 10px;
    border-top: 1px solid rgba(142, 107, 255, 0.18);
  }

  .hcd-site-nav.is-open {
    display: flex;
  }

  .hcd-site-nav a {
    padding: 10px 6px;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .hcd-site-nav a:last-child {
    border-bottom: none;
  }

  /* Show hamburger, hide CTA button */
  .hcd-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 38px;
    height: 38px;
    padding: 8px;
    background: transparent;
    border: 1px solid rgba(142, 107, 255, 0.35);
    border-radius: 8px;
    cursor: pointer;
  }

  .hcd-menu-toggle__bar {
    display: block;
    width: 20px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .hcd-menu-toggle[aria-expanded="true"] .hcd-menu-toggle__bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .hcd-menu-toggle[aria-expanded="true"] .hcd-menu-toggle__bar:nth-child(2) {
    opacity: 0;
  }

  .hcd-menu-toggle[aria-expanded="true"] .hcd-menu-toggle__bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hcd-site-header__actions .hcd-button--primary {
    display: none;
  }

  /* Match toggle size to hamburger so right-side padding looks balanced */
  .hcd-theme-toggle {
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 767px) {
  .hcd-shell {
    width: min(100% - 24px, 1200px);
  }

  .hcd-site-header {
    padding: 10px 0;
  }

  /* Tighter padding on small phones */
  .hcd-site-header__inner {
    padding: 12px 20px;
    border-radius: 18px;
  }

  .hcd-hero,
  .hcd-special-hero,
  .hcd-section {
    padding: 34px 0;
  }

  .hcd-hero__meta {
    grid-template-columns: 1fr;
  }

  .hcd-hero__visual {
    min-height: auto;
  }

  .hcd-console {
    padding: 14px;
    border-radius: 24px;
  }

  .hcd-hero-glow-card {
    padding: 24px;
  }

  .hcd-console__prompt {
    max-width: none;
    justify-self: stretch;
    font-size: 0.95rem;
  }

  .hcd-console__workspace {
    min-height: 380px;
    padding: 16px;
  }

  .hcd-console__score {
    flex-direction: column;
    align-items: start;
    padding: 14px 16px;
  }

  .hcd-console__score strong {
    font-size: 2.25rem;
  }

  .hcd-hero-carousel {
    height: 300px;
  }

  .hcd-hero-card {
    width: calc(100% - 8px);
    min-height: 250px;
    padding: 24px;
  }

  .hcd-hero-card h2 {
    font-size: 2rem;
  }

  .hcd-hero-card p {
    font-size: 0.95rem;
    max-width: 28ch;
  }

  .hcd-hero-card.is-left {
    transform: translate(-60%, -50%) scale(0.74);
  }

  .hcd-hero-card.is-right {
    transform: translate(-40%, -50%) scale(0.74);
  }

  .hcd-site-footer__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hcd-guide-form__grid {
    grid-template-columns: 1fr;
  }

  .hcd-site-footer__bottom {
    flex-direction: column;
  }

  .hcd-site-footer {
    padding-bottom: 42px;
  }
}
.hcd-site-header,
.hcd-site-footer,
.hcd-button,
.hcd-pill,
.hcd-metric__value,
.hcd-hero-card__eyebrow,
.hcd-hero-card__stat,
.hcd-case-card__label,
.hcd-phase-card__index,
.hcd-brand__text small {
  font-family: "Inter", "Avenir Next", "Segoe UI", sans-serif;
}

.hcd-brand__text strong,
.hcd-hero h1,
.hcd-special h1,
.hcd-section-heading h2,
.hcd-special h2,
.hcd-panel h3,
.hcd-case-card h3,
.hcd-phase-card h3,
.hcd-faq-item h3,
.hcd-rich-block h3,
.hcd-site-footer__intro h2,
.hcd-footer-column h3 {
  font-family: "Inter", "Avenir Next", "Segoe UI", sans-serif;
  letter-spacing: -0.04em;
}

.hcd-panel p,
.hcd-case-card p,
.hcd-phase-card p,
.hcd-faq-item p,
.hcd-rich-block p,
.hcd-copy-stack p,
.hcd-lead,
.hcd-site-footer__intro p,
.hcd-site-footer__bottom p,
.hcd-footer-column span,
.hcd-site-nav a,
.hcd-header-link {
  font-family: "Inter", "Avenir Next", "Segoe UI", sans-serif;
}

/* ==========================================================================
   8. Deep Internal Linking Nav & Progress Bar
   ========================================================================== */

#hcd-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #8e7dff, #7bd7ff);
  z-index: 9999;
  width: 0%;
  border-radius: 0 2px 2px 0;
  transition: width 0.1s;
}

.hcd-theme-toggle {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}

.hcd-theme-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.05);
}

.hcd-related-engine {
  margin-top: 48px;
}

.hcd-related-nav {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.hcd-related-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  text-decoration: none;
  color: #fff;
  transition: all 0.2s ease;
}

.hcd-related-link:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(142, 107, 255, 0.4);
  transform: translateY(-2px);
}

.hcd-related-link__text {
  font-weight: 600;
  font-size: 0.95rem;
}

.hcd-related-link svg {
  opacity: 0.5;
  transition: transform 0.2s;
}

.hcd-related-link:hover svg {
  opacity: 1;
  transform: translateX(4px);
  stroke: #7bd7ff;
}

/* ==========================================================================
   9. Sitewide Light Mode (.theme-light)
   ========================================================================== */

html.theme-light,
html.theme-light body,
html.theme-light #page {
  background:
    radial-gradient(circle at 12% 10%, rgba(123, 215, 255, 0.1), transparent 18%),
    radial-gradient(circle at 82% 18%, rgba(142, 107, 255, 0.12), transparent 24%),
    radial-gradient(circle at 66% 72%, rgba(255, 122, 182, 0.08), transparent 26%),
    linear-gradient(145deg, #f0f4f8 0%, #ffffff 100%);
  color: #1a1a1a;
}

html.theme-light .hcd-site-header {
  background: rgba(247, 249, 252, 0.8);
}

html.theme-light .hcd-site-header__inner {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.05);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}

html.theme-light .hcd-menu-toggle__bar {
  background: #1a1a1a;
}

html.theme-light .hcd-menu-toggle {
  border-color: rgba(0, 0, 0, 0.15);
}

html.theme-light .hcd-brand__text strong,
html.theme-light .hcd-brand__link,
html.theme-light .hcd-site-nav a,
html.theme-light .hcd-theme-toggle {
  color: #1a1a1a;
}

html.theme-light .hcd-brand__text small {
  color: rgba(0, 0, 0, 0.6);
}

html.theme-light .hcd-theme-toggle {
  border-color: rgba(0,0,0,0.1);
  background: #ffffff;
}
html.theme-light .hcd-theme-toggle:hover {
  background: rgba(0,0,0,0.02);
}

html.theme-light .hcd-hero h1,
html.theme-light .hcd-section-heading h2,
html.theme-light .hcd-special h1,
html.theme-light .hcd-rich-block h2,
html.theme-light .hcd-rich-block h3,
html.theme-light .hcd-panel p,
html.theme-light .hcd-hero-glow-card h2,
html.theme-light .hcd-huge-heading,
html.theme-light .hcd-hero-card h2,
html.theme-light .hcd-metric__value {
  color: #111 !important;
}

html.theme-light .hcd-hero .hcd-lead,
html.theme-light .hcd-hero-glow-card p,
html.theme-light .hcd-hero-card p,
html.theme-light .hcd-metric__label {
  color: #444;
}

html.theme-light .hcd-pill {
  background: rgba(0, 0, 0, 0.05);
  color: #111;
  border-color: rgba(0, 0, 0, 0.1);
}

html.theme-light .hcd-hero-glow-card,
html.theme-light .hcd-panel,
html.theme-light .hcd-console,
html.theme-light .hcd-carousel-arrow {
  background: rgba(255, 255, 255, 0.9);
  color: #665cff;
  border-color: rgba(142, 107, 255, 0.3);
}

html.theme-light .hcd-carousel-arrow:hover {
  background: #f0eeff;
  border-color: rgba(142, 107, 255, 0.7);
}

html.theme-light .hcd-carousel-dot {
  background: rgba(142, 107, 255, 0.2);
}

html.theme-light .hcd-carousel-dot.is-active {
  background: #665cff;
}

html.theme-light .hcd-hero-card,
html.theme-light .hcd-metric,
html.theme-light .hcd-data-card {
  background: #ffffff !important;
  border-color: rgba(0, 0, 0, 0.06) !important;
  box-shadow: 0 10px 40px rgba(0,0,0,0.03);
}

html.theme-light .hcd-metric strong,
html.theme-light .hcd-data-card strong {
  color: #111 !important;
}

html.theme-light .hcd-data-card__label {
  color: #444 !important;
}

html.theme-light .hcd-console__sidebar {
  background: #f7f9fa;
  border-right: 1px solid rgba(0, 0, 0, 0.06);
}

html.theme-light .hcd-section--alt {
  background: #f5f7f9 !important;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

html.theme-light .hcd-console__search {
  background: #ffffff;
  color: #111;
  border: 1px solid rgba(0,0,0,0.05);
}

html.theme-light .hcd-console__nav span {
  color: rgba(0, 0, 0, 0.6);
  background: transparent;
}
html.theme-light .hcd-console__nav .is-active {
  background: #ffffff;
  color: #8e6bff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

html.theme-light .hcd-console__mini-card {
  background: #ffffff;
  border-color: rgba(0,0,0,0.06);
}
html.theme-light .hcd-console__mini-card strong {
  color: #111;
}

html.theme-light .hcd-hero-card h3 {
  color: #111;
}

html.theme-light .hcd-console__prompt {
  background: #f7f9fa;
  border-color: rgba(0,0,0,0.05);
  color: #111;
}

html.theme-light .hcd-console__workspace {
  background: #f0f2f4;
  border-color: rgba(0,0,0,0.05);
}

html.theme-light .hcd-console__score small {
  color: rgba(0,0,0,0.5);
}

html.theme-light .hcd-console__composer {
  background: #f7f9fa;
  color: #111;
  border-color: rgba(0,0,0,0.05);
}

html.theme-light .hcd-console__mini-card p {
   color: rgba(0,0,0,0.4);
}

html.theme-light .hcd-site-footer__intro h2,
html.theme-light .hcd-footer-column h3,
html.theme-light .hcd-site-footer__bottom p {
  color: #111;
}

html.theme-light .hcd-site-footer__intro p,
html.theme-light .hcd-footer-column a {
  color: rgba(0,0,0,0.7);
}

html.theme-light .hcd-button--ghost {
  border-color: rgba(0,0,0,0.1);
  background: transparent;
  color: #111;
}
html.theme-light .hcd-button--ghost:hover {
  background: rgba(0,0,0,0.03);
}

html.theme-light .hcd-data-card {
  background: #f7f9fa;
  border-color: rgba(0,0,0,0.05);
}

html.theme-light .hcd-data-card__label,
html.theme-light .hcd-data-card__value {
  color: #111;
}

html.theme-light .hcd-faq-item h3 {
  color: #111;
}
html.theme-light .hcd-faq-item p {
  color: #444;
}

html.theme-light .hcd-indicator {
  background: #8e6bff;
  box-shadow: 0 0 12px rgba(142, 107, 255, 0.5);
}

html.theme-light .hcd-related-engine {
  background: transparent;
}
html.theme-light .hcd-related-link {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
  color: #111;
}
html.theme-light .hcd-related-link:hover {
  border-color: rgba(142, 107, 255, 0.3);
  box-shadow: 0 8px 24px rgba(0,0,0,0.04);
}

html.theme-light .hcd-site-footer {
  background: #ffffff !important;
  border-top: 1px solid rgba(0, 0, 0, 0.05) !important;
}
html.theme-light .hcd-site-footer::before {
  background: none !important;
}
html.theme-light .hcd-site-footer__bottom {
  border-top-color: rgba(0, 0, 0, 0.08);
}
html.theme-light .hcd-site-footer__bottom a {
  color: rgba(0, 0, 0, 0.7);
}
html.theme-light .hcd-site-footer__bottom a:hover {
  color: #111;
}

html.theme-light .hcd-phase-card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.05);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.02);
}
html.theme-light .hcd-phase-card h3 {
  color: #111;
}
html.theme-light .hcd-phase-card p {
  color: #444;
}
html.theme-light .hcd-phase-card__index {
  color: #8e6bff;
}

/* ── Step cards (Qualification section) ───────────────── */
.hcd-step-card {
  background: rgba(142, 107, 255, 0.05);
  border-color: rgba(142, 107, 255, 0.2);
}
.hcd-step-card--guarantee {
  background: linear-gradient(135deg, rgba(142, 107, 255, 0.15), rgba(102, 92, 255, 0.15));
  border-color: rgba(142, 107, 255, 0.4);
}
.hcd-step-label {
  color: #ffffff;
}
html.theme-light .hcd-step-card {
  background: #ffffff !important;
  border-color: rgba(0, 0, 0, 0.07) !important;
}
html.theme-light .hcd-step-card--guarantee {
  background: rgba(142, 107, 255, 0.06) !important;
  border-color: rgba(142, 107, 255, 0.2) !important;
}
html.theme-light .hcd-step-label {
  color: #111 !important;
}
html.theme-light .hcd-data-card__label {
  color: #666 !important;
}

/* ── FAQ items ─────────────────────────────────────────── */
html.theme-light .hcd-faq-item {
  background: #ffffff !important;
  border-color: rgba(0, 0, 0, 0.07) !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}
html.theme-light .hcd-faq-item h3 {
  color: #111 !important;
}
html.theme-light .hcd-faq-item p {
  color: #444 !important;
}

/* ── CTA panel ─────────────────────────────────────────── */
html.theme-light .hcd-cta-panel {
  background: #f0f4ff !important;
  border-color: rgba(142, 107, 255, 0.15) !important;
  box-shadow: 0 4px 24px rgba(0,0,0,0.04);
}
html.theme-light .hcd-cta-panel h2 {
  color: #111 !important;
}
html.theme-light .hcd-cta-panel p {
  color: #444 !important;
}
html.theme-light .hcd-cta-panel .hcd-pill {
  background: rgba(142, 107, 255, 0.1) !important;
  color: #6a4fcf !important;
  border-color: rgba(142, 107, 255, 0.2) !important;
}

/* ── Case cards ────────────────────────────────────────── */
html.theme-light .hcd-case-card {
  background: #ffffff !important;
  border-color: rgba(0, 0, 0, 0.07) !important;
  box-shadow: 0 6px 24px rgba(0,0,0,0.04);
}
html.theme-light .hcd-case-card h3,
html.theme-light .hcd-case-card h3 a {
  color: #111 !important;
}
html.theme-light .hcd-case-card p {
  color: #444 !important;
}
html.theme-light .hcd-case-card__label {
  color: #6a4fcf !important;
}

/* ── Console score bar ─────────────────────────────────── */
html.theme-light .hcd-console__score {
  background: #f3f4f8 !important;
  border-color: rgba(0, 0, 0, 0.06) !important;
}
html.theme-light .hcd-console__score strong {
  color: #111 !important;
}
html.theme-light .hcd-console__score span,
html.theme-light .hcd-console__score small {
  color: #555 !important;
}

/* ── Panel / card heading text ──────────────────────────── */
html.theme-light .hcd-panel h3,
html.theme-light .hcd-panel h3 a,
html.theme-light .hcd-phase-card h3,
html.theme-light .hcd-rich-block h3 {
  color: #111 !important;
}
html.theme-light .hcd-panel h3 a:hover {
  color: #6a4fcf !important;
}

/* ── Panel li links ─────────────────────────────────────── */
html.theme-light .hcd-panel li,
html.theme-light .hcd-panel li a {
  color: #333 !important;
}
html.theme-light .hcd-panel li a:hover {
  color: #6a4fcf !important;
}

/* ── Body copy in all card/copy contexts ────────────────── */
html.theme-light .hcd-panel p,
html.theme-light .hcd-copy-stack p,
html.theme-light .hcd-rich-block p,
html.theme-light .hcd-section-heading p,
html.theme-light .hcd-split p,
html.theme-light .hcd-lead {
  color: #444 !important;
}

/* ── Section heading h2 in plain sections ───────────────── */
html.theme-light .hcd-section-heading h2,
html.theme-light .hcd-split h2 {
  color: #111 !important;
}

/* ── Special panel (hero sidebar with data cards) ───────── */
html.theme-light .hcd-special-panel {
  background: transparent;
}
html.theme-light .hcd-special-panel .hcd-data-card {
  background: #ffffff !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}
html.theme-light .hcd-data-card__value {
  color: #222 !important;
}

/* ── Rich blocks (service/contact page content cards) ───── */
html.theme-light .hcd-rich-block {
  background: #ffffff !important;
  border-color: rgba(0, 0, 0, 0.07) !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.04);
}
html.theme-light .hcd-rich-block h2 {
  color: #111 !important;
}
html.theme-light .hcd-rich-block h3 {
  color: #1a1a1a !important;
}
html.theme-light .hcd-rich-block p {
  color: #444 !important;
}

/* ── Calendly wrapper ───────────────────────────────────── */
html.theme-light .hcd-calendly-panel {
  background: #f7f9fc !important;
  border: 1px solid rgba(0, 0, 0, 0.07);
}

/* ── Special hero background (contact/service pages) ────── */
html.theme-light .hcd-special-hero {
  background: linear-gradient(145deg, #f0f4f8 0%, #ffffff 100%) !important;
}
html.theme-light .hcd-special h1,
html.theme-light .hcd-special .hcd-lead,
html.theme-light .hcd-special .hcd-breadcrumbs,
html.theme-light .hcd-breadcrumbs a,
html.theme-light .hcd-breadcrumbs span {
  color: #111 !important;
}
html.theme-light .hcd-breadcrumbs em {
  color: #888 !important;
}

/* ── Bare h2 headings inside sections (e.g. FAQ heading) ── */
html.theme-light .hcd-section h2,
html.theme-light .hcd-special h2 {
  color: #111 !important;
}

/* ═══════════════════════════════════════════════════════════
   COMPREHENSIVE LIGHT MODE SWEEP — Final pass
   ═══════════════════════════════════════════════════════════ */

/* Console workspace dark background */
html.theme-light .hcd-console__workspace {
  background: #f0f2f7 !important;
  border-color: rgba(0, 0, 0, 0.07) !important;
}

/* Console prompt (purple bubble) — keep the gradient, it looks good on either */
/* Console composer bar */
html.theme-light .hcd-console__composer {
  background: #ffffff !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
  color: #555 !important;
}
html.theme-light .hcd-console__composer span {
  color: #555 !important;
}
html.theme-light .hcd-console__composer strong {
  background: rgba(142, 107, 255, 0.12) !important;
  color: #6a4fcf !important;
}

/* Hero card eyebrow + stat labels */
html.theme-light .hcd-hero-card__eyebrow,
html.theme-light .hcd-hero-card__stat {
  color: #7c5cbf !important;
}

/* Hero card: before overlay (glassmorphism shimmer — hide in light mode) */
html.theme-light .hcd-hero-card::before {
  background: none !important;
}

/* Site nav active/hover states */
html.theme-light .hcd-site-nav a:hover,
html.theme-light .hcd-site-nav a.current-menu-item {
  color: #6a4fcf !important;
}

/* Footer column spans (sub-labels) */
html.theme-light .hcd-footer-column span {
  color: #666 !important;
}
html.theme-light .hcd-footer-column a:hover {
  color: #6a4fcf !important;
}

/* Footer intro address/company detail text */
html.theme-light .hcd-site-footer__intro p {
  color: #555 !important;
}

/* Guide / inquiry form fields */
html.theme-light .hcd-guide-form label span {
  color: #333 !important;
}
html.theme-light .hcd-guide-form input,
html.theme-light .hcd-guide-form select,
html.theme-light .hcd-guide-form textarea {
  background: #f7f9fc !important;
  border-color: rgba(0, 0, 0, 0.12) !important;
  color: #111 !important;
}
html.theme-light .hcd-guide-form p {
  color: #555 !important;
}

/* Preview screen (if any) */
html.theme-light .hcd-preview-screen {
  background: #ffffff !important;
  border-color: rgba(0, 0, 0, 0.07) !important;
}

/* Offer stack section plain copy */
html.theme-light .hcd-offer-stack h2 {
  color: #111 !important;
}

/* Related engine links section */
html.theme-light .hcd-related-label {
  color: #444 !important;
}

/* hcd-copy-stack h2 (split sections) */
html.theme-light .hcd-copy-stack h2,
html.theme-light .hcd-copy-stack h3 {
  color: #111 !important;
}

/* Muted/dimmed text global override */
html.theme-light .hcd-muted,
html.theme-light [class*="hcd-"] small {
  color: #666 !important;
}

/* ═══════════════════════════════════════════════════════════
   BLOG — Archive, Cards, Single Post, Article Content
   ═══════════════════════════════════════════════════════════ */

/* ── Blog Hero (archive + single) ──────────────────────── */
.hcd-blog-hero {
  padding: 72px 0 48px;
  background:
    radial-gradient(circle at 18% 30%, rgba(142, 107, 255, 0.1), transparent 36%),
    radial-gradient(circle at 80% 10%, rgba(123, 215, 255, 0.07), transparent 28%);
}

.hcd-blog-hero__heading {
  margin: 16px 0 14px;
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  color: #ffffff;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hcd-blog-hero--single .hcd-blog-hero__heading,
.hcd-article-title {
  margin: 16px 0 14px;
  font-size: clamp(2rem, 3.4vw, 3.2rem);
  color: #ffffff;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

/* ── Blog archive grid ─────────────────────────────────── */
.hcd-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 8px;
}

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

@media (max-width: 580px) {
  .hcd-blog-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Post card ──────────────────────────────────────────── */
.hcd-post-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px 28px 22px;
  border-radius: 22px;
  border: 1px solid var(--hcd-border);
  background:
    linear-gradient(180deg, rgba(31, 32, 46, 0.82), rgba(15, 16, 24, 0.76)),
    linear-gradient(135deg, rgba(142, 107, 255, 0.07), transparent 42%);
  backdrop-filter: blur(20px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    var(--hcd-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
}

.hcd-post-card:hover {
  transform: translateY(-3px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 22px 48px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(142, 107, 255, 0.18);
}

.hcd-post-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.hcd-post-card__tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(142, 107, 255, 0.15);
  border: 1px solid rgba(142, 107, 255, 0.25);
  color: #c4b5ff;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}

.hcd-post-card__read-time {
  color: var(--hcd-muted);
  font-size: 0.8rem;
}

.hcd-post-card__title {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.hcd-post-card__title a {
  text-decoration: none;
  color: inherit;
  transition: color 0.18s ease;
}

.hcd-post-card__title a:hover {
  color: #c4b5ff;
}

.hcd-post-card__excerpt {
  flex: 1;
  margin: 0;
  color: #b9c5df;
  font-size: 0.9rem;
  line-height: 1.7;
}

.hcd-post-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: auto;
}

.hcd-post-card__date {
  color: var(--hcd-muted);
  font-size: 0.8rem;
}

.hcd-post-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #a78bff;
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.2s ease, color 0.2s ease;
}

.hcd-post-card__cta:hover {
  color: #c4b5ff;
  gap: 9px;
}

/* ── Blog pagination ────────────────────────────────────── */
.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}

.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid var(--hcd-border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--hcd-text);
  text-decoration: none;
  font-size: 0.88rem;
  transition: background 0.18s, border-color 0.18s;
}

.page-numbers:hover,
.page-numbers.current {
  background: rgba(142, 107, 255, 0.14);
  border-color: rgba(142, 107, 255, 0.3);
  color: #c4b5ff;
}

/* ── Single post layout ─────────────────────────────────── */
.hcd-article-header {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 780px;
}

.hcd-article-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--hcd-muted);
  font-size: 0.88rem;
}

.hcd-meta-sep {
  opacity: 0.4;
}

.hcd-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 40px;
  align-items: start;
}

@media (max-width: 900px) {
  .hcd-article-layout {
    grid-template-columns: 1fr;
  }
}

/* ── Article body content ───────────────────────────────── */
.hcd-article {
  max-width: 720px;
  color: #b9c5df;
  font-size: 1rem;
  line-height: 1.85;
}

.hcd-article h2 {
  margin: 2em 0 0.6em;
  font-size: 1.55rem;
  color: #ffffff;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.hcd-article h3 {
  margin: 1.6em 0 0.5em;
  font-size: 1.15rem;
  color: #e0d9ff;
  letter-spacing: -0.02em;
}

.hcd-article p {
  margin: 0 0 1.1em;
}

.hcd-article ul,
.hcd-article ol {
  padding-left: 1.4em;
  margin: 0 0 1.1em;
}

.hcd-article li {
  margin-bottom: 0.45em;
  color: #b9c5df;
}

.hcd-article strong {
  color: #e8e4ff;
  font-weight: 600;
}

.hcd-article a {
  color: #a78bff;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.18s;
}

.hcd-article a:hover {
  color: #c4b5ff;
}

.hcd-article-footer {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--hcd-border);
}

/* ── Sidebar elements ───────────────────────────────────── */
.hcd-article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: sticky;
  top: 96px;
}

.hcd-article-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
}

.hcd-article-cta h3 {
  margin: 4px 0 0;
  font-size: 1.05rem;
  color: #fff;
  line-height: 1.3;
}

.hcd-article-cta p {
  margin: 0;
  font-size: 0.88rem;
  color: #b9c5df;
  line-height: 1.65;
}

.hcd-related-posts {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hcd-related-posts__heading {
  margin: 0 0 10px;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hcd-muted);
}

.hcd-related-post-link {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--hcd-border);
  text-decoration: none;
  transition: background 0.18s, border-color 0.18s;
}

.hcd-related-post-link:hover {
  background: rgba(142, 107, 255, 0.06);
  border-color: rgba(142, 107, 255, 0.2);
}

.hcd-related-post-link__title {
  font-size: 0.88rem;
  color: #c8c0e8;
  line-height: 1.4;
}

.hcd-related-post-link svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--hcd-muted);
}

/* ── Blog empty state ───────────────────────────────────── */
.hcd-blog-empty {
  padding: 48px 0;
  text-align: center;
  color: var(--hcd-muted);
}

/* ═══════════════════════════════════════════════════════════
   BLOG — Light Mode Overrides
   ═══════════════════════════════════════════════════════════ */

html.theme-light .hcd-blog-hero {
  background: linear-gradient(145deg, #f0f4f8 0%, #ffffff 100%);
}

html.theme-light .hcd-blog-hero__heading,
html.theme-light .hcd-article-title {
  color: #111 !important;
}

html.theme-light .hcd-blog-hero .hcd-lead {
  color: #444 !important;
}

html.theme-light .hcd-post-card {
  background: #ffffff !important;
  border-color: rgba(0, 0, 0, 0.07) !important;
  box-shadow: 0 6px 24px rgba(0,0,0,0.05);
}

html.theme-light .hcd-post-card__title,
html.theme-light .hcd-post-card__title a {
  color: #111 !important;
}

html.theme-light .hcd-post-card__title a:hover {
  color: #6a4fcf !important;
}

html.theme-light .hcd-post-card__excerpt {
  color: #444 !important;
}

html.theme-light .hcd-post-card__tag {
  background: rgba(142, 107, 255, 0.08) !important;
  border-color: rgba(142, 107, 255, 0.2) !important;
  color: #6a4fcf !important;
}

html.theme-light .hcd-post-card__read-time,
html.theme-light .hcd-post-card__date {
  color: #888 !important;
}

html.theme-light .hcd-post-card__footer {
  border-top-color: rgba(0,0,0,0.06) !important;
}

html.theme-light .hcd-post-card__cta {
  color: #6a4fcf !important;
}

html.theme-light .hcd-post-card__cta:hover {
  color: #4e38b0 !important;
}

html.theme-light .page-numbers {
  background: #ffffff;
  border-color: rgba(0,0,0,0.1);
  color: #333;
}

html.theme-light .page-numbers:hover,
html.theme-light .page-numbers.current {
  background: rgba(142, 107, 255, 0.08);
  border-color: rgba(142, 107, 255, 0.25);
  color: #6a4fcf;
}

html.theme-light .hcd-article-meta {
  color: #666 !important;
}

html.theme-light .hcd-article h2 {
  color: #111 !important;
}

html.theme-light .hcd-article h3 {
  color: #1a1a1a !important;
}

html.theme-light .hcd-article,
html.theme-light .hcd-article p,
html.theme-light .hcd-article li {
  color: #444 !important;
}

html.theme-light .hcd-article strong {
  color: #111 !important;
}

html.theme-light .hcd-article a {
  color: #6a4fcf !important;
}

html.theme-light .hcd-article-footer {
  border-top-color: rgba(0,0,0,0.07) !important;
}

html.theme-light .hcd-article-cta {
  background: #ffffff !important;
  border-color: rgba(0,0,0,0.07) !important;
}

html.theme-light .hcd-article-cta h3 {
  color: #111 !important;
}

html.theme-light .hcd-article-cta p {
  color: #444 !important;
}

html.theme-light .hcd-related-posts__heading {
  color: #888 !important;
}

html.theme-light .hcd-related-post-link {
  background: #ffffff;
  border-color: rgba(0,0,0,0.07);
}

html.theme-light .hcd-related-post-link:hover {
  background: rgba(142, 107, 255, 0.04) !important;
  border-color: rgba(142, 107, 255, 0.18) !important;
}

html.theme-light .hcd-related-post-link__title {
  color: #333 !important;
}
