/* =====================================================================
   WofbyJahanzeb.com  -  site styles
   Dark trading-terminal theme: green-black surfaces, gold accents.
   Written mobile-first. Uses "logical" properties (inline-start / end)
   so the same rules mirror correctly for Urdu (right-to-left).
   ===================================================================== */

/* ---------- Fonts (self-hosted, so pages work on slow connections) --- */
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("../fonts/public-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("../fonts/public-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-mono-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Noto Naskh Arabic"; src: url("../fonts/noto-naskh-arabic-arabic-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "Noto Naskh Arabic"; src: url("../fonts/noto-naskh-arabic-arabic-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "Gulzar"; src: url("../fonts/gulzar-arabic-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+200C-200E, U+2010-2011, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }

/* ---------- Brand colours (from the brand brief; change here only) --- */
:root {
  /* Dark trading-terminal theme: green-black surfaces, gold accents. Change colours here only. */
  --surface: #050D0A;      /* page background */
  --surface-2: #0A1712;    /* panels and alternate bands */
  --surface-3: #0E2119;    /* highlighted bands */
  --footer: #030806;
  --line: #1C3228;
  --field-line: #3B5548;
  --text: #DDE7E1;
  --text-2: #B7C6BD;
  --slate: #8CA197;
  --heading: #F4F6F1;
  --on-dark: #F4F6F1;
  --on-gold: #14100A;
  --gold: #C9972E;
  --gold-bright: #E0B04A;
  --gold-text: #E0B04A;
  --champagne: #F3E3B5;
  --link: #6FD9A8;
  --green: #17734A;
  --up: #2FC27A;
  --down: #F0705C;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-text: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --lh-text: 1.6;
  --lh-display: 1.12;
  --display-weight: 600;

  --wrap: 1120px;
  --gutter: 20px;
  --band: 56px;
  --radius: 2px;
  color-scheme: dark;
}
:root:lang(ur) {
  --font-display: "Gulzar", "Noto Naskh Arabic", "Noto Nastaliq Urdu", serif;
  --font-text: "Noto Naskh Arabic", "Public Sans", Tahoma, sans-serif;
  --lh-text: 2;
  --lh-display: 1.9;
  --display-weight: 400;
  --font-mono: "Noto Naskh Arabic", "Public Sans", Tahoma, sans-serif;
}
@media (min-width: 760px) {
  :root { --gutter: 32px; --band: 88px; }
}

/* ---------- Base ---------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-text);
  font-size: 1.0625rem;
  line-height: var(--lh-text);
  overflow-wrap: break-word;
}
:lang(ur) body, body:lang(ur) { font-size: 1.1875rem; }
@media (min-width: 760px) { body { font-size: 1.125rem; } :lang(ur) body { font-size: 1.25rem; } }

h1, h2, h3 { font-family: var(--font-display); font-weight: var(--display-weight); line-height: var(--lh-display); color: var(--heading); margin: 0 0 0.5em; text-wrap: balance; }
h1 { font-size: clamp(2.125rem, 5.2vw + 0.6rem, 3.25rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.625rem, 2.4vw + 0.9rem, 2.25rem); }
h3 { font-size: clamp(1.25rem, 0.6vw + 1.1rem, 1.5rem); }
:lang(ur) h1, :lang(ur) h2, :lang(ur) h3 { letter-spacing: 0; }
p, ul, ol, dl { margin: 0 0 1em; }
a { color: var(--link); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--heading); text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
img { max-width: 100%; height: auto; display: block; }
strong { font-weight: 600; }
code, pre { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 0.9em; }
pre { background: var(--surface-2); border: 1px solid var(--line); padding: 12px; overflow-x: auto; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 760px; }
.wrap--tiny { max-width: 440px; }
.wrap--risk { padding-block: 0 8px; }
.num { font-family: "Public Sans", system-ui, sans-serif; font-variant-numeric: tabular-nums lining-nums; }
.muted { color: var(--slate); font-size: 0.9375em; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.icon { flex: none; vertical-align: -0.2em; }
[dir="rtl"] .icon-arrow, [dir="rtl"] .icon-external { transform: scaleX(-1); }
.is-up { color: var(--up); }
.is-down { color: var(--down); }

.skip { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--gold-bright); color: var(--on-dark); padding: 10px 16px; z-index: 50; }
.skip:focus { top: 12px; color: var(--on-dark); }

/* ---------- Buttons ------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 10px 22px;
  border: 1.5px solid transparent; border-radius: var(--radius);
  font: inherit; font-weight: 600; line-height: 1.3; text-decoration: none; text-align: center; cursor: pointer;
}
.btn--primary { background: var(--gold-bright); color: var(--on-dark); }
.btn--primary:hover { background: var(--green); color: var(--on-dark); }
.btn--secondary { background: var(--surface); color: var(--heading); border-color: var(--gold); }
.btn--secondary:hover { background: var(--surface-3); }
.btn--light { background: var(--surface); color: var(--heading); }
.btn--light:hover { background: var(--champagne); color: var(--heading); }
.btn--outline-light { color: var(--on-dark); border-color: rgba(255, 255, 255, 0.7); }
.btn--outline-light:hover { background: rgba(255, 255, 255, 0.1); color: var(--on-dark); }
.btn--small { min-height: 40px; padding: 6px 16px; font-size: 0.9375rem; }
.btn--block { display: flex; width: 100%; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.actions--center { justify-content: center; }
.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: 2px; }
.more:hover { border-bottom-width: 2px; }
.link-button { background: none; border: 0; padding: 0; font: inherit; color: var(--link); text-decoration: underline; cursor: pointer; }

/* ---------- Header -------------------------------------------------- */
.site-header { border-bottom: 1px solid var(--line); background: var(--surface); }
.site-header__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding-block: 12px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--heading); }
.brand__mark { width: 44px; height: 44px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: 1.25rem; }
.brand__by { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate); font-family: "Public Sans", system-ui, sans-serif; }
:lang(ur) .brand__name { font-family: var(--font-display); font-weight: 400; font-size: 1.375rem; line-height: 1.7; }
:lang(ur) .brand__by { letter-spacing: 0; font-family: var(--font-text); font-size: 0.875rem; }

