:root {
  --ink: #171421;
  --muted: #5d5a68;
  --line: #d8d5e5;
  --paper: #ffffff;
  --panel: #ffffff;
  --panel-soft: rgba(255, 255, 255, 0.72);
  --purple: #6236e8;
  --purple-dark: #4020a8;
  --violet: #8e78ff;
  --cyan: #bdf3ff;
  --green: #d7ffe5;
  --shadow: 0 18px 48px rgba(44, 32, 95, 0.16);
  --header-height: 72px;
  --mono: "SFMono-Regular", "Roboto Mono", Consolas, "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.announce {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px 20px;
  color: #f3f0ff;
  background: #080722;
  font-family: var(--mono);
  font-size: 13px;
}

.announce a {
  color: #d7ccff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(20px, 5vw, 84px);
  background: #fff;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  place-items: center;
  border: 1px solid rgba(98, 54, 232, 0.26);
  border-radius: 8px;
  color: var(--purple);
  background: #fff;
  box-shadow: inset 0 -8px 22px rgba(98, 54, 232, 0.12);
  font-size: 12px;
}

.desktop-nav,
.header-actions,
.footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.desktop-nav a,
.text-link,
.footer-links a {
  color: #2f2c3a;
  font-size: 14px;
  font-weight: 700;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  padding: 10px 22px;
  border: 1px solid rgba(58, 39, 138, 0.24);
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(180deg, #7652f1, var(--purple));
  box-shadow: 0 12px 24px rgba(98, 54, 232, 0.28);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.button:hover {
  background: linear-gradient(180deg, #8868ff, #5230cf);
}

.button.secondary {
  color: var(--ink);
  background: #fff;
  box-shadow: 0 8px 20px rgba(33, 25, 71, 0.08);
}

.button-small {
  min-height: 42px;
  padding: 0 16px;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  flex-shrink: 0;
  cursor: pointer;
}

.mobile-cta {
  display: none;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 0.9fr);
  gap: clamp(34px, 5vw, 80px);
  align-items: center;
  overflow: hidden;
  min-height: 610px;
  padding: 72px clamp(20px, 5vw, 84px) 64px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.hero-copy,
.hero-visual {
  position: relative;
  z-index: 1;
}

.hero-visual {
  padding-bottom: 72px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--purple);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: 56px;
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: 44px;
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.15;
  letter-spacing: 0;
}

p {
  color: var(--muted);
  line-height: 1.68;
}

.hero-text {
  max-width: 710px;
  font-size: 18px;
}

.demo-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  max-width: 560px;
  margin: 30px 0 18px;
}

.demo-status {
  max-width: 560px;
  margin: 0 0 18px;
  color: #9b263a;
  font-size: 14px;
}

.demo-status:empty { display: none; }

input {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid #cac6dc;
  border-radius: 10px;
  color: var(--ink);
  background: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  font: inherit;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 13px;
  font-style: italic;
}

.conversion-diagram {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 430px;
  padding: 0;
}

.conversion-diagram::before,
.conversion-diagram::after {
  position: absolute;
  top: 50%;
  width: 13%;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--purple), transparent);
}

.conversion-diagram::before {
  left: 24%;
}

.conversion-diagram::after {
  right: 26%;
}

.flow-column {
  display: grid;
  gap: 12px;
}

.flow-column p {
  margin: 0 0 2px;
  color: var(--purple);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.flow-node,
.conversion-core,
.terminal-card,
.feature-grid article,
.plan,
.metrics div {
  border: 1px solid rgba(98, 54, 232, 0.18);
  border-radius: 8px;
  background: var(--panel-soft);
  box-shadow: 0 14px 34px rgba(44, 32, 95, 0.08);
}

.flow-node {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  align-items: center;
  padding: 12px;
}

.flow-node span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 10px;
  color: var(--purple);
  background: #f0ecff;
  font-weight: 900;
}

.flow-node strong {
  font-size: 14px;
}

.conversion-core {
  display: grid;
  justify-items: center;
  padding: 24px 10px;
  text-align: center;
  background: #fff;
}

.core-badge {
  display: grid;
  width: 72px;
  height: 42px;
  margin-bottom: 16px;
  place-items: center;
  border-radius: 14px;
  color: var(--purple);
  background: #fff;
  box-shadow: 0 10px 30px rgba(98, 54, 232, 0.2);
  font-weight: 900;
}

.conversion-core h3 {
  margin-bottom: 2px;
  font-size: 18px;
}

