:root {
  --ink: #090d18;
  --ink-2: #111827;
  --muted: #667085;
  --muted-dark: #9aa4b2;
  --paper: #070b16;
  --surface: #0f1728;
  --surface-2: #151f33;
  --line: #d9e0ec;
  --line-dark: rgba(255, 255, 255, 0.12);
  --navy: #070b16;
  --navy-2: #0d1424;
  --violet: #6d3df5;
  --blue: #1f7aff;
  --cyan: #49d3ff;
  --success: #14b87a;
  --danger: #f04438;
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-full: 999px;
  --shadow: 0 26px 90px rgba(11, 18, 32, 0.18);
  --shadow-soft: 0 16px 46px rgba(11, 18, 32, 0.1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #fff;
  background:
    radial-gradient(circle at 18% 0%, rgba(109, 61, 245, 0.18), transparent 30%),
    radial-gradient(circle at 84% 12%, rgba(31, 122, 255, 0.12), transparent 28%),
    var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 18px 24px 0;
  background: linear-gradient(180deg, rgba(7, 11, 22, 0.92), rgba(7, 11, 22, 0));
}

.nav-shell {
  max-width: 1240px;
  height: 70px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 18px;
  border: 1px solid var(--line-dark);
  border-radius: 20px;
  background: rgba(10, 15, 29, 0.72);
  backdrop-filter: blur(22px);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.22);
  color: #fff;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.brand span {
  display: grid;
  line-height: 1.05;
}

.brand strong {
  font-size: 0.98rem;
  letter-spacing: -0.03em;
}

.brand small {
  color: currentColor;
  opacity: 0.58;
  font-size: 0.72rem;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 5px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
}

.nav-links a {
  padding: 8px 13px;
  border-radius: var(--radius-full);
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.82rem;
  font-weight: 750;
}

.nav-links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.09);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-full);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 850;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

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

.button.primary {
  background: linear-gradient(135deg, var(--violet), var(--blue));
  color: #fff;
  box-shadow: 0 18px 42px rgba(67, 97, 238, 0.34);
}

.button.ghost {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.button.small {
  min-height: 38px;
  padding: 0 16px;
  font-size: 0.78rem;
}

.section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 104px 24px;
}

.dark-section {
  position: relative;
  color: #fff;
}

.dark-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 8%, rgba(109, 61, 245, 0.34), transparent 30%),
    radial-gradient(circle at 84% 24%, rgba(31, 122, 255, 0.23), transparent 34%);
  opacity: 0.9;
}

.hero {
  max-width: none;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(390px, 0.82fr) minmax(620px, 1.18fr);
  align-items: center;
  gap: 54px;
  margin-top: -88px;
  padding: 154px max(24px, calc((100vw - 1320px) / 2 + 24px)) 82px;
  background:
    linear-gradient(180deg, rgba(7, 11, 22, 0.98), rgba(10, 16, 30, 0.98) 78%, rgba(7, 11, 22, 1) 100%),
    var(--navy);
}

.hero > * {
  position: relative;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 22px rgba(73, 211, 255, 0.78);
}

.hero h1 {
  max-width: 660px;
  font-size: clamp(3.65rem, 6.4vw, 6.45rem);
  line-height: 0.94;
  letter-spacing: -0.078em;
  font-weight: 900;
}

.hero h1 span {
  display: block;
  color: transparent;
  background: linear-gradient(120deg, #fff, #9bd7ff 34%, #8a63ff 72%, #fff);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-lede {
  max-width: 610px;
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.06rem;
}

.phase-note {
  max-width: 650px;
  margin-top: 24px;
  padding: 14px 16px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.055);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

.phase-note strong {
  color: #fff;
}

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

.command-center {
  position: relative;
  display: grid;
  grid-template-columns: 166px 1fr;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.05)),
    rgba(11, 18, 32, 0.82);
  box-shadow: 0 34px 120px rgba(0, 0, 0, 0.4);
  transform: perspective(1200px) rotateY(-4deg) rotateX(1deg);
  transform-origin: center;
}

.app-sidebar {
  display: grid;
  align-content: start;
  gap: 9px;
  padding: 24px 16px;
  border-right: 1px solid var(--line-dark);
  background: rgba(0, 0, 0, 0.18);
}

