/* orism.ai. Every value comes from the brand roles in /brand/dist/tokens.css; the fallbacks are June's values. */
:root {
  --canvas: var(--color-canvas, #F7F6F2);
  --surface: var(--color-surface, #FFFFFF);
  --sunken: var(--color-surface-sunken, #EDEBE5);
  --ink: var(--color-text, #141A2B);
  --ink-2: var(--color-text-muted, #535A6B);
  --line: var(--color-border, #DCDAD3);
  --line-soft: var(--color-border-subtle, #E6E4DD);
  --brand: var(--color-accent, #3040D9);
  --brand-ink: var(--color-text-brand, #2A37BE);
  --brand-soft: var(--color-accent-soft, #E2E5FB);
  --stage: var(--color-stage, #10141F);
  --stage-2: var(--color-code-surface, #161B2A);
  --stage-3: var(--color-caption-surface, #222839);
  --on-stage: var(--color-caption-text, #EEF0F6);
  --on-stage-2: var(--color-code-muted, #A7ADBC);
  --glow: var(--color-highlight, #A3ABF5);
  --display: var(--type-display-family, "Instrument Sans", sans-serif);
  --text: var(--type-body-family, "Geist", sans-serif);
  --mono: "Cascadia Mono", ui-monospace, monospace;
  --r-control: var(--radius-control, 8px);
  --r-card: var(--radius-card, 12px);
  --r-panel: var(--radius-panel, 16px);
  --quick: var(--duration-quick, 100ms);
  --base: var(--duration-base, 200ms);
  --enter: var(--ease-enter, cubic-bezier(0.3, 0, 0, 1));
  --exit: var(--ease-exit, cubic-bezier(0.4, 0, 1, 1));
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-synthesis-weight: none; background: var(--canvas); color: var(--ink); font: var(--type-body-weight, 400) var(--type-body-size, 17px)/var(--type-body-leading, 1.6) var(--text); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
[dir="rtl"] body { line-height: 1.8; }
img, svg { display: block; max-inline-size: 100%; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--color-focus-ring, var(--brand)); outline-offset: 3px; border-radius: 4px; }
.visually-hidden { position: absolute !important; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wrap { inline-size: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }

/* One page, both languages: <html lang> picks which copy shows. */
html[lang="en"] [data-l="ar"], html[lang="ar"] [data-l="en"] { display: none !important; }

.skip { position: absolute; inset-inline-start: 12px; inset-block-start: -60px; z-index: 50; padding: 10px 14px; border-radius: var(--r-control); background: var(--ink); color: var(--canvas); font-weight: 600; text-decoration: none; }
.skip:focus { inset-block-start: 12px; }

/* Type. Arabic is never letter-spaced. */
.display { margin: 0; font-family: var(--display); font-weight: var(--type-display-weight, 700); font-size: clamp(48px, 7.2vw, 96px); line-height: .98; letter-spacing: -.035em; text-wrap: balance; }
[dir="rtl"] .display { font-size: clamp(44px, 6.4vw, 84px); line-height: 1.22; letter-spacing: 0; font-weight: 800; }
.title { margin: 0; font-family: var(--type-title-family, var(--display)); font-weight: var(--type-title-weight, 700); font-size: var(--type-title-size, clamp(32px, 4.2vw, 48px)); line-height: var(--type-title-leading, 1.1); letter-spacing: var(--type-title-tracking, -.02em); text-wrap: balance; }
[dir="rtl"] .title { line-height: 1.35; letter-spacing: 0; font-weight: 800; }
.lead { margin: 22px 0 0; max-inline-size: 54ch; font-size: clamp(17px, 1.5vw, 19px); color: var(--ink-2); text-wrap: pretty; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-block-size: 52px; padding: 0 22px; border: 0; border-radius: var(--r-control); background: var(--color-action-primary, var(--brand)); color: var(--color-text-on-action, #fff); font: 600 16px/1 var(--text); text-decoration: none; white-space: nowrap; transition: background-color var(--quick) var(--enter), translate var(--quick) var(--enter); }
.btn:hover { background: var(--color-action-primary-hover, var(--brand-ink)); }
.btn:active { translate: 0 1px; }
.btn--sm { min-block-size: 40px; padding: 0 16px; font-size: 14px; }
[dir="rtl"] .btn--sm { font-size: 15px; }

/* Header: transparent over the hero, a solid bar once the page scrolls. */
.top { position: fixed; inset: 0 0 auto; z-index: 20; transition: background-color var(--base) var(--enter), box-shadow var(--base) var(--enter); }
.top.is-scrolled { background: color-mix(in srgb, var(--canvas) 88%, transparent); backdrop-filter: blur(12px) saturate(1.2); -webkit-backdrop-filter: blur(12px) saturate(1.2); box-shadow: 0 1px 0 var(--line-soft); }
.top__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; block-size: 72px; }
.top__logo { display: inline-flex; color: var(--ink); }
.top__logo svg { block-size: 26px; inline-size: auto; }
html[lang="ar"] .logo--en, html[lang="en"] .logo--ar { display: none; }
.top__end { display: flex; align-items: center; gap: 8px; }
.lang { min-block-size: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--r-control); background: transparent; font: 600 14px/1 var(--text); transition: border-color var(--quick) var(--enter); }
.lang:hover { border-color: var(--color-border-strong, #80869A); }
.lang [lang="ar"] { font-family: "Alyamama", var(--text); font-size: 15px; }

/* Hero */
.hero { padding-block: clamp(104px, 14vh, 148px) clamp(56px, 8vh, 96px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: center; gap: clamp(32px, 5vw, 72px); }
.hero__accent { color: var(--brand); }
[data-words] .w { display: inline-block; }
.js [data-words] .w { opacity: 0; filter: blur(10px); translate: 0 .18em; animation: word-in 640ms var(--enter) forwards; animation-delay: calc(120ms + var(--i) * 70ms); }
@keyframes word-in { to { opacity: 1; filter: blur(0); translate: 0 0; } }

.join { margin-block-start: 32px; max-inline-size: 540px; }
.join__row { display: flex; gap: 8px; padding: 6px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); box-shadow: var(--shadow-raised, 0 1px 2px #141A2B14, 0 8px 24px -16px #141A2B33); transition: border-color var(--quick) var(--enter), box-shadow var(--quick) var(--enter); }
.join__row:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.join__input { flex: 1; min-inline-size: 0; min-block-size: 48px; padding: 0 14px; border: 0; background: transparent; font-size: 17px; text-align: start; }
[dir="rtl"] .join__input { text-align: right; }
.join__input::placeholder { color: var(--color-text-subtle, #5E6576); opacity: .7; }
.join__input:focus { outline: none; }
.join__btn { min-block-size: 48px; }
.join__note { margin: 12px 0 0; font-size: 14px; color: var(--ink-2); }
[dir="rtl"] .join__note { font-size: 15px; }
.join__status { margin: 8px 0 0; font-size: 15px; font-weight: 600; min-block-size: 1.5em; }
.join__status:empty { display: none; }
.join__status.is-error { color: var(--color-danger, #A8232E); }
.join.is-done .join__row, .join.is-done .join__note { display: none; }
.join.is-done .join__status { display: flex; align-items: center; gap: 10px; margin: 0; padding: 14px 16px; border-radius: var(--r-card); background: var(--brand-soft); color: var(--brand-ink); }
.join__trap { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); }

/* The stage: the 3D mascot stands right on the page, with no panel behind it (Bader, 2026-10-29). */
.stage { --floor: .17; --fill: .5; position: relative; margin: 0; aspect-ratio: 5 / 6; isolation: isolate; }
.stage__shadow { position: absolute; inset-block-end: calc(var(--floor) * 100%); inset-inline-start: 50%; inline-size: 46%; aspect-ratio: 4 / 1; translate: -50% 50%; border-radius: 50%; background: radial-gradient(closest-side, #141A2B38, #141A2B00); transition: opacity 300ms var(--enter); }
[dir="rtl"] .stage__shadow { translate: 50% 50%; }
.stage__poster { position: absolute; inset-block-end: calc(var(--floor) * 100%); inset-inline-start: 50%; inline-size: auto; block-size: calc(var(--fill) * 100%); translate: -50% 0; object-fit: contain; transition: opacity 300ms var(--enter); }
[dir="rtl"] .stage__poster { translate: 50% 0; }
.stage__canvas { position: absolute; inset: 0; opacity: 0; transition: opacity 300ms var(--enter); }
.stage__canvas canvas { display: block; inline-size: 100%; block-size: 100%; touch-action: pan-y; cursor: grab; }
.stage__canvas canvas.is-dragging { cursor: grabbing; }
/* While the 3D model loads, the stage stays empty; the poster shows only if the model can't load (is-2d). */
.js .stage:not(.is-2d) .stage__poster, .js .stage:not(.is-2d) .stage__shadow, .stage.is-3d .stage__poster, .stage.is-3d .stage__shadow { opacity: 0; }
.stage.is-3d .stage__canvas { opacity: 1; }
/* A quiet hint until the visitor first drags or taps the mascot. */
.stage__hint { position: absolute; inset-block-end: 16px; inset-inline-start: 50%; translate: -50% 0; margin: 0; padding: 7px 14px; border-radius: 999px; background: #FFFFFFB3; font: 500 13px/1.3 var(--text); color: var(--ink-2); white-space: nowrap; pointer-events: none; transition: opacity 400ms var(--enter); }
[dir="rtl"] .stage__hint { translate: 50% 0; font-size: 14px; }
.stage.is-touched .stage__hint { opacity: 0; }

/* Reveal on scroll */
.js [data-reveal] { opacity: 0; translate: 0 18px; transition: opacity 600ms var(--enter), translate 600ms var(--enter); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; translate: 0 0; }

/* How this page was made: the dark stage */
.team { padding-block: clamp(72px, 11vw, 140px); background: var(--stage); color: var(--on-stage); }
.team__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.lead--stage { color: var(--on-stage-2); }
.log { margin: 0; padding: 8px; border-radius: var(--r-panel); background: var(--stage-2); box-shadow: inset 0 0 0 1px var(--stage-3); }
.log__head { margin: 0; padding: 12px 16px 10px; font: 500 13px/1 var(--mono); color: var(--on-stage-2); }
[dir="rtl"] .log__head { font: 600 14px/1.3 "Alyamama", var(--text); }
.log__rows { list-style: none; margin: 0; padding: 0; }
.log__row { display: grid; grid-template-columns: 10px auto 1fr; grid-template-areas: "dot name tool" ". job job"; column-gap: 12px; row-gap: 2px; align-items: baseline; padding: 14px 16px; border-radius: var(--r-card); }
.log__row + .log__row { box-shadow: 0 -1px 0 var(--stage-3); }
.log__dot { grid-area: dot; inline-size: 10px; block-size: 10px; border-radius: 50%; background: var(--who); align-self: center; }
.log__name { grid-area: name; font: 600 19px/1.3 var(--display); color: var(--on-stage); }
.log__tool { grid-area: tool; justify-self: start; padding: 3px 8px; border-radius: 6px; background: var(--stage-3); font: 500 12.5px/1.4 var(--mono); color: var(--glow); }
[dir="rtl"] .log__tool:not(:has([data-l])) { direction: ltr; }
.log__job { grid-area: job; color: var(--on-stage-2); font-size: 16px; }
.js .log.is-in .log__row { animation: row-in 420ms var(--enter) backwards; animation-delay: calc(200ms + var(--n) * 110ms); }
@keyframes row-in { from { opacity: 0; translate: 0 8px; } }

/* What you'll learn: one card per track, each with a small real-looking fragment of what the track is about.
   The whole card opens a sample lesson (the button's ::after covers the card). */
.learn { padding-block: clamp(72px, 11vw, 140px) clamp(48px, 7vw, 96px); }
.section-head { max-inline-size: 760px; margin-block-end: clamp(36px, 5vw, 56px); }
[data-track="basics"]  { --t-bright: var(--color-track-basics-bright);  --t-label: var(--color-track-basics-label);  --t-text: var(--color-track-basics-text);  --t-soft: var(--color-track-basics-soft); }
[data-track="prompts"] { --t-bright: var(--color-track-prompts-bright); --t-label: var(--color-track-prompts-label); --t-text: var(--color-track-prompts-text); --t-soft: var(--color-track-prompts-soft); }
[data-track="tools"]   { --t-bright: var(--color-track-tools-bright);   --t-label: var(--color-track-tools-label);   --t-text: var(--color-track-tools-text);   --t-soft: var(--color-track-tools-soft); }
[data-track="agents"]  { --t-bright: var(--color-track-agents-bright);  --t-label: var(--color-track-agents-label);  --t-text: var(--color-track-agents-text);  --t-soft: var(--color-track-agents-soft); }
[data-track="skills"]  { --t-bright: var(--color-track-skills-bright);  --t-label: var(--color-track-skills-label);  --t-text: var(--color-track-skills-text);  --t-soft: var(--color-track-skills-soft); }
[data-track="local"]   { --t-bright: var(--color-track-local-bright);   --t-label: var(--color-track-local-label);   --t-text: var(--color-track-local-text);   --t-soft: var(--color-track-local-soft); }
.sprite { display: none; }
.icon { inline-size: 18px; block-size: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
[dir="rtl"] .flip-rtl { scale: -1 1; }

.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: minmax(300px, auto); gap: 16px; }
.bento__card { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; border-radius: var(--r-panel); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-soft), 0 1px 2px #141A2B0D; }
.bento__card--wide { grid-column: span 2; }
.bento__card--ink { background: var(--stage); color: var(--on-stage); box-shadow: none; }
.bento__card--later { background: transparent; box-shadow: inset 0 0 0 1px var(--line); }
.bento__bg { position: relative; flex: 1; display: flex; align-items: flex-start; padding: 22px 22px 0; mask-image: linear-gradient(to bottom, #000 55%, transparent); }
.bento__card[data-track] .bento__bg { background: var(--t-soft); }
.bento__card--later .bento__bg { opacity: .7; }
.bento__body { position: relative; padding: 22px; }
.bento__text, .bento__icon, .bento__cta, .bento__ctas { transition: translate var(--base) var(--enter), scale var(--base) var(--enter), opacity var(--base) var(--enter); }
.bento__icon { inline-size: 40px; block-size: 40px; margin-block-end: 12px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transform-origin: left center; color: var(--t-text, var(--glow)); }
[dir="rtl"] .bento__icon { transform-origin: right center; }
.bento__title { margin: 0; font: 600 23px/1.2 var(--display); letter-spacing: -.015em; }
[dir="rtl"] .bento__title { letter-spacing: 0; font-weight: 700; }
.bento__desc { margin: 6px 0 0; max-inline-size: 42ch; color: var(--ink-2); font-size: 15.5px; text-wrap: pretty; }
.bento__card--ink .bento__desc { color: var(--on-stage-2); }
.bento__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 14px 0 0; }
.tier { display: inline-flex; align-items: center; padding: 5px 9px; border-radius: var(--r-control); background: var(--sunken); color: var(--ink-2); font: 600 12.5px/1.2 var(--text); }
.bento__cta { display: inline-flex; align-items: center; gap: 6px; margin-block-start: 14px; padding: 0; border: 0; background: none; color: var(--t-text, var(--glow)); font: 600 15px/1.3 var(--text); text-decoration: none; cursor: pointer; }
.bento__cta::after { content: ""; position: absolute; inset: 0; }
.bento__cta .icon { inline-size: 16px; block-size: 16px; }
/* Basics has two links: one row with room between them (Bader, 6 Nov: they ran into each other). The card-wide click
   belongs to the first; the second sits above it. */
.bento__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; margin-block-start: 14px; }
.bento__ctas .bento__cta { margin-block-start: 0; }
.bento__ctas .bento__cta + .bento__cta { position: relative; z-index: 1; }
.bento__ctas .bento__cta + .bento__cta::after { content: none; }
.bento__card:has(.bento__cta:focus-visible) { outline: 2px solid var(--color-focus-ring, var(--brand)); outline-offset: 3px; }
.bento__cta:focus-visible { outline: none; }
@media (hover: hover) and (min-width: 1024px) {
  .bento__cta, .bento__ctas { position: absolute; inset-inline: 22px; inset-block-end: 22px; translate: 0 40px; opacity: 0; }
  .bento__ctas .bento__cta { position: static; inset: auto; translate: none; opacity: 1; }
  .bento__ctas .bento__cta + .bento__cta { position: relative; }
  .bento__card:is(:hover, :focus-within) .bento__text { translate: 0 -34px; }
  .bento__card:is(:hover, :focus-within) :is(.bento__cta, .bento__ctas) { translate: 0 0; opacity: 1; }
  .bento__card:is(:hover, :focus-within) .bento__icon { scale: .75; }
}
/* The fragments */
.deco-lessons { inline-size: 100%; margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.deco-lessons li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--r-card); background: var(--surface); font-size: 14.5px; }
.deco-prompt { inline-size: 100%; margin: 0; font: 400 15px/1.6 var(--mono); color: var(--ink-2); }
.deco-prompt[lang="ar"] { font-family: var(--text); line-height: 1.8; }
.deco-prompt b { color: var(--ink); font-weight: 600; }
.deco-prompt mark { padding: 0 3px; border-radius: 3px; background: var(--brand-soft); color: var(--brand-ink); }
.deco-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.deco-chips span { padding: 8px 12px; border-radius: var(--r-control); box-shadow: inset 0 0 0 1px var(--line); background: var(--surface); font: 500 14px/1 var(--text); unicode-bidi: isolate; }
.deco-steps { inline-size: 100%; display: grid; gap: 8px; font: 400 13px/1.3 var(--mono); }
.deco-steps div { display: flex; gap: 10px; align-items: center; padding: 9px 11px; border-radius: 10px; background: var(--surface); }
/* Done steps get a small check, the step in progress a ring (no dots: Bader, 5 Nov). */
.deco-steps i { inline-size: 10px; block-size: 6px; flex: none; margin-block-start: -3px; border: solid var(--color-success, #1F8A5B); border-width: 0 0 2px 2px; rotate: -45deg; }
.deco-steps div:last-child i { inline-size: 10px; block-size: 10px; margin: 0; border: 2px solid var(--brand); border-radius: 50%; rotate: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 var(--brand); } 100% { box-shadow: 0 0 0 8px transparent; } }
.deco-file { inline-size: 100%; margin: 0; font: 400 13px/1.7 var(--mono); color: var(--ink-2); direction: ltr; text-align: left; }
.deco-file b { color: var(--ink); font-weight: 600; }
.deco-term { inline-size: 100%; padding: 14px; border-radius: var(--r-card); background: var(--stage-2); color: var(--on-stage); font: 400 13px/1.7 var(--mono); direction: ltr; text-align: left; }
.deco-term span { color: var(--on-stage-2); }

/* The sample lesson: watch (a few seconds of a silent video), read (the term it teaches), try (one small thing). */
.lesson { inline-size: min(760px, 100% - 32px); max-inline-size: none; max-block-size: min(90svh, 920px); margin: auto; padding: 0; border: 0; border-radius: var(--r-panel); background: var(--canvas); color: var(--ink); box-shadow: 0 30px 80px -30px #10141F80; overflow: hidden; }
.lesson::backdrop { background: #10141F8C; backdrop-filter: blur(3px); }
.lesson[open] { animation: lesson-in 280ms var(--enter); }
@keyframes lesson-in { from { opacity: 0; translate: 0 16px; } }
.lesson__box { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; max-block-size: inherit; }
.lesson__head { position: relative; display: flex; align-items: flex-start; gap: 16px; padding: 24px 22px 16px; border-block-end: 1px solid var(--line-soft); }
.lesson__lane { position: absolute; inset-block-start: 0; inset-inline: 0; block-size: 6px; background: var(--t-bright); }
.lesson__kicker { margin: 0; color: var(--t-text); font: 600 13px/1.4 var(--text); }
.lesson__title { margin: 4px 0 0; font: 700 clamp(22px, 3vw, 28px)/1.2 var(--display); letter-spacing: -.015em; }
[dir="rtl"] .lesson__title { letter-spacing: 0; line-height: 1.4; }
.lesson__close { display: grid; place-items: center; inline-size: 40px; block-size: 40px; flex: none; margin-inline-start: auto; border: 0; border-radius: 50%; background: var(--sunken); }
.lesson__close .icon { inline-size: 20px; block-size: 20px; }
.lesson__body { overflow-y: auto; overscroll-behavior: contain; display: grid; gap: 28px; padding: 22px; }
.lesson__part h3 { display: flex; align-items: baseline; gap: 10px; margin: 0 0 12px; font: 700 18px/1.3 var(--display); }
.lesson__part h3 span:first-child { color: var(--t-text); font: 500 13px/1 var(--mono); }
.lesson__part > p { margin: 0 0 12px; color: var(--ink-2); text-wrap: pretty; }
.lesson__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding: 14px 22px; border-block-start: 1px solid var(--line-soft); background: var(--surface); }
.lesson__foot p { margin: 0; color: var(--ink-2); font-size: 14.5px; }
@media (max-width: 640px) {
  .lesson { inline-size: 100%; max-block-size: 100svh; block-size: 100svh; border-radius: 0; }
  .lesson__foot .btn { inline-size: 100%; }
}

/* The silent video: a dark stage, the scene in the middle and the caption under it, like the real lessons. */
.player { position: relative; display: grid; grid-template-rows: minmax(0, 1fr) auto; aspect-ratio: 16 / 10; border-radius: var(--r-card); background: var(--stage); color: var(--on-stage); overflow: hidden; }
.player__bar { position: absolute; inset-block-start: 12px; inset-inline: 14px; display: flex; gap: 4px; }
.player__bar i { position: relative; flex: 1; block-size: 3px; border-radius: 2px; background: #FFFFFF2E; overflow: hidden; }
.player__bar i::after { content: ""; position: absolute; inset: 0; background: var(--glow); scale: 0 1; transform-origin: left center; }
[dir="rtl"] .player__bar i::after { transform-origin: right center; }
.player__bar i.is-done::after { scale: 1 1; }
.player__bar i.is-on::after { animation: fill var(--frame, 3200ms) linear forwards; }
.player.is-paused .player__bar i.is-on::after { animation-play-state: paused; }
@keyframes fill { to { scale: 1 1; } }
.player__top { position: absolute; inset-block-start: 24px; inset-inline: 14px; display: flex; align-items: center; gap: 8px; z-index: 1; }
.player__mute { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 999px; background: #FFFFFF14; color: var(--on-stage-2); font: 500 12px/1.4 var(--mono); }
[dir="rtl"] .player__mute { font-family: var(--text); }
.player__mute .icon { inline-size: 14px; block-size: 14px; }
.player__btn { display: grid; place-items: center; inline-size: 34px; block-size: 34px; margin-inline-start: auto; border: 0; border-radius: 50%; background: #FFFFFF1A; color: var(--on-stage); }
.player__btn + .player__btn { margin-inline-start: 0; }
.player__btn .icon { inline-size: 16px; block-size: 16px; }
.player__scene { display: grid; place-items: center; padding: 64px 20px 8px; min-block-size: 0; }
.player__cap { justify-self: center; max-inline-size: calc(100% - 32px); margin: 0 0 18px; padding: 8px 14px; border-radius: var(--r-control); background: var(--stage-3); font: 600 clamp(15px, 2vw, 18px)/1.5 var(--text); text-align: center; text-wrap: balance; }
.player__note { margin: 8px 0 0; color: var(--ink-2); font-size: 13px; }
.player__scene > * > *, .player__cap { animation: scene-in 420ms var(--enter) backwards; animation-delay: calc(var(--i, 0) * 90ms); }
@keyframes scene-in { from { opacity: 0; translate: 0 8px; filter: blur(4px); } }
/* Scene pieces */
.sc { display: grid; justify-items: center; gap: 10px; inline-size: min(520px, 100%); }
.sc-bubble { max-inline-size: 85%; margin: 0; padding: 10px 16px; border-radius: 16px; background: var(--brand); color: #FFFFFF; font: 500 clamp(14px, 2vw, 17px)/1.5 var(--text); }
.sc-bubble--ai { background: var(--stage-2); color: var(--on-stage); box-shadow: inset 0 0 0 1px #FFFFFF14; }
.sc-tokens { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.sc-tokens span { padding: 5px 9px; border-radius: 6px; background: #FFFFFF12; box-shadow: inset 0 0 0 1px var(--glow); font: 500 15px/1.4 var(--mono); white-space: pre; }
.sc-tokens[lang="ar"] span { font-family: var(--text); }
.sc-bars { display: grid; gap: 8px; inline-size: min(340px, 100%); }
.sc-bars div { display: grid; grid-template-columns: 5.5em 1fr 3em; align-items: center; gap: 10px; font: 500 15px/1.3 var(--text); }
.sc-bars b { block-size: 10px; border-radius: 5px; background: var(--glow); inline-size: var(--p); }
.sc-bars span:last-child { color: var(--on-stage-2); font: 500 13px/1 var(--mono); text-align: end; }
.sc-term { inline-size: min(460px, 100%); margin: 0; padding: 14px 16px; border-radius: 10px; background: var(--stage-2); font: 400 14px/1.7 var(--mono); direction: ltr; text-align: left; white-space: pre-wrap; }
.sc-term span { color: var(--on-stage-2); }
.sc-term em { font-style: normal; color: var(--glow); }
.sc-list { display: grid; gap: 8px; inline-size: min(340px, 100%); margin: 0; padding: 0; list-style: none; font: 400 14px/1.3 var(--mono); }
.sc-list li { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; background: var(--stage-2); }
.sc-list li::before { content: ""; inline-size: 14px; block-size: 14px; flex: none; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--on-stage-2); }
.sc-list li.is-done::before { background: var(--color-success, #1F8A5B); box-shadow: none; }
.sc-lines { display: grid; gap: 8px; inline-size: min(320px, 100%); }
.sc-lines i { block-size: 8px; border-radius: 4px; background: #FFFFFF26; }
.sc-lines i:nth-child(2) { inline-size: 85%; } .sc-lines i:nth-child(3) { inline-size: 92%; } .sc-lines i:nth-child(4) { inline-size: 60%; }
.sc-phone { display: grid; gap: 6px; align-content: start; inline-size: 110px; block-size: 190px; padding: 22px 10px 10px; border-radius: 18px; background: var(--canvas); box-shadow: 0 0 0 4px var(--stage-3); }
.sc-phone b { block-size: 46px; border-radius: 8px; background: var(--color-track-tools-soft, #F6E7C1); }
.sc-phone i { block-size: 6px; border-radius: 3px; background: var(--line); }
.sc-phone i:last-child { inline-size: 60%; }
.sc-ok { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--color-success, #1F8A5B); color: #FFFFFF; font: 600 13px/1.4 var(--text); }
.sc-ok .icon { inline-size: 14px; block-size: 14px; }
.sc-menu { display: grid; gap: 6px; inline-size: min(300px, 100%); margin: 0; padding: 12px 14px; border-radius: 10px; background: var(--canvas); color: var(--ink); list-style: none; font-size: 14.5px; }
.sc-menu li { display: flex; justify-content: space-between; gap: 12px; }
.sc-menu small { display: block; color: var(--ink-2); font-size: 12.5px; }

/* Read: the term, exactly as the glossary explains it */
.term { display: grid; gap: 4px; margin: 0 0 8px; padding: 14px 16px; border-radius: var(--r-card); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-soft); border-inline-start: 4px solid var(--t-bright); }
.term dt { font: 600 16px/1.3 var(--text); direction: ltr; unicode-bidi: isolate; justify-self: start; }
.term dd { margin: 0; color: var(--ink-2); }

/* Try */
.try { display: grid; gap: 14px; padding: 18px; border-radius: var(--r-card); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-soft); }
.try__q { margin: 0; font-weight: 600; }
.try__say { margin: 0; font: 500 20px/1.5 var(--display); }
.try__options, .seg { display: flex; flex-wrap: wrap; gap: 8px; }
.try__options button, .seg button { min-block-size: 44px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--sunken); font-weight: 600; transition: background-color var(--quick) var(--enter); }
.try__options button:hover, .seg button:hover { background: var(--line); }
.try__options button[aria-pressed="true"], .seg button[aria-pressed="true"] { background: var(--t-bright); color: var(--t-label); }
.try__out { margin: 0; padding: 14px 16px; border-radius: 10px; background: var(--color-response-surface, var(--canvas)); white-space: pre-line; }
.try__out--prompt { background: var(--color-prompt-surface, var(--sunken)); font: 400 14.5px/1.7 var(--mono); }
.try__out--prompt:lang(ar), .try__out--prompt :lang(ar) { font-family: var(--text); }
.ltr-line { display: block; unicode-bidi: isolate; }
.try__note { margin: 0; color: var(--ink-2); font-size: 14px; }
.try__steps { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.try__steps button { display: flex; align-items: center; gap: 12px; inline-size: 100%; min-block-size: 48px; padding: 8px 14px; border: 0; border-radius: 10px; background: var(--sunken); text-align: start; }
.try__steps button:disabled { cursor: default; }
.try__steps button::before { content: ""; inline-size: 18px; block-size: 18px; flex: none; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--ink-2); }
.try__steps li.is-done button::before { background: var(--color-success, #1F8A5B); box-shadow: none; }
.try__steps code { margin-inline-start: auto; font: 400 13px/1.4 var(--mono); color: var(--ink-2); direction: ltr; unicode-bidi: isolate; }
.try__steps samp { display: block; margin: 4px 14px 0; font: 400 13px/1.5 var(--mono); color: var(--color-success, #1F8A5B); direction: ltr; text-align: left; }
.try__log { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.try__log li { display: flex; align-items: center; gap: 10px; animation: scene-in 320ms var(--enter) backwards; }
.try__log li::before { content: ""; inline-size: 8px; block-size: 8px; border-radius: 50%; background: var(--brand); }
.try__log li.is-done::before { background: var(--color-success, #1F8A5B); }

/* Who it's for */
.who { padding-block: clamp(48px, 7vw, 96px); }
.people { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.person { padding: 24px; border-radius: var(--r-card); background: var(--sunken); }
.person__img { block-size: 150px; inline-size: auto; margin-block-end: 20px; transition: translate var(--base) var(--enter), rotate var(--base) var(--enter); transform-origin: 50% 100%; }
.person:hover .person__img { translate: 0 -6px; rotate: -3deg; }
/* June's rule: the mascot may be flipped in Arabic layouts to face the content (the logo never is). */
[dir="rtl"] .person__img, [dir="rtl"] .cta__img { scale: -1 1; }
.person__name { margin: 0 0 6px; font: 700 22px/1.25 var(--display); letter-spacing: -.01em; }
[dir="rtl"] .person__name { letter-spacing: 0; font-weight: 800; }
.person p { margin: 0; color: var(--ink-2); text-wrap: pretty; }

/* Join */
.cta { padding-block: clamp(48px, 7vw, 96px) clamp(72px, 10vw, 128px); }
.cta__box { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: clamp(24px, 5vw, 64px); padding: clamp(28px, 5vw, 64px); border-radius: var(--r-panel); background: var(--brand-soft); }
.cta__img { block-size: clamp(160px, 22vw, 260px); inline-size: auto; }
.cta .join { margin-block-start: 24px; }
.cta .join__row { box-shadow: none; }   /* a field inside the panel, not a second card */

/* Footer */
.foot { padding-block: 28px 40px; border-block-start: 1px solid var(--line-soft); color: var(--ink-2); font-size: 15px; }
.foot__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; }
.foot p { margin: 0; }
.foot a { color: var(--ink); text-underline-offset: 3px; }
.foot a:hover { color: var(--brand-ink); }

@media (max-width: 960px) {
  .hero__grid, .team__grid { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-block-start: 96px; }
  /* On phones and tablets the mascot comes right after the headline, so it shows without scrolling. */
  .hero__grid { gap: 0; }
  .hero__copy { display: contents; }
  .hero .display { order: 2; }
  .stage { order: 3; margin-block-start: 24px; aspect-ratio: 1 / 1; max-block-size: 480px; inline-size: 100%; }
  .hero .lead { order: 4; margin-block-start: 28px; }
  .hero .join { order: 5; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento__card--ink { grid-column: span 2; }
}
@media (max-width: 640px) {
  .join__row { flex-direction: column; padding: 6px; }
  .join__btn { inline-size: 100%; }
  .people { grid-template-columns: minmax(0, 1fr); }
  .bento { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; }
  .bento__card--wide, .bento__card--ink { grid-column: auto; }
  .bento__bg { min-block-size: 150px; }
  .person { display: grid; grid-template-columns: 88px 1fr; column-gap: 16px; align-items: center; }
  .person__img { grid-row: span 2; block-size: 112px; margin: 0; justify-self: center; }
  .cta__box { grid-template-columns: minmax(0, 1fr); text-align: center; justify-items: center; }
  .cta .join { margin-inline: auto; }
  .stage { --floor: .2; --fill: .54; aspect-ratio: 6 / 5; }
  .stage__hint { inset-block-end: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-words] .w, .js .log.is-in .log__row { animation: none; opacity: 1; filter: none; translate: none; }
  .js [data-reveal] { opacity: 1; translate: none; transition: none; }
  .person:hover .person__img { translate: none; rotate: none; }
  .bento__text, .bento__icon, .bento__cta, .bento__ctas, .lesson[open], .player__scene > * > *, .player__cap, .try__log li, .deco-steps i { animation: none; transition: none; }
}

/* The founding badge page (/badge?n=47): June's ticket, the number, and ways to keep it. */
.btn--quiet { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn--quiet:hover { background: var(--sunken); }
.badge-page { background: var(--color-accent-soft, var(--brand-soft)); }
.badge { inline-size: min(560px, 100% - 2 * var(--gutter)); margin-inline: auto; padding-block: 20px 56px; text-align: center; }
.badge__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-block-end: 24px; }
.badge__top .lang { margin-inline-start: auto; }
.badge__home { font: 600 15px/1 var(--text); text-decoration: none; color: var(--brand-ink); }
.badge__card { inline-size: min(420px, 100%); margin: 0 auto; border-radius: var(--r-panel); overflow: hidden; box-shadow: 0 24px 60px -28px #10141F66; }
.badge__card svg { inline-size: 100%; block-size: auto; }
.badge__title { margin: 28px 0 0; font: 700 clamp(26px, 4vw, 34px)/1.2 var(--display); letter-spacing: -.02em; }
[dir="rtl"] .badge__title { letter-spacing: 0; line-height: 1.5; }
.badge__title [data-n] { color: var(--brand); unicode-bidi: isolate; }
.badge__lead { margin: 10px auto 0; max-inline-size: 42ch; color: var(--ink-2); }
.badge__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-block-start: 24px; }
.badge__status { min-block-size: 1.6em; margin: 12px 0 0; color: var(--brand-ink); font-weight: 600; }
.badge__join { margin: 32px 0 0; font-size: 15px; }
.badge__join a { color: var(--brand-ink); }
@media (max-width: 640px) { .badge__actions .btn { inline-size: 100%; } }

/* Plain text pages (privacy) */
.doc { inline-size: min(720px, 100% - 2 * var(--gutter)); margin-inline: auto; padding-block: 20px 72px; }
.doc .title { margin-block-start: 24px; }
.doc__date { margin: 8px 0 28px; color: var(--ink-2); font-size: 15px; }
.doc h2 { margin: 36px 0 8px; font: 700 22px/1.3 var(--display); letter-spacing: -.01em; }
[dir="rtl"] .doc h2 { letter-spacing: 0; }
.doc p, .doc li { color: var(--ink-2); text-wrap: pretty; }
.doc ul { padding-inline-start: 1.2em; }
.doc a { color: var(--brand-ink); }

/* 404 */
.lost { min-block-size: 100svh; display: grid; place-content: center; justify-items: center; gap: 8px; padding: 32px var(--gutter); text-align: center; }
.lost img { block-size: 160px; inline-size: auto; margin-block-end: 16px; }
.lost .lead { margin: 0 0 16px; }

/* ---- orism.ai in the courses site's look (Sky, 5 Nov 2026) ------------------------------------------------------------
   Modern Minimal with Orism blue (ui/minimal.css), the liquid hero, the Tubelight Navbar, beams and the Dithered Footer.
   The rules below sit on top of the ones above. */
:root { color-scheme: light dark; }

/* Header: the lockup, the navbar in the middle, the language and the waitlist. A glass bar once the page scrolls. */
.top__bar { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); block-size: 76px; }
.top__start { justify-self: start; display: flex; align-items: center; gap: 8px; min-inline-size: 0; }
.top__start .top__logo { margin-inline-end: 8px; }
.top__end { justify-self: end; }
/* "Start learning" has the waitlist button's shape, outlined so the waitlist stays the main action (Bader, 6 Nov). */
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn--ghost:hover { background: color-mix(in srgb, var(--ink) 6%, transparent); box-shadow: inset 0 0 0 1px var(--color-border-strong, #80869A); }
.top__nav { display: flex; gap: 4px; }
.top__nav:not(.fx-tube) a { padding: 8px 14px; border-radius: 999px; color: var(--ink-2); font: 600 14px/1 var(--text); text-decoration: none; }
.top__nav.fx-tube { position: relative; }
.top__nav .fx-tube__lamp { transition: opacity 300ms var(--enter); }
.top__nav.is-idle .fx-tube__lamp { opacity: 0; }
.btn--pill { border-radius: 999px; }
.lang { border-radius: 999px; }
@media (max-width: 860px) { .top__nav { display: none; } .top__bar { grid-template-columns: minmax(0, 1fr) auto; } }
/* Phones: the logo, language and theme on one side, "Start learning" on the other; the waitlist form is right below. */
@media (max-width: 640px) {
  .top__end .top__join { display: none; }
  /* With accounts open the header's one button on a phone is Sign up, not Start learning (Bader, 9 Nov 2026). */
  .top__end:has(.top__join[href^="https://learn"]) .top__join { display: inline-flex; }
  .top__end:has(.top__join[href^="https://learn"]) .btn--ghost { display: none; }
  .top__start { gap: 6px; }
  .top__start .top__logo { margin-inline-end: 4px; }
  .top__logo svg { block-size: 21px; }
  .top__bar .lang, .top__bar .theme, .top__end .btn--sm { min-block-size: 36px; block-size: 36px; }
  .top__bar .lang { padding: 0 11px; font-size: 13px; }
  .top__bar .theme { inline-size: 36px; }
  .top__end .btn--sm { padding: 0 13px; font-size: 13px; }
}
@media (max-width: 370px) { .top__logo svg { block-size: 18px; } .top__end .btn--sm { padding: 0 10px; } }

/* Hero: a near-full-bleed card of slow liquid in Orism blue; the gradient shows without WebGL. */
.hero { padding-block: 84px 0; }
.hero__card { position: relative; isolation: isolate; overflow: clip; margin-inline: clamp(0px, 1.2vw, 14px);
  min-block-size: min(88vh, 880px); display: grid; place-items: center; padding: clamp(64px, 10vh, 112px) clamp(16px, 4vw, 40px) clamp(48px, 7vh, 80px);
  border-radius: clamp(0px, 2vw, 28px); color: #FFFFFF;
  background: radial-gradient(120% 90% at 20% 10%, #5B67EC 0%, #2A37BE 42%, #0B1250 100%); }
.hero__canvas { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; z-index: -2; opacity: 0; transition: opacity 900ms ease; }
.hero__canvas.is-live { opacity: 1; }
.hero__veil { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(62% 58% at 50% 46%, #070B3A80 0%, #070B3A26 55%, transparent 80%), linear-gradient(180deg, #070B3A1F 0%, #070B3A4D 100%); }
.hero__inner { inline-size: min(100%, 980px); display: grid; justify-items: center; text-align: center; gap: clamp(16px, 2.4vh, 24px); }
.hero .display { color: #FFFFFF; text-shadow: 0 2px 30px #070B3A59; font-size: clamp(48px, 7.6vw, 112px); letter-spacing: -.04em; }
[dir="rtl"] .hero .display { font-size: clamp(44px, 6.6vw, 96px); letter-spacing: 0; line-height: 1.2; }
.hero .display > [data-l] > [data-words] { display: block; }
.hero__accent, .hero__accent .w { color: transparent; background: linear-gradient(92deg, #FFFFFF 0%, #DDE1FF 45%, #A9B1FF 100%); -webkit-background-clip: text; background-clip: text; padding-block-end: .06em; }
.hero__sub { margin: 0; color: #FFFFFF; font: 600 clamp(18px, 1.8vw, 23px)/1.45 var(--text); }
.hero__lead { margin: 0; max-inline-size: 58ch; color: #E2E5FB; font-size: clamp(16px, 1.4vw, 18px); }
/* The badge: frosted white on the liquid, its shine white. */
.hero__badge { --fx-badge-bg: #FFFFFF1F; --fx-badge-bg-dark: #FFFFFF1F; --fx-badge-hover: #FFFFFF33; --fx-badge-hover-dark: #FFFFFF33;
  --fx-badge-border: #FFFFFF4D; --fx-badge-border-dark: #FFFFFF4D; --fx-badge-fg: #FFFFFF; --fx-badge-fg-dark: #FFFFFF;
  --fx-badge-primary: #FFFFFF; --fx-badge-primary-dark: #FFFFFF; --fx-shiny-color: #FFFFFFB3; --fx-shiny-color-dark: #FFFFFFB3;
  --fx-shiny-shine: #FFFFFF; --fx-shiny-shine-dark: #FFFFFF; text-decoration: none; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.hero__badge:not(.fx-badge) { padding: 6px 14px; border-radius: 999px; border: 1px solid #FFFFFF4D; background: #FFFFFF1F; color: #FFFFFF; font: 500 14px/1.4 var(--text); }
.hero__proof { list-style: none; margin: clamp(8px, 2vh, 20px) 0 0; padding: 18px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px;
  border-block-start: 1px solid #FFFFFF2E; color: #DDE1FF; font: 500 14.5px/1.4 var(--text); }
.hero__proof li { display: inline-flex; align-items: center; gap: 8px; }
.hero__proof .icon { inline-size: 16px; block-size: 16px; color: #A9B1FF; }

/* The waitlist form as a glass pill (on the hero and the closing card): the field and the button in one frosted row. */
.join--glass { inline-size: min(100%, 560px); margin-block-start: 6px; }
.join--glass .join__row { padding: 6px; padding-inline-start: 8px; border-radius: 999px; border: 1px solid #FFFFFF59; background: #FFFFFF24;
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 12px 34px -14px #070B3A99, inset 0 1px 0 #FFFFFF40; }
.join--glass .join__row:focus-within { border-color: #FFFFFF; background: #FFFFFF30; box-shadow: 0 0 0 3px #FFFFFF4D, 0 12px 34px -14px #070B3A99; }
.join--glass .join__input { color: #FFFFFF; padding-inline: 16px; }
.join--glass .join__input::placeholder { color: #FFFFFFE6; opacity: 1; }
.join--glass .join__btn { border-radius: 999px; background: #FFFFFF; color: #141A2B; }
.join--glass .join__btn:hover { background: #EEF0FF; }
.join--glass .join__note { color: #DDE1FF; text-align: center; }
.join--glass .join__note a { color: #FFFFFF; }
.join--glass .join__status.is-error { color: #FFD7DB; }
.join--glass.is-done .join__status { justify-content: center; background: #FFFFFF26; color: #FFFFFF; border: 1px solid #FFFFFF4D; }

/* A section's small label above its title. */
.kicker { margin: 0 0 14px; display: block; color: var(--brand-ink); font: 600 12.5px/1.3 var(--text); letter-spacing: .14em; text-transform: uppercase; }
[dir="rtl"] .kicker { letter-spacing: 0; font-size: 14px; }

/* How it works: three numbered steps. */
.how { padding-block: clamp(80px, 11vw, 140px) clamp(56px, 8vw, 96px); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.step { position: relative; display: grid; align-content: start; gap: 10px; padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface);
  transition: border-color var(--base) var(--enter), box-shadow var(--base) var(--enter), translate var(--base) var(--enter); }
.step:hover { border-color: color-mix(in srgb, var(--brand) 30%, var(--line)); box-shadow: var(--shadow-raised, 0 8px 24px -16px #141A2B33); translate: 0 -2px; }
.step__icon { display: grid; place-items: center; inline-size: 46px; block-size: 46px; margin-block-end: 10px; border-radius: 13px; background: var(--brand-soft); color: var(--brand-ink); }
.step__icon .icon { inline-size: 22px; block-size: 22px; }
.step__title { margin: 0; font: 650 22px/1.25 var(--display); letter-spacing: -.01em; }
[dir="rtl"] .step__title { letter-spacing: 0; font-weight: 700; }
.step p { margin: 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.6; }

/* The team log in its Border Beam. */
.team { margin-inline: clamp(0px, 1.2vw, 14px); border-radius: clamp(0px, 2vw, 28px); }
.log { position: relative; border-radius: 18px; }

/* Bento cards: the same edge and radius as the rest. */
.bento__card { border-radius: 18px; }
.bento__card[data-track] { transition: box-shadow var(--base) var(--enter), translate var(--base) var(--enter); }
.bento__card[data-track]:hover { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brand) 30%, var(--line)), var(--shadow-raised, 0 8px 24px -16px #141A2B33); translate: 0 -2px; }

/* The closing card: deep Orism blue in hyperiux's BeamBorder, the mascot waving beside the form. */
.cta { padding-block: clamp(56px, 8vw, 104px) clamp(72px, 10vw, 128px); }
.cta__wrap { position: relative; border-radius: 28px; }
.cta__box { position: relative; overflow: hidden; border-radius: 28px; color: #FFFFFF;
  background: radial-gradient(60% 90% at 85% 0%, #5B67EC 0%, transparent 70%), radial-gradient(50% 80% at 0% 100%, #2A37BE 0%, transparent 70%), linear-gradient(160deg, #2230A8 0%, #0B1250 100%); }
.cta__box .title { color: #FFFFFF; }
.cta .join--glass .join__row { box-shadow: 0 12px 34px -14px #070B3A99, inset 0 1px 0 #FFFFFF40; }
.cta .join--glass .join__note { text-align: start; }

.team .kicker { color: var(--glow); }
@media (max-width: 960px) {
  .hero__copy { display: block; }
  .hero .hero__inner > * { order: 0; margin-block-start: 0; }
  .hero .hero__inner > .join { margin-block-start: 6px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .step { grid-template-columns: auto minmax(0, 1fr); column-gap: 16px; row-gap: 4px; padding: 20px; }
  .step__icon { grid-row: span 2; margin: 0; }
}
@media (max-width: 640px) {
  .hero { padding-block-start: 76px; }
  .hero__card { min-block-size: 0; border-radius: 22px; margin-inline: 8px; padding-block: 56px 40px; }
  .join--glass .join__row { flex-direction: column; border-radius: 22px; padding: 6px; }
  .join--glass .join__btn { inline-size: 100%; }
  .hero__proof { flex-direction: column; align-items: center; gap: 8px; }
  .team { margin-inline: 8px; border-radius: 22px; }
  .cta .join--glass .join__note { text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__canvas, .step, .bento__card[data-track] { transition: none; }
}

/* The tools strip under the hero (shadcnui-blocks' Logo Cloud 15, ui/fx/logo-cloud.*), Sky, 5 Nov 2026. */
.tools { padding-block: clamp(56px, 8vw, 96px) 0; }
.tools .fx-logo-cloud__title { background: var(--color-canvas, #fff); }

/* Built live: Bader's TikTok and YouTube in Magic UI's Dock (ui/fx/dock.*). */
.live { padding-block: clamp(64px, 9vw, 112px) 0; }
.live__box { display: grid; justify-items: center; text-align: center; gap: 0; }
.live__box .section-head { margin-inline: auto; }
.live__dock { margin-block-start: 28px; }
.live__handle { margin: 14px 0 0; color: var(--color-text-muted, var(--ink-2)); font: 500 14px/1.4 var(--text); }

/* Orism's accounts in the footer's brand column (ravikatiyar162's Social Tooltip). */
.foot-socials { margin-block-start: 20px; padding-block-end: 16px; }

/* Light and dark (Bader, 5 Nov): the brand roles switch in /ui/minimal.css; the page tells the browser which it is. */
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { color-scheme: dark; } }
:root[data-theme="dark"] { color-scheme: dark; }
.theme { inline-size: 40px; block-size: 40px; display: grid; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink); transition: border-color var(--quick) var(--enter); }
.theme:hover { border-color: var(--color-border-strong, #80869A); }
.theme svg { inline-size: 18px; block-size: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.theme__sun { display: none; }
:root[data-theme="dark"] .theme__sun { display: block; }
:root[data-theme="dark"] .theme__moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme__sun { display: block; }
  :root:not([data-theme="light"]) .theme__moon { display: none; }
}
/* In dark, the team's stage sits on a dark page: a hairline keeps it a card. */
:root[data-theme="dark"] .team { box-shadow: inset 0 0 0 1px var(--line); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .team { box-shadow: inset 0 0 0 1px var(--line); } }

/* Sign up at the front (Bader, 9 Nov 2026: accounts are open, "Join the waitlist" goes). On the liquid hero: a white
   pill to sign up and a glass one to look around first, the same pair as the waitlist field they replace. */
.hero__go { display: grid; justify-items: center; gap: 14px; margin-block-start: 6px; }
.hero__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.hero__signup { background: #FFFFFF; color: #141A2B; padding-inline: 26px; box-shadow: 0 12px 34px -14px #070B3A99; }
.hero__signup:hover { background: #EEF0FF; }
.hero__signup .icon { inline-size: 18px; block-size: 18px; }
.hero__browse { background: #FFFFFF24; color: #FFFFFF; box-shadow: inset 0 0 0 1px #FFFFFF59; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.hero__browse:hover { background: #FFFFFF38; }
.hero__note { margin: 0; color: #DDE1FF; font: 400 14.5px/1.5 var(--text); text-align: center; max-inline-size: 46ch; }
.cta__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-block-start: 24px; }
@media (max-width: 720px) { .cta__btns { justify-content: center; } .hero__btns .btn { flex: 1 1 100%; } }

/* Prices (pricing mockup D, 10 Nov 2026): the plan cards from /ui/plans.css, shared with learn.orism.ai. */
.prices { padding-block: clamp(72px, 11vw, 140px) clamp(48px, 7vw, 96px); }
.prices__all { margin: 28px 0 0; text-align: center; }

/* The Black Friday bar (Bader, 11 Nov 2026): fixed above the header while the sale is on (prices.js unhides it), so
   the header, the hero and the anchors all move down by its height. */
.sale-bar { position: fixed; inset: 0 0 auto; z-index: 21; block-size: 40px; display: flex; align-items: center; justify-content: center; gap: .75rem;
  padding-inline: 16px; background: #0b0b10; color: #fff; text-decoration: none; font: 500 14px / 1.2 var(--type-label-family, system-ui, sans-serif); white-space: nowrap; overflow: hidden; }
.sale-bar b { padding: .2rem .6rem; border-radius: 999px; background: #3040D9; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-size: 12px; }
html[lang="ar"] .sale-bar b { letter-spacing: 0; text-transform: none; font-size: 13px; }
.sale-bar__go { display: inline-flex; align-items: center; gap: .3rem; font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
.sale-bar__go svg { inline-size: 16px; block-size: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
html[dir="rtl"] .sale-bar__go svg { transform: scaleX(-1); }
.sale-bar:hover .sale-bar__go { text-decoration-thickness: 2px; }
.sale-bar:focus-visible { outline: 3px solid var(--color-accent, #3040D9); outline-offset: -3px; }
@media (max-width: 34rem) { .sale-bar__go { display: none; } .sale-bar { font-size: 13px; } }
html:has(body > .sale-bar:not([hidden])) { scroll-padding-top: 128px; }
body:has(> .sale-bar:not([hidden])) .top { inset-block-start: 40px; }
body:has(> .sale-bar:not([hidden])) .hero { padding-block-start: 124px; }
