:root {
  color-scheme: dark;
  --bg: #090b10;
  --bg-soft: #0e1118;
  --surface: #121721;
  --surface-strong: #171d29;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #f4f7fb;
  --muted: #98a2b3;
  --purple: #7c69ff;
  --purple-soft: #a99cff;
  --mint: #55e6cf;
  --lime: #ccff4d;
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% -20%, rgba(124, 105, 255, 0.13), transparent 36rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  transform: translateY(-150%);
  border-radius: 10px;
  background: var(--text);
  color: var(--bg);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 16px;
  right: 24px;
  left: 24px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(calc(100% - 48px), var(--max));
  min-height: 68px;
  margin: auto;
  padding: 10px 12px 10px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(9, 11, 16, 0.72);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(24px);
  transition:
    top 200ms ease,
    background 200ms ease;
}

.site-header.scrolled {
  top: 8px;
  background: rgba(9, 11, 16, 0.92);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: max-content;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand img {
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(124, 105, 255, 0.24);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 25px;
}

.desktop-nav a,
.footer-links a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: color 160ms ease;
}

.desktop-nav a:hover,
.footer-links a:hover {
  color: var(--text);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.language-toggle {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid var(--purple);
  border-radius: 13px;
  background: var(--purple);
  color: #fff;
  box-shadow: 0 12px 36px rgba(124, 105, 255, 0.22);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  background: #8977ff;
  box-shadow: 0 16px 42px rgba(124, 105, 255, 0.32);
}

.button-small {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 12px;
  font-size: 12px;
}

.button-ghost {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: none;
}

.button-ghost:hover {
  background: rgba(255, 255, 255, 0.07);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(440px, 0.95fr);
  align-items: center;
  width: min(calc(100% - 48px), var(--max));
  min-height: 820px;
  margin: 0 auto;
  gap: 70px;
  padding: 150px 0 82px;
}

.hero-glow {
  position: absolute;
  z-index: -1;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.14;
  pointer-events: none;
}

.hero-glow-one {
  top: 120px;
  left: -180px;
  background: var(--purple);
}

.hero-glow-two {
  right: -170px;
  bottom: 40px;
  background: var(--mint);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--purple-soft);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.16em;
  line-height: 1.4;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 5px rgba(204, 255, 77, 0.08);
}

.hero h1 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(52px, 6vw, 84px);
  line-height: 0.97;
  letter-spacing: -0.065em;
}

.hero h1 em {
  display: block;
  color: var(--muted);
  font-style: normal;
  font-weight: 500;
}

.hero-lead {
  max-width: 650px;
  margin: 30px 0 0;
  color: #b2bac7;
  font-size: 18px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 32px;
  color: #7f8998;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.trust-row span::before {
  content: "✓";
  margin-right: 7px;
  color: var(--mint);
}

.hero-visual {
  position: relative;
  padding: 18px;
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(145deg, rgba(23, 29, 41, 0.94), rgba(11, 14, 20, 0.96));
  background-size: 24px 24px, 24px 24px, auto;
  box-shadow:
    0 50px 100px rgba(0, 0, 0, 0.45),
    inset 0 1px rgba(255, 255, 255, 0.04);
}

.visual-topline,
.visual-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #657080;
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 9px;
  letter-spacing: 0.12em;
}

.visual-topline {
  padding: 2px 2px 16px;
}

.visual-footer {
  padding: 16px 2px 2px;
}

.system-ready {
  color: var(--lime);
}

.workflow-stage {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  min-height: 88px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(9, 11, 16, 0.72);
}

.stage-number {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--muted);
  font-family: Consolas, monospace;
  font-size: 11px;
}

.workflow-stage div {
  display: grid;
  gap: 5px;
}

.workflow-stage strong {
  font-size: 14px;
}

.workflow-stage small {
  color: var(--muted);
  font-size: 11px;
}

.stage-state {
  color: var(--mint);
  font-family: Consolas, monospace;
  font-size: 9px;
}

.stage-state-accent {
  color: var(--lime);
}

.workflow-line {
  display: flex;
  justify-content: center;
  height: 38px;
}

.workflow-line span {
  width: 1px;
  background: linear-gradient(var(--purple), var(--mint));
}

.workflow-core {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid rgba(124, 105, 255, 0.38);
  border-radius: 18px;
  background: rgba(124, 105, 255, 0.09);
}

.workflow-core img {
  position: relative;
  z-index: 2;
  border-radius: 25px;
  box-shadow: 0 12px 44px rgba(124, 105, 255, 0.36);
}

.workflow-core > div:last-child {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 5px;
}

