:root {
  color-scheme: light;
  --ink: #161616;
  --muted: #5f6368;
  --line: #d9dde5;
  --surface: #ffffff;
  --soft: #f4f6f9;
  --yellow: #ffd63d;
  --red: #e83b45;
  --blue: #2f74ff;
  --charcoal: #20242c;
  --green: #20a66a;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

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

@keyframes heroScale {
  from {
    transform: scale(1.06);
  }

  to {
    transform: scale(1);
  }
}

@keyframes shineSweep {
  from {
    transform: translateX(-140%) rotate(18deg);
  }

  to {
    transform: translateX(180%) rotate(18deg);
  }
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--surface);
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(18px, 4vw, 56px);
  color: #fff;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0));
  animation: fadeUp 560ms ease both;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.84);
  border-radius: 8px;
  background: rgba(255, 214, 61, 0.94);
  color: #1c1c1c;
  font-size: 12px;
}

.nav-links {
  display: flex;
  gap: 22px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #111;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroScale 1400ms ease-out both;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.36) 46%, rgba(0, 0, 0, 0.06)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.68), transparent 44%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 36px));
  margin: 0 0 12vh clamp(18px, 5vw, 72px);
  color: #fff;
  animation: fadeUp 760ms 180ms ease both;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--yellow);
}

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

h1 {
  margin-bottom: 20px;
  font-size: clamp(44px, 7vw, 86px);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 19px;
}

.hero-copy {
  max-width: 590px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 19px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 800;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.button.primary {
  background: var(--yellow);
  color: #191919;
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.38);
  color: #fff;
  backdrop-filter: blur(10px);
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
  background: var(--charcoal);
  color: #fff;
}

.stats-strip div {
  padding: 24px clamp(18px, 4vw, 44px);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  transition: background 180ms ease;
}

.stats-strip div:hover {
  background: rgba(255, 255, 255, 0.06);
}

.stats-strip span {
  display: block;
  color: var(--yellow);
  font-size: 32px;
  font-weight: 800;
}

.stats-strip p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.section {
  padding: clamp(72px, 9vw, 120px) clamp(18px, 5vw, 72px);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 1.12fr);
  gap: clamp(36px, 7vw, 84px);
  align-items: start;
}

.section-copy p:not(.eyebrow),
.section-heading + p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.module-list {
  display: grid;
  gap: 14px;
}

.module-list article,
.deck-panel,
.timeline article,
.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 20px 60px rgba(22, 22, 22, 0.08);
}

.module-list article {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  padding: 22px;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.module-list article:hover,
.deck-panel:hover,
.revenue-grid article:hover,
.timeline article:hover,
.card:hover,
.console-grid article:hover {
  transform: translateY(-4px);
  border-color: rgba(47, 116, 255, 0.34);
  box-shadow: 0 24px 70px rgba(22, 22, 22, 0.13);
}

.module-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 8px;
  background: #fff3b6;
  color: #191919;
  font-weight: 800;
}

.module-list p,
.deck-panel p,
.timeline p,
.card p {
  color: var(--muted);
  line-height: 1.55;
}

.feature-console {
  background: #111216;
  color: #fff;
}

.feature-console .eyebrow {
  color: var(--yellow);
}

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

.console-grid article {
  min-height: 310px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    #191b22;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.console-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.console-topline span {
  font-weight: 800;
}

.console-topline small {
  border-radius: 999px;
  padding: 5px 8px;
  background: rgba(255, 214, 61, 0.16);
  color: var(--yellow);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.console-grid ul {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.console-grid li {
  position: relative;
  padding-left: 20px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.45;
}

.console-grid li::before {
  position: absolute;
  left: 0;
  color: var(--red);
  content: "+";
  font-weight: 800;
}

.deck-lab,
.roadmap {
  background: var(--soft);
}

.section-heading {
  width: min(720px, 100%);
  margin-bottom: 32px;
}

.deck-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr 1fr;
  gap: 18px;
}

.deck-panel {
  min-height: 250px;
  padding: 24px;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.deck-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.deck-panel-header span {
  border-radius: 999px;
  padding: 7px 10px;
  background: #fff1a4;
  font-size: 12px;
  font-weight: 800;
}

.deck-bars {
  display: grid;
  gap: 18px;
  margin-top: 32px;
}

.deck-bars label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 700;
}

.deck-bars span {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #e6e9ef;
}

.deck-bars i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--yellow), var(--red));
  transform-origin: left;
  transition: width 260ms ease;
}

.deck-panel.accent {
  background: var(--charcoal);
  color: #fff;
}

.deck-counts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 34px;
}

.deck-counts div {
  min-height: 104px;
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.1);
}

.deck-counts strong,
.deck-counts small {
  display: block;
}

.deck-counts strong {
  color: var(--yellow);
  font-size: 34px;
}

.deck-counts small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.68);
}

.checklist ul {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
}

.checklist li::before {
  position: absolute;
  left: 0;
  color: var(--green);
  content: "✓";
  font-weight: 800;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.filter {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 15px;
  background: #fff;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.filter.active {
  border-color: var(--charcoal);
  background: var(--charcoal);
  color: #fff;
}

.photo-gallery {
  background: #fff;
}

.photo-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-auto-rows: minmax(260px, auto);
  gap: 18px;
}