.nav-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); font: inherit; font-weight: 600; color: var(--heading); cursor: pointer; }
.no-js .nav-toggle { display: none; }
.site-nav { flex-basis: 100%; display: none; padding-block: 8px 12px; }
.site-nav.is-open, .no-js .site-nav { display: block; }
.site-nav__list { list-style: none; margin: 0; padding: 0; }
.site-nav__list a { display: block; padding: 12px 0; border-top: 1px solid var(--line); text-decoration: none; font-weight: 600; color: var(--text); }
.site-nav__list a[aria-current="page"] { color: var(--link); }
.site-nav__side { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.lang-switch { display: inline-flex; align-items: center; min-height: 40px; padding: 2px 14px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; font-weight: 600; color: var(--heading); }
.lang-switch:lang(ur) { font-family: "Noto Naskh Arabic", Tahoma, sans-serif; font-size: 1.0625rem; }
.lang-switch:lang(en) { font-family: "Public Sans", system-ui, sans-serif; font-size: 0.9375rem; }
.lang-switch:hover { border-color: var(--gold); }
.site-nav__login { font-weight: 600; text-decoration: none; }

@media (min-width: 980px) {
  .nav-toggle { display: none; }
  .site-nav, .no-js .site-nav { display: flex; flex: 1; flex-basis: auto; align-items: center; justify-content: flex-end; gap: 28px; padding: 0; }
  .site-nav__list { display: flex; gap: 26px; }
  .site-nav__list a { padding: 8px 0; border-top: 0; border-bottom: 2px solid transparent; font-size: 0.9375rem; }
  :lang(ur) .site-nav__list a { font-size: 1.0625rem; }
  .site-nav__list a:hover, .site-nav__list a[aria-current="page"] { border-bottom-color: var(--gold); color: var(--heading); }
  .site-nav__side { padding: 0; border: 0; flex-wrap: nowrap; }
}

.lang-suggest { background: var(--surface-3); border-bottom: 1px solid var(--line); font-family: "Noto Naskh Arabic", Tahoma, sans-serif; font-size: 1.0625rem; line-height: 1.9; }
.lang-suggest__in { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; padding-block: 8px; }
.lang-suggest__yes { font-weight: 600; }
.lang-suggest__no { background: none; border: 0; font: 400 0.875rem "Public Sans", system-ui, sans-serif; color: var(--slate); text-decoration: underline; cursor: pointer; padding: 8px 0; }

/* ---------- Page furniture ----------------------------------------- */
.eyebrow { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 18px; }
.eyebrow a { color: inherit; }
:lang(ur) .eyebrow { letter-spacing: 0; font-size: 1rem; }
.lead { font-size: 1.1875rem; color: var(--text-2); max-width: 40em; }
@media (min-width: 760px) { .lead { font-size: 1.3125rem; } }
:lang(ur) .lead { font-size: 1.3125rem; }

.band { padding-block: var(--band); }
.band--ivory { background: var(--surface-2); }
.band--mint { background: var(--surface-3); }
.band--flush { padding-top: 8px; }
.section-title::before { content: ""; display: block; width: 48px; height: 2px; background: var(--gold); margin-bottom: 20px; }
.section-head { max-width: 44em; margin-bottom: 32px; }
.list-title { font-family: var(--font-text); font-weight: 600; font-size: 0.875rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate); margin: 32px 0 4px; line-height: 1.6; }
.list-title:first-child { margin-top: 0; }
:lang(ur) .list-title { letter-spacing: 0; font-size: 1.0625rem; }

.split { display: grid; gap: 28px; }
.split__head > :last-child, .split__body > :last-child { margin-bottom: 0; }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 72px; align-items: start; }
}

.page-head { padding-block: 44px 36px; }
.page-head h1 { max-width: 18em; }
.page-head--center { text-align: center; padding-block: 64px; }
.page-head--center h1, .page-head--center .lead { margin-inline: auto; }
@media (min-width: 760px) { .page-head { padding-block: 72px 48px; } }

