/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

:root {
  color-scheme: dark;
}

.landing-page {
  background:
    linear-gradient(180deg, rgba(24, 24, 27, 0.72), rgba(9, 9, 11, 0) 38rem),
    linear-gradient(90deg, rgba(14, 165, 233, 0.06), rgba(9, 9, 11, 0) 24rem),
    rgb(9 9 11);
}

.landing-section {
  padding-bottom: 4.5rem;
  padding-top: 4.5rem;
}

.landing-section-hero {
  padding-bottom: 5.25rem;
  padding-top: 4.75rem;
}

.landing-header {
  background: rgba(9, 9, 11, 0.82);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.06);
}

.landing-footer {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0)),
    rgb(9 9 11);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.landing-kicker {
  color: rgb(113 113 122);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: uppercase;
}

.editorial-title {
  color: white;
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: 3rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.06;
}

.editorial-title.compact {
  font-size: 2.25rem;
}

.editorial-lede {
  color: rgb(161 161 170);
  font-size: 1.25rem;
  line-height: 1.8;
}

.color-guide-panel {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.046), rgba(255, 255, 255, 0.018));
  border-radius: 8px;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.14);
  padding: 1.25rem;
}

.color-guide-panel.muted {
  background: linear-gradient(135deg, rgba(39, 39, 42, 0.36), rgba(24, 24, 27, 0.18));
  box-shadow: none;
}

.editorial-rail {
  padding-left: 1.25rem;
  position: relative;
}

.editorial-rail::before {
  background: linear-gradient(180deg, rgba(245, 245, 245, 0.26), rgba(14, 165, 233, 0.46), rgba(20, 184, 166, 0.18), transparent);
  bottom: 0.25rem;
  content: "";
  left: 0;
  position: absolute;
  top: 0.25rem;
  width: 1px;
}

.rail-list-item {
  padding-left: 1rem;
  position: relative;
}

.rail-list-item::before {
  background: rgba(125, 211, 252, 0.68);
  border-radius: 999px;
  content: "";
  height: 0.25rem;
  left: 0;
  position: absolute;
  top: 0.55rem;
  width: 0.25rem;
}

.pipeline-brief-panel {
  background: rgba(9, 9, 11, 0.1);
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.025);
  padding: 1.1rem 1.2rem;
}

.pipeline-brief-panel.editorial-rail {
  padding-left: 1.2rem;
}

.pipeline-brief-panel.editorial-rail::before {
  display: none;
}

.pipeline-brief-body {
  display: grid;
  gap: 1.05rem;
  margin-top: 1rem;
  padding-right: 0.35rem;
}

.pipeline-step-list {
  display: grid;
  gap: 0.35rem;
}

.pipeline-step {
  background: transparent;
  border-radius: 0;
  grid-template-columns: 0.35rem 1rem minmax(0, 1fr) 3.5rem;
  min-height: 1.8rem;
  padding: 0.2rem 0;
}

.pipeline-step::before {
  display: none;
}

.pipeline-dot {
  background: rgba(125, 211, 252, 0.72);
  border-radius: 999px;
  height: 0.25rem;
  width: 0.25rem;
}

.pipeline-status {
  background: transparent;
  border-radius: 999px;
  color: rgb(161 161 170);
  font-size: 0.7rem;
  padding: 0;
  text-align: right;
}

.pipeline-status.done {
  color: rgb(153 246 228);
}

.color-guide-band {
  background:
    linear-gradient(90deg, rgba(14, 165, 233, 0.075), rgba(255, 255, 255, 0.028) 42%, rgba(20, 184, 166, 0.052)),
    rgba(24, 24, 27, 0.34);
}

.galaxy-section {
  overflow: hidden;
  position: relative;
}

.galaxy-section::before {
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.22) 1px, transparent 0),
    linear-gradient(115deg, rgba(14, 165, 233, 0.12), transparent 30%, rgba(20, 184, 166, 0.08) 72%, transparent);
  background-size: 58px 58px, 100% 100%;
  content: "";
  inset: 0;
  mask-image: linear-gradient(180deg, black, transparent 76%);
  opacity: 0.34;
  pointer-events: none;
  position: absolute;
  z-index: 0;
}

.galaxy-section > * {
  position: relative;
  z-index: 1;
}

