:root {
  --bg: #FBFAFF; --panel: #FFFFFF; --text: #1F1B2E; --muted: #625D78; --line: #ECE8F7;
  --accent: #8F80EB; --accent-2: #A396F3; --accent-strong: #5B49C9; --accent-soft: #F2EFFF; --plum: #1E1A33;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(31,27,46,.04), 0 14px 40px rgba(76,60,160,.08);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #15131D; --panel: #1E1B29; --text: #ECE9F6; --muted: #A9A3C0; --line: #2E2A3E; --accent-soft: #2A2540; --accent-strong: #C3B9FF; --plum: #0F0D16; color-scheme: dark; }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 17px/1.65 Inter, system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: "Space Grotesk", Inter, sans-serif; letter-spacing: -0.025em; line-height: 1.12; margin: 0 0 .5em; }
h1 { font-size: clamp(38px, 6vw, 64px); font-weight: 700; }
h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 700; }
h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
a { color: var(--accent-strong); }
p { margin: 0 0 1em; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.muted { color: var(--muted); }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-strong); margin: 0 0 10px; }
.lead { font-size: clamp(18px, 2vw, 21px); color: var(--muted); max-width: 680px; }
section { padding: 96px 0; }
.alt { background: linear-gradient(180deg, var(--accent-soft), transparent 85%); }

