:root {
  --ink: #0a1220;
  --ink-2: #111c2e;
  --ink-3: #1b2a42;
  --blue: #1f7fd6;
  --blue-600: #1668b3;
  --blue-50: #eaf3fc;
  --magenta: #c8106e;
  --magenta-50: #fbe9f2;
  --bg: #f6f8fb;
  --surface: #ffffff;
  --border: #e2e7ef;
  --border-strong: #cdd5e1;
  --text: #0f1a2b;
  --muted: #566278;
  --on-dark: #e8eef7;
  --on-dark-muted: #9aa8bd;
  --ok: #138a5e;
  --warn: #b26b00;
  --bad: #c0362c;
  --radius: 10px;
  --radius-lg: 18px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --shadow: 0 1px 2px rgba(15, 26, 43, .04), 0 8px 24px rgba(15, 26, 43, .06);
}
html[lang="ar"] { --font: "IBM Plex Sans Arabic", "Plus Jakarta Sans", system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.65; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 700; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { letter-spacing: 0; line-height: 1.4; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.6) blur(12px); -webkit-backdrop-filter: saturate(1.6) blur(12px); border-bottom: 1px solid var(--border); }
.nav { display: flex; align-items: center; gap: 24px; height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; flex-shrink: 0; }
.brand:hover { text-decoration: none; }
.brand img { height: 34px; width: auto; }
.brand small { display: block; font-family: var(--mono); font-size: 10.5px; font-weight: 500; color: var(--muted); letter-spacing: .04em; line-height: 1.2; }
.nav-links { display: flex; gap: 4px; margin-inline-start: auto; list-style: none; padding: 0; margin-block: 0; }
.nav-links a { display: block; white-space: nowrap; padding: 8px 11px; border-radius: 8px; color: var(--text); font-size: 15px; font-weight: 500; }
.nav-links a:hover { background: var(--bg); text-decoration: none; }
.nav-links a[aria-current="page"] { color: var(--blue-600); background: var(--blue-50); }
.nav-tools { display: flex; align-items: center; gap: 10px; }
.lang { display: flex; border: 1px solid var(--border-strong); border-radius: 8px; overflow: hidden; }
.lang a { padding: 5px 9px; font-size: 13px; font-weight: 600; color: var(--muted); font-family: var(--mono); }
.lang a:hover { text-decoration: none; background: var(--bg); }
.lang a[aria-current="true"] { background: var(--ink); color: #fff; }
.menu-btn { display: none; background: none; border: 1px solid var(--border-strong); border-radius: 8px; width: 42px; height: 40px; font-size: 22px; color: var(--text); cursor: pointer; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 10px; font-weight: 600; font-size: 15.5px; border: 1px solid transparent; cursor: pointer; font-family: inherit; transition: background .15s, border-color .15s, transform .15s; white-space: nowrap; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-600); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { background: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .28); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .08); }
.btn-sm { padding: 8px 14px; font-size: 14px; }
html[dir="rtl"] .ti-arrow-right, html[dir="rtl"] .ti-arrow-up-right { transform: scaleX(-1); }

