/* Sami Alaa site. Layout: the owner's identity (paper, ink, lime, Bricolage) at an editorial scale, in two moods:
   dark by default (night ground, lime light) and the original paper look, switched from the header.
   The page also speaks FR / AR (RTL) / EN and starts in the device's language. */
:root {
  --bg: #f5f3ee; --band: #efece5; --card: #ffffff; --fg: #121216; --muted: #66656c; --line: #dcd8cd;
  --night: #121216; --night-2: #1c1c22; --inv-bg: #121216; --inv-fg: #ffffff;
  --lime: #d4f24a; --on-lime: #121216;
  --shop: #0d8f63; --shop-soft: #dbf1e6; --ads: #e5492a; --ads-soft: #fce2d9; --ai: #6547f5; --ai-soft: #e6e1ff; --orange: #ff6a1f;
  --panel-fg: #3b3a40; --chip-bg: rgba(255,255,255,.75); --chip-line: rgba(18,18,22,.08);
  --grid: rgba(18,18,22,.045); --top-bg: rgba(245,243,238,.86); --shadow: rgba(18,18,22,.14);
  --hl-bg: linear-gradient(transparent 58%, var(--lime) 58%, var(--lime) 92%, transparent 92%); --hl-fg: inherit;
  --display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}
:root[data-mode="dark"] {
  --bg: #0d0d11; --band: #131318; --card: #17171d; --fg: #f1f0ea; --muted: #a3a2ab; --line: #2b2b33;
  --night: #07070a; --night-2: #141419; --inv-bg: #f1f0ea; --inv-fg: #121216;
  --shop: #33c48f; --shop-soft: #10342a; --ads: #ff6f52; --ads-soft: #3a1b13; --ai: #8f78ff; --ai-soft: #231b4b;
  --panel-fg: #d5d4db; --chip-bg: rgba(255,255,255,.07); --chip-line: rgba(255,255,255,.1);
  --grid: rgba(255,255,255,.05); --top-bg: rgba(13,13,17,.82); --shadow: rgba(0,0,0,.55);
  --hl-bg: none; --hl-fg: var(--lime);
  color-scheme: dark;
}
:root[lang="ar"] { --display: "IBM Plex Sans Arabic", system-ui, sans-serif; --sans: "IBM Plex Sans Arabic", system-ui, sans-serif }
/* reset (the claude.ai shell gave these to the mockup) */
html, body { margin: 0 }
img { max-width: 100% }
[hidden] { display: none !important }
* { box-sizing: border-box }
html { overflow-x: clip; scroll-behavior: smooth }
body { background: var(--bg); color: var(--fg); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; transition: background .3s, color .3s }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 40; background: var(--bg) }
a { color: inherit; text-decoration: none }
h1, h2, h3, h4, p { margin: 0 }
button { font: inherit; color: inherit }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)) }
.disp { font-family: var(--display); font-weight: 700; letter-spacing: -.035em; line-height: 1.02; text-wrap: balance }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 600 11px/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted) }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--fg) }
.lead { color: var(--muted) }
.sec { padding-block: clamp(64px, 9vw, 120px) }
.h2 { font-size: clamp(34px, 5vw, 60px) }
.hl { background: var(--hl-bg); color: var(--hl-fg); padding: 0 .05em }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 20px; border-radius: 999px; font: 600 14px/1 var(--sans); border: 1px solid var(--line); background: var(--card); color: var(--fg); white-space: nowrap; cursor: pointer; transition: transform .2s, background .2s }
.btn:hover { transform: translateY(-2px) }
.btn svg, .more svg, .arr svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2 }
[dir="rtl"] .btn svg, [dir="rtl"] .more svg, [dir="rtl"] .arr svg { transform: scaleX(-1) }
.btn--ink { background: var(--inv-bg); color: var(--inv-fg); border-color: var(--inv-bg) }
.btn--lime { background: var(--lime); color: var(--on-lime); border-color: var(--lime) }
.btn--ghost-d { background: transparent; color: #fff; border-color: rgba(255,255,255,.28) }
:focus-visible { outline: 2px solid var(--ai); outline-offset: 3px }
[lang="ar"] * { letter-spacing: 0 !important }
[lang="ar"] .disp, [lang="ar"] .quote, [lang="ar"] .tab b, [lang="ar"] .tile h3, [lang="ar"] .panel h3 { line-height: 1.3 }

/* header */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: var(--top-bg); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line) }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 12px }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 700 15px/1 var(--display); letter-spacing: -.02em }
.logo i { width: 30px; height: 30px; border-radius: 8px; background: #121216; color: var(--lime); display: grid; place-items: center; font: 700 11px/1 "Inter", sans-serif; font-style: normal; box-shadow: 0 0 0 1px var(--line) }
.menu { display: flex; gap: 24px; font-size: 13px; color: var(--muted) }
.menu a:hover { color: var(--fg) }
.top__end { display: flex; align-items: center; gap: 8px }
.langs { display: flex; gap: 2px; border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 3px }
.langs button { border: 0; background: none; padding: 6px 9px; border-radius: 999px; color: var(--muted); font: 600 11px/1 "Inter", sans-serif; cursor: pointer }
.langs button[aria-pressed="true"] { background: var(--inv-bg); color: var(--inv-fg) }
.mode { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); display: grid; place-items: center; cursor: pointer }
.mode svg { width: 16px; height: 16px; stroke: var(--fg); fill: none; stroke-width: 2 }
.mode .sun { display: none } [data-mode="dark"] .mode .sun { display: block } [data-mode="dark"] .mode .moon { display: none }

