:root {
  --ink: #191a1b;
  --muted: #5f6368;
  --line: #e7e7ef;
  --bg: #ffffff;
  --lav: #efeffb;
  --lav-2: #e3e0fa;
  --purple: #543cc3;
  --purple-dark: #4330a3;
  --max: 1140px;
  --head: Poppins, Inter, Arial, sans-serif;
  --shadow: 0 30px 70px rgba(44, 32, 120, 0.16);
  --card-shadow: 0 6px 24px rgba(25, 26, 27, 0.06);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--purple); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
h1, h2, h3 { font-family: var(--head); font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
h1 { font-size: 52px; line-height: 1.12; margin: 0 0 20px; }
h2 { font-size: 44px; line-height: 1.18; margin: 0 0 14px; }
h3 { font-size: 20px; line-height: 1.3; margin: 0 0 8px; }
.center { text-align: center; }
.sub { color: var(--muted); font-size: 18px; margin: 0 auto 56px; max-width: 620px; }

/* top bar */
.top {
  position: sticky; top: 0; z-index: 30; background: #fff;
  box-shadow: 0 1px 0 var(--line), 0 6px 18px rgba(84, 60, 195, 0.06);
}
.top-inner { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-family: var(--head); font-weight: 600; font-size: 22px; letter-spacing: -0.02em; }
.brand:hover { text-decoration: none; }
.brand svg { flex: none; }
.brand b { color: var(--purple); font-weight: 600; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--ink); font-size: 15px; }
.nav a:hover { color: var(--purple); text-decoration: none; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--purple); color: #fff !important; border-radius: 6px;
  min-height: 44px; padding: 0 20px; font-weight: 500; font-size: 15px; border: 0;
  transition: background .15s, transform .15s, box-shadow .15s;
}
.btn:hover { background: var(--purple-dark); text-decoration: none; }
.btn.lg { min-height: 60px; padding: 0 30px; font-size: 18px; font-weight: 600; border-radius: 8px; box-shadow: 0 12px 28px rgba(84, 60, 195, .28); }
.btn.lg:hover { transform: translateY(-1px); box-shadow: 0 16px 34px rgba(84, 60, 195, .34); }
.btn svg { flex: none; }
.fine { color: var(--muted); font-size: 14px; margin: 16px 0 0; }
.fine a { color: var(--muted); text-decoration: underline; }

