/**
 * Umbra — landing sections (catalog-style layout)
 */

.um-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: var(--nav-h) 0 4rem;
  overflow: hidden;
}

#hero-backdrop.um-hero-backdrop {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--void);
  transform: translate3d(var(--parallax-x, 0px), var(--parallax-y, 0px), 0);
  will-change: transform;
}

#hero-webgl.um-hero-gl {
  position: absolute;
  inset: 0;
  mix-blend-mode: screen;
}

.um-hero-backdrop__svg-wrap {
  position: absolute;
  inset: 0;
  transform: translate3d(calc(var(--parallax-x, 0px) * -0.42), calc(var(--parallax-y, 0px) * -0.36), 0);
}

.um-hero-backdrop__svg {
  width: 100%;
  height: 100%;
  opacity: 0.94;
}

.hero-backdrop__path {
  stroke-dasharray: 0.12 0.06;
  animation: um-dash 28s linear infinite;
}

.hero-backdrop__path--b {
  animation-duration: 36s;
  animation-direction: reverse;
  opacity: 0.52;
}

.hero-backdrop__path--c {
  animation-duration: 42s;
  opacity: 0.32;
}

@keyframes um-dash {
  to {
    stroke-dashoffset: -1;
  }
}

.um-hero-scan {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.4;
  pointer-events: none;
  mask-image: linear-gradient(180deg, transparent 0%, black 40%, black 60%, transparent 100%);
}

.um-hero-vig {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background:
    linear-gradient(115deg, rgba(18, 6, 2, 0.96) 0%, rgba(40, 16, 6, 0.45) 42%, transparent 58%),
    radial-gradient(ellipse 100% 90% at 75% 35%, transparent, rgba(0, 0, 0, 0.78));
}

.um-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(296px, 400px);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  position: relative;
  z-index: 5;
}

@media (max-width: 1024px) {
  .um-hero-grid {
    grid-template-columns: 1fr;
  }
}

.um-hero__kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.25rem;
}

.um-hero-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--teal-bright);
  box-shadow: 0 0 20px rgba(251, 99, 6, 0.65);
}

.um-hero-lines {
  margin-bottom: 1.38rem;
}

.um-hero-lines .um-line-main {
  font-family: var(--font-display);
  display: block;
  font-weight: 800;
  font-size: clamp(2.4rem, 6.8vw, 4rem);
  line-height: 1.03;
  letter-spacing: -0.042em;
  color: var(--text);
}

