:root {
  --home-accent-blue: #4c92ff;
  --home-accent-violet: #b18cff;
}

/* ---------------------------
   Homepage: Hero Refresh
---------------------------- */
.hero.hero-claims {
  padding: clamp(1.25rem, 4.2vw, 3.15rem) clamp(1.05rem, 4vw, 2.7rem);
}

.hero-claims::before {
  opacity: 0.82;
  background-size: 240% 240%;
  animation-duration: 26s;
}

.hero-claims::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(900px 420px at 50% 18%, rgba(255, 255, 255, 0.06), transparent 62%),
    radial-gradient(740px 460px at 10% 10%, rgba(52, 198, 191, 0.18), transparent 60%),
    radial-gradient(820px 520px at 92% 0%, rgba(255, 138, 76, 0.16), transparent 60%);
  mix-blend-mode: screen;
  opacity: 0.6;
}

.claim-rotator {
  border-radius: 26px;
  border-color: rgba(157, 176, 199, 0.32);
  background-image: linear-gradient(155deg, rgba(13, 22, 34, 0.96) 0%, rgba(10, 17, 28, 0.99) 100%);
}

.claim-rotator::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 18% 25%, rgba(255, 255, 255, 0.06), transparent 52%);
}

.claim-line {
  margin: 0.4rem 0 0;
  max-width: 22ch;
  font-size: clamp(1.7rem, 4.7vw, 3.35rem);
  letter-spacing: -0.02em;
}

.hero-support {
  max-width: 62ch;
}

.btn.btn-sm {
  min-height: 40px;
  padding: 0.55rem 0.95rem;
  font-size: 0.92rem;
  border-radius: 14px;
}

/* ---------------------------
   Homepage: Problems Refresh
---------------------------- */
.operational-problems {
  border: 1px solid rgba(152, 178, 206, 0.16);
  border-radius: 30px;
  background: rgba(8, 14, 22, 0.44);
  padding: clamp(1.05rem, 3.2vw, 1.7rem);
}

.section-split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1.1rem;
  align-items: start;
}

.section-copy {
  align-self: center;
  position: relative;
  padding: 1.05rem 1.1rem;
  border-radius: 22px;
  border: 1px solid rgba(152, 178, 206, 0.14);
  background: rgba(10, 17, 26, 0.9);
  box-shadow: inset 0 1px 0 rgba(227, 241, 255, 0.04);
}

.section-copy .section-kicker {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  color: rgba(52, 198, 191, 0.92);
}

.section-copy h2 {
  margin-bottom: 0.65rem;
  max-width: 18ch;
}

.section-copy .section-intro {
  margin: 0;
  max-width: 54ch;
  color: rgba(232, 238, 248, 0.74);
}

.section-copy-actions {
  margin-top: 1rem;
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

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

.problems-grid .problem-card {
  text-align: left;
}

.problems-grid .belief {
  justify-items: start;
  gap: 0.85rem;
  min-height: 0;
  padding: 1.2rem 1.15rem 1.15rem;
  border-radius: 22px;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.04), transparent 55%),
    linear-gradient(180deg, rgba(52, 198, 191, 0.06), rgba(52, 198, 191, 0) 40%),
    linear-gradient(160deg, var(--panel) 0%, var(--panel-2) 100%);
  transition: transform 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.problems-grid .belief:hover {
  transform: translateY(-2px);
  border-color: rgba(152, 178, 206, 0.34);
}

.problem-icon {
  width: 84px;
  height: 84px;
  border-radius: 22px;
  position: relative;
  overflow: hidden;
  border-color: rgba(152, 178, 206, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(227, 241, 255, 0.06),
    0 18px 34px rgba(2, 8, 16, 0.34);
}

.problem-icon::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: conic-gradient(
    from 220deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.12) 10%,
    rgba(255, 255, 255, 0) 22%,
    rgba(255, 255, 255, 0) 55%,
    rgba(255, 255, 255, 0.16) 68%,
    rgba(255, 255, 255, 0) 78%,
    rgba(255, 255, 255, 0) 100%
  );
  opacity: 0.55;
  animation: problemSpin 14s linear infinite;
  z-index: 0;
}

