:root {
  --ink: #100d1f;
  --ink-soft: #302b42;
  --violet: #6d3cff;
  --violet-dark: #4b24d4;
  --coral: #c13c22;
  --cream: #fff8ed;
  --paper: #fffdf9;
  --mint: #6ee7b7;
  --line: rgba(16, 13, 31, .12);
  --muted: #686377;
  --shadow: 0 24px 70px rgba(40, 25, 90, .14);
  --radius: 28px;
  --radius-sm: 16px;
  --container: min(1180px, calc(100% - 40px));
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.72;
  text-rendering: optimizeLegibility;
}
body.nav-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .18em; }
p { margin: 0 0 1.2em; }
h1, h2, h3 { margin: 0 0 .55em; font-weight: 800; letter-spacing: -.045em; line-height: 1.08; }
h1 { font-size: clamp(2.6rem, 7vw, 5.7rem); }
h2 { font-size: clamp(2rem, 4.8vw, 3.7rem); }
h3 { font-size: clamp(1.3rem, 2.7vw, 1.85rem); }
strong { font-weight: 750; }
.container { width: var(--container); margin-inline: auto; }
.narrow { max-width: 800px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -80px; left: 20px; z-index: 9999; background: #fff; padding: 12px 18px; border-radius: 12px; }
.skip-link:focus { top: 20px; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,253,249,.88);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 30px rgba(16,13,31,.06); }
.header-inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand-mark { position: relative; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: var(--ink); overflow: hidden; }
.brand-mark span { position: absolute; width: 26px; height: 9px; border-radius: 999px; transform: rotate(-38deg); }
.brand-mark span:nth-child(1) { top: 9px; left: 6px; background: var(--coral); }
.brand-mark span:nth-child(2) { top: 17px; left: 10px; background: var(--mint); }
.brand-mark span:nth-child(3) { top: 25px; left: 14px; background: var(--violet); }
.brand-copy { display: flex; flex-direction: column; line-height: 1; }
.brand-copy strong { font-size: 1.02rem; letter-spacing: -.03em; }
.brand-copy small { margin-top: 5px; color: var(--violet); font-weight: 800; letter-spacing: .22em; font-size: .62rem; }
.main-nav { display: flex; align-items: center; gap: 28px; font-size: .92rem; font-weight: 700; }
.main-nav > a:not(.button) { text-decoration: none; }
.main-nav > a:not(.button):hover { color: var(--violet); }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 1px solid var(--line); background: #fff; border-radius: 12px; }
.nav-toggle > span:not(.screen-reader-text) { display: block; height: 2px; margin: 5px 0; background: var(--ink); border-radius: 2px; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 24px; border: 0; border-radius: 999px; font-size: .96rem; font-weight: 800; line-height: 1.1; text-align: center; text-decoration: none; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button--primary { color: #fff; background: var(--violet); box-shadow: 0 14px 30px rgba(109,60,255,.24); }
.button--primary:hover { background: var(--violet-dark); box-shadow: 0 18px 36px rgba(109,60,255,.3); }
.button--secondary { color: var(--ink); background: #fff; border: 1px solid var(--line); }
.button--header { min-height: 44px; padding-inline: 20px; }

.hero { position: relative; overflow: hidden; padding: clamp(74px, 10vw, 132px) 0 80px; }
.hero::before { content: ""; position: absolute; width: 520px; height: 520px; top: -260px; right: -150px; border-radius: 50%; background: radial-gradient(circle, rgba(109,60,255,.22), rgba(109,60,255,0) 70%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(360px, .8fr); gap: clamp(48px, 8vw, 100px); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 22px; color: var(--violet-dark); font-size: .78rem; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; }
.hero h1 { max-width: 900px; }
.gradient-text { color: transparent; background: linear-gradient(135deg, var(--violet) 0%, var(--coral) 85%); background-clip: text; -webkit-background-clip: text; }
.hero-lead { max-width: 720px; color: var(--ink-soft); font-size: clamp(1.08rem, 2vw, 1.3rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 30px; }
.microproof { display: flex; flex-wrap: wrap; gap: 12px 22px; margin: 0; padding: 0; list-style: none; color: var(--muted); font-size: .88rem; }
.microproof li { display: flex; align-items: center; gap: 8px; }
.microproof svg { width: 17px; height: 17px; fill: none; stroke: var(--violet); stroke-width: 2.3; }

.visual-card { position: relative; min-height: 530px; padding: 30px; color: #fff; border-radius: 38px; background: var(--ink); box-shadow: var(--shadow); isolation: isolate; }
.visual-card::before, .visual-card::after { content: ""; position: absolute; border-radius: 50%; filter: blur(1px); z-index: -1; }
.visual-card::before { width: 230px; height: 230px; right: -35px; top: -35px; background: radial-gradient(circle at 30% 30%, var(--violet), transparent 68%); }
.visual-card::after { width: 260px; height: 260px; left: -60px; bottom: -80px; background: radial-gradient(circle at 50% 50%, rgba(255,107,74,.7), transparent 68%); }
.screen-mock { margin-top: 38px; padding: 12px; border: 1px solid rgba(255,255,255,.2); border-radius: 25px; background: rgba(255,255,255,.08); transform: rotate(-2deg); }
.screen-stage { position: relative; aspect-ratio: 16/10; overflow: hidden; border-radius: 17px; background: linear-gradient(145deg, #5131c8, #17112d 60%); }
.screen-stage::before { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 18%, rgba(255,255,255,.12) 19%, transparent 31%); }
.screen-ui { position: absolute; inset: 18px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 12px; }
.screen-feature { border-radius: 15px; background: linear-gradient(145deg, rgba(255,107,74,.95), rgba(109,60,255,.9)); display: flex; align-items: flex-end; padding: 18px; font-size: 1.2rem; font-weight: 800; }
.screen-list { display: grid; gap: 10px; }
.screen-list i { display: block; border-radius: 12px; background: rgba(255,255,255,.13); }
.visual-badge { position: absolute; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 16px; color: var(--ink); background: #fff; box-shadow: 0 12px 28px rgba(0,0,0,.2); font-size: .8rem; font-weight: 800; }
.visual-badge svg { width: 22px; height: 22px; fill: none; stroke: var(--violet); stroke-width: 2; }
.visual-badge--top { top: 24px; left: -26px; }
.visual-badge--bottom { right: -24px; bottom: 30px; }

.section { padding: clamp(72px, 9vw, 124px) 0; }
.section--cream { background: var(--cream); }
.section--dark { color: #fff; background: var(--ink); }
.section--violet { color: #fff; background: var(--violet-dark); }
.section-header { max-width: 780px; margin-bottom: 48px; }
.section-header p { color: var(--muted); font-size: 1.08rem; }
.section--dark .section-header p, .section--violet .section-header p { color: rgba(255,255,255,.72); }
.kicker { margin-bottom: 14px; color: var(--coral); font-size: .76rem; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.section--dark .kicker, .section--violet .kicker { color: #ffb7a6; }
.grid-2, .grid-3, .grid-4 { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.card { padding: clamp(24px, 3.2vw, 38px); border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 8px 30px rgba(40,25,90,.05); }
.card--dark { color: #fff; border-color: rgba(255,255,255,.12); background: rgba(255,255,255,.06); }
.card p:last-child { margin-bottom: 0; }
.card-icon { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 24px; border-radius: 14px; color: var(--violet); background: rgba(109,60,255,.1); }
.card-icon svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.9; }
.card--dark .card-icon { color: var(--mint); background: rgba(110,231,183,.12); }
.number { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 24px; border-radius: 50%; color: #fff; background: var(--violet); font-weight: 850; }

.split { display: grid; grid-template-columns: .84fr 1.16fr; gap: clamp(40px, 8vw, 100px); align-items: start; }
.split--reverse { grid-template-columns: 1.16fr .84fr; }
.sticky-intro { position: sticky; top: 118px; }
.prose { font-size: 1.04rem; }
.prose h2 { margin-top: 1.7em; }
.prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { margin: 0 0 1.4em; padding-left: 1.2em; }
.prose li { margin-bottom: .55em; }
.prose a { color: var(--violet-dark); font-weight: 750; }
.section--dark .prose a, .section--violet .prose a { color: #d7ccff; }
.notice { margin: 28px 0; padding: 22px 24px; color: var(--ink); border-left: 4px solid var(--coral); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: var(--cream); }
.notice p:last-child { margin-bottom: 0; }

.comparison { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.comparison table { width: 100%; border-collapse: collapse; min-width: 720px; }
.comparison th, .comparison td { padding: 20px 22px; text-align: left; border-bottom: 1px solid var(--line); }
.comparison th { color: var(--violet-dark); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; background: #faf7ff; }
.comparison tr:last-child td { border-bottom: 0; }
.tag { display: inline-flex; padding: 6px 11px; border-radius: 999px; color: var(--violet-dark); background: rgba(109,60,255,.1); font-size: .74rem; font-weight: 800; }

.cta-panel { position: relative; overflow: hidden; padding: clamp(36px, 7vw, 78px); border-radius: 36px; color: #fff; background: linear-gradient(125deg, var(--violet-dark), var(--violet) 58%, #8a5fff); }
.cta-panel::after { content: ""; position: absolute; width: 340px; height: 340px; right: -150px; top: -170px; border: 70px solid rgba(255,255,255,.08); border-radius: 50%; }
.cta-panel > * { position: relative; z-index: 1; }
.cta-panel h2 { max-width: 760px; }
.cta-panel p { max-width: 680px; color: rgba(255,255,255,.78); }
.cta-panel .button { color: var(--ink); background: #fff; box-shadow: none; }

.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 23px 0; cursor: pointer; list-style: none; font-size: 1.05rem; font-weight: 780; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary span { flex: 0 0 auto; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; color: var(--violet); background: rgba(109,60,255,.09); transition: transform .2s; }
.faq-item[open] summary span { transform: rotate(45deg); }
.faq-answer { max-width: 820px; padding: 0 50px 20px 0; color: var(--muted); }

.site-footer { padding: 74px 0 24px; color: #fff; background: var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1.5fr .7fr .7fr; gap: 64px; }
.brand--footer { color: #fff; }
.brand--footer .brand-copy small { color: #c4b2ff; }
.footer-grid p { max-width: 470px; color: rgba(255,255,255,.65); }
.footer-grid nav { display: flex; flex-direction: column; gap: 10px; }
.footer-grid nav a, .footer-link { color: rgba(255,255,255,.74); text-decoration: none; }
.footer-grid nav a:hover, .footer-link:hover { color: #fff; }
.footer-grid strong { display: block; margin-bottom: 12px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; margin-top: 62px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.48); font-size: .78rem; }

.page-hero { padding: 82px 0 62px; }
.page-hero h1 { max-width: 980px; font-size: clamp(2.5rem, 6vw, 5rem); }
.page-hero .hero-lead { max-width: 820px; }
.breadcrumb { margin-bottom: 30px; color: var(--muted); font-size: .8rem; font-weight: 700; }
.breadcrumb a { text-decoration: none; }
.article-index-hero { padding-bottom: 82px; }
.article-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.article-card { display: flex; flex-direction: column; padding: clamp(26px, 4vw, 42px); border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 12px 36px rgba(40,25,90,.06); }
.article-card h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); }
.article-card h2 a { text-decoration: none; }
.article-card h2 a:hover { color: var(--violet-dark); }
.article-card__excerpt { color: var(--muted); }
.article-card__link { margin-top: auto; padding-top: 18px; color: var(--violet-dark); font-weight: 800; text-decoration: none; }
.article-hero { padding: clamp(64px, 9vw, 112px) 0 66px; background: linear-gradient(180deg, var(--cream), var(--paper)); }
.article-hero h1 { max-width: 980px; font-size: clamp(2.45rem, 6vw, 5rem); }
.article-meta { color: var(--muted); font-size: .86rem; }
.article-body-section { padding-top: 64px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 780px) minmax(250px, 340px); justify-content: space-between; gap: clamp(46px, 7vw, 90px); align-items: start; }
.article-content > p:first-child { color: var(--ink-soft); font-size: 1.2rem; }
.article-content h2 { padding-top: .35em; }
.article-content .faq-item { font-size: 1rem; }
.article-cta { margin: 42px 0; padding: clamp(26px, 4vw, 42px); border-radius: var(--radius); color: #fff; background: linear-gradient(125deg, var(--violet-dark), var(--violet)); }
.article-cta p { max-width: 650px; font-size: 1.25rem; font-weight: 800; }
.article-cta .button { color: var(--ink); background: #fff; }
.article-sidebar { position: sticky; top: 118px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--cream); }
.article-sidebar h2 { font-size: 1.55rem; }
.article-sidebar .button { width: 100%; }
.navigation.pagination { margin-top: 42px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 10px; }
.page-numbers { min-width: 42px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; text-align: center; text-decoration: none; background: #fff; }
.page-numbers.current { color: #fff; border-color: var(--violet); background: var(--violet); }
.stat-strip { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; margin-top: 50px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--line); }
.stat { padding: 22px 26px; background: #fff; }
.stat strong { display: block; font-size: 1.25rem; }
.stat span { color: var(--muted); font-size: .82rem; }

@media (max-width: 980px) {
  .hero-grid, .split, .split--reverse, .article-layout { grid-template-columns: 1fr; }
  .visual-card { max-width: 650px; min-height: 470px; }
  .sticky-intro { position: static; }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .main-nav { position: fixed; inset: 85px 0 0; display: none; align-items: stretch; flex-direction: column; gap: 6px; padding: 30px 20px; background: var(--paper); }
  .main-nav.is-open { display: flex; }
  .main-nav > a { padding: 12px; font-size: 1.12rem; }
  .nav-toggle { display: block; }
  .footer-grid { grid-template-columns: 1.2fr .8fr; }
  .article-sidebar { position: static; max-width: 780px; }
}

@media (max-width: 700px) {
  :root { --container: min(100% - 28px, 1180px); --radius: 22px; }
  body { font-size: 16px; }
  .header-inner { min-height: 74px; }
  .main-nav { inset-block-start: 75px; }
  .hero { padding-top: 64px; }
  .hero-grid { gap: 44px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .visual-card { min-height: 410px; padding: 22px; border-radius: 28px; }
  .visual-badge--top { left: 8px; }
  .visual-badge--bottom { right: 8px; }
  .grid-2, .grid-3, .grid-4, .footer-grid, .stat-strip, .article-grid { grid-template-columns: 1fr; }
  .stat-strip { gap: 0; }
  .footer-bottom { flex-direction: column; gap: 4px; }
  .page-hero { padding-top: 58px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