.app-sidebar strong {
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.app-sidebar span {
  padding: 10px 12px;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.82rem;
  font-weight: 750;
}

.app-sidebar .active {
  color: #fff;
  background: linear-gradient(135deg, rgba(109, 61, 245, 0.52), rgba(31, 122, 255, 0.3));
}

.app-main {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 20px;
}

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

.metric-row article,
.activity,
.chart-card,
.ops-map {
  border: 1px solid var(--line-dark);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
}

.metric-row article {
  padding: 16px;
}

.metric-row span,
.activity span,
.activity em {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 750;
}

.metric-row strong {
  display: block;
  margin-top: 8px;
  font-size: 1.18rem;
  line-height: 1;
  letter-spacing: -0.04em;
}

.ops-map {
  display: grid;
  grid-template-columns: 1fr 26px 1fr 26px 1fr 26px 1fr 26px 1fr;
  align-items: center;
  gap: 8px;
  padding: 18px;
}

.ops-map div {
  min-height: 96px;
  display: grid;
  place-items: center;
  padding: 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.075);
  color: #fff;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 850;
}

.ops-map i {
  height: 2px;
  background: linear-gradient(90deg, var(--violet), var(--cyan));
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 14px;
}

.activity,
.chart-card {
  padding: 18px;
}

.activity strong,
.chart-card strong {
  display: block;
  margin-bottom: 14px;
}

.activity p {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid var(--line-dark);
}

.activity em {
  color: var(--cyan);
}

.chart-card svg {
  width: 100%;
  height: 132px;
  color: var(--cyan);
  filter: drop-shadow(0 0 20px rgba(73, 211, 255, 0.22));
}

.compact {
  max-width: none;
  padding-left: max(24px, calc((100vw - 1320px) / 2 + 24px));
  padding-right: max(24px, calc((100vw - 1320px) / 2 + 24px));
  background: var(--navy);
}

.section-heading {
  display: grid;
  gap: 12px;
  margin-bottom: 42px;
}

.section-heading.centered {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-heading.centered .eyebrow {
  justify-self: center;
}

.section-heading h2,
.before-after h2,
.faq h2,
.waitlist h2 {
  font-size: clamp(2.35rem, 4.5vw, 4.55rem);
  line-height: 0.98;
  letter-spacing: -0.07em;
  font-weight: 900;
}

.section-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.64);
  font-size: 1.05rem;
}

.dark-section .section-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.68);
}

.workflow-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.workflow-grid article {
  position: relative;
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--line-dark);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
}

.workflow-grid article:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 50%;
  right: -17px;
  transform: translate(50%, -50%);
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.4rem;
  font-weight: 800;
}

.workflow-grid span,
.use-case-grid span,
.roadmap-grid span {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 900;
}

.workflow-grid strong,
.use-case-grid strong,
.roadmap-grid strong {
  display: block;
  margin-bottom: 12px;
  font-size: 1.05rem;
}

.workflow-grid p,
.roadmap-grid p {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.9rem;
}

.integration-row,
.tool-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.integration-row span {
  padding: 9px 14px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
  font-weight: 800;
}

.light-section {
  max-width: none;
  padding-left: max(24px, calc((100vw - 1320px) / 2 + 24px));
  padding-right: max(24px, calc((100vw - 1320px) / 2 + 24px));
  color: #fff;
  background:
    radial-gradient(circle at 50% 0%, rgba(31, 122, 255, 0.09), transparent 32%),
    var(--navy);
}

.light-section .eyebrow {
  color: var(--cyan);
}

.light-section .eyebrow::before {
  background: var(--cyan);
  box-shadow: 0 0 20px rgba(73, 211, 255, 0.34);
}

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

.use-cases-section {
  padding-top: 90px;
  padding-bottom: 96px;
  background:
    radial-gradient(circle at 50% 0%, rgba(109, 61, 245, 0.16), transparent 34%),
    var(--navy);
}

.use-case-grid article,
.before-card,
.after-card,
.panel {
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

.use-case-grid article {
  min-height: 270px;
  padding: 28px;
}

.use-cases-section .use-case-grid article {
  border-color: rgba(255, 255, 255, 0.1);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.055));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.26);
}

.use-case-grid span {
  color: var(--cyan);
}

.use-case-grid p,
.before-card p,
.after-card p,
.faq p,
.waitlist > p {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.95rem;
}

.before-after {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding-top: 42px;
}

.before-after::after {
  content: "→";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(135deg, var(--violet), var(--blue));
  color: #fff;
  font-size: 1.7rem;
  font-weight: 900;
  box-shadow: 0 18px 44px rgba(109, 61, 245, 0.28);
}

.before-card,
.after-card {
  padding: 42px;
}

