@font-face { font-family: "Anton"; font-weight: 400; font-display: swap; src: url(/assets/fonts/anton-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Anton"; font-weight: 400; font-display: swap; src: url(/assets/fonts/anton-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-weight: 100 900; font-display: swap; src: url(/assets/fonts/inter-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-weight: 100 900; font-display: swap; src: url(/assets/fonts/inter-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
:root { color-scheme: light dark; --bg: #FFFFFF; --bg-2: #F4F4F4; --card: #FFFFFF; --ink: #0B0B0B; --ink-2: #3A3A3A; --muted: #6A6A6A; --faint: #8E8E8E; --line: rgba(0,0,0,.10); --line-2: rgba(0,0,0,.16); --fill: rgba(0,0,0,.045);
  --photo: url(/assets/portrait-el-mahdi-merzag.webp);
  --display: "Anton", "Bebas Neue", "Oswald", Impact, "Arial Narrow Bold", sans-serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Helvetica Neue", "Segoe UI", Roboto, sans-serif; }
@media (prefers-color-scheme: dark) { :root { --bg: #0A0A0A; --bg-2: #141414; --card: #101010; --ink: #F2F2F2; --ink-2: #C8C8C8; --muted: #9A9A9A; --faint: #7C7C7C; --line: rgba(255,255,255,.12); --line-2: rgba(255,255,255,.2); --fill: rgba(255,255,255,.06); --photo: url(/assets/portrait-el-mahdi-merzag.webp); } }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.55 var(--sans); letter-spacing: -.006em; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--ink); color: var(--bg); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1120px; margin: 0 auto; padding-inline: clamp(16px, 4vw, 32px); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* nav */
.nav-shell { position: sticky; top: 0; z-index: 50; transition: background .25s ease, box-shadow .25s ease; }
.nav-shell.scrolled { background: color-mix(in srgb, var(--bg) 90%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line-2); }
.nav { max-width: 1120px; margin: 0 auto; padding: 14px clamp(16px, 4vw, 32px); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 700; font-size: 15px; }
.av { width: 44px; height: 44px; border-radius: 50%; background: var(--photo) center / cover no-repeat; filter: grayscale(1) contrast(1.06); box-shadow: 0 0 0 1.5px var(--ink); flex: none; }
.links { display: flex; gap: clamp(10px, 2.4vw, 34px); font-size: 15.5px; }
.links a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .25s ease; padding: 4px 0; }
.links a:hover { background-size: 100% 1px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 16px/1 var(--sans); padding: 14px 22px; border-radius: 980px; text-decoration: none; white-space: nowrap; transition: background .2s ease, color .2s ease; }
.btn-ink { background: var(--ink); color: var(--bg); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-ink:hover { background: transparent; color: var(--ink); }
.btn-line { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn-line:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-sm { font-size: 14px; padding: 10px 16px; }
.more { font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.more::after { content: " →"; }
/* hero */
.hero { position: relative; isolation: isolate; overflow: clip; padding-block: clamp(28px, 5vw, 64px) clamp(40px, 6vw, 80px); border-bottom: 1.5px solid var(--ink); }
.lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; color: var(--ink); pointer-events: none; }
.lines line { stroke: currentColor; stroke-width: 1; vector-effect: non-scaling-stroke; opacity: .5; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.8s cubic-bezier(.65,0,.25,1) .15s forwards; }
.lines line:nth-child(2) { animation-delay: .4s; opacity: .35; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 26px; }
.crumbs a { color: var(--muted); }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; }
.hero h1 { margin-top: 18px; font-family: var(--display); font-weight: 400; text-transform: uppercase; line-height: .9; letter-spacing: .004em; font-size: clamp(3.2rem, 10vw, 8.4rem); }
.hero h1 span { display: block; }
.hero h1 .o { color: transparent; -webkit-text-stroke: 1.4px var(--ink); font-size: .62em; line-height: .98; margin-top: .06em; }
.hero .lead { margin-top: 26px; max-width: 62ch; font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: var(--ink-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chips span { font-size: 13.5px; font-weight: 600; padding: 7px 13px; border-radius: 980px; box-shadow: inset 0 0 0 1px var(--line-2); }
.cta { display: flex; flex-wrap: wrap; gap: 12px 22px; align-items: center; margin-top: 30px; }
/* sections */
.block { padding-block: clamp(56px, 8vw, 104px) 0; }
.sh { display: grid; gap: 12px; margin-bottom: 36px; max-width: 900px; }
.sh h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; line-height: .94; letter-spacing: .004em; font-size: clamp(2.4rem, 5.6vw, 4.4rem); }
.sh h2 .o { color: transparent; -webkit-text-stroke: 1.2px var(--ink); }
.sh p { color: var(--ink-2); max-width: 62ch; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.card { background: var(--card); border: 1px solid var(--line-2); border-radius: 18px; padding: 24px; transition: border-color .2s ease; }
.card:hover { border-color: var(--ink); }
.card h3 { font-size: 1.12rem; letter-spacing: -.015em; margin-bottom: 8px; }
.card p { color: var(--ink-2); font-size: 15.5px; }
.card .n { font-family: var(--display); font-size: 2.6rem; line-height: 1; display: block; margin-bottom: 14px; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1.5px solid var(--ink); }
.steps li { padding: 22px 22px 6px 0; border-right: 1px solid var(--line-2); padding-left: 22px; }
.steps li:first-child { padding-left: 0; }
.steps li:last-child { border-right: 0; }
.steps .n { font-family: var(--display); font-size: 3rem; line-height: 1; display: block; margin-bottom: 12px; }
.steps b { display: block; font-size: 1.05rem; margin-bottom: 6px; }
.steps span { color: var(--ink-2); font-size: 15.5px; }
.who { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-2); }
.who li { padding: 18px 0; border-bottom: 1px solid var(--line-2); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 16px; }
.who li:nth-child(odd) { padding-right: 24px; }
.who li:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line-2); }
.who b { font-size: 1rem; }
.who span { color: var(--ink-2); font-size: 15.5px; }
.ex { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 320px); gap: clamp(20px, 4vw, 48px); align-items: start; background: var(--card); border: 1.5px solid var(--ink); border-radius: 22px; padding: clamp(22px, 3.4vw, 40px); }
.ex.novideo { grid-template-columns: minmax(0, 1fr); }
.ex h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.9rem, 3.6vw, 2.8rem); line-height: .95; margin-bottom: 14px; }
.ex p { color: var(--ink-2); }
.ex .exl { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 18px; }
.vid { position: relative; aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line-2); background: #fff; }
.vid video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tech { margin-top: 26px; font-size: 14px; color: var(--muted); }
.tech b { color: var(--ink); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: 12px; margin-right: 10px; }
.band { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1.5px solid var(--ink); border-bottom: 1px solid var(--line-2); }
.band div { padding: 18px 18px 18px 0; font-size: 15px; font-weight: 600; }
.band div + div { padding-left: 18px; border-left: 1px solid var(--line-2); }
.faq { border-top: 1.5px solid var(--ink); }
.qa { border-bottom: 1px solid var(--line-2); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 20px 0; font-size: 1.08rem; font-weight: 650; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-2); font-weight: 400; font-size: 20px; transition: transform .25s ease, background .2s ease, color .2s ease; }
.qa[open] summary::after { transform: rotate(45deg); background: var(--ink); color: var(--bg); }
.qa p { padding: 0 48px 22px 0; color: var(--ink-2); }
.final { margin-top: clamp(56px, 8vw, 104px); background: var(--ink); color: var(--bg); border-radius: 26px; padding: clamp(28px, 5vw, 64px); display: grid; gap: 18px; }
.final h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(2.4rem, 6vw, 4.8rem); line-height: .92; }
.final p { max-width: 58ch; opacity: .8; }
.final .btn-ink { background: var(--bg); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--bg); }
.final .btn-ink:hover { background: transparent; color: var(--bg); }
.final .btn-line { color: var(--bg); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--bg) 35%, transparent); }
.others { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.others a { display: block; padding: 16px 18px; border: 1px solid var(--line-2); border-radius: 14px; text-decoration: none; font-weight: 650; font-size: 15px; transition: border-color .2s ease, background .2s ease; }
.others a:hover { border-color: var(--ink); }
.others a::after { content: " →"; }
footer { margin-top: clamp(64px, 9vw, 110px); border-top: 1.5px solid var(--ink); padding-block: 26px 90px; font-size: 13px; color: var(--muted); }
footer .fl { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 12px; }
footer a { color: var(--ink-2); }
.fab { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 60; display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 980px; background: var(--ink); color: var(--bg); text-decoration: none; font-weight: 700; font-size: 15px; box-shadow: 0 10px 30px rgba(0,0,0,.2); }
@media (max-width: 900px) {
  .grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps li:nth-child(3) { padding-left: 0; }
  .steps li:nth-child(2) { border-right: 0; }
  .steps li:nth-child(n+3) { border-top: 1px solid var(--line-2); }
  .ex { grid-template-columns: minmax(0, 1fr); }
  .vid { max-width: 320px; }
  .others { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .band div:nth-child(3) { padding-left: 0; border-left: 0; }
  .band div:nth-child(n+3) { border-top: 1px solid var(--line-2); }
}
@media (max-width: 640px) {
  .links { display: none; }
  .grid3, .steps, .who { grid-template-columns: minmax(0, 1fr); }
  .steps li { padding-left: 0; border-right: 0; }
  .steps li + li { border-top: 1px solid var(--line-2); }
  .who li, .who li:nth-child(odd), .who li:nth-child(even) { padding: 16px 0; border-left: 0; grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .qa p { padding-right: 0; }
  .fab span { display: none; }
  .lines { display: none; }
}
@media (prefers-reduced-motion: reduce) { .lines line { animation: none; stroke-dashoffset: 0; } html { scroll-behavior: auto; } }
/* ===== guides ===== */
.hero.guide h1 { font-size: clamp(2.8rem, 8.4vw, 6.6rem); }
.byline { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; font-size: 14.5px; color: var(--muted); }
.byline .av { width: 34px; height: 34px; }
.byline b { color: var(--ink); font-weight: 600; }
.art { max-width: 760px; margin: 0 auto; }
.answer { margin: clamp(28px, 4vw, 44px) 0 8px; padding: 22px 24px; border: 1.5px solid var(--ink); border-radius: 18px; font-size: 18px; line-height: 1.6; }
.answer .k { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 8px; }
.prose { font-size: 17.5px; line-height: 1.7; color: var(--ink-2); }
.prose h2 { margin: clamp(44px, 6vw, 64px) 0 16px; font-family: var(--display); font-weight: 400; text-transform: uppercase; line-height: .98; letter-spacing: .004em; font-size: clamp(2rem, 4.6vw, 3rem); color: var(--ink); }
.prose h3 { margin: 30px 0 10px; font-size: 20px; line-height: 1.3; color: var(--ink); }
.prose p { margin: 0 0 16px; }
.prose b { color: var(--ink); font-weight: 600; }
.prose a { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.prose ul, .prose ol { margin: 0 0 18px; padding-left: 1.3em; }
.prose ul { list-style: disc; } .prose ol { list-style: decimal; }
.prose li { margin: 0 0 8px; padding-left: .2em; }
.prose li::marker { color: var(--ink); }
.prose .note { font-size: 14px; color: var(--muted); }
.prose .formula { padding: 16px 18px; border-radius: 14px; background: var(--fill); color: var(--ink); font-weight: 600; }
.tbl { overflow-x: auto; margin: 6px 0 12px; border: 1px solid var(--line-2); border-radius: 14px; }
.tbl table { width: 100%; border-collapse: collapse; font-size: 15.5px; min-width: 520px; }
.tbl th, .tbl td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl th { font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); background: var(--fill); }
.tbl tr:last-child td { border-bottom: 0; }
.tbl td:first-child { color: var(--ink); font-weight: 600; }
.svc-cta { margin: 40px 0 0; padding: 24px; border-radius: 18px; background: var(--ink); color: var(--bg); display: grid; gap: 14px; }
.svc-cta p { color: var(--bg); opacity: .85; margin: 0; }
.svc-cta h2 { margin: 0; color: var(--bg); font-size: clamp(1.8rem, 4vw, 2.4rem); }
.svc-cta .btns { display: flex; flex-wrap: wrap; gap: 10px; }
.svc-cta .btn-ink { background: var(--bg); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--bg); }
.svc-cta .btn-ink:hover { background: transparent; color: var(--bg); }
.svc-cta .btn-line { color: var(--bg); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--bg) 45%, transparent); }
.sources { margin-top: 36px; font-size: 14px; color: var(--muted); }
.sources h2 { font-family: var(--sans); text-transform: none; font-size: 14px; letter-spacing: .1em; font-weight: 700; margin: 0 0 8px; color: var(--ink); }
.sources ul { list-style: disc; padding-left: 1.2em; }
.sources a { color: var(--muted); }
.glist { display: grid; gap: 16px; }
.gcard { display: grid; gap: 8px; padding: 24px; border: 1px solid var(--line-2); border-radius: 20px; text-decoration: none; transition: border-color .2s ease; }
.gcard:hover { border-color: var(--ink); }
.gcard b { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.7rem, 3.6vw, 2.3rem); line-height: 1; }
.gcard span { color: var(--ink-2); }
.gcard small { color: var(--muted); font-size: 13.5px; }
.guide-links { margin-top: 18px; font-size: 15.5px; }
@media (max-width: 640px) { .byline .sep { display: none; } .byline time { flex-basis: 100%; } .answer { font-size: 17px; padding: 18px; } }
