/* Brand palette from the YallaFlow videos: navy ground, the >> mark's teal and blue. */
:root {
  --bg: #0a111f;
  --bg-glow: #12202f;
  --surface: #0f1a28;
  --surface-2: #142233;
  --border: #1f2e40;
  --border-strong: #2b3e54;
  --fg: #e8eef5;
  --muted: #9aabbd;
  --accent: #4ed0a5;
  --accent-2: #6485ce;
  --accent-fg: #04140f;
  --term-bg: #070d17;
  --term-fg: #dce6f0;
  --term-muted: #7d8fa3;
  --grid: rgba(255, 255, 255, 0.035);
  --radius: 14px;
  --max: 1160px;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "DejaVu Sans Mono", "Liberation Mono", monospace;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #f6f8fb;
    --bg-glow: #e7eef6;
    --surface: #ffffff;
    --surface-2: #f1f5f9;
    --border: #dbe3ec;
    --border-strong: #c3cfdc;
    --fg: #0d1624;
    --muted: #4b5a6b;
    --accent: #0a7a5a;
    --accent-2: #3a5aa8;
    --accent-fg: #ffffff;
    --grid: rgba(13, 22, 36, 0.04);
    color-scheme: light;
  }
}
:root[data-theme="light"] {
  --bg: #f6f8fb;
  --bg-glow: #e7eef6;
  --surface: #ffffff;
  --surface-2: #f1f5f9;
  --border: #dbe3ec;
  --border-strong: #c3cfdc;
  --fg: #0d1624;
  --muted: #4b5a6b;
  --accent: #0a7a5a;
  --accent-2: #3a5aa8;
  --accent-fg: #ffffff;
  --grid: rgba(13, 22, 36, 0.04);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.6 var(--sans); }
a { color: var(--accent); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible, video:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
code, pre, kbd { font-family: var(--mono); }
img, video, svg { display: block; max-width: 100%; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }
/* Hidden until focused; clipped in place, so it never widens a right-to-left page. */
.skip { position: absolute; top: 12px; inset-inline-start: 16px; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { width: auto; height: auto; clip-path: none; z-index: 20; background: var(--surface); color: var(--fg); padding: 8px 12px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Brand mark */
.mark { width: 26px; height: 24px; flex: none; }

/* Header */
header.site { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--fg); text-decoration: none; font: 700 1.1rem/1 var(--mono); letter-spacing: -0.01em; }
nav.primary ul { list-style: none; display: flex; align-items: center; gap: 24px; margin: 0; padding: 0; }
nav.primary a { color: var(--muted); text-decoration: none; font-size: 0.94rem; }
nav.primary a:hover { color: var(--fg); }
nav.primary a.gh { color: var(--fg); border: 1px solid var(--border-strong); border-radius: 999px; padding: 6px 14px; }
nav.primary a.gh:hover { border-color: var(--accent); }
@media (max-width: 760px) { nav.primary li:not(:last-child) { display: none; } }

/* Hero */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--border); }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 70% at 75% 35%, color-mix(in srgb, var(--accent-2) 16%, transparent), transparent 70%),
    radial-gradient(50% 60% at 15% 10%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 70%),
    linear-gradient(var(--grid) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, var(--grid) 1px, transparent 1px) 0 0 / 48px 48px; }
