*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  letter-spacing: 0 !important;
}

html {
  min-height: 100%;
  overflow-x: hidden;
  scrollbar-color: rgba(148, 163, 184, 0.42) transparent;
  scrollbar-width: thin;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.36);
  border: 2px solid transparent;
  border-radius: 999px;
  background-clip: content-box;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(203, 213, 225, 0.5);
  background-clip: content-box;
}

body {
  min-width: 320px;
  min-height: 100%;
  overflow-x: hidden;
  color: rgb(181, 186, 194);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background:
    linear-gradient(180deg, rgba(5, 7, 8, 0.82), rgba(5, 7, 8, 0.96) 36rem, #050708),
    #050708;
}

::selection {
  background: rgba(245, 158, 11, 0.32);
  color: rgb(255, 251, 235);
}

button,
input,
select {
  font: inherit;
}

button,
select {
  text-transform: none;
}

.site-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 0%, rgba(16, 185, 129, 0.14), transparent 28rem),
    radial-gradient(circle at 86% 8%, rgba(245, 158, 11, 0.12), transparent 24rem),
    linear-gradient(180deg, rgba(5, 7, 8, 0.2), #050708 82%);
  opacity: 1;
}

.site-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, black, transparent 72%);
}

.site-nav {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 7, 8, 0.78);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1560px;
  margin: 0 auto;
  padding: 1.25rem 1rem 2.5rem;
}

@media (min-width: 640px) {
  .shell {
    padding-right: 1.5rem;
    padding-left: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .shell {
    padding-right: 2rem;
    padding-left: 2rem;
  }
}

.nav-link,
.button,
.live-pill,
.map-chip-button,
.badge,
.tool-link,
select,
input,
.status-item,
.snapshot-item,
.timeline-item,
.meta-card {
  border-radius: 0.375rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-link,
.button,
.live-pill,
.map-chip-button,
.badge {
  align-items: center;
  min-width: 0;
}

.nav-link {
  padding: 0.45rem 0.75rem;
  background: rgba(255, 255, 255, 0.035);
  color: rgb(190, 196, 204);
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.nav-link:hover {
  border-color: rgba(245, 158, 11, 0.38);
  background: rgba(245, 158, 11, 0.09);
  color: rgb(255, 237, 213);
}

.button {
  display: inline-flex;
  min-height: 2rem;
  padding: 0.4rem 0.78rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025));
  color: rgb(232, 234, 238);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.button:hover,
.map-chip-button:hover,
.map-chip-button.active {
  border-color: rgba(245, 158, 11, 0.48);
  background: rgba(245, 158, 11, 0.1);
  color: rgb(255, 247, 237);
}

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

.live-pill {
  display: inline-flex;
  min-height: 2rem;
  padding: 0.4rem 0.78rem;
  border-color: rgba(52, 211, 153, 0.26);
  background: rgba(16, 185, 129, 0.12);
  color: rgb(187, 247, 208);
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

.hero,
.dashboard,
.board-stack,
.status-stack,
.timeline-list,
.snapshot-list,
.group-stack {
  display: grid;
  gap: 1rem;
}

.panel {
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background:
    linear-gradient(180deg, rgba(18, 21, 23, 0.86), rgba(10, 12, 14, 0.9)),
    rgba(10, 12, 14, 0.88);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(16px);
}

.hero-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 1120px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(19rem, 24rem);
  }
}

.hero-copy {
  position: relative;
  min-height: 28rem;
  overflow: hidden;
}

.hero-copy::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 7, 8, 0.15), rgba(5, 7, 8, 0.78) 58%, rgba(5, 7, 8, 0.92)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), transparent 1px);
  opacity: 0.9;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  opacity: 0.75;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(135deg, black, transparent 72%);
}

.hero-copy > .relative {
  --hero-pad: 1.25rem;
  position: relative;
  z-index: 1;
  display: grid;
  min-height: inherit;
  align-content: end;
  padding: 1.5rem var(--hero-pad);
}

@media (min-width: 640px) {
  .hero-copy > .relative {
    --hero-pad: 1.75rem;
    padding-top: 2rem;
    padding-bottom: 1.75rem;
  }
}

