.home-page {
  background:
    radial-gradient(circle at top left, rgba(45, 116, 255, 0.12), transparent 34%),
    radial-gradient(circle at top right, rgba(90, 169, 255, 0.12), transparent 30%),
    linear-gradient(180deg, #edf5ff 0%, #f6fbff 18%, #f7fbff 100%);
}

.home-page .site-main {
  position: relative;
}

.home-page .site-main::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(29, 111, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29, 111, 255, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.35), transparent 48%);
  opacity: 0.3;
}

.hero-band--home {
  padding: 1.2rem 0 1.2rem;
}

.home-page .home-hero {
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 1.35rem;
}

.home-page .home-hero__content {
  position: relative;
  border: 1px solid rgba(29, 111, 255, 0.14);
  box-shadow: 0 22px 48px rgba(47, 92, 166, 0.1);
  background:
    radial-gradient(circle at top right, rgba(90, 169, 255, 0.14), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(239, 247, 255, 0.96));
  color: var(--text-1);
  animation: hero-rise 0.75s ease-out both;
}

.home-page .home-hero__content::after {
  content: "";
  position: absolute;
  inset: 1rem;
  border-radius: 28px;
  border: 1px solid rgba(29, 111, 255, 0.08);
  pointer-events: none;
}

.eyebrow--tech {
  background: rgba(29, 111, 255, 0.08);
  color: #1d6fff;
}

.hero-intro {
  margin: 1.1rem 0 0;
  color: #5e7390;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-page .home-hero__content h1 {
  margin-top: 0.7rem;
  max-width: 16ch;
  color: #11223c;
  font-size: clamp(1.82rem, 1.4rem + 1.45vw, 2.48rem);
  line-height: 1.14;
  font-weight: 620;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.home-page .hero-copy {
  max-width: 60ch;
  color: #4c6078;
  font-size: 0.95rem;
  line-height: 1.84;
}

.home-page .hero-actions .btn-outline-light {
  border-color: rgba(29, 111, 255, 0.14);
  color: #3f5675;
  background: rgba(255, 255, 255, 0.82);
}

.home-page .hero-actions .btn-outline-light:hover,
.home-page .hero-actions .btn-outline-light:focus {
  color: #0f223d;
  background: #eaf2ff;
  border-color: rgba(29, 111, 255, 0.24);
}

.hero-trustline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.15rem;
}

.hero-trustline span {
  display: inline-flex;
  align-items: center;
  padding: 0.52rem 0.78rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(29, 111, 255, 0.1);
  color: #4f6480;
  font-size: 0.86rem;
  font-weight: 700;
}

.home-page .metric-card {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(29, 111, 255, 0.08);
  backdrop-filter: blur(8px);
}

.home-page .metric-card strong {
  color: #11223c;
}

.home-page .metric-card span {
  color: #6e8096;
}

.quick-path-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.5rem;
}

.quick-path-card {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-height: 100%;
  padding: 1rem 1.05rem;
  border-radius: 24px;
  border: 1px solid rgba(29, 111, 255, 0.1);
  background: rgba(255, 255, 255, 0.94);
  color: #21324d;
  box-shadow: 0 14px 26px rgba(40, 74, 130, 0.06);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.quick-path-card:hover {
  transform: translateY(-3px);
  color: #11223c;
  border-color: rgba(29, 111, 255, 0.22);
  box-shadow: 0 18px 30px rgba(40, 74, 130, 0.1);
}

.quick-path-card__label {
  color: #8fd0ff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.quick-path-card strong {
  font-size: 1.15rem;
  color: #11223c;
}

.quick-path-card p {
  margin: 0;
  color: #61748b;
  font-size: 0.92rem;
  line-height: 1.7;
}

.hero-terminal {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border: 1px solid rgba(29, 111, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(239, 247, 255, 0.96)),
    #ffffff;
  color: var(--text-1);
  animation: hero-rise 0.75s ease-out 0.1s both;
}

.terminal-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.terminal-head span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #fb7185;
}