/* hero */
.hero { padding: 72px 0 96px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: center; }
.lead { font-size: 19px; line-height: 1.6; margin: 0 0 26px; max-width: 520px; }
.checks { list-style: none; margin: 0 0 34px; padding: 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 12px; align-items: center; font-size: 17px; }
.checks svg { flex: none; color: var(--purple); }
.stage { position: relative; }
.stage::before {
  content: ""; position: absolute; inset: -12% -18% -14% 6%; z-index: -1;
  background: radial-gradient(closest-side, var(--lav-2), rgba(239, 239, 251, 0));
}
.hero-grid { grid-template-columns: 0.92fr 1.3fr; }
.hero-stage { margin-right: -170px; }
.chip {
  position: absolute; left: -40px; bottom: -30px; display: flex; align-items: center; gap: 12px;
  background: #fff; border-radius: 12px; padding: 14px 20px 14px 14px;
  box-shadow: 0 16px 40px rgba(44, 32, 120, .18); font-size: 15px; line-height: 1.35;
}
.chip strong { display: block; font-weight: 600; }
.chip small { color: var(--muted); font-size: 13px; }
.chip-ico { width: 38px; height: 38px; border-radius: 50%; background: var(--purple); color: #fff; display: grid; place-items: center; }
.window { border-radius: 12px; overflow: hidden; background: #fff; box-shadow: var(--shadow); border: 1px solid rgba(84, 60, 195, .10); }
.window img { width: 100%; }

/* 1-2-3 */
.easy { padding: 88px 0 120px; }
.path { position: relative; display: grid; grid-template-columns: repeat(3, 230px); justify-content: center; gap: 0 110px; }
.path svg.trail { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.step { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 26px 24px 28px; text-align: left; height: max-content; }
.step:nth-of-type(2) { margin-top: 84px; }
.step .ico { color: var(--purple); margin-bottom: 22px; }
.step h3 { font-family: Inter, Arial, sans-serif; font-size: 17px; font-weight: 700; letter-spacing: 0; margin: 0 0 8px; }
.step p { margin: 0; font-size: 15px; line-height: 1.6; }

/* feature accordion */
.does { padding: 40px 0 120px; }
.does-grid { display: grid; grid-template-columns: 460px 1fr; gap: 56px; align-items: start; }
.acc { border: 1px solid var(--line); border-radius: 4px; }
.acc details { border-top: 1px solid var(--line); }
.acc details:first-child { border-top: 0; }
.acc summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 18px;
  padding: 18px 24px; font-weight: 600; font-size: 16px;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary .i { color: var(--ink); flex: none; display: flex; }
.acc summary::after {
  content: ""; margin-left: auto; width: 8px; height: 8px; flex: none;
  border-right: 1.6px solid var(--ink); border-bottom: 1.6px solid var(--ink);
  transform: rotate(45deg) translateY(-3px); transition: transform .2s;
}
.acc details[open] { box-shadow: var(--card-shadow); position: relative; z-index: 1; background: #fff; }
.acc details[open] summary { font-family: var(--head); font-size: 24px; padding-top: 24px; letter-spacing: -0.02em; }
.acc details[open] summary .i { color: var(--purple); }
.acc details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.acc .body { padding: 0 32px 26px 66px; font-size: 16px; line-height: 1.65; }
.acc .body p { margin: 0; }
.acc .body img { display: none; margin-top: 18px; border-radius: 8px; border: 1px solid var(--line); }
.does-stage { position: sticky; top: 110px; }
.does-stage .window img { transition: opacity .25s; }

/* use cases */
.lav { background: var(--lav); }
.uses { padding: 96px 0 104px; }
.uses .sub { margin-bottom: 48px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { display: flex; gap: 16px; background: #fff; border-radius: 8px; padding: 12px; color: var(--ink); box-shadow: 0 1px 0 rgba(25, 26, 27, .03); transition: box-shadow .2s, transform .2s; }
.card:hover { text-decoration: none; box-shadow: var(--card-shadow); transform: translateY(-2px); }
.tile { flex: none; width: 96px; height: 96px; border-radius: 6px; display: grid; place-items: center; color: #fff; }
.t1 { background: linear-gradient(135deg, #7b5cff, #d24fd1); }
.t2 { background: linear-gradient(135deg, #1d2b64, #4b6cb7); }
.t3 { background: linear-gradient(135deg, #0f9b8e, #59d7b6); }
.t4 { background: linear-gradient(135deg, #f7971e, #f75b5b); }
.t5 { background: linear-gradient(135deg, #2b1f6b, #6a4dfb); }
.t6 { background: linear-gradient(135deg, #10304f, #2a7cc7); }
.card h3 { font-family: Inter, Arial, sans-serif; font-size: 16px; font-weight: 600; letter-spacing: 0; margin: 4px 0 4px; }
.card p { margin: 0 0 10px; font-size: 14px; line-height: 1.55; }
.more { font-size: 14px; color: var(--purple); font-weight: 500; display: inline-flex; align-items: center; gap: 8px; }

/* numbers */
.facts { padding: 104px 0; }
.fact-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: 980px; margin: 0 auto; }
.fact { text-align: center; padding: 8px 12px; }
.fact strong { display: block; font-family: var(--head); font-weight: 600; font-size: 50px; line-height: 1.1; letter-spacing: -0.03em; color: var(--purple); }
.fact span { display: block; margin-top: 8px; font-size: 15px; color: var(--muted); }

/* download */
.dl { padding: 40px 0 112px; }
.dl-card { max-width: 760px; margin: 0 auto; border: 1px solid var(--line); border-top: 3px solid var(--purple); border-radius: 10px; box-shadow: var(--card-shadow); padding: 44px 48px 36px; text-align: center; }
.os { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; padding: 0 0 18px; margin-bottom: 22px; border-bottom: 2px solid var(--purple); }
.dl-card .meta { color: var(--muted); font-size: 15px; margin: 0 0 26px; }
.ticks { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 28px; list-style: none; padding: 0; margin: 26px 0 0; font-size: 15px; }
.ticks li { display: flex; align-items: center; gap: 8px; }
.ticks svg { color: var(--purple); }
.req { text-align: left; margin-top: 30px; border-top: 1px solid var(--line); padding-top: 18px; font-size: 15px; }
.req summary { cursor: pointer; font-weight: 600; }
.req ul { margin: 12px 0 0; padding-left: 20px; color: var(--muted); }

/* tour */
.tour { padding: 72px 0; }
.tour-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tour-card { background: #fff; border-radius: 8px; padding: 26px 26px 24px; color: var(--ink); transition: box-shadow .2s, transform .2s; }
.tour-card:hover { text-decoration: none; box-shadow: var(--card-shadow); transform: translateY(-2px); }
.tour-card h3 { font-size: 20px; margin: 0 0 6px; }
.tour-card p { margin: 0 0 14px; font-size: 15px; color: var(--muted); }

/* resources */
.res { padding: 96px 0 104px; }
.tabs { display: flex; justify-content: center; gap: 36px; border-bottom: 1px solid var(--line); margin: 0 auto 36px; max-width: 820px; }
.tabs button { background: none; border: 0; font: inherit; font-size: 16px; font-weight: 600; color: var(--muted); padding: 0 4px 14px; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs button[aria-selected="true"] { color: var(--purple); border-color: var(--purple); }
.panel { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; font-weight: 600; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 24px; line-height: 1; color: var(--purple); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: -6px 0 22px; color: #3c4043; font-size: 16px; }
.guides { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.guides a { display: flex; justify-content: space-between; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 500; font-size: 16px; }
.guides a:hover { color: var(--purple); text-decoration: none; }

/* final cta */
.final { padding: 96px 0; text-align: center; background: linear-gradient(180deg, #fff, var(--lav)); }
.final .sub { margin-bottom: 32px; }

/* article pages */
.ahero { padding: 64px 0 72px; }
.ahero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.ahero h1 { font-size: 46px; }
.crumbs { font-size: 14px; color: var(--muted); margin: 0 0 18px; }
.crumbs a { color: var(--muted); }
.article { padding: 8px 0 80px; }
.prose { max-width: 740px; margin: 0 auto; font-size: 18px; }
.prose h2 { font-size: 30px; margin: 44px 0 12px; }
.prose p { margin: 0 0 18px; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 22px; }
.prose li { margin: 0 0 10px; }
.prose ol { counter-reset: s; list-style: none; padding: 0; }
.prose ol li { counter-increment: s; position: relative; padding-left: 52px; min-height: 36px; margin-bottom: 18px; }
.prose ol li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 34px; height: 34px; border-radius: 50%; background: var(--lav); color: var(--purple); display: grid; place-items: center; font-weight: 700; font-size: 15px; }
.prose code { background: var(--lav); padding: 2px 6px; border-radius: 4px; font-size: 15px; }
.prose kbd { display: inline-block; min-width: 1.6em; padding: 1px 7px; border: 1px solid #c9c4dc; border-bottom-width: 2px; border-radius: 5px; background: #fff; font-family: inherit; font-size: 14px; font-weight: 600; line-height: 1.5; text-align: center; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 26px; font-size: 16px; }
.prose th, .prose td { text-align: left; padding: 11px 14px; border-bottom: 1px solid #e6e2f0; vertical-align: top; }
.prose th { background: var(--lav); font-weight: 700; }
.prose .window { margin: 34px 0; }
.related { padding: 72px 0; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; max-width: var(--max); }
.gallery figure { margin: 0; }
.gallery img { border-radius: 10px; border: 1px solid var(--line); box-shadow: var(--card-shadow); }
.gallery figcaption { padding: 12px 2px 0; font-size: 15px; color: var(--muted); }

/* footer */
.footer { border-top: 1px solid var(--line); padding: 40px 0 44px; color: var(--muted); font-size: 14px; }
.footer-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; align-items: center; }
.footer-row { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.footer a { color: var(--muted); }
.footer p { margin: 18px 0 0; }

@media (max-width: 1000px) {
  .does-grid { grid-template-columns: 1fr; }
  .does-stage { display: none; }
  .acc details[open] .body img { display: block; }
  .path { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; gap: 16px; }
  .path svg.trail { display: none; }
  .step:nth-of-type(2) { margin-top: 0; }
}
@media (max-width: 900px) {
  h1, .ahero h1 { font-size: 38px; }
  h2 { font-size: 32px; }
  .hero { padding: 40px 0 64px; }
  .hero-grid, .ahero-grid, .cards, .tour-row, .guides, .gallery { grid-template-columns: 1fr; }
  .fact-row { grid-template-columns: 1fr 1fr; }
  .fact strong { font-size: 40px; }
  .nav a.hide-sm { display: none; }
  .top-inner { height: 64px; }
  .btn { white-space: nowrap; }
  .btn.lg { width: 100%; font-size: 16px; padding: 0 16px; }
  .hero-stage { margin-right: 0; }
  .chip { left: 12px; bottom: -22px; }
  .dl-card { padding: 32px 22px 28px; }
  .easy, .uses, .facts, .res, .final { padding-top: 64px; padding-bottom: 72px; }
}
