:root {
  color-scheme: light;
  --bg: #f5f7fb;
  --bg-2: #e9eef8;
  --text: #111827;
  --muted: #5b667a;
  --surface: rgba(255, 255, 255, 0.76);
  --surface-strong: #fff;
  --line: rgba(17, 24, 39, 0.11);
  --primary: #2764ff;
  --primary-2: #00b7d8;
  --green: #13b981;
  --shadow: 0 28px 80px rgba(30, 52, 93, 0.16);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --max: 1180px;
}
body[data-theme="dark"] {
  color-scheme: dark;
  --bg: #070a12;
  --bg-2: #0f1628;
  --text: #f7f9ff;
  --muted: #aab6ce;
  --surface: rgba(18, 25, 42, 0.72);
  --surface-strong: #111827;
  --line: rgba(255, 255, 255, 0.12);
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family:
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--text);
  background:
    radial-gradient(
      circle at 14% 6%,
      rgba(39, 100, 255, 0.24),
      transparent 30rem
    ),
    radial-gradient(
      circle at 86% 18%,
      rgba(0, 183, 216, 0.18),
      transparent 28rem
    ),
    linear-gradient(180deg, var(--bg), var(--bg-2) 42%, var(--bg));
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(98, 119, 163, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(98, 119, 163, 0.08) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, #000, transparent 70%);
  z-index: -1;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
h1,
h2,
h3,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}
h1 {
  font-size: clamp(3.2rem, 7vw, 6.7rem);
  line-height: 0.93;
  letter-spacing: -0.06em;
}
h2 {
  font-size: clamp(2.1rem, 4.6vw, 4.4rem);
  line-height: 1;
  letter-spacing: -0.045em;
}
h3 {
  font-size: 1.15rem;
  line-height: 1.2;
}
p {
  color: var(--muted);
}
.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}
.section-pad {
  padding: clamp(4.5rem, 9vw, 8rem) 0;
}
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  z-index: 999;
  background: linear-gradient(
    90deg,
    var(--primary),
    var(--primary-2),
    var(--green)
  );
}
.cursor-dot {
  position: fixed;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(39, 100, 255, 0.65);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 998;
  opacity: 0;
  transition:
    width 160ms ease,
    height 160ms ease,
    opacity 160ms ease,
    border-color 160ms ease;
}
.cursor-dot.is-active {
  width: 42px;
  height: 42px;
  border-color: rgba(0, 183, 216, 0.72);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1rem 0;
}
.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.72rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(22px);
  box-shadow: 0 18px 42px rgba(20, 34, 66, 0.1);
}
body[data-theme="dark"] .nav-shell {
  background: rgba(8, 12, 22, 0.72);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  min-width: max-content;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 12px 28px rgba(39, 100, 255, 0.34);
}
.brand span:last-child {
  display: grid;
  line-height: 1.05;
}
.brand small {
  color: var(--muted);
  font-size: 0.76rem;
}
.menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.2rem;
  border-radius: 999px;
  background: rgba(125, 147, 190, 0.11);
}
.menu a {
  padding: 0.62rem 0.9rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  transition:
    color 160ms ease,
    background 160ms ease,
    transform 160ms ease;
}
.menu a:hover,
.menu .nav-demo {
  color: var(--text);
  background: var(--surface-strong);
  transform: translateY(-1px);
}
.nav-actions {
  display: flex;
  gap: 0.5rem;
}
.icon-btn,
.menu-btn {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--text);
  background: var(--surface-strong);
  cursor: pointer;
}
.icon-btn .toggle-icon {
  font-size: 0;
}
.icon-btn .toggle-icon::before {
  content: "☾";
  font-size: 1rem;
}
body[data-theme="dark"] .icon-btn .toggle-icon::before {
  content: "☼";
}
.menu-btn {
  display: none;
  position: relative;
}
.menu-btn span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: currentColor;
}
.menu-btn span:first-child {
  top: 15px;
}
.menu-btn span:last-child {
  bottom: 15px;
}
.hero {
  padding-top: clamp(3rem, 7vw, 6rem);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.hero-copy {
  display: grid;
  gap: 1.5rem;
}
.eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 0.5rem;
  padding: 0.48rem 0.84rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.hero-copy p {
  max-width: 650px;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 18px 42px rgba(39, 100, 255, 0.28);
}
.btn-soft {
  color: var(--text);
  background: var(--surface-strong);
  border-color: var(--line);
}
.metric-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  max-width: 650px;
}
.metric-strip div {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  backdrop-filter: blur(18px);
}
.metric-strip dt {
  font-size: 1.55rem;
  font-weight: 900;
}
.metric-strip dd {
  color: var(--muted);
  font-size: 0.86rem;
}
.hero-product {
  perspective: 1200px;
}
.app-window {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 1rem;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.82),
    rgba(255, 255, 255, 0.38)
  );
  box-shadow: var(--shadow);
  transform: rotateX(7deg) rotateY(-9deg);
  animation: floatWindow 8s ease-in-out infinite;
}
body[data-theme="dark"] .app-window {
  background: linear-gradient(
    145deg,
    rgba(26, 35, 58, 0.86),
    rgba(12, 17, 30, 0.64)
  );
}
.window-bar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.7rem 1rem;
  color: var(--muted);
}
.window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff6363;
}
.window-bar span:nth-child(2) {
  background: #ffc04d;
}
.window-bar span:nth-child(3) {
  background: #31d184;
  margin-right: auto;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 0.8rem;
}
.dash-card,
.dash-list {
  min-height: 150px;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface-strong);
}
.dash-card-large {
  grid-row: span 2;
  min-height: 320px;
  display: grid;
  align-content: space-between;
}
.dash-card span,
.dash-list h3 {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}
.dash-card strong {
  display: block;
  font-size: 2.5rem;
  line-height: 1;
  letter-spacing: -0.05em;
}
.dash-card small {
  color: var(--muted);
}
.line-chart {
  display: flex;
  align-items: end;
  gap: 0.5rem;
  height: 145px;
}
.line-chart i {
  flex: 1;
  height: var(--h);
  border-radius: 999px;
  background: linear-gradient(180deg, var(--primary), var(--primary-2));
}
.dash-list {
  grid-column: span 2;
  min-height: auto;
}
.dash-list p {
  display: flex;
  gap: 0.7rem;
  margin-top: 0.72rem;
}
.dash-list b {
  width: 0.62rem;
  height: 0.62rem;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: var(--green);
}
.section-heading {
  display: grid;
  justify-items: center;
  gap: 1rem;
  max-width: 780px;
  margin: 0 auto clamp(2rem, 4vw, 3.5rem);
  text-align: center;
}
.section-heading.left {
  justify-items: start;
  margin-inline: 0;
  text-align: left;
}
.client-row,
.faq-grid,
.quote-grid,
.bento-grid {
  display: grid;
  gap: 1rem;
}
.client-row {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.client-logo {
  display: flex;
  min-height: 112px;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  color: var(--muted);
  font-weight: 900;
  text-align: center;
  transition:
    transform 180ms ease,
    background 180ms ease;
}
.client-logo:hover {
  transform: translateY(-5px);
  background: var(--surface-strong);
}
.client-logo img {
  width: 62px;
  height: 62px;
  border-radius: 16px;
  object-fit: cover;
}
.bento-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.bento-card,
.automation-stack article,
.faq-grid article,
.quote-grid figure {
  position: relative;
  overflow: hidden;
  padding: clamp(1.3rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 0 16px 46px rgba(22, 35, 65, 0.08);
  transition:
    transform 190ms ease,
    box-shadow 190ms ease,
    border-color 190ms ease;
}
.bento-card:hover,
.automation-stack article:hover,
.faq-grid article:hover,
.quote-grid figure:hover {
  transform: translateY(-7px);
  border-color: rgba(39, 100, 255, 0.34);
  box-shadow: var(--shadow);
}
.span-2 {
  grid-column: span 2;
}
.card-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 2.4rem;
  border-radius: 14px;
  color: #fff;
  background: var(--text);
  font-weight: 900;
}
.bento-card h3 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  margin-bottom: 0.8rem;
}
.accent-card {
  color: #fff;
  background: linear-gradient(135deg, #245dff, #05b6d9);
}
.accent-card p {
  color: rgba(255, 255, 255, 0.82);
}
.workflow,
.testimonials {
  background: linear-gradient(
    180deg,
    transparent,
    rgba(39, 100, 255, 0.06),
    transparent
  );
}
.timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.8rem;
  padding: 0;
  margin: 0;
  list-style: none;
}
.timeline li {
  min-height: 255px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.timeline span {
  color: var(--primary);
  font-weight: 900;
}
.split-section {
  display: grid;
  grid-template-columns: 0.75fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.sticky-copy {
  position: sticky;
  top: 8rem;
}
.automation-stack {
  display: grid;
  gap: 1rem;
}
.insight-panel,
.cta-shell {
  display: grid;
  gap: 2rem;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(
      circle at 95% 8%,
      rgba(19, 185, 129, 0.2),
      transparent 18rem
    ),
    linear-gradient(135deg, rgba(39, 100, 255, 0.13), var(--surface));
  box-shadow: var(--shadow);
}
.insight-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}
.insight-cards span {
  min-height: 92px;
  display: grid;
  place-items: center;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface-strong);
  color: var(--muted);
  font-weight: 900;
  text-align: center;
}
.quote-grid,
.faq-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.quote-grid blockquote {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.35;
  letter-spacing: -0.02em;
}
.quote-grid figcaption {
  margin-top: 1.5rem;
  color: var(--muted);
  font-weight: 800;
}
.faq-grid article {
  box-shadow: none;
}
.faq-grid h3 {
  margin-bottom: 0.65rem;
}
.cta-shell {
  align-items: start;
}
.cta-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.field {
  display: grid;
  gap: 0.42rem;
}
.field.full,
.cta-form button,
.form-status,
.footnote {
  grid-column: span 2;
}
label {
  color: var(--text);
  font-weight: 800;
  font-size: 0.9rem;
}
input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.9rem 1rem;
  color: var(--text);
  background: var(--surface-strong);
  font: inherit;
}
textarea {
  resize: vertical;
}
input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(39, 100, 255, 0.15);
}
.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-status {
  min-height: 1.2rem;
  font-weight: 800;
}
.form-status[data-status="success"] {
  color: var(--green);
}
.form-status[data-status="error"] {
  color: #dc2626;
}
.footnote {
  font-size: 0.86rem;
}
.site-footer {
  padding: 3rem 0;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.36);
}
body[data-theme="dark"] .site-footer {
  background: rgba(5, 8, 15, 0.5);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
}
.site-footer p {
  margin-top: 1rem;
  max-width: 420px;
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: flex-end;
}
.site-footer nav a,
.footer-bottom a {
  color: var(--muted);
  font-weight: 800;
}
.footer-bottom {
  grid-column: 1/-1;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 680ms ease,
    transform 680ms ease;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
@keyframes floatWindow {
  0%,
  100% {
    transform: rotateX(7deg) rotateY(-9deg) translateY(0);
  }
  50% {
    transform: rotateX(5deg) rotateY(-5deg) translateY(-14px);
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
@media (max-width: 1040px) {
  .menu {
    position: absolute;
    top: calc(100% + 0.8rem);
    left: 1rem;
    right: 1rem;
    display: grid;
    padding: 0.8rem;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--surface-strong);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition:
      opacity 180ms ease,
      transform 180ms ease;
  }
  .menu.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .nav-shell {
    position: relative;
  }
  .menu-btn {
    display: inline-block;
  }
  .hero-grid,
  .split-section,
  .insight-panel,
  .cta-shell {
    grid-template-columns: 1fr;
  }
  .hero-product {
    order: -1;
  }
  .app-window {
    transform: none;
    animation: none;
  }
  .timeline,
  .client-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .bento-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sticky-copy {
    position: static;
  }
}
@media (max-width: 680px) {
  .container {
    width: min(100% - 1.2rem, var(--max));
  }
  .nav-shell {
    border-radius: 24px;
  }
  .brand small {
    display: none;
  }
  h1 {
    font-size: clamp(2.9rem, 16vw, 4.5rem);
  }
  .hero-actions,
  .metric-strip,
  .cta-form,
  .footer-bottom {
    grid-template-columns: 1fr;
  }
  .hero-actions .btn,
  .field.full,
  .cta-form button,
  .form-status,
  .footnote {
    grid-column: span 1;
  }
  .metric-strip,
  .dashboard-grid,
  .timeline,
  .client-row,
  .bento-grid,
  .quote-grid,
  .faq-grid,
  .insight-cards,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .span-2,
  .dash-list {
    grid-column: span 1;
  }
  .dash-card-large {
    min-height: 240px;
  }
  .timeline li {
    min-height: 190px;
  }
  .site-footer nav {
    justify-content: flex-start;
  }
}