/* sections */
section { padding-block: 92px; }
.section-white { background: var(--surface); }
.section-dark { background: var(--ink); color: var(--on-dark); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--magenta); margin-bottom: 14px; letter-spacing: .02em; }
html[lang="ar"] .eyebrow { font-family: var(--font); font-size: 14px; }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.section-dark .eyebrow { color: #ff6fb1; }
.lead { font-size: 1.15rem; color: var(--muted); }
.section-dark .lead, .section-dark p { color: var(--on-dark-muted); }

/* hero */
.hero { position: relative; background: var(--ink); color: var(--on-dark); padding-block: 88px 96px; overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%); }
.hero::after { content: ""; position: absolute; z-index: -1; width: 720px; height: 720px; inset-inline-end: -200px; top: -260px; background: radial-gradient(circle, rgba(31, 127, 214, .35), transparent 62%); }
.hero h1 { color: #fff; max-width: 15ch; }
.hero.hero-sub h1 { max-width: 20ch; font-size: clamp(2rem, 4vw, 3.1rem); }
.hero .lead { color: var(--on-dark-muted); max-width: 56ch; font-size: 1.2rem; }
.hero .eyebrow { color: #ff6fb1; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.hero-stats { display: flex; gap: 36px; flex-wrap: wrap; margin-top: 48px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .1); }
.hero-stats b { display: block; color: #fff; font-size: 1.7rem; letter-spacing: -.02em; }
.hero-stats span { font-size: 14px; color: var(--on-dark-muted); }
.hero-visual { position: relative; }

/* scorecard */
.scorecard { background: #fff; color: var(--text); border-radius: var(--radius-lg); padding: 22px 22px 18px; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); border: 1px solid rgba(255, 255, 255, .6); }
.scorecard-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.scorecard-head strong { font-size: 15px; display: block; }
.scorecard-head small { color: var(--muted); font-size: 12.5px; font-family: var(--mono); }
.overall { text-align: center; background: var(--ink); color: #fff; border-radius: 12px; padding: 8px 12px; min-width: 64px; }
.overall b { font-size: 1.6rem; display: block; line-height: 1.1; }
.overall span { font-size: 11px; color: var(--on-dark-muted); }
.score-row { display: grid; grid-template-columns: minmax(0, 1fr) 110px 34px; gap: 12px; align-items: center; padding: 9px 0; border-top: 1px solid var(--border); font-size: 14px; }
.bar { height: 7px; border-radius: 99px; background: #eef1f6; overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 99px; }
.grade { font-family: var(--mono); font-weight: 600; text-align: end; font-size: 14px; }
.g-ok { color: var(--ok); } .b-ok { background: var(--ok); }
.g-warn { color: var(--warn); } .b-warn { background: #e09a1a; }
.g-bad { color: var(--bad); } .b-bad { background: var(--bad); }
.scorecard-foot { margin-top: 10px; font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.float-chip { position: absolute; background: var(--ink-2); color: #fff; border: 1px solid rgba(255, 255, 255, .14); border-radius: 12px; padding: 10px 14px; font-size: 13px; display: flex; gap: 10px; align-items: center; box-shadow: 0 16px 40px rgba(0, 0, 0, .35); }
.float-chip i { color: #ff6fb1; font-size: 20px; }
.float-chip small { display: block; color: var(--on-dark-muted); font-size: 11.5px; }
.chip-a { inset-inline-start: -34px; bottom: -44px; }
.chip-b { inset-inline-end: -18px; top: -26px; }
.hero-orbit { position: absolute; inset: -60px -40px; z-index: -1; opacity: .7; }

/* logos */
.logos { padding-block: 38px; background: var(--surface); border-bottom: 1px solid var(--border); }
.logos p { text-align: center; font-size: 13.5px; color: var(--muted); margin-bottom: 18px; }
.logo-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 36px; }
.logo-row span { font-weight: 700; font-size: 1.12rem; color: #8592a6; letter-spacing: -.01em; white-space: nowrap; }

/* cards */
.grid { display: grid; gap: 20px; }
.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; position: relative; transition: border-color .2s, box-shadow .2s, transform .2s; }
.section-white .card { background: var(--bg); }
a.card { color: inherit; display: block; }
a.card:hover { text-decoration: none; border-color: var(--border-strong); box-shadow: var(--shadow); transform: translateY(-2px); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15.5px; margin: 0; }
.card .icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-600); font-size: 24px; margin-bottom: 18px; }
.card.featured { border: 2px solid var(--blue); }
.card .more { display: inline-flex; gap: 6px; align-items: center; margin-top: 16px; font-weight: 600; font-size: 14.5px; color: var(--blue-600); }
.badge { display: inline-block; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 99px; background: var(--magenta-50); color: var(--magenta); margin-bottom: 14px; }
.section-dark .card { background: var(--ink-2); border-color: rgba(255, 255, 255, .08); }
.section-dark .card p { color: var(--on-dark-muted); }
.section-dark .card .icon { background: rgba(31, 127, 214, .16); color: #6cb6ff; }
.checks { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; font-size: 15px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; color: var(--text); }
.checks li::before { content: ""; flex: 0 0 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231668b3' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/11px no-repeat; }
.section-dark .checks li { color: var(--on-dark); }

/* pains */
.pain { border-inline-start: 3px solid var(--magenta); padding-block: 4px; padding-inline: 20px 0; }
.pain h3 { font-size: 1.12rem; }
.pain p { color: var(--muted); margin: 0; font-size: 15.5px; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: s; position: relative; }
.step { position: relative; padding-top: 58px; }
.step::before { counter-increment: s; content: "0" counter(s); position: absolute; top: 0; inset-inline-start: 0; width: 42px; height: 42px; border-radius: 12px; background: var(--ink); color: #fff; display: grid; place-items: center; font-family: var(--mono); font-weight: 600; font-size: 14px; }
.step::after { content: ""; position: absolute; top: 21px; inset-inline-start: 54px; inset-inline-end: -8px; height: 1px; background: repeating-linear-gradient(90deg, var(--border-strong) 0 6px, transparent 6px 12px); }
.step:last-child::after { display: none; }
.step .tag { font-family: var(--mono); font-size: 12.5px; color: var(--magenta); }
html[lang="ar"] .step .tag { font-family: var(--font); }
.step h3 { margin: 4px 0 6px; font-size: 1.1rem; }
.step p { color: var(--muted); font-size: 15px; margin: 0; }
.section-dark .step::before { background: var(--blue); }
.section-dark .step::after { background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .2) 0 6px, transparent 6px 12px); }

/* split */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.visual-panel { background: var(--ink); border-radius: 24px; padding: 28px; color: var(--on-dark); position: relative; overflow: hidden; }
.visual-panel.light { background: var(--surface); border: 1px solid var(--border); color: var(--text); }

/* deliverables */
.deliv { display: grid; gap: 12px; }
.deliv div { display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 16px 18px; }
.deliv i { font-size: 22px; color: var(--magenta); margin-top: 2px; }
.deliv b { display: block; font-size: 15.5px; }
.deliv span { color: var(--muted); font-size: 14.5px; }

/* finding */
.finding { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; font-size: 14.5px; }
.finding-head { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; flex-wrap: wrap; }
.sev { font-family: var(--mono); font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 6px; background: #fdecea; color: var(--bad); }
.finding code, .code { font-family: var(--mono); font-size: 13px; background: var(--bg); border: 1px solid var(--border); border-radius: 6px; padding: 1px 6px; }
.finding dl { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 8px 14px; margin: 12px 0 0; }
.finding dt { color: var(--muted); }
.finding dd { margin: 0; }

/* code window */
.codewin { background: #0d1626; border-radius: 16px; border: 1px solid rgba(255, 255, 255, .08); overflow: hidden; direction: ltr; text-align: left; }
.codewin-bar { display: flex; gap: 6px; padding: 12px 14px; border-bottom: 1px solid rgba(255, 255, 255, .06); align-items: center; }
.codewin-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2b3a52; display: block; }
.codewin-bar span { margin-inline-start: 10px; font-family: var(--mono); font-size: 12px; color: var(--on-dark-muted); }
.codewin pre { margin: 0; padding: 18px; font-family: var(--mono); font-size: 13px; line-height: 1.7; color: #c9d6ea; overflow-x: auto; }
.tk-k { color: #ff7ab8; } .tk-t { color: #6cb6ff; } .tk-s { color: #8fd6a8; } .tk-c { color: #66758d; }

/* packages */
.pkg { display: flex; flex-direction: column; }
.pkg .dur { font-family: var(--mono); font-size: 13px; color: var(--magenta); margin-bottom: 6px; }
html[lang="ar"] .pkg .dur { font-family: var(--font); }
.pkg .checks { margin-bottom: 22px; }
.pkg .btn { margin-top: auto; align-self: flex-start; }

/* faq */
.faq { max-width: 860px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--border); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; font-size: 1.05rem; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); font-size: 22px; line-height: 1; color: var(--blue); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 14px; margin: 0; }

/* cases */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filters button { font: inherit; font-size: 14px; font-weight: 500; padding: 7px 14px; border-radius: 99px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--text); cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.case { display: flex; flex-direction: column; gap: 14px; }
.case-top { display: flex; gap: 14px; align-items: center; }
.mono-mark { width: 52px; height: 52px; flex-shrink: 0; border-radius: 14px; display: grid; place-items: center; font-weight: 700; font-size: 18px; color: #fff; letter-spacing: -.02em; }
.case h3 { margin: 0; font-size: 1.1rem; }
.case .sector { font-size: 13px; color: var(--muted); }
.case p { margin: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.tags span { font-size: 12px; font-family: var(--mono); padding: 3px 8px; border-radius: 6px; background: var(--bg); border: 1px solid var(--border); color: var(--muted); }
.case[hidden] { display: none; }

/* founder */
.founder { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 48px; align-items: center; }
.avatar { aspect-ratio: 1; border-radius: 28px; background: linear-gradient(140deg, var(--blue) 0%, #0d3f73 60%, var(--magenta) 140%); display: grid; place-items: center; color: #fff; font-size: 4rem; font-weight: 700; position: relative; overflow: hidden; }
.avatar svg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .35; }
blockquote { margin: 0 0 22px; font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.45; font-weight: 600; letter-spacing: -.01em; color: #fff; }
.founder-meta { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 22px; }
.founder-meta b { display: block; font-size: 1.5rem; color: #fff; }
.founder-meta span { font-size: 14px; color: var(--on-dark-muted); }

/* cta */
.cta-band { background: linear-gradient(120deg, var(--blue-600), #0b3d70 55%, #5a0e46); color: #fff; border-radius: 28px; padding: 56px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { color: rgba(255, 255, 255, .78); margin: 0; max-width: 56ch; }
.cta-wrap { padding-block: 80px; }

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: start; }
form.contact, form.lab-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; }
.field label em { font-style: normal; color: var(--muted); font-weight: 400; }
input, select, textarea { font: inherit; font-size: 15.5px; color: var(--text); background: var(--bg); border: 1px solid var(--border-strong); border-radius: 10px; padding: 11px 13px; width: 100%; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(31, 127, 214, .18); background: #fff; }
textarea { min-height: 140px; resize: vertical; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.consent input { width: 18px; height: 18px; margin-top: 3px; flex-shrink: 0; }
.hp { position: absolute; inset-inline-start: -9999px; }
.form-status { grid-column: 1 / -1; font-size: 14.5px; border-radius: 10px; padding: 12px 14px; display: none; }
.form-status.ok { display: block; background: #e7f6ef; color: var(--ok); }
.form-status.err { display: block; background: #fdecea; color: var(--bad); }
.field-error { color: var(--bad); font-size: 13px; }
.side-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px; margin-bottom: 16px; }
.side-card h3 { font-size: 1.05rem; }
.next-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; counter-reset: n; }
.next-steps li { display: flex; gap: 12px; font-size: 15px; color: var(--muted); }
.next-steps li::before { counter-increment: n; content: counter(n); flex: 0 0 26px; height: 26px; border-radius: 8px; background: var(--blue-50); color: var(--blue-600); font-weight: 700; font-size: 13px; display: grid; place-items: center; }
.btn-wa { background: #1fa855; color: #fff; }
.btn-wa:hover { background: #178a45; }
.wa-float { position: fixed; inset-inline-end: 20px; bottom: 20px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: #1fa855; color: #fff; display: grid; place-items: center; font-size: 28px; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.wa-float:hover { text-decoration: none; background: #178a45; }

/* quality */
.quality { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 32px; align-items: start; }
.iso { width: 120px; height: 120px; border-radius: 50%; border: 2px solid var(--blue); display: grid; place-items: center; text-align: center; font-family: var(--mono); font-weight: 600; color: var(--blue-600); font-size: 13px; line-height: 1.3; }
.iso b { font-size: 22px; display: block; }

/* footer */
.site-footer { background: var(--ink); color: var(--on-dark-muted); padding-block: 64px 28px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h4 { color: #fff; font-size: 14px; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--on-dark-muted); }
.site-footer a:hover { color: #fff; }
.footer-brand img { height: 36px; width: auto; margin-bottom: 14px; filter: brightness(0) invert(1); opacity: .92; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 48px; padding-top: 22px; font-size: 13.5px; }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a { width: 38px; height: 38px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .14); display: grid; place-items: center; font-size: 19px; }
.socials a:hover { text-decoration: none; background: rgba(255, 255, 255, .06); }

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

/* responsive */
@media (max-width: 1480px) {
  .brand small { display: none; }
  .nav { gap: 16px; }
  .nav-links a { padding: 8px 9px; font-size: 14.5px; }
}
@media (max-width: 1280px) {
  .menu-btn { display: grid; place-items: center; }
  .nav-links { display: none; position: absolute; top: 70px; inset-inline: 0; background: #fff; flex-direction: column; padding: 12px 20px 20px; border-bottom: 1px solid var(--border); box-shadow: var(--shadow); margin: 0; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px; font-size: 16px; }
  .nav-tools { margin-inline-start: auto; }
}
@media (max-width: 1080px) {
  .cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .nav-tools .btn { display: none; }
}
@media (max-width: 960px) {
  .hero-grid, .split, .contact-grid, .founder { grid-template-columns: minmax(0, 1fr); }
  .split.reverse > :first-child { order: 0; }
  .hero-visual { max-width: 520px; margin: 24px auto 0; width: 100%; }
  .cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
  .step::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { grid-template-columns: 1fr; padding: 40px 28px; }
  .founder { gap: 32px; }
  .founder .avatar { max-width: 200px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  section { padding-block: 64px; }
  .hero { padding-block: 56px 72px; }
  .cols-2, .cols-3, .cols-4, .steps { grid-template-columns: minmax(0, 1fr); }
  form.contact, form.lab-form { grid-template-columns: 1fr; padding: 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .chip-a { inset-inline-start: 8px; bottom: -30px; }
  .chip-b { inset-inline-end: 8px; }
  .score-row { grid-template-columns: minmax(0, 1fr) 70px 30px; }
  .quality { grid-template-columns: 1fr; }
  .finding dl { grid-template-columns: 1fr; gap: 2px; }
  .finding dd { margin-bottom: 8px; }
  .brand small { display: none; }
  .card { padding: 22px; }
}

/* hero decoration for pages without a visual */
.hero-deco { position: absolute; z-index: -1; width: 560px; inset-inline-end: -120px; top: 50%; transform: translateY(-50%); opacity: .55; pointer-events: none; }
@media (max-width: 960px) { .hero-deco { width: 380px; inset-inline-end: -160px; opacity: .35; } }
.finding code { overflow-wrap: anywhere; }
#sample .scorecard { box-shadow: var(--shadow); border-color: var(--border); }

/* ---------- motion helpers ---------- */
html { --dir: 1; }
html[dir="rtl"] { --dir: -1; }
html[dir="rtl"] .ti-arrow-left { transform: scaleX(-1); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse-ring { 0% { box-shadow: 0 0 0 0 rgba(31, 127, 214, .55), 0 0 24px rgba(31, 127, 214, .6); } 100% { box-shadow: 0 0 0 16px rgba(31, 127, 214, 0), 0 0 24px rgba(31, 127, 214, .6); } }
@keyframes pop { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }

/* ---------- workflow ---------- */
.workflow { position: relative; overflow: clip; }
.workflow::before { content: ""; position: absolute; width: 900px; height: 900px; inset-inline-start: -380px; top: 10%; background: radial-gradient(circle, rgba(200, 16, 110, .14), transparent 60%); pointer-events: none; }
.wf-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 72px; align-items: start; position: relative; }
.wf-stage { position: sticky; top: 108px; aspect-ratio: 1; border-radius: 32px; background: radial-gradient(circle at 50% 45%, #13233d, var(--ink-2) 70%); border: 1px solid rgba(255, 255, 255, .08); display: grid; place-items: center; overflow: hidden; }
.wf-orbits { position: absolute; inset: 0; width: 100%; height: 100%; }
.wf-orbits g { transform-origin: 200px 200px; transform-box: view-box; }
.wf-orbits .o1 { animation: spin 38s linear infinite; }
.wf-orbits .o2 { animation: spin 52s linear infinite reverse; }
.wf-orbits .o3 { animation: spin 26s linear infinite; }
.wf-ring { position: absolute; width: 74%; height: 74%; transform: rotate(-90deg); }
html[dir="rtl"] .wf-ring { transform: rotate(-90deg) scaleY(-1); }
.wf-ring circle { fill: none; stroke-width: 6; }
.wf-ring-bg { stroke: rgba(255, 255, 255, .07); }
.wf-ring-fg { stroke: url(#wf-grad); stroke-linecap: round; transition: stroke-dashoffset .9s cubic-bezier(.2, .8, .2, 1); filter: drop-shadow(0 0 6px rgba(108, 182, 255, .55)); }
.wf-center { position: relative; text-align: center; display: grid; justify-items: center; gap: 6px; max-width: 60%; }
.wf-center.swap > * { animation: rise .55s cubic-bezier(.2, .8, .2, 1) both; }
.wf-center.swap > :nth-child(2) { animation-delay: .04s; } .wf-center.swap > :nth-child(3) { animation-delay: .08s; }
.wf-center.swap > :nth-child(4) { animation-delay: .12s; } .wf-center.swap > :nth-child(5) { animation-delay: .16s; }
.wf-stage-label { font-family: var(--mono); font-size: 12px; color: var(--on-dark-muted); letter-spacing: .08em; }
html[lang="ar"] .wf-stage-label { font-family: var(--font); letter-spacing: 0; }
.wf-num { font-family: var(--mono); font-size: clamp(3rem, 6vw, 4.6rem); font-weight: 600; color: #fff; line-height: 1; letter-spacing: -.04em; }
.wf-num small { font-size: .32em; color: var(--on-dark-muted); letter-spacing: 0; margin-inline-start: 4px; }
.wf-ico-big { width: 52px; height: 52px; border-radius: 16px; background: rgba(31, 127, 214, .18); color: #6cb6ff; display: grid; place-items: center; font-size: 26px; margin-top: 6px; }
.wf-title { color: #fff; font-size: 1.15rem; line-height: 1.3; }
.wf-dur { font-size: 13px; color: #ff6fb1; font-family: var(--mono); }
html[lang="ar"] .wf-dur { font-family: var(--font); }
.wf-steps { position: relative; list-style: none; margin: 0; padding: 0; padding-inline-start: 56px; }
.wf-rail { position: absolute; inset-inline-start: 17px; top: 20px; bottom: 40px; width: 2px; background: rgba(255, 255, 255, .08); border-radius: 2px; }
.wf-rail i { display: block; width: 100%; height: 0; background: linear-gradient(180deg, #6cb6ff, var(--blue) 60%, var(--magenta)); border-radius: 2px; position: relative; box-shadow: 0 0 14px rgba(108, 182, 255, .55); }
.wf-rail i::after { content: ""; position: absolute; bottom: -5px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255, 111, 177, .35), 0 0 22px 6px rgba(255, 111, 177, .6); }
.wf-step { position: relative; padding-bottom: 40px; opacity: .38; transform: translateX(calc(10px * var(--dir))); transition: opacity .5s ease, transform .5s ease; }
.wf-step.is-active, .wf-step.is-done { opacity: 1; transform: none; }
.wf-step.is-done { opacity: .72; }
.wf-node { position: absolute; inset-inline-start: -56px; top: 18px; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); border: 2px solid rgba(255, 255, 255, .18); color: var(--on-dark-muted); display: grid; place-items: center; font-family: var(--mono); font-size: 12px; font-weight: 600; transition: all .4s ease; z-index: 1; }
.is-done .wf-node { background: var(--blue); border-color: var(--blue); color: #fff; }
.is-active .wf-node { background: var(--blue); border-color: #9fd0ff; color: #fff; animation: pulse-ring 1.6s ease-out infinite; }
.wf-card { background: rgba(17, 28, 46, .7); border: 1px solid rgba(255, 255, 255, .08); border-radius: 20px; padding: 24px; transition: border-color .4s ease, background .4s ease, box-shadow .4s ease; }
.is-active .wf-card { border-color: rgba(108, 182, 255, .45); background: rgba(22, 38, 64, .9); box-shadow: 0 20px 60px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .06); }
.wf-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.wf-ico { width: 34px; height: 34px; border-radius: 10px; background: rgba(31, 127, 214, .16); color: #6cb6ff; display: grid; place-items: center; font-size: 18px; }
.wf-tag { font-family: var(--mono); font-size: 12.5px; color: #ff6fb1; }
html[lang="ar"] .wf-tag { font-family: var(--font); }
.wf-card h3 { font-size: 1.2rem; margin-bottom: 6px; }
.wf-card p { margin: 0; color: var(--on-dark-muted); font-size: 15.5px; }
.wf-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 18px 0 0; }
.wf-meta div { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .06); border-radius: 12px; padding: 10px 12px; }
.wf-meta dt { font-size: 11.5px; color: var(--on-dark-muted); font-family: var(--mono); margin-bottom: 2px; }
html[lang="ar"] .wf-meta dt { font-family: var(--font); }
.wf-meta dd { margin: 0; font-size: 13.5px; color: #fff; line-height: 1.4; }
@media (max-width: 960px) {
  .wf-grid { grid-template-columns: minmax(0, 1fr); }
  .wf-stage { display: none; }
}
@media (max-width: 640px) {
  .wf-meta { grid-template-columns: minmax(0, 1fr); }
  .wf-steps { padding-inline-start: 46px; }
  .wf-node { inset-inline-start: -46px; width: 32px; height: 32px; }
  .wf-rail { inset-inline-start: 15px; }
}

/* ---------- wizard ---------- */
.wizard-section { padding-bottom: 40px; }
.wizard { display: none; }
.js .wizard { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); background: var(--surface); border: 1px solid var(--border); border-radius: 28px; overflow: hidden; box-shadow: 0 30px 80px rgba(15, 26, 43, .1); }
.wz-main { padding: 36px 40px 30px; display: flex; flex-direction: column; min-height: 560px; }
.wz-progress { display: flex; gap: 6px; margin-bottom: 28px; }
.wz-progress span { flex: 1; height: 6px; border-radius: 6px; background: var(--border); overflow: hidden; }
.wz-progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--blue), var(--magenta)); border-radius: 6px; transition: width .6s cubic-bezier(.2, .8, .2, 1); }
html[dir="rtl"] .wz-progress i { background: linear-gradient(-90deg, var(--blue), var(--magenta)); }
.wz-steps { flex: 1; }
.wz-step[hidden] { display: none; }
.wz-step.enter { animation: wz-in .5s cubic-bezier(.2, .8, .2, 1) both; }
.wz-step.enter-back { animation: wz-in-back .5s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes wz-in { from { opacity: 0; transform: translateX(calc(36px * var(--dir))); } }
@keyframes wz-in-back { from { opacity: 0; transform: translateX(calc(-36px * var(--dir))); } }
.wz-count { font-family: var(--mono); font-size: 13px; color: var(--magenta); margin-bottom: 8px; }
html[lang="ar"] .wz-count { font-family: var(--font); }
.wz-q { font-size: clamp(1.35rem, 2.4vw, 1.75rem); margin-bottom: 6px; outline: none; }
.wz-hint { color: var(--muted); margin: 0 0 4px; }
.wz-group { margin-top: 20px; }
.wz-group-label { font-size: 13.5px; font-weight: 600; color: var(--muted); margin-bottom: 10px; }
.wz-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.wz-opt { position: relative; display: flex; align-items: center; gap: 14px; text-align: start; padding: 16px 18px; border-radius: 16px; border: 1.5px solid var(--border-strong); background: var(--bg); color: var(--text); font: inherit; cursor: pointer; transition: border-color .2s, background .2s, transform .2s, box-shadow .2s; }
.wz-opt:hover { border-color: #9ec5ea; transform: translateY(-2px); box-shadow: var(--shadow); }
.wz-opt-ico { width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center; font-size: 22px; background: #fff; color: var(--blue-600); border: 1px solid var(--border); transition: background .2s, color .2s; }
.wz-opt-text { display: grid; gap: 2px; line-height: 1.35; }
.wz-opt-text b { font-size: 15.5px; }
.wz-opt-text small { color: var(--muted); font-size: 13px; }
.wz-check { position: absolute; top: 10px; inset-inline-end: 10px; width: 22px; height: 22px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-size: 13px; opacity: 0; transform: scale(.5); transition: opacity .2s, transform .25s cubic-bezier(.3, 1.6, .5, 1); }
.wz-opt[aria-pressed="true"] { border-color: var(--blue); background: var(--blue-50); box-shadow: 0 0 0 4px rgba(31, 127, 214, .12); }
.wz-opt[aria-pressed="true"] .wz-opt-ico { background: var(--blue); color: #fff; border-color: var(--blue); }
.wz-opt[aria-pressed="true"] .wz-check { opacity: 1; transform: none; }
.wz-options-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.wz-chip { padding: 9px 16px 9px 10px; padding-inline: 10px 16px; border-radius: 99px; gap: 10px; }
.wz-chip .wz-opt-ico { width: 30px; height: 30px; border-radius: 50%; font-size: 16px; }
.wz-chip .wz-opt-text b { font-size: 14.5px; font-weight: 600; }
.wz-chip .wz-check { display: none; }
.wz-error { color: var(--bad); font-size: 14px; min-height: 1.4em; margin: 12px 0 0; }
.wz-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--border); }
.wz-skip { font-size: 14px; color: var(--muted); display: inline-flex; gap: 6px; align-items: center; }
.wz-result .wz-count { color: var(--ok); font-size: 20px; }
.wz-rec-card { display: flex; gap: 16px; align-items: flex-start; margin-top: 18px; padding: 20px; border-radius: 18px; background: linear-gradient(135deg, var(--blue-50), #fff 60%, var(--magenta-50)); border: 1px solid #cfe2f6; animation: pop .5s cubic-bezier(.2, .8, .2, 1) both; }
.wz-rec-ico { width: 46px; height: 46px; flex-shrink: 0; border-radius: 14px; background: var(--ink); color: #ff6fb1; display: grid; place-items: center; font-size: 24px; }
.wz-rec-name { font-size: 1.25rem; display: block; margin-bottom: 4px; }
.wz-rec-desc { margin: 0; color: var(--muted); }
.wz-notes { margin: 14px 0 0; display: grid; gap: 6px; font-size: 14.5px; color: var(--text); }
.wz-notes span { display: flex; gap: 8px; align-items: flex-start; }
.wz-notes i { color: var(--magenta); margin-top: 3px; }
.wz-focus-wrap { margin-top: 18px; }
.wz-focus { display: flex; flex-wrap: wrap; gap: 8px; }
.wz-focus span, .wz-side-chips span { font-size: 13px; padding: 5px 11px; border-radius: 99px; background: var(--bg); border: 1px solid var(--border); animation: pop .35s cubic-bezier(.2, .8, .2, 1) both; }
.wz-result-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.wz-side { position: relative; background: var(--ink); color: var(--on-dark); padding: 32px 30px; overflow: hidden; display: flex; flex-direction: column; gap: 18px; isolation: isolate; }
.wz-side::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 80% 10%, rgba(31, 127, 214, .3), transparent 55%), radial-gradient(circle at 10% 100%, rgba(200, 16, 110, .22), transparent 50%); }
.wz-orbit { position: absolute; width: 520px; inset-inline-end: -200px; top: -140px; opacity: .35; z-index: -1; animation: spin 80s linear infinite; }
.wz-side-title { display: flex; gap: 8px; align-items: center; font-family: var(--mono); font-size: 13px; color: #ff6fb1; }
html[lang="ar"] .wz-side-title { font-family: var(--font); }
.wz-side-title::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #3ddc97; box-shadow: 0 0 0 0 rgba(61, 220, 151, .6); animation: live 1.8s ease-out infinite; margin-inline-start: 2px; }
@keyframes live { to { box-shadow: 0 0 0 10px rgba(61, 220, 151, 0); } }
.wz-ring-wrap { position: relative; width: 180px; height: 180px; margin: 4px auto 0; }
.wz-ring { width: 100%; height: 100%; transform: rotate(-90deg); }
.wz-ring circle { fill: none; stroke-width: 10; }
.wz-ring-bg { stroke: rgba(255, 255, 255, .08); }
.wz-ring-fg { stroke: url(#wz-grad); stroke-linecap: round; transition: stroke-dashoffset .8s cubic-bezier(.2, .8, .2, 1); filter: drop-shadow(0 0 8px rgba(108, 182, 255, .5)); }
.wz-ring-num { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.wz-ring-num b { font-size: 3rem; line-height: 1; color: #fff; font-family: var(--mono); }
.wz-ring-num span { font-size: 13px; color: var(--on-dark-muted); }
.wz-side-chips { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; min-height: 28px; }
.wz-side-chips span { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); color: #fff; font-size: 12.5px; }
.wz-side-rec { margin-top: auto; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: 16px; padding: 16px 18px; }
.wz-side-rec span { display: block; font-size: 12.5px; color: var(--on-dark-muted); margin-bottom: 4px; }
.wz-side-rec strong { display: block; color: #fff; font-size: 1.05rem; line-height: 1.35; }
.wz-side-rec strong.empty { color: var(--on-dark-muted); font-weight: 500; font-size: 14.5px; }
.wz-side-rec small { display: block; color: var(--on-dark-muted); font-size: 13px; margin-top: 4px; }
.wz-side-rec.changed { animation: pop .45s cubic-bezier(.2, .8, .2, 1); }
.diag-note { grid-column: 1 / -1; display: flex; gap: 12px; align-items: flex-start; background: var(--blue-50); border: 1px solid #cfe2f6; border-radius: 14px; padding: 14px 16px; font-size: 14.5px; animation: pop .45s ease both; }
.diag-note[hidden] { display: none; }
.diag-note > i { color: var(--blue-600); font-size: 22px; }
.diag-note pre { margin: 8px 0 0; font-family: inherit; white-space: pre-wrap; color: var(--muted); font-size: 13.5px; }
.flash { animation: flash 1.4s ease; }
@keyframes flash { 0% { box-shadow: 0 0 0 0 rgba(31, 127, 214, .5); } 100% { box-shadow: 0 0 0 18px rgba(31, 127, 214, 0); } }
@media (max-width: 960px) {
  .js .wizard { grid-template-columns: minmax(0, 1fr); }
  .wz-side { order: -1; padding: 22px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 18px; align-items: center; }
  .wz-side-title { grid-column: 1 / -1; }
  .wz-ring-wrap { width: 110px; height: 110px; margin: 0; grid-row: span 2; }
  .wz-ring-num b { font-size: 2rem; }
  .wz-side-chips { justify-content: flex-start; }
  .wz-side-rec { margin-top: 0; }
  .wz-main { min-height: 0; padding: 26px 22px; }
}
@media (max-width: 640px) {
  .wz-options { grid-template-columns: minmax(0, 1fr); }
  .wz-side-chips { display: none; }
  .wz-nav { flex-wrap: wrap; }
  .wz-skip { order: 3; width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .wf-orbits g, .wz-orbit, .is-active .wf-node, .wz-side-title::after { animation: none; }
  .wz-step.enter, .wz-step.enter-back, .wf-center.swap > *, .wz-rec-card, .wz-focus span, .wz-side-chips span, .diag-note, .wz-side-rec.changed { animation: none; }
  .wf-step { transform: none; transition: none; }
}
[id], .wizard { scroll-margin-top: 88px; }

/* ---------- iPucu Lab ---------- */
textarea.mono { font-family: var(--mono); font-size: 13.5px; min-height: 120px; }
.topic-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.topic-chip { padding: 10px 18px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .04); color: #fff; font-weight: 600; font-size: 15px; transition: background .2s, border-color .2s, transform .2s; }
.topic-chip:hover { background: rgba(31, 127, 214, .2); border-color: rgba(108, 182, 255, .5); transform: translateY(-2px); }
.post-card { display: flex; flex-direction: column; gap: 10px; }
.post-card h3 { font-size: 1.15rem; line-height: 1.35; margin: 0; }
.post-card p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card .more { margin-top: auto; }
.post-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.post-meta .badge { margin: 0; }
.post-meta.on-dark { color: var(--on-dark-muted); margin-bottom: 14px; }
.post-meta.on-dark .badge { background: rgba(255, 111, 177, .15); color: #ff8cc4; }
.post-card[hidden] { display: none; }
.post-empty { color: var(--muted); text-align: center; padding: 40px 0; }
.post-hero h1 { max-width: 26ch; }
.crumbs { display: flex; gap: 8px; font-size: 14px; margin-bottom: 18px; color: var(--on-dark-muted); }
.crumbs a { color: var(--on-dark-muted); }
.crumbs a:hover { color: #fff; }
.post-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; font-family: var(--mono); font-size: 13px; color: #6cb6ff; }
.post-body { padding-top: 56px; }
.post-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; align-items: start; }
.toc { position: sticky; top: 100px; }
.toc-inner { border-inline-start: 2px solid var(--border); padding-inline-start: 18px; }
.toc b { display: block; font-size: 13px; color: var(--muted); margin-bottom: 10px; font-family: var(--mono); }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.toc a { color: var(--text); font-size: 14.5px; line-height: 1.4; display: block; }
.toc a:hover { color: var(--blue-600); text-decoration: none; }
.toc a.active { color: var(--blue-600); font-weight: 600; }
.prose { max-width: 760px; font-size: 1.06rem; line-height: 1.8; }
.prose h2 { font-size: 1.6rem; margin: 2.2em 0 .6em; scroll-margin-top: 90px; }
.prose h3 { font-size: 1.2rem; margin: 1.8em 0 .5em; scroll-margin-top: 90px; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.1em; }
.prose li { margin-bottom: .4em; }
.prose blockquote { margin: 1.6em 0; padding: 16px 22px; border-inline-start: 4px solid var(--magenta); background: var(--magenta-50); border-radius: 0 12px 12px 0; font-size: 1.02rem; font-weight: 500; color: var(--text); line-height: 1.6; }
html[dir="rtl"] .prose blockquote { border-radius: 12px 0 0 12px; }
.prose blockquote p { margin: 0; }
.prose :not(pre) > code { font-family: var(--mono); font-size: .86em; background: #eef2f8; border: 1px solid var(--border); border-radius: 6px; padding: 1px 6px; overflow-wrap: anywhere; }
.prose pre { margin: 1.4em 0; border-radius: 14px; overflow: hidden; border: 1px solid #1d2a40; direction: ltr; text-align: left; }
.prose pre code { display: block; padding: 18px 20px; overflow-x: auto; font-family: var(--mono); font-size: 13.5px; line-height: 1.65; background: #0d1626; color: #c9d6ea; }
.prose pre code.hljs { background: #0d1626; }
.prose ul > li.task { list-style: none; position: relative; margin-inline-start: -4px; padding-inline-start: 30px; }
.prose ul > li.task::before { content: ""; position: absolute; inset-inline-start: 0; top: 6px; width: 18px; height: 18px; border-radius: 5px; border: 2px solid var(--border-strong); }
.prose ul > li.task.done::before { background: var(--blue); border-color: var(--blue); }
.table-wrap { overflow-x: auto; margin: 1.4em 0; }
.prose table { border-collapse: collapse; width: 100%; font-size: .95rem; }
.prose th, .prose td { border: 1px solid var(--border); padding: 10px 12px; text-align: start; }
.prose th { background: var(--bg); }
.help-box { position: relative; overflow: hidden; isolation: isolate; margin: 3em 0 2em; padding: 32px; border-radius: 24px; background: linear-gradient(120deg, var(--ink), #0e2a4d 60%, #4a0c3a); color: #fff; display: grid; gap: 20px; }
.help-box h2 { color: #fff; margin: 0 0 6px; font-size: 1.5rem; }
.help-box p { color: rgba(255, 255, 255, .78); margin: 0; }
.help-orbit { position: absolute; width: 420px; inset-inline-end: -120px; top: -80px; opacity: .45; z-index: -1; animation: spin 90s linear infinite; }
.help-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.sources h2 { font-size: 1.1rem; margin-top: 0; }
.sources ol { font-size: .95rem; padding-inline-start: 22px; }
.sources a { overflow-wrap: anywhere; }

/* quiz and check-up cards */
.quiz-card { background: var(--surface); border: 1px solid var(--border); border-radius: 28px; box-shadow: 0 30px 80px rgba(15, 26, 43, .08); padding: 36px 40px; max-width: 900px; margin-inline: auto; }
.quiz-intro { display: grid; justify-items: center; text-align: center; gap: 14px; padding: 18px 0; }
.quiz-badge { width: 84px; height: 84px; border-radius: 26px; display: grid; place-items: center; font-size: 42px; color: #fff; background: linear-gradient(140deg, var(--blue), #0d3f73 60%, var(--magenta)); box-shadow: 0 18px 40px rgba(31, 127, 214, .35); animation: float 4s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-8px); } }
.quiz-updated { color: var(--muted); font-size: 14px; margin: 0; }
.quiz-progress { margin-bottom: 22px; }
.quiz-options { display: grid; gap: 10px; margin-top: 18px; }
.quiz-opt { display: flex; align-items: center; gap: 14px; width: 100%; text-align: start; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--border-strong); background: var(--bg); font: inherit; color: var(--text); cursor: pointer; transition: border-color .2s, background .2s, transform .2s; }
.quiz-opt:hover:not([disabled]) { border-color: #9ec5ea; transform: translateX(calc(3px * var(--dir))); }
.quiz-opt .key { width: 30px; height: 30px; flex-shrink: 0; border-radius: 9px; display: grid; place-items: center; font-family: var(--mono); font-weight: 600; font-size: 13px; background: #fff; border: 1px solid var(--border); }
.quiz-opt[disabled] { cursor: default; }
.quiz-opt.is-correct { border-color: var(--ok); background: #e7f6ef; animation: pop .35s ease; }
.quiz-opt.is-correct .key { background: var(--ok); color: #fff; border-color: var(--ok); }
.quiz-opt.is-wrong { border-color: var(--bad); background: #fdecea; animation: shake .4s ease; }
.quiz-opt.is-wrong .key { background: var(--bad); color: #fff; border-color: var(--bad); }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.quiz-explain { margin-top: 16px; padding: 16px 18px; border-radius: 14px; background: var(--bg); border: 1px solid var(--border); animation: rise .4s ease both; }
.quiz-explain b { display: block; margin-bottom: 4px; }
.quiz-explain b.ok { color: var(--ok); } .quiz-explain b.bad { color: var(--bad); }
.quiz-explain p { margin: 0; color: var(--muted); font-size: 15px; }
.quiz-post { display: inline-flex; margin-top: 8px; font-size: 14px; font-weight: 600; }
.quiz-result, .ck-result { animation: rise .5s ease both; }
.ck-result-grid { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 32px; align-items: center; margin: 18px 0 8px; }
.ck-summary { display: grid; gap: 4px; }
.ck-overall-label { font-size: 13px; color: var(--muted); }
.ck-overall { font-size: 3rem; line-height: 1; font-family: var(--mono); }
.ck-band { font-size: 1.25rem; }
.ck-band-text { color: var(--muted); margin: 0; }
.ck-focus-title { margin: 26px 0 12px; font-size: 1.05rem; }
.quiz-ring { margin: 0; }
.quiz-ring .wz-ring-bg { stroke: var(--border); }
.quiz-ring .wz-ring-num b { color: var(--text); }
.quiz-missed { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 8px; }
.quiz-missed li { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; padding: 10px 14px; border-radius: 12px; background: var(--bg); border: 1px solid var(--border); font-size: 15px; }
.quiz-missed li a { font-size: 14px; }
.quiz-sent-msg { color: var(--ok); font-size: 14px; min-height: 1.3em; margin: 10px 0 0; }
.quiz-more { font-size: 14.5px; color: var(--muted); margin: 14px 0 0; }
.ck-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--border); }
.ck-item p { margin: 0; font-size: 15.5px; }
.ck-item.missing p { color: var(--bad); }
.ck-seg { display: flex; border: 1px solid var(--border-strong); border-radius: 10px; overflow: hidden; }
.ck-seg button { font: inherit; font-size: 13.5px; font-weight: 500; padding: 8px 12px; border: 0; background: var(--surface); color: var(--text); cursor: pointer; white-space: nowrap; transition: background .15s, color .15s; }
.ck-seg button + button { border-inline-start: 1px solid var(--border-strong); }
.ck-seg button:hover { background: var(--bg); }
.ck-seg button[aria-pressed="true"][data-v="2"] { background: var(--ok); color: #fff; }
.ck-seg button[aria-pressed="true"][data-v="1"] { background: #e09a1a; color: #fff; }
.ck-seg button[aria-pressed="true"][data-v="0"] { background: var(--bad); color: #fff; }
.ck-seg button[aria-pressed="true"]:last-child { background: #5b6577; color: #fff; }
.ck-radar svg { width: 480px; max-width: 100%; height: auto; overflow: visible; }
.ck-radar .grid-ring { fill: none; stroke: var(--border); }
.ck-radar .axis { stroke: var(--border); }
.ck-radar .area { fill: rgba(31, 127, 214, .2); stroke: var(--blue); stroke-width: 2; transform-origin: 150px 150px; animation: radar-in .9s cubic-bezier(.2, .8, .2, 1) both; }
.ck-radar .pt { fill: var(--magenta); }
.ck-radar text { font-size: 11.5px; fill: var(--muted); font-family: var(--font); }
@keyframes radar-in { from { transform: scale(0); opacity: 0; } }
.ck-focus { display: grid; gap: 10px; margin-bottom: 24px; }
.ck-focus-item { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--border); background: var(--bg); animation: rise .45s ease both; }
.ck-focus-item b { font-size: 1rem; }
.ck-focus-item .pct { grid-row: span 3; font-family: var(--mono); font-weight: 600; font-size: 1.3rem; color: var(--bad); align-self: center; min-width: 54px; }
.ck-focus-item p { margin: 0; color: var(--muted); font-size: 14.5px; }
.ck-focus-item a { font-size: 14px; font-weight: 600; }
form.ck-send { box-shadow: none; }
@media (max-width: 960px) {
  .post-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .toc { display: none; }
}
@media (max-width: 640px) {
  .quiz-card { padding: 24px 18px; border-radius: 20px; }
  .ck-item { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .ck-seg { width: 100%; }
  .ck-seg button { flex: 1; padding: 9px 4px; font-size: 13px; }
  .ck-result-grid { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; gap: 16px; }
  .help-box { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .quiz-badge, .help-orbit, .ck-radar .area, .quiz-opt.is-correct, .quiz-opt.is-wrong, .quiz-explain, .ck-focus-item, .quiz-result, .ck-result { animation: none; }
}
.quiz-play.enter { animation: wz-in .45s cubic-bezier(.2, .8, .2, 1) both; }
[hidden] { display: none !important; }
.badge.platform { background: var(--blue-50); color: var(--blue-600); }
.post-meta.on-dark .badge.platform { background: rgba(108, 182, 255, .15); color: #8cc6ff; }

/* ---------- blog: journey map ---------- */
.blog-views { padding-top: 48px; }
.view-toggle { display: inline-flex; padding: 4px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); margin-bottom: 24px; }
.view-toggle button { display: inline-flex; align-items: center; gap: 8px; font: inherit; font-size: 15px; font-weight: 600; padding: 9px 18px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); cursor: pointer; }
.view-toggle button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.journey { position: relative; isolation: isolate; overflow: hidden; border-radius: 32px; padding: 40px 32px 72px; color: var(--on-dark); background:
  radial-gradient(circle at 12% 8%, rgba(31, 127, 214, .28), transparent 38%),
  radial-gradient(circle at 88% 42%, rgba(200, 16, 110, .2), transparent 36%),
  radial-gradient(circle at 20% 92%, rgba(31, 127, 214, .2), transparent 40%), var(--ink); }
.journey::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5; background-image:
  radial-gradient(1.2px 1.2px at 20px 30px, #fff, transparent), radial-gradient(1px 1px at 120px 80px, #9fd0ff, transparent),
  radial-gradient(1.4px 1.4px at 200px 160px, #fff, transparent), radial-gradient(1px 1px at 80px 210px, #ffb3d6, transparent),
  radial-gradient(1px 1px at 260px 40px, #fff, transparent); background-size: 300px 260px; animation: twinkle 6s ease-in-out infinite alternate; }
@keyframes twinkle { to { opacity: .25; } }
.jr-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; align-items: end; max-width: 1000px; margin: 0 auto 8px; }
.jr-head h2 { color: #fff; margin-bottom: 6px; }
.jr-head p { color: var(--on-dark-muted); margin: 0; }
.jr-bar { height: 10px; border-radius: 10px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.jr-bar i { display: block; height: 100%; width: 0; border-radius: 10px; background: linear-gradient(90deg, #6cb6ff, var(--blue), #ff4fa0); transition: width 1.2s cubic-bezier(.2, .8, .2, 1); box-shadow: 0 0 14px rgba(108, 182, 255, .6); }
.jr-count { display: block; font-size: 14px; color: var(--on-dark-muted); margin: 8px 0 12px; font-family: var(--mono); }
.jr-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.jr-reset { background: none; border: 0; color: var(--on-dark-muted); font: inherit; font-size: 13.5px; cursor: pointer; text-decoration: underline; padding: 0; }
.jr-filter { display: flex; gap: 8px; max-width: 1000px; margin: 22px auto 0; }
.jr-filter button { font: inherit; font-size: 13.5px; font-weight: 600; padding: 6px 14px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, .18); background: transparent; color: var(--on-dark); cursor: pointer; }
.jr-filter button[aria-pressed="true"] { background: #fff; color: var(--ink); border-color: #fff; }
.jr-map { position: relative; max-width: 1000px; margin: 24px auto 0; --amp: 100%; --off: 0%; }
.jr-path { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.jr-path path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.jr-base { stroke: rgba(255, 255, 255, .05); stroke-width: 34; }
.jr-track { stroke: rgba(255, 255, 255, .28); stroke-width: 5; stroke-dasharray: 1 16; }
.jr-progress { stroke: url(#jr-grad); stroke-width: 9; filter: drop-shadow(0 0 8px rgba(108, 182, 255, .7)); transition: stroke-dashoffset 1.8s cubic-bezier(.3, .7, .2, 1); }
.jr-stage { position: relative; z-index: 1; display: grid; justify-items: center; text-align: center; gap: 2px; padding: 34px 0 10px; }
.jr-stage span { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #ff8cc4; }
.jr-stage b { font-size: 1.5rem; color: #fff; letter-spacing: -.02em; background: var(--ink); padding: 2px 18px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, .12); }
.jr-stage small { color: var(--on-dark-muted); font-size: 14px; margin-top: 6px; background: rgba(10, 18, 32, .7); padding: 0 10px; border-radius: 8px; }
.jr-node { position: relative; z-index: 1; display: block; height: 148px; color: inherit; --px: calc(var(--off) + var(--x) * var(--amp)); transition: opacity .3s; }
.jr-node:hover { text-decoration: none; }
.jr-node.dim { opacity: .22; }
.jr-dot { position: absolute; left: var(--px); top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; display: grid; place-items: center; font-family: var(--mono); font-size: 20px; color: #c9d6ea; background: radial-gradient(circle at 32% 28%, #3a4d70, #1b2a42 62%); border: 3px solid rgba(255, 255, 255, .22); box-shadow: 0 8px 0 #0c1626, 0 16px 28px rgba(0, 0, 0, .45), inset 0 2px 0 rgba(255, 255, 255, .18); transition: transform .25s cubic-bezier(.3, 1.6, .5, 1), box-shadow .25s; }
.jr-dot .ti-check { display: none; font-size: 30px; }
.jr-node:hover .jr-dot { transform: translateY(-4px) scale(1.06); }
.jr-node.is-done .jr-dot { color: #fff; background: radial-gradient(circle at 32% 28%, #7cc0ff, var(--blue) 60%, #0f4f8f); border-color: #bfe0ff; box-shadow: 0 8px 0 #0b3a6b, 0 16px 28px rgba(0, 0, 0, .45), 0 0 26px rgba(108, 182, 255, .55), inset 0 2px 0 rgba(255, 255, 255, .45); }
.jr-node.is-done .jr-dot b { display: none; }
.jr-node.is-done .jr-dot .ti-check { display: block; }
.jr-node.is-current .jr-dot { color: #fff; background: radial-gradient(circle at 32% 28%, #ff9ccc, var(--magenta) 62%, #7a0a44); border-color: #ffd0e6; box-shadow: 0 8px 0 #5c0833, 0 16px 28px rgba(0, 0, 0, .45), inset 0 2px 0 rgba(255, 255, 255, .45); animation: jr-bob 2.2s ease-in-out infinite; }
.jr-node.is-current .jr-dot::after { content: ""; position: absolute; inset: -12px; border-radius: 50%; border: 2px solid rgba(255, 111, 177, .7); animation: jr-ring 1.8s ease-out infinite; }
@keyframes jr-bob { 50% { transform: translateY(-7px); } }
@keyframes jr-ring { from { transform: scale(.8); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
.jr-here { display: none; position: absolute; bottom: calc(100% + 12px); left: 50%; transform: translateX(-50%); white-space: nowrap; font-family: var(--font); font-style: normal; font-size: 12px; font-weight: 700; color: var(--ink); background: #fff; padding: 3px 10px; border-radius: 8px; }
.jr-here::after { content: ""; position: absolute; top: 100%; left: 50%; margin-left: -5px; border: 5px solid transparent; border-top-color: #fff; }
.jr-node.is-current .jr-here { display: block; }
.jr-card { position: absolute; top: 50%; transform: translateY(-50%); width: min(380px, 44%); display: grid; gap: 4px; padding: 14px 18px; border-radius: 16px; background: rgba(17, 28, 46, .82); border: 1px solid rgba(255, 255, 255, .1); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: border-color .2s, transform .2s, background .2s; }
.side-r .jr-card { left: calc(var(--px) + 58px); }
.side-l .jr-card { right: calc(100% - var(--px) + 58px); }
.jr-node:hover .jr-card { border-color: rgba(108, 182, 255, .55); background: rgba(22, 38, 64, .95); }
.jr-meta { display: flex; gap: 10px; align-items: center; font-size: 12.5px; color: var(--on-dark-muted); }
.jr-meta em { font-style: normal; font-weight: 700; color: #8cc6ff; font-family: var(--mono); font-size: 11.5px; }
.jr-card strong { color: #fff; font-size: 1.02rem; line-height: 1.35; }
.jr-sum { color: var(--on-dark-muted); font-size: 13.5px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.jr-node.is-done .jr-card strong { color: #cfe6ff; }
@media (max-width: 860px) {
  .journey { padding: 28px 16px 48px; border-radius: 24px; }
  .jr-head { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .jr-map { --amp: 26%; --off: 9%; }
  .jr-node { height: 132px; }
  .jr-dot { width: 58px; height: 58px; margin: -29px 0 0 -29px; font-size: 16px; }
  .side-r .jr-card, .side-l .jr-card { left: calc(var(--px) + 44px); right: 0; width: auto; padding: 10px 12px; }
  .jr-sum { display: none; }
  .jr-card strong { font-size: .95rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .jr-base { stroke-width: 24; }
}

/* ---------- post: share, level complete, prev/next ---------- */
.crumbs { flex-wrap: wrap; }
.crumb-level { color: #ff8cc4 !important; display: inline-flex; gap: 6px; align-items: center; }
.share-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0 0 28px; font-size: 14px; color: var(--muted); }
.share-bar > span { font-weight: 600; margin-inline-end: 4px; }
.sh { display: inline-flex; align-items: center; gap: 6px; height: 38px; min-width: 38px; padding: 0 10px; justify-content: center; border-radius: 10px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--text); font: inherit; font-size: 13.5px; cursor: pointer; transition: background .15s, border-color .15s, transform .15s; }
.sh:hover { text-decoration: none; background: var(--blue-50); border-color: #9ec5ea; transform: translateY(-1px); }
.sh .ti { font-size: 18px; }
.post-end { height: 1px; }
.level-done { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 2.4em 0 1.4em; padding: 20px 22px; border-radius: 20px; border: 1px dashed var(--border-strong); background: var(--surface); opacity: .55; transition: opacity .5s, border-color .5s, box-shadow .5s, background .5s; }
.level-done > div { display: grid; flex: 1; min-width: 180px; }
.level-done small { color: var(--muted); }
.ld-badge { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 26px; color: var(--muted); background: var(--bg); border: 2px solid var(--border-strong); transition: all .5s; }
.level-done.on { opacity: 1; border: 1px solid #cfe2f6; background: linear-gradient(135deg, var(--blue-50), #fff 60%, var(--magenta-50)); box-shadow: var(--shadow); }
.level-done.on .ld-badge { color: #fff; border-color: #bfe0ff; background: radial-gradient(circle at 32% 28%, #7cc0ff, var(--blue) 60%, #0f4f8f); animation: pop .6s cubic-bezier(.3, 1.6, .5, 1); }
.level-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 1.4em 0 0; }
.level-nav a { display: grid; gap: 4px; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--border); background: var(--surface); color: var(--text); transition: border-color .2s, transform .2s, box-shadow .2s; }
.level-nav a:hover { text-decoration: none; border-color: #9ec5ea; transform: translateY(-2px); box-shadow: var(--shadow); }
.level-nav a.next { text-align: end; }
.level-nav small { color: var(--muted); font-size: 13px; }
.level-nav b { font-size: 15px; line-height: 1.4; }

/* ---------- post: comments ---------- */
.comments { margin-top: 3em; padding-top: 2em; border-top: 1px solid var(--border); }
.comments h2 { margin-top: 0; }
.cm-count { color: var(--muted); font-weight: 500; font-size: .7em; }
.cm-lead { color: var(--muted); }
.cm-list { display: grid; gap: 14px; margin: 0 0 28px; }
.cm-empty { color: var(--muted); padding: 18px; border: 1px dashed var(--border-strong); border-radius: 14px; text-align: center; font-size: 15px; }
.cm-item { padding: 16px 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); font-size: 15.5px; line-height: 1.65; }
.cm-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.cm-avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 14px; color: #fff; background: linear-gradient(140deg, var(--blue), var(--magenta)); }
.cm-head b { font-size: 15px; }
.cm-head time { color: var(--muted); font-size: 13px; }
.cm-tag { font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: 99px; background: var(--magenta-50); color: var(--magenta); }
.cm-text { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.cm-reply { margin: 12px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--blue-50); border-inline-start: 3px solid var(--blue); }
.cm-reply b { display: block; font-size: 13px; color: var(--blue-600); margin-bottom: 2px; }
.cm-reply p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
form.cm-form { box-shadow: none; }
.cm-kind { display: inline-flex; padding: 4px; border-radius: 12px; background: var(--bg); border: 1px solid var(--border); }
.cm-kind input { position: absolute; opacity: 0; pointer-events: none; }
.cm-kind span { display: inline-flex; gap: 6px; align-items: center; padding: 7px 14px; border-radius: 9px; font-size: 14.5px; font-weight: 600; color: var(--muted); cursor: pointer; }
.cm-kind input:checked + span { background: var(--ink); color: #fff; }
.cm-kind input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.cm-form textarea { min-height: 110px; }
@media (max-width: 640px) { .level-nav { grid-template-columns: minmax(0, 1fr); } .level-nav a.next { text-align: start; } }
@media (prefers-reduced-motion: reduce) {
  .journey::before, .jr-node.is-current .jr-dot, .jr-node.is-current .jr-dot::after, .level-done.on .ld-badge { animation: none; }
  .jr-progress, .jr-bar i { transition: none; }
}
.cm-kind { justify-self: start; }

/* ---------- cookie consent ---------- */
.consent-banner { position: fixed; inset-inline: 16px; bottom: 16px; z-index: 80; max-width: 720px; margin-inline: auto; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 16px 20px; border-radius: 16px; background: var(--ink); color: var(--on-dark); box-shadow: 0 20px 60px rgba(0, 0, 0, .35); border: 1px solid rgba(255, 255, 255, .12); font-size: 14.5px; }
.consent-banner p { margin: 0; flex: 1; min-width: 220px; }
.consent-banner div { display: flex; gap: 8px; }
.consent-banner .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .3); }
.consent-banner .btn-ghost:hover { background: rgba(255, 255, 255, .08); }

/* ---------- AI transformation ---------- */
.flow-visual { background: var(--ink-2); border: 1px solid rgba(255, 255, 255, .1); padding: 22px; }
.flow-visual svg { width: 100%; height: auto; }
.fl-line { fill: none; stroke: #6cb6ff; stroke-width: 2; stroke-dasharray: 6 7; animation: fl-dash 1.2s linear infinite; }
@keyframes fl-dash { to { stroke-dashoffset: -26; } }
.fl-node rect { fill: #16223a; stroke: rgba(255, 255, 255, .16); }
.fl-node circle { fill: #6cb6ff; }
.fl-node text { fill: #e8eef7; font-size: 12px; font-weight: 600; font-family: var(--font); }
.fl-node.ai rect { fill: rgba(200, 16, 110, .22); stroke: #ff6fb1; }
.fl-node.ai circle { fill: #ff6fb1; animation: pulse-dot 1.6s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes pulse-dot { 50% { transform: scale(1.5); opacity: .6; } }
.fl-gate rect { fill: none; stroke: #3ddc97; stroke-dasharray: 3 3; }
.fl-gate text { fill: #3ddc97; font-size: 10.5px; font-family: var(--font); font-weight: 600; }
.fl-caption { fill: var(--on-dark-muted); font-size: 11px; font-family: var(--mono); }
.spotlight { position: relative; overflow: hidden; isolation: isolate; color: var(--on-dark); background: linear-gradient(125deg, #0a1220 0%, #0d2f57 55%, #4a0c3a 120%); }
.spotlight::before { content: ""; position: absolute; z-index: -1; width: 700px; height: 700px; inset-inline-end: -180px; top: -260px; background: radial-gradient(circle, rgba(255, 79, 160, .28), transparent 62%); }
.spotlight-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
.spotlight h2 { color: #fff; }
.spotlight .lead { color: rgba(255, 255, 255, .78); margin-bottom: 26px; }
.spotlight .eyebrow { color: #ff8cc4; }
.spotlight .eyebrow::before { display: none; }
.sp-badge { font-family: var(--font); font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 99px; background: #ff4fa0; color: #fff; }
.sp-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.sp-card { display: grid; gap: 6px; padding: 20px; border-radius: 18px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: transform .2s, border-color .2s, background .2s; }
.sp-card:hover { transform: translateY(-3px); border-color: rgba(255, 140, 196, .6); background: rgba(255, 255, 255, .1); }
.sp-ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; color: #fff; background: linear-gradient(140deg, var(--blue), var(--magenta)); margin-bottom: 6px; }
.sp-card b { color: #fff; font-size: 1.05rem; }
.sp-card small { color: rgba(255, 255, 255, .72); font-size: 14px; line-height: 1.5; }
@media (max-width: 1300px) { .nav-links a { padding: 8px 7px; font-size: 14px; } }
@media (max-width: 960px) { .spotlight-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
@media (max-width: 520px) { .sp-cards { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .fl-line, .fl-node.ai circle { animation: none; } }