.conversion-core p {
  margin-bottom: 18px;
  color: #8a8498;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.core-row {
  width: 100%;
  margin-top: 10px;
  padding: 11px 12px;
  border: 1px solid #dedaf0;
  border-radius: 999px;
  background: linear-gradient(180deg, #fff, #f8f6ff);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.terminal-card {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(74%, 430px);
  padding: 16px;
  transform: translateX(-50%);
  background: #11101a;
  color: #dfffe9;
  font-family: var(--mono);
}

.terminal-top {
  display: flex;
  gap: 7px;
  margin-bottom: 14px;
}

.terminal-top span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #ff6b6b;
}

.terminal-top span:nth-child(2) {
  background: #ffd166;
}

.terminal-top span:nth-child(3) {
  background: #7cffb2;
}

.terminal-card code {
  display: block;
  padding: 5px 0;
  color: #d9ffe7;
  font-size: 12px;
}

.terminal-card p {
  margin: 0;
  padding: 4px 0;
  color: #d9ffe7;
  font: 12px/1.6 var(--mono);
}

.logo-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.64);
}

.logo-strip span {
  display: grid;
  min-height: 74px;
  place-items: center;
  color: #878191;
  background: rgba(255, 255, 255, 0.54);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.trust-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(24px, 4vw, 48px);
  padding: clamp(52px, 7vw, 92px) clamp(20px, 5vw, 84px);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.trust-copy {
  align-self: start;
}

.trust-copy h2 {
  max-width: 620px;
  font-size: 42px;
}

.trust-copy p {
  max-width: 560px;
  margin-bottom: 26px;
}

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

.trust-stats div,
.testimonial-grid figure {
  border: 1px solid rgba(98, 54, 232, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 34px rgba(44, 32, 95, 0.08);
}

.trust-stats div {
  min-height: 164px;
  padding: 24px;
}

.trust-stats strong {
  display: block;
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 32px;
  line-height: 1;
}

.trust-stats span {
  display: block;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.5;
}

.testimonial-grid {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.testimonial-grid figure {
  margin: 0;
  padding: 26px;
  background: #fff;
}

.testimonial-grid blockquote {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.28;
}

.testimonial-grid figcaption {
  margin-top: 18px;
  color: var(--purple);
  font-size: 14px;
  font-weight: 800;
}

.section {
  padding: clamp(70px, 9vw, 124px) clamp(20px, 5vw, 84px);
}

.section:not(.dark) .eyebrow {
  color: var(--purple);
}

.split,
.pricing {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}

.numbered {
  background: #fff;
}

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

.feature-grid article {
  padding: 28px;
  background: #fff;
}

.icon {
  display: inline-grid;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  place-items: center;
  border: 1px solid rgba(98, 54, 232, 0.2);
  border-radius: 999px;
  color: var(--purple);
  background: #f0ecff;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 900;
}

.dark {
  color: #fff;
  background: #0c0a18;
}

.dark .eyebrow {
  color: #bdaeff;
}

.dark p {
  color: rgba(255, 255, 255, 0.72);
}

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

.solution-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.14);
}

.solution-row article {
  min-height: 250px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.06);
}

.impact {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
  background: #fff;
}

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

.metrics div {
  min-height: 150px;
  padding: 24px;
  background: #fff;
}

.metrics strong {
  display: block;
  font-size: 32px;
  line-height: 1;
}

.metrics span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-weight: 700;
}

blockquote {
  margin: 0;
  color: var(--ink);
  font-size: 34px;
  font-weight: 700;
  line-height: 1.18;
}

cite {
  display: block;
  margin-top: 22px;
  color: var(--purple);
  font-size: 16px;
  font-style: normal;
  font-weight: 800;
}

.pricing {
  align-items: center;
  background: #fff;
}

.plan {
  padding: 32px;
  background: #fff;
  border-top: 8px solid var(--purple);
}

.plan p {
  margin-bottom: 26px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 18px;
  padding: 0 10px;
  border-radius: 999px;
  background: #f0ecff;
  color: var(--purple);
  font-size: 12px;
  font-weight: 800;
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 28px;
  padding: 36px clamp(20px, 5vw, 84px);
  color: #fff;
  background: #080722;
}

footer p,
footer a {
  color: rgba(255, 255, 255, 0.72);
}

footer .brand {
  color: #fff;
}

footer .brand-mark {
  color: #fff;
  background: var(--purple);
}

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

footer .footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #d4d1df;
}

footer .footer-links a:hover {
  color: #fff;
}

@media (min-width: 1061px) and (max-width: 1200px) {
  .metrics strong { font-size: 28px; }
}

