:root {
  --bg: #0c0c0c; --bg-2: #141413; --ink: #f3f1ea; --mute: #8b8a85; --line: #262624;
  --hi: #ffd400; --hi-ink: #0c0c0c;
  --ar: system-ui, -apple-system, "Segoe UI", "Noto Sans Arabic", "Geeza Pro", Tahoma, sans-serif;
  --lat: "Helvetica Neue", -apple-system, "Segoe UI", Arial, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--ar); font-size: 16px; line-height: 1.7; }
a { color: inherit; }
img { display: block; }
h1, h2, h3, p, ol, ul, dl, dd { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; border: 0; }
code { font-family: var(--lat); font-weight: 800; letter-spacing: .06em; }
:focus-visible { outline: 2px solid var(--hi); outline-offset: 3px; }
.wrap { width: min(1080px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; inset-inline-start: -9999px; }
.skip:focus { inset-inline-start: 16px; top: 8px; z-index: 9; background: var(--hi); color: var(--hi-ink); padding: 6px 12px; }

/* Bar */
.bar { border-bottom: 1px solid var(--line); }
.bar-in { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.mark { font-family: var(--lat); font-weight: 900; font-size: 22px; letter-spacing: -.02em; text-decoration: none; }
.mark::after { content: ""; display: inline-block; width: 9px; height: 9px; background: var(--hi); margin-inline-start: 4px; }
.bar nav { display: flex; gap: 22px; font-size: 15px; }
.bar nav a { color: var(--mute); text-decoration: none; }
.bar nav a:hover, .bar nav a[aria-current] { color: var(--ink); }

/* Ticker */
.ticker { display: flex; overflow: hidden; background: var(--hi); color: var(--hi-ink); direction: ltr; white-space: nowrap; }
.track { display: flex; flex: none; animation: run 40s linear infinite; }
.track span { display: inline-flex; gap: 10px; align-items: baseline; padding: 7px 22px; font-size: 14px; border-inline-end: 1px solid rgba(0,0,0,.25); }
.track b { font-family: var(--lat); font-weight: 600; }
.track span { align-items: center; }
.track img { width: 22px; height: 22px; object-fit: cover; }
.track code { font-size: 14px; }
@keyframes run { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .track { animation: none; } }

/* Intro */
.intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 48px 0 20px; border-bottom: 2px solid var(--ink); }
.intro h1 { font-size: clamp(30px, 5.4vw, 60px); font-weight: 900; line-height: 1.15; letter-spacing: -.01em; }
.intro p { color: var(--mute); font-size: 15px; }
.h1-date { display: block; font-size: max(14px, .32em); font-weight: 700; color: var(--hi); letter-spacing: 0; margin-top: 6px; }
.brand-top .h1-date { font-size: .42em; }

/* Live refresh bar */
.live { border-bottom: 1px solid var(--line); font-size: 13px; color: var(--mute); }
.live-in { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; min-height: 36px; padding: 6px 0; }
.live-tag { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 700; }
.live-tag::before { content: ""; width: 7px; height: 7px; background: #3ddc84; animation: blink 1.6s steps(2, start) infinite; }
.live time { color: var(--ink); font-family: var(--lat); }
.live-every { margin-inline-start: auto; }
@keyframes blink { to { visibility: hidden; } }
@media (prefers-reduced-motion: reduce) { .live-tag::before { animation: none; } }

/* Guides */
.guides { counter-reset: g; }
.guides li { counter-increment: g; border-bottom: 1px solid var(--line); }
.guides a { display: grid; grid-template-columns: 40px 1fr 1.3fr; gap: 20px; align-items: baseline; padding: 16px 0; text-decoration: none; }
.guides a::before { content: counter(g, decimal-leading-zero); font-family: var(--lat); font-weight: 900; color: var(--mute); }
.guides b { font-size: 17px; font-weight: 800; }
.guides span { color: var(--mute); font-size: 14px; }
.guides a:hover b { text-decoration: underline; text-decoration-color: var(--hi); text-underline-offset: 5px; }
.guide-h1 { font-size: clamp(26px, 4vw, 40px); font-weight: 900; line-height: 1.25; margin: 8px 0 12px; }
.lead { color: var(--mute); font-size: 17px; margin-bottom: 24px !important; }
.cols-guide { padding-top: 18px; }
.cols-guide aside { position: sticky; top: 20px; }
.aside-h { font-size: 13px; font-weight: 700; color: var(--mute); padding-bottom: 8px; border-bottom: 2px solid var(--ink); }
.cols-guide .others li a { grid-template-columns: 1fr auto; gap: 4px 12px; }
.cols-guide .others span { grid-column: 1 / -1; font-size: 13px; }
.text ol { list-style: decimal; padding-inline-start: 22px; margin-bottom: 12px; color: #cfccc4; }
.text ol li::marker { color: var(--hi); font-weight: 800; }
.ltr { unicode-bidi: isolate; font-family: var(--lat); font-weight: 700; color: var(--ink); white-space: nowrap; }
.text a { text-decoration-color: var(--hi); text-underline-offset: 4px; }
.text a:hover { color: var(--hi); }

/* Board */
.row { display: grid; grid-template-columns: 48px minmax(180px, 1.1fr) 1.3fr 230px 110px; align-items: center; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.row:hover { background: linear-gradient(to left, transparent, var(--bg-2) 20%, var(--bg-2) 80%, transparent); }
.n { font-family: var(--lat); font-size: 40px; font-weight: 900; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--mute); }
.row:first-child .n { color: var(--hi); -webkit-text-stroke: 0; }
.who { display: flex; align-items: center; gap: 14px; min-width: 0; }
.who h3 { font-family: var(--lat); font-size: 21px; font-weight: 800; line-height: 1.2; }
.who h3 a { text-decoration: none; }
.who h3 a:hover { text-decoration: underline; text-decoration-color: var(--hi); text-underline-offset: 4px; }
.meta { color: var(--mute); font-size: 13px; }
.logo { width: 44px; height: 44px; object-fit: cover; flex: none; background: var(--bg-2); }
.logo-letter { display: grid; place-items: center; font-weight: 900; }
.offer { font-weight: 700; font-size: 16px; line-height: 1.5; }

/* Code + buttons */
.code { display: flex; align-items: stretch; height: 46px; border: 2px dashed var(--hi); }
.code code { flex: 1; display: grid; place-items: center; color: var(--hi); font-size: 18px; }
.copy { background: var(--hi); color: var(--hi-ink); font-weight: 800; padding: 0 16px; font-size: 14px; }
.copy:hover { background: var(--ink); }
.copy.done { background: var(--ink); }
.go { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 46px; padding: 0 16px; border: 1px solid var(--ink); font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap; }
.go:hover { background: var(--ink); color: var(--bg); }

/* Sections */
.sec { padding: 56px 0 0; }
.sec-first { padding-top: 28px; }
.sec > h2 small { font-family: var(--lat); color: var(--hi); margin-inline-start: 6px; }
.sec > h2 { font-size: 13px; font-weight: 700; color: var(--mute); padding-bottom: 10px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); counter-reset: s; }
.steps li { counter-increment: s; padding-inline-end: 24px; color: var(--mute); }
.steps li + li { padding-inline-start: 24px; border-inline-start: 1px solid var(--line); }
.steps li::before { content: counter(s); display: block; font-family: var(--lat); font-weight: 900; font-size: 28px; color: var(--hi); line-height: 1.2; }
.steps b { display: block; color: var(--ink); font-size: 18px; }
.qa div { display: grid; grid-template-columns: 1fr 1.6fr; gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.qa dt { font-weight: 800; }
.qa dd { color: var(--mute); }

/* Brand page */
.crumbs { padding-top: 22px; font-size: 14px; color: var(--mute); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.brand-top { display: flex; align-items: center; gap: 18px; padding: 26px 0 28px; }
.brand-top .logo { width: 64px; height: 64px; }
.brand-top h1 { font-size: clamp(26px, 4.4vw, 46px); font-weight: 900; line-height: 1.2; }
.slab { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "label label label" "code value go"; gap: 14px 24px; align-items: center; background: var(--hi); color: var(--hi-ink); padding: 22px 24px; }
.slab-label { grid-area: label; font-size: 13px; font-weight: 700; }
.slab .code { grid-area: code; height: 60px; border-color: var(--hi-ink); }
.slab .code code { color: var(--hi-ink); font-size: 30px; padding: 0 24px; }
.slab .copy { background: var(--hi-ink); color: var(--hi); padding: 0 22px; font-size: 15px; }
.slab .copy:hover, .slab .copy.done { background: #333; }
.slab-value { grid-area: value; font-size: 20px; font-weight: 800; line-height: 1.4; }
.go-xl { grid-area: go; height: 60px; padding: 0 24px; background: var(--hi-ink); color: var(--hi); border: 0; font-size: 16px; }
.go-xl:hover { background: #333; color: var(--hi); }
.cols { display: grid; grid-template-columns: 1fr 320px; gap: 48px; padding-top: 40px; align-items: start; }
.text { max-width: 68ch; }
.text h2 { font-size: 22px; font-weight: 900; margin: 28px 0 8px; }
.text h2:first-child { margin-top: 0; }
.text h3 { font-size: 17px; font-weight: 800; margin: 18px 0 4px; }
.text p, .text ul { margin-bottom: 12px; color: #cfccc4; }
.text ul { list-style: square; padding-inline-start: 20px; }
.text li::marker { color: var(--hi); }
.facts { width: 100%; border-collapse: collapse; font-size: 14px; border-top: 2px solid var(--ink); }
.facts th, .facts td { text-align: start; vertical-align: top; padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts th { color: var(--mute); font-weight: 400; width: 42%; padding-inline-end: 12px; }
.facts td { font-weight: 700; }
.others li a { display: grid; grid-template-columns: 140px 140px 1fr; gap: 20px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.others b { font-family: var(--lat); font-size: 18px; }
.others code { color: var(--hi); }
.others span { color: var(--mute); }
.others a:hover b { text-decoration: underline; text-decoration-color: var(--hi); }

/* Footer */
.foot { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: start; margin-top: 72px; padding: 24px 0 40px; border-top: 1px solid var(--line); color: var(--mute); font-size: 13px; }
.age { font-family: var(--lat); font-weight: 900; font-size: 13px; border: 1px solid var(--mute); padding: 2px 6px; color: var(--ink); }
.foot-name { font-family: var(--lat); font-weight: 900; color: var(--ink); }

@media (max-width: 900px) {
  .row { grid-template-columns: 40px 1fr auto; grid-template-areas: "n who go" "n offer offer" "n code code"; gap: 10px 14px; }
  .n { grid-area: n; align-self: start; font-size: 32px; }
  .who { grid-area: who; } .offer { grid-area: offer; } .row .code { grid-area: code; } .row .go { grid-area: go; height: 40px; }
  .cols { grid-template-columns: 1fr; gap: 32px; }
  .cols aside { order: -1; }
  .cols-guide aside { order: 0; position: static; }
  .guides a { grid-template-columns: 32px 1fr; }
  .guides span { grid-column: 2; }
  .live-every { display: none; }
  .slab { grid-template-columns: 1fr; grid-template-areas: "label" "value" "code" "go"; }
}
@media (max-width: 600px) {
  .intro { flex-direction: column; align-items: flex-start; gap: 8px; padding-top: 32px; }
  .bar nav { gap: 14px; font-size: 14px; }
  .steps { grid-template-columns: 1fr; gap: 18px; }
  .steps li, .steps li + li { padding: 0; border: 0; }
  .qa div { grid-template-columns: 1fr; gap: 4px; }
  .others li a { grid-template-columns: 1fr auto; }
  .others span { grid-column: 1 / -1; }
  .slab { padding: 18px; }
  .slab .code code { font-size: 24px; padding: 0 12px; }
  .foot { grid-template-columns: auto 1fr; }
  .foot-name { grid-column: 1 / -1; }
}