/* hero */
.hero { position: relative; overflow: hidden }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent); -webkit-mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent) }
[data-mode="dark"] .hero::after { content: ""; position: absolute; width: 50vw; height: 50vw; inset-inline-end: -12vw; top: -10vw; border-radius: 50%; background: radial-gradient(closest-side, rgba(212,242,74,.12), transparent); pointer-events: none }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 5vw, 56px); align-items: center; padding-block: clamp(40px, 6vw, 84px) clamp(48px, 6vw, 90px) }
.hero h1 { font-size: clamp(44px, 5.9vw, 86px); line-height: .98; margin-top: 18px }
.rot { display: inline-grid; vertical-align: bottom }
.rot > span { grid-area: 1 / 1; white-space: nowrap; transition: opacity .5s, transform .5s }
[lang="ar"] .rot > span { white-space: normal }
.rot > span[aria-hidden="true"] { opacity: 0; transform: translateY(.3em) }
.rot i { font-style: normal }
.hero .lead { font-size: clamp(17px, 1.6vw, 19px); margin-top: 22px; max-width: 46ch }
.ctas { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px }
.proof { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 28px }
.proof > span { font: 600 12px/1 var(--sans); border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 8px 12px; color: var(--muted) }
.photo { position: relative; aspect-ratio: 4 / 5; max-width: 100%; border-radius: 2.2rem; background: var(--lime) }
.photo::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background-image: linear-gradient(rgba(18,18,22,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(18,18,22,.07) 1px, transparent 1px); background-size: 28px 28px }
.photo::after { content: "SA"; position: absolute; inset-inline-end: 18px; top: 10px; font: 800 clamp(70px, 9vw, 120px)/1 "Bricolage Grotesque", sans-serif; letter-spacing: -.05em; color: rgba(18,18,22,.08) }
[data-mode="dark"] .photo { box-shadow: 0 30px 90px rgba(212,242,74,.12) }
.photo__clip { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; z-index: 1 }
.photo__clip img { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); height: 96%; width: auto; max-width: none }
.chip { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 9px; background: var(--card); color: var(--fg); border-radius: 14px; padding: 9px 13px 9px 9px; font: 600 13px/1.15 var(--sans); box-shadow: 0 14px 30px var(--shadow); animation: bob 5s ease-in-out infinite }
[dir="rtl"] .chip { padding: 9px 9px 9px 13px }
.chip small { display: block; font-weight: 500; color: var(--muted); font-size: 11px }
.chip i { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; flex: none }
.chip svg { width: 14px; height: 14px; stroke: #fff; fill: none; stroke-width: 2.2 }
.chip--shop { top: 8%; inset-inline-start: -9% } .chip--shop i { background: var(--shop) }
.chip--ads { top: 44%; inset-inline-end: -8%; animation-delay: -1.6s } .chip--ads i { background: var(--ads) }
.chip--ai { bottom: 10%; inset-inline-start: -7%; animation-delay: -3.2s } .chip--ai i { background: var(--ai) }
@keyframes bob { 50% { transform: translateY(-8px) } }

/* marquee */
.marqs { overflow: hidden; padding-block: 6px 10px }
.marq { background: var(--night); color: #fff; overflow: hidden; border-block: 1px solid var(--line) }
.marq--lime { background: var(--lime); color: var(--on-lime); transform: rotate(-1.2deg); margin: -6px -3% -6px; width: 106%; position: relative; z-index: 2; border: 0 }
[dir="rtl"] .marq--lime { transform: rotate(1.2deg) }
.marq__t { display: flex; width: max-content; direction: ltr; animation: slide 38s linear infinite }
.marq--lime .marq__t { animation-direction: reverse; animation-duration: 46s }
.marq__t > span { display: inline-flex; align-items: center; gap: 22px; padding: 16px 11px; font: 700 clamp(18px, 2.2vw, 26px)/1 var(--display); letter-spacing: -.02em; white-space: nowrap }
.marq__t > span::after { content: "✦"; font-size: .7em; color: var(--lime) }
.marq--lime .marq__t > span::after { color: var(--on-lime) }
@keyframes slide { to { transform: translateX(-50%) } }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line) }
.stat { padding: clamp(22px, 3vw, 36px) clamp(12px, 2vw, 24px); border-inline-start: 1px solid var(--line); display: grid; gap: 6px }
.stat:first-child { border-inline-start: 0; padding-inline-start: 0 }
.stat b { font: 800 clamp(48px, 7vw, 92px)/.9 "Bricolage Grotesque", sans-serif; letter-spacing: -.05em; font-variant-numeric: tabular-nums }
.stat b sup { font-size: .45em; vertical-align: top; position: relative; top: .2em; color: var(--shop) }
[data-mode="dark"] .stat b sup { color: var(--lime) }
.stat > x-t { font-size: 14px; color: var(--muted); max-width: 22ch }
.stats__note { display: flex; justify-content: flex-end; margin-top: 12px }

