@font-face { font-family: "Manrope"; src: url("manrope.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }

:root {
  --bg: #fbfaff; --bg-2: #f3f1fd; --surface: #ffffff; --surface-2: #f1effb; --text: #16161d; --muted: #5d5e6c;
  --primary: #4b4fe0; --primary-2: #8b3df5; --accent: #ec4899; --green: #16a34a;
  --border: #e6e3f2; --on-primary: #fff; --ring: rgba(75, 79, 224, .35);
  --shadow: 0 1px 2px rgba(20, 20, 50, .04), 0 12px 40px -12px rgba(40, 40, 120, .18);
  --phone: #16161d; --glow-a: rgba(91, 95, 240, .28); --glow-b: rgba(236, 72, 153, .18);
  --radius: 24px; --header-h: 64px;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #0d0e13; --bg-2: #13141b; --surface: #17181f; --surface-2: #20212a; --text: #ecebf3; --muted: #a3a3b4;
  --primary: #a5a7ff; --primary-2: #b98cff; --accent: #f472b6; --green: #4ade80;
  --border: #2a2b35; --on-primary: #10126b; --ring: rgba(165, 167, 255, .4);
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 16px 48px -16px rgba(0, 0, 0, .6);
  --phone: #000; --glow-a: rgba(91, 95, 240, .32); --glow-b: rgba(236, 72, 153, .16);
  color-scheme: dark;
}
/* JS o'chiq bo'lsa ham tizim mavzusiga moslashadi */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --bg: #0d0e13; --bg-2: #13141b; --surface: #17181f; --surface-2: #20212a; --text: #ecebf3; --muted: #a3a3b4;
    --primary: #a5a7ff; --primary-2: #b98cff; --accent: #f472b6; --green: #4ade80; --border: #2a2b35; --on-primary: #10126b;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 16px 48px -16px rgba(0, 0, 0, .6); --phone: #000;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden; }
html:lang(ja) body { font-family: "Manrope", "Hiragino Sans", "Noto Sans JP", system-ui, sans-serif; }
html:lang(ko) body { font-family: "Manrope", "Apple SD Gothic Neo", "Noto Sans KR", system-ui, sans-serif; }
html:lang(ar) body { font-family: system-ui, "Noto Sans Arabic", "Segoe UI", sans-serif; }
html:lang(hi) body { font-family: "Manrope", "Noto Sans Devanagari", system-ui, sans-serif; }
img { max-width: 100%; display: block; }
a { color: var(--primary); }
:focus-visible { outline: 3px solid var(--ring); outline-offset: 3px; border-radius: 8px; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 800px; }
.skip { position: absolute; inset-inline-start: -999px; top: 8px; z-index: 100; background: var(--surface); padding: 8px 14px; border-radius: 10px; }
.skip:focus { inset-inline-start: 8px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: color-mix(in srgb, var(--bg) 80%, transparent); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-bottom-color: var(--border); }
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 10px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -.01em; color: var(--text); text-decoration: none; margin-inline-end: auto; }
.brand img { width: 34px; height: 34px; border-radius: 10px; }
.nav-links { display: flex; gap: 4px; }
.nav-links a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 999px; }
.nav-links a:hover { color: var(--text); background: var(--surface-2); }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--border);
  background: var(--surface); color: var(--text); cursor: pointer; padding: 0; font: inherit; flex: none; }
.icon-btn:hover { background: var(--surface-2); }
.icon-btn svg { width: 20px; height: 20px; }
.theme-toggle .moon { display: none; }
:root[data-theme="dark"] .theme-toggle .sun { display: none; }
:root[data-theme="dark"] .theme-toggle .moon { display: block; }

.lang { position: relative; }
.lang summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface); cursor: pointer; font-weight: 700; font-size: 14px; text-transform: uppercase; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary svg { width: 18px; height: 18px; }
.lang ul { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); margin: 0; padding: 6px; list-style: none; min-width: 190px;
  max-height: 70vh; overflow: auto; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow); z-index: 60; }
