:root {
  --ink: #16213e;
  --muted: #66708a;
  --soft: #f5f7ff;
  --line: #e6e9f4;
  --brand: #5b5ce2;
  --brand-dark: #4144bd;
  --accent: #19b88b;
  --warm: #ffcf67;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(42, 47, 100, .12);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fbfcff;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}
a { color: inherit; }
img { max-width: 100%; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(230, 233, 244, .9);
  background: rgba(251, 252, 255, .88);
  backdrop-filter: blur(18px);
}
.nav {
  width: min(1160px, calc(100% - 40px));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -.04em;
  text-decoration: none;
  font-size: 20px;
}
.brand-mark {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, #6c75f3, #9b5bca);
  box-shadow: 0 8px 20px rgba(91, 92, 226, .28);
  font-size: 14px;
}
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}
.nav-links a:hover { color: var(--brand-dark); }
.nav-cta, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 12px;
  color: #fff;
  background: var(--brand);
  box-shadow: 0 10px 24px rgba(91, 92, 226, .22);
  font: inherit;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.language-toggle {
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}
.language-toggle:hover { color: var(--brand-dark); border-color: #c7c9f4; }
.button:hover, .nav-cta:hover { transform: translateY(-2px); background: var(--brand-dark); box-shadow: 0 14px 28px rgba(91, 92, 226, .28); }
.button.secondary {
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 8px 22px rgba(42, 47, 100, .07);
}
.button.secondary:hover { background: var(--soft); }
.hero, .page-hero { position: relative; overflow: hidden; }
.hero { padding: 92px 0 76px; }
.hero::before, .page-hero::before {
  content: "";
  position: absolute;
  width: 540px;
  height: 540px;
  right: -220px;
  top: -210px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(109, 117, 243, .18), rgba(109, 117, 243, 0) 70%);
  pointer-events: none;
}
.hero-grid, .page-hero-grid {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr);
  align-items: center;
  gap: 62px;
  position: relative;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 7px 11px;
  color: var(--brand-dark);
  border: 1px solid #dcdcff;
  border-radius: 999px;
  background: #f4f3ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(25, 184, 139, .12); }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 800px; margin-bottom: 22px; font-size: clamp(42px, 6vw, 76px); line-height: 1.04; letter-spacing: -.06em; }
