:root {
  --navy: #07172f;
  --navy-2: #0c2448;
  --blue: #1457d9;
  --blue-soft: #eaf2ff;
  --ink: #12213b;
  --muted: #5e6b80;
  --line: #dfe6f0;
  --paper: #ffffff;
  --mist: #f5f8fc;
  --radius-lg: 32px;
  --radius-md: 22px;
  --shadow: 0 24px 70px rgba(7, 23, 47, 0.13);
}

* { 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(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; }

.skip-link {
  position: fixed;
  left: 12px;
  top: -80px;
  z-index: 100;
  background: #fff;
  padding: 10px 14px;
  border-radius: 10px;
}
.skip-link:focus { top: 12px; }

.shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(223,230,240,0.86);
}
.nav-wrap {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 760;
  letter-spacing: -0.02em;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(145deg, var(--blue), #0b3b96);
  box-shadow: 0 10px 24px rgba(20,87,217,0.25);
  font-size: 14px;
  letter-spacing: 0.04em;
}
.brand-name { font-size: 20px; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  text-decoration: none;
  color: #42506a;
  font-size: 15px;
  font-weight: 650;
}
.nav a:hover { color: var(--blue); }

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 72% 20%, rgba(45,110,255,0.22), transparent 34%),
    linear-gradient(135deg, #07172f 0%, #0a2347 58%, #0c2d60 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: rgba(255,255,255,0.08);
}
.hero-grid {
  position: relative;
  z-index: 2;
  min-height: 680px;
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 70px;
  align-items: center;
  padding: 98px 0 108px;
}
.hero-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(1px);
  pointer-events: none;
}
.hero-glow-one {
  width: 420px;
  height: 420px;
  right: -150px;
  top: 80px;
  background: rgba(29,90,207,0.2);
}
.hero-glow-two {
  width: 300px;
  height: 300px;
  left: -190px;
  bottom: -120px;
  background: rgba(50,126,255,0.13);
}
.eyebrow {
  margin: 0 0 18px;
  color: #a9c7ff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.eyebrow-dark { color: var(--blue); }
h1, h2, h3 { margin-top: 0; line-height: 1.05; letter-spacing: -0.04em; }
h1 {
  margin-bottom: 24px;
  max-width: 760px;
  font-size: clamp(48px, 6vw, 78px);
  font-weight: 760;
}
.hero-text {
  margin: 0;
  max-width: 700px;
  color: #c8d4e8;
  font-size: 18px;
  line-height: 1.75;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 14px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 760;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: #06162d; background: #fff; }
.button-secondary { color: #fff; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.06); }
.button-secondary:hover { background: rgba(255,255,255,.1); }

.workflow-card {
  width: min(100%, 500px);
  margin-left: auto;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 28px;
  background: rgba(255,255,255,.08);
  box-shadow: 0 32px 80px rgba(0,0,0,.26);
  backdrop-filter: blur(12px);
  transform: rotate(1.2deg);
  overflow: hidden;
}
.workflow-topbar {
  height: 52px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 18px;
  background: rgba(255,255,255,.07);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.workflow-topbar span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.45); }
.workflow-body { padding: 26px; }
.mini-panel {
  min-height: 124px;
  padding: 20px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 18px;
  background: rgba(4,15,34,.28);
}
.mini-panel-wide { min-height: 158px; }
.mini-panel strong { display: block; margin-top: 6px; font-size: 18px; }
.mini-panel small { color: #afbdd4; }
.mini-label { color: #91b6ff; font-size: 12px; font-weight: 760; text-transform: uppercase; letter-spacing: .12em; }
.mini-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: rgba(84,139,255,.18); color: #a8c5ff; font-size: 11px; font-weight: 800; }
.progress-line { height: 9px; margin-top: 28px; border-radius: 999px; background: rgba(255,255,255,.1); overflow: hidden; }
.progress-line span { display: block; width: 74%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #4388ff, #86b5ff); }
.mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.task-lines { display: grid; gap: 10px; margin-top: 18px; }
.task-lines span { height: 11px; border-radius: 999px; background: rgba(255,255,255,.09); }
.task-lines span:nth-child(1) { width: 92%; }
.task-lines span:nth-child(2) { width: 74%; }
.task-lines span:nth-child(3) { width: 84%; }

.section { padding: 112px 0; }
.about-section { background: #fff; }
.split-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: start; }
h2 { margin-bottom: 0; font-size: clamp(38px, 4vw, 56px); }
.about-copy p {
  margin: 45px 0 0;
  color: #4c5970;
  font-size: 21px;
  line-height: 1.82;
}

.products-section { background: var(--mist); border-top: 1px solid #e9eef6; }
.products-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 60px;
  margin-bottom: 44px;
}
.products-heading > p { width: min(440px, 100%); margin: 0 0 3px; color: var(--muted); font-size: 17px; }
.product-card {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 56px;
  align-items: center;
  padding: 58px;
  border: 1px solid #dfe6f0;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
}
.product-badge {
  display: inline-flex;
  margin-bottom: 20px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #0c4fc8;
  background: var(--blue-soft);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.product-copy h3 { margin-bottom: 16px; font-size: 48px; }
.product-copy p { color: var(--muted); font-size: 16px; }
.product-copy .product-lead { color: var(--ink); font-size: 21px; line-height: 1.55; }
.text-link { display: inline-flex; gap: 8px; margin-top: 12px; color: var(--blue); font-weight: 780; text-decoration: none; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.product-preview { min-width: 0; }
.preview-window {
  min-height: 360px;
  overflow: hidden;
  border: 1px solid #cfd9e8;
  border-radius: 22px;
  background: #f8fbff;
  box-shadow: 0 24px 60px rgba(14,43,86,.18);
}
.preview-header { height: 62px; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; color: #fff; background: var(--navy); }
.preview-brand { font-size: 15px; font-weight: 820; letter-spacing: .03em; }
.preview-brand span { color: #8cb5ff; }
.preview-user { width: 30px; height: 30px; border-radius: 50%; background: #2c64bd; }
.preview-body { display: grid; grid-template-columns: 64px 1fr; min-height: 298px; }
.preview-sidebar { display: flex; flex-direction: column; align-items: center; gap: 17px; padding-top: 24px; background: #0b2143; }
.preview-sidebar span { width: 26px; height: 7px; border-radius: 6px; background: rgba(255,255,255,.16); }
.preview-sidebar .active { background: #72a3ff; }
.preview-content { padding: 28px; }
.preview-title { width: 46%; height: 18px; border-radius: 7px; background: #b9c9df; }
.preview-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 24px; }
.preview-cards div { height: 80px; border: 1px solid #dbe4f0; border-radius: 14px; background: #fff; }
.preview-table { display: grid; gap: 10px; margin-top: 22px; padding: 18px; border: 1px solid #dbe4f0; border-radius: 15px; background: #fff; }
.preview-table span { height: 8px; border-radius: 8px; background: #dbe4f0; }
.preview-table span:nth-child(2) { width: 82%; }
.preview-table span:nth-child(3) { width: 92%; }
.preview-table span:nth-child(4) { width: 68%; }

.site-footer { padding: 64px 0 26px; color: #c5d2e6; background: var(--navy); }
.footer-wrap { display: flex; justify-content: space-between; gap: 40px; align-items: end; padding-bottom: 40px; }
.footer-brand { color: #fff; font-size: 22px; font-weight: 780; }
.footer-wrap p { margin: 5px 0 0; }
.footer-wrap a { color: #fff; font-weight: 700; text-decoration: none; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.11); color: #8fa0ba; font-size: 13px; }

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .72s ease, transform .72s cubic-bezier(.2,.7,.2,1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .button { transition: none; }
}

@media (max-width: 940px) {
  .hero-grid, .split-grid, .product-card { grid-template-columns: 1fr; }
  .hero-grid { gap: 54px; padding: 76px 0 86px; }
  .workflow-card { margin: 0; }
  .split-grid { gap: 24px; }
  .about-copy p { margin-top: 10px; }
  .products-heading { align-items: start; flex-direction: column; gap: 20px; }
  .product-card { padding: 36px; }
}

@media (max-width: 640px) {
  .shell { width: min(100% - 30px, 1180px); }
  .nav-wrap { min-height: 72px; }
  .brand-name { font-size: 17px; }
  .nav { gap: 17px; }
  .nav a { font-size: 13px; }
  .hero-grid { min-height: auto; padding: 64px 0 72px; }
  h1 { font-size: clamp(42px, 14vw, 58px); }
  .hero-text { font-size: 16px; }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .section { padding: 76px 0; }
  h2 { font-size: 40px; }
  .about-copy p { font-size: 18px; }
  .product-card { gap: 38px; padding: 26px 20px; border-radius: 24px; }
  .product-copy h3 { font-size: 42px; }
  .product-copy .product-lead { font-size: 19px; }
  .preview-window { min-height: 300px; }
  .preview-body { grid-template-columns: 48px 1fr; min-height: 238px; }
  .preview-content { padding: 20px 16px; }
  .preview-cards { grid-template-columns: 1fr; }
  .preview-cards div:nth-child(n+2) { display: none; }
  .footer-wrap, .footer-bottom { align-items: start; flex-direction: column; }
}