@media (min-width: 1024px) {
  .hero-copy > .relative {
    --hero-pad: 2rem;
    padding-top: 2.25rem;
    padding-bottom: 2rem;
  }
}

.kicker-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
}

.kicker {
  display: inline-flex;
  align-items: center;
  min-height: 1.65rem;
  padding: 0.35rem 0.55rem;
  border-radius: 0.375rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.045);
  color: rgb(176, 184, 193);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.kicker.live {
  border-color: rgba(52, 211, 153, 0.28);
  background: rgba(16, 185, 129, 0.12);
  color: rgb(167, 243, 208);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 48rem;
  margin-bottom: 0.8rem;
  color: rgb(250, 250, 250);
  font-size: 2.45rem;
  line-height: 1.05;
  font-weight: 800;
}

.hero-accent {
  background: linear-gradient(90deg, rgb(134, 239, 172), rgb(253, 186, 116));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@media (min-width: 640px) {
  h1 {
    font-size: 3.6rem;
  }
}

h2 {
  margin-bottom: 0;
  color: rgb(246, 247, 249);
  font-size: 1rem;
  font-weight: 750;
}

h3 {
  margin-bottom: 0;
  color: rgb(246, 247, 249);
  font-size: 0.95rem;
  font-weight: 750;
}

.hero-text {
  max-width: 42rem;
  margin-bottom: 1.3rem;
  color: rgb(189, 195, 204);
  font-size: 0.95rem;
  line-height: 1.65;
}

.summary-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 0.3rem;
}

