:root {
  --bg: #e8edff;
  --bg-deep: #dfe6ff;
  --card: rgba(255, 255, 255, 0.88);
  --card-solid: #ffffff;
  --ink: #11131a;
  --muted: #5f6473;
  --purple: #6e3df4;
  --purple-dark: #5226cb;
  --red: #ff2c46;
  --blue: #1988f6;
  --line: rgba(82, 38, 203, 0.14);
  --shadow: 0 22px 60px rgba(55, 46, 116, 0.14);
  --radius: 28px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
  background:
    radial-gradient(circle at 14% 9%, rgba(255,255,255,.95), transparent 28%),
    radial-gradient(circle at 86% 16%, rgba(110,61,244,.10), transparent 25%),
    linear-gradient(180deg, #edf1ff 0%, var(--bg) 50%, #e3e9ff 100%);
  min-height: 100vh;
}

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

.site-shell { min-height: 100vh; }
.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(232, 237, 255, .78);
  border-bottom: 1px solid rgba(82,38,203,.08);
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -.02em;
  font-size: 1.06rem;
}

.nav-links { display: flex; flex-wrap: wrap; gap: 10px; }
.nav-link, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 17px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid rgba(110,61,244,.16);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.nav-link { background: rgba(255,255,255,.58); color: var(--purple-dark); }
.nav-link:hover, .button:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(82,38,203,.13); }
.button-primary { color: #fff; background: linear-gradient(135deg, var(--purple), var(--purple-dark)); border-color: transparent; }
.button-soft { background: #fff; color: var(--purple-dark); }

.hero { padding: 86px 0 50px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 60px;
}
.eyebrow {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--purple-dark);
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(110,61,244,.12);
  padding: 8px 12px;
  border-radius: 999px;
}
.hero h1 {
  margin: 18px 0 20px;
  font-size: clamp(2.75rem, 6vw, 5.8rem);
  line-height: .98;
  letter-spacing: -.055em;
  max-width: 820px;
}
.hero h1 span { color: var(--purple); }
.hero-copy {
  margin: 0;
  max-width: 700px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.26rem);
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }

.hero-card {
  position: relative;
  overflow: hidden;
  background: rgba(255,255,255,.8);
  border: 1px solid rgba(110,61,244,.12);
  border-radius: 34px;
  padding: 32px;
  box-shadow: var(--shadow);
}
.hero-card::before {
  content: "";
  position: absolute;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: rgba(110,61,244,.13);
  right: -90px; top: -110px;
}
.pulse-icon {
  width: 86px; height: 86px;
  display: grid; place-items: center;
  border-radius: 24px;
  color: #fff;
  font-size: 2.4rem;
  background: linear-gradient(135deg, var(--red), #ff6a7d);
  box-shadow: 0 16px 32px rgba(255,44,70,.22);
}
.hero-card h2 { font-size: 1.8rem; margin: 24px 0 10px; letter-spacing: -.03em; }
.hero-card p { color: var(--muted); margin: 0; }
.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 26px; }
.mini-stat { padding: 14px; border-radius: 18px; background: rgba(232,237,255,.72); border: 1px solid rgba(110,61,244,.08); }
.mini-stat strong { display: block; font-size: 1rem; }
.mini-stat span { font-size: .83rem; color: var(--muted); }

.section { padding: 58px 0; }
.section-head { max-width: 760px; margin-bottom: 28px; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.08; margin: 0 0 14px; letter-spacing: -.045em; }
.section-head p { margin: 0; color: var(--muted); font-size: 1.06rem; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card {
  background: var(--card);
  border: 1px solid rgba(110,61,244,.10);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 12px 38px rgba(55,46,116,.08);
}
.feature-number {
  width: 44px; height: 44px; border-radius: 14px;
  display: grid; place-items: center;
  font-weight: 900; color: var(--purple-dark);
  background: rgba(110,61,244,.10);
}
.feature-card h3 { margin: 18px 0 8px; font-size: 1.3rem; letter-spacing: -.02em; }
.feature-card p { margin: 0; color: var(--muted); }

.screenshots-wrap {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 26px;
  flex-wrap: wrap;
}
.screenshot-card {
  background: rgba(255,255,255,.76);
  padding: 12px;
  border-radius: 34px;
  border: 1px solid rgba(110,61,244,.12);
  box-shadow: var(--shadow);
}
.screenshot-img {
  width: 470.5px; /* exactly half of the supplied 941px image width */
  height: auto;
  border-radius: 24px;
}

.split-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  overflow: hidden;
  border-radius: 34px;
  border: 1px solid rgba(110,61,244,.11);
  background: rgba(255,255,255,.80);
  box-shadow: var(--shadow);
}
.split-panel { padding: clamp(28px, 5vw, 56px); }
.split-panel.alt { background: linear-gradient(145deg, rgba(110,61,244,.12), rgba(25,136,246,.09)); }
.split-panel h2 { font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.08; letter-spacing: -.04em; margin: 0 0 16px; }
.split-panel p { color: var(--muted); margin: 0 0 16px; }
.check-list { padding: 0; margin: 24px 0 0; list-style: none; }
.check-list li { margin: 11px 0; padding-left: 30px; position: relative; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--purple); font-weight: 900; }

