/* Saudi Founders — site styles. Brand tokens from saudi-founders-brand (Design System artifact). */
@font-face { font-family: "Tajarib"; src: url("/assets/fonts/Tajarib-Regular.otf") format("opentype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Tajarib"; src: url("/assets/fonts/Tajarib-Bold.otf") format("opentype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Tajarib"; src: url("/assets/fonts/Tajarib-Black.otf") format("opentype"); font-weight: 900; font-display: swap; }

:root {
  --green: #0E5A43; --gold: #D9A441; --paper: #F4EEE2; --night: #0A2A20; --ink: #161616; --mint: #DDEFE7; --coral: #EF5B4C;
  --paper-2: #EBE3D3; --line: rgba(22, 22, 22, .14); --muted: #5E5A52; --card: #FBF8F2;
  --radius: 18px; --radius-sm: 10px; --wrap: 1200px;
  --font: "Tajarib", "Geeza Pro", "Noto Kufi Arabic", system-ui, sans-serif;
  /* Najdi stepped parapet with triangular vent — same geometry as the brand icon, tiled */
  --najdi-gold: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 40'%3E%3Cpath fill='%23D9A441' fill-rule='evenodd' d='M3 28V21H9.25V14H15.5V7H21.75V0H34.25V7H40.5V14H46.75V21H53V28ZM19.5 28 28 13.3 36.5 28Z'/%3E%3Crect y='28' width='56' height='12.5' fill='%23D9A441'/%3E%3C/svg%3E");
  --najdi-green: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 40'%3E%3Cpath fill='%230E5A43' fill-rule='evenodd' d='M3 28V21H9.25V14H15.5V7H21.75V0H34.25V7H40.5V14H46.75V21H53V28ZM19.5 28 28 13.3 36.5 28Z'/%3E%3Crect y='28' width='56' height='12.5' fill='%230E5A43'/%3E%3C/svg%3E");
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }   /* filters toggle `hidden`; component display rules must not override it */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body { overflow-x: clip; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 18px; line-height: 1.75; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { text-wrap: balance; line-height: 1.25; margin: 0 0 .5em; font-weight: 900; letter-spacing: 0; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.45rem, 2.8vw, 2.1rem); }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 32px); margin-inline: auto; }
.center { text-align: center; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute !important; width: 1px !important; height: 1px !important; min-height: 0 !important; padding: 0 !important; border: 0 !important; inset-inline-start: 0; overflow: hidden; clip: rect(0 0 0 0); opacity: 0; pointer-events: none; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 99; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
.muted { color: var(--muted); } .small { font-size: .9rem; }
.en { font-weight: 400; color: var(--muted); font-size: .55em; direction: ltr; unicode-bidi: isolate; }
.money { font-weight: 900; color: var(--green); white-space: nowrap; }

/* buttons, chips, tags */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 2px solid transparent; font: 700 1rem/1 var(--font); text-decoration: none; cursor: pointer; transition: transform .15s, background .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--night); }
.btn-gold:hover { background: #e4b354; }
.btn-green { background: var(--green); color: var(--paper); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost-light { border-color: rgba(244, 238, 226, .6); color: var(--paper); background: transparent; }
.chip { display: inline-block; font-size: .78rem; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: var(--ink); color: var(--paper); }
.chip-story { background: var(--green); } .chip-news { background: var(--coral); } .chip-article { background: var(--night); } .chip-blog { background: var(--gold); color: var(--night); }
.chip-sample { background: transparent; color: var(--coral); border: 1px dashed var(--coral); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { display: inline-block; font-size: .8rem; padding: 2px 10px; border-radius: 999px; background: var(--mint); color: var(--green); font-weight: 700; }
.tag-stage { background: var(--gold); color: var(--night); }
.eyebrow { font-size: .9rem; font-weight: 700; color: var(--green); margin-bottom: .6em; display: flex; align-items: center; gap: 8px; }
.eyebrow.light { color: var(--gold); }
.eyebrow .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(217, 164, 65, .25); }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #3b3832; max-width: 62ch; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .85rem; color: var(--muted); margin-bottom: .4em; }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; color: var(--green); }
.more svg, .read svg { width: 18px; height: 18px; }
.mono { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--green); color: var(--paper); font-weight: 900; font-size: 1.5rem; line-height: 1; }
.mono-round { border-radius: 50%; background: var(--gold); color: var(--night); }
.mono-sm { width: 38px; height: 38px; font-size: 1.05rem; border-radius: 10px; }
.mono-xl { width: 96px; height: 96px; font-size: 2.8rem; border-radius: 24px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(244, 238, 226, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 70px; }
.brand img { height: 42px; width: auto; display: block; }
@media (max-width: 520px) { .brand img { height: 36px; } }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) { text-decoration: none; font-weight: 700; padding: 8px 12px; border-radius: 999px; font-size: .98rem; }
.nav a:not(.btn):hover, .nav a[aria-current] { background: var(--paper-2); }
.nav-cta { min-height: 42px; margin-inline-start: 8px; }
.menu-btn { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
.menu-btn svg { width: 28px; height: 28px; }
@media (max-width: 980px) {
  .menu-btn { display: block; }
  .nav { position: fixed; inset: 70px 0 auto 0; flex-direction: column; align-items: stretch; background: var(--paper); padding: 12px 16px 20px; border-bottom: 1px solid var(--line); display: none; }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 12px; font-size: 1.1rem; }
  .nav-cta { margin: 8px 0 0; }
}

/* sections */
.section { padding: clamp(44px, 7vw, 88px) 0; }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.sec-head h2 { margin: 0; }
.page-head { padding: clamp(40px, 7vw, 84px) 0 24px; }
.grid-2 { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); }
.grid-3 { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; display: block; transition: transform .18s, box-shadow .18s; }
a.card:hover, .card a:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -18px rgba(10, 42, 32, .45); }