.prose p { max-width: 42em; }
.prose--large p:first-child { font-size: 1.1875em; color: var(--heading); }
.address { display: flex; gap: 8px; align-items: baseline; color: var(--heading); font-weight: 600; }
.address .icon { color: var(--gold-text); position: relative; top: 3px; }
.empty { padding: 20px 24px; background: var(--surface-2); border-inline-start: 3px solid var(--line); color: var(--text-2); }
.band--ivory .empty { background: var(--surface); }
.notice { padding: 14px 18px; background: var(--champagne); border-inline-start: 3px solid var(--gold); font-size: 0.9375em; }
.note-block { padding: 24px; background: var(--surface-3); border-inline-start: 3px solid var(--gold); }
.note-block > :last-child { margin-bottom: 0; }
.pull { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.9; color: var(--heading); border-inline-start: 2px solid var(--gold); padding-inline-start: 20px; margin-block: 28px 8px; }
.pull:lang(ur) { font-family: "Gulzar", "Noto Naskh Arabic", serif; }
.portrait, .wide-photo, .hero__photo { border: 1px solid var(--line); margin-bottom: 24px; }
.after-rows { margin-top: 32px; }

/* ---------- Risk warning ------------------------------------------- */
.risk { margin-block: 28px 0; padding: 16px 20px; background: var(--surface-2); border-inline-start: 3px solid var(--gold); font-size: 0.9375rem; line-height: 1.55; color: var(--text); }
:lang(ur) .risk { font-size: 1.0625rem; line-height: 1.9; }
.band--ivory .risk, .panel .risk { background: var(--surface); }
.risk p { margin: 0; max-width: none; }
.risk__label { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--gold-text); margin-bottom: 4px !important; }

/* ---------- Home: hero --------------------------------------------- */
.hero { padding-block: 40px 56px; border-bottom: 1px solid var(--line); }
.hero__in { display: grid; gap: 40px; }
.hero h1 { max-width: 15em; }
.ledger { background: var(--surface-2); border-top: 2px solid var(--gold); padding: 22px 24px 10px; }
.ledger__title { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate); margin-bottom: 6px; }
:lang(ur) .ledger__title { letter-spacing: 0; font-size: 1rem; }
.ledger dl { margin: 0; }
.ledger dl > div { padding-block: 12px; border-top: 1px solid var(--line); }
.ledger dt { font-size: 0.875rem; color: var(--slate); }
.ledger dd { margin: 0; font-family: var(--font-display); font-weight: var(--display-weight); font-size: 1.1875rem; line-height: 1.35; color: var(--heading); }
:lang(ur) .ledger dd { line-height: 1.9; }
@media (min-width: 900px) {
  .hero { padding-block: 88px 96px; }
  .hero__in { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 72px; align-items: end; }
}

/* ---------- Home: four paths (rows, not cards) ---------------------- */
.paths { list-style: none; margin: 32px 0 0; padding: 0; border-bottom: 1px solid var(--line); }
.path { display: grid; grid-template-columns: 3rem 1fr; gap: 4px 12px; padding-block: 24px; border-top: 1px solid var(--line); }
.path__n { color: var(--gold-text); font-weight: 600; font-size: 0.9375rem; padding-top: 0.45em; }
.path__t { margin: 0; }
.path__d, .path__a { grid-column: 2; margin: 0; }
.path__d { color: var(--text-2); }
.path__a { justify-self: start; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; margin-top: 6px; }
@media (min-width: 900px) {
  .path { grid-template-columns: 4rem minmax(0, 3fr) minmax(0, 5fr) auto; align-items: baseline; gap: 24px; padding-block: 28px; }
  .path__d, .path__a { grid-column: auto; }
  .path__a { justify-self: end; margin: 0; }
}

/* ---------- Session lists ------------------------------------------ */
.sessions { list-style: none; margin: 0 0 8px; padding: 0; border-bottom: 1px solid var(--line); }
.sessions li { display: grid; gap: 0 20px; padding-block: 14px; border-top: 1px solid var(--line); }
.sessions__date { font-weight: 600; color: var(--heading); }
.sessions__where { color: var(--slate); }
@media (min-width: 620px) {
  .sessions li { grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 5fr); align-items: baseline; }
}

/* ---------- Numbered steps ----------------------------------------- */
.steps, .numbered, .route, .timeline { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-block: 20px; padding-inline-start: 64px; border-top: 1px solid var(--line); }
.steps li:first-child { border-top: 0; padding-top: 0; }
.steps li::before { content: counter(step); position: absolute; inset-inline-start: 0; top: 16px; font: 600 2.25rem/1 "Fraunces", Georgia, serif; color: var(--gold-text); }
.steps li:first-child::before { top: -4px; }
.steps h3 { margin-bottom: 4px; }
.steps p { margin: 0; }
.band--mint .steps li { border-top-color: var(--line); }

.numbered li { counter-increment: step; position: relative; padding-block: 12px; padding-inline-start: 44px; border-top: 1px solid var(--line); }
.numbered li::before { content: counter(step); position: absolute; inset-inline-start: 0; font: 600 1rem/1 "Public Sans", sans-serif; color: var(--gold-text); top: 1.05em; }
.numbered { border-bottom: 1px solid var(--line); margin-bottom: 1.25em; }