.support-card {
  border-radius: 34px;
  padding: clamp(30px, 6vw, 60px);
  background: linear-gradient(135deg, var(--purple-dark), #7246f8);
  color: #fff;
  box-shadow: 0 24px 60px rgba(82,38,203,.25);
}
.support-card h2 { margin: 0 0 12px; font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -.04em; }
.support-card p { max-width: 760px; color: rgba(255,255,255,.82); }
.support-card .button { margin-top: 12px; background: #fff; color: var(--purple-dark); border-color: transparent; }

.legal-hero { padding: 74px 0 30px; }
.legal-hero h1 { margin: 14px 0 12px; font-size: clamp(2.5rem, 6vw, 5rem); letter-spacing: -.055em; line-height: 1; }
.legal-hero p { color: var(--muted); max-width: 800px; }
.legal-layout { display: grid; grid-template-columns: 260px 1fr; gap: 28px; padding-bottom: 70px; }
.legal-toc { position: sticky; top: 105px; align-self: start; background: rgba(255,255,255,.65); border: 1px solid rgba(110,61,244,.1); border-radius: 22px; padding: 18px; }
.legal-toc strong { display: block; margin-bottom: 9px; }
.legal-toc a { display: block; text-decoration: none; color: var(--muted); padding: 5px 0; font-size: .93rem; }
.legal-toc a:hover { color: var(--purple-dark); }
.legal-card { background: rgba(255,255,255,.82); border: 1px solid rgba(110,61,244,.10); border-radius: 30px; padding: clamp(26px, 5vw, 52px); box-shadow: 0 16px 44px rgba(55,46,116,.09); }
.legal-card section { scroll-margin-top: 110px; }
.legal-card h2 { font-size: 1.55rem; letter-spacing: -.02em; margin: 34px 0 12px; }
.legal-card h2:first-child { margin-top: 0; }
.legal-card p, .legal-card li { color: #454a59; }
.legal-card ul { padding-left: 22px; }
.legal-note { padding: 18px 20px; border-left: 4px solid var(--purple); background: rgba(110,61,244,.07); border-radius: 12px; color: #373c4a; }
.legal-footer-nav { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 42px; padding-top: 28px; border-top: 1px solid var(--line); }

.site-footer { padding: 30px 0 42px; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; align-items: center; flex-wrap: wrap; color: var(--muted); font-size: .92rem; }
.footer-links { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-links a { text-decoration: none; color: var(--purple-dark); font-weight: 700; }

@media (max-width: 900px) {
  .hero-grid, .split-card, .legal-layout { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .legal-toc { position: static; }
  .hero { padding-top: 56px; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 24px, var(--max)); }
  .nav-wrap { min-height: 70px; align-items: flex-start; padding: 13px 0; flex-direction: column; gap: 10px; }
  .site-header { position: static; }
  .nav-links { width: 100%; }
  .nav-link { flex: 1; min-width: 88px; padding: 9px 10px; font-size: .92rem; }
  .hero { padding-top: 42px; }
  .hero h1 { font-size: clamp(2.55rem, 15vw, 4.1rem); }
  .mini-stats { grid-template-columns: 1fr; }
  .screenshot-card { width: 100%; }
  .screenshot-img { width: 100%; }
  .section { padding: 42px 0; }
  .legal-hero { padding-top: 46px; }
  .legal-card { border-radius: 22px; }
}