.um-hero-lines .um-line-sub {
  margin-top: 0.35em;
  display: block;
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  font-weight: 500;
  max-width: 52ch;
  line-height: 1.58;
  background: linear-gradient(105deg, #fdba74, var(--teal-bright));
  background-size: 150% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.um-hero-blurb {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.74;
  max-width: 50ch;
  margin-bottom: 2rem;
}

.um-hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.um-statboard {
  padding: 1.375rem;
  border-radius: var(--r-lg);
  border: 1px solid rgba(251, 99, 6, 0.15);
  background: rgba(12, 16, 24, 0.85);
  backdrop-filter: blur(18px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 24px 64px rgba(0, 0, 0, 0.5);
}

.um-stat-metrics {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.um-stat-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.8125rem;
  gap: 1rem;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.045);
}

.um-stat-row:last-child {
  border-bottom: none;
}

.um-stat-row dt {
  color: var(--dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.6425rem;
  font-weight: 700;
}

.um-stat-row dd {
  font-weight: 500;
}

.um-stat-hash {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  color: var(--dim);
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.um-stat-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.125rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
}

.um-stat-live {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 12px #4ade80;
}

.um-stat-ping {
  font-family: var(--font-mono);
  color: var(--teal-bright);
}

.um-marquee {
  padding-bottom: clamp(52px, 10vw, 88px);
}

.um-marquee-sheet {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: center;
  padding: 1rem 1.25rem;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.um-marquee-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--dim);
}

.um-marquee-loop {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.um-marquee-loop-inner {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: um-roll 48s linear infinite;
}

@keyframes um-roll {
  to {
    transform: translateX(-50%);
  }
}

.um-marquee-loop-inner span {
  flex-shrink: 0;
  padding: 0.5rem 0.925rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.7825rem;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.25);
}

@media (max-width: 680px) {
  .um-marquee-sheet {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 14px;
  }

  .um-marquee-loop-inner {
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    animation-duration: 90s;
  }
}

@media (prefers-reduced-motion: reduce) {
  .um-marquee-loop-inner {
    animation: none;
    flex-wrap: wrap;
    width: auto;
  }
}

.um-logo-strip-title {
  text-align: center;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 1.5rem;
}

.um-logo-strip {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(14px, 3vw, 28px);
}

.um-logo-pill {
  padding: 0.75rem 1.375rem;
  border-radius: var(--r-sm);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8125rem;
  font-weight: 700;
  color: rgba(241, 245, 249, 0.55);
}

/* —— Features (defence-grade band + bento) —— */
.um-section--features {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 12vw, 120px) 0;
  border-top: 1px solid rgba(251, 99, 6, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.um-feat-atmo {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 88% 58% at 16% 32%, rgba(251, 99, 6, 0.09), transparent 56%),
    radial-gradient(ellipse 58% 48% at 90% 78%, rgba(194, 65, 12, 0.07), transparent 54%),
    linear-gradient(180deg, rgba(10, 8, 7, 0.97) 0%, rgba(17, 15, 14, 0.5) 45%, rgba(10, 8, 7, 0.94) 100%);
}

.um-feat-atmo::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image: repeating-linear-gradient(
    -14deg,
    transparent,
    transparent 10px,
    rgba(251, 99, 6, 0.035) 10px,
    rgba(251, 99, 6, 0.035) 11px
  );
  mask-image: linear-gradient(
    180deg,
    black 0%,
    transparent 24%,
    transparent 68%,
    rgba(0, 0, 0, 0.75) 100%
  );
}

.um-feat-shell {
  position: relative;
  z-index: 1;
}

.um-feat-head {
  text-align: center;
  margin-bottom: clamp(36px, 6vw, 58px);
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

.um-feat-deck {
  margin-top: 1.2rem;
  font-size: 0.8125rem;
  line-height: 1.68;
  letter-spacing: 0.04em;
  font-weight: 600;
  color: rgba(168, 162, 158, 0.98);
  max-width: 68ch;
  margin-left: auto;
  margin-right: auto;
}

.um-feat-grid {
  display: grid;
  gap: 18px;
}

.um-feat-grid--bento {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

@media (min-width: 960px) {
  .um-feat-grid--bento > article:nth-child(1) {
    grid-column: 1 / 3;
    grid-row: 1;
  }

  .um-feat-grid--bento > article:nth-child(2) {
    grid-column: 3;
    grid-row: 1;
  }

  .um-feat-grid--bento > article:nth-child(3) {
    grid-column: 1;
    grid-row: 2;
  }

  .um-feat-grid--bento > article:nth-child(4) {
    grid-column: 2;
    grid-row: 2;
  }

  .um-feat-grid--bento > article:nth-child(5) {
    grid-column: 3;
    grid-row: 2;
  }
}

@media (max-width: 959px) {
  .um-feat-grid--bento {
    grid-template-columns: 1fr;
  }

  .um-feat-grid--bento > article:nth-child(n) {
    grid-column: auto;
    grid-row: auto;
  }
}

.um-feat-cell {
  padding: clamp(22px, 4vw, 34px);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.um-feat-cell--hero {
  position: relative;
  border-left: 3px solid var(--teal-bright);
  background: linear-gradient(168deg, rgba(255, 255, 255, 0.045) 0%, rgba(17, 15, 14, 0.42) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 22px 56px rgba(0, 0, 0, 0.28);
}

.um-feat-cell--tile {
  min-height: 0;
}

.um-feat-chiprow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0 0 0.85rem;
  padding: 0;
}

.um-feat-chip {
  display: inline-block;
  font-size: 0.5875rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 7px;
  border: 1px solid rgba(251, 99, 6, 0.24);
  background: rgba(251, 99, 6, 0.08);
  color: rgba(253, 230, 200, 0.96);
  font-family: var(--font-mono);
}

.um-feat-ico {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.2);
}

.um-feat-ico--lg {
  width: 72px;
  height: 72px;
  margin-bottom: 1.15rem;
  border-radius: 16px;
  border-color: rgba(251, 99, 6, 0.22);
  background: radial-gradient(circle at 32% 24%, rgba(251, 147, 60, 0.12), rgba(0, 0, 0, 0.35));
}

.um-feat-cell--hero .um-feat-chiprow {
  margin-bottom: 1rem;
}

.um-feat-headline {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 0.62rem;
  font-size: 1.0875rem;
}

.um-feat-cell--hero .um-feat-headline {
  font-size: clamp(1.26rem, 2.75vw, 1.8125rem);
}

.um-feat-text {
  font-size: 0.9175rem;
  color: var(--muted);
  line-height: 1.62;
}

.um-feat-cell--hero .um-feat-text + .um-feat-text {
  margin-top: 0.72rem;
}

.um-feat-detail {
  margin: 0.88rem 0 0;
  padding-left: 1.125rem;
  list-style: disc;
  list-style-position: outside;
  font-size: 0.8375rem;
  line-height: 1.58;
  color: rgba(214, 211, 209, 0.96);
}

.um-feat-detail li + li {
  margin-top: 0.45rem;
}

.um-feat-cell--hero .um-feat-detail {
  margin-top: 1rem;
  margin-bottom: 0;
}

.um-feat-proof {
  padding-top: 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  line-height: 1.55;
  color: rgba(168, 162, 158, 0.98);
}

.um-feat-cell--hero .um-feat-proof {
  margin-top: 1.05rem;
  padding-top: 0;
}

.um-feat-cell--hero .um-feat-detail + .um-feat-proof {
  margin-top: 1.2rem;
}

.um-feat-cell--tile .um-feat-proof {
  margin-top: auto;
  padding-top: 0.85rem;
}

.um-feat-cell--hero .um-feat-cta.um-btn {
  margin-top: auto;
}

@media (prefers-reduced-motion: reduce) {
  .um-feat-atmo::after {
    opacity: 0.09;
  }
}

.um-proto-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 2rem;
}

.um-proto-badge {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 0.8rem 1.05rem;
}

.um-tag {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 600;
  padding: 3px 6px;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--teal-bright);
}

.um-svc-plain {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1000px) {
  .um-svc-plain {
    grid-template-columns: repeat(2, 1fr);
  }
}

.um-svc-cell {
  padding: 24px;
}

.um-price-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.125rem;
  max-width: 960px;
  margin-inline: auto;
}