/* Najdi parapet band */
.najdi { height: 40px; background: var(--najdi-gold) repeat-x center bottom / 56px 40px; }
.najdi-footer { height: 36px; background-size: 50px 36px; }
.najdi-in-cover { position: absolute; inset: auto 0 0 0; height: 30px; background-size: 42px 30px; opacity: .95; }

/* hero */
.hero { padding: clamp(32px, 6vw, 72px) 0 clamp(36px, 6vw, 64px); }
.hero-grid { display: grid; gap: clamp(28px, 4vw, 56px); grid-template-columns: 1.05fr 1fr; align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 5.6vw, 4.4rem); line-height: 1.12; }
.hero h1 .u { background: linear-gradient(transparent 62%, rgba(217, 164, 65, .55) 62%, rgba(217, 164, 65, .55) 90%, transparent 90%); }
.fine { font-size: .88rem; color: var(--muted); margin-top: 10px; }
.feature { display: block; text-decoration: none; background: var(--card); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.feature:hover { transform: rotate(-.4deg) translateY(-4px); box-shadow: 0 30px 50px -30px rgba(10, 42, 32, .55); }
.feature-cover { position: relative; aspect-ratio: 16 / 10; background: radial-gradient(120% 90% at 85% 10%, #13704f 0%, var(--green) 45%, var(--night) 100%); color: var(--paper); display: grid; place-items: center; overflow: hidden; }
.feature-mark { font-weight: 900; font-size: clamp(5rem, 13vw, 9rem); line-height: 1; letter-spacing: 0; margin-top: -24px; text-shadow: 0 10px 40px rgba(0, 0, 0, .25); }
.feature-kicker { position: absolute; top: 16px; inset-inline-start: 16px; background: var(--gold); color: var(--night); font-weight: 700; font-size: .85rem; padding: 4px 12px; border-radius: 999px; }
.feature-body { padding: 22px 24px 26px; }
.feature-body h2 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); }
.feature-body p { color: var(--muted); }
.read { display: inline-flex; gap: 6px; align-items: center; font-weight: 700; color: var(--green); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

/* subscribe form */
.subscribe { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; max-width: 520px; }
.subscribe input[type=email] { flex: 1 1 220px; min-height: 52px; border-radius: 999px; border: 2px solid var(--ink); background: #fff; padding: 0 20px; font: 400 1rem var(--font); text-align: right; }
.subscribe input[type=email]::placeholder { text-align: right; }
.subscribe .btn { min-height: 52px; }
.form-msg { flex-basis: 100%; margin: 0; font-size: .9rem; font-weight: 700; min-height: 1.2em; }
.form-msg.ok { color: var(--green); } .form-msg.err { color: var(--coral); }
.subscribe-hero { margin-inline: 0; }
.center .subscribe { margin-inline: auto; }

/* 3 questions band */
.questions { background: var(--night); color: var(--paper); padding: clamp(36px, 6vw, 64px) 0; position: relative; }
.q-grid { display: grid; grid-template-columns: .8fr 1.6fr; gap: 28px; align-items: center; }
.q-title { color: var(--paper); margin: 0; }
.q-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.q-list li { border: 1px solid rgba(244, 238, 226, .2); border-radius: var(--radius); padding: 18px; font-weight: 700; font-size: 1.08rem; line-height: 1.5; }
.q-list span { display: block; color: var(--gold); font-weight: 900; font-size: 2.2rem; line-height: 1; margin-bottom: 10px; }
@media (max-width: 900px) { .q-grid, .q-list { grid-template-columns: 1fr; } }

/* posts */
.latest { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; }
@media (max-width: 980px) { .latest { grid-template-columns: minmax(0, 1fr); } }
.post { overflow: hidden; }
.post-link { display: block; text-decoration: none; height: 100%; }
.post-cover { position: relative; aspect-ratio: 16 / 9; display: grid; place-items: center; overflow: hidden; color: var(--paper); }
.cover-story { background: var(--green); } .cover-news { background: var(--night); } .cover-article { background: #1B4B3D; } .cover-blog { background: var(--gold); color: var(--night); }
.cover-mark { font-weight: 900; font-size: 5.5rem; line-height: 1; opacity: .16; transform: translateY(8px); }
.cover-kicker { position: absolute; bottom: 12px; inset-inline-start: 14px; font-size: .85rem; font-weight: 700; }
.post-body { padding: 16px 18px 20px; }
.post h3 { font-size: 1.15rem; line-height: 1.5; margin: 0; }
.post-big { grid-column: 1 / -1; }
.post-big .post-link { display: grid; grid-template-columns: 1.1fr 1fr; }
.post-big .post-cover { aspect-ratio: auto; min-height: 260px; }
.post-big h3 { font-size: clamp(1.4rem, 2.6vw, 2rem); }
.post-big p { color: var(--muted); margin-top: .6em; }
@media (max-width: 700px) { .post-big .post-link { grid-template-columns: 1fr; } .post-big .post-cover { min-height: 180px; } }

/* funding rail */
.rail { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; position: sticky; top: 90px; }
.rail-title { font-size: 1.1rem; display: flex; align-items: center; gap: 8px; }
.rail-title::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 4px rgba(239, 91, 76, .2); }
.rounds { list-style: none; padding: 0; margin: 0 0 12px; }
.rounds li + li { border-top: 1px solid var(--line); }
.rounds a { display: flex; gap: 12px; padding: 12px 0; text-decoration: none; align-items: flex-start; line-height: 1.5; }
.rounds small { display: block; color: var(--muted); font-size: .82rem; }

/* directory teaser */
.dir-band { background: var(--green); color: var(--paper); border-radius: 28px; padding: clamp(24px, 5vw, 56px); display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.dir-band::after { content: ""; position: absolute; inset: auto 0 0 0; height: 30px; background: var(--najdi-gold) repeat-x center bottom / 42px 30px; opacity: .9; }
.dir-band h2 { color: var(--paper); }
.dir-copy > p { color: rgba(244, 238, 226, .85); }
.dir-search { display: flex; align-items: center; gap: 8px; background: var(--paper); border-radius: 999px; padding: 6px; padding-inline-start: 16px; margin: 18px 0; color: var(--ink); }
.dir-search svg { width: 22px; height: 22px; flex: none; color: var(--muted); }
.dir-search input { flex: 1; min-width: 0; border: 0; background: transparent; font: 400 1rem var(--font); min-height: 44px; outline: none; }
.counts { display: flex; flex-wrap: wrap; gap: 18px; font-weight: 700; padding-bottom: 24px; }
.counts a { text-decoration: none; color: var(--paper); }
.counts b { color: var(--gold); font-size: 1.6rem; }
.dir-cards { display: grid; gap: 14px; padding-bottom: 24px; }
.dir-cards .co { color: var(--ink); }
@media (max-width: 900px) { .dir-band { grid-template-columns: 1fr; } }

/* startup + founder cards */
.co { padding: 18px; }
.co-head { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 10px; }
.co h3 { margin: 0 0 4px; }
.co > p { color: var(--muted); font-size: .98rem; line-height: 1.6; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 0; padding-top: 12px; border-top: 1px dashed var(--line); }
.stats dt { font-size: .75rem; color: var(--muted); }
.stats dd { margin: 0; font-weight: 700; font-size: .92rem; }
@media (max-width: 480px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.person { display: flex; gap: 14px; padding: 16px; align-items: flex-start; }
.person h3 { margin: 0; }
.person p { margin: 2px 0 8px; color: var(--muted); font-size: .95rem; line-height: 1.55; }

/* perks table */
.perks-table { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--card); }
.pt-row { display: grid; grid-template-columns: 1.1fr 1.6fr 1fr 1fr; gap: 12px; padding: 16px 20px; align-items: center; }
.pt-row + .pt-row { border-top: 1px solid var(--line); }
.pt-head { background: var(--paper-2); font-size: .85rem; font-weight: 700; color: var(--muted); padding-block: 10px; }
.pt-partner { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.pt-offer { font-weight: 700; color: var(--green); }
.is-slot .pt-partner { color: var(--muted); font-weight: 400; }
.is-slot .pt-offer { color: var(--muted); font-weight: 400; font-style: normal; }
.access { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 700; }
.access svg { width: 16px; height: 16px; }
.access.premium { color: #9a6c12; } .access.free { color: var(--green); }
.medal { flex: none; width: 22px; height: 22px; border-radius: 50%; display: inline-block; background: var(--paper-2); box-shadow: inset 0 0 0 3px rgba(0, 0, 0, .06); vertical-align: middle; }
.medal-platinum { background: linear-gradient(135deg, #f4f2ee, #bdb8ad); } .medal-gold { background: linear-gradient(135deg, #f0c870, #b98522); } .medal-silver { background: linear-gradient(135deg, #e3e8e6, #98a39e); } .medal-community { background: var(--mint); }
@media (max-width: 760px) { .pt-head { display: none; } .pt-row { grid-template-columns: 1fr; gap: 6px; } }

/* newsletter tiers */
.newsletter { background: var(--paper-2); }
.nl-head { max-width: 640px; margin-bottom: 28px; }
.tiers { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.tier { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 28px; position: relative; }
.tier h3 { font-size: 1.4rem; margin-bottom: 4px; }
.price { color: var(--muted); margin-bottom: 14px; } .price b { font-size: 2rem; color: var(--ink); font-weight: 900; }
.tier-premium { background: var(--night); color: var(--paper); border-color: var(--night); overflow: hidden; }
.tier-premium::after { content: ""; position: absolute; inset: auto 0 0 0; height: 26px; background: var(--najdi-gold) repeat-x center bottom / 36px 26px; opacity: .85; }
.tier-premium .price, .tier-premium .price b { color: var(--gold); }
.tier-premium .btn { margin-bottom: 18px; }
.ribbon { position: absolute; top: 20px; inset-inline-end: 20px; background: var(--gold); color: var(--night); font-weight: 700; font-size: .8rem; padding: 3px 12px; border-radius: 999px; }
.ticks { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.55; }
.ticks svg { flex: none; width: 20px; height: 20px; color: var(--gold); margin-top: 4px; }
.tier:not(.tier-premium) .ticks svg { color: var(--green); }
@media (max-width: 760px) { .tiers { grid-template-columns: 1fr; } }

/* partners */
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.slot { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 26px 16px; border: 2px dashed var(--line); border-radius: var(--radius); text-decoration: none; text-align: center; }
.slot .medal { width: 34px; height: 34px; }
.slot-platinum .medal { background: linear-gradient(135deg, #f4f2ee, #bdb8ad); } .slot-gold .medal { background: linear-gradient(135deg, #f0c870, #b98522); } .slot-silver .medal { background: linear-gradient(135deg, #e3e8e6, #98a39e); }
.slot small { color: var(--muted); }
.slot:hover { border-color: var(--gold); background: var(--card); }
@media (max-width: 600px) { .slots { grid-template-columns: 1fr; } }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.tier-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 28px; }
.tcard { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.tcard .medal { width: 40px; height: 40px; margin-bottom: 10px; }
.tcard h3 { margin: 0; } .tcard .en { font-size: .85rem; margin-bottom: 8px; display: block; }
.tcard p { font-size: .95rem; line-height: 1.6; } .tcard small { color: var(--muted); font-weight: 700; }
.tcard-platinum { background: var(--night); color: var(--paper); border-color: var(--night); }
.tcard-platinum small, .tcard-platinum .en { color: rgba(244, 238, 226, .7); }
@media (max-width: 900px) { .tier-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .tier-cards { grid-template-columns: 1fr; } }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: start; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--paper-2); font-size: .85rem; white-space: nowrap; }
thead th .medal { width: 16px; height: 16px; margin-inline-end: 6px; }
tbody tr:last-child > * { border-bottom: 0; }
.compare tbody th { font-weight: 700; white-space: nowrap; }
.ad-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: start; }
.principles { background: var(--mint); border-radius: var(--radius); padding: 24px; }
@media (max-width: 800px) { .ad-grid { grid-template-columns: 1fr; } }

/* forms */
.form { display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 700; font-size: .95rem; }
.form input:not([type=radio]), .form select, .form textarea { font: 400 1rem var(--font); padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; min-height: 48px; width: 100%; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.seg { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { display: inline-flex; flex-direction: row; align-items: center; gap: 8px; padding: 10px 16px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--card); cursor: pointer; font-weight: 700; }
.seg label:has(input:checked) { border-color: var(--green); background: var(--mint); }

/* filters & directory */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.pill { font: 700 .95rem var(--font); padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--ink); background: transparent; cursor: pointer; }
.pill[aria-pressed=true] { background: var(--ink); color: var(--paper); }
.dir-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 28px; align-items: start; }
.dir-filters { display: grid; gap: 10px; position: sticky; top: 90px; }
.field { display: flex; align-items: center; gap: 8px; border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding-inline: 14px; }
.field svg { width: 20px; height: 20px; color: var(--muted); flex: none; }
.field input { border: 0; outline: 0; min-height: 46px; font: 400 1rem var(--font); width: 100%; background: transparent; }
.field-label { font-weight: 700; font-size: .9rem; margin-top: 6px; }
.dir-filters select { font: 400 1rem var(--font); min-height: 46px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; padding: 0 12px; }
.add { margin-top: 10px; }
.investor-note { display: flex; gap: 10px; background: var(--night); color: var(--paper); border-radius: var(--radius); padding: 16px; margin-top: 8px; font-size: .9rem; line-height: 1.55; }
.investor-note svg { width: 22px; height: 22px; color: var(--gold); flex: none; }
.investor-note p { margin: 4px 0 0; color: rgba(244, 238, 226, .8); }
.result-count { color: var(--muted); font-weight: 700; margin-bottom: 12px; }
@media (max-width: 900px) { .dir-layout { grid-template-columns: minmax(0, 1fr); } .dir-filters { position: static; } }

/* profile pages */
.profile-head { padding: clamp(28px, 5vw, 56px) 0 8px; }
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { text-decoration: none; }
.ph-grid { display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center; }
.ph-grid h1 { margin-bottom: .2em; }
@media (max-width: 700px) { .ph-grid { grid-template-columns: 1fr; } }
.sample-note { background: #fff1ef; border: 1px dashed var(--coral); color: #9b2c22; padding: 10px 14px; border-radius: 12px; font-weight: 700; font-size: .92rem; }
.profile-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; }
@media (max-width: 900px) { .profile-grid { grid-template-columns: minmax(0, 1fr); } }
.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 8px; position: sticky; top: 70px; background: var(--paper); z-index: 5; overflow-x: auto; }
.tabs a { text-decoration: none; font-weight: 700; padding: 12px 14px; border-bottom: 3px solid transparent; white-space: nowrap; }
.tabs a:hover { border-bottom-color: var(--gold); }
.block { padding: 28px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 130px; }
.block:last-child { border-bottom: 0; }
.facts { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: sticky; top: 90px; }
.facts dl { margin: 0; display: grid; gap: 14px; }
.facts dt { font-size: .82rem; color: var(--muted); }
.facts dd { margin: 0; font-weight: 700; }
.facts .big { font-size: 1.6rem; }
.sources { display: grid; gap: 6px; margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line); font-size: .85rem; }
.sources a { overflow-wrap: anywhere; color: var(--green); direction: ltr; text-align: start; unicode-bidi: plaintext; }
.claim { display: block; margin-top: 18px; font-size: .9rem; font-weight: 700; color: var(--green); }
.founded .role { color: var(--muted); font-weight: 700; margin-top: 8px; }
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; border-inline-start: 2px solid var(--gold); padding-inline-start: 18px; }
.timeline li { display: grid; position: relative; }
.timeline li::before { content: ""; position: absolute; inset-inline-start: -25px; top: 9px; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); }
.timeline small, .timeline span { color: var(--muted); }

/* article */
.article-head { padding: clamp(28px, 5vw, 56px) 0 10px; }
.article-head h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); }
.byline { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.byline small { display: block; color: var(--muted); }
.article-grid { display: grid; grid-template-columns: minmax(0, 720px) 320px; justify-content: space-between; gap: 40px; padding-block: 24px 40px; }
@media (max-width: 980px) { .article-grid { grid-template-columns: minmax(0, 1fr); } }
.prose { font-size: 1.15rem; line-height: 1.95; }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.prose a { color: var(--green); font-weight: 700; }
.prose blockquote { margin: 1.6em 0; padding: 18px 22px; background: var(--mint); border-inline-start: 5px solid var(--green); border-radius: 12px; font-weight: 700; font-size: 1.2rem; }
.prose ul, .prose ol { padding-inline-start: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--gold); font-weight: 900; }
.article-aside { display: grid; gap: 22px; align-content: start; }
.mini-label { font-size: .85rem; font-weight: 700; color: var(--muted); margin-bottom: 8px; }
.nl-mini { background: var(--night); color: var(--paper); border-radius: var(--radius); padding: 20px; }
.nl-mini .mini-label { color: var(--gold); }
.nl-mini .subscribe input { border-color: transparent; }
.related { background: var(--paper-2); }

/* newsletter page */
.issue-anatomy { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.anat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.anat span { color: var(--gold); font-weight: 900; font-size: 1.8rem; }
@media (max-width: 900px) { .issue-anatomy { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .issue-anatomy { grid-template-columns: 1fr; } }
.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; background: var(--green); color: var(--paper); border-radius: 24px; padding: clamp(22px, 4vw, 40px); margin: 32px 0; }
.cta-band h2 { color: var(--paper); margin-bottom: .2em; }
.cta-band p { color: rgba(244, 238, 226, .85); margin: 0; }
.cta-band .subscribe { margin: 0; }
.programs .program { padding: 18px; display: grid; gap: 6px; }
.programs p { color: var(--muted); margin: 0; }

/* footer */
.site-footer { margin-top: 40px; }
.footer-inner { background: var(--night); color: var(--paper); padding: 48px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 28px; }
.footer-grid h3 { color: var(--gold); font-size: 1rem; }
.footer-grid a { display: block; text-decoration: none; color: rgba(244, 238, 226, .85); padding: 4px 0; }
.footer-grid a:hover { color: var(--gold); }
.footer-brand img { height: 50px; width: auto; margin-bottom: 14px; }
.footer-brand p { color: rgba(244, 238, 226, .75); font-size: .95rem; max-width: 40ch; }
.socials { display: flex; gap: 8px; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(244, 238, 226, .08); padding: 0; }
.socials svg { width: 20px; height: 20px; }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(244, 238, 226, .15); font-size: .88rem; color: rgba(244, 238, 226, .65); }
.footer-base a { color: inherit; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }

@media (max-width: 600px) {
  .post-cover { aspect-ratio: 21 / 9; }
  .post-cover:has(.cover-img) { aspect-ratio: 16 / 9; }  /* thumbnails are 16:9 — never crop the logo or the Najdi band */
  .cover-mark { font-size: 3.6rem; }
  .hero h1 { font-size: 2.35rem; }
}

/* research-driven additions: verified badge, newsletter lists (Thmanyah pattern), slot anatomy (TLDR pattern) */
.chip-verified { background: var(--mint); color: var(--green); border: 1px solid rgba(14, 90, 67, .25); }
.counts span { color: var(--paper); }
.fine.light { color: rgba(244, 238, 226, .7); }
.nl-lists { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; }
.nl-lists li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.5; }
.nl-lists small { display: block; color: var(--muted); }
.nl-emoji { font-size: 1.5rem; line-height: 1.2; }
.nl-picker fieldset { border: 0; padding: 0; margin: 22px 0 6px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; text-align: start; }
.nl-card { position: relative; display: grid; gap: 4px; align-content: start; padding: 18px; padding-top: 16px; background: var(--card); border: 2px solid var(--line); border-radius: var(--radius); cursor: pointer; transition: border-color .15s, background .15s; }
.nl-card input { position: absolute; top: 16px; inset-inline-end: 16px; width: 20px; height: 20px; accent-color: var(--green); }
.nl-card small { color: var(--green); font-weight: 700; }
.nl-card span:last-child { color: var(--muted); font-size: .95rem; line-height: 1.55; }
.nl-card:has(input:checked) { border-color: var(--green); background: var(--mint); }
.nl-picker .subscribe { margin-inline: auto; }
@media (max-width: 760px) { .nl-picker fieldset { grid-template-columns: 1fr; } }
.slot-anatomy { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-bottom: 16px; display: grid; gap: 8px; }
.sa { border: 1px dashed var(--line); border-radius: 10px; padding: 10px 14px; display: flex; justify-content: space-between; gap: 10px; font-size: .92rem; }
.sa small { color: var(--muted); }
.sa-top { background: var(--gold); border: 0; } .sa-top small { color: var(--night); }
.sa-mid { background: var(--mint); border: 0; }
.sa-quick { border-style: solid; }