.landing-hero-section,
.home-hero-section {
  background:
    linear-gradient(180deg, rgba(9, 9, 11, 0), rgba(9, 9, 11, 0.7) 92%),
    linear-gradient(115deg, rgba(14, 165, 233, 0.18), rgba(255, 255, 255, 0.025) 38%, rgba(20, 184, 166, 0.12) 74%, rgba(9, 9, 11, 0));
}

.landing-hero-section::before,
.home-hero-section::before {
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.48) 1px, transparent 0),
    radial-gradient(circle at 1px 1px, rgba(125, 211, 252, 0.34) 1px, transparent 0),
    linear-gradient(128deg, transparent 6%, rgba(125, 211, 252, 0.13) 24%, transparent 42%, rgba(20, 184, 166, 0.09) 68%, transparent 88%);
  background-position: 0 0, 22px 18px, 0 0;
  background-size: 56px 56px, 104px 104px, 100% 100%;
  mask-image: linear-gradient(180deg, black 8%, rgba(0, 0, 0, 0.86) 66%, transparent 100%);
  opacity: 0.74;
}

.landing-hero-section::after,
.home-hero-section::after {
  background:
    linear-gradient(100deg, transparent 8%, rgba(255, 255, 255, 0.22) 10%, rgba(125, 211, 252, 0.28) 11%, transparent 18%),
    linear-gradient(112deg, transparent 52%, rgba(20, 184, 166, 0.18) 54%, rgba(255, 255, 255, 0.12) 55%, transparent 63%);
  content: "";
  inset: 0;
  opacity: 0.46;
  pointer-events: none;
  position: absolute;
  z-index: 0;
}

.galaxy-rule {
  background: linear-gradient(90deg, rgba(125, 211, 252, 0.56), rgba(255, 255, 255, 0.12), transparent);
  height: 1px;
}

.home-system-section {
  background:
    linear-gradient(90deg, rgba(14, 165, 233, 0.04), rgba(255, 255, 255, 0.018) 48%, rgba(20, 184, 166, 0.038)),
    rgba(24, 24, 27, 0.18);
}

.home-system-section::before {
  opacity: 0.18;
}

.home-signal-item {
  min-height: 8rem;
  padding-left: 1.35rem;
  position: relative;
}

.home-signal-item::before {
  background: linear-gradient(180deg, rgba(245, 245, 245, 0.64), rgba(14, 165, 233, 0.5), rgba(20, 184, 166, 0.28));
  bottom: 0.35rem;
  content: "";
  left: 0;
  position: absolute;
  top: 0.35rem;
  width: 1px;
}

.home-signal-index {
  color: rgba(125, 211, 252, 0.66);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.75rem;
}

.lead-form-shell {
  background:
    linear-gradient(145deg, rgba(39, 39, 42, 0.72), rgba(24, 24, 27, 0.5)),
    rgba(24, 24, 27, 0.74);
  border-radius: 8px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    inset 0 0 0 1px rgba(255, 255, 255, 0.055),
    0 24px 80px rgba(0, 0, 0, 0.18);
  padding: 1.25rem;
  position: relative;
}