.route li { counter-increment: step; position: relative; padding-inline-start: 52px; padding-bottom: 28px; }
.route li::before { content: counter(step); position: absolute; inset-inline-start: 0; top: 0; width: 34px; height: 34px; border: 1.5px solid var(--gold); border-radius: 50%; background: var(--surface); display: grid; place-items: center; font: 600 0.9375rem/1 "Public Sans", sans-serif; color: var(--heading); z-index: 1; }
.route li::after { content: ""; position: absolute; inset-inline-start: 16.5px; top: 34px; bottom: 0; width: 1px; background: var(--line); }
.route li:last-child::after { display: none; }
.route h3 { font-size: 1.1875rem; margin-bottom: 2px; padding-top: 3px; }
.route p { margin: 0; color: var(--text-2); font-size: 0.9375em; }
@media (min-width: 980px) {
  .route { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
  .route li { padding: 52px 0 0; }
  .route li::after { inset-inline-start: 34px; inset-inline-end: -20px; top: 17px; bottom: auto; width: auto; height: 1px; }
}

.timeline li { position: relative; padding-block: 0 28px; padding-inline-start: 28px; border-inline-start: 1px solid var(--gold); margin-inline-start: 6px; }
.timeline li::before { content: ""; position: absolute; inset-inline-start: -6px; top: 0.45em; width: 11px; height: 11px; border-radius: 50%; background: var(--gold); }
.timeline li:last-child { padding-bottom: 0; }
.timeline__when { display: block; font-size: 0.875rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-text); }
:lang(ur) .timeline__when { letter-spacing: 0; font-size: 1rem; }
.timeline h3 { margin: 2px 0 4px; }
.timeline p { margin: 0; }

.ticks, .plain { list-style: none; padding: 0; }
.ticks li { display: flex; gap: 12px; padding-block: 6px; }
.ticks .icon { color: var(--gold-text); margin-top: 0.3em; }
:lang(ur) .ticks .icon { margin-top: 0.75em; }
.plain li { padding-block: 10px; border-top: 1px solid var(--line); }
.plain li:last-child { border-bottom: 1px solid var(--line); }
.keep { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.45; color: var(--heading); }
:lang(ur) .keep { line-height: 2; }

/* ---------- Definition rows ---------------------------------------- */
.defs { margin: 0; border-bottom: 1px solid var(--line); }
.defs > div { padding-block: 20px; border-top: 1px solid var(--line); }
.defs dt { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 1.25rem; line-height: 1.35; color: var(--heading); margin-bottom: 4px; }
:lang(ur) .defs dt { line-height: 1.9; }
.defs dd { margin: 0; }
.band--mint .defs, .band--mint .defs > div { border-color: var(--line); }
@media (min-width: 620px) {
  .defs > div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 24px; }
}

