@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@600;700;800&family=Inter:wght@400;450;500;600&display=swap');

:root {
  --blue: #2f5bff; --blue-dark: #2447d6; --ink: #11131a; --muted: #5c6475;
  --line: #ececf2; --bg: #ffffff; --soft: #f7f8fc; --ring: rgba(47,91,255,.18);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--bg);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; }
h1, h2, h3, .brand, .plan-price { font-family: "Plus Jakarta Sans", system-ui, sans-serif; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.02em; }
a { color: inherit; text-decoration: none; }
kbd { background: #fff; border: 1px solid #dfe3ee; border-bottom-width: 2px; border-radius: 6px; padding: 1px 7px; font: 600 13px "Inter"; box-shadow: 0 1px 0 rgba(0,0,0,.02); }
code { background: #f0f2f8; padding: 1px 6px; border-radius: 6px; font-size: .88em; color: #3a4250; }

/* buttons */
.btn { display: inline-block; border: 1px solid var(--line); background: #fff; color: var(--ink);
  border-radius: 11px; padding: 10px 18px; font-weight: 600; font-size: 15px; cursor: pointer; transition: .15s; }
.btn:hover { background: var(--soft); transform: translateY(-1px); }
.btn.primary { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 6px 18px var(--ring); }
.btn.primary:hover { background: var(--blue-dark); }
.btn.ghost { background: transparent; }
.btn.dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn.lg { padding: 14px 26px; font-size: 16px; }
.btn.wide { display: block; width: 100%; text-align: center; }

/* nav */
.nav { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between;
  padding: 15px 28px; background: rgba(255,255,255,.82); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 17px; letter-spacing: -.01em; }
.navlinks { display: flex; align-items: center; gap: 26px; }
.navlinks a { color: var(--muted); font-weight: 500; }
.navlinks a.btn { color: #fff; font-weight: 600; }
.navlinks a:not(.btn):hover { color: var(--ink); }

/* hero */
.hero { position: relative; max-width: 1160px; margin: 0 auto; padding: 80px 28px 72px;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero::before { content: ""; position: absolute; inset: -10% -20% auto auto; width: 620px; height: 620px;
  background: radial-gradient(closest-side, rgba(47,91,255,.12), transparent 70%); z-index: -1; }
.eyebrow { display: inline-flex; align-items: center; gap: 7px; background: #eef2ff; color: var(--blue);
  font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: 999px; margin-bottom: 18px; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; }
.hero h1 { font-size: 48px; font-weight: 800; margin: 0 0 18px; }
.lead { font-size: 19px; color: var(--muted); margin: 0 0 26px; max-width: 30em; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.microcopy { color: #99a0b0; font-size: 14px; margin-top: 18px; }

/* hero mockup */
.hero-visual { display: flex; justify-content: center; }
.mock { width: 100%; max-width: 480px; background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 40px 80px -28px rgba(26,33,64,.30), 0 8px 24px rgba(26,33,64,.06); overflow: hidden; }
.mock-bar { display: flex; gap: 7px; padding: 13px 16px; background: #f3f4f9; }
.mock-bar span { width: 11px; height: 11px; border-radius: 50%; background: #d3d7e3; }
.mock-body { position: relative; padding: 0 0 20px; min-height: 300px; background: linear-gradient(#fff, #fbfcff); }
.mock-compose { padding: 15px 20px; color: #aab1c2; border-bottom: 1px solid #eef0f7; font-weight: 600; }
.picker { margin: 20px; border: 1px solid #eceef4; border-radius: 13px; box-shadow: 0 20px 44px rgba(20,24,48,.13); overflow: hidden; }
.picker-head { font-size: 11px; font-weight: 700; letter-spacing: .07em; color: #aab1bd; padding: 9px 15px; border-bottom: 1px solid #f1f1f6; }
.picker-search { padding: 12px 16px; color: #aab1c2; border-bottom: 1px solid #f1f1f6; }
.picker-row { padding: 9px 15px; }
.picker-row small { display: block; color: #828a99; font-size: 12px; margin-top: 2px; }
.picker-row.sel { background: var(--blue); color: #fff; border-radius: 9px; margin: 5px 7px; padding: 10px 13px; box-shadow: 0 6px 16px var(--ring); }
.picker-row.sel small { color: #d7e0ff; }
.picker-foot { display: flex; gap: 15px; padding: 9px 15px; border-top: 1px solid #f1f1f6; color: #aab1bd; font-size: 12px; }

/* sections */
.section { max-width: 1160px; margin: 0 auto; padding: 84px 28px; text-align: center; }
.section.alt { background: linear-gradient(180deg, #f7f8fc, #fbfcff); max-width: none; border-block: 1px solid var(--line); }
.section.alt > * { max-width: 1160px; margin-inline: auto; }
.section h2 { font-size: 34px; font-weight: 800; margin: 0 0 10px; }
.section-sub { color: var(--muted); margin: 0 auto 46px; max-width: 560px; font-size: 17px; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; text-align: left; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; transition: .18s; }
.feature:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -22px rgba(26,33,64,.28); border-color: #e2e5ee; }
.fi { width: 46px; height: 46px; border-radius: 13px; display: flex; align-items: center; justify-content: center; }
.fi svg { width: 22px; height: 22px; }
.c1 { background: #eef2ff; color: #2f5bff; } .c2 { background: #fff2e2; color: #d97706; }
.c3 { background: #f3ecfe; color: #7c3aed; } .c4 { background: #e6f7f3; color: #0d9488; }
.c5 { background: #ffe9ee; color: #e11d48; } .c6 { background: #eef1f6; color: #475569; }
.feature h3 { font-size: 17.5px; margin: 14px 0 7px; }
.feature p { color: var(--muted); margin: 0; font-size: 15px; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0,350px)); gap: 22px; justify-content: center; text-align: left; }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px; }
.plan.featured { border: 1.5px solid var(--blue); box-shadow: 0 24px 50px -26px var(--ring); }
.ribbon { position: absolute; top: 18px; right: 18px; background: #eef2ff; color: var(--blue); font-size: 12px; font-weight: 700; padding: 4px 11px; border-radius: 999px; }
.plan-name { font-weight: 700; color: var(--muted); letter-spacing: .01em; }
.plan-price { font-size: 40px; font-weight: 800; margin: 8px 0 18px; }
.plan-price span { font-size: 15px; font-weight: 600; color: var(--muted); }
.plan-feats { list-style: none; margin: 0 0 22px; padding: 0; }
.plan-feats li { padding: 8px 0 8px 28px; position: relative; color: #3a4250; }
.plan-feats li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 15px; height: 9px;
  border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }
.waitlist { display: flex; gap: 8px; }
.waitlist input { flex: 1; min-width: 0; padding: 11px 13px; border: 1px solid #d9dde8; border-radius: 11px; font-size: 15px; font-family: inherit; }
.waitlist input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--ring); }
.wl-msg { color: #16a34a; font-size: 14px; margin: 11px 0 0; }
.plan-note { color: #99a0b0; font-size: 12.5px; margin: 12px 0 0; text-align: center; }

/* support / buy me a coffee */
.support-card { max-width: 480px; margin: 0 auto; background: #fff; border: 1px solid var(--line);
  border-radius: 18px; padding: 36px 32px; text-align: center; box-shadow: 0 24px 50px -30px rgba(26,33,64,.25); }
.support-card .coffee { font-size: 40px; line-height: 1; }
.support-card h3 { font-size: 22px; margin: 12px 0 8px; }
.support-card p { color: var(--muted); margin: 0 auto; max-width: 34em; }
.coffee-btn { display: inline-block; margin: 22px 0 0; background: #ffdd00; color: #15140f;
  font-weight: 700; font-size: 16px; padding: 13px 26px; border-radius: 12px; box-shadow: 0 8px 20px rgba(255,221,0,.4); transition: .15s; }
.coffee-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(255,221,0,.5); }
.support-note { color: #99a0b0; font-size: 13px; margin-top: 16px; }

/* faq */
.faq { max-width: 740px; margin: 0 auto; text-align: left; }
.faq details { border: 1px solid var(--line); border-radius: 13px; padding: 16px 20px; margin-bottom: 12px; background: #fff; transition: .15s; }
.faq details[open] { border-color: #dfe3f0; box-shadow: 0 10px 30px -20px rgba(26,33,64,.25); }
.faq summary { font-weight: 600; cursor: pointer; list-style: none; position: relative; padding-right: 24px; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: -2px; color: var(--muted); font-size: 20px; font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details[open] summary { margin-bottom: 10px; }
.faq p { color: var(--muted); margin: 0; }

/* footer */
.footer { border-top: 1px solid var(--line); padding: 40px 28px; background: #fff; }
.foot-inner { max-width: 1160px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot-brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; }
.foot-links { display: flex; gap: 22px; }
.foot-links a { color: var(--muted); font-weight: 500; }
.foot-links a:hover { color: var(--ink); }
.foot-copy { max-width: 1160px; margin: 20px auto 0; color: #99a0b0; font-size: 13px; text-align: center; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding: 48px 22px; }
  .hero h1 { font-size: 36px; }
  .hero-visual { order: -1; }
  .grid { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .navlinks a:not(.btn) { display: none; }
}

/* ============ BLOG ============ */
.blog-head { max-width: 760px; margin: 0 auto; padding: 64px 28px 8px; text-align: center; }
.blog-head .eyebrow { margin-bottom: 16px; }
.blog-head h1 { font-size: 40px; font-weight: 800; margin: 0 0 12px; }
.blog-head p { color: var(--muted); font-size: 18px; margin: 0 auto; max-width: 38em; }

.post-grid { max-width: 1160px; margin: 0 auto; padding: 40px 28px 84px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: .18s; }
.post-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -22px rgba(26,33,64,.28); border-color: #e2e5ee; }
.post-card.featured { grid-column: span 3; flex-direction: row; }
.post-thumb { background: linear-gradient(135deg, #eef2ff, #f3ecfe); display: flex; align-items: center; justify-content: center; font-size: 40px; min-height: 150px; overflow: hidden; }
.post-thumb.img { padding: 0; }
.post-thumb.img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-card.featured .post-thumb { flex: 0 0 42%; min-height: 240px; font-size: 64px; }
.post-card.soon .post-thumb { background: linear-gradient(135deg, #f3f4f9, #eef0f7); filter: grayscale(.3); }
.post-meta-row { display: flex; gap: 10px; align-items: center; color: #99a0b0; font-size: 12.5px; font-weight: 600; }
.post-tag { background: #eef2ff; color: var(--blue); padding: 3px 10px; border-radius: 999px; }
.post-card.soon .post-tag { background: #f0f2f8; color: #8b93a3; }
.post-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card.featured .post-body { padding: 32px; justify-content: center; }
.post-body h2, .post-body h3 { margin: 0; font-size: 19px; line-height: 1.22; }
.post-card.featured .post-body h2 { font-size: 27px; }
.post-body p { color: var(--muted); font-size: 14.5px; margin: 0; }
.post-readmore { color: var(--blue); font-weight: 600; font-size: 14.5px; margin-top: auto; }

/* ---- Article ---- */
.article { max-width: 760px; margin: 0 auto; padding: 28px 28px 40px; }
.breadcrumb { color: #99a0b0; font-size: 13.5px; margin: 8px 0 22px; }
.breadcrumb a { color: var(--muted); } .breadcrumb a:hover { color: var(--ink); }
.article-head h1 { font-size: 38px; font-weight: 800; margin: 0 0 14px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; color: #99a0b0; font-size: 14px; margin-bottom: 8px; }
.article-meta .post-tag { font-size: 12px; }
.article-lead { font-size: 19px; color: var(--muted); line-height: 1.55; margin: 18px 0 6px; }
.toc { background: var(--soft); border: 1px solid var(--line); border-radius: 14px; padding: 20px 24px; margin: 30px 0; }
.toc strong { display: block; font-family: "Plus Jakarta Sans", sans-serif; font-size: 14px; letter-spacing: .02em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 28px; }
.toc li { margin: 5px 0; }
.toc a { color: #3a4250; } .toc a:hover { color: var(--blue); }

.article-body { font-size: 17px; line-height: 1.72; color: #2b303c; }
.article-body h2 { font-size: 26px; font-weight: 800; margin: 46px 0 14px; scroll-margin-top: 80px; }
.article-body h3 { font-size: 20px; font-weight: 700; margin: 30px 0 10px; }
.article-body p { margin: 0 0 18px; }
.article-body a { color: var(--blue); font-weight: 500; text-decoration: underline; text-underline-offset: 2px; }
.article-body ul, .article-body ol { margin: 0 0 18px; padding-left: 24px; }
.article-body li { margin: 7px 0; }
.article-body strong { color: var(--ink); }
.article-body img { max-width: 100%; border-radius: 12px; border: 1px solid var(--line); }
.figure { margin: 26px 0; }
.figure figcaption { color: #99a0b0; font-size: 13.5px; text-align: center; margin-top: 8px; }

.callout { display: flex; gap: 13px; background: #eef2ff; border: 1px solid #dbe3ff; border-radius: 14px; padding: 18px 20px; margin: 26px 0; }
.callout .ci { font-size: 20px; line-height: 1.4; }
.callout p { margin: 0; font-size: 15.5px; color: #33405e; }
.callout.tip { background: #e9f9f1; border-color: #c7ecd8; } .callout.tip p { color: #1c5238; }

.ctable { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 15px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.ctable th, .ctable td { padding: 12px 15px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.ctable thead th { background: var(--soft); font-family: "Plus Jakarta Sans", sans-serif; font-size: 14px; }
.ctable tbody tr:last-child td { border-bottom: 0; }
.ctable td.yes { color: #16a34a; font-weight: 600; } .ctable td.no { color: #b4262a; }
.ctable .hl { background: #f5f7ff; }

.cta-box { background: linear-gradient(135deg, #2f5bff, #5b50e6); border-radius: 18px; padding: 32px 30px; margin: 38px 0; text-align: center; color: #fff; box-shadow: 0 24px 50px -26px rgba(47,91,255,.5); }
.cta-box h3 { color: #fff; font-size: 23px; margin: 0 0 8px; }
.cta-box p { color: #dbe3ff; margin: 0 auto 18px; max-width: 34em; font-size: 15.5px; }
.cta-box .btn { background: #fff; color: var(--blue); border-color: #fff; font-weight: 700; }
.cta-box .btn:hover { background: #f0f3ff; }

.author { display: flex; align-items: center; gap: 13px; border-top: 1px solid var(--line); margin-top: 44px; padding-top: 24px; }
.author .ava { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, #2f5bff, #7c3aed); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; }
.author .aname { font-weight: 700; } .author .arole { color: var(--muted); font-size: 14px; }

.related { max-width: 760px; margin: 0 auto; padding: 10px 28px 70px; }
.related h2 { font-size: 22px; margin: 0 0 18px; }
.related-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.related-list a { border: 1px solid var(--line); border-radius: 13px; padding: 18px 20px; transition: .15s; display: block; }
.related-list a:hover { border-color: #dfe3f0; box-shadow: 0 12px 30px -22px rgba(26,33,64,.3); }
.related-list .rt { font-weight: 700; margin-bottom: 4px; }
.related-list .rp { color: var(--muted); font-size: 14px; }

@media (max-width: 900px) {
  .post-grid { grid-template-columns: 1fr; }
  .post-card.featured { grid-column: span 1; flex-direction: column; }
  .post-card.featured .post-thumb { min-height: 150px; font-size: 44px; }
  .toc ol { columns: 1; }
  .article-head h1 { font-size: 30px; }
  .related-list { grid-template-columns: 1fr; }
  .ctable { display: block; overflow-x: auto; }
}

/* ============ MOTION / INTERACTIVE (shared) ============ */
/* reading-progress bar (injected by motion.js) */
.read-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--blue); z-index: 50; box-shadow: 0 0 8px rgba(47,91,255,.5); }

/* scroll reveal (only active when JS is present, so it degrades gracefully) */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s cubic-bezier(.4,0,.2,1), transform .6s cubic-bezier(.4,0,.2,1); }
.js .reveal.show { opacity: 1; transform: none; }

/* hero aurora */
.hero .aurora { position: absolute; inset: -12% -12% auto -12%; height: 130%; z-index: -1; pointer-events: none; opacity: .85; }
.hero .aurora b { position: absolute; border-radius: 50%; filter: blur(72px); display: block; }
.hero .aurora b:nth-child(1) { width: 460px; height: 460px; background: radial-gradient(closest-side, rgba(47,91,255,.20), transparent); top: -130px; right: -30px; animation: hdrift1 16s ease-in-out infinite alternate; }
.hero .aurora b:nth-child(2) { width: 360px; height: 360px; background: radial-gradient(closest-side, rgba(124,58,237,.15), transparent); top: 130px; left: -90px; animation: hdrift2 19s ease-in-out infinite alternate; }
.hero .aurora b:nth-child(3) { width: 300px; height: 300px; background: radial-gradient(closest-side, rgba(13,148,136,.13), transparent); bottom: -120px; right: 28%; animation: hdrift1 23s ease-in-out infinite alternate-reverse; }
@keyframes hdrift1 { to { transform: translate(50px,42px) scale(1.16); } }
@keyframes hdrift2 { to { transform: translate(-42px,30px) scale(1.1); } }

/* animated gradient accent in the headline */
.grad { background: linear-gradient(100deg, #2f5bff, #7c3aed 55%, #0d9488); -webkit-background-clip: text; background-clip: text;
  color: transparent; background-size: 220% auto; animation: gradmove 7s linear infinite; }
@keyframes gradmove { to { background-position: 220% center; } }

/* CTA shimmer sweep */
.btn.primary { position: relative; overflow: hidden; }
.btn.primary::after { content: ""; position: absolute; top: 0; left: -65%; width: 45%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.38), transparent); transform: skewX(-18deg); animation: shimmer 5s ease-in-out infinite; }
@keyframes shimmer { 0%,58% { left: -65%; } 80%,100% { left: 135%; } }

/* live hero compose + picker */
.mock-body { min-height: 330px; }
.mock-compose { padding: 0; color: inherit; font-weight: 400; }
.mc-row { padding: 11px 18px; border-bottom: 1px solid #eef0f7; color: #3a4250; font-size: 14px; }
.mc-row .mc-l { display: inline-block; width: 56px; color: #aab1c2; }
.mc-text { padding: 15px 18px; min-height: 92px; font-size: 14px; line-height: 1.6; color: #1a2233; }
.hcaret { display: inline-block; width: 2px; height: 1.05em; background: var(--blue); vertical-align: -2px; animation: hblink 1.05s steps(1) infinite; }
@keyframes hblink { 50% { opacity: 0; } }
.picker { position: absolute; left: 20px; right: 20px; bottom: 18px; margin: 0; background: #fff; transition: opacity .32s, transform .32s; }
.picker.gone { opacity: 0; transform: translateY(14px) scale(.98); pointer-events: none; }
.picker-head { display: flex; align-items: center; justify-content: space-between; }
.pk-key { font-family: ui-monospace, Menlo, monospace; font-size: 10px; font-weight: 700; color: #8a92a3; background: #f0f2f8; border: 1px solid #e3e7f0; border-radius: 5px; padding: 1px 6px; letter-spacing: 0; }
.picker-search .ph { color: #aab1c2; }

/* soft reveal when a FAQ item opens */
.faq details[open] > *:not(summary) { animation: faqIn .28s ease; }
@keyframes faqIn { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition: none !important; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
}

/* ============ PEAK: live playground · ⌘K palette · tilt ============ */
/* hero 3D tilt */
.hero-visual { perspective: 1100px; }
#heroMock { transition: transform .12s ease-out; transform-style: preserve-3d; }

/* try-it playground */
.try-section { background: linear-gradient(180deg, #f7f8fc, #fff); max-width: none; border-block: 1px solid var(--line); }
.try-section > * { max-width: 1160px; margin-inline: auto; }
.try-wrap { max-width: 680px; margin: 6px auto 0; text-align: left; }
.try-vars { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; margin-bottom: 16px; }
.try-vars label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.try-vars input { padding: 9px 12px; border: 1px solid #d9dde8; border-radius: 10px; font: inherit; font-size: 14px; width: 148px; }
.try-vars input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--ring); }
.try-vhint { color: #99a0b0; font-size: 12.5px; flex: 1; min-width: 170px; padding-bottom: 9px; }
.try-compose { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 30px 60px -36px rgba(26,33,64,.4); overflow: hidden; }
.tc-bar { display: flex; align-items: center; gap: 10px; background: #f3f4f9; padding: 11px 16px; border-bottom: 1px solid #eef0f7; }
.tc-bar .dots { display: flex; gap: 6px; } .tc-bar .dots i { width: 11px; height: 11px; border-radius: 50%; background: #d4d8e2; }
.tc-title { font-weight: 650; color: var(--muted); font-size: 14px; }
.tc-hint { margin-left: auto; font-size: 12px; color: #9aa1b2; font-family: ui-monospace, Menlo, monospace; }
.tc-meta { padding: 11px 18px; border-bottom: 1px solid #eef0f7; color: #3a4250; font-size: 14px; }
.tc-meta .tc-l { display: inline-block; width: 40px; color: #aab1c2; }
.tc-body { min-height: 150px; padding: 16px 18px; font-size: 15px; line-height: 1.65; color: #1a2233; outline: none; }
.tc-body:empty::before { content: attr(data-ph); color: #aeb4c2; }
.tc-body .vtok { background: #eef2ff; color: var(--blue); border-radius: 5px; padding: 0 4px; font-weight: 600; }
.tc-body .vtok.filled { background: transparent; color: inherit; padding: 0; font-weight: 600; }
.tc-body .flash { animation: tflash 1.1s ease; }
@keyframes tflash { 0% { background: #fff5c2; } 100% { background: transparent; } }
.tc-actions { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-top: 1px solid #eef0f7; background: #fcfcff; }
.btn.sm { padding: 8px 14px; font-size: 14px; border-radius: 9px; }
.tc-status { color: #16a34a; font-size: 13px; font-weight: 600; }
.try-picker { position: absolute; left: 18px; right: 18px; bottom: 64px; background: #fff; border: 1px solid #e4e7f0; border-radius: 13px; box-shadow: 0 26px 60px -16px rgba(20,24,60,.45); overflow: hidden; z-index: 5; animation: pkin .18s ease; }
.try-picker[hidden] { display: none; }
@keyframes pkin { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.tp-search { width: 100%; padding: 13px 16px; border: 0; border-bottom: 1px solid #eef0f7; font: inherit; font-size: 15px; outline: none; }
.tp-list { list-style: none; margin: 0; padding: 6px; max-height: 232px; overflow: auto; }
.tp-list li { padding: 9px 12px; border-radius: 9px; cursor: pointer; }
.tp-list li b { display: block; font-size: 14px; } .tp-list li small { color: #828a99; font-size: 12px; }
.tp-list li.sel { background: var(--blue); color: #fff; } .tp-list li.sel small { color: #dbe6ff; }
.tp-foot { display: flex; gap: 14px; padding: 8px 14px; border-top: 1px solid #eef0f7; color: #aab1bd; font-size: 12px; }

/* ⌘K command palette */
.cmdk-hint { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: inline-flex; align-items: center; gap: 7px; background: #fff; border: 1px solid var(--line); border-radius: 11px; padding: 8px 12px; font-size: 13px; color: var(--muted); box-shadow: 0 10px 30px -16px rgba(20,30,60,.4); cursor: pointer; font-weight: 600; font-family: inherit; }
.cmdk-hint kbd { font-size: 11px; padding: 1px 5px; }
.cmdk-overlay { position: fixed; inset: 0; z-index: 100; background: rgba(17,19,26,.5); backdrop-filter: blur(3px); display: flex; align-items: flex-start; justify-content: center; padding: 14vh 20px 20px; }
.cmdk-overlay[hidden] { display: none; }
.cmdk { width: min(560px, 100%); background: #fff; border-radius: 16px; box-shadow: 0 40px 90px -30px rgba(10,15,40,.6); overflow: hidden; animation: cmdkin .18s ease; }
@keyframes cmdkin { from { opacity: 0; transform: translateY(-10px) scale(.98); } to { opacity: 1; transform: none; } }
.cmdk-input { width: 100%; padding: 17px 20px; border: 0; border-bottom: 1px solid #eef0f7; font: inherit; font-size: 17px; outline: none; }
.cmdk-list { list-style: none; margin: 0; padding: 8px; max-height: 52vh; overflow: auto; }
.cmdk-list li { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 11px; cursor: pointer; color: var(--ink); }
.cmdk-list li .ci { width: 30px; height: 30px; border-radius: 8px; background: #eef2ff; color: var(--blue); display: flex; align-items: center; justify-content: center; font-size: 15px; flex: 0 0 auto; }
.cmdk-list li b { font-size: 15px; font-weight: 600; display: block; } .cmdk-list li small { display: block; color: var(--muted); font-size: 12.5px; }
.cmdk-list li.sel { background: #f2f4ff; }
.cmdk-foot { display: flex; gap: 16px; padding: 9px 16px; border-top: 1px solid #eef0f7; color: #aab1bd; font-size: 12px; }

@media (max-width: 640px) { .cmdk-hint { display: none; } .try-vhint { padding-bottom: 0; } }

/* ============ PEAK: spotlight feature cards ============ */
.grid { perspective: 1100px; }
.feature { position: relative; transform-style: preserve-3d; will-change: transform;
  transition: transform .14s ease-out, box-shadow .22s, border-color .22s; }
/* cursor-tracking glow */
.feature::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 0;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(47,91,255,.15), transparent 62%);
  opacity: 0; transition: opacity .25s; }
/* glowing gradient border (mask trick) */
.feature::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 1; padding: 1.5px;
  background: linear-gradient(130deg, rgba(47,91,255,.65), rgba(124,58,237,.5), rgba(13,148,136,0) 66%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude;
  opacity: 0; transition: opacity .25s; }
.feature:hover::before, .feature:hover::after { opacity: 1; }
.feature:hover { box-shadow: 0 26px 60px -28px rgba(40,50,120,.42); border-color: transparent; }
.feature > * { position: relative; z-index: 2; }
.fi { transition: transform .25s cubic-bezier(.34,1.45,.5,1); }
.feature:hover .fi { transform: translateY(-3px) scale(1.1) rotate(-3deg); }

/* ============ PEAK: article extras (scroll-spy · copy · inline demo) ============ */
.toc a.active { color: var(--blue); font-weight: 700; }
.copy-tip { color: #99a0b0; font-size: 14px; }
.copy-list li { position: relative; padding-right: 76px; }
.copy-btn { position: absolute; right: 0; top: 1px; font: inherit; font-size: 12px; font-weight: 600; color: var(--blue);
  background: #eef2ff; border: 1px solid #dfe2fb; border-radius: 7px; padding: 3px 11px; cursor: pointer; transition: .15s; opacity: .35; }
.copy-list li:hover .copy-btn { opacity: 1; }
.copy-btn:hover { background: #e4e7fe; }
.copy-btn.done { background: #e6f7ee; border-color: #bfe6cd; color: #0f7a40; opacity: 1; }
.article-demo { margin: 32px 0; }
.ad-label { text-align: center; color: var(--blue); font-weight: 700; font-size: 14px; margin: 0 0 12px; letter-spacing: .01em; }
.article-demo .try-wrap { margin: 0 auto; }

/* ============ PEAK: animated article components ============ */
/* "How it works" — looping 3-step mini-movie */
.hiw { display: flex; align-items: stretch; gap: 0; background: linear-gradient(180deg,#f7f8fc,#fff); border: 1px solid var(--line); border-radius: 16px; padding: 24px 14px; margin: 26px 0; }
.hiw-step { flex: 1 1 0; min-width: 0; text-align: center; padding: 10px; border-radius: 13px; position: relative; }
.hiw-step::before { content: ""; position: absolute; inset: 0; border-radius: 13px; box-shadow: 0 0 0 2px var(--blue) inset, 0 14px 30px -16px rgba(47,91,255,.5); opacity: 0; animation: hiwpulse 2.6s ease-in-out infinite; animation-delay: var(--d,0s); pointer-events: none; }
@keyframes hiwpulse { 0%,72%,100% { opacity: 0; } 10%,28% { opacity: .55; } }
.hiw-ic { height: 50px; display: flex; align-items: center; justify-content: center; gap: 6px; margin-bottom: 12px; }
.hiw-t { font-weight: 700; font-size: 15px; color: var(--ink); }
.hiw-s { color: var(--muted); font-size: 12.5px; margin-top: 3px; line-height: 1.4; }
.hiw-field { width: 92px; height: 24px; border: 1px solid #d6dbe6; border-radius: 6px; background: #fff; display: inline-flex; align-items: center; padding: 0 9px; }
.hiw-caret { width: 2px; height: 14px; background: var(--blue); animation: hblink 1.05s steps(1) infinite; }
.kc { font-family: ui-monospace, Menlo, monospace; font-size: 13px; font-weight: 700; color: var(--ink); background: #fff; border: 1px solid #cfd4e2; border-radius: 7px; padding: 6px 11px; box-shadow: 0 2px 0 #cfd4e2; animation: kcpress 2.6s ease-in-out infinite; animation-delay: .85s; }
@keyframes kcpress { 0%,22%,100% { transform: translateY(0); box-shadow: 0 2px 0 #cfd4e2; } 12% { transform: translateY(2px); box-shadow: 0 0 0 #cfd4e2; } }
.hiw-check { width: 30px; height: 30px; color: #0f7a40; }
.hiw-check circle { opacity: 0; animation: hiwfade 2.6s ease-in-out infinite; animation-delay: 1.7s; }
.hiw-check path { stroke-dasharray: 26; stroke-dashoffset: 26; animation: hiwdraw 2.6s ease-in-out infinite; animation-delay: 1.7s; }
@keyframes hiwdraw { 0%,64% { stroke-dashoffset: 26; } 82%,100% { stroke-dashoffset: 0; } }
@keyframes hiwfade { 0%,60% { opacity: 0; transform: scale(.6); } 75%,100% { opacity: 1; transform: scale(1); } }
.hiw-wire { align-self: center; width: 48px; height: 2px; background: var(--line); position: relative; flex: 0 0 auto; border-radius: 2px; }
.hiw-wire i { position: absolute; top: 50%; left: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); transform: translate(-50%,-50%); box-shadow: 0 0 0 4px rgba(47,91,255,.16); animation: flowH 2.6s cubic-bezier(.55,0,.45,1) infinite; }

/* Variables — live-cycling personalization */
.varbox { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 30px 26px; margin: 26px 0; text-align: center; box-shadow: 0 24px 50px -34px rgba(26,33,64,.35); }
.vb-line { font-size: 22px; line-height: 1.5; color: var(--ink); font-weight: 500; }
.vb-chip { display: inline-block; background: #eef2ff; color: var(--blue); border-radius: 7px; padding: 1px 9px; font-weight: 700; font-family: ui-monospace, Menlo, monospace; font-size: .92em; }
.vb-chip.val { background: #e6f7ee; color: #0f7a40; font-family: inherit; }
.vb-chip.flip { animation: vbflip .44s ease; }
@keyframes vbflip { 0% { opacity: 1; transform: translateY(0); } 44% { opacity: 0; transform: translateY(-7px) scale(.9); } 56% { opacity: 0; transform: translateY(7px) scale(.9); } 100% { opacity: 1; transform: translateY(0); } }
.vb-cap { color: var(--muted); font-size: 14px; margin-top: 16px; }

/* Comparison table polish */
.ctable tbody tr { transition: background .15s; }
.ctable tbody tr:hover { background: #f5f7ff; }
.ctable td.hl { transition: background .15s; }
.ctable tbody tr:hover td.hl { background: #eaf0ff; }

/* callouts & CTA: gentle hover life */
.callout, .cta-box { transition: transform .2s ease, box-shadow .2s ease; }
.callout:hover { transform: translateY(-2px); }
.cta-box:hover { transform: translateY(-3px); box-shadow: 0 30px 60px -26px rgba(47,91,255,.6); }

@media (max-width: 560px) {
  .hiw { flex-direction: column; gap: 10px; }
  .hiw-wire { width: 2px; height: 26px; }
  .hiw-wire i { animation: flowV 2.6s cubic-bezier(.55,0,.45,1) infinite; }
  .vb-line { font-size: 18px; }
}
@keyframes flowH { 0% { left: 0; opacity: 0; } 14% { opacity: 1; } 86% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
@keyframes flowV { 0% { top: 0; opacity: 0; } 14% { opacity: 1; } 86% { opacity: 1; } 100% { top: 100%; opacity: 0; } }

/* ============ PEAK: blog hub creativity ============ */
.blog-head { position: relative; overflow: hidden; }
.blog-head::before, .blog-head::after { content: ""; position: absolute; border-radius: 50%; filter: blur(70px); z-index: -1; pointer-events: none; }
.blog-head::before { width: 360px; height: 360px; background: radial-gradient(closest-side, rgba(47,91,255,.18), transparent); top: -130px; left: 10%; animation: hdrift1 16s ease-in-out infinite alternate; }
.blog-head::after { width: 320px; height: 320px; background: radial-gradient(closest-side, rgba(124,58,237,.15), transparent); top: -90px; right: 10%; animation: hdrift2 19s ease-in-out infinite alternate; }

.post-grid { perspective: 1100px; }
.post-card { transform-style: preserve-3d; will-change: transform; }
.post-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 4;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), rgba(47,91,255,.13), transparent 60%);
  opacity: 0; transition: opacity .25s; }
.post-card:hover::after { opacity: 1; }

/* animated thumbnails + floating glyph */
.post-thumb { background-size: 180% 180%; animation: thumbshift 9s ease infinite; }
@keyframes thumbshift { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.pt-emoji { display: inline-block; animation: ptfloat 4.6s ease-in-out infinite; }
@keyframes ptfloat { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-7px) rotate(-4deg); } }
.post-card:hover .pt-emoji { animation: none; transform: translateY(-6px) scale(1.18); transition: transform .25s cubic-bezier(.34,1.45,.5,1); }

/* "coming soon" loading shimmer */
.post-card.soon .post-thumb { position: relative; overflow: hidden; }
.post-card.soon .post-thumb::after { content: ""; position: absolute; inset: 0; transform: translateX(-120%);
  background: linear-gradient(100deg, transparent 35%, rgba(255,255,255,.55), transparent 65%); animation: skel 3s ease-in-out infinite; }
@keyframes skel { 0% { transform: translateX(-120%); } 55%,100% { transform: translateX(120%); } }

/* featured: glowing gradient border */
.post-card.featured::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 3; padding: 1.5px;
  background: linear-gradient(130deg, rgba(47,91,255,.7), rgba(124,58,237,.5), rgba(13,148,136,0) 66%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude; opacity: .85; }
.post-readmore { transition: letter-spacing .2s; }
.post-card:hover .post-readmore { letter-spacing: .3px; }

/* ============ PEAK: signature interactions (scramble · magnetic · confetti · FAQ) ============ */
.magnetic { will-change: transform; }
.cfx { position: fixed; z-index: 120; width: 9px; height: 9px; border-radius: 2px; pointer-events: none; will-change: transform, opacity; }

/* FAQ glow-up */
.faq details { position: relative; overflow: hidden; }
.faq details::before { content: ""; position: absolute; left: 0; top: 9px; bottom: 9px; width: 3px; border-radius: 3px;
  background: linear-gradient(var(--blue), #7c3aed); opacity: 0; transform: scaleY(.3); transition: opacity .3s, transform .3s; }
.faq details[open]::before { opacity: 1; transform: scaleY(1); }
.faq summary { position: relative; overflow: hidden; z-index: 1; }
.faq summary::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, transparent 30%, rgba(47,91,255,.10), transparent 70%); transform: translateX(-120%); transition: transform .55s ease; }
.faq summary:hover::before { transform: translateX(120%); }
.faq summary::after { transition: transform .3s ease; display: inline-block; }
.faq details[open] summary::after { content: "+"; transform: rotate(135deg); }