/* domains */
.dom { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); margin-top: 40px; align-items: start }
.tabs { display: grid; gap: 10px }
.tab { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: center; text-align: start; width: 100%; padding: 20px 22px; border-radius: 22px; border: 1px solid var(--line); background: var(--card); cursor: pointer; transition: background .25s, border-color .25s, transform .25s }
.tab:hover { transform: translateX(4px) } [dir="rtl"] .tab:hover { transform: translateX(-4px) }
.tab[aria-selected="true"] { background: var(--inv-bg); color: var(--inv-fg); border-color: var(--inv-bg) }
.ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center }
.ico svg { width: 20px; height: 20px; fill: none; stroke-width: 2 }
.tab b { display: block; font: 700 clamp(22px, 2.4vw, 28px)/1.05 var(--display); letter-spacing: -.03em }
.tab small { font-size: 13px; font-weight: 600 }
.arr { width: 34px; height: 34px; border-radius: 50%; border: 1px solid currentColor; display: grid; place-items: center; opacity: .5 }
.tab[aria-selected="true"] .arr { opacity: 1; background: var(--lime); color: var(--on-lime); border-color: var(--lime) }
.ico--shop { background: var(--shop-soft) } .ico--shop svg { stroke: var(--shop) }
.ico--ads { background: var(--ads-soft) } .ico--ads svg { stroke: var(--ads) }
.ico--ai { background: var(--ai-soft) } .ico--ai svg { stroke: var(--ai) }
.t-shop { color: var(--shop) } .t-ads { color: var(--ads) } .t-ai { color: var(--ai) }
.tab[aria-selected="true"] small { color: var(--shop) }
.tab[aria-selected="true"]#t-ads small { color: var(--ads) } .tab[aria-selected="true"]#t-ai small { color: var(--ai) }
[data-mode="light"] .tab[aria-selected="true"] small { color: var(--lime) }
.panel { border-radius: 2rem; padding: clamp(24px, 3.4vw, 40px); display: grid; gap: 18px; min-height: 100%; position: relative; overflow: hidden; border: 1px solid var(--chip-line) }
.panel--shop { background: var(--shop-soft) } .panel--ads { background: var(--ads-soft) } .panel--ai { background: var(--ai-soft) }
.panel h3 { font: 700 clamp(28px, 3.2vw, 40px)/1.02 var(--display); letter-spacing: -.035em; max-width: 16ch }
.panel p { color: var(--panel-fg); max-width: 50ch }
.tags { display: flex; flex-wrap: wrap; gap: 8px }
.tags > x-t { font-size: 12px; font-weight: 600; background: var(--chip-bg); border: 1px solid var(--chip-line); border-radius: 999px; padding: 6px 11px }
.steps { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 8px }
.steps li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; align-items: center; background: var(--chip-bg); border-radius: 14px; padding: 10px 12px; font-size: 14px; font-weight: 500 }
.steps li > span { width: 30px; height: 30px; border-radius: 9px; background: #121216; color: var(--lime); display: grid; place-items: center; font: 700 12px/1 "Inter", sans-serif }
.panel .btn { justify-self: start }
.panel__art { position: absolute; inset-inline-end: -40px; top: -40px; width: 200px; height: 200px; border-radius: 50%; opacity: .5; pointer-events: none }
.panel--shop .panel__art { background: radial-gradient(circle, rgba(13,143,99,.3), transparent 70%) }
.panel--ads .panel__art { background: radial-gradient(circle, rgba(229,73,42,.28), transparent 70%) }
.panel--ai .panel__art { background: radial-gradient(circle, rgba(101,71,245,.3), transparent 70%) }

/* tools */
.toolsec { background: var(--night); color: #fff; border-block: 1px solid var(--line) }
.toolsec .lead { color: rgba(255,255,255,.62) }
.toolsec .eyebrow { color: rgba(255,255,255,.6) } .toolsec .eyebrow::before { background: var(--lime) }
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; margin-top: 40px }
.tile { position: relative; overflow: hidden; border-radius: 1.8rem; background: var(--night-2); border: 1px solid rgba(255,255,255,.08); padding: clamp(22px, 2.6vw, 32px); display: flex; flex-direction: column; gap: 12px; min-width: 0; transition: transform .3s, border-color .3s }
.tile:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.2) }
.tile::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 28px 28px; pointer-events: none }
.tile > * { position: relative }
.tile--rabhi { grid-column: span 4 } .tile--calc { grid-column: span 2 }
.tile--nwin { grid-column: span 3; grid-row: span 2 } .tile--achats, .tile--hisab { grid-column: span 3 }
.tile--rabhi::after { content: ""; position: absolute; inset-inline-start: -20%; top: -40%; width: 70%; height: 140%; background: radial-gradient(closest-side, rgba(212,242,74,.16), transparent); pointer-events: none }
.tile--nwin::after { content: ""; position: absolute; inset-inline-end: -20%; top: -40%; width: 70%; height: 140%; background: radial-gradient(closest-side, rgba(255,106,31,.22), transparent); pointer-events: none }
.meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 12px; color: rgba(255,255,255,.58) }
.badge { background: var(--lime); color: #121216; font: 700 11px/1 var(--sans); border-radius: 999px; padding: 5px 9px }
.badge--orange { background: var(--orange); color: #160800 }
.badge--soft { background: rgba(255,255,255,.1); color: #fff }
.tile h3 { font: 700 clamp(28px, 3.2vw, 44px)/1 var(--display); letter-spacing: -.035em }
.tile .tag { font-weight: 600; color: var(--lime) }
.tile--nwin .tag { color: #ff9a62 }
.tile p.txt { color: rgba(255,255,255,.7); font-size: 15px; max-width: 46ch }
.tile .row { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 24px; align-items: center }
.ticks { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 8px; font-size: 14px }
.ticks li { display: flex; gap: 10px; align-items: center }
.ticks i { width: 18px; height: 18px; border-radius: 50%; background: var(--lime); display: grid; place-items: center; flex: none }
.tile--nwin .ticks i { background: var(--orange) }
.ticks svg { width: 10px; height: 10px; stroke: #121216; fill: none; stroke-width: 3 }
.tile .ctas { margin-top: 16px }
.tile small.n { font-size: 12px; color: rgba(255,255,255,.45) }
.win { border-radius: 12px; overflow: hidden; background: #0b0b0e; box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 30px 60px rgba(0,0,0,.5); transform: perspective(1200px) rotateY(-6deg) rotateX(2deg); transition: transform .4s; direction: ltr }
.tile:hover .win { transform: none }
.win__bar { display: flex; gap: 6px; align-items: center; padding: 9px 12px; background: #19191e }
.win__bar i { width: 8px; height: 8px; border-radius: 50%; background: #34343c }
.win__bar > span { margin-left: 8px; font-size: 11px; color: #9a9aa6; background: #24242b; border-radius: 6px; padding: 3px 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: "Inter", sans-serif }
.win img { display: block; width: 100%; height: auto }
.nw { padding: 20px; display: grid; gap: 11px; background: radial-gradient(60% 70% at 90% 10%, rgba(255,106,31,.25), transparent 70%), #08080a; font-family: "Inter", sans-serif }
.nw__brand { display: flex; align-items: center; gap: 8px; font: 700 12px/1 "Inter", sans-serif; letter-spacing: .12em }
.nw__brand svg { width: 20px; height: 17px; fill: var(--orange) }
.nw h4 { font: 800 clamp(19px, 2vw, 24px)/1.08 "Inter", sans-serif; letter-spacing: -.02em }
.nw h4 em { color: var(--orange) }
.nw p { font-size: 12px; color: #a6a6b2 }
.nw__btns { display: flex; gap: 8px; flex-wrap: wrap }
.nw__btns > span { font-size: 11px; font-weight: 600; border-radius: 999px; padding: 7px 12px; border: 1px solid rgba(255,255,255,.18) }
.nw__btns > span:first-child { background: var(--orange); border-color: var(--orange); color: #160800 }
.phone { width: 150px; max-width: 42%; aspect-ratio: 9 / 18.5; border-radius: 26px; padding: 6px; background: #000; box-shadow: 0 0 0 1px rgba(255,255,255,.14), 0 24px 50px rgba(0,0,0,.5); flex: none; transform: rotate(5deg); transition: transform .4s }
[dir="rtl"] .phone { transform: rotate(-5deg) }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 21px; display: block }
.tile:hover .phone { transform: rotate(0) }
.split { display: flex; gap: 18px; align-items: flex-end; justify-content: space-between }
.split > div { display: grid; gap: 10px; min-width: 0 }
.mini-tags { display: flex; gap: 6px; flex-wrap: wrap }
.mini-tags > x-t { font-size: 11px; font-weight: 600; border-radius: 999px; padding: 5px 9px; background: rgba(255,255,255,.08); color: rgba(255,255,255,.85) }
.tile--calc { background: var(--lime); color: #121216; border-color: var(--lime) }
.tile--calc::before { background-image: linear-gradient(rgba(18,18,22,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(18,18,22,.06) 1px, transparent 1px) }
.tile--calc h3 { font-size: clamp(24px, 2.4vw, 30px) }
.tile--calc .meta { color: rgba(18,18,22,.6) }
.tile--calc .badge { background: #121216; color: var(--lime) }
.calc { display: grid; gap: 9px }
.calc label { display: grid; grid-template-columns: minmax(0, 1fr) 92px; gap: 10px; align-items: center; font-size: 13px; font-weight: 500 }
.calc input { width: 100%; font: 600 14px/1 "Inter", sans-serif; padding: 9px 10px; border-radius: 10px; border: 1px solid rgba(18,18,22,.18); background: rgba(255,255,255,.75); color: #121216; text-align: end; font-variant-numeric: tabular-nums; color-scheme: light }
.calc input:focus { outline: 2px solid #121216; outline-offset: 1px }
.res { background: #121216; color: #fff; border-radius: 16px; padding: 14px 16px; display: grid; gap: 4px; margin-top: 4px }
.res small { font-size: 11px; color: rgba(255,255,255,.6); letter-spacing: .06em; text-transform: uppercase }
.res b { font: 800 34px/1 "Bricolage Grotesque", sans-serif; letter-spacing: -.04em; color: var(--lime); font-variant-numeric: tabular-nums }
.res > span { font-size: 12px; color: rgba(255,255,255,.7); font-variant-numeric: tabular-nums }

/* founder */
.founder { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start }
.founder__pic { position: sticky; top: 90px; border-radius: 2rem; overflow: hidden; background: var(--night); aspect-ratio: 4 / 5; max-width: 100%; margin: 0; border: 1px solid var(--line) }
.founder__pic img { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); height: 100%; width: auto; max-width: none; filter: grayscale(1) contrast(1.05) }
.founder__pic::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(7,7,10,.88)) }
.founder__pic figcaption { position: absolute; left: 20px; right: 20px; bottom: 20px; z-index: 1; color: #fff; display: grid; gap: 4px }
.founder__pic figcaption b { font: 700 22px/1.1 var(--display); letter-spacing: -.02em }
.founder__pic figcaption > x-t { font-size: 13px; color: rgba(255,255,255,.75) }
.quote { font: 700 clamp(30px, 4vw, 52px)/1.04 var(--display); letter-spacing: -.035em; margin-top: 14px; text-wrap: balance }
.quote em { font-style: normal; color: var(--shop) }
[data-mode="dark"] .quote em { color: var(--lime) }
.founder .lead { margin-top: 18px; max-width: 56ch }
.tl { list-style: none; padding: 0; margin: 22px 0 0; display: grid; border-top: 1px solid var(--line) }
.tl li { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 18px; padding: 18px 8px; border-bottom: 1px solid var(--line); align-items: baseline; transition: background .2s }
.tl li:hover { background: var(--band) }
.tl .k { font: 600 11px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted) }
.tl b { font: 700 19px/1.2 var(--display); letter-spacing: -.02em; display: block }
.tl p { font-size: 14px; color: var(--muted); margin-top: 3px }
.tl .pill { font: 600 11px/1 var(--sans); border-radius: 999px; padding: 6px 10px; background: var(--card); border: 1px solid var(--line); white-space: nowrap }
.tl li:first-child .pill { background: var(--lime); border-color: var(--lime); color: var(--on-lime) }
.edu { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 24px }
.edu > div { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 16px; display: grid; gap: 3px }
.edu small { font: 600 10px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted) }
.edu b { font-weight: 600; font-size: 14px; line-height: 1.3 }
.edu .s { font-size: 12px; color: var(--muted) }

/* posts */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 36px }
.post { background: var(--card); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; display: grid; grid-template-rows: auto 1fr; transition: transform .25s }
.post:hover { transform: translateY(-4px) }
.post__art { height: 150px; position: relative; overflow: hidden }
.post__art--ai { background: var(--ai) } .post__art--ads { background: var(--ads) } .post__art--shop { background: var(--shop) }
.post__art i { position: absolute; border-radius: 50%; background: rgba(255,255,255,.16) }
.post__art i:nth-child(1) { width: 160px; height: 160px; inset-inline-end: -30px; top: -50px }
.post__art i:nth-child(2) { width: 90px; height: 90px; inset-inline-start: 24px; bottom: -30px; background: rgba(212,242,74,.9) }
.post__art b { position: absolute; inset-inline-start: 22px; top: 18px; color: #fff; font: 800 52px/1 var(--display); letter-spacing: -.05em }
.post__body { padding: 20px 22px 22px; display: grid; gap: 8px; align-content: start }
.post__meta { font-size: 12px; color: var(--muted) }
.post h3 { font: 700 19px/1.25 var(--display); letter-spacing: -.02em }
.post p { font-size: 14px; color: var(--muted) }
.more { display: inline-flex; align-items: center; gap: 6px; font: 600 14px/1 var(--sans); margin-top: 6px }

/* cta */
.cta { background: var(--night); color: #fff; overflow: hidden; position: relative; border-top: 1px solid var(--line) }
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(40% 70% at 0% 100%, rgba(229,73,42,.25), transparent 70%), radial-gradient(40% 80% at 100% 0%, rgba(101,71,245,.5), transparent 70%) }
.cta__big { position: relative; overflow: hidden; padding-top: 70px }
.cta__big .marq__t > span { font-size: clamp(64px, 11vw, 150px); padding: 0 24px; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.3); line-height: 1.2 }
.cta__big .marq__t > span::after { color: var(--lime); -webkit-text-stroke: 0 }
.cta .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: end; padding-block: 36px 80px }
.cta h2 { font-size: clamp(34px, 4.6vw, 56px) }
.cta p { color: rgba(255,255,255,.72); margin-top: 12px; max-width: 50ch }

/* footer */
.foot { background: var(--band); border-top: 1px solid var(--line) }
.foot__grid { display: grid; grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr)); gap: 28px; padding-block: 44px 28px }
.foot p { font-size: 13px; color: var(--muted); margin-top: 12px; max-width: 30ch }
.foot h4 { font: 600 13px/1 var(--sans); margin-bottom: 12px }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 13px; color: var(--muted) }
.foot__bar { border-top: 1px solid var(--line); padding-block: 16px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12px; color: var(--muted) }

@media (max-width: 1080px) { .menu { display: none } }
@media (max-width: 980px) {
  .hero .wrap, .dom, .founder, .cta .wrap { grid-template-columns: minmax(0, 1fr) }
  .photo { max-width: 440px; width: 100%; justify-self: center }
  .bento { grid-template-columns: minmax(0, 1fr) }
  .tile--rabhi, .tile--calc, .tile--nwin, .tile--achats, .tile--hisab { grid-column: auto; grid-row: auto }
  .tile .row { grid-template-columns: minmax(0, 1fr) }
  .founder__pic { position: relative; top: 0; max-width: 420px }
  .posts { grid-template-columns: minmax(0, 1fr) }
  .foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)) }
}
@media (max-width: 640px) {
  .top .btn--ink { display: none }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .stat:nth-child(3) { border-inline-start: 0; padding-inline-start: 0 }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line) }
  .chip--shop, .chip--ai { inset-inline-start: 8px } .chip--ads { inset-inline-end: 8px }
  .tl li { grid-template-columns: minmax(0, 1fr) auto }
  .tl .k { grid-column: 1 / -1 }
  .edu { grid-template-columns: minmax(0, 1fr) }
  .tab { padding: 16px }
}
@media (max-width: 380px) { .logo { font-size: 0; gap: 0 } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto }
  *, *::before, *::after { animation: none !important; transition: none !important }
}