/* ---------- Course rows -------------------------------------------- */
.rows { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.row { display: grid; gap: 14px; padding-block: 28px; border-top: 1px solid var(--line); }
.row__title { margin: 0 0 6px; }
.row__title a { color: var(--heading); text-decoration: none; }
.row__title a:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.row__desc { margin: 0; color: var(--text-2); max-width: 38em; }
.row__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; }
.row__facts dt { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate); }
:lang(ur) .row__facts dt { letter-spacing: 0; font-size: 0.9375rem; }
.row__facts dd { margin: 0; font-weight: 600; font-size: 0.9375em; }
.row__sub { display: block; font-weight: 400; font-size: 0.875rem; color: var(--slate); }
.row__go { justify-self: start; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
@media (min-width: 980px) {
  .row { grid-template-columns: minmax(0, 5fr) minmax(0, 5fr) auto; gap: 40px; align-items: start; }
  .row__go { justify-self: end; padding-top: 6px; }
}
.tabs { display: flex; gap: 8px; margin-bottom: 8px; flex-wrap: wrap; }
.tabs a { min-height: 44px; display: inline-flex; align-items: center; padding: 4px 18px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; font-weight: 600; color: var(--text); }
.tabs a[aria-current="page"] { background: var(--gold-bright); border-color: var(--gold); color: var(--on-dark); }

/* ---------- Course detail ------------------------------------------ */
.course, .two-col { display: grid; gap: 40px; padding-bottom: var(--band); }
.course__main section, .two-col__main section { margin-bottom: 44px; }
.curriculum { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.curriculum > li { padding-block: 22px; border-top: 1px solid var(--line); }
.curriculum__n { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-text); margin: 0 0 2px; }
:lang(ur) .curriculum__n { letter-spacing: 0; font-size: 1rem; }
.curriculum h3 { margin-bottom: 8px; }
.curriculum ol { margin: 0; padding-inline-start: 1.3em; color: var(--text-2); }
.curriculum ol li { padding-block: 3px; }
.enroll, .panel { background: var(--surface-2); border-top: 2px solid var(--gold); padding: 24px; }
.enroll__label { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate); margin: 0; }
:lang(ur) .enroll__label { letter-spacing: 0; font-size: 1rem; }
.enroll__price { font: 600 3rem/1.1 "Fraunces", Georgia, serif; color: var(--heading); margin: 4px 0; }
.enroll__pkr { color: var(--slate); font-size: 0.9375rem; }
.enroll__facts { margin: 20px 0; }
.enroll__facts > div { display: grid; grid-template-columns: 7.5em 1fr; gap: 12px; padding-block: 10px; border-top: 1px solid var(--line); font-size: 0.9375em; }
.enroll__facts dt { color: var(--slate); }
.enroll__facts dd { margin: 0; font-weight: 600; }
.enroll__note, .enroll__warn { font-size: 0.875rem; line-height: 1.55; margin: 14px 0 0; color: var(--text-2); }
:lang(ur) .enroll__note, :lang(ur) .enroll__warn { font-size: 1rem; line-height: 1.9; }
.enroll__warn { color: var(--text); font-weight: 600; }
@media (min-width: 980px) {
  .course, .two-col { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 72px; align-items: start; }
  .course__side, .two-col__side { position: sticky; top: 24px; }
}
.panel > h2 { font-size: 1.5rem; }
.panel__free { display: inline-block; background: var(--champagne); color: #5C4212; font-weight: 600; font-size: 0.875rem; padding: 2px 12px; margin-top: -4px; }

/* ---------- Forms --------------------------------------------------- */
.form { margin-top: 12px; }
.form--left { text-align: start; }
.field { margin: 0 0 18px; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { display: block; font-weight: 600; margin-bottom: 6px; padding: 0; font-size: 0.9375em; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field input[type="password"], .field input[type="month"], .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 12px;
  border: 1px solid var(--field-line); border-radius: var(--radius); background: var(--surface); color: var(--text);
  font: inherit; line-height: 1.4;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }
.field--error input, .field--error select, .field--error textarea { border-color: var(--down); border-width: 2px; }
.field__hint { font-size: 0.8125rem; line-height: 1.5; color: var(--slate); margin: 6px 0 0; }
:lang(ur) .field__hint { font-size: 0.9375rem; line-height: 1.8; }
.choices { display: grid; gap: 8px; }
.choice { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; background: var(--surface); border: 1px solid var(--field-line); border-radius: var(--radius); cursor: pointer; font-weight: 400 !important; margin: 0 !important; }
.choice input { margin-top: 0.35em; width: 18px; height: 18px; accent-color: var(--gold); flex: none; }
:lang(ur) .choice input { margin-top: 0.7em; }
.choice:has(input:checked) { border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); background: var(--surface-3); }
.choice__title { display: block; font-weight: 600; }
.choice__meta { display: block; font-size: 0.875rem; color: var(--slate); }
:lang(ur) .choice__meta { font-size: 1rem; }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__note { font-size: 0.8125rem; line-height: 1.5; color: var(--slate); margin: 14px 0 0; }
:lang(ur) .form__note { font-size: 0.9375rem; line-height: 1.8; }
.form-errors { padding: 14px 18px; margin-bottom: 20px; background: #2A1512; border-inline-start: 3px solid var(--down); font-size: 0.9375em; }
.form-errors p, .form-errors ul { margin: 0; }
.form-errors ul { padding-inline-start: 1.2em; }
.form-ok { padding: 16px 20px; margin-bottom: 20px; background: var(--surface-3); border-inline-start: 3px solid var(--up); }
.form-ok p:last-child { margin: 0; }
.inline-form { display: inline-flex; gap: 8px; align-items: center; }

/* ---------- Tables -------------------------------------------------- */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; font-size: 0.9375em; }
.table th, .table td { padding: 14px 16px 14px 0; text-align: start; vertical-align: baseline; border-bottom: 1px solid var(--line); }
[dir="rtl"] .table th, [dir="rtl"] .table td { padding: 14px 0 14px 16px; }
.table thead th { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate); font-weight: 600; border-bottom-color: var(--text); white-space: nowrap; }
:lang(ur) .table thead th { letter-spacing: 0; font-size: 0.9375rem; }
.table tbody th { font-weight: 600; }
.table caption { caption-side: bottom; text-align: start; padding-top: 12px; font-size: 0.875rem; color: var(--slate); }
.table__big { font: 600 1.75rem/1.2 "Fraunces", Georgia, serif !important; color: var(--heading); }
.table__num { text-align: end !important; white-space: nowrap; font-weight: 600; }
.table__action { text-align: end !important; white-space: nowrap; }
.table td[dir="ltr"] { text-align: start; }
[dir="rtl"] .table td[dir="ltr"] { text-align: right; }
.figures { margin: 0 0 8px; border-bottom: 1px solid var(--line); }
.figures > div { padding-block: 16px; border-top: 1px solid var(--line); }
.figures dt { font-size: 0.875rem; color: var(--slate); }
.figures dd { margin: 0; }
.figures__n { display: block; font-family: var(--font-display); font-weight: var(--display-weight); font-size: 1.75rem; line-height: 1.3; color: var(--heading); }
:lang(ur) .figures__n { line-height: 1.9; }