.after-card {
  background: linear-gradient(135deg, rgba(109, 61, 245, 0.16), rgba(31, 122, 255, 0.08));
  border-color: rgba(31, 122, 255, 0.26);
}

.before-after ul {
  display: grid;
  gap: 13px;
  margin-top: 26px;
  list-style: none;
}

.before-after li {
  position: relative;
  padding-left: 24px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
}

.before-after li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--danger);
}

.after-card li::before {
  background: linear-gradient(135deg, var(--violet), var(--blue));
}

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.roadmap-grid article {
  min-height: 300px;
  padding: 24px;
  border: 1px solid var(--line-dark);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.055);
}

.roadmap-grid article.active {
  border-color: rgba(73, 211, 255, 0.44);
  background: linear-gradient(135deg, rgba(109, 61, 245, 0.2), rgba(31, 122, 255, 0.12));
}

.roadmap-grid small {
  display: inline-block;
  margin-top: 22px;
  padding: 7px 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.tool-strip {
  max-width: 1060px;
  margin-left: auto;
  margin-right: auto;
}

.tool-strip span {
  padding: 13px 18px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.84);
  font-weight: 850;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

.faq-waitlist {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(480px, 1.1fr);
  gap: 18px;
  padding-top: 48px;
}

.faq,
.waitlist {
  padding: 38px;
}

.faq details {
  border-bottom: 1px solid var(--line-dark);
  padding: 18px 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 850;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  float: right;
  color: var(--violet);
  font-weight: 900;
}

.faq details[open] summary::after {
  content: "-";
}

.faq p {
  margin-top: 12px;
}

.waitlist-form {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

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

.form-grid.single {
  grid-template-columns: 1fr;
}

label {
  display: grid;
  gap: 7px;
}

label span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line-dark);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.075);
  color: #fff;
  outline: none;
  padding: 13px 14px;
  font-size: 0.92rem;
}

textarea {
  min-height: 118px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(73, 211, 255, 0.74);
  box-shadow: 0 0 0 4px rgba(73, 211, 255, 0.11);
}

input::placeholder,
textarea::placeholder {
  color: rgba(255, 255, 255, 0.36);
}

select option {
  background: var(--navy-2);
  color: #fff;
}

.form-message {
  display: none;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 850;
}

.form-message.visible {
  display: block;
}

.form-message.success {
  color: var(--success);
}

.form-message.error {
  color: var(--danger);
}

.waitlist small {
  display: block;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.75rem;
  text-align: center;
}

.site-footer {
  max-width: none;
  margin: 0;
  padding: 42px max(24px, calc((100vw - 1320px) / 2 + 24px)) 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
  background: var(--navy);
}

.site-footer .brand {
  color: #fff;
}

.site-footer div {
  display: flex;
  gap: 16px;
  font-weight: 850;
}

@media (max-width: 1120px) {
  .hero,
  .faq-waitlist,
  .before-after {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 150px;
  }

  .command-center {
    grid-template-columns: 1fr;
    transform: none;
  }

  .app-sidebar {
    display: none;
  }

  .workflow-grid,
  .roadmap-grid,
  .use-case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workflow-grid article {
    min-height: auto;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 10px 10px 0;
  }

  .nav-shell {
    height: auto;
    padding: 12px;
  }

  .nav-links {
    display: none;
  }

  .section,
  .compact {
    padding: 72px 16px;
  }

  .hero {
    gap: 36px;
    padding: 132px 16px 76px;
  }

  .hero h1 {
    font-size: clamp(3.15rem, 17vw, 4.45rem);
    line-height: 0.95;
    letter-spacing: -0.075em;
  }

  .hero-lede {
    font-size: 1rem;
  }

  .command-center {
    min-height: auto;
    border-radius: 24px;
  }

  .app-main {
    padding: 14px;
  }

  .metric-row,
  .dashboard-grid,
  .workflow-grid,
  .roadmap-grid,
  .use-case-grid,
  .form-grid,
  .ops-map {
    grid-template-columns: 1fr;
  }

  .ops-map i {
    width: 2px;
    height: 22px;
    justify-self: center;
  }

  .workflow-grid article,
  .roadmap-grid article,
  .use-case-grid article {
    min-height: auto;
  }

  .workflow-grid article::after,
  .before-after::after {
    display: none;
  }

  .before-card,
  .after-card,
  .faq,
  .waitlist {
    padding: 28px;
  }

  .section-heading h2,
  .before-after h2,
  .faq h2,
  .waitlist h2 {
    font-size: clamp(2.4rem, 12vw, 3.25rem);
    letter-spacing: -0.06em;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

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