.hero .wrap { position: relative; display: grid; gap: 48px; padding-top: 72px; padding-bottom: 80px; align-items: center; }
@media (min-width: 960px) { .hero .wrap { grid-template-columns: 1.05fr 1fr; gap: 56px; padding-top: 96px; padding-bottom: 104px; } }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 20px; padding: 6px 12px 6px 8px; border: 1px solid var(--border-strong); border-radius: 999px; background: color-mix(in srgb, var(--surface) 70%, transparent); color: var(--muted); font-size: 0.86rem; }
.eyebrow .mark { width: 18px; height: 16px; }
h1 { margin: 0 0 20px; letter-spacing: -0.035em; }
h1 .name { display: block; font: 700 1.05rem/1.2 var(--mono); letter-spacing: 0; color: var(--muted); margin-bottom: 14px; }
h1 .tagline { display: block; font-size: clamp(2.3rem, 5.4vw, 3.7rem); line-height: 1.04; font-weight: 750; }
h1 .tagline em { font-style: normal; background: linear-gradient(90deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: 1.14rem; color: var(--muted); max-width: 34em; margin: 0 0 28px; }
.install { display: flex; align-items: center; gap: 10px; max-width: 420px; background: var(--term-bg); color: var(--term-fg); border: 1px solid var(--border-strong); border-radius: 12px; padding: 10px 10px 10px 16px; }
.install code { flex: 1; min-width: 0; overflow-x: auto; white-space: nowrap; font-size: 0.97rem; padding: 4px 0; }
.install code::before { content: "$ "; color: var(--term-muted); }
.copy { flex: none; background: transparent; color: var(--term-fg); border: 1px solid #2b3e54; border-radius: 8px; padding: 6px 12px; font: 500 0.84rem var(--sans); cursor: pointer; }
.copy:hover { border-color: #4ed0a5; }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0 0; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 10px; font-weight: 650; text-decoration: none; border: 1px solid var(--border-strong); color: var(--fg); background: transparent; }
.btn:hover { border-color: var(--accent); }
.btn.primary { background: var(--accent); color: var(--accent-fg); border-color: var(--accent); }
.btn.primary:hover { filter: brightness(1.06); }
.facts { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 22px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 0.88rem; }
.facts li::before { content: "› "; color: var(--accent); font-family: var(--mono); }

/* Hero illustration: a conceptual session, not a product UI */
.concept { margin: 0; }
.term { background: var(--term-bg); color: var(--term-fg); border: 1px solid #22344a; border-radius: var(--radius); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.02) inset; overflow: hidden; }
.term-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid #1a2a3c; color: var(--term-muted); font: 0.78rem var(--mono); }
.term-bar i { width: 10px; height: 10px; border-radius: 50%; background: #233449; }
.term-bar span { margin-left: 8px; }
.term-body { padding: 18px 20px 22px; font: 0.9rem/1.65 var(--mono); }
.term-body p { margin: 0; }
.prompt { color: #e8eef5; }
.prompt b { color: #6485ce; font-weight: 600; }
.flow { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.flow li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; padding: 10px 12px; border: 1px solid #1a2a3c; border-radius: 10px; background: #0b1422; }
.flow .dot { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font: 700 0.78rem var(--mono); color: #04140f; background: #4ed0a5; }
.flow li:nth-child(2) .dot { background: linear-gradient(135deg, #4ed0a5, #6485ce); }
.flow li:nth-child(3) .dot { background: #6485ce; color: #050b16; }
.flow li:nth-child(4) .dot { background: #8fa6dc; color: #050b16; }
.flow strong { display: block; color: #e8eef5; font-weight: 650; font-family: var(--sans); font-size: 0.95rem; }
.flow small { color: #8fa1b5; font-family: var(--sans); font-size: 0.85rem; }
.result { margin-top: 14px; color: #4ed0a5; }
.concept figcaption { margin-top: 12px; color: var(--muted); font-size: 0.82rem; text-align: center; }

/* Sections */
section { padding: 88px 0; border-bottom: 1px solid var(--border); }
[id] { scroll-margin-top: 80px; }
.kicker { margin: 0 0 10px; font: 600 0.8rem/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
h2 { margin: 0 0 12px; font-size: clamp(1.75rem, 3.4vw, 2.4rem); line-height: 1.15; letter-spacing: -0.025em; }
.section-lede { margin: 0 0 40px; color: var(--muted); max-width: 40em; font-size: 1.05rem; }
h3 { margin: 0 0 6px; font-size: 1.05rem; letter-spacing: -0.01em; }

/* Video */
.video-section { background: linear-gradient(180deg, var(--bg-glow), var(--bg)); }
.video-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 960px) { .video-grid { grid-template-columns: 0.75fr 1.25fr; gap: 48px; } }
.player { margin: 0; }
.player video { width: 100%; height: auto; aspect-ratio: 16 / 9; background: #0a111f; border: 1px solid var(--border-strong); border-radius: var(--radius); box-shadow: 0 30px 70px -35px rgba(0, 0, 0, 0.6); }
.player figcaption { margin-top: 12px; color: var(--muted); font-size: 0.88rem; }
.chapters { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.chapters li { display: grid; grid-template-columns: 56px 1fr; gap: 10px; color: var(--muted); }
.chapters span { font: 600 0.85rem/1.7 var(--mono); color: var(--accent); }
.full-demo { margin: 24px 0 0; padding-top: 20px; border-top: 1px solid var(--border); color: var(--muted); }
.full-demo a { font-weight: 650; white-space: nowrap; }
.full-demo .len { margin-left: 4px; font: 600 0.78rem var(--mono); color: var(--muted); border: 1px solid var(--border-strong); border-radius: 6px; padding: 1px 6px; }
.ext { display: inline-block; width: 0.85em; height: 0.85em; margin-left: 5px; vertical-align: -1px; }
.links .ext { color: var(--muted); }

/* Value cards */
.cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { position: relative; padding: 24px; border: 1px solid var(--border); border-radius: var(--radius); background: linear-gradient(180deg, var(--surface), color-mix(in srgb, var(--surface) 60%, var(--bg))); }
.card::before { content: ""; position: absolute; left: 24px; right: 24px; top: -1px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); opacity: 0.8; }
.card svg { width: 36px; height: 36px; margin-bottom: 16px; color: var(--accent); }
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* How it works */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: s; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(5, 1fr); gap: 0; } }
.steps li { counter-increment: s; position: relative; padding: 20px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
@media (min-width: 900px) {
  .steps li { border-radius: 0; border-right-width: 0; }
  .steps li:first-child { border-radius: var(--radius) 0 0 var(--radius); }
  .steps li:last-child { border-radius: 0 var(--radius) var(--radius) 0; border-right-width: 1px; }
}
.steps li::before { content: "0" counter(s); display: block; margin-bottom: 14px; font: 700 0.85rem var(--mono); color: var(--accent); }
.steps p { margin: 0; color: var(--muted); font-size: 0.92rem; }
.steps li.once { background: linear-gradient(180deg, color-mix(in srgb, var(--accent-2) 14%, var(--surface)), var(--surface)); }
.badge { display: inline-block; margin-left: 4px; padding: 1px 8px; border-radius: 999px; font: 600 0.7rem/1.6 var(--sans); letter-spacing: 0.03em; text-transform: uppercase; vertical-align: 2px; border: 1px solid var(--border-strong); color: var(--muted); }
.badge.once { border-color: color-mix(in srgb, var(--accent-2) 60%, transparent); color: var(--fg); }
.note { margin: 20px 0 0; color: var(--muted); font-size: 0.92rem; }

/* Capabilities */
.caps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.caps li { padding: 18px 20px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.caps li.opt { border-style: dashed; }
.caps p { margin: 0; color: var(--muted); font-size: 0.92rem; }
.caps a { font-size: 0.88rem; }

/* Quick start */
.qs { display: grid; gap: 20px; }
@media (min-width: 900px) { .qs { grid-template-columns: 1fr 1fr; } }
.panel-label { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-weight: 650; }
.panel-label .tag { font: 600 0.72rem var(--mono); text-transform: uppercase; letter-spacing: 0.06em; padding: 2px 8px; border-radius: 6px; background: var(--surface-2); color: var(--muted); border: 1px solid var(--border); }
pre.code { margin: 0; background: var(--term-bg); color: var(--term-fg); border: 1px solid #22344a; border-radius: 12px; padding: 18px 20px; overflow-x: auto; font-size: 0.92rem; line-height: 1.7; }
pre.code .p { color: var(--term-muted); user-select: none; }
pre.code .c { color: var(--term-muted); }
.chat { display: grid; gap: 10px; margin: 0; padding: 18px; list-style: none; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.chat li { justify-self: start; max-width: 100%; padding: 10px 14px; border-radius: 12px 12px 12px 4px; background: var(--surface-2); border: 1px solid var(--border); }
.chat-note { margin: 10px 0 0; color: var(--muted); font-size: 0.88rem; }
.more { margin-top: 28px; }
.more h3 { margin-bottom: 10px; }

/* Resources */
.links { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.links a { display: block; height: 100%; padding: 16px 18px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); color: var(--fg); text-decoration: none; font-weight: 650; }
.links a:hover { border-color: var(--accent); }
.links span { display: block; margin-top: 2px; color: var(--muted); font-weight: 400; font-size: 0.9rem; }

footer { padding: 40px 0 56px; color: var(--muted); font-size: 0.92rem; }
footer .wrap { display: grid; gap: 10px; }
footer .brand { font-size: 1rem; }
footer p { margin: 0; }

/* ---------- 1.4.1: language switch, console showcase, what's new, upgrade, RTL (PF-0075) ---------- */
.lang { display: inline-flex; align-items: center; gap: 6px; color: var(--fg) !important; border: 1px solid var(--border-strong); border-radius: 999px; padding: 6px 12px; font-weight: 600; }
.lang:hover { border-color: var(--accent); }
@media (max-width: 760px) { nav.primary li.keep { display: list-item !important; } nav.primary ul { gap: 10px; } }

.pill { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 4px 12px 4px 6px; border-radius: 999px; font: 600 0.8rem/1.6 var(--sans); color: var(--fg); background: color-mix(in srgb, var(--accent) 14%, var(--surface)); border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); text-decoration: none; }
.pill b { background: var(--accent); color: var(--accent-fg); border-radius: 999px; padding: 0 8px; font: 700 0.74rem/1.7 var(--mono); }

.shot { margin: 0; }
.shot img { width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--border-strong); background: var(--surface); box-shadow: 0 24px 60px -32px rgba(0, 0, 0, 0.55); }
.shot figcaption { margin-top: 12px; color: var(--muted); font-size: 0.92rem; }
.shot figcaption b { display: block; color: var(--fg); font-size: 1rem; margin-bottom: 2px; }
.showcase { display: grid; gap: 28px; }
@media (min-width: 900px) { .showcase { grid-template-columns: 1fr 1fr; gap: 36px 32px; } .showcase .wide { grid-column: 1 / -1; } }
.console-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 32px; }
.console-cta code { background: var(--term-bg); color: var(--term-fg); border: 1px solid var(--border-strong); border-radius: 8px; padding: 6px 12px; }

.new-section { background: linear-gradient(180deg, var(--bg), var(--bg-glow)); }
.new-grid { display: grid; gap: 36px; align-items: start; }
@media (min-width: 960px) { .new-grid { grid-template-columns: 0.9fr 1.1fr; gap: 48px; } }
.new-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.new-list li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; padding: 16px 18px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.new-list .n { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font: 700 0.9rem var(--mono); color: var(--accent-fg); background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.new-list p { margin: 0; color: var(--muted); font-size: 0.93rem; }
.stack-shots { display: grid; gap: 22px; }
.safe { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.safe li { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface-2); color: var(--muted); font-size: 0.86rem; }
.safe li::before { content: "✓ "; color: var(--accent); font-weight: 700; }

.pipeline { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pipeline li { padding: 6px 12px; border-radius: 8px; border: 1px solid var(--border); background: var(--surface); font: 0.84rem var(--mono); color: var(--fg); }
.pipeline li + li::before { content: "→"; margin-inline-end: 8px; color: var(--accent); font-family: var(--sans); }
.qs.three { }
@media (min-width: 900px) { .qs.three { grid-template-columns: 1fr 1fr; } }
.qs .full { grid-column: 1 / -1; }
.qs > div, .new-grid > div, .video-grid > div, .hero .wrap > div { min-width: 0; }
.hint { margin: 10px 0 0; color: var(--muted); font-size: 0.88rem; }

/* Right-to-left (Arabic page) */
[dir="rtl"] body { font-family: "Noto Sans Arabic", "Segoe UI", Tahoma, var(--sans); }
[dir="rtl"] h1, [dir="rtl"] h1 .tagline, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] .kicker { letter-spacing: 0; }
[dir="rtl"] h1 .tagline { line-height: 1.25; }
[dir="rtl"] .kicker { text-transform: none; font-family: inherit; font-size: 0.9rem; }
[dir="rtl"] .install, [dir="rtl"] pre.code, [dir="rtl"] .pipeline, [dir="rtl"] .console-cta code { direction: ltr; text-align: left; }
[dir="rtl"] .install { padding: 10px 16px 10px 10px; }
[dir="rtl"] .term-bar span { margin-left: 0; margin-right: 8px; }
[dir="rtl"] .ext, [dir="rtl"] .full-demo .len, [dir="rtl"] .badge { margin-left: 0; margin-right: 5px; }
[dir="rtl"] .facts li::before { content: "‹ "; }
[dir="rtl"] .chat li { border-radius: 12px 12px 4px 12px; }
[dir="rtl"] .card::before { left: 24px; right: 24px; }
@media (min-width: 900px) {
  [dir="rtl"] .steps li { border-right-width: 1px; border-left-width: 0; }
  [dir="rtl"] .steps li:first-child { border-radius: 0 var(--radius) var(--radius) 0; }
  [dir="rtl"] .steps li:last-child { border-radius: var(--radius) 0 0 var(--radius); border-left-width: 1px; }
}

/* ---------- PF-0079: scale of the work, timeline, maker ---------- */
.icon-btn { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 999px; border: 1px solid var(--border-strong); color: var(--fg) !important; }
.icon-btn:hover { border-color: var(--accent); color: var(--accent) !important; }
.btn svg { width: 16px; height: 16px; }

.stats-band { padding: 56px 0; background: linear-gradient(180deg, var(--bg-glow), var(--bg)); }
.stats-title { text-align: center; font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 0 0 28px; }
.stats { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) { .stats { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1080px) { .stats { grid-template-columns: repeat(6, 1fr); } }
.stats li { padding: 18px 16px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); text-align: center; }
.stats b { display: block; font: 800 clamp(1.7rem, 3vw, 2.3rem)/1.1 var(--sans); letter-spacing: -0.02em; background: linear-gradient(90deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats span { display: block; margin-top: 6px; color: var(--muted); font-size: 0.86rem; line-height: 1.4; }
.stats-note { margin: 18px 0 0; text-align: center; color: var(--muted); font-size: 0.82rem; }

.built-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 960px) { .built-grid { grid-template-columns: 1fr 1fr; gap: 56px; } }
.built-grid > div, .built-grid > ol { min-width: 0; }
.proof { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 10px; }
.proof li { color: var(--muted); }
.proof b { color: var(--fg); font-family: var(--mono); margin-inline-end: 6px; }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 14px; }
.timeline::before { content: ""; position: absolute; top: 8px; bottom: 8px; inset-inline-start: 7px; width: 2px; background: linear-gradient(var(--accent), var(--accent-2)); opacity: .5; }
.timeline li { position: relative; padding-inline-start: 32px; }
.timeline li::before { content: ""; position: absolute; inset-inline-start: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent-2); }
.timeline li.now::before { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 22%, transparent); }
.timeline time { display: block; color: var(--muted); font: 0.8rem var(--mono); }
.timeline b { font: 700 1rem var(--mono); margin-inline-end: 8px; }
.timeline span { color: var(--muted); font-size: 0.93rem; }

.maker-section { background: linear-gradient(180deg, var(--bg), var(--bg-glow)); }
.maker { display: grid; gap: 28px; align-items: center; padding: 32px; border: 1px solid var(--border-strong); border-radius: 20px; background: var(--surface); box-shadow: 0 30px 70px -40px rgba(0, 0, 0, .5); }
@media (min-width: 760px) { .maker { grid-template-columns: auto 1fr; gap: 36px; padding: 40px; } }
.avatar { width: 112px; height: 112px; border-radius: 50%; display: grid; place-items: center; font: 800 2.2rem/1 var(--sans); color: var(--accent-fg); background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 18%, transparent); }
.maker-body h2 { margin-bottom: 10px; }
.maker-body p { color: var(--muted); max-width: 46em; margin: 0; }
.maker-body .ctas { margin-top: 20px; }
[dir="rtl"] .avatar { font-family: var(--sans); }

/* ---------- PF-0080: real work ---------- */
.real-section { background: linear-gradient(180deg, var(--bg-glow), var(--bg) 40%); }
.real-stats { margin: 0 0 36px; }
.real-shots { margin-bottom: 8px; }
.stories-h { margin: 44px 0 16px; font-size: 1.25rem; }
.stories { display: grid; gap: 16px; }
@media (min-width: 900px) { .stories { grid-template-columns: repeat(3, 1fr); } }
.story { padding: 22px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); position: relative; }
.story::before { content: ""; position: absolute; top: -1px; inset-inline: 22px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.story .tag { margin: 0 0 8px; font: 600 0.74rem/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.story h4 { margin: 0 0 8px; font-size: 1.08rem; }
.story p { margin: 0; color: var(--muted); font-size: 0.94rem; }
.story b { color: var(--fg); }
[dir="rtl"] .story .tag { text-transform: none; letter-spacing: 0; font-family: inherit; font-size: .85rem; }