.page-hero h1 { font-size: clamp(40px, 5.2vw, 66px); }
.hero-copy, .page-hero-copy { max-width: 660px; color: var(--muted); font-size: 20px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 20px; }
.micro-proof { display: flex; flex-wrap: wrap; gap: 14px 20px; color: var(--muted); font-size: 13px; }
.micro-proof span::before { content: "✓"; margin-right: 6px; color: var(--accent); font-weight: 800; }
.product-window {
  overflow: hidden;
  border: 1px solid #dfe3f1;
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow);
  transform: rotate(1.2deg);
}
.window-bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; background: #f2f4fb; border-bottom: 1px solid var(--line); }
.window-dot { width: 8px; height: 8px; border-radius: 50%; background: #c4c9da; }
.window-dot:first-child { background: #ff8c8c; }
.window-dot:nth-child(2) { background: #ffd36b; }
.window-title { margin-left: 6px; color: #8b92aa; font-size: 11px; }
.window-body { padding: 24px; }
.guide-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.guide-top strong { font-size: 17px; letter-spacing: -.02em; }
.guide-status { padding: 5px 9px; color: #087d61; border-radius: 8px; background: #e8fbf5; font-size: 11px; font-weight: 800; }
.capture-list { display: grid; gap: 12px; margin-top: 18px; }
.capture-step { display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 12px; padding: 12px; border: 1px solid #edf0f7; border-radius: 12px; background: #fbfcff; }
.step-number { display: grid; place-items: center; width: 27px; height: 27px; color: #fff; border-radius: 9px; background: var(--brand); font-size: 12px; font-weight: 800; }
.capture-step strong { display: block; font-size: 13px; }
.capture-step small { color: #8b92aa; font-size: 11px; }
.step-chip { padding: 4px 7px; color: #68718d; border: 1px solid #e0e4f0; border-radius: 7px; font-size: 10px; }
.section { padding: 88px 0; }
.section.soft { background: var(--soft); }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.section-heading { max-width: 700px; margin-bottom: 42px; }
.section-heading.center { margin-right: auto; margin-left: auto; text-align: center; }
.section-kicker { margin-bottom: 10px; color: var(--brand); font-size: 12px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
h2 { margin-bottom: 15px; font-size: clamp(30px, 4vw, 48px); line-height: 1.08; letter-spacing: -.05em; }
h3 { margin-bottom: 8px; font-size: 20px; line-height: 1.25; letter-spacing: -.025em; }
.section-heading p, .muted { color: var(--muted); font-size: 17px; }
.feature-grid, .card-grid, .steps-grid, .persona-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.feature-card, .info-card, .step-card, .persona-card, .faq-card {
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 9px 25px rgba(42, 47, 100, .05);
}
.feature-card:hover, .info-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature-card, .info-card { transition: transform .2s ease, box-shadow .2s ease; }
.icon-box { display: grid; place-items: center; width: 43px; height: 43px; margin-bottom: 20px; color: #fff; border-radius: 13px; background: linear-gradient(135deg, #6876f3, #8d54c6); font-weight: 850; }
.feature-card p, .info-card p, .persona-card p, .step-card p { margin-bottom: 0; color: var(--muted); font-size: 15px; }
.text-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 18px; color: var(--brand-dark); font-size: 14px; font-weight: 800; text-decoration: none; }
.text-link::after { content: "→"; transition: transform .2s ease; }
.text-link:hover::after { transform: translateX(4px); }
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.compare-card { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.compare-card.highlight { border-color: #d1d1ff; background: linear-gradient(160deg, #f3f2ff, #fff); box-shadow: 0 15px 35px rgba(91, 92, 226, .1); }
.compare-card h3 { display: flex; align-items: center; gap: 10px; }
.compare-card h3::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #bfc4d5; }
.compare-card.highlight h3::before { background: var(--accent); }
.compare-card ol, .compare-card ul { margin: 18px 0 0; padding-left: 21px; color: var(--muted); }
.compare-card li + li { margin-top: 8px; }
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); overflow: hidden; }
.flow-step { position: relative; padding: 26px 23px; border-right: 1px solid var(--line); }
.flow-step:last-child { border-right: 0; }
.flow-step .step-number { margin-bottom: 18px; }
.flow-step p { margin-bottom: 0; color: var(--muted); font-size: 14px; }
.demo-layout { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 38px; }
.guide-preview { padding: 28px; border: 1px solid #dfe3f1; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.guide-preview h3 { margin-bottom: 18px; font-size: 22px; }
.preview-row { display: grid; grid-template-columns: 35px 1fr; gap: 13px; padding: 17px 0; border-top: 1px solid var(--line); }
.preview-row:first-of-type { border-top: 0; }
.preview-row .step-number { width: 31px; height: 31px; }
.preview-row p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.callout { padding: 22px 24px; border-left: 4px solid var(--brand); border-radius: 0 14px 14px 0; background: #f3f2ff; color: #454778; }
.callout p:last-child { margin-bottom: 0; }
.article-shell { width: min(860px, calc(100% - 40px)); margin: 0 auto; }
.article-shell h2 { margin-top: 52px; font-size: clamp(29px, 4vw, 41px); }
.article-shell h3 { margin-top: 30px; }
.article-shell p, .article-shell li { color: #4f5b75; font-size: 17px; }
.article-shell ul, .article-shell ol { padding-left: 25px; }
.article-shell li + li { margin-top: 9px; }
.article-shell .checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 24px 0; padding: 0; list-style: none; }
.checklist li { margin: 0; padding: 13px 15px 13px 39px; border: 1px solid var(--line); border-radius: 12px; background: #fff; position: relative; font-size: 15px; }
.checklist li::before { content: "✓"; position: absolute; left: 15px; color: var(--accent); font-weight: 850; }
.template { margin: 22px 0; padding: 22px; border: 1px solid #dfe3f1; border-radius: 15px; background: #171d36; color: #edf0ff; font: 14px/1.8 ui-monospace, SFMono-Regular, Consolas, monospace; white-space: pre-wrap; }
.table-wrap { overflow-x: auto; margin: 24px 0; border: 1px solid var(--line); border-radius: 15px; background: #fff; }
table { width: 100%; border-collapse: collapse; min-width: 650px; }
th, td { padding: 15px 17px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: var(--ink); background: #f6f7fc; font-size: 13px; }
td { color: var(--muted); font-size: 14px; }
tr:last-child td { border-bottom: 0; }
.check { color: var(--accent); font-weight: 850; }
.faq-list { display: grid; gap: 12px; }
details { padding: 19px 21px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
summary { cursor: pointer; color: var(--ink); font-weight: 800; }
details p { margin: 13px 0 0; color: var(--muted); }
.final-cta { padding: 70px 30px; border-radius: 28px; color: #fff; background: linear-gradient(135deg, #4f55d7, #8153b3); box-shadow: var(--shadow); text-align: center; }
.final-cta h2 { margin-bottom: 12px; }
.final-cta p { max-width: 610px; margin: 0 auto 25px; color: #e9eaff; font-size: 17px; }
.final-cta .button { color: var(--ink); background: #fff; box-shadow: none; }
.final-cta .button:hover { background: #f1f2ff; }
.breadcrumbs { width: min(1160px, calc(100% - 40px)); margin: 0 auto; padding-top: 27px; color: #858da5; font-size: 13px; }
.breadcrumbs a { color: var(--brand-dark); text-decoration: none; }
.site-footer { margin-top: 86px; padding: 44px 0 30px; color: #737b93; border-top: 1px solid var(--line); background: #f5f6fb; }
.footer-grid { width: min(1160px, calc(100% - 40px)); margin: 0 auto 35px; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 30px; }
.footer-grid h3 { color: var(--ink); font-size: 14px; }
.footer-grid p { max-width: 330px; font-size: 14px; }
.footer-links { display: grid; gap: 8px; font-size: 14px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--brand-dark); }
.footer-bottom { width: min(1160px, calc(100% - 40px)); margin: 0 auto; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.home-page .site-header {
  border-bottom-color: rgba(255, 255, 255, .16);
  background: rgba(55, 74, 205, .36);
}
.home-page .brand, .home-page .nav-links a { color: #fff; }
.home-page .nav-links a:hover { color: #fff; opacity: .82; }
.home-page .nav-links a.nav-cta { color: var(--brand-dark); background: #fff; box-shadow: 0 10px 24px rgba(22, 33, 62, .16); }
.home-page .nav-cta:hover { color: var(--brand-dark); background: #f2f3ff; }
.home-page .language-toggle { color: #fff; border-color: rgba(255,255,255,.36); background: rgba(255,255,255,.1); }
.home-page .language-toggle:hover { color: #fff; border-color: rgba(255,255,255,.7); background: rgba(255,255,255,.18); }
.home-hero {
  min-height: calc(100vh - 74px);
  color: #fff;
  background: linear-gradient(135deg, #3f70dc 0%, #5d55d9 48%, #824fc0 100%);
}
.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 16% 22%, rgba(255,255,255,.16), transparent 25%), radial-gradient(circle at 85% 82%, rgba(20, 28, 126, .22), transparent 32%);
}
.home-hero .hero-grid { z-index: 1; }
.home-hero .eyebrow { color: #fff; border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.11); }
.home-hero h1 { color: #fff; }
.home-hero .hero-copy { color: rgba(255,255,255,.86); }
.home-hero .button { background: #fff; color: var(--brand-dark); box-shadow: 0 14px 30px rgba(25, 28, 111, .26); }
.home-hero .button:hover { background: #f1f2ff; }
.home-hero .button.secondary { color: #fff; border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.08); box-shadow: none; }
.home-hero .button.secondary:hover { background: rgba(255,255,255,.18); }
.home-hero .micro-proof { color: rgba(255,255,255,.82); }
.home-hero .product-window { color: var(--ink); box-shadow: 0 22px 60px rgba(25, 28, 111, .28); }
@media (max-width: 900px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .hero-grid, .page-hero-grid, .demo-layout { grid-template-columns: 1fr; gap: 40px; }
  .product-window { max-width: 650px; transform: none; }
  .feature-grid, .card-grid, .steps-grid, .persona-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .flow-step:nth-child(2) { border-right: 0; }
  .flow-step:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .nav, .hero-grid, .page-hero-grid, .container, .breadcrumbs, .footer-grid, .footer-bottom, .article-shell { width: min(100% - 28px, 1160px); }
  .nav { min-height: 66px; }
  .nav-cta { padding: 0 12px; font-size: 12px; }
  .hero { padding: 64px 0 55px; }
  .section { padding: 64px 0; }
  .hero-copy, .page-hero-copy { font-size: 17px; }
  .feature-grid, .card-grid, .steps-grid, .persona-grid, .compare-grid, .flow { grid-template-columns: 1fr; }
  .flow-step { border-right: 0; border-bottom: 1px solid var(--line); }
  .flow-step:last-child { border-bottom: 0; }
  .flow-step:nth-child(2) { border-bottom: 1px solid var(--line); }
  .article-shell .checklist { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 22px; }
  .window-body, .guide-preview, .feature-card, .info-card, .step-card, .persona-card { padding: 20px; }
}