/* ---------- Verified record + embeds -------------------------------- */
.record__pending { padding: 24px; background: var(--surface-2); border-top: 2px solid var(--gold); }
.band--ivory .record__pending { background: var(--surface); }
.record__pending-title { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 1.25rem; color: var(--heading); margin-bottom: 6px; }
.record__pending p:last-child { margin: 0; }
.record__frame, .map { display: grid; place-items: center; gap: 8px; min-height: 220px; padding: 24px; background: var(--surface-2); border: 1px solid var(--line); text-align: center; }
.record__frame.is-loaded, .map.is-loaded { padding: 0; background: var(--surface); }
.record__frame iframe, .map iframe { width: 100%; height: 420px; border: 0; display: block; }
.record__frame img { width: 100%; height: auto; }
.record__note { font-size: 0.8125rem; color: var(--slate); margin: 0; }
.record__link { margin-top: 16px; }
.map { margin-top: 24px; }
.contact-big { font: 600 clamp(1.75rem, 5vw, 2.5rem)/1.2 "Fraunces", Georgia, serif; margin-bottom: 8px; }
.contact-big a { color: var(--heading); text-decoration: none; }

/* ---------- FAQ ----------------------------------------------------- */
.faq { border-bottom: 1px solid var(--line); }
.faq__item { border-top: 1px solid var(--line); }
.faq__item summary { list-style: none; cursor: pointer; padding-block: 18px; padding-inline-end: 40px; position: relative; font-family: var(--font-display); font-weight: var(--display-weight); font-size: 1.1875rem; line-height: 1.4; color: var(--heading); }
:lang(ur) .faq__item summary { line-height: 1.9; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; inset-inline-end: 4px; top: 12px; font: 400 1.75rem/1.2 "Public Sans", sans-serif; color: var(--gold-text); }
.faq__item[open] summary::after { content: "\2212"; }
.faq__item p { margin: 0 0 20px; max-width: 42em; }
.faq-page { display: grid; gap: 32px; padding-bottom: var(--band); }
.faq-page section { margin-bottom: 44px; scroll-margin-top: 24px; }
.toc ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; }
.toc a { font-weight: 600; }
@media (min-width: 980px) {
  .faq-page { grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: 72px; align-items: start; }
  .toc { position: sticky; top: 24px; }
  .toc ul { display: block; }
  .toc li { padding-block: 8px; border-top: 1px solid var(--line); }
}

/* ---------- Legal --------------------------------------------------- */
.legal { display: grid; gap: 40px; padding-bottom: var(--band); }
.legal__body h2 { font-size: 1.5rem; margin-top: 1.6em; }
.legal__body h2:first-of-type { margin-top: 0.6em; }
.legal__body ul, .legal__body ol { padding-inline-start: 1.3em; max-width: 42em; }
.legal__body li { margin-bottom: 0.4em; }
.legal__nav h2 { font-family: var(--font-text); font-weight: 600; font-size: 0.8125rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate); }
.legal__nav ul { list-style: none; padding: 0; margin: 0; }
.legal__nav li { padding-block: 8px; border-top: 1px solid var(--line); }
.legal__nav a[aria-current="page"] { color: var(--text); font-weight: 600; text-decoration: none; }
@media (min-width: 980px) { .legal { grid-template-columns: minmax(0, 8fr) minmax(0, 3fr); gap: 72px; align-items: start; } }

/* ---------- Booking confirmation / month detail --------------------- */
.booked, .month, .setup { padding-bottom: var(--band); }
.receipt { margin: 0 0 28px; border-top: 2px solid var(--gold); background: var(--surface-2); padding: 8px 24px; }
.receipt > div { display: grid; grid-template-columns: 9em 1fr; gap: 16px; padding-block: 14px; border-top: 1px solid var(--line); }
.receipt > div:first-child { border-top: 0; }
.receipt dt { color: var(--slate); font-size: 0.9375em; }
.receipt dd { margin: 0; font-weight: 600; }
.receipt__big { font: 600 2.25rem/1.1 "Fraunces", Georgia, serif !important; }
.proof { margin: 28px 0; }
.proof img { border: 1px solid var(--line); }
.proof figcaption { font-size: 0.875rem; color: var(--slate); margin-top: 8px; }
.checks { list-style: none; padding: 0; }
.checks li { padding: 10px 0; border-top: 1px solid var(--line); }
.checks .is-ok strong { color: var(--up); }
.checks .is-bad strong { color: var(--down); }

/* ---------- Student voices ----------------------------------------- */
.voices { display: grid; gap: 32px; }
.voice { margin: 0; padding-inline-start: 20px; border-inline-start: 2px solid var(--gold); }
.voice blockquote { margin: 0; font-family: var(--font-display); font-size: 1.25rem; line-height: 1.5; color: var(--heading); }
.voice figcaption { font-size: 0.875rem; color: var(--slate); margin-top: 8px; }
@media (min-width: 900px) { .voices { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; } }