/* Header */
.site-head { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(14px); background: color-mix(in srgb, var(--bg) 82%, transparent); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: 21px; letter-spacing: -.03em; }
.brand-tile { width: 36px; height: 36px; border-radius: 10px; background: var(--accent-soft); border: 1px solid #E2DCFB; display: inline-flex; align-items: center; justify-content: center; }
.nav { display: flex; gap: 24px; font-size: 15px; font-weight: 500; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover { color: var(--text); }
.head-cta { display: flex; gap: 10px; align-items: center; }
@media (max-width: 900px) { .nav { display: none; } }

/* Buttons: soft lavender */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; font-weight: 600; font-size: 16px; border-radius: 14px; padding: 13px 22px; border: 1px solid var(--line); background: var(--panel); color: var(--text); transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn.primary { border-color: transparent; color: #fff; background: linear-gradient(180deg, var(--accent-2), var(--accent)); box-shadow: 0 6px 18px rgba(143,128,235,.28), inset 0 1px 0 rgba(255,255,255,.22); }
.btn.soft { background: var(--accent-soft); color: var(--accent-strong); border-color: transparent; }
.btn.small { padding: 9px 16px; font-size: 15px; border-radius: 12px; }
.btn.ghost { border-color: transparent; background: transparent; color: var(--muted); }

/* Hero */
.hero { padding: 72px 0 88px; background: radial-gradient(900px 500px at 85% 0%, #EEE9FF 0%, transparent 60%), radial-gradient(700px 400px at 0% 20%, #F6F3FF 0%, transparent 60%); }
@media (prefers-color-scheme: dark) { .hero { background: radial-gradient(900px 500px at 85% 0%, #251F3D 0%, transparent 60%); } }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }
.pill { display: inline-flex; gap: 8px; align-items: center; font-size: 14px; font-weight: 600; color: var(--accent-strong); background: var(--accent-soft); padding: 7px 14px; border-radius: 999px; margin-bottom: 22px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 18px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; color: var(--muted); }
.trust span::before { content: "✓ "; color: var(--accent); font-weight: 700; }

/* Product mock */
.mock { background: var(--panel); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 30px 80px rgba(76,60,160,.16); overflow: hidden; }
.mock-bar { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 14px; }
.mock-bar .dot { width: 9px; height: 9px; border-radius: 50%; background: #E86D86; }
.mock-body { padding: 18px; display: grid; gap: 12px; font-size: 14.5px; }
.sugg { background: var(--accent-soft); border-radius: 14px; padding: 14px 16px; }
.sugg .q { font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.sugg strong { display: block; font-weight: 600; margin-bottom: 6px; }
.sugg ul { margin: 0; padding-left: 18px; color: var(--muted); }
.card-call { border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 14px; padding: 12px 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.chip { font-size: 12.5px; padding: 4px 10px; border-radius: 99px; background: var(--accent-soft); color: var(--accent-strong); font-weight: 600; }
.chip.teal { background: #E6F6F4; color: #1F7B74; } .chip.peach { background: #FFF0E8; color: #A2512C; } .chip.mint { background: #E9F7EE; color: #2C7D49; }

/* Grids & cards */
.grid { display: grid; gap: 18px; }
.g3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.g2 { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: 0 1px 2px rgba(31,27,46,.03); }
.card .icon { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 14px; }
.card p { color: var(--muted); margin: 0; }
.section-head { max-width: 760px; margin-bottom: 44px; }
.steps { counter-reset: s; }
.steps .card { position: relative; }
.steps .card::before { counter-increment: s; content: counter(s); position: absolute; top: 22px; right: 22px; width: 30px; height: 30px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-strong); font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 14px; }

/* Value band */
.band { background: var(--plum); color: #EDEAF8; border-radius: 28px; padding: 56px; }
.band h2 { color: #fff; }
.band p, .band li { color: #C9C3E6; }
.band .grid .card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); }
.band .card h3 { color: #fff; }
.stat { font-family: "Space Grotesk", sans-serif; font-size: 40px; font-weight: 700; color: #fff; letter-spacing: -.03em; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; align-items: stretch; }
.plan { display: flex; flex-direction: column; gap: 14px; background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 28px; }
.plan.featured { border: 2px solid var(--accent); box-shadow: 0 0 0 6px rgba(143,128,235,.12); }
.plan .price { font-family: "Space Grotesk", sans-serif; font-size: 44px; font-weight: 700; letter-spacing: -.03em; }
.plan .price small { font-size: 16px; color: var(--muted); font-weight: 500; font-family: Inter, sans-serif; }
.plan ul { margin: 0; padding-left: 20px; color: var(--muted); flex: 1; display: grid; gap: 7px; font-size: 15.5px; }
.plan .tag { align-self: flex-start; font-size: 12px; font-weight: 700; color: var(--accent-strong); background: var(--accent-soft); padding: 4px 10px; border-radius: 99px; }
.plan .per { font-size: 14px; color: var(--muted); }

/* Table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); }
table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 760px; }
th, td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font-weight: 600; color: var(--muted); font-size: 14px; }
tbody tr:last-child :is(td, th) { border-bottom: none; }
td.us, th.us { background: var(--accent-soft); color: var(--accent-strong); font-weight: 600; }

/* FAQ */
details { border-top: 1px solid var(--line); padding: 20px 0; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::after { content: "+"; color: var(--accent-strong); font-size: 22px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin: 12px 0 0; }

/* Article */
.article { padding: 64px 0 96px; }
.article h1 { font-size: clamp(34px, 5vw, 50px); }
.article h2 { font-size: 28px; margin-top: 1.6em; }
.article h3 { margin-top: 1.4em; }
.article li { margin: 6px 0; }
.article .meta { color: var(--muted); font-size: 15px; margin-bottom: 28px; }
.tldr { background: var(--accent-soft); border-radius: 16px; padding: 18px 22px; margin: 22px 0; }
.tldr strong { color: var(--accent-strong); }
.post-list { display: grid; gap: 14px; }
.post-list a { text-decoration: none; color: inherit; }
.post-list .card:hover { box-shadow: var(--shadow); }
.sources { font-size: 14.5px; color: var(--muted); }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }

/* Footer */
.site-foot { border-top: 1px solid var(--line); padding: 56px 0 40px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
.site-foot h4 { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-foot a { color: var(--text); text-decoration: none; }
.site-foot a:hover { color: var(--accent-strong); }
.legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
.plan ul { align-content: start; }
.plan h3 { margin: 0; }
section[id] { scroll-margin-top: 80px; }
.btn { white-space: nowrap; }
@media (max-width: 520px) {
  .head-cta .ghost { display: none; }
  .site-head .wrap { height: 62px; }
  .band { padding: 32px 22px; }
  section { padding: 64px 0; }
}
