:root {
  color-scheme: dark;
  --bg: #080a0c;
  --panel: #101318;
  --panel-2: #151a22;
  --line: rgba(255, 255, 255, 0.12);
  --text: #f5f7fa;
  --muted: #a7b0bd;
  --green: #24c45e;
  --lime: #a7ff5c;
  --red: #ff4d5d;
  --gold: #f8c14a;
  --blue: #72b7ff;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 72% 12%, rgba(36, 196, 94, 0.16), transparent 28rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0 25%, transparent 25% 50%, rgba(255, 255, 255, 0.03) 50% 75%, transparent 75%),
    var(--bg);
  background-size: auto, 18px 18px, auto;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 4rem);
  background: rgba(8, 10, 12, 0.78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand,
nav,
.hero-actions,
.console-top,
.metrics,
.contact-strip,
footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 0.75rem;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 2.45rem;
  height: 2.45rem;
  place-items: center;
  border: 1px solid rgba(167, 255, 92, 0.35);
  border-radius: 0.35rem;
  background: linear-gradient(145deg, rgba(36, 196, 94, 0.22), rgba(114, 183, 255, 0.12));
  color: var(--lime);
  font-size: 0.78rem;
  letter-spacing: 0;
}

nav {
  gap: 1.2rem;
  color: var(--muted);
  font-size: 0.95rem;
}

nav a:hover,
address a:hover {
  color: var(--lime);
}

.header-cta,
.primary-btn,
.ghost-btn {
  border-radius: 0.35rem;
  font-weight: 800;
}

.header-cta {
  padding: 0.7rem 1rem;
  background: var(--text);
  color: #080a0c;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(22rem, 1.08fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  min-height: calc(100vh - 5rem);
  padding: clamp(3rem, 6vw, 6rem) clamp(1rem, 4vw, 4rem) 3rem;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--lime);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08rem;
  text-transform: uppercase;
}

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

h1 {
  max-width: 13ch;
  margin-bottom: 1.2rem;
  font-size: clamp(3.2rem, 8vw, 7.5rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.hero-text,
.case-hero p {
  max-width: 40rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions {
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.primary-btn,
.ghost-btn {
  padding: 0.9rem 1.15rem;
  border: 1px solid var(--line);
}

.primary-btn {
  background: var(--green);
  color: #061008;
  box-shadow: 0 0 28px rgba(36, 196, 94, 0.28);
}

.ghost-btn {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.console {
  overflow: hidden;
  min-height: 28rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 0.5rem;
  background: linear-gradient(180deg, rgba(21, 26, 34, 0.94), rgba(9, 12, 16, 0.98));
  box-shadow: var(--shadow);
}

.console-top {
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.dot,
.resolved::before {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 22px rgba(36, 196, 94, 0.7);
}

.top-status,
.active-pill {
  border-radius: 0.3rem;
  background: rgba(36, 196, 94, 0.2);
  color: #a8ffbd;
  font-size: 0.8rem;
  font-weight: 800;
}

.top-status {
  padding: 0.3rem 0.55rem;
}

.ticker {
  display: grid;
  gap: 0.8rem;
  padding: 1rem;
}

.case-row {
  display: grid;
  grid-template-columns: 2rem 1.2fr 0.8fr 1fr 0.75fr auto;
  gap: 1rem;
  align-items: center;
  min-width: 46rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 0.45rem;
  background: rgba(255, 255, 255, 0.045);
  color: var(--muted);
  animation: rowPulse 4s ease-in-out infinite;
}

.case-row:nth-child(2) {
  animation-delay: 0.8s;
}

.case-row:nth-child(3) {
  animation-delay: 1.6s;
}

.case-row strong {
  color: var(--text);
}

.video-icon {
  width: 1.45rem;
  height: 1rem;
  border: 2px solid rgba(245, 247, 250, 0.65);
  border-radius: 0.2rem;
  position: relative;
}

.video-icon::after {
  content: "";
  position: absolute;
  right: -0.46rem;
  top: 0.18rem;
  border-left: 0.42rem solid rgba(245, 247, 250, 0.65);
  border-top: 0.24rem solid transparent;
  border-bottom: 0.24rem solid transparent;
}

.resolved {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #d5ffdf;
}

.resolved::before {
  content: "";
  display: inline-block;
}

.active-pill {
  padding: 0.25rem 0.5rem;
}

.metrics {
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem clamp(1rem, 4vw, 4rem);
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
}

.metrics div {
  min-width: 0;
}

.metrics strong {
  display: block;
  color: var(--lime);
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
}

.metrics span {
  color: var(--muted);
}

.platform-band,
.case-hero,
.flow,
.proof-board,
.contact-strip {
  padding: clamp(3rem, 6vw, 6rem) clamp(1rem, 4vw, 4rem);
}

.section-copy h2,
.proof-header h2,
.contact-strip h2 {
  max-width: 48rem;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.platform-grid article,
.flow article,
.proof-board {
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: rgba(16, 19, 24, 0.72);
}

.platform-grid article {
  padding: 1.25rem;
}

.platform-logo {
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  margin-bottom: 1.3rem;
  border-radius: 0.45rem;
  font-weight: 950;
}

.play {
  background: rgba(255, 77, 93, 0.18);
  color: #ff8b96;
}

.search {
  background: rgba(114, 183, 255, 0.18);
  color: #9fceff;
}

.web {
  background: rgba(248, 193, 74, 0.18);
  color: #ffd37a;
}

.platform-grid p,
.flow p {
  color: var(--muted);
}

.contact-strip {
  justify-content: space-between;
  gap: 2rem;
  border-top: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(36, 196, 94, 0.12), rgba(114, 183, 255, 0.08));
}

address {
  min-width: min(100%, 25rem);
  color: var(--muted);
  font-style: normal;
}

footer {
  justify-content: space-between;
  gap: 1rem;
  padding: 1.3rem clamp(1rem, 4vw, 4rem);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.case-hero {
  min-height: 52vh;
  display: grid;
  align-content: end;
  background:
    linear-gradient(rgba(8, 10, 12, 0.4), rgba(8, 10, 12, 0.92)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 72px);
}

.case-hero h1 {
  max-width: 16ch;
}

.flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.flow article {
  padding: 1.35rem;
}

.flow span {
  color: var(--lime);
  font-weight: 950;
}

.proof-board {
  margin: 0 clamp(1rem, 4vw, 4rem) clamp(3rem, 6vw, 6rem);
  padding: clamp(1.2rem, 4vw, 2rem);
}

.log-list {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.log-list div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0.35rem;
  color: var(--muted);
}

.log-list strong {
  color: var(--lime);
}

.compact {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

@keyframes rowPulse {
  0%, 100% {
    transform: translateX(0);
    border-color: rgba(255, 255, 255, 0.12);
  }
  50% {
    transform: translateX(-0.45rem);
    border-color: rgba(36, 196, 94, 0.36);
  }
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  nav {
    order: 3;
    width: 100%;
  }

  .hero,
  .platform-grid,
  .flow {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .console {
    min-height: auto;
    overflow-x: auto;
  }

  .metrics,
  .contact-strip,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: 3.1rem;
  }

  .header-cta {
    width: 100%;
    text-align: center;
  }

  .metrics strong {
    font-size: 2.4rem;
  }
}
