:root {
  --ink: #11121c;
  --ink-2: #2e2f45;
  --muted: #5f6180;
  --line: #e6e7f0;
  --soft: #f5f7fb;
  --bg: #ffffff;
  --lime: #e6f85e;
  --green: #25d366;
  --green-d: #128c4b;
  --g1: #b324d7;
  --g2: #fe577f;
  --grad: linear-gradient(92.73deg, var(--g1) 7.07%, var(--g2) 97.81%);
  --radius: 18px;
  --shadow: 0 1px 2px rgba(17,18,28,.04), 0 8px 24px rgba(17,18,28,.06);
  --shadow-lg: 0 24px 60px rgba(17,18,28,.12);
  --font: "Space Grotesk", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 16px; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.narrow-wide { max-width: 1040px; }
.center { text-align: center; }
.mt { margin-top: 28px; }
.pt-0 { padding-top: 0 !important; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 100; }
.skip:focus { left: 10px; }
:focus-visible { outline: 3px solid var(--g1); outline-offset: 2px; border-radius: 6px; }

.text-grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 15px/1 var(--font); padding: 13px 22px; border-radius: 999px; border: 1.5px solid transparent; text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s, color .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 17px 30px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-2); box-shadow: var(--shadow); }
.btn-grad { background: var(--grad); color: #fff; box-shadow: 0 10px 30px -8px rgba(179,36,215,.55); }
.btn-grad:hover { box-shadow: 0 14px 34px -8px rgba(254,87,127,.6); }
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-ghost { color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--soft); }
.link-arrow { font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--lime); padding-bottom: 2px; }
.link-arrow::after { content: " →"; }