@media (max-width: 1060px) {
  .desktop-nav,
  .header-actions {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .site-header { gap: 12px; }

  .mobile-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin-left: auto;
    padding-inline: 8px;
    color: var(--purple);
    font-size: 14px;
    font-weight: 700;
    text-align: center;
  }

  .mobile-nav.is-open {
    position: sticky;
    top: var(--header-height);
    z-index: 19;
    display: grid;
    gap: 1px;
    padding: 0 20px 20px;
    background: rgba(248, 247, 251, 0.98);
    border-bottom: 1px solid var(--line);
    max-height: calc(100dvh - var(--header-height));
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .mobile-nav a {
    padding: 16px;
    border-radius: 8px;
    background: #fff;
    font-weight: 800;
  }

  .hero,
  .trust-panel,
  .split,
  .pricing,
  .impact {
    grid-template-columns: 1fr;
  }

  .conversion-diagram {
    min-height: 390px;
  }

  .logo-strip,
  .solution-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  :root { --header-height: 68px; }

  .announce {
    align-items: flex-start;
    flex-direction: column;
    min-height: auto;
    gap: 4px;
    font-size: 12px;
    line-height: 1.5;
    padding-inline: 16px;
  }

  .site-header {
    min-height: 68px;
    padding: 12px 16px;
    gap: 8px;
  }

  .hero {
    padding: 32px 16px 40px;
    gap: 28px;
    min-height: 0;
  }

  h1 {
    font-size: 36px;
    line-height: 1.12;
  }

  h2 {
    font-size: 32px;
    line-height: 1.15;
  }

  .hero-text { font-size: 16px; line-height: 1.6; }
  .demo-form { margin-top: 22px; }
  .hero-proof { gap: 6px; line-height: 1.5; }
  .hero-visual { padding-bottom: 0; }

  .demo-form,
  .trust-stats,
  .testimonial-grid,
  .feature-grid,
  .metrics,
  .solution-row,
  .conversion-diagram {
    grid-template-columns: minmax(0, 1fr);
  }

  .conversion-diagram {
    gap: 12px;
    min-height: auto;
    padding: 0;
  }

  .conversion-diagram::before,
  .conversion-diagram::after {
    display: none;
  }

  /* Keep each workflow stage compact without hiding its content. */
  .flow-column {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 0;
    padding-block: 8px;
    border-block: 1px solid var(--line);
  }

  .flow-column > p {
    grid-column: 1;
    grid-row: 1 / span 3;
    align-content: center;
    margin: 0;
    padding-right: 12px;
    border-right: 1px solid var(--line);
    line-height: 1.5;
  }

  .flow-node {
    grid-column: 2;
    grid-template-columns: 24px minmax(0, 1fr);
    min-height: 38px;
    padding: 6px 0 6px 12px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .flow-node span { width: 24px; height: 24px; border-radius: 6px; }
  .flow-node strong { line-height: 1.4; }

  .conversion-core {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 12px;
    padding: 16px;
    border-color: var(--purple);
    box-shadow: none;
  }

  .core-badge { display: none; }
  .conversion-core h3 { justify-self: start; align-self: center; margin: 0; }
  .conversion-core p { justify-self: end; align-self: center; margin: 0; color: var(--muted); }
  .core-row {
    min-height: 34px;
    margin: 0;
    padding: 8px 0 0;
    border: 0;
    border-top: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
    line-height: 1.5;
  }

  .terminal-card {
    position: static;
    width: 100%;
    margin-top: 14px;
    transform: none;
    padding: 12px;
  }

  .terminal-top { margin-bottom: 6px; }

  .section {
    padding: 48px 16px;
    gap: 28px;
  }

  .trust-panel {
    padding: 48px 16px;
    gap: 24px;
  }

  .trust-copy h2 { font-size: 32px; }
  .trust-stats div { min-height: 0; padding: 20px; }
  .trust-stats strong, .metrics strong { font-size: 26px; line-height: 1.15; }
  .trust-stats span, .metrics span { font-weight: 500; line-height: 1.5; }
  .testimonial-grid figure, .feature-grid article, .plan { padding: 22px; }
  .testimonial-grid blockquote { font-size: 18px; line-height: 1.4; }
  .logo-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logo-strip span { min-height: 48px; padding: 8px; text-align: center; color: var(--muted); }
  .solution-row article { min-height: 0; padding: 24px; }
  .metrics div { min-height: 0; padding: 20px; }
  .impact blockquote { font-size: 26px; line-height: 1.3; }
  .plan .button { width: 100%; }

  footer {
    flex-direction: column;
    padding: 28px 16px;
    gap: 16px;
  }

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

html { scroll-padding-top: calc(var(--header-height) + 16px); }
* { letter-spacing: 0; }
.button { white-space: normal; text-align: center; }
h1, h2, h3, p, strong, a { overflow-wrap: anywhere; }
:focus-visible { outline: 3px solid #6236e8; outline-offset: 4px; }
@media (max-width: 360px) {
  .site-header .brand { gap: 8px; font-size: 14px; }
  .mobile-cta { padding-inline: 0; }
}
@media (min-width: 400px) and (max-width: 680px) {
  .trust-stats, .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metrics strong { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
