:root {
  --bg: #08090b;
  --bg-2: #101216;
  --panel: rgba(255, 255, 255, 0.055);
  --panel-strong: rgba(255, 255, 255, 0.085);
  --text: #f7f1df;
  --muted: #b9b0a0;
  --soft: #7f7a71;
  --line: rgba(255, 255, 255, 0.14);
  --gold: #c8942d;
  --gold-2: #f4d873;
  --gold-3: #7d5417;
  --steel: #88a2a8;
  --green: #78c6a3;
  --shadow: 0 24px 90px rgba(0, 0, 0, 0.46);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    linear-gradient(120deg, rgba(244, 216, 115, 0.09), transparent 24%),
    linear-gradient(270deg, rgba(136, 162, 168, 0.12), transparent 34%),
    var(--bg);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent 80%);
}

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

.site-shell {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 64px);
  background: rgba(8, 9, 11, 0.78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: clamp(176px, 21vw, 280px);
  height: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 26px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.nav-links a:hover {
  color: var(--gold-2);
}

.header-action {
  justify-self: end;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  color: #14110a;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  border-radius: var(--radius);
  font-weight: 900;
  font-size: 0.9rem;
}

.panel {
  position: relative;
  margin: 0 clamp(14px, 3vw, 40px);
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
    rgba(9, 10, 12, 0.78);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero {
  min-height: calc(100vh - 77px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.76fr);
  gap: clamp(34px, 6vw, 96px);
  align-items: center;
  padding: clamp(64px, 8vw, 122px) clamp(22px, 5vw, 74px);
  border-top: 0;
}

.hero::after,
.product-section::after,
.contact-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -55% 22%;
  height: 72%;
  background: linear-gradient(90deg, transparent, rgba(244, 216, 115, 0.16), transparent);
  transform: rotate(-8deg);
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-2);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 980px;
  margin-bottom: 24px;
  font-size: clamp(3.25rem, 7.4vw, 7.4rem);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.1rem, 4.4vw, 5rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
  line-height: 1.25;
}

.lead,
.section-intro > p,
.product-copy p,
.story-card p,
.module-grid p,
.contact-card p {
  color: var(--muted);
  line-height: 1.68;
  font-size: clamp(1rem, 1.3vw, 1.18rem);
}

.lead {
  max-width: 800px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 900;
}

.button.primary {
  color: #161107;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  border-color: transparent;
}

.button.secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.055);
}

.command-panel {
  position: relative;
  z-index: 2;
  border: 1px solid rgba(244, 216, 115, 0.24);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.1), rgba(255,255,255,0.035)),
    #101216;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.36);
}

.panel-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  font-size: 0.85rem;
}

.panel-top strong {
  color: var(--green);
}

.screen-stack {
  position: relative;
  min-height: 306px;
  padding: 26px;
}

.screen {
  position: absolute;
  inset: 26px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  border: 1px solid var(--line);
  background:
    linear-gradient(160deg, rgba(244,216,115,0.16), transparent 46%),
    linear-gradient(20deg, rgba(136,162,168,0.14), transparent 52%),
    rgba(255,255,255,0.04);
  opacity: 0;
  transform: translateY(18px) scale(0.98);
  transition: opacity 600ms ease, transform 600ms ease;
}

.screen.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.screen span,
.module-grid span,
.story-card span,
.timeline span {
  color: var(--gold-2);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.screen h2 {
  margin: 12px 0;
  font-size: clamp(1.7rem, 3vw, 2.8rem);
}

.screen p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.metrics-grid div {
  padding: 18px;
  border-right: 1px solid var(--line);
}

.metrics-grid div:last-child {
  border-right: 0;
}

.metrics-grid span {
  display: block;
  margin-bottom: 6px;
  color: var(--soft);
  font-size: 0.75rem;
  text-transform: uppercase;
}

.metrics-grid strong {
  color: var(--text);
  font-size: 0.92rem;
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(300px, 0.78fr);
  gap: clamp(26px, 6vw, 80px);
  align-items: end;
  padding: clamp(58px, 8vw, 108px) clamp(22px, 5vw, 74px);
  margin-top: 24px;
}

.section-intro > p {
  margin-bottom: 0;
}

.scroll-story {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 70px);
  padding: clamp(52px, 7vw, 96px) clamp(18px, 4vw, 64px);
}