.problem-icon::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background:
    radial-gradient(circle at 28% 28%, rgba(255, 255, 255, 0.12), transparent 55%),
    linear-gradient(160deg, rgba(18, 29, 43, 0.98) 0%, rgba(12, 20, 31, 0.92) 100%);
  z-index: 0;
}

.problem-icon svg {
  width: 34px;
  height: 34px;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.35));
  animation: iconBreathe 5.4s ease-in-out infinite;
}

.problem-icon svg * {
  stroke-dasharray: 80;
  stroke-dashoffset: 80;
}

.operational-problems.in-view .problem-icon svg * {
  animation: iconDraw 2.2s ease forwards;
}

.operational-problems.in-view .problem-card:nth-child(2) .problem-icon svg * {
  animation-delay: 120ms;
}

.operational-problems.in-view .problem-card:nth-child(3) .problem-icon svg * {
  animation-delay: 220ms;
}

.operational-problems.in-view .problem-card:nth-child(4) .problem-icon svg * {
  animation-delay: 320ms;
}

.problem-icon[data-tone="teal"] {
  color: var(--teal);
}

.problem-icon[data-tone="orange"] {
  color: var(--brand);
}

.problem-icon[data-tone="blue"] {
  color: var(--home-accent-blue);
}

.problem-icon[data-tone="violet"] {
  color: var(--home-accent-violet);
}

.problems-grid .belief h3 {
  font-size: 1.14rem;
}

.problems-grid .belief p {
  font-size: 0.92rem;
  color: rgba(232, 238, 248, 0.7);
}

/* ---------------------------
   Homepage: Process Refresh
---------------------------- */
.process-shell {
  position: relative;
  width: min(100%, 1180px);
  margin: 0 auto;
}

#process .section-kicker {
  font-size: 0.78rem;
  color: rgba(52, 198, 191, 0.92);
  margin-bottom: 0.5rem;
}

#process .section-head-sm {
  font-size: clamp(1.12rem, 2.2vw, 1.55rem);
  max-width: 44ch;
}

.process-rail {
  position: absolute;
  left: 1.05rem;
  right: 1.05rem;
  top: 42px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(52, 198, 191, 0.6), rgba(255, 138, 76, 0.55), rgba(76, 146, 255, 0.5));
  opacity: 0.35;
  z-index: 0;
}

.process-grid {
  position: relative;
  z-index: 1;
}

.process-card {
  border-radius: 22px;
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.035), transparent 55%),
    linear-gradient(160deg, var(--panel) 0%, var(--panel-2) 100%);
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.process-card:hover {
  transform: translateY(-2px);
  border-color: rgba(152, 178, 206, 0.34);
}

.process-num {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border-color: rgba(152, 178, 206, 0.3);
  background:
    radial-gradient(circle at 25% 28%, rgba(255, 255, 255, 0.06), transparent 55%),
    linear-gradient(150deg, rgba(19, 30, 44, 0.94) 0%, rgba(16, 25, 38, 0.92) 100%);
  box-shadow: inset 0 1px 0 rgba(227, 241, 255, 0.05);
}

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

@keyframes problemSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes iconDraw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes iconBreathe {
  0%,
  100% {
    transform: translateY(0) scale(1);
    opacity: 0.95;
  }
  50% {
    transform: translateY(-2px) scale(1.02);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .problem-icon::before,
  .problem-icon svg,
  .problem-icon svg *,
  .hero-claims::before {
    animation: none !important;
  }
}

@media (max-width: 1080px) {
  .section-split {
    grid-template-columns: 1fr;
  }

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

  .section-copy h2 {
    max-width: none;
  }
}

@media (max-width: 680px) {
  .problems-grid {
    grid-template-columns: 1fr;
  }

  .process-rail {
    display: none;
  }
}