.workflow-core span {
  color: var(--purple-soft);
  font-family: Consolas, monospace;
  font-size: 9px;
  letter-spacing: 0.11em;
}

.workflow-core strong {
  font-size: 18px;
}

.core-orbit {
  position: absolute;
  right: -60px;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(124, 105, 255, 0.24);
  border-radius: 50%;
  box-shadow:
    0 0 0 32px rgba(124, 105, 255, 0.035),
    0 0 0 68px rgba(124, 105, 255, 0.025);
}

.signal-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--bg-soft);
}

.signal-bar div {
  display: grid;
  gap: 5px;
  min-height: 112px;
  align-content: center;
  padding: 24px 32px;
}

.signal-bar div + div {
  border-left: 1px solid var(--line);
}

.signal-bar strong {
  font-size: 22px;
  letter-spacing: -0.04em;
}

.signal-bar span {
  color: var(--muted);
  font-size: 12px;
}

.section {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  padding: 130px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: end;
  gap: 70px;
  margin-bottom: 54px;
}

.section-heading h2,
.principles h2,
.pilot-card h2,
.closing-cta h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.section-heading > p,
.principles-copy > p:not(.eyebrow),
.pilot-copy > p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.product-card {
  position: relative;
  min-height: 490px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    radial-gradient(circle at 100% 0%, rgba(124, 105, 255, 0.08), transparent 42%),
    var(--surface);
  transition:
    transform 180ms ease,
    border-color 180ms ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 105, 255, 0.42);
}

.product-featured {
  border-color: rgba(204, 255, 77, 0.25);
  background:
    radial-gradient(circle at 100% 0%, rgba(204, 255, 77, 0.11), transparent 44%),
    var(--surface);
}

.product-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.product-code {
  color: #697487;
  font-family: Consolas, monospace;
  font-size: 9px;
  letter-spacing: 0.12em;
}

.status {
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 99px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.status-pilot {
  border-color: rgba(204, 255, 77, 0.24);
  color: var(--lime);
}

.product-icon {
  display: grid;
  width: 70px;
  height: 70px;
  margin: 44px 0 28px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.025);
}

.icon-edit {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 5px;
}

.icon-edit span {
  width: 8px;
  border-radius: 3px;
  background: var(--lime);
}

.icon-edit span:nth-child(1) { height: 18px; opacity: 0.5; }
.icon-edit span:nth-child(2) { height: 36px; }
.icon-edit span:nth-child(3) { height: 26px; opacity: 0.75; }

.icon-vision span {
  width: 35px;
  height: 22px;
  border: 2px solid var(--purple-soft);
  border-radius: 50%;
  box-shadow: inset 0 0 0 7px var(--surface), inset 0 0 0 11px var(--purple-soft);
}

.icon-audio {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.icon-audio i {
  width: 3px;
  border-radius: 4px;
  background: var(--mint);
}

.icon-audio i:nth-child(1),
.icon-audio i:nth-child(5) { height: 13px; }
.icon-audio i:nth-child(2),
.icon-audio i:nth-child(4) { height: 26px; }
.icon-audio i:nth-child(3) { height: 38px; }

.icon-factory {
  grid-template-columns: repeat(3, 11px);
  gap: 5px;
}

.icon-factory span {
  height: 31px;
  border: 1px solid var(--purple-soft);
  border-radius: 4px;
}

.icon-factory span:nth-child(2) {
  transform: translateY(-7px);
  background: rgba(124, 105, 255, 0.25);
}

.product-card h3 {
  margin: 0;
  font-size: 28px;
  letter-spacing: -0.045em;
}

.product-tagline {
  margin: 8px 0 18px;
  color: var(--purple-soft) !important;
  font-weight: 700;
}

.product-card > p {
  max-width: 590px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: #aab3c0;
  font-size: 10px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  margin-top: 18px;
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.text-link:hover {
  color: var(--lime);
}

.principles {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 80px;
  border-top: 1px solid var(--line);
}

.principles-copy > p:not(.eyebrow) {
  margin: 28px 0 6px;
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.principle-grid article {
  min-height: 215px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.principle-grid article > span {
  color: var(--purple-soft);
  font-family: Consolas, monospace;
  font-size: 10px;
}

.principle-grid h3 {
  margin: 54px 0 9px;
  font-size: 18px;
}

.principle-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.pilot-section {
  padding-top: 0;
}

.pilot-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px 70px;
  padding: 54px;
  border-radius: 28px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.08), transparent 30%),
    var(--purple);
  box-shadow: 0 35px 100px rgba(124, 105, 255, 0.23);
}

.pilot-label {
  grid-column: 1 / -1;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.15em;
}

.pilot-copy > p {
  max-width: 760px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.78);
}