.story-visual {
  position: sticky;
  top: 112px;
  height: 460px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at center, rgba(244,216,115,0.22), transparent 36%),
    rgba(255,255,255,0.035);
}

.rotor {
  position: relative;
  width: min(80%, 330px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.rotor-ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(244,216,115,0.42);
  background:
    conic-gradient(from var(--spin, 0deg), rgba(244,216,115,0.95), transparent 18%, rgba(136,162,168,0.58), transparent 52%, rgba(244,216,115,0.62), transparent 78%);
  mask: radial-gradient(circle, transparent 56%, #000 57%);
  transition: transform 600ms ease;
}

.rotor-core {
  width: 58%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: rgba(8, 9, 11, 0.84);
  color: var(--gold-2);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.story-steps {
  display: grid;
  gap: 18px;
}

.story-card {
  min-height: 235px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.044);
  opacity: 0.5;
  transform: translateX(0);
  transition: opacity 350ms ease, background 350ms ease, border-color 350ms ease;
}

.story-card.active {
  opacity: 1;
  border-color: rgba(244,216,115,0.44);
  background: linear-gradient(135deg, rgba(244,216,115,0.14), rgba(255,255,255,0.052));
}

.story-card h3 {
  margin-top: 18px;
  font-size: clamp(1.55rem, 2.8vw, 2.9rem);
}

.product-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.08fr);
  gap: clamp(28px, 6vw, 78px);
  padding: clamp(58px, 8vw, 108px) clamp(22px, 5vw, 74px);
}

.product-copy {
  position: relative;
  z-index: 2;
}

.module-grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 14px;
}

.module-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.052);
}

.workflow-section {
  padding: clamp(60px, 8vw, 110px) clamp(18px, 4vw, 64px);
}

.workflow-heading {
  max-width: 1040px;
  margin-bottom: 34px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.035);
}

.timeline div {
  min-height: 176px;
  padding: 22px;
  border-right: 1px solid var(--line);
}

.timeline div:last-child {
  border-right: 0;
}

.timeline strong {
  display: block;
  margin-top: 16px;
  font-size: 1rem;
  line-height: 1.35;
}

.audience-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 70px);
  padding: clamp(58px, 8vw, 108px) clamp(22px, 5vw, 74px);
}

.audience-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-content: start;
}

.audience-list span {
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.05);
  color: var(--muted);
  font-weight: 700;
}

.contact-section {
  padding: clamp(68px, 9vw, 130px) clamp(18px, 4vw, 64px);
}

.contact-card {
  position: relative;
  max-width: 1040px;
  padding: clamp(34px, 6vw, 72px);
  border: 1px solid rgba(244,216,115,0.34);
  background:
    linear-gradient(140deg, rgba(244,216,115,0.18), rgba(255,255,255,0.045)),
    #111318;
  overflow: hidden;
}

.contact-card h2,
.contact-card p,
.contact-card .button {
  position: relative;
  z-index: 2;
}

.contact-card p {
  max-width: 760px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 4vw, 64px);
  color: var(--muted);
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero,
  .section-intro,
  .scroll-story,
  .product-section,
  .audience-section {
    grid-template-columns: 1fr;
  }

  .story-visual {
    position: relative;
    top: auto;
    height: 320px;
  }

  .timeline {
    grid-template-columns: 1fr;
  }

  .timeline div {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .timeline div:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 680px) {
  .site-header {
    padding: 14px 16px;
  }

  .brand img {
    width: 174px;
  }

  .header-action {
    display: none;
  }

  .panel {
    margin-inline: 10px;
  }

  .hero {
    min-height: auto;
    padding: 52px 18px;
  }

  h1 {
    font-size: clamp(2.8rem, 14vw, 4.7rem);
  }

  .screen-stack {
    min-height: 330px;
    padding: 16px;
  }

  .screen {
    inset: 16px;
    padding: 18px;
  }

  .metrics-grid {
    grid-template-columns: 1fr;
  }

  .metrics-grid div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .metrics-grid div:last-child {
    border-bottom: 0;
  }
}