.lead-form-shell::before {
  background: linear-gradient(90deg, rgba(125, 211, 252, 0.72), rgba(20, 184, 166, 0.28), transparent);
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.blog-entry {
  padding: 1.35rem 0 1.35rem 1.35rem;
  position: relative;
  transition: color 180ms ease, transform 180ms ease;
}

.blog-entry::before {
  background: linear-gradient(180deg, rgba(125, 211, 252, 0.68), rgba(20, 184, 166, 0.24));
  bottom: 1.65rem;
  content: "";
  left: 0;
  position: absolute;
  top: 1.65rem;
  width: 1px;
}

.blog-entry:hover {
  transform: translateX(2px);
}

.blog-entry.featured {
  padding-bottom: 2rem;
  padding-top: 0;
}

.blog-entry.featured::before {
  top: 0.45rem;
}

.editorial-row {
  padding: 0.2rem 0 0.2rem 1.25rem;
  position: relative;
  transition: color 180ms ease, transform 180ms ease;
}

.editorial-row::before {
  background: linear-gradient(180deg, rgba(245, 245, 245, 0.72), rgba(14, 165, 233, 0.48), rgba(20, 184, 166, 0.36));
  border-radius: 999px;
  bottom: 1rem;
  content: "";
  left: 0;
  position: absolute;
  top: 1rem;
  width: 2px;
}

.editorial-row:hover {
  transform: translateY(-1px);
}

.editorial-link {
  border-radius: 8px;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.editorial-link:hover {
  background: rgba(255, 255, 255, 0.045);
  transform: translateY(-1px);
}

.editorial-pill {
  background: rgba(255, 255, 255, 0.075);
  border-radius: 999px;
  color: rgb(212 212 216);
  transition: background 180ms ease, color 180ms ease;
}

.editorial-pill:hover,
.editorial-pill.active {
  background: rgb(244 244 245);
  color: rgb(9 9 11);
}

.cta-primary,
.cta-secondary,
.cta-ghost {
  border-radius: 6px;
  display: inline-flex;
  font-size: 0.875rem;
  font-weight: 500;
  justify-content: center;
  line-height: 1.25rem;
  padding: 0.625rem 1rem;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.cta-primary {
  background: white;
  color: rgb(9 9 11);
}

.cta-primary:hover {
  background: rgb(228 228 231);
  transform: translateY(-1px);
}

.cta-secondary {
  background: rgba(255, 255, 255, 0.09);
  color: white;
}

.cta-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-1px);
}

.cta-ghost {
  color: rgb(212 212 216);
}

.cta-ghost:hover {
  background: rgba(255, 255, 255, 0.055);
  color: white;
}

.landing-field {
  background: rgba(9, 9, 11, 0.96);
  border: 0;
  border-radius: 6px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.14),
    0 1px 0 rgba(255, 255, 255, 0.03);
  color: white;
  outline: none;
  transition: box-shadow 160ms ease, background 160ms ease;
}

.landing-field::placeholder {
  color: rgb(113 113 122);
}

.landing-field:focus {
  background: rgb(9 9 11);
  box-shadow: inset 0 0 0 1px rgba(125, 211, 252, 0.54), 0 0 0 3px rgba(14, 165, 233, 0.14);
}

.reveal-soft {
  animation: landing-rise 480ms ease-out both;
}

.reveal-delay-1 {
  animation-delay: 70ms;
}

.reveal-delay-2 {
  animation-delay: 140ms;
}

.reveal-delay-3 {
  animation-delay: 210ms;
}

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

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

@media (min-width: 768px) {
  .landing-section {
    padding-bottom: 5.75rem;
    padding-top: 5.75rem;
  }

  .landing-section-hero {
    padding-bottom: 6.5rem;
    padding-top: 5.75rem;
  }

  .editorial-title {
    font-size: 4.5rem;
  }

  .editorial-title.compact {
    font-size: 3.75rem;
  }
}

.article-page {
  background:
    linear-gradient(180deg, rgba(24, 24, 27, 0.62), rgba(9, 9, 11, 0) 28rem),
    rgb(9 9 11);
  color: rgb(244 244 245);
}

.article-layout {
  display: grid;
  gap: 3rem;
}

.article-layout-content {
  max-width: 46rem;
  min-width: 0;
}

.article-body {
  color: rgb(212 212 216);
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: 1.27rem;
  line-height: 1.72;
  max-width: 46rem;
}

.article-body h2 {
  color: white;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.25;
  margin-top: 3rem;
  scroll-margin-top: 7rem;
}

.article-body h2:first-child {
  margin-top: 0;
}

.article-body h3 {
  color: rgb(244 244 245);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.4;
  margin-top: 2rem;
  scroll-margin-top: 7rem;
}

.article-body p {
  margin-top: 1.35rem;
}

.article-body ul {
  list-style: disc;
  margin-top: 1.25rem;
  padding-left: 1.4rem;
}

.article-body li {
  color: rgb(212 212 216);
  margin-top: 0.65rem;
  padding-left: 0.2rem;
}

@media (min-width: 1024px) {
  .article-layout {
    align-items: start;
    grid-template-columns: minmax(0, 46rem) minmax(2rem, 1fr) 17.5rem;
  }

  .article-toc {
    grid-column: 3;
    position: sticky;
    top: 6rem;
  }
}