/* Announcement + header */
.announce { background: var(--ink); color: #fff; font-size: 14px; text-align: center; padding: 9px 0; }
.announce a { text-decoration: none; color: var(--lime); font-weight: 600; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.82); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(17,18,28,.05); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 20px; }
.brand img { height: 40px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav ul { display: flex; list-style: none; margin: 0; padding: 0; gap: 4px; }
.main-nav li > a, .drop-btn { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px; text-decoration: none; font: 500 15px var(--font); color: var(--ink); background: none; border: 0; cursor: pointer; }
.main-nav li > a:hover, .drop-btn:hover, .main-nav a[aria-current] { background: var(--soft); }
.has-drop { position: relative; }
.drop { position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(6px); min-width: 270px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 8px; opacity: 0; visibility: hidden; transition: .18s; }
.has-drop:hover .drop, .has-drop.open .drop, .has-drop:focus-within .drop { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.drop a { display: block; padding: 11px 14px; border-radius: 10px; text-decoration: none; }
.drop a:hover { background: var(--soft); }
.drop strong { display: block; font-size: 15px; }
.drop span { font-size: 13px; color: var(--muted); }
.nav-cta { display: flex; gap: 6px; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: var(--soft); border-radius: 12px; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.burger span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { position: relative; padding: 70px 0 40px; text-align: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, #effbe9 0%, #f6fff0 45%, #fff 100%); }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.b1 { width: 520px; height: 520px; background: #c8f7a8; top: -160px; left: -120px; animation: float 14s ease-in-out infinite; }
.b2 { width: 460px; height: 460px; background: #f3d3ff; top: 40px; right: -140px; animation: float 16s ease-in-out infinite reverse; }
.grid-lines { position: absolute; inset: 0; background-image: linear-gradient(rgba(17,18,28,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(17,18,28,.045) 1px, transparent 1px); background-size: 46px 46px; mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%); }
@keyframes float { 50% { transform: translate(40px, 30px) scale(1.06); } }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px 7px 8px; border-radius: 999px; background: #fff; border: 2px solid var(--green); font-size: 14px; font-weight: 600; box-shadow: 0 6px 20px -6px rgba(37,211,102,.45); }
.pill img { width: 22px; height: 22px; }
.hero-eyebrow { margin: 18px auto 0; max-width: 720px; color: var(--muted); font-size: 15px; }
.hero h1 { font-size: clamp(38px, 6.4vw, 76px); font-weight: 700; margin: 18px auto 18px; max-width: 980px; }
.rotator { display: inline-block; min-height: 1.15em; }
.rotator .text-grad { display: inline-block; animation: wordIn .5s ease both; }
@keyframes wordIn { from { opacity: 0; transform: translateY(18px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
.hero-sub { font-size: clamp(16px, 2vw, 19px); color: var(--ink-2); max-width: 720px; margin: 0 auto 28px; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-bullets { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; list-style: none; padding: 0; margin: 26px 0 0; font-size: 15px; font-weight: 500; }
.hero-bullets li { display: inline-flex; align-items: center; gap: 6px; }
.hero-bullets svg, .ticks svg, .plan-features .yes svg { color: var(--green-d); flex: none; }
.review-badges { display: flex; justify-content: center; gap: 24px; margin-top: 24px; flex-wrap: wrap; }
.review-badges img { height: 44px; width: auto; }
.hero-video { max-width: 960px; margin: 46px auto 0; border-radius: 24px; padding: 10px; background: linear-gradient(135deg, rgba(179,36,215,.25), rgba(37,211,102,.25)); box-shadow: var(--shadow-lg); }
.yt-lite { position: relative; display: block; width: 100%; aspect-ratio: 16/9; border: 0; border-radius: 16px; background: #000 center/cover no-repeat; cursor: pointer; overflow: hidden; }
.yt-lite::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.35)); }
.yt-lite .play { position: absolute; z-index: 1; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; box-shadow: 0 0 0 12px rgba(255,255,255,.25); transition: transform .2s; }
.yt-lite:hover .play { transform: scale(1.08); }
.yt-frame { position: relative; width: 100%; aspect-ratio: 16/9; border-radius: 16px; overflow: hidden; background: #000; }
.yt-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Stats */
.stats { padding: 20px 0 10px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { text-align: center; padding: 22px 12px; border-radius: var(--radius); background: var(--soft); }
.stat strong { display: block; font-size: clamp(26px, 3.4vw, 38px); font-weight: 700; }
.stat span { color: var(--muted); font-size: 14px; }

/* Brands / marquee */
.brands { padding: 50px 0 30px; text-align: center; }
.brands-title { font-size: clamp(20px, 2.4vw, 26px); font-weight: 600; margin-bottom: 26px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 64px; width: max-content; animation: scroll 30s linear infinite; align-items: center; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee.reverse .marquee-track { animation-direction: reverse; }
.brands .marquee-track img { height: 40px; width: auto; filter: grayscale(1); opacity: .75; transition: .2s; }
.brands .marquee-track img:hover { filter: none; opacity: 1; }
@keyframes scroll { to { transform: translateX(calc(-50% - 32px)); } }

/* Sections */
.section { padding: 96px 0; }
.section-soft { background: var(--soft); }
.section-dark { background: var(--ink); color: #fff; }
.section-dark .section-head p { color: #bdbfd4; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 52px; }
.section-head h2 { font-size: clamp(30px, 4.2vw, 48px); font-weight: 700; }
.section-head p { color: var(--muted); font-size: 17px; }
.row-head { display: flex; justify-content: space-between; align-items: end; text-align: left; max-width: none; gap: 20px; flex-wrap: wrap; }
.row-head h2 { margin: 0; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--g1); margin-bottom: 14px; }
.eyebrow-lime { color: var(--lime); }

/* Features */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature-card { padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; transition: transform .25s, box-shadow .25s, border-color .25s; }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.feature-icon { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, #f1fbe6, #fbefff); margin-bottom: 18px; }
.feature-icon img { width: 34px; height: 34px; object-fit: contain; }
.feature-card h3 { font-size: 19px; }
.feature-card p { color: var(--muted); font-size: 15px; margin: 0; }

/* Showcases */
.showcase { padding: 70px 0; }
.showcase:nth-of-type(odd) { background: linear-gradient(180deg, #fff, var(--soft)); }
.showcase-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.showcase.flip .showcase-text { order: 2; }
.showcase-text h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 700; }
.showcase-text p { color: var(--ink-2); font-size: 17px; }
.showcase-media img { width: 100%; border-radius: 22px; }
.ticks { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.ticks svg { margin-top: 3px; }

/* Integrations */
.integ-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.integ { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 22px 12px; border-radius: 16px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); text-align: center; font-size: 14px; font-weight: 500; transition: .2s; }
.integ:hover { background: rgba(230,248,94,.08); border-color: rgba(230,248,94,.4); transform: translateY(-3px); }
.integ-logo { width: 60px; height: 60px; border-radius: 14px; background: #fff; display: grid; place-items: center; }
.integ-logo img { width: 38px; height: 38px; object-fit: contain; }
.integ-more { justify-content: center; color: var(--lime); }

/* API pricing + calculator */
.api-grid { display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 18px; align-items: stretch; }
.api-card { padding: 28px; border-radius: var(--radius); background: var(--soft); display: flex; flex-direction: column; gap: 16px; }
.api-card img { width: 56px; height: 56px; object-fit: contain; }
.api-card h3 { font-size: 22px; }
.api-card p { color: var(--muted); margin: 0; }
.calc { padding: 28px; border-radius: var(--radius); background: var(--ink); color: #fff; }
.calc h3 { font-size: 22px; }
.calc .muted { color: #bdbfd4; font-size: 14px; }
.calc label { font-size: 14px; font-weight: 500; display: block; margin-bottom: 8px; }
.calc-row { display: flex; align-items: center; gap: 12px; }
.calc-row input { flex: 1; accent-color: var(--lime); }
.calc-row output { min-width: 96px; text-align: right; font-weight: 700; }
.calc-result { display: grid; gap: 8px; margin-top: 20px; }
.calc-result div { display: flex; justify-content: space-between; padding: 10px 14px; border-radius: 12px; background: rgba(255,255,255,.06); font-size: 14px; }
.calc-result .win { background: rgba(37,211,102,.15); }
.calc-result .save { background: var(--lime); color: var(--ink); font-size: 15px; }
.calc-result .save strong { font-size: 20px; }

/* Testimonials */
.testimonials { overflow: hidden; background: var(--soft); }
.stars { display: flex; justify-content: center; gap: 4px; }
.marquee-cards { margin-top: 18px; }
.marquee-cards .marquee-track { gap: 18px; animation-duration: 70s; align-items: stretch; }
.t-card { margin: 0; width: 360px; padding: 24px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.t-card blockquote { margin: 0; font-size: 15px; color: var(--ink-2); }
.t-card figcaption { display: flex; gap: 12px; align-items: center; }
.t-card img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.t-card strong { display: block; font-size: 15px; }
.t-card small { color: var(--muted); }

/* Pricing */
.billing-toggle { display: inline-flex; padding: 5px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); margin-top: 10px; }
.billing-toggle button { border: 0; background: none; font: 600 15px var(--font); padding: 10px 22px; border-radius: 999px; cursor: pointer; color: var(--muted); }
.billing-toggle button.active { background: var(--ink); color: #fff; }
.billing-toggle em { font-style: normal; font-size: 12px; background: var(--lime); color: var(--ink); padding: 2px 8px; border-radius: 999px; margin-left: 4px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.plan { position: relative; padding: 32px 28px; border-radius: 24px; border: 1px solid var(--line); background: #fff; }
.plan.popular { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: var(--shadow-lg); transform: translateY(-10px); }
.plan.popular .plan-tag, .plan.popular .per { color: #bdbfd4; }
.plan.popular .plan-features .yes svg { color: var(--lime); }
.plan-flag { position: absolute; top: -13px; left: 28px; background: var(--grad); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px; text-transform: uppercase; letter-spacing: .08em; }
.plan h3 { font-size: 22px; margin-bottom: 6px; }
.plan-tag { color: var(--muted); font-size: 14px; min-height: 42px; }
.price { display: flex; align-items: baseline; gap: 6px; margin: 10px 0 22px; }
.amt { font-size: 48px; font-weight: 700; letter-spacing: -.03em; }
.per { color: var(--muted); }
.plan-features { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; font-size: 15px; }
.plan-features li { display: flex; gap: 10px; align-items: flex-start; }
.plan-features svg { margin-top: 3px; }
.plan-features .no { color: #9a9cb5; }
.plan-features .no span { text-decoration: line-through; text-decoration-color: rgba(154,156,181,.6); }
.plan-features .no svg { color: #d0021b; opacity: .7; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.faq-head { position: sticky; top: 110px; }
.faq-head h2 { font-size: clamp(30px, 3.6vw, 44px); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; font-weight: 600; font-size: 18px; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.plus { position: absolute; right: 4px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--soft); }
.plus::before, .plus::after { content: ""; position: absolute; left: 6px; right: 6px; top: 10px; height: 2px; background: var(--ink); transition: transform .2s; }
.plus::after { transform: rotate(90deg); }
details[open] .plus::after { transform: rotate(0); }
.faq-a { padding: 0 0 22px; color: var(--ink-2); }
.faq-a a { color: var(--g1); }

/* CTA */
.cta-band { padding: 30px 0 90px; }
.cta-card { position: relative; overflow: hidden; text-align: center; padding: 70px 30px; border-radius: 32px; background: var(--ink); color: #fff; }
.cta-card::before { content: ""; position: absolute; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(179,36,215,.45), transparent 60%); top: -300px; left: -150px; }
.cta-card::after { content: ""; position: absolute; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(37,211,102,.35), transparent 60%); bottom: -320px; right: -160px; }
.cta-card h2 { position: relative; z-index: 1; font-size: clamp(28px, 4vw, 48px); max-width: 820px; margin: 0 auto 28px; }
.cta-card .btn { position: relative; z-index: 1; }

/* Footer */
.site-footer { background: #0b0c14; color: #bdbfd4; padding: 70px 0 30px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr; gap: 36px; }
.foot-logo { height: 40px; width: auto; filter: brightness(0) invert(1); margin-bottom: 16px; }
.foot-about p { max-width: 340px; }
.meta-badge { height: 48px; width: auto; border-radius: 8px; background: #fff; padding: 4px 8px; }
.site-footer h3 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--lime); }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.07); color: #fff; }
.socials a:hover { background: var(--lime); color: var(--ink); }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.08); margin-top: 50px; padding: 24px 80px 0 0; font-size: 14px; }

.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 60px; height: 60px; border-radius: 50%; background: var(--green); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(37,211,102,.5); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--green); animation: ping 2s infinite; }
@keyframes ping { to { transform: scale(1.5); opacity: 0; } }

/* Inner pages */
.page-hero { padding: 70px 0 50px; text-align: center; background: linear-gradient(180deg, #effbe9, #fff); }
.page-hero h1 { font-size: clamp(36px, 5vw, 58px); }
.page-hero p { color: var(--muted); font-size: 18px; max-width: 640px; margin: 0 auto; }
.crumbs { display: flex; justify-content: center; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 16px; flex-wrap: wrap; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.blog-search { display: flex; gap: 8px; max-width: 520px; margin: 28px auto 0; }
.blog-search input { flex: 1; min-width: 0; padding: 14px 20px; border-radius: 999px; border: 1px solid var(--line); font: 16px var(--font); background: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; justify-content: center; }
.chip { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; font-size: 14px; font-weight: 500; background: #fff; }
.chip small { color: var(--muted); }
.chip.active, .chip:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip.active small { color: #bdbfd4; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: .25s; }
.post-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.post-thumb { aspect-ratio: 16/9; overflow: hidden; background: var(--soft); display: block; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post-card:hover .post-thumb img { transform: scale(1.04); }
.thumb-fallback { display: grid; place-items: center; height: 100%; font-size: 64px; font-weight: 700; background: var(--grad); color: #fff; }
.post-body { padding: 22px; }
.post-body h3 { font-size: 20px; }
.post-body h3 a { text-decoration: none; }
.post-body h3 a:hover { color: var(--g1); }
.post-body p { color: var(--muted); font-size: 15px; margin: 0; }
.post-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.post-meta.big { justify-content: center; font-size: 15px; }
.tag { display: inline-block; padding: 3px 10px; border-radius: 999px; background: #f2e6ff; color: #7b1fa2; font-weight: 600; font-size: 12px; text-decoration: none; }
.author-dot { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font-weight: 700; font-size: 14px; }
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.pager a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); text-decoration: none; font-weight: 600; }
.pager a.active { background: var(--ink); color: #fff; }
.empty { text-align: center; padding: 60px 20px; border: 2px dashed var(--line); border-radius: 24px; }

/* Article */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 70; }
.progress span { display: block; height: 100%; width: 0; background: var(--grad); }
.preview-bar { background: #fff4d6; text-align: center; padding: 10px; font-size: 14px; }
.article-head { padding: 60px 0 36px; text-align: center; background: linear-gradient(180deg, #effbe9, #fff); }
.article-head h1 { font-size: clamp(30px, 4.6vw, 52px); }
.article-cover { width: 100%; border-radius: 24px; box-shadow: var(--shadow-lg); margin-bottom: 50px; }
.article-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 60px; max-width: 1100px; padding-bottom: 50px; }
.article-aside { position: sticky; top: 100px; align-self: start; display: grid; gap: 26px; font-size: 14px; }
.toc strong, .share strong { display: block; text-transform: uppercase; font-size: 12px; letter-spacing: .1em; color: var(--muted); margin-bottom: 10px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.toc li a { display: block; padding: 6px 0 6px 14px; margin-left: -2px; border-left: 2px solid transparent; text-decoration: none; color: var(--muted); line-height: 1.4; }
.toc li.lv3 a { padding-left: 26px; }
.toc li a.active, .toc li a:hover { color: var(--ink); border-color: var(--g1); }
.share div { display: flex; flex-wrap: wrap; gap: 6px; }
.share a, .share button { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; font: 500 13px var(--font); background: #fff; cursor: pointer; }
.share a:hover, .share button:hover { background: var(--ink); color: #fff; }
.prose { font-size: 18px; line-height: 1.75; color: #24253a; }
.prose.small { font-size: 15px; }
.prose h2, .prose h3, .prose h4 { margin: 1.8em 0 .6em; color: var(--ink); }
.prose h2 { font-size: 30px; } .prose h3 { font-size: 24px; } .prose h4 { font-size: 21px; }
.prose a { color: var(--g1); }
.prose img { border-radius: 14px; margin: 1.2em 0; }
.prose blockquote { margin: 1.5em 0; padding: 18px 24px; border-left: 4px solid var(--g1); background: var(--soft); border-radius: 0 14px 14px 0; }
.prose pre { background: var(--ink); color: #e9e9f5; padding: 18px; border-radius: 14px; overflow-x: auto; font-size: 14px; }
.prose code { background: var(--soft); padding: 2px 6px; border-radius: 6px; font-size: .9em; }
.prose pre code { background: none; padding: 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: 16px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .3em 0; }
.prose > :first-child { margin-top: 0; }

/* Timeline */
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 130px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline li { display: grid; grid-template-columns: 130px 1fr; gap: 30px; padding-bottom: 34px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: 124px; top: 8px; width: 14px; height: 14px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 0 4px #fff; }
.tl-date { text-align: right; padding-right: 18px; font-size: 14px; color: var(--muted); }
.ver { display: block; font-weight: 700; color: var(--ink); }
.tl-card { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); margin-left: 10px; }
.tl-card h2 { font-size: 22px; margin-top: 10px; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.badge-feature { background: #e2fbe9; color: #0f7a3c; }
.badge-improvement { background: #e8efff; color: #2849b8; }
.badge-fix { background: #ffe9ec; color: #b4142f; }
.badge-announcement { background: #f2e6ff; color: #7b1fa2; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
.contact-cards { display: grid; gap: 14px; }
.c-card { display: flex; gap: 16px; align-items: center; padding: 20px; border-radius: var(--radius); border: 1px solid var(--line); text-decoration: none; transition: .2s; }
a.c-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.c-ico { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: 14px; background: var(--soft); font-size: 22px; }
.c-card small { display: block; color: var(--muted); }
.c-card strong { font-size: 17px; word-break: break-word; }
.c-wa { background: #effbe9; border-color: #c8f0d4; }
.form-card { padding: 36px; border-radius: 24px; background: #fff; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.form-card h2 { font-size: 30px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: block; margin-bottom: 14px; }
.field span { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.field input, .field textarea { width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); font: 16px var(--font); background: var(--soft); transition: .2s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--g1); background: #fff; box-shadow: 0 0 0 4px rgba(179,36,215,.12); }
.field.err input, .field.err textarea { border-color: #d0021b; }
.field em { color: #d0021b; font-style: normal; font-size: 13px; }
.hp { position: absolute; left: -9999px; }
.alert { padding: 14px 18px; border-radius: 12px; margin-bottom: 18px; }
.alert.ok { background: #e2fbe9; color: #0f5a2e; }

.nf-code { font-size: clamp(90px, 16vw, 180px); font-weight: 700; line-height: 1; margin: 0; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 1080px) {
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
  .integ-grid { grid-template-columns: repeat(4, 1fr); }
  .api-grid { grid-template-columns: 1fr 1fr; }
  .calc { grid-column: 1 / -1; }
  .foot-grid { grid-template-columns: 1fr 1fr 1fr; }
  .foot-about { grid-column: 1 / -1; }
}
@media (max-width: 920px) {
  /* backdrop-filter would make the header the containing block of the fixed menu */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .burger { display: flex; }
  .main-nav { position: fixed; inset: 74px 0 0 0; background: #fff; flex-direction: column; align-items: stretch; padding: 20px; gap: 18px; overflow-y: auto; transform: translateX(100%); transition: transform .25s; }
  .main-nav.open { transform: none; }
  .main-nav ul { flex-direction: column; }
  .main-nav li > a, .drop-btn { width: 100%; padding: 14px; font-size: 17px; justify-content: space-between; }
  .drop { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: 0; padding: 0 0 0 12px; display: none; min-width: 0; }
  .has-drop.open .drop { display: block; transform: none; }
  .has-drop:hover .drop { transform: none; }
  .nav-cta { flex-direction: column; }
  .nav-cta .btn { padding: 15px; }
  .showcase-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .showcase.flip .showcase-text { order: 0; }
  .faq-head { position: static; }
  .plans { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .plan.popular { transform: none; }
  .post-grid { grid-template-columns: 1fr 1fr; }
  .article-layout { grid-template-columns: 1fr; gap: 30px; }
  .article-aside { position: static; order: 2; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .section { padding: 70px 0; }
  .feature-grid, .post-grid, .api-grid { grid-template-columns: 1fr; }
  .integ-grid { grid-template-columns: repeat(3, 1fr); }
  .f-row { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .hero { padding-top: 46px; }
  .hero-cta .btn { width: 100%; }
  .t-card { width: 290px; }
  .timeline::before { left: 6px; }
  .timeline li { grid-template-columns: 1fr; gap: 10px; padding-left: 30px; }
  .timeline li::before { left: 0; }
  .tl-date { text-align: left; padding: 0; }
  .tl-card { margin-left: 0; }
  .form-card { padding: 24px; }
  .prose { font-size: 17px; }
  .cta-card { padding: 50px 22px; }
}

/* HTML sitemap */
.html-sitemap h2 { font-size: 22px; margin-top: 30px; }
.html-sitemap ul { columns: 2; gap: 30px; padding-left: 1.1em; }
.html-sitemap li { margin: 6px 0; break-inside: avoid; }
@media (max-width: 640px) { .html-sitemap ul { columns: 1; } }