/* ---------- Final call to action ------------------------------------ */
.final { background: var(--gold-bright); color: var(--on-dark); padding-block: 56px; }
.final h2 { color: var(--on-dark); margin-bottom: 8px; }
.final p { margin: 0; color: rgba(255, 255, 255, 0.88); max-width: 34em; }
.final__in { display: grid; gap: 8px; }
.final .actions { margin-top: 20px; }
.final__links { margin-top: 12px !important; font-size: 0.9375em; }
.final__links a { color: var(--champagne); }
@media (min-width: 900px) {
  .final { padding-block: 80px; }
  .final__in { grid-template-columns: minmax(0, 6fr) auto; gap: 56px; align-items: center; }
  .final .actions { margin-top: 0; }
}
.final + .wrap--risk { padding-block: 0 40px; }

/* ---------- Footer -------------------------------------------------- */
.site-footer { background: var(--gold-bright); color: rgba(255, 255, 255, 0.86); padding-block: 48px 96px; font-size: 0.9375rem; border-top: 1px solid rgba(255, 255, 255, 0.14); }
:lang(ur) .site-footer { font-size: 1.0625rem; }
.site-footer a { color: var(--on-dark); text-decoration-color: rgba(255, 255, 255, 0.4); }
.site-footer a:hover { color: var(--champagne); }
.site-footer__risk { padding: 20px 22px; border: 1px solid rgba(243, 227, 181, 0.45); margin-bottom: 44px; font-size: 1rem; line-height: 1.6; color: var(--on-dark); }
:lang(ur) .site-footer__risk { font-size: 1.125rem; line-height: 2; }
.site-footer__risk p { margin: 0; max-width: 62em; }
.site-footer__risk-label { font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.8125rem; color: var(--champagne); margin-bottom: 6px !important; }
:lang(ur) .site-footer__risk-label { letter-spacing: 0; font-size: 1rem; }
.site-footer__cols { display: grid; gap: 32px; }
.site-footer h2 { font-family: var(--font-text); font-weight: 600; font-size: 0.8125rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--champagne); margin-bottom: 12px; line-height: 1.6; }
:lang(ur) .site-footer h2 { letter-spacing: 0; font-size: 1.0625rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding-block: 5px; }
.site-footer__brand { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 1.5rem; color: var(--on-dark); margin-bottom: 4px; line-height: 1.4; }
.site-footer__brand span { display: block; font-family: var(--font-text); font-size: 0.8125rem; font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.75); }
:lang(ur) .site-footer__brand span { letter-spacing: 0; font-size: 1rem; }
.site-footer__tag { color: var(--champagne); }
.site-footer__social { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.site-footer__legal { margin: 40px 0 0; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.18); font-size: 0.875rem; color: rgba(255, 255, 255, 0.75); }
@media (min-width: 760px) {
  .site-footer { padding-block: 72px 56px; }
  .site-footer__cols { grid-template-columns: minmax(0, 4fr) minmax(0, 3fr) minmax(0, 3fr) minmax(0, 4fr); gap: 40px; }
}

/* ---------- Floating WhatsApp button -------------------------------- */
.wa-float { position: fixed; inset-inline-end: 16px; bottom: 16px; z-index: 40; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: var(--on-dark); border: 2px solid var(--on-dark); box-shadow: 0 2px 10px rgba(11, 61, 42, 0.28); }
.wa-float:hover { background: var(--gold-bright); color: var(--on-dark); }