@media (min-width: 720px) {
  .summary-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.summary-card {
  min-width: 0;
  padding: 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.375rem;
  background: rgba(0, 0, 0, 0.28);
}

.summary-label {
  display: block;
  color: rgb(139, 148, 160);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.summary-card strong {
  display: block;
  min-width: 0;
  margin-top: 0.4rem;
  overflow-wrap: anywhere;
  color: rgb(246, 247, 249);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 1.25rem;
  font-weight: 700;
}

.accent-card {
  border-color: rgba(52, 211, 153, 0.22);
  background: rgba(16, 185, 129, 0.09);
}

.accent-card strong {
  color: rgb(134, 239, 172);
}

.tool-row {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.85rem;
}

@media (min-width: 640px) {
  .tool-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.tool-link {
  display: grid;
  min-width: 0;
  gap: 0.25rem;
  padding: 0.9rem 0.95rem;
  background: rgba(255, 255, 255, 0.045);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.tool-link:hover {
  transform: translateY(-1px);
  border-color: rgba(245, 158, 11, 0.36);
  background: rgba(245, 158, 11, 0.09);
}

.tool-link span {
  color: rgb(251, 191, 36);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.tool-link strong {
  min-width: 0;
  color: rgb(236, 239, 244);
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}

.feature-stack {
  display: grid;
  gap: 1rem;
}

.feature-card {
  position: relative;
  display: grid;
  min-height: 13.5rem;
  align-content: space-between;
  overflow: hidden;
  padding: 1.2rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background:
    linear-gradient(180deg, rgba(24, 28, 31, 0.9), rgba(10, 12, 14, 0.92)),
    rgba(12, 14, 16, 0.9);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(16px);
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(52, 211, 153, 0.9), rgba(245, 158, 11, 0.72), transparent);
}

.feature-primary {
  border-color: rgba(52, 211, 153, 0.25);
  background:
    linear-gradient(180deg, rgba(17, 37, 34, 0.92), rgba(10, 13, 14, 0.94)),
    rgba(12, 14, 16, 0.9);
}

.feature-label {
  color: rgb(125, 211, 252);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.feature-primary .feature-label {
  color: rgb(134, 239, 172);
}

.feature-card h2 {
  min-width: 0;
  margin: 0.8rem 0 0.35rem;
  font-size: 1.25rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.feature-subtle,
.feature-window,
.field span,
.small-meta,
.status-item span,
.snapshot-meta,
.timeline-meta,
.card-map,
.card-window,
.card-caption {
  color: rgb(139, 148, 160);
}

.feature-meta,
.panel-heading,
.section-topline,
.status-item,
.snapshot-item,
.timeline-item,
.lane-heading,
.card-topline,
.countdown-row,
.card-progress-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.feature-meta {
  min-width: 0;
  margin-top: 1.25rem;
}

.feature-window {
  min-width: 0;
  text-align: right;
  overflow-wrap: anywhere;
}

.feature-countdown,
.timeline-time,
.countdown {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.feature-countdown {
  color: rgb(134, 239, 172);
  font-size: 1.12rem;
  font-weight: 700;
  white-space: nowrap;
}

.dashboard {
  margin-top: 1rem;
}

.controls-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 1080px) {
  .controls-grid {
    grid-template-columns: minmax(0, 1fr) minmax(19rem, 24rem);
  }
}

.control-panel,
.status-panel,
.rail-panel {
  padding: 1rem;
}

@media (min-width: 640px) {
  .control-panel,
  .status-panel,
  .rail-panel {
    padding: 1.15rem;
  }
}

.panel-heading {
  min-width: 0;
}

.panel-heading h2 {
  min-width: 0;
}

.filter-grid {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

@media (min-width: 760px) {
  .filter-grid {
    grid-template-columns: minmax(8.5rem, 0.75fr) minmax(13rem, 1.35fr) minmax(8.5rem, 0.75fr) minmax(8.5rem, 0.75fr);
  }
}

.field {
  display: grid;
  min-width: 0;
  gap: 0.45rem;
}

.field span {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

select,
input {
  width: 100%;
  min-width: 0;
  min-height: 2.6rem;
  padding: 0.64rem 0.75rem;
  background: rgba(5, 7, 8, 0.8);
  color: rgb(235, 238, 243);
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

input::placeholder {
  color: rgb(99, 110, 124);
}

select:focus,
input:focus {
  border-color: rgba(245, 158, 11, 0.62);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.12);
  background: rgba(5, 7, 8, 0.92);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.9rem;
}

.map-chip-button {
  display: inline-flex;
  max-width: 100%;
  padding: 0.48rem 0.68rem;
  background: rgba(255, 255, 255, 0.035);
  color: rgb(204, 210, 218);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  overflow-wrap: anywhere;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.status-item,
.snapshot-item,
.timeline-item {
  min-width: 0;
  padding: 0.85rem 0.9rem;
  background: rgba(255, 255, 255, 0.035);
}

.status-item strong,
.snapshot-item strong,
.timeline-item strong {
  min-width: 0;
  color: rgb(239, 242, 246);
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}

.content-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 1280px) {
  .content-grid {
    grid-template-columns: minmax(0, 1fr) minmax(19rem, 24rem);
  }
}

.cards-panel {
  min-width: 0;
  padding: 1rem 0 0;
}

.section-topline {
  min-width: 0;
  margin-bottom: 0.9rem;
}

.eyebrow {
  margin-bottom: 0.2rem;
  color: rgb(251, 191, 36);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}

.board-section {
  display: grid;
  gap: 0.75rem;
  min-width: 0;
}

.board-heading {
  padding: 0 0.15rem;
}

.board-heading h3 {
  color: rgb(190, 196, 204);
  font-size: 0.88rem;
}

.cards-grid,
.lane-cards {
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  gap: 0.85rem;
}

.map-group {
  display: grid;
  min-width: 0;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.075);
  background: rgba(5, 7, 8, 0.44);
}

.lane-heading {
  min-width: 0;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.event-card {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 16.75rem;
  overflow: hidden;
  padding: 1rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.085);
  background:
    linear-gradient(180deg, rgba(22, 25, 28, 0.96), rgba(11, 13, 15, 0.96)),
    rgba(13, 15, 17, 0.96);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.event-card:hover {
  transform: translateY(-2px);
  border-color: rgba(245, 158, 11, 0.32);
  background: #121518;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32);
}

.event-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(52, 211, 153, 0.88), rgba(125, 211, 252, 0.6), transparent);
}

.event-card.upcoming::before {
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.78), rgba(248, 113, 113, 0.46), transparent);
}

.card-topline,
.card-body {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.card-topline {
  align-items: flex-start;
}

.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 2.6rem;
  height: 2.6rem;
  overflow: hidden;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.055);
  color: rgb(236, 239, 244);
  font-weight: 800;
}

.card-icon-image {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: contain;
}

.card-heading {
  min-width: 0;
  flex: 1;
}

.card-heading h3 {
  min-width: 0;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.card-map {
  margin: 0.25rem 0 0;
  font-size: 0.75rem;
}

.badge {
  display: inline-flex;
  justify-content: center;
  max-width: 100%;
  padding: 0.28rem 0.5rem;
  font-size: 0.68rem;
  font-weight: 800;
  white-space: nowrap;
}

.badge.active {
  border-color: rgba(52, 211, 153, 0.24);
  background: rgba(16, 185, 129, 0.12);
  color: rgb(134, 239, 172);
}

.badge.upcoming {
  border-color: rgba(245, 158, 11, 0.24);
  background: rgba(245, 158, 11, 0.11);
  color: rgb(253, 186, 116);
}

.card-body {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}

.countdown-row,
.card-progress-row {
  min-width: 0;
}

.card-caption {
  font-size: 0.76rem;
}

.countdown {
  color: rgb(245, 247, 250);
  font-size: 1.05rem;
  font-weight: 700;
  white-space: nowrap;
}

.card-progress {
  height: 0.48rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.075);
}

.card-progress > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgb(52, 211, 153), rgb(125, 211, 252));
}

.event-card.upcoming .card-progress > span {
  background: linear-gradient(90deg, rgb(245, 158, 11), rgb(248, 113, 113));
}

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

.meta-card {
  min-width: 0;
  padding: 0.72rem;
  background: rgba(255, 255, 255, 0.035);
}

.meta-card span {
  display: block;
  margin-bottom: 0.32rem;
  color: rgb(139, 148, 160);
  font-size: 0.72rem;
}

.meta-card strong {
  display: block;
  min-width: 0;
  color: rgb(236, 239, 244);
  font-size: 0.78rem;
  overflow-wrap: anywhere;
}

.card-window {
  margin-bottom: 0;
  font-size: 0.75rem;
  line-height: 1.5;
}

.rail {
  display: grid;
  gap: 1rem;
  align-self: start;
}

@media (min-width: 1280px) {
  .rail {
    position: sticky;
    top: 5.25rem;
  }
}

.timeline-list,
.snapshot-list {
  gap: 0.65rem;
  margin-top: 0.9rem;
}

.timeline-item,
.snapshot-item {
  align-items: flex-start;
}

.timeline-item > div,
.snapshot-item > div {
  min-width: 0;
}

.timeline-meta,
.snapshot-meta {
  margin-top: 0.24rem;
  font-size: 0.76rem;
  line-height: 1.4;
}

.timeline-time {
  flex: 0 0 auto;
  color: rgb(253, 186, 116);
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}

.empty-state {
  min-width: 0;
  padding: 1.45rem 1rem;
  border-radius: 0.5rem;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  background: rgba(5, 7, 8, 0.38);
  color: rgb(139, 148, 160);
  text-align: center;
}

@media (max-width: 720px) {
  .site-nav .mx-auto {
    gap: 0.75rem;
  }

  .site-nav .flex.items-center.gap-3 {
    gap: 0.5rem;
  }

  .button,
  .live-pill {
    padding-right: 0.62rem;
    padding-left: 0.62rem;
  }

  .hero-copy {
    min-height: 31rem;
  }

  .feature-meta,
  .panel-heading,
  .section-topline,
  .status-item,
  .snapshot-item,
  .timeline-item,
  .lane-heading,
  .countdown-row,
  .card-progress-row {
    display: grid;
  }

  .card-topline {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
  }

  .card-topline .badge {
    justify-self: start;
    grid-column: 2;
  }

  .feature-window,
  .timeline-time {
    text-align: left;
  }

  .card-meta {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 460px) {
  .shell {
    padding-right: 0.75rem;
    padding-left: 0.75rem;
  }

  h1 {
    font-size: 2.12rem;
  }

  .summary-row {
    grid-template-columns: minmax(0, 1fr);
  }
}