.um-tier-wrap {
  position: relative;
  padding-bottom: 0.625rem;
}

.um-tier-wrap.um-tier {
  padding: 2rem 1.5rem 2rem;
  text-align: center;
}

.um-tier-num span {
  font-size: 0.55em;
  font-weight: 700;
  opacity: 0.78;
}

.um-tier-num {
  font-size: clamp(2rem, 4vw, 2.45rem);
  font-weight: 900;
}

.um-tier-num--custom {
  font-size: 1.78rem;
}

.um-tier-notes {
  color: var(--muted);
  font-size: 0.8825rem;
  margin-bottom: 1rem;
}

.um-tier-label {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3875rem;
  margin-bottom: 0.4rem;
}

.um-tier-badge {
  position: absolute;
  top: -11px;
  left: 50%;
  translate: -50%;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.6275rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  background: linear-gradient(120deg, #c2410c, #ea580c);
}

.um-tier--best.um-sheet {
  border-color: rgba(251, 99, 6, 0.32);
}

.um-price-note {
  text-align: center;
  margin-top: 24px;
  font-size: 0.8925rem;
  color: var(--dim);
}

.um-price-note a {
  color: var(--teal-bright);
}

.um-nl-block {
  border-top: 1px solid var(--line);
  background: radial-gradient(circle at 12% -10%, rgba(251, 99, 6, 0.07), transparent 62%);
}

.um-subscribe {
  max-width: 520px;
  margin-top: 1.125rem;
}

.um-nl-note {
  font-size: 0.8125rem;
  color: var(--dim);
  margin-bottom: 0.75rem;
}

.um-nl-row {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}

.um-nl-input {
  flex: 1;
  min-width: 200px;
  padding: 0.7825rem 1rem;
  border-radius: var(--r-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.3);
  color: var(--text);
}

@media (prefers-reduced-motion: reduce) {
  .hero-backdrop__path,
  .hero-backdrop__path--b,
  .hero-backdrop__path--c {
    animation: none !important;
  }
}
