:root {
  --bg: #f7f8fb;
  --surface: rgba(255, 255, 255, 0.74);
  --surface-strong: rgba(255, 255, 255, 0.92);
  --text: #111827;
  --muted: #5b6472;
  --line: rgba(17, 24, 39, 0.11);
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.10);
  --radius: 24px;
  --max: 1180px;
}

* { 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(--text);
  background:
    radial-gradient(circle at 12% 8%, rgba(37, 99, 235, 0.10), transparent 28%),
    radial-gradient(circle at 86% 18%, rgba(148, 163, 184, 0.18), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 38%, #eef2f7 100%);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.glass {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(17, 24, 39, 0.06);
}

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 12px;
  display: grid; place-items: center;
  color: var(--blue); background: #fff; border: 1px solid var(--line);
}
.nav { display: flex; gap: 22px; align-items: center; color: #1f2937; font-weight: 650; font-size: 0.94rem; }
.nav a:not(.button) { opacity: 0.88; }
.nav a:not(.button):hover { opacity: 1; color: var(--blue-dark); }
.nav .button.primary {
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.94rem;
  opacity: 1;
}
.nav .button.primary:hover { color: white; }

.section-pad, .section, .download, .footer { max-width: var(--max); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.hero {
  display: block;
  min-height: unset;
  padding-top: 72px;
  padding-bottom: 16px;
}
.hero + .demo-section {
  padding-top: 0;
}
.hero-content {
  width: 100%;
  max-width: 100%;
}
.hero .lead {
  max-width: 52rem;
}
.eyebrow { margin: 0 0 10px; color: var(--blue-dark); font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; font-size: 0.78rem; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(2.7rem, 7vw, 5rem); line-height: 0.98; letter-spacing: -0.065em; margin-bottom: 24px; }
h2 { font-size: clamp(1.7rem, 3vw, 2.45rem); line-height: 1.1; letter-spacing: -0.035em; margin-bottom: 14px; }
h3 { font-size: 1rem; line-height: 1.25; margin-bottom: 6px; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 650px; }
.hero-features {
  display: grid;
  width: 100%;
  margin: 28px 0 32px;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.hero-features .feature-card {
  text-align: center;
  min-height: unset;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.hero-features .feature-card span {
  margin-bottom: 0;
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 2px;
  font-size: 2.5rem;
  line-height: 1;
  border-radius: 50%;
  background: #f8fafc;
  border: none;
}
.hero-features .feature-card h3 { margin-bottom: 0; }
.tech-list .tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 0;
  border: none;
  background: none;
  font-weight: 750;
  font-size: 0.92rem;
  text-align: center;
}
.tech-list .tech-item img {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  object-fit: contain;
}
.tech-list .tech-label {
  line-height: 1.2;
}
.actions, .download-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: flex-start; }
.download-actions { justify-content: flex-end; margin-left: auto; flex-shrink: 0; }
.download-primary {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.download-note {
  margin: 0;
  color: rgba(165, 167, 172, 1);
  font-size: 0.75rem;
  line-height: 1.2;
  text-align: center;
}
.hero .actions { justify-content: center; }
.hero .note { text-align: center; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: 0 20px; border-radius: 14px; font-weight: 800; border: 1px solid var(--line); }
.button-icon { width: 0.95em; height: 0.95em; margin-right: 0.45em; flex-shrink: 0; }
.button.primary { color: white; background: linear-gradient(180deg, #3b82f6, var(--blue)); border-color: rgba(37, 99, 235, 0.25); }
.button.primary:hover { background: linear-gradient(180deg, #2563eb, var(--blue-dark)); }
.button.secondary { background: rgba(255,255,255,0.85); }
.note { color: var(--muted); margin-top: 14px; font-size: 0.95rem; }

.feature-card p, .step-card p, .text-card p, .download p { color: var(--muted); margin-bottom: 0; }

.section { padding-top: 74px; padding-bottom: 26px; }
.section-soft { max-width: none; background: linear-gradient(180deg, rgba(255,255,255,0.58), rgba(238,242,247,0.3)); padding-left: max(24px, calc((100vw - var(--max)) / 2 + 24px)); padding-right: max(24px, calc((100vw - var(--max)) / 2 + 24px)); }
.section-heading { text-align: center; max-width: 720px; margin: 0 auto 30px; }
.section-heading p:not(.eyebrow) { color: var(--muted); }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.step-card, .feature-card, .text-card, .wide-shot { border-radius: 20px; padding: 16px; }
.step-top { display: flex; align-items: center; gap: 10px; min-height: 52px; }
.step-number { width: 28px; height: 28px; border-radius: 50%; background: var(--blue); color: white; display: grid; place-items: center; font-weight: 900; flex: 0 0 auto; }
.step-card img { aspect-ratio: 16/11; width: 100%; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); background: #111; margin-bottom: 14px; }

.feature-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.hero .hero-features { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature-card { text-align: center; min-height: 210px; }
.hero-features .feature-card { min-height: unset; width: 100%; }
.feature-card span { font-size: 2rem; display: inline-grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; background: #f8fafc; border: 1px solid var(--line); margin-bottom: 16px; }

.two-column { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: stretch; }
.text-card { padding: 28px; }
.text-card a { color: var(--blue-dark); text-decoration: underline; text-underline-offset: 2px; }
.text-card a:hover { color: var(--blue); }
.highlight-list { display: grid; gap: 18px; align-content: center; }
.highlight-list p { padding-left: 18px; border-left: 3px solid rgba(37,99,235,0.22); }
.compact { padding-top: 34px; }
.tech-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 20px 0;
  align-items: start;
}

.demo-section { padding-top: 42px; }
.wide-shot { padding: 14px; overflow: hidden; }
.wide-shot img { border-radius: 16px; border: 1px solid var(--line); max-height: 620px; width: 100%; object-fit: cover; object-position: top center; }

.download { margin-top: 54px; margin-bottom: 34px; padding-top: 28px; padding-bottom: 28px; border-radius: var(--radius); display: flex; justify-content: space-between; gap: 24px; align-items: center; }
.download h2 { margin-bottom: 8px; }
.footer { display: flex; justify-content: space-between; gap: 14px; padding-top: 24px; padding-bottom: 42px; color: var(--muted); font-size: 0.95rem; }

@media (max-width: 1050px) {
  .hero { padding-top: 44px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .site-header { position: static; align-items: flex-start; gap: 16px; flex-direction: column; }
  .nav { flex-wrap: wrap; gap: 12px; font-size: 0.88rem; }
  h1 { font-size: 3rem; }
  .tech-list { grid-template-columns: repeat(2, 1fr); }
  .hero-features, .steps, .feature-grid, .two-column { grid-template-columns: 1fr; }
  .download { flex-direction: column; align-items: flex-start; }
  .download .download-actions { align-self: flex-end; width: 100%; }
  .footer { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