.pilot-copy ul {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 20px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  font-size: 11px;
  font-weight: 700;
}

.pilot-copy li::before {
  content: "✓";
  margin-right: 7px;
  color: var(--lime);
}

.pilot-action {
  display: grid;
  align-content: end;
  gap: 12px;
  min-width: 230px;
}

.pilot-action > span {
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}

.button-light {
  border-color: #fff;
  background: #fff;
  color: #19152d;
  box-shadow: none;
}

.button-light:hover {
  background: var(--lime);
  color: #11150b;
}

.journal-section {
  border-top: 1px solid var(--line);
}

.journal-section .section-heading {
  grid-template-columns: 1fr auto;
}

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

.journal-card {
  display: grid;
  min-height: 270px;
  align-content: end;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(180deg, transparent, rgba(124, 105, 255, 0.07)),
    var(--surface);
  text-decoration: none;
  transition:
    transform 180ms ease,
    border-color 180ms ease;
}

.journal-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 105, 255, 0.42);
}

.journal-card > span {
  margin-bottom: 12px;
  color: var(--purple-soft);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.13em;
}

.journal-card h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.journal-card p {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.closing-cta {
  display: grid;
  width: min(calc(100% - 48px), 900px);
  justify-items: center;
  margin: 0 auto;
  padding: 80px 0 150px;
  text-align: center;
}

.closing-cta img {
  margin-bottom: 25px;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(124, 105, 255, 0.32);
}

.closing-cta .eyebrow {
  text-align: center;
}

.closing-cta h2 {
  margin-bottom: 30px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  padding: 48px 0 30px;
  gap: 34px;
  border-top: 1px solid var(--line);
}

.site-footer > div:first-child > p {
  max-width: 430px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: #687383;
  font-size: 10px;
}

.legal-page {
  width: min(calc(100% - 48px), 820px);
  margin: 0 auto;
  padding: 150px 0 100px;
}

.legal-page h1 {
  font-size: clamp(42px, 7vw, 72px);
  letter-spacing: -0.06em;
}

.legal-page h2 {
  margin-top: 44px;
}

.legal-page p,
.legal-page li {
  color: var(--muted);
  line-height: 1.7;
}

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

  .desktop-nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 50px;
    padding-top: 150px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-visual {
    width: min(100%, 650px);
    margin: auto;
  }

  .section-heading,
  .principles {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .pilot-card {
    grid-template-columns: 1fr;
  }

  .pilot-action {
    width: min(100%, 300px);
  }
}

@media (max-width: 700px) {
  .site-header {
    top: 8px;
    right: 10px;
    left: 10px;
    width: calc(100% - 20px);
    min-height: 62px;
    border-radius: 15px;
  }

  .brand span {
    display: none;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .header-actions .button {
    padding: 0 12px;
  }

  .hero,
  .signal-bar,
  .section,
  .site-footer {
    width: min(calc(100% - 32px), var(--max));
  }

  .hero {
    padding-top: 118px;
  }

  .hero h1 {
    font-size: clamp(43px, 14vw, 64px);
  }

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

  .hero-actions {
    display: grid;
  }

  .trust-row {
    display: grid;
    gap: 10px;
  }

  .hero-visual {
    padding: 12px;
    border-radius: 20px;
  }

  .workflow-stage {
    grid-template-columns: auto 1fr;
  }

  .stage-state {
    display: none;
  }

  .workflow-core {
    padding: 16px;
  }

  .workflow-core img {
    width: 62px;
    height: 62px;
    border-radius: 18px;
  }

  .signal-bar {
    grid-template-columns: 1fr;
  }

  .signal-bar div {
    min-height: 90px;
  }

  .signal-bar div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .section {
    padding: 90px 0;
  }

  .section-heading {
    margin-bottom: 34px;
  }

  .section-heading h2,
  .principles h2,
  .pilot-card h2,
  .closing-cta h2 {
    font-size: clamp(36px, 11vw, 52px);
  }

  .product-grid,
  .principle-grid,
  .journal-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    min-height: auto;
    padding: 22px;
  }

  .product-icon {
    margin-top: 32px;
  }

  .principle-grid article {
    min-height: 180px;
  }

  .principle-grid h3 {
    margin-top: 36px;
  }

  .pilot-card {
    padding: 28px 22px;
    border-radius: 22px;
  }

  .pilot-copy ul {
    display: grid;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-links {
    flex-wrap: wrap;
  }

  .footer-bottom {
    display: grid;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