/* phase 0: documentaries, share, profile extras */
.cover-video { background: var(--night); }
.post-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; opacity: .9; }
.play { position: relative; z-index: 1; width: 58px; height: 58px; border-radius: 50%; background: var(--gold); color: var(--night); display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.35); }
.play svg { width: 28px; height: 28px; margin-inline-start: 3px; }
.cover-video .cover-kicker { z-index: 1; background: rgba(10,42,32,.75); padding: 2px 10px; border-radius: 999px; }
.yt { position: relative; display: block; aspect-ratio: 9 / 16; width: min(100%, 340px); margin: 8px auto 14px; border-radius: 22px; overflow: hidden; background: var(--night); box-shadow: 0 20px 40px -24px rgba(10,42,32,.6); }
.yt img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.yt::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 60%, rgba(10,42,32,.55)); pointer-events: none; }
.yt-play { position: absolute; inset: 0; margin: auto; z-index: 1; width: 72px; height: 72px; border-radius: 50%; background: var(--gold); color: var(--night); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.4); transition: transform .15s; }
.yt:hover .yt-play { transform: scale(1.06); }
.yt-play svg { width: 34px; height: 34px; margin-inline-start: 4px; }
.yt-badge { position: absolute; bottom: 12px; inset-inline-start: 12px; z-index: 1; display: inline-flex; align-items: center; gap: 6px; background: rgba(10,42,32,.8); color: var(--paper); font-size: .85rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.yt-badge svg { width: 18px; height: 18px; color: #ff3b30; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 2; }
.yt.playing .yt-play, .yt.playing .yt-badge { display: none; }
.feature-video { padding: 16px; display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 18px; align-items: center; }
.feature-video .yt { margin: 0; width: 100%; }
.feature-video .feature-body { display: block; text-decoration: none; padding: 0; }
@media (max-width: 520px) { .feature-video { grid-template-columns: minmax(0, 150px) minmax(0, 1fr); gap: 14px; padding: 12px; } .feature-video .feature-body h2 { font-size: 1.15rem; } .feature-video .feature-body p { display: none; } .feature-video .yt-play { width: 52px; height: 52px; } .feature-video .yt-badge { display: none; } }
.share { display: flex; align-items: center; gap: 8px; margin: 18px 0; flex-wrap: wrap; color: var(--muted); font-weight: 700; font-size: .92rem; }
.share a, .share button { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; padding: 0; }
.share a:hover, .share button:hover { border-color: var(--green); color: var(--green); }
.share svg { width: 18px; height: 18px; }
.share button.copied { background: var(--mint); border-color: var(--green); }
.answer { margin-top: 18px; background: var(--card); border: 1px solid var(--line); border-inline-start: 4px solid var(--gold); border-radius: 12px; padding: 14px 18px; font-size: 1.05rem; line-height: 1.8; max-width: 900px; }
.status-note { margin-top: 10px; background: #fff4e5; border: 1px solid #f0c27a; border-radius: 12px; padding: 10px 14px; font-weight: 700; max-width: 900px; }
.chip-unicorn { background: linear-gradient(135deg, #f0c870, #d9a441); color: var(--night); }
.chip-status { background: #f6d9c8; color: #7a3416; }
.products { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); margin-bottom: 18px; }
.product { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.product p { color: var(--muted); font-size: .95rem; line-height: 1.6; margin: 4px 0 8px; }
.tag-model { background: var(--paper-2); color: var(--ink); }
.disclosures { background: var(--paper-2); border-radius: 12px; padding: 12px 16px; margin-top: 16px; font-size: .95rem; }
.disclosures ul { margin: 6px 0 0; padding-inline-start: 1.2em; }
.film-soon { display: flex; gap: 14px; align-items: flex-start; background: var(--night); color: var(--paper); border-radius: var(--radius); padding: 20px; }
.film-soon > svg { width: 44px; height: 44px; flex: none; color: var(--night); background: var(--gold); border-radius: 50%; padding: 10px; }
.film-soon p { color: rgba(244,238,226,.8); margin: 6px 0; }
.film-soon .more { color: var(--gold); }
.film-meta { color: var(--muted); font-size: .92rem; }
.rounds-table .val { display: block; color: var(--muted); font-weight: 400; }
.faq details { border-bottom: 1px solid var(--line); padding: 12px 0; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq details p { margin: 8px 0 0; color: #3b3832; }
details.sources summary { cursor: pointer; list-style: none; }
details.sources[open] summary { margin-bottom: 6px; }
.upcoming { margin-top: 22px; background: var(--card); border: 1px dashed var(--gold); border-radius: var(--radius); padding: 16px 18px; }
.upcoming h3 { margin: 0 0 8px; }
.upcoming ol { list-style: none; margin: 0 0 8px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 160px), 1fr)); gap: 8px; }
.upcoming a { display: flex; justify-content: space-between; gap: 8px; text-decoration: none; background: var(--paper); border-radius: 10px; padding: 8px 12px; font-size: .92rem; }
.upcoming span { color: var(--muted); }

/* mobile alignment fixes */
@media (max-width: 900px) { .dir-band { grid-template-columns: minmax(0, 1fr); padding: 22px 18px 34px; border-radius: 22px; } .hero-grid { grid-template-columns: minmax(0, 1fr); } }
.dir-search { min-width: 0; } .dir-search input { min-width: 0; }
.counts { gap: 10px 18px; } .counts b { font-size: 1.35rem; }
@media (max-width: 520px) {
  .dir-search .btn { padding: 0 16px; }
  .tier { padding: 22px 18px; border-radius: 20px; }
  .newsletter .wrap, .section .wrap { width: min(var(--wrap), 100% - 28px); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .co p, .co h3 { overflow-wrap: anywhere; }
}

/* funding rounds as stacked cards on phones */
@media (max-width: 600px) {
  .table-wrap:has(.rounds-table) { border: 0; background: none; overflow: visible; }
  .rounds-table, .rounds-table tbody, .rounds-table tr, .rounds-table td { display: block; width: 100%; }
  .rounds-table thead { display: none; }
  .rounds-table tr { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; margin-bottom: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; }
  .rounds-table td { border: 0; padding: 0; font-size: .92rem; }
  .rounds-table td::before { content: attr(data-l); display: block; font-size: .75rem; color: var(--muted); font-weight: 400; }
  .rounds-table td[data-l="المستثمرون"] { grid-column: 1 / -1; }
}

/* real logos + thumbnails */
.mono.logo { background: #fff; padding: 0; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.mono.logo img { width: 100%; height: 100%; object-fit: cover; }
.mono.logo-pad img { object-fit: contain; padding: 14%; }
.mono-xs { width: 28px; height: 28px; border-radius: 8px; font-size: .8rem; flex: none; }
.upcoming a { align-items: center; } .upcoming a b { flex: 1; }
.person-av { position: relative; flex: none; }
.person-av .mono-badge { position: absolute; bottom: -4px; inset-inline-end: -6px; width: 24px; height: 24px; border-radius: 7px; box-shadow: 0 0 0 2px var(--card); font-size: .7rem; }
.post-cover .cover-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 1; }
.feature-cover .cover-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.article-cover { width: 100%; height: auto; border-radius: var(--radius); margin: 4px 0 8px; display: block; }

.mono.photo { padding: 0; overflow: hidden; background: var(--paper-2); box-shadow: 0 0 0 2px var(--card), 0 0 0 3px var(--line); }
.mono.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-credit { font-size: .78rem; color: var(--muted); margin: 14px 0 0; }
.photo-credit a { color: inherit; }

.filter-reset { background: none; border: 0; color: var(--green); font: 700 .9rem var(--font); cursor: pointer; text-align: start; padding: 4px 0; text-decoration: underline; }