.lang li a { display: block; padding: 8px 12px; border-radius: 10px; color: var(--text); text-decoration: none; font-size: 15px; }
.lang li a:hover { background: var(--surface-2); }
.lang li a[aria-current="page"] { background: var(--primary); color: var(--on-primary); font-weight: 700; }
.header-cta { white-space: nowrap; }
@media (max-width: 860px) { .site-header .nav-links { display: none; } }
@media (max-width: 520px) { .site-header .header-cta { display: none; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border-radius: 999px;
  font-weight: 700; font-size: 16px; text-decoration: none; border: 0; cursor: pointer; transition: transform .15s; font-family: inherit; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(100deg, #5b5ff0, #8b3df5); color: #fff; box-shadow: 0 10px 30px -8px rgba(91, 95, 240, .6); }
.btn-small { min-height: 40px; padding: 8px 16px; font-size: 14px; }
.play-btn { display: inline-flex; align-items: center; gap: 12px; min-height: 60px; padding: 10px 26px 10px 20px; border-radius: 18px;
  background: var(--text); color: var(--bg); text-decoration: none; box-shadow: var(--shadow); transition: transform .15s; }
.play-btn:hover { transform: translateY(-2px); }
.play-btn svg { width: 28px; height: 28px; flex: none; }
.play-btn span { display: flex; flex-direction: column; line-height: 1.15; text-align: start; }
.play-btn small { font-size: 12px; opacity: .8; font-weight: 600; }
.play-btn b { font-size: 19px; letter-spacing: -.01em; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 48px 0 72px; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: -120px 0 auto; height: 760px; z-index: -1; pointer-events: none;
  background: radial-gradient(38% 42% at 72% 38%, var(--glow-a), transparent 70%), radial-gradient(30% 36% at 30% 30%, var(--glow-b), transparent 70%); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: 999px; background: var(--surface);
  border: 1px solid var(--border); font-size: 14px; font-weight: 700; color: var(--muted); margin-bottom: 20px; }
.eyebrow i { font-style: normal; display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 999px; background: var(--surface-2); }
.hero h1 { font-size: clamp(40px, 6.2vw, 74px); line-height: 1.03; letter-spacing: -.035em; margin: 0 0 20px; font-weight: 800; }
.grad { background: linear-gradient(90deg, var(--primary), var(--primary-2) 50%, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 560px; margin: 0 0 32px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.hero-note { font-size: 14px; color: var(--muted); font-weight: 600; }
.trust { display: flex; flex-wrap: wrap; gap: 10px; margin: 32px 0 0; padding: 0; list-style: none; }
.trust li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--surface);
  border: 1px solid var(--border); font-size: 14px; font-weight: 700; }
.trust li svg { width: 16px; height: 16px; color: var(--green); }
.hero-visual { position: relative; display: flex; justify-content: center; padding: 20px 0; }
.chip { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 18px; background: var(--surface);
  border: 1px solid var(--border); box-shadow: var(--shadow); font-weight: 800; font-size: 15px; white-space: nowrap; z-index: 2; text-align: start;
  animation: float 6s ease-in-out infinite; }
.chip i { font-style: normal; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--surface-2); font-size: 19px; }
.chip small { display: block; font-size: 12px; color: var(--muted); font-weight: 600; }
.chip-1 { top: 16%; inset-inline-start: -2%; }
.chip-2 { bottom: 18%; inset-inline-end: -4%; animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-10px); } }
@media (max-width: 960px) {
  .hero { padding-top: 24px; }
  .hero .wrap { grid-template-columns: 1fr; text-align: center; gap: 16px; }
  .hero .lead { margin-inline: auto; }
  .hero-actions, .trust { justify-content: center; }
  .chip-1 { inset-inline-start: max(0px, calc(50% - 230px)); } .chip-2 { inset-inline-end: max(0px, calc(50% - 230px)); }
}
@media (max-width: 420px) { .chip { font-size: 13px; padding: 8px 12px 8px 8px; } .chip i { width: 32px; height: 32px; font-size: 16px; } }

