/* Individuals pages: for-professionals, for-experts, for-creators.
   Loaded after home.css. Uses system tokens only; works in light, dark and RTL. */

/* ---------- Page hero (reuses .h-home grid from home.css) ---------- */
.ph .h1 { font-size: clamp(2.5rem, 1.25rem + 4vw, 4.6rem); line-height: 1.02; letter-spacing: -.024em; font-weight: 900; }
.ph .lede { max-width: 52ch; }
.ph .facts b { font-size: 1.55rem; }
.ph__media { position: relative; min-width: 0; }
.hero-note { margin-top: 12px; font-size: var(--t-xs); color: var(--ink-3); }

/* ---------- The drop (creators hero): faces thinning out link by link ---------- */
.linkdrop { margin: 0; border-radius: var(--r-xl); background: var(--stage); color: var(--stage-ink); border: 1px solid var(--stage-line); box-shadow: var(--shadow-lg); padding: clamp(18px, 2vw, 26px); display: grid; gap: 4px; }
.linkdrop__head { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; padding-bottom: 12px; border-bottom: 1px solid var(--stage-line); margin-bottom: 6px; }
.linkdrop__head b { font-family: var(--f-display); font-weight: 700; font-size: 1.2rem; letter-spacing: -.01em; }
.linkdrop__head span { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--stage-ink-3); }
.linkdrop__row { display: grid; grid-template-columns: minmax(0, 14fr) minmax(0, 18fr); gap: 14px; align-items: center; padding: 11px 0; border-bottom: 1px dashed rgba(255, 255, 255, .09); }
.linkdrop__url { min-width: 0; display: grid; gap: 1px; }
.linkdrop__url code { font-family: var(--f-mono); font-size: 12px; color: var(--stage-ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; direction: ltr; text-align: start; }
.linkdrop__url small { font-size: .74rem; color: var(--stage-ink-3); }
.faces { display: flex; align-items: center; min-width: 0; direction: ltr; }
[dir="rtl"] .faces { direction: rtl; }
.faces img, .faces i { width: 34px; height: 34px; border-radius: 50%; flex: none; margin-inline-end: -8px; border: 2px solid var(--stage); object-fit: cover; }
.faces i { background: rgba(255, 255, 255, .05); border: 1.5px dashed rgba(255, 123, 110, .45); }
.linkdrop__row--one { border-bottom: 0; margin-top: 8px; padding: 14px; border-radius: 16px; background: rgba(0, 255, 198, .07); border: 1px solid rgba(0, 255, 198, .3); }
.linkdrop__row--one code { color: var(--mint-bright); font-size: 12.5px; }
.linkdrop__row--one .faces img { border-color: #0d1d1d; box-shadow: 0 0 0 1px rgba(0, 255, 198, .35); }
.linkdrop__foot { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding-top: 10px; font-size: var(--t-xs); color: var(--stage-ink-3); }
.js .linkdrop .faces i { animation: leakout 1s var(--ease) both; animation-delay: calc(var(--d, 0) * 1s + .4s); }
@keyframes leakout { from { background: #3a3555; border-style: solid; border-color: var(--stage); transform: none; opacity: 1; } 60% { transform: translateY(6px); opacity: .4; } to { opacity: 1; } }
@media (max-width: 480px) {
  .linkdrop__row { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .faces img, .faces i { width: 28px; height: 28px; }
}

/* ---------- Pull quote (editorial line from the original site) ---------- */
.pull { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.3rem); line-height: 1.15; letter-spacing: -.015em; max-width: 26ch; }
.pull span { color: var(--stage-ink-3); }
.leak-foot { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 64px); align-items: end; margin-top: clamp(40px, 5vw, 64px); padding-top: 32px; border-top: 1px solid var(--stage-line); }
@media (max-width: 860px) { .leak-foot { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Ledger: the old way, row by row ---------- */
.ledger { border-top: 1px solid var(--line-2); }
.ledger__row { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 3fr) minmax(0, 6fr); gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.ledger__job { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.ledger__old { font-family: var(--f-display); font-weight: 700; font-size: 1.25rem; letter-spacing: -.01em; color: var(--ink); }
.ledger__row p { color: var(--ink-2); font-size: var(--t-sm); }
.ledger__row p b { color: var(--accent, var(--violet-ink)); font-weight: 600; }
.ledger--head .ledger__row:first-child { padding-top: 0; }
@media (max-width: 760px) { .ledger__row { grid-template-columns: minmax(0, 1fr); gap: 4px; } .ledger__old { font-size: 1.15rem; } }
.stage .ledger { border-color: var(--stage-line); }
.stage .ledger__row { border-color: var(--stage-line); }
.stage .ledger__job { color: var(--stage-ink-3); }
.stage .ledger__old { color: var(--stage-ink); }
.stage .ledger__row p { color: var(--stage-ink-2); }

/* ---------- Journey: one unbroken track down the page ---------- */
.journey { position: relative; display: grid; gap: clamp(56px, 7vw, 104px); padding-inline-start: clamp(36px, 5vw, 72px); }
.journey::before { content: ""; position: absolute; inset-block: 10px 40px; inset-inline-start: clamp(11px, 1.6vw, 22px); width: 2px; border-radius: 2px; background: linear-gradient(180deg, var(--c-pay), var(--c-live) 30%, var(--c-consult) 55%, var(--c-learn) 80%, var(--c-net)); opacity: .55; }
.jstop { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.jstop:nth-child(even) { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.jstop:nth-child(even) > .jstop__txt { order: 2; }
.jstop::before { content: ""; position: absolute; top: 6px; inset-inline-start: calc(clamp(36px, 5vw, 72px) * -1 + clamp(11px, 1.6vw, 22px) - 8px); width: 18px; height: 18px; border-radius: 50%; background: var(--bg-2); border: 2px solid var(--accent); box-shadow: 0 0 0 5px var(--bg-2); }
.section:not(.section--alt) .jstop::before { background: var(--bg); box-shadow: 0 0 0 5px var(--bg); }
.jstop__txt { display: grid; gap: 16px; align-content: start; }
.jstop__k { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.jstop h3 { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.6rem, 1.2rem + 1.3vw, 2.35rem); letter-spacing: -.016em; line-height: 1.1; }
.jstop p { color: var(--ink-2); max-width: 46ch; }
@media (max-width: 900px) {
  .jstop, .jstop:nth-child(even) { grid-template-columns: minmax(0, 1fr); }
  .jstop:nth-child(even) > .jstop__txt { order: 0; }
}
[lang="ar"] .jstop__k { text-transform: none; letter-spacing: 0; font-size: .85rem; }

/* ---------- Annotated frame: numbered pins over a real screen ---------- */
.pinned { position: relative; }
.pin { position: absolute; z-index: 3; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--bg); font-family: var(--f-mono); font-size: 11px; box-shadow: 0 0 0 4px color-mix(in srgb, var(--ink) 18%, transparent), var(--shadow); }
@media (max-width: 520px) { .pin { width: 22px; height: 22px; font-size: 10px; } }

/* ---------- Tag + verify marks ---------- */
.tagline { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .04em; color: var(--ink-3); }
.soon { display: inline-block; margin-inline-start: 6px; padding: 1px 7px; border-radius: 6px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .02em; vertical-align: 2px; background: var(--accent-soft, var(--surface-2)); color: var(--accent, var(--ink-3)); white-space: nowrap; }
.stage .soon { background: rgba(255,255,255,.08); color: var(--stage-ink-2); }

/* ---------- YouTube block: a lesson's journey from channel to certificate ---------- */
.yt { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
@media (max-width: 960px) { .yt { grid-template-columns: minmax(0, 1fr); } }
.yt__path { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 8px; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--surface); }
.yt__path > div { padding: 14px 16px; display: grid; gap: 3px; border-inline-end: 1px solid var(--line); }
.yt__path > div:last-child { border-inline-end: 0; background: var(--accent-soft); }
.yt__path b { font-size: .9rem; font-weight: 650; }
.yt__path small { font-size: .78rem; color: var(--ink-3); line-height: 1.4; }
.yt__path span { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
@media (max-width: 520px) { .yt__path { grid-template-columns: minmax(0, 1fr); } .yt__path > div { border-inline-end: 0; border-bottom: 1px solid var(--line); } }

/* ---------- Fees: four honest numbers ---------- */
.fees { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
@media (max-width: 900px) { .fees { grid-template-columns: minmax(0, 1fr); } }
.fees__nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-2); }
@media (max-width: 640px) { .fees__nums { grid-template-columns: minmax(0, 1fr); } }
.fees__nums > div { padding-block: 24px 6px; padding-inline: 0 22px; display: grid; gap: 8px; align-content: start; }
.fees__nums > div + div { padding-inline-start: 22px; border-inline-start: 1px solid var(--line); }
@media (max-width: 640px) { .fees__nums > div + div { padding-inline-start: 0; border-inline-start: 0; border-top: 1px solid var(--line); } }
.fees__nums b { font-family: var(--f-display); font-weight: 900; font-size: clamp(2.4rem, 1.7rem + 2.2vw, 3.6rem); line-height: .95; letter-spacing: -.03em; }
.fees__nums b small { font-size: .38em; font-weight: 700; letter-spacing: 0; color: var(--ink-3); margin-inline-start: 4px; }
.fees__nums span { font-size: var(--t-sm); color: var(--ink-2); }
.fees__nums em { font-style: normal; display: block; color: var(--ink-3); font-size: var(--t-xs); margin-top: 4px; }
/* .fees--center: tiles sit level with a taller copy column. .fees__note: a full-width line under the tiles (e.g. the platform fee). */
.fees--center > .fees__nums { align-self: center; }
.fees__note { grid-column: 1 / -1; margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: var(--t-sm); color: var(--ink-2); }

/* ---------- Cross-link to Suite ---------- */
.xlink { display: flex; justify-content: space-between; align-items: center; gap: 16px 28px; flex-wrap: wrap; padding: 22px 26px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); text-decoration: none; transition: border-color .2s, transform .25s var(--ease); }
.xlink:hover { border-color: var(--violet-line); transform: translateY(-2px); }
.xlink b { font-family: var(--f-display); font-weight: 700; font-size: 1.3rem; letter-spacing: -.01em; }
.xlink small { display: block; color: var(--ink-3); font-size: var(--t-sm); margin-top: 2px; }
.xlink .fork__go { flex: none; }

/* ---------- Two kinds (creators/experts): who arrives, and what changes ---------- */
.kinds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); }
@media (max-width: 860px) { .kinds { grid-template-columns: minmax(0, 1fr); } }
.kind { display: grid; gap: 14px; align-content: start; padding-top: 22px; border-top: 2px solid var(--ink); }
.kind__k { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent, var(--ink-3)); }
.kind h3 { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); letter-spacing: -.015em; line-height: 1.12; }
.kind p { color: var(--ink-2); }
.swaps { list-style: none; display: grid; gap: 0; margin-top: 6px; }
.swaps li { display: grid; grid-template-columns: minmax(0, 1fr) 22px minmax(0, 1fr); gap: 10px; align-items: center; padding: 11px 0; border-top: 1px solid var(--line); font-size: var(--t-sm); }
.swaps s { color: var(--ink-4); text-decoration-color: color-mix(in srgb, var(--c-live) 70%, transparent); text-decoration-thickness: 1.5px; }
.swaps svg { width: 14px; height: 14px; color: var(--ink-4); }
[dir="rtl"] .swaps svg { transform: scaleX(-1); }
.swaps span { color: var(--ink); font-weight: 600; }

/* ---------- Booking slip (experts hero), recreated from the demo workspace ---------- */
.slip { margin: 0; position: absolute; z-index: 4; inset-inline-start: -7%; bottom: -9%; width: min(330px, 62%); border-radius: 18px; background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow-lg); padding: 16px; display: grid; gap: 12px; }
.slip__who { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; gap: 11px; align-items: center; }
.slip__who img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.slip__who b { display: block; font-size: .92rem; font-weight: 650; line-height: 1.25; }
.slip__who small { display: block; font-size: .76rem; color: var(--ink-3); }
.slip__price { font-family: var(--f-display); font-weight: 900; font-size: 1.35rem; letter-spacing: -.02em; }
.slip__flow { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); padding-top: 8px; }
.slip__flow li { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 6px 0; font-size: .82rem; color: var(--ink-2); }
.slip__flow i { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--line-2); display: grid; place-items: center; }
.slip__flow i svg { width: 10px; height: 10px; opacity: 0; color: #fff; }
.slip__flow small { font-family: var(--f-mono); font-size: 10.5px; color: var(--ink-4); }
.slip__flow li.on i { background: var(--c-consult); border-color: var(--c-consult); }
.slip__flow li.on i svg { opacity: 1; }
.slip__flow li.on { color: var(--ink); }
.js .slip__flow li { animation: slipOn .5s var(--ease) both; animation-delay: calc(var(--d) * .9s + .6s); }
.js .slip__flow li i { animation: slipDot .5s var(--ease) both; animation-delay: calc(var(--d) * .9s + .6s); }
@keyframes slipOn { from { color: var(--ink-4); } }
@keyframes slipDot { from { background: transparent; border-color: var(--line-2); } }
@media (max-width: 1020px) { .slip { inset-inline-start: auto; inset-inline-end: 4%; } }
@media (max-width: 560px) { .slip { position: relative; inset: auto; width: 100%; margin-top: 14px; } }

/* ---------- Beyond 1:1 (experts): uneven product tiles ---------- */
.more { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; }
.more > * { min-width: 0; }
.more .m-a { grid-column: span 7; } .more .m-b { grid-column: span 5; } .more .m-c { grid-column: span 12; }
@media (max-width: 900px) { .more > * { grid-column: span 12 !important; } }
.more .m-c { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: none; }
.more .m-c .pt__txt { align-content: center; padding: 36px; }
.more .m-c .pt__media { border-top: 0; border-inline-start: 1px solid var(--line); }
@media (max-width: 900px) { .more .m-c { grid-template-columns: minmax(0, 1fr); } .more .m-c .pt__media { border-inline-start: 0; border-top: 1px solid var(--line); } }
.pt .ticks { margin-top: 6px; }
.pt .ticks li { font-size: .88rem; }

/* ---------- Earnings: the four lines that matter ---------- */
.earn { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--stage-line); border-radius: var(--r-lg); overflow: hidden; }
@media (max-width: 760px) { .earn { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.earn > div { padding: 20px 20px 18px; display: grid; gap: 6px; border-inline-end: 1px solid var(--stage-line); }
.earn > div:last-child { border-inline-end: 0; }
@media (max-width: 760px) { .earn > div:nth-child(2) { border-inline-end: 0; } .earn > div:nth-child(-n+2) { border-bottom: 1px solid var(--stage-line); } }
.earn b { font-family: var(--f-display); font-weight: 700; font-size: 1.3rem; color: var(--stage-ink); }
.earn small { font-size: .8rem; color: var(--stage-ink-3); line-height: 1.45; }
.earn i { width: 26px; height: 3px; border-radius: 2px; background: var(--c); }

/* ---------- Profile card (professionals), recreated from the demo workspace ---------- */
.pcard { position: relative; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow-lg); overflow: hidden; }
.pcard__cover { height: 112px; background: var(--stage) linear-gradient(120deg, rgba(0, 147, 111, .55), rgba(90, 46, 224, .55)); position: relative; }
.pcard__cover::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px); background-size: 28px 28px; }
.pcard__body { padding: 0 26px 24px; display: grid; gap: 14px; }
.pcard__top { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-top: -46px; position: relative; z-index: 1; flex-wrap: wrap; }
.pcard__face { position: relative; width: 104px; height: 104px; border-radius: 50%; border: 5px solid var(--surface); overflow: hidden; background: var(--surface-2); }
.pcard__face img { width: 100%; height: 100%; object-fit: cover; }
.otw { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 13px; border-radius: 999px; background: var(--c-net-soft); color: var(--c-net); font-weight: 650; font-size: .84rem; border: 1px solid color-mix(in srgb, var(--c-net) 35%, transparent); }
.otw::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.pcard h3 { font-family: var(--f-display); font-weight: 700; font-size: 1.7rem; letter-spacing: -.015em; line-height: 1.1; }
.pcard__role { color: var(--ink-2); font-size: var(--t-sm); margin-top: 4px; }
.pcard__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.pcard__tags span { font-size: .8rem; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); color: var(--ink-2); }
.pcard__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); padding-top: 14px; gap: 10px; }
.pcard__stats b { display: block; font-family: var(--f-display); font-weight: 900; font-size: 1.5rem; line-height: 1; }
.pcard__stats small { font-size: .76rem; color: var(--ink-3); }
.pcard__met { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: center; padding: 12px; border-radius: 14px; background: var(--surface-2); font-size: .84rem; color: var(--ink-2); }
.pcard__met .faces img { border-color: var(--surface-2); }
.pcard__met b { color: var(--ink); }
.pcard__k { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }

/* ---------- Experts: a slimmer people head ---------- */
.experts--sm .expert { aspect-ratio: 3 / 3.6; }

/* ---------- Mobile polish ---------- */
@media (max-width: 520px) {
  .ph .facts li { grid-template-columns: 64px minmax(0, 1fr); }
  .xlink { padding: 20px; }
}
.media-stack:has(.slip) + .hero-note { margin-top: calc(9% + 28px); padding-inline-start: min(330px, 62%); }
@media (max-width: 1020px) { .media-stack:has(.slip) + .hero-note { padding-inline-start: 0; } }
@media (max-width: 560px) { .media-stack:has(.slip) + .hero-note { margin-top: 12px; } }
.leak-foot--ledger { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
@media (max-width: 860px) { .leak-foot--ledger { grid-template-columns: minmax(0, 1fr); } }
.leak-foot--ledger .ledger__row { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 4px 24px; }
.leak-foot--ledger .ledger__job { grid-column: 1 / -1; }
@media (max-width: 560px) { .leak-foot--ledger .ledger__row { grid-template-columns: minmax(0, 1fr); } }
.split .earn { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.split .earn > div:nth-child(2) { border-inline-end: 0; }
.split .earn > div:nth-child(-n+2) { border-bottom: 1px solid var(--stage-line); }
.pcard { max-width: 540px; margin: 0 auto; } .pcard + .hero-note { max-width: 540px; margin-inline: auto; }
.linkdrop__row--one code { white-space: normal; overflow-wrap: anywhere; }