@media print {
  .site-header, .site-footer__cols, .wa-float, .final, .lang-suggest, .nav-toggle { display: none !important; }
  .site-footer { background: none; color: #000; padding: 0; }
  .site-footer__risk { border-color: #000; color: #000; }
}

/* =====================================================================
   Terminal details. Everything below gives the "trading desk" feel:
   mono labels, gold buttons, a faint chart grid and panel frames.
   ===================================================================== */
.num, .eyebrow, .list-title, .ledger__title, .ledger dt, .table thead th, .row__facts dt, .enroll__label,
.curriculum__n, .timeline__when, .path__n, .brand__by, .site-footer h2, .site-footer__risk-label,
.legal__nav h2, .figures dt, .receipt dt, .sessions__time, .tabs a, .panel__free, .risk__label {
  font-family: var(--font-mono);
}
.eyebrow::before { content: "> "; color: var(--gold); }
[dir="rtl"] .eyebrow::before { content: ""; }
.steps li::before, .enroll__price, .table__big, .contact-big, .receipt__big { font-family: var(--font-mono) !important; font-weight: 600; letter-spacing: -0.02em; }
.steps li::before { font-size: 1.75rem; top: 20px; }
.steps li:first-child::before { top: 0; }

/* Gold buttons with dark text */
.btn--primary, .btn--light, .tabs a[aria-current="page"], .skip, .skip:focus { background: var(--gold-bright); color: var(--on-gold); border-color: var(--gold-bright); }
.btn--primary:hover, .btn--light:hover { background: #F0C465; color: var(--on-gold); }
.btn--secondary { background: transparent; color: var(--gold-bright); border-color: var(--gold); }
.btn--secondary:hover { background: rgba(224, 176, 74, 0.1); color: var(--gold-bright); }
.btn--outline-light { color: var(--on-dark); border-color: var(--field-line); }
.btn { letter-spacing: 0.01em; }
.more { color: var(--gold-bright); }
.more:hover { color: #F0C465; }
a:hover { color: var(--gold-bright); }

/* Header: a slim status bar */
.site-header { background: rgba(5, 13, 10, 0.94); border-bottom-color: var(--line); position: sticky; top: 0; z-index: 30; backdrop-filter: blur(6px); }
.site-nav__list a, .nav-toggle, .lang-switch { color: var(--text); }
.nav-toggle, .lang-switch { background: transparent; border-color: var(--field-line); }
.site-nav__list a[aria-current="page"] { color: var(--gold-bright); }
@media (min-width: 980px) { .site-nav__list a:hover, .site-nav__list a[aria-current="page"] { color: var(--gold-bright); } }
.brand, .brand__name { color: var(--heading); }
.lang-suggest { background: var(--surface-3); }

/* Hero: faint chart grid and a framed terminal panel */
.hero { position: relative; background:
    linear-gradient(to bottom, rgba(5, 13, 10, 0) 55%, var(--surface) 100%),
    repeating-linear-gradient(to right, rgba(201, 151, 46, 0.055) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(to bottom, rgba(201, 151, 46, 0.055) 0 1px, transparent 1px 64px),
    var(--surface); }
.hero h1::after { content: ""; display: inline-block; width: 0.5em; height: 0.08em; margin-inline-start: 0.12em; background: var(--gold-bright); animation: caret 1.2s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .hero h1::after { animation: none; } }
.candles { display: block; width: 100%; height: auto; margin-bottom: 0; background: var(--surface-2); border: 1px solid var(--line); border-bottom: 0; }
.ledger, .enroll, .panel, .receipt, .record__pending, .admin-form, .admin-stats { border: 1px solid var(--line); border-top: 2px solid var(--gold); }
.ledger dd { color: var(--heading); }
.ledger__title { display: flex; justify-content: space-between; color: var(--gold-bright); }
.ledger__title::after { content: "\25CF  LIVE CLASSES WEEKLY"; color: var(--up); font-size: 0.6875rem; letter-spacing: 0.08em; }
[dir="rtl"] .ledger__title::after { content: ""; }

/* Bands and rows */
.band { border-top: 1px solid var(--line); }
.band--flush { border-top: 0; }
.page-head { background:
    repeating-linear-gradient(to right, rgba(201, 151, 46, 0.045) 0 1px, transparent 1px 64px),
    var(--surface-2); border-bottom: 1px solid var(--line); margin-bottom: 40px; }
.path:hover, .row:hover { background: rgba(224, 176, 74, 0.035); }
.sessions__date, .address, .keep, .pull, .defs dt, .figures__n, .faq__item summary, .row__title a, .record__pending-title, .voice blockquote { color: var(--heading); }
.sessions__time { color: var(--gold-bright); font-size: 0.9375em; }
.prose--large p:first-child { color: var(--heading); }
.route li::before { background: var(--surface); color: var(--gold-bright); font-family: var(--font-mono); }
.risk { background: rgba(224, 176, 74, 0.06); border: 1px solid rgba(224, 176, 74, 0.28); border-inline-start: 3px solid var(--gold); color: var(--text); }
.band--ivory .risk, .panel .risk { background: rgba(224, 176, 74, 0.06); }
.risk a, .notice a { color: var(--gold-bright); }
.notice { background: rgba(224, 176, 74, 0.1); color: var(--text); }
.note-block { border-inline-start-color: var(--gold); }
.empty { border-inline-start-color: var(--field-line); }
.panel__free { background: rgba(47, 194, 122, 0.14); color: var(--up); border: 1px solid rgba(47, 194, 122, 0.4); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.75rem; }
.portrait, .wide-photo, .hero__photo, .proof img { border-color: var(--line); }

/* Forms on dark */
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field input[type="password"], .field input[type="month"], .field select, .field textarea, .choice { background: var(--surface); color: var(--text); border-color: var(--field-line); }
.field input::placeholder { color: #5F7469; }
.choice:has(input:checked) { background: rgba(224, 176, 74, 0.08); border-color: var(--gold-bright); box-shadow: inset 0 0 0 1px var(--gold-bright); }
.choice input { accent-color: var(--gold-bright); }
.form-errors { color: #FBD5CE; }
.form-ok { background: rgba(47, 194, 122, 0.1); }
.link-button { color: var(--gold-bright); }
pre { background: var(--surface-2); border-color: var(--line); color: var(--text); }

/* Tables read like a statement */
.table thead th { border-bottom-color: var(--gold); color: var(--gold-bright); }
.table--data tbody tr:hover { background: rgba(224, 176, 74, 0.04); }
.record__frame, .map { background: var(--surface-2); border-color: var(--line); }

/* Closing band and footer */
.final { background: var(--surface-3); border-top: 1px solid var(--gold); border-bottom: 1px solid var(--line); }
.final h2 { color: var(--heading); }
.final__links a { color: var(--gold-bright); }
.site-footer { background: var(--footer); border-top-color: var(--line); }
.wa-float { background: var(--green); border-color: var(--surface); box-shadow: 0 2px 14px rgba(0, 0, 0, 0.6); }
.wa-float:hover { background: #1E8E5C; }