/* ---------- Phone mockup ---------- */
.phone { position: relative; width: min(300px, 70vw); aspect-ratio: 1080 / 2220; border-radius: 44px; padding: 10px; background: var(--phone);
  box-shadow: 0 0 0 1.5px color-mix(in srgb, var(--text) 16%, transparent), 0 40px 80px -24px rgba(30, 30, 90, .45); flex: none; }
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 34px; background: var(--surface-2); }
.phone.sm { width: min(240px, 62vw); border-radius: 36px; padding: 8px; }
.phone.sm img { border-radius: 28px; }
.shot-dark { display: none !important; }
:root[data-theme="dark"] .shot-light { display: none !important; }
:root[data-theme="dark"] .shot-dark { display: block !important; }
@media (prefers-color-scheme: dark) { :root:not([data-theme]) .shot-light { display: none !important; } :root:not([data-theme]) .shot-dark { display: block !important; } }

/* ---------- Sections ---------- */
main > section { padding: 80px 0; }
.alt { background: var(--bg-2); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.kicker { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); margin-bottom: 10px; }
h2 { font-size: clamp(30px, 4.4vw, 48px); line-height: 1.1; letter-spacing: -.03em; margin: 0 0 14px; font-weight: 800; }
.section-head p { color: var(--muted); font-size: 18px; margin: 0; }