.photo-grid figure {
  position: relative;
  min-height: 330px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--charcoal);
  box-shadow: 0 20px 60px rgba(22, 22, 22, 0.1);
}

.photo-grid figure::after,
.card-art::after {
  position: absolute;
  top: -35%;
  bottom: -35%;
  width: 34%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  content: "";
  pointer-events: none;
}

.photo-grid figure::after {
  left: 0;
  opacity: 0;
}

.photo-grid figure:hover::after {
  opacity: 1;
  animation: shineSweep 820ms ease;
}

.photo-grid .feature-photo {
  grid-row: span 2;
  min-height: 680px;
}

.photo-grid img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition: transform 280ms ease;
}

.photo-grid figure:hover img {
  transform: scale(1.035);
}

.photo-grid figcaption {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  display: grid;
  gap: 5px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 16px;
  background: rgba(17, 18, 22, 0.78);
  color: #fff;
  backdrop-filter: blur(12px);
}

.photo-grid strong {
  font-size: 18px;
}

.photo-grid span {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.45;
}

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

.card {
  min-height: 270px;
  overflow: hidden;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.card-art {
  position: relative;
  min-height: 126px;
  padding: 14px;
  background: linear-gradient(135deg, var(--yellow), var(--red));
  overflow: hidden;
}

.card-art::after {
  left: 0;
  animation: shineSweep 2100ms ease-in-out infinite;
}

.card-art span {
  display: block;
  height: 98px;
  border: 2px solid rgba(255, 255, 255, 0.62);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.65), transparent 42%),
    rgba(255, 255, 255, 0.22);
}

.card-body {
  padding: 18px;
}

.card-type {
  display: inline-flex;
  margin-bottom: 12px;
  border-radius: 999px;
  padding: 6px 9px;
  background: #eef2ff;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  text-transform: capitalize;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.revenue-model {
  background: var(--charcoal);
  color: #fff;
}

.revenue-model .section-heading {
  color: #fff;
}

.revenue-model .eyebrow {
  color: var(--yellow);
}

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

.revenue-grid article {
  min-height: 260px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.07);
}

.revenue-grid span {
  display: inline-flex;
  min-width: 58px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  border-radius: 8px;
  background: var(--yellow);
  color: #191919;
  font-size: 20px;
  font-weight: 800;
}

.revenue-grid p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
}

.timeline article {
  padding: 24px;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.timeline span {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--red);
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 620ms ease,
    transform 620ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal.is-visible .module-list article,
.reveal.is-visible .console-grid article,
.reveal.is-visible .deck-panel,
.reveal.is-visible .photo-grid figure,
.reveal.is-visible .card,
.reveal.is-visible .revenue-grid article,
.reveal.is-visible .timeline article {
  animation: fadeUp 620ms ease both;
}

.reveal.is-visible .module-list article:nth-child(2),
.reveal.is-visible .console-grid article:nth-child(2),
.reveal.is-visible .deck-panel:nth-child(2),
.reveal.is-visible .photo-grid figure:nth-child(2),
.reveal.is-visible .card:nth-child(2),
.reveal.is-visible .revenue-grid article:nth-child(2),
.reveal.is-visible .timeline article:nth-child(2) {
  animation-delay: 90ms;
}

.reveal.is-visible .module-list article:nth-child(3),
.reveal.is-visible .console-grid article:nth-child(3),
.reveal.is-visible .deck-panel:nth-child(3),
.reveal.is-visible .photo-grid figure:nth-child(3),
.reveal.is-visible .card:nth-child(3),
.reveal.is-visible .revenue-grid article:nth-child(3),
.reveal.is-visible .timeline article:nth-child(3) {
  animation-delay: 180ms;
}

.reveal.is-visible .module-list article:nth-child(4),
.reveal.is-visible .console-grid article:nth-child(4),
.reveal.is-visible .card:nth-child(4),
.reveal.is-visible .revenue-grid article:nth-child(4) {
  animation-delay: 270ms;
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

.site-footer p {
  max-width: 760px;
  margin: 0;
}

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

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-content {
    margin-bottom: 9vh;
  }

  .stats-strip,
  .two-column,
  .console-grid,
  .deck-grid,
  .photo-grid,
  .cards-grid,
  .revenue-grid,
  .timeline {
    grid-template-columns: 1fr 1fr;
  }

  .two-column,
  .deck-grid {
    gap: 18px;
  }
}

@media (max-width: 640px) {
  .brand {
    font-size: 14px;
  }

  .hero {
    min-height: 84vh;
  }

  .hero-scrim {
    background:
      linear-gradient(0deg, rgba(0, 0, 0, 0.84), rgba(0, 0, 0, 0.24)),
      linear-gradient(90deg, rgba(0, 0, 0, 0.64), rgba(0, 0, 0, 0.08));
  }

  h1 {
    font-size: 42px;
  }

  .hero-copy {
    font-size: 16px;
  }

  .stats-strip,
  .two-column,
  .console-grid,
  .deck-grid,
  .photo-grid,
  .cards-grid,
  .revenue-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .photo-grid .feature-photo,
  .photo-grid figure {
    min-height: 360px;
  }

  .stats-strip div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .deck-counts {
    grid-template-columns: 1fr;
  }

  .site-footer {
    display: grid;
  }
}