.terminal-head span:nth-child(2) {
  background: #fbbf24;
}

.terminal-head span:nth-child(3) {
  background: #34d399;
}

.terminal-head p {
  margin: 0 0 0 0.55rem;
  color: #6b7f97;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
}

.terminal-screen {
  padding: 1rem 1.05rem;
  border-radius: 24px;
  border: 1px solid rgba(29, 111, 255, 0.08);
  background: rgba(244, 249, 255, 0.96);
  font-family: "Cascadia Mono", "Consolas", monospace;
}

.terminal-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  padding: 0.2rem 0;
  color: #4f6480;
  font-size: 0.92rem;
}

.terminal-line strong {
  color: #11223c;
}

.terminal-line--command {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.45rem;
  color: #1a3c74;
  font-weight: 700;
}

.terminal-prompt {
  color: #22d3ee;
}

.spotlight-story {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1.2rem;
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(29, 111, 255, 0.1), rgba(90, 169, 255, 0.12));
  border: 1px solid rgba(29, 111, 255, 0.12);
  color: #17345e;
}

.spotlight-story:hover {
  color: #10213a;
  transform: translateY(-2px);
}

.spotlight-story__label {
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8fd0ff;
  font-weight: 700;
}

.spotlight-story h2 {
  margin: 0;
  font-size: 1.45rem;
  color: #10213a;
}

.spotlight-story p {
  margin: 0;
  color: #536a84 !important;
}

.spotlight-story__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  color: #5d738e;
  font-size: 0.9rem;
}

.signal-card-grid {
  display: grid;
  gap: 0.8rem;
}

.signal-card {
  padding: 1rem 1.05rem;
  border-radius: 20px;
  border: 1px solid rgba(29, 111, 255, 0.1);
  background: rgba(255, 255, 255, 0.96);
  color: #536a84;
}

.signal-card:hover {
  color: #17345e;
  border-color: rgba(29, 111, 255, 0.18);
}

.signal-card strong {
  display: block;
  margin-bottom: 0.4rem;
  color: #11223c;
}

.signal-card p {
  margin: 0;
  color: #61748b;
  font-size: 0.92rem;
}

.page-shell--home-grid {
  padding-top: 0.35rem;
}

.home-layout-grid {
  display: grid;
  gap: 1.3rem;
  align-items: start;
}

@media (min-width: 1100px) {
  .home-layout-grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.72fr);
  }
}

.home-curation {
  animation: hero-rise 0.75s ease-out 0.18s both;
}

.home-index-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 900px) {
  .home-index-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.home-index-card {
  padding: 1.3rem;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 255, 0.96));
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.08);
}

.home-index-card__header,
.dispatch-panel__header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.dispatch-panel {
  animation: hero-rise 0.75s ease-out 0.28s both;
}

.dispatch-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.dispatch-item {
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
  padding: 1rem 1.05rem;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(247, 250, 255, 0.96), rgba(239, 246, 255, 0.9));
  border: 1px solid rgba(148, 163, 184, 0.16);
  color: #122338;
}

.dispatch-item:hover {
  color: #08111f;
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.08);
}

.dispatch-item__meta {
  color: #0f6fd0;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dispatch-item strong {
  font-size: 1.04rem;
}

.dispatch-item p {
  margin: 0;
  color: #546274;
  font-size: 0.94rem;
  line-height: 1.7;
}

.feature-grid .resource-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 255, 0.94));
  border-color: rgba(148, 163, 184, 0.18);
  box-shadow: 0 20px 36px rgba(15, 23, 42, 0.08);
}

.feature-grid .resource-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 48px rgba(15, 23, 42, 0.12);
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1099.98px) {
  .home-page .home-hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .hero-band--home {
    padding-top: 1.1rem;
  }

  .quick-path-grid {
    grid-template-columns: 1fr;
  }

  .home-index-card__header,
  .dispatch-panel__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .home-page .home-hero__content h1 {
    max-width: none;
    font-size: clamp(1.68rem, 5.8vw, 2.1rem);
    line-height: 1.18;
  }
}