.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 32px 0; }
.showcase.flip .showcase-media { order: 2; }
.showcase-media { display: flex; justify-content: center; position: relative; }
.showcase-media::before { content: ""; position: absolute; width: 80%; aspect-ratio: 1; border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, var(--glow-a), transparent); }
.showcase h3 { font-size: clamp(26px, 3vw, 38px); line-height: 1.15; letter-spacing: -.025em; margin: 0 0 14px; }
.showcase p { color: var(--muted); font-size: 17px; margin: 0 0 22px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.checks li::before { content: ""; flex: none; width: 24px; height: 24px; margin-top: 1px; border-radius: 8px;
  background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/16px no-repeat; }
:root[data-theme="dark"] .checks li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310126b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
@media (max-width: 860px) {
  .showcase { grid-template-columns: 1fr; gap: 28px; text-align: center; padding: 24px 0; }
  .showcase.flip .showcase-media { order: 0; }
  .checks { justify-items: center; text-align: start; }
}

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card .ico { font-size: 26px; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; background: var(--surface-2); margin-bottom: 14px; }
.card h3 { margin: 0 0 6px; font-size: 18px; letter-spacing: -.01em; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- Gallery ---------- */
.gallery { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 20px 28px; margin: 0;
  list-style: none; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.gallery::-webkit-scrollbar { display: none; }
@media (min-width: 1200px) { .gallery { padding-inline: calc((100vw - 1120px) / 2); scroll-padding-inline: calc((100vw - 1120px) / 2); } }
.gallery li { scroll-snap-align: center; flex: none; }
.gallery figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.gallery figcaption { font-weight: 700; text-align: center; max-width: 220px; font-size: 15px; }
.gallery-nav { display: flex; justify-content: center; gap: 10px; }
@media (hover: none) { .gallery-nav { display: none; } }
[dir="rtl"] .gallery-nav svg { transform: scaleX(-1); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.steps li { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px 24px; }
.steps li::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px;
  background: linear-gradient(135deg, #5b5ff0, #8b3df5); color: #fff; font-weight: 800; font-size: 20px; margin-bottom: 16px; }
.steps h3 { margin: 0 0 6px; font-size: 19px; }
.steps p { margin: 0; color: var(--muted); }

/* ---------- Privacy ---------- */
.privacy-card { display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: center; background: var(--surface); border: 1px solid var(--border);
  border-radius: 32px; padding: 40px; }
.privacy-card .lock { width: 104px; height: 104px; border-radius: 30px; display: grid; place-items: center; font-size: 48px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 20%, transparent), color-mix(in srgb, var(--accent) 16%, transparent)); }
.privacy-card h2 { font-size: clamp(26px, 3.4vw, 38px); }
.privacy-card p { color: var(--muted); margin: 0 0 18px; font-size: 17px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.pills li { padding: 6px 14px; border-radius: 999px; background: var(--surface-2); font-weight: 700; font-size: 14px; }
@media (max-width: 700px) { .privacy-card { grid-template-columns: 1fr; text-align: center; padding: 28px 22px; gap: 20px; } .privacy-card .lock { margin: 0 auto; } .pills { justify-content: center; } }

/* ---------- Pro ---------- */
.pro { border-radius: 36px; padding: 48px 40px; color: #fff; position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(120deg, #4b4fe0, #7c3aed 55%, #db2777); }
.pro::after { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; inset-inline-end: -140px; top: -160px; background: rgba(255, 255, 255, .12); z-index: -1; }
.pro .kicker { color: rgba(255, 255, 255, .85); }
.pro h2 { color: #fff; }
.pro > p { opacity: .92; font-size: 18px; margin: 0 0 24px; max-width: 580px; }
.pro ul { list-style: none; padding: 0; margin: 0 0 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px 24px; }
.pro li { display: flex; gap: 10px; font-weight: 600; }
.pro li::before { content: "✓"; font-weight: 800; }
.pro .fine { font-size: 14px; opacity: .85; margin: 18px 0 0; }
.pro .play-btn { background: #fff; color: #16161d; }
@media (max-width: 600px) { .pro { padding: 36px 22px; border-radius: 28px; } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 0 22px; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; padding-inline-end: 36px; position: relative; font-weight: 700; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; inset-inline-end: 0; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 500; color: var(--muted); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0 0 20px; color: var(--muted); }

/* ---------- Final CTA ---------- */
.final { text-align: center; }
.final .icon-big { width: 88px; height: 88px; border-radius: 26px; margin: 0 auto 24px; box-shadow: 0 20px 40px -12px rgba(91, 95, 240, .55); }
.final p { color: var(--muted); font-size: 18px; max-width: 520px; margin: 0 auto 28px; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--border); padding: 40px 0 48px; color: var(--muted); font-size: 14px; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 2fr; gap: 32px; }
@media (max-width: 760px) { .foot { grid-template-columns: 1fr; gap: 24px; } }
.foot h3 { color: var(--text); margin: 0 0 10px; font-size: 14px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--text); text-decoration: underline; }
.foot .langs-list { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.foot .brand { margin-bottom: 10px; }
.foot p { margin: 0 0 6px; }
.foot .social { display: flex; gap: 8px; margin: 12px 0; }
.foot .social .icon-btn { color: var(--text); text-decoration: none; }
.foot .social svg { width: 18px; height: 18px; }

/* ---------- Language suggestion ---------- */
.lang-suggest { position: fixed; inset-inline: 16px; bottom: 16px; z-index: 70; max-width: 440px; margin-inline-start: auto; display: flex; align-items: center; gap: 10px;
  padding: 10px 10px 10px 18px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); font-weight: 600; font-size: 15px; }
.lang-suggest[hidden] { display: none; }
.lang-suggest span { flex: 1; }
.lang-suggest .icon-btn { width: 36px; height: 36px; border: 0; }

/* ---------- Guide ---------- */
.guide-hero { padding: 40px 0 8px; }
.guide-hero h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.05; letter-spacing: -.03em; margin: 10px 0 14px; }
.guide-hero p { color: var(--muted); font-size: 18px; margin: 0; max-width: 680px; }
.crumbs { font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.guide-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 56px; padding: 32px 0 72px; align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 20px); font-size: 14px; }
.toc h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 10px; }
.toc ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; }
.toc a { display: block; padding: 6px 10px; border-radius: 10px; color: var(--muted); text-decoration: none; font-weight: 600; }
.toc a:hover, .toc a.active { background: var(--surface-2); color: var(--text); }
@media (max-width: 900px) { .guide-layout { grid-template-columns: 1fr; gap: 24px; } .toc { position: static; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 18px; } }
.article > section { padding: 0 0 40px; margin-bottom: 40px; border-bottom: 1px solid var(--border); }
.article > section:last-child { border-bottom: 0; margin-bottom: 0; }
.article h2 { font-size: clamp(24px, 3vw, 32px); display: flex; gap: 14px; align-items: center; }
.article h2 .n { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--surface-2); font-size: 22px; }
.article h3 { font-size: 19px; margin: 24px 0 6px; }
.article p, .article li { font-size: 17px; }
.article p { margin: 0 0 14px; }
.article ol, .article ul { padding-inline-start: 22px; margin: 0 0 16px; display: grid; gap: 6px; }
.article .split { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 36px; align-items: start; }
@media (max-width: 700px) { .article .split { grid-template-columns: 1fr; } .article .split .phone { margin: 8px auto 0; } }
.tip { background: var(--surface-2); border-radius: 18px; padding: 16px 20px; margin: 16px 0; border-inline-start: 4px solid var(--primary); }
.tip p:last-child { margin: 0; }
.badge-pro { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .04em; padding: 2px 8px; border-radius: 999px; vertical-align: middle;
  background: linear-gradient(90deg, #5b5ff0, #8b3df5); color: #fff; margin-inline-start: 4px; }
.table-scroll { overflow-x: auto; }
.article table { width: 100%; border-collapse: collapse; margin: 8px 0 16px; font-size: 16px; }
.article th, .article td { text-align: start; padding: 10px 12px; border-bottom: 1px solid var(--border); }
.article thead th { color: var(--muted); font-weight: 700; font-size: 14px; }
.guide-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; background: var(--surface); border: 1px solid var(--border);
  border-radius: 28px; padding: 28px 32px; }
.guide-cta h2 { font-size: 26px; margin: 0 0 4px; }
.guide-cta p { margin: 0; color: var(--muted); }

/* ---------- Blog ---------- */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.read-progress { position: fixed; inset-inline: 0; top: 0; height: 3px; z-index: 80; pointer-events: none; }
.read-progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--primary), var(--primary-2), var(--accent)); }
[dir="rtl"] .read-progress span { transform-origin: 100% 50%; }
.post-hero { padding: 40px 0 8px; max-width: 820px; }
.post-hero h1 { font-size: clamp(32px, 5vw, 52px); line-height: 1.08; letter-spacing: -.03em; margin: 12px 0 14px; text-wrap: balance; }
.post-lead { color: var(--muted); font-size: clamp(18px, 2vw, 20px); margin: 0 0 18px; max-width: 720px; }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; font-size: 14px; font-weight: 600; color: var(--muted); }
.post-meta > span { background: var(--surface-2); border-radius: 999px; padding: 6px 12px; }
.facts { margin: 28px 0 0; }
.facts ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.facts li { background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 20px 22px; display: grid; gap: 6px; align-content: start; }
.facts b { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.1; letter-spacing: -.02em;
  background: linear-gradient(90deg, var(--primary), var(--primary-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.facts span { color: var(--muted); font-size: 15px; line-height: 1.45; }
@media (max-width: 760px) { .facts ul { grid-template-columns: 1fr; gap: 10px; } .facts li { padding: 14px 18px; gap: 2px; } .facts b { font-size: 26px; } .facts span { font-size: 14px; } }
.post-layout { padding-top: 40px; }
.post > section { scroll-margin-top: calc(var(--header-h) + 16px); }
.post h2 { display: block; letter-spacing: -.02em; line-height: 1.2; margin: 0 0 14px; }
.post p, .post li, .post blockquote, .post aside { max-width: 70ch; }
.post p, .post li { line-height: 1.75; }
.post a { text-underline-offset: 3px; }
sup.ref { font-size: 12px; line-height: 1; margin-inline-start: 3px; vertical-align: 5px; }
sup.ref a { display: inline-block; min-width: 18px; padding: 2px 6px; border-radius: 999px; background: var(--surface-2); color: var(--primary); border: 1px solid var(--border);
  text-decoration: none; font-weight: 800; text-align: center; }
sup.ref a:hover { background: var(--primary); color: var(--on-primary); }
.post blockquote { margin: 18px 0; padding: 4px 0 4px 20px; border-inline-start: 4px solid var(--primary-2); font-size: 19px; font-style: italic; }
[dir="rtl"] .post blockquote { padding: 4px 20px 4px 0; }
.post aside.tip, .post aside.note, .post aside.myth { display: block; border-radius: 18px; padding: 16px 20px; margin: 18px 0; font-size: 16px; line-height: 1.65; }
.post aside > b:first-child { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.post aside.tip { background: var(--surface-2); border-inline-start: 4px solid var(--green); }
.post aside.tip > b:first-child { color: var(--green); }
.post aside.note { background: linear-gradient(135deg, rgba(91, 95, 240, .10), rgba(139, 61, 245, .08)); border: 1px solid var(--border); }
.post aside.note > b:first-child { color: var(--primary); }
.post aside.myth { background: var(--surface); border: 1px dashed var(--border); }
.post aside.myth > b { color: var(--accent); }
.post aside.myth > b ~ b { color: var(--green); display: block; margin-top: 10px; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.post .faq { margin: 0; max-width: none; }
.sources ol { padding-inline-start: 22px; font-size: 15px; display: grid; gap: 10px; }
.sources li { font-size: 15px; line-height: 1.55; color: var(--muted); border-radius: 12px; padding: 4px 8px; margin-inline-start: -8px; transition: background .4s; overflow-wrap: anywhere; }
.sources li a { font-weight: 600; }
.sources li:target { background: var(--surface-2); color: var(--text); }
.related { border-bottom: 0 !important; padding-top: 48px; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.blog-grid { padding: 32px 0 80px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.blog-grid .post-card:first-child { grid-column: span 2; padding: 32px; background: linear-gradient(135deg, rgba(91, 95, 240, .12), rgba(236, 72, 153, .08)), var(--surface); }
.blog-grid .post-card:first-child h3 { font-size: clamp(24px, 2.6vw, 30px); letter-spacing: -.02em; }
.blog-grid .post-card:first-child p { font-size: 17px; max-width: 60ch; }
@media (max-width: 960px) { .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .blog-grid { grid-template-columns: 1fr; } .blog-grid .post-card:first-child { grid-column: auto; padding: 24px; } }
.post-card { display: flex; flex-direction: column; gap: 8px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px;
  color: var(--text); text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.post-card .ico { font-size: 26px; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; background: var(--surface-2); margin-bottom: 6px; }
.post-card h3 { margin: 0; font-size: 20px; line-height: 1.25; letter-spacing: -.01em; }
.post-card p { margin: 0; color: var(--muted); font-size: 15px; flex: 1; }
.post-card-foot { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; font-weight: 700; color: var(--muted); padding-top: 8px; }
.post-card .more { color: var(--primary); }
.related .post-card h3 { font-size: 18px; }
@media (prefers-reduced-motion: reduce) { .post-card { transition: none; } }

.from-blog-more { text-align: center; margin: 28px 0 0; }
.btn-ghost { border: 1px solid var(--border); background: var(--surface); color: var(--text); text-decoration: none; font-weight: 700; }
.btn-ghost:hover { border-color: var(--primary); }

/* ---------- Legal docs (privacy / terms) ---------- */
header.nav { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; }
header.nav .nav-links { display: flex; }
.doc { padding: 24px 0 64px; }
.doc h1 { font-size: clamp(32px, 5vw, 44px); letter-spacing: -.02em; margin: 16px 0 4px; }
.doc .updated { color: var(--muted); margin: 0 0 32px; }
.doc h2 { font-size: 22px; margin: 36px 0 8px; letter-spacing: -.01em; }
.doc h3 { font-size: 17px; margin: 20px 0 4px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 12px 0; display: block; overflow-x: auto; }
.doc th, .doc td { text-align: start; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
.doc th { background: var(--surface-2); }
.small { font-size: 14px; color: var(--muted); }
.callout { background: var(--surface-2); border-radius: 18px; padding: 16px 20px; margin: 16px 0; }
.langs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; }
.langs a { font-size: 13px; padding: 4px 10px; border: 1px solid var(--border); border-radius: 999px; text-decoration: none; color: var(--muted); }
.langs a[aria-current="page"] { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .chip { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .play-btn, .card { transition: none; }
}
