/* أكاديمية رمـز — shared site styles (Alan Sans only; tokens from ramz-weekly/BRAND.md) */
@import url("fonts/alan-sans.css");
  :root { --paper: #F2EFE8; --ink: #141413; --ink-top: #262624; --ink-2: #232321; --ink-3: #2E2E2B; --muted: #78746B; --paper-muted: rgba(242,239,232,.62); --paper-line: rgba(242,239,232,.14); --sand: #E5DFD3; --signal: #FF5A1F; --line: rgba(20,20,19,.12); }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; scroll-padding-top: 24px; }
  body { font-family: 'Alan Sans'; background: var(--paper); color: var(--ink); -webkit-font-smoothing: antialiased; font-size: 19px; line-height: 1.85; font-weight: 450; overflow-x: hidden; }
  a { color: inherit; text-decoration: none; }
  button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
  .latin { direction: ltr; unicode-bidi: isolate; }
  .wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
  .hl { color: var(--signal); }
  strong, b { font-weight: 800; }

  /* ---------- the soft dark shape with paper pockets (drawn by JS from the pocket's box) ---------- */
  .shape { position: relative; isolation: isolate; }
  .shape > svg.shape-bg { position: absolute; left: 0; top: 0; z-index: -1; overflow: visible; pointer-events: none; }
  .on-dark { color: var(--paper); }

  /* ---------- header ---------- */
  .top { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 0; }
  .brand { display: flex; align-items: center; gap: 14px; }
  .mark { display: grid; place-items: center; width: 46px; height: 46px; flex: none; }
  .mark img { width: 100%; display: block; }
  .brand .ar { font-size: 24px; font-weight: 800; line-height: 1.1; }
  .brand .en { font-size: 14px; font-weight: 700; color: var(--muted); line-height: 1.3; }
  .nav { display: flex; align-items: center; gap: 30px; font-size: 17px; font-weight: 700; color: var(--muted); }
  .nav a:hover { color: var(--ink); }
  .prog-pill { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 10px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 15px; font-weight: 800; line-height: 1; white-space: nowrap; }
  .prog-pill b { color: var(--signal); }
  .ring { width: 22px; height: 22px; flex: none; }

  /* ---------- shared bits ---------- */
  .kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 800; color: var(--signal); line-height: 1.4; }
  .kicker i.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--signal); flex: none; }
  .kicker .latin { color: var(--muted); font-weight: 700; font-size: 15px; }
  .chip { display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px 11px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 16px; font-weight: 800; line-height: 1; }
  .chip svg { color: var(--signal); }
  .btn { display: inline-flex; align-items: center; gap: 12px; padding: 15px 26px 17px; border-radius: 999px; font-size: 18px; font-weight: 800; line-height: 1; transition: transform .15s; }
  .btn:hover { transform: translateY(-2px); }
  .btn.ink { background: var(--ink); color: var(--paper); }
  .btn.ink svg { color: var(--signal); }
  .btn.signal { background: var(--signal); color: var(--ink); }
  .btn.line { border: 2px solid var(--line); color: var(--ink); }
  .btn.line-d { border: 2px solid var(--paper-line); color: var(--paper); }
  .badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 9px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 15px; font-weight: 800; line-height: 1; }
  .badge b { direction: ltr; color: var(--signal); font-weight: 900; }
  .num { direction: ltr; font-weight: 900; letter-spacing: -.02em; color: var(--signal); line-height: 1; }
  h1, h2, h3 { font-weight: 800; line-height: 1.24; }
  .h2 { font-size: clamp(34px, 4.2vw, 54px); }
  .lead { font-size: 21px; color: var(--muted); font-weight: 500; line-height: 1.75; }
  section.block { padding: 96px 0 0; }

  /* ---------- hero ---------- */
  .hero { margin-top: 4px; }
  .hero-grid { display: grid; grid-template-columns: 1.08fr 1fr; }
  .hero-pocket { padding: 34px 6px 54px 56px; }
  .hero-pocket h1 { font-size: clamp(54px, 6.3vw, 94px); line-height: 1.22; margin-top: 22px; }
  .hero-pocket h1 span { display: block; white-space: nowrap; }
  .hero-pocket .lead { color: var(--ink); font-size: 24px; margin-top: 18px; }
  .byline { display: inline-flex; align-items: center; gap: 9px; font-size: 17px; font-weight: 600; color: var(--muted); }
  .byline svg { color: var(--signal); }
  .byline b { color: var(--ink); font-weight: 800; }
  .hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 18px; font-size: 16px; font-weight: 700; color: var(--muted); }
  .hero-meta span { display: inline-flex; align-items: center; gap: 9px; }
  .hero-meta i { width: 9px; height: 9px; border-radius: 50%; background: var(--signal); }
  .hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
  .hero-art { padding: 40px 48px 10px 40px; display: flex; flex-direction: column; justify-content: center; }
  .hero-art svg.dom { width: 100%; height: auto; display: block; }
  .hero-art .tag { font-size: clamp(28px, 2.8vw, 38px); font-weight: 800; line-height: 1.3; margin-top: 8px; }
  .hero-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding: 34px 64px 60px; }
  .step { border-top: 2px solid var(--paper-line); padding-top: 22px; display: grid; grid-template-columns: auto 1fr; gap: 4px 18px; align-items: start; }
  .step .ic { grid-row: span 2; width: 54px; height: 54px; border-radius: 17px; background: var(--ink-3); display: grid; place-items: center; color: var(--signal); }
  .step .t { font-size: 26px; font-weight: 800; line-height: 1.3; display: flex; align-items: baseline; gap: 12px; }
  .step .t .num { font-size: 18px; }
  .step .s { font-size: 17px; color: var(--paper-muted); font-weight: 600; line-height: 1.5; }

  .crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; color: var(--muted); margin: -6px 0 16px; }
  .crumbs a:hover { color: var(--ink); }
  .crumbs b { color: var(--ink); font-weight: 800; }
  .back-home { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; background: var(--sand); border-radius: 34px; padding: 30px 34px; }
  .back-home b { font-size: 24px; display: block; }
  .back-home span { font-size: 17px; color: var(--muted); font-weight: 600; }

  /* ---------- quotes from the memo ---------- */
  .q-grid { display: grid; grid-template-columns: 1.55fr 1fr; }
  .q-main { padding: 56px 60px 26px 40px; min-height: 380px; display: flex; flex-direction: column; justify-content: center; gap: 18px; }
  .q-mark { color: var(--signal); }
  .q-text { font-size: clamp(30px, 3.3vw, 48px); font-weight: 800; line-height: 1.38; text-wrap: balance; transition: opacity .35s, transform .35s; }
  .q-src { display: flex; align-items: center; gap: 12px; font-size: 17px; font-weight: 700; color: var(--paper-muted); transition: opacity .35s; }
  .q-src::before { content: ""; width: 30px; height: 3px; border-radius: 2px; background: var(--signal); }
  .q-main.out .q-text, .q-main.out .q-src { opacity: 0; transform: translateY(8px); }
  .q-pocket { padding: 30px 44px 40px 6px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
  .q-pocket .h2 { font-size: clamp(32px, 3.4vw, 46px); }
  .q-ctrl { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
  .q-ctrl button.rd { width: 52px; height: 52px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; transition: transform .15s; }
  .q-ctrl button.rd:hover { transform: scale(1.06); }
  .q-ctrl button.rd svg { color: var(--signal); }
  .q-ctrl .q-prev svg { transform: rotate(180deg); }
  .q-dots { display: flex; gap: 6px; }
  .q-dots button { width: 10px; height: 10px; border-radius: 5px; background: rgba(20,20,19,.18); transition: width .3s, background .3s; }
  .q-dots button.on { width: 30px; background: var(--signal); }
  .q-copy { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 800; color: var(--muted); padding: 6px 0; }
  .q-copy:hover { color: var(--ink); }
  .ticker { overflow: hidden; padding: 18px 0 40px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
  .ticker .track { display: inline-flex; align-items: center; gap: 34px; white-space: nowrap; animation: tick 46s linear infinite; padding-inline-start: 34px; }
  .ticker:hover .track { animation-play-state: paused; }
  .ticker .tk { font-size: 23px; font-weight: 800; color: var(--paper); }
  .ticker .tk.hl { color: var(--signal); }
  .ticker img { width: 24px; height: auto; display: block; opacity: .9; }
  @keyframes tick { to { transform: translateX(50%); } }
  @media (prefers-reduced-motion: reduce) { .ticker .track { animation: none; } }
  .nq { margin-top: 18px; font-size: clamp(20px, 2vw, 25px); font-weight: 800; line-height: 1.5; color: var(--paper); border-right: 4px solid var(--signal); padding-right: 16px; }

  /* ---------- dedication ---------- */
  .ded { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
  .ded h2 { font-size: clamp(30px, 3.4vw, 44px); margin-top: 14px; }
  .ded p { margin-bottom: 18px; color: #3B3A36; }
  .ded p strong { color: var(--ink); }
  .ded .hlm { color: var(--signal); font-weight: 800; }

  /* ---------- learning guide ---------- */
  .guide-head { max-width: 760px; }
  .guide-head .h2 { margin-top: 12px; }
  .guide-head .lead { margin-top: 14px; }
  .stages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; }
  .stage { background: var(--sand); border-radius: 30px; padding: 28px 26px 30px; position: relative; }
  .stage .num { font-size: 40px; }
  .stage h3 { font-size: 22px; margin-top: 16px; }
  .stage h3 small { display: block; font-size: 17px; color: var(--muted); font-weight: 700; margin-top: 2px; }
  .stage p { font-size: 16.5px; line-height: 1.75; margin-top: 12px; color: #3B3A36; }
  .stage.dark { background: var(--ink); color: var(--paper); }
  .stage.dark p { color: var(--paper-muted); }
  .stage.dark h3 small { color: var(--paper-muted); }
  .legend { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; align-items: center; }
  .legend .lbl { font-size: 17px; font-weight: 800; color: var(--muted); margin-left: 8px; }
  .closing-line { font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; margin-top: 40px; }

  /* callout tags (shared by the legend and the article) */
  .tag-c { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 11px 18px; border-radius: 999px; font-size: 16px; font-weight: 800; line-height: 1; background: var(--sand); color: var(--ink); }
  .tag-c svg { color: var(--signal); flex: none; }
  .tag-c.dark { background: var(--ink); color: var(--paper); }
  .tag-c.out { background: transparent; box-shadow: inset 0 0 0 2px var(--signal); color: var(--signal); }

  /* ---------- chapters map ---------- */
  .map-grid { display: grid; grid-template-columns: 1fr 1fr; }
  .map-pocket { padding: 30px 6px 44px 48px; }
  .map-pocket .h2 { margin-top: 14px; }
  .map-pocket .lead { margin-top: 10px; }
  .map-now { padding: 52px 56px 30px 48px; display: flex; flex-direction: column; justify-content: center; gap: 18px; }
  .map-now .k { font-size: 17px; color: var(--paper-muted); font-weight: 700; }
  .map-now .t { font-size: clamp(30px, 3vw, 40px); font-weight: 800; line-height: 1.25; }
  .map-now .row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
  .chapters { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 26px; padding: 20px 56px 60px; counter-reset: ch; }
  .ch { display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 14px; padding: 16px 18px 16px 20px; border-radius: 22px; background: var(--ink-2); color: var(--paper); }
  .ch .num { font-size: 26px; color: var(--paper-muted); text-align: center; }
  .ch .n { font-size: 19px; font-weight: 700; line-height: 1.45; }
  .ch .st { font-size: 14px; font-weight: 800; color: var(--paper-muted); white-space: nowrap; }
  .ch.open { background: var(--signal); color: var(--ink); }
  .ch.open .num, .ch.open .st { color: var(--ink); }
  .ch.open .n { font-weight: 800; }

  /* ---------- the reader ---------- */
  .reader { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 56px; align-items: start; margin-top: 40px; }
  .aside { position: sticky; top: 24px; background: var(--ink); color: var(--paper); border-radius: 34px; padding: 28px 26px 30px; }
  .aside .k { font-size: 15px; font-weight: 800; color: var(--signal); }
  .aside .t { font-size: 23px; font-weight: 800; line-height: 1.32; margin-top: 6px; }
  .aside .pbar { height: 10px; border-radius: 5px; background: rgba(242,239,232,.12); margin-top: 20px; position: relative; overflow: hidden; }
  .aside .pbar i { position: absolute; inset: 0 0 0 auto; width: 0; background: var(--signal); border-radius: 5px; transition: width .4s; }
  .aside .pt { display: flex; justify-content: space-between; font-size: 14px; font-weight: 700; color: var(--paper-muted); margin-top: 10px; }
  .aside .pt b { color: var(--paper); }
  .toc { list-style: none; margin-top: 18px; border-top: 1px solid var(--paper-line); padding-top: 10px; }
  .toc li a { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: center; padding: 9px 0; font-size: 16px; font-weight: 700; line-height: 1.4; color: var(--paper-muted); }
  .toc li a:hover, .toc li a.cur { color: var(--paper); }
  .toc .bx { width: 26px; height: 26px; border-radius: 9px; border: 2px solid rgba(242,239,232,.28); display: grid; place-items: center; }
  .toc .bx svg { opacity: 0; color: var(--ink); }
  .toc li.done .bx { background: var(--signal); border-color: var(--signal); }
  .toc li.done .bx svg { opacity: 1; }
  .toc li.sub a { font-size: 15px; }
  .toc li.sub .bx { border-style: dashed; border-radius: 50%; }
  .toc li.sub.done .bx { border-style: solid; }

  .article { min-width: 0; }
  .opener { margin-bottom: 30px; }
  .op-grid { display: grid; grid-template-columns: 1.25fr 1fr; }
  .op-pocket { padding: 26px 6px 40px 44px; }
  .op-pocket h2 { font-size: clamp(36px, 4vw, 58px); margin-top: 14px; }
  .op-pocket .lead { margin-top: 12px; color: var(--ink); }
  .op-num { padding: 40px 44px 10px 40px; display: flex; flex-direction: column; justify-content: center; align-items: flex-end; }
  .op-num .num { font-size: clamp(110px, 12vw, 170px); line-height: .85; }
  .op-num .of { font-size: 16px; font-weight: 700; color: var(--paper-muted); margin-top: 10px; }
  .op-body { padding: 26px 48px 46px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: end; }
  .op-list { list-style: none; }
  .op-list li { display: flex; align-items: center; gap: 14px; font-size: 19px; font-weight: 700; padding: 8px 0; border-bottom: 1px solid var(--paper-line); }
  .op-list li:last-child { border: 0; }
  .op-list .num { font-size: 15px; width: 24px; }
  .op-quote { background: var(--signal); color: var(--ink); border-radius: 26px; padding: 22px 26px 24px; font-size: 22px; font-weight: 800; line-height: 1.45; }
  .op-quote small { display: block; font-size: 14px; font-weight: 800; opacity: .7; margin-bottom: 6px; }
  .op-dom { grid-column: 1 / -1; }
  .op-dom svg { width: 100%; height: auto; display: block; }

  .topic { padding-top: 70px; }
  .topic-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
  .topic h2 { font-size: clamp(32px, 3.4vw, 46px); margin-top: 14px; }
  .topic h3 { font-size: clamp(25px, 2.4vw, 31px); margin: 44px 0 12px; }
  .topic p { margin-bottom: 16px; color: #33322E; }
  .topic p strong { color: var(--ink); }
  .divider { height: 2px; background: var(--line); margin: 70px 0 0; border-radius: 2px; }

  .callout { margin: 26px 0; }
  .callout > .tag-c { margin-bottom: 12px; }
  .card { border-radius: 28px; padding: 26px 30px 28px; }
  .card.sand { background: var(--sand); }
  .card.dark { background: var(--ink); color: var(--paper); }
  .card.dark p { color: var(--paper-muted); }
  .card.dark p strong { color: var(--paper); }
  .card.out { box-shadow: inset 0 0 0 2px var(--signal); }
  .card.out-ink { box-shadow: inset 0 0 0 2px var(--line); }
  .card h4 { font-size: 25px; font-weight: 800; line-height: 1.35; margin-bottom: 10px; }
  .card p:last-child { margin-bottom: 0; }

  .defs { display: grid; gap: 10px; }
  .def { display: grid; grid-template-columns: 250px 1fr; gap: 10px; }
  .def .term { background: var(--ink); color: var(--paper); border-radius: 24px; padding: 20px 22px; display: flex; flex-direction: column; justify-content: center; }
  .def .term b { font-size: 20px; line-height: 1.4; }
  .def .term .latin { font-size: 14px; font-weight: 700; color: var(--signal); line-height: 1.45; margin-top: 4px; text-align: right; }
  .def .desc { background: var(--sand); border-radius: 24px; padding: 20px 24px; font-size: 18px; line-height: 1.75; display: flex; align-items: center; }

  .tiles { display: grid; gap: 12px; margin: 22px 0; }
  .tiles.c4 { grid-template-columns: repeat(4, 1fr); }
  .tiles.c3 { grid-template-columns: repeat(3, 1fr); }
  .tile { background: var(--sand); border-radius: 26px; padding: 22px 20px 22px; display: flex; flex-direction: column; gap: 12px; }
  .tile .ic { width: 50px; height: 50px; border-radius: 16px; background: var(--ink); color: var(--signal); display: grid; place-items: center; }
  .tile .tt { font-size: 19px; font-weight: 800; line-height: 1.35; }
  .tile .ts { font-size: 15.5px; color: var(--muted); font-weight: 600; line-height: 1.5; margin-top: -6px; }
  .tile .num { font-size: 16px; }
  .tile.dark { background: var(--ink); color: var(--paper); }
  .tile.dark .ic { background: var(--ink-3); }
  .tile.dark .ts { color: var(--paper-muted); }

  .keyline { border-right: 5px solid var(--signal); padding: 6px 20px 6px 0; margin: 26px 0; font-size: 20px; line-height: 1.75; }

  /* 5 questions self-check */
  .qs { display: grid; gap: 10px; margin: 22px 0; }
  .q { display: grid; grid-template-columns: 64px 1fr auto; gap: 16px; align-items: center; background: var(--sand); border-radius: 24px; padding: 16px 18px 16px 16px; }
  .q .num { font-size: 26px; text-align: center; }
  .q .qt { font-size: 20px; font-weight: 800; line-height: 1.4; }
  .q .qd { font-size: 16px; color: var(--muted); font-weight: 600; line-height: 1.55; }
  .yn { display: flex; gap: 6px; background: var(--paper); border-radius: 999px; padding: 5px; }
  .yn button { padding: 8px 16px 10px; border-radius: 999px; font-size: 15px; font-weight: 800; line-height: 1; color: var(--muted); }
  .yn button.on[data-v="1"] { background: var(--signal); color: var(--ink); }
  .yn button.on[data-v="0"] { background: var(--ink); color: var(--paper); }
  .verdict { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; background: var(--ink); color: var(--paper); border-radius: 28px; padding: 22px 28px 24px; margin-top: 12px; }
  .verdict .score { font-size: 15px; font-weight: 800; color: var(--paper-muted); }
  .verdict .score b { color: var(--signal); font-size: 30px; direction: ltr; display: inline-block; margin: 0 4px; }
  .verdict .vt { font-size: 22px; font-weight: 800; line-height: 1.4; }
  .verdict .vs { font-size: 17px; color: var(--paper-muted); font-weight: 600; }
  .verdict.yes { background: var(--signal); color: var(--ink); }
  .verdict.yes .score, .verdict.yes .vs { color: rgba(20,20,19,.7); }
  .verdict.yes .score b { color: var(--ink); }

  .checks { list-style: none; display: grid; gap: 4px; margin: 18px 0 8px; }
  .checks li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 18px; line-height: 1.65; }
  .checks li:last-child { border: 0; }
  .checks .ok { width: 34px; height: 34px; border-radius: 11px; background: var(--signal); color: var(--ink); display: grid; place-items: center; margin-top: 1px; }
  .result { margin-top: 14px; font-weight: 800; font-size: 19px; }
  .result span { color: var(--signal); }

  /* workflow chain */
  .chain { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin: 26px 0; align-items: stretch; }
  .link { position: relative; background: var(--sand); padding: 22px 16px 22px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; border-radius: 26px; margin-left: 26px; }
  .link:last-child { margin-left: 0; }
  .link::after { content: ""; position: absolute; left: -22px; top: 50%; width: 18px; height: 2px; background: var(--signal); }
  .link::before { content: ""; position: absolute; left: -23px; top: calc(50% - 5px); width: 9px; height: 9px; border-left: 2px solid var(--signal); border-bottom: 2px solid var(--signal); transform: rotate(45deg); }
  .link:last-child::after, .link:last-child::before { display: none; }
  .link.first { background: var(--ink); color: var(--paper); }
  .link.first .ts { color: var(--paper-muted); }
  .link .txt { display: flex; flex-direction: column; gap: 4px; }
  .link .ic { width: 46px; height: 46px; border-radius: 15px; background: var(--ink); color: var(--signal); display: grid; place-items: center; }
  .link.first .ic { background: var(--signal); color: var(--ink); }
  .link .num { font-size: 15px; }
  .link .tt { font-size: 19px; font-weight: 800; line-height: 1.3; }
  .link .ts { font-size: 15px; color: var(--muted); font-weight: 600; line-height: 1.45; }

  /* technical example: steps + live flowchart */
  .tech { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: var(--ink); color: var(--paper); border-radius: 34px; overflow: hidden; }
  .tech .steps { padding: 30px 30px 30px 20px; }
  .tech h4 { font-size: 26px; }
  .tech .intro { font-size: 17px; color: var(--paper-muted); line-height: 1.75; margin-top: 6px; }
  .tsteps { list-style: none; margin-top: 16px; display: grid; gap: 6px; }
  .tsteps li button { width: 100%; text-align: right; display: grid; grid-template-columns: 36px 1fr; gap: 12px; padding: 12px 14px; border-radius: 18px; font-size: 16.5px; line-height: 1.6; color: var(--paper-muted); transition: background .2s; }
  .tsteps li button b { color: var(--paper); }
  .tsteps li button .num { font-size: 17px; padding-top: 3px; }
  .tsteps li button:hover, .tsteps li button.on { background: var(--ink-3); }
  .tsteps li button.on { box-shadow: inset 0 0 0 2px var(--signal); }
  .tech .flow { background: var(--ink-2); padding: 24px 22px 20px; display: flex; flex-direction: column; gap: 10px; }
  .flow .ft { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
  .flow .ft span { font-size: 15px; font-weight: 800; color: var(--paper-muted); }
  .seg { display: inline-flex; background: var(--ink); border-radius: 999px; padding: 4px; gap: 4px; }
  .seg button { padding: 7px 14px 9px; border-radius: 999px; font-size: 14px; font-weight: 800; line-height: 1; color: var(--paper-muted); }
  .seg button.on { background: var(--signal); color: var(--ink); }
  .flow svg { width: 100%; height: auto; display: block; }
  .flow svg text { font-family: 'Alan Sans'; font-weight: 800; }
  .fn rect, .fn path, .fn ellipse { transition: fill .25s, stroke .25s; }

  /* flowchart symbols table */
  .symbols { display: grid; gap: 8px; margin: 18px 0; }
  .sym { display: grid; grid-template-columns: 150px 170px 1fr; align-items: center; gap: 18px; background: var(--sand); border-radius: 22px; padding: 12px 22px; }
  .sym.head { background: var(--ink); color: var(--paper); font-size: 15px; font-weight: 800; padding: 14px 22px; }
  .sym .nm { font-size: 19px; font-weight: 800; }
  .sym svg { width: 140px; height: 54px; display: block; }
  .sym .mn { font-size: 17px; font-weight: 700; line-height: 1.5; }
  .sym .mn .latin { color: var(--muted); font-size: 15px; display: block; text-align: right; }

  /* inline quiz */
  .opts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
  .opt { padding: 12px 20px 14px; border-radius: 18px; background: var(--paper); font-size: 17px; font-weight: 700; line-height: 1.45; text-align: right; box-shadow: inset 0 0 0 2px var(--line); transition: background .2s, box-shadow .2s; }
  .card.dark .opt { background: var(--ink-3); color: var(--paper); box-shadow: none; }
  .opt:hover { box-shadow: inset 0 0 0 2px var(--signal); }
  .opt .l { color: var(--signal); font-weight: 900; margin-left: 8px; }
  .opt.right { background: var(--signal) !important; color: var(--ink) !important; box-shadow: none; }
  .opt.right .l { color: var(--ink); }
  .opt.wrong { opacity: .5; text-decoration: line-through; text-decoration-color: var(--signal); text-decoration-thickness: 2px; }
  .opts.locked .opt { pointer-events: none; }
  .answer { display: none; margin-top: 16px; border-radius: 22px; padding: 18px 22px; background: var(--paper); font-size: 17.5px; line-height: 1.75; }
  .answer b { display: block; font-size: 19px; }
  .card.dark .answer { background: var(--ink-3); color: var(--paper); }
  .answer.show { display: block; }

  /* dates shop */
  .lens { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
  .lens > div { background: var(--paper); border-radius: 22px; padding: 18px 20px 20px; }
  .lens .lt { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 800; }
  .lens .lt i { width: 10px; height: 10px; border-radius: 50%; background: var(--signal); }
  .lens p { font-size: 17px; margin: 8px 0 0 !important; line-height: 1.6; }
  .ia { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: stretch; gap: 10px; margin: 24px 0 10px; }
  .ia .box { background: var(--ink); color: var(--paper); border-radius: 22px; padding: 16px 18px 18px; font-size: 17px; font-weight: 700; line-height: 1.45; }
  .ia .box small { display: block; font-size: 13px; font-weight: 800; color: var(--signal); margin-bottom: 4px; }
  .ia .box.mid { background: var(--signal); color: var(--ink); }
  .ia .box.mid small { color: var(--ink); opacity: .7; }
  .ia .ar { display: grid; place-items: center; color: var(--signal); }

  .done-btn { margin-top: 34px; display: inline-flex; align-items: center; gap: 12px; padding: 14px 24px 16px; border-radius: 999px; font-size: 17px; font-weight: 800; line-height: 1; box-shadow: inset 0 0 0 2px var(--ink); }
  .done-btn .bx { width: 22px; height: 22px; border-radius: 7px; border: 2px solid var(--ink); display: grid; place-items: center; }
  .done-btn .bx svg { opacity: 0; }
  .done-btn.on { background: var(--ink); color: var(--paper); }
  .done-btn.on .bx { background: var(--signal); border-color: var(--signal); }
  .done-btn.on .bx svg { opacity: 1; color: var(--ink); }

  /* warm-up */
  .warm { display: grid; gap: 12px; margin-top: 22px; }
  .warm label { display: block; background: var(--sand); border-radius: 24px; padding: 18px 22px 16px; }
  .warm label span { font-size: 19px; font-weight: 800; display: flex; align-items: center; gap: 10px; }
  .warm textarea, .apply input { width: 100%; border: 0; background: transparent; font: inherit; font-size: 18px; font-weight: 500; color: var(--ink); resize: none; outline: none; border-bottom: 2px dashed rgba(20,20,19,.2); padding: 8px 0 6px; line-height: 1.6; min-height: 44px; }
  .warm textarea:focus, .apply input:focus { border-bottom-color: var(--signal); }
  .warm textarea::placeholder, .apply input::placeholder { color: rgba(120,116,107,.7); }
  .saved { font-size: 14px; font-weight: 700; color: var(--muted); margin-top: 8px; min-height: 22px; }

  /* end of chapter */
  .end { margin-top: 90px; }
  .end-grid { display: grid; grid-template-columns: 1.2fr 1fr; }
  .end-pocket { padding: 26px 6px 36px 44px; }
  .end-pocket h2 { font-size: clamp(34px, 3.6vw, 50px); margin-top: 14px; }
  .end-pocket .lead { margin-top: 10px; }
  .end-side { padding: 44px 44px 14px 40px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
  .end-side .k { font-size: 16px; font-weight: 800; color: var(--paper-muted); }
  .end-side .t { font-size: clamp(26px, 2.6vw, 34px); font-weight: 800; line-height: 1.3; }
  .recap { padding: 20px 48px 48px; display: grid; gap: 22px; }
  .recap .rh { font-size: 17px; font-weight: 800; color: var(--paper-muted); margin-bottom: 10px; }
  .pills { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
  .pills span { padding: 10px 16px 12px; border-radius: 16px; background: var(--ink-3); color: var(--paper); font-size: 17px; font-weight: 700; line-height: 1.2; }
  .pills span.s { background: var(--signal); color: var(--ink); font-weight: 800; }
  .pills svg { color: var(--signal); }
  .recap .defl { background: var(--ink-3); border-radius: 22px; padding: 18px 22px; color: var(--paper); font-size: 18px; line-height: 1.7; }
  .recap .defl b { color: var(--signal); }

  .quiz { display: grid; gap: 14px; margin-top: 24px; }
  .qq { background: var(--sand); border-radius: 28px; padding: 22px 26px 24px; }
  .qq .qh { display: grid; grid-template-columns: 48px 1fr; gap: 10px; font-size: 19px; font-weight: 700; line-height: 1.6; }
  .qq .qh .num { font-size: 22px; padding-top: 3px; }
  .qq .opts { padding-right: 58px; }
  .qq .answer { margin-right: 58px; }
  .qscore { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; background: var(--ink); color: var(--paper); border-radius: 28px; padding: 20px 26px; margin-top: 6px; }
  .qscore .s { font-size: 18px; font-weight: 800; }
  .qscore .s b { color: var(--signal); font-size: 30px; direction: ltr; display: inline-block; margin: 0 4px; }

  .apply { display: grid; gap: 14px; margin-top: 24px; }
  .task { box-shadow: inset 0 0 0 2px var(--line); border-radius: 28px; padding: 22px 26px 24px; }
  .task .th { display: flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 800; line-height: 1.45; }
  .task .th .badge { flex: none; }
  .task .tp { font-size: 17px; color: var(--muted); font-weight: 600; margin-top: 8px; }
  .recall { display: grid; gap: 6px; margin-top: 14px; }
  .recall div { display: grid; grid-template-columns: 200px 1fr; gap: 14px; background: var(--sand); border-radius: 16px; padding: 12px 16px; font-size: 17px; line-height: 1.55; }
  .recall div span:first-child { font-weight: 800; }
  .recall .empty { color: var(--muted); font-weight: 600; }
  .ticks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
  .tick { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--sand); font-size: 17px; font-weight: 700; line-height: 1.45; text-align: right; }
  .tick .bx { width: 26px; height: 26px; border-radius: 9px; border: 2px solid rgba(20,20,19,.25); display: grid; place-items: center; flex: none; background: var(--paper); }
  .tick .bx svg { opacity: 0; }
  .tick.on .bx { background: var(--signal); border-color: var(--signal); }
  .tick.on .bx svg { opacity: 1; }
  .apply .dec { margin-top: 12px; display: flex; align-items: center; gap: 14px; font-size: 17px; font-weight: 800; }

  /* next chapter */
  .next { margin-top: 90px; }
  .next-grid { display: grid; grid-template-columns: 1fr 1.1fr; }
  .next-pocket { padding: 26px 44px 30px 6px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
  .next-pocket .soon { font-size: clamp(38px, 4vw, 56px); font-weight: 800; line-height: 1.2; color: var(--signal); }
  .next-main { padding: 40px 48px 20px 40px; }
  .next-main .k { font-size: 16px; font-weight: 800; color: var(--paper-muted); }
  .next-main .t { font-size: clamp(30px, 3vw, 42px); font-weight: 800; line-height: 1.28; margin-top: 8px; }
  .next-dom { padding: 0 48px 44px; }
  .next-dom svg { width: 100%; height: auto; display: block; }

  /* about */
  .about { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 36px; }
  .ab { border-radius: 34px; padding: 34px 34px 32px; display: flex; flex-direction: column; gap: 16px; }
  .ab.dark { background: var(--ink); color: var(--paper); }
  .ab.sand { background: var(--sand); }
  .ab .lg { display: flex; align-items: center; gap: 14px; }
  .ab .lg .mark { width: 50px; height: 50px; }
  .ab .lg b { font-size: 24px; display: block; line-height: 1.2; }
  .ab .lg small { font-size: 14px; font-weight: 700; color: var(--muted); }
  .ab.dark .lg small { color: var(--paper-muted); }
  .ab p { font-size: 18px; line-height: 1.8; }
  .ab.dark p { color: var(--paper-muted); }
  .ab .links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 8px; }

  /* footer */
  footer { margin: 96px 0 40px; }
  .foot { padding: 46px 52px 44px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
  .foot .brand .ar { color: var(--paper); }
  .foot .brand .en { color: var(--paper-muted); }
  .foot .meta { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 15px; font-weight: 700; color: var(--paper-muted); }
  .foot .meta .latin { letter-spacing: .04em; }

  /* ---------- small screens ---------- */
  @media (max-width: 1080px) {
    .reader { grid-template-columns: 1fr; gap: 0; }
    .aside { position: sticky; top: 0; z-index: 5; border-radius: 0 0 24px 24px; padding: 14px 20px 14px; margin: 0 -24px; }
    .aside .t, .aside .toc, .aside .k { display: none; }
    .aside .pbar { margin-top: 0; }
    .aside .pt { margin-top: 8px; }
    .stages { grid-template-columns: 1fr 1fr; }
    .chain { grid-template-columns: 1fr; gap: 26px; }
    .link { margin-left: 0; flex-direction: row; align-items: center; }
    .link .txt { display: flex; flex-direction: column; }
    .link::after { left: auto; right: 38px; top: auto; bottom: -22px; width: 2px; height: 18px; }
    .link::before { left: auto; right: 34px; top: auto; bottom: -24px; transform: rotate(-45deg); }
  }
  @media (max-width: 860px) {
    body { font-size: 17.5px; }
    .wrap { padding: 0 16px; }
    .aside { margin: 0 -16px; }
    .nav { display: none; }
    section.block { padding-top: 72px; }
    .hero-grid, .map-grid, .op-grid, .end-grid, .next-grid { grid-template-columns: 1fr; }
    .hero-pocket { padding: 20px 4px 34px 4px; }
    .hero-pocket .lead { font-size: 20px; }
    .hero-pocket .lead br { display: none; }
    .hero-art { padding: 34px 26px 6px; }
    .hero-steps { grid-template-columns: 1fr; gap: 18px; padding: 24px 26px 40px; }
    .ded { grid-template-columns: 1fr; gap: 10px; }
    .q-grid { grid-template-columns: 1fr; }
    .q-pocket { order: -1; padding: 14px 4px 28px; }
    .q-main { padding: 40px 26px 10px; min-height: 340px; }
    .ticker .tk { font-size: 19px; }
    .stages { grid-template-columns: 1fr; }
    .map-pocket { padding: 14px 4px 30px; }
    .map-now { padding: 34px 26px 16px; }
    .chapters { grid-template-columns: 1fr; padding: 14px 18px 30px; }
    .op-pocket { padding: 22px 4px 26px; }
    .op-num { padding: 26px 26px 0; align-items: flex-start; }
    .op-body { grid-template-columns: 1fr; padding: 18px 22px 30px; }
    .tiles.c4 { grid-template-columns: 1fr 1fr; }
    .tiles.c3 { grid-template-columns: 1fr; }
    .def { grid-template-columns: 1fr; }
    .q { grid-template-columns: 40px 1fr; }
    .q .yn { grid-column: 2; justify-self: start; }
    .q .num { font-size: 20px; }
    .tech { grid-template-columns: 1fr; }
    .sym { grid-template-columns: 1fr 1fr; gap: 6px 14px; }
    .sym .mn { grid-column: 1 / -1; }
    .sym.head span:last-child { display: none; }
    .sym svg { width: 120px; }
    .lens { grid-template-columns: 1fr; }
    .ia { grid-template-columns: 1fr; }
    .ia .ar { transform: rotate(-90deg); height: 24px; }
    .end-pocket { padding: 22px 4px 24px; }
    .end-side { padding: 30px 26px 6px; }
    .recap { padding: 16px 22px 30px; }
    .qq .opts { padding-right: 0; }
    .qq .answer { margin-right: 0; }
    .recall div { grid-template-columns: 1fr; gap: 2px; }
    .ticks { grid-template-columns: 1fr; }
    .next-pocket { padding: 16px 4px 26px; }
    .next-main { padding: 30px 26px 10px; }
    .next-dom { padding: 0 22px 30px; }
    .about { grid-template-columns: 1fr; }
    .foot { padding: 34px 28px; }
  }

/* ================= pages: home · articles · article ================= */
.nav a.cur { color: var(--ink); }
.cover-card { position: relative; display: block; width: min(300px, 72%); aspect-ratio: 210 / 297; border-radius: 20px; border: 8px solid var(--paper); background: var(--paper) center / cover no-repeat; box-shadow: 0 30px 50px -22px rgba(0,0,0,.75); transform: rotate(-4deg); transition: transform .3s; }
.cover-card:hover { transform: rotate(-2deg) translateY(-6px); }
.cover-card .tape { position: absolute; top: -18px; left: 50%; width: 104px; height: 32px; margin-left: -52px; border-radius: 4px; background: rgba(229,223,211,.9); transform: rotate(5deg); box-shadow: 0 2px 6px rgba(0,0,0,.15); }
.home-hero .hero-pocket h1, .art-hero .hero-pocket h1 { font-size: clamp(50px, 5.7vw, 86px); }
.home-hero .hero-pocket .lead, .art-hero .hero-pocket .lead { font-size: 22px; line-height: 1.75; max-width: 560px; }
.home-art { align-items: center; padding: 46px 40px 20px; }
.cover-note { margin-top: 26px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.cover-note .k { font-size: 13px; font-weight: 800; color: var(--signal); }
.cover-note .t { font-size: 22px; font-weight: 800; }
.cover-note .s { font-size: 15px; font-weight: 700; color: var(--paper-muted); }
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px; }
.sec-head .h2 { margin-top: 12px; }
.sec-head .lead { margin-top: 8px; max-width: 680px; }
.more-link { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 800; color: var(--ink); padding: 10px 0; }
.more-link svg { color: var(--signal); }

.about-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: start; }
.about-grid .h2 { margin-top: 12px; }
.about-grid p.big { font-size: 22px; line-height: 1.85; font-weight: 500; color: #33322E; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 40px; }
.pillar { background: var(--sand); border-radius: 30px; padding: 26px 24px 28px; display: flex; flex-direction: column; gap: 12px; }
.pillar .ic { width: 52px; height: 52px; border-radius: 17px; background: var(--ink); color: var(--signal); display: grid; place-items: center; }
.pillar .tt { font-size: 22px; font-weight: 800; line-height: 1.3; }
.pillar .ts { font-size: 16.5px; color: #3B3A36; line-height: 1.7; }
.pillar.dark { background: var(--ink); color: var(--paper); }
.pillar.dark .ic { background: var(--ink-3); }
.pillar.dark .ts { color: var(--paper-muted); }

/* an article, as a wide dark card */
.arow { margin-top: 30px; }
.arow + .arow { margin-top: 16px; }
.memo-grid { display: grid; grid-template-columns: 320px 1fr; gap: 48px; padding: 48px 52px 50px; align-items: center; }
.memo-grid .cover-card { width: 100%; transform: rotate(3deg); border-width: 7px; }
.memo-grid .cover-card:hover { transform: rotate(1deg) translateY(-6px); }
.memo-info { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.memo-info h3 { font-size: clamp(34px, 3.6vw, 52px); line-height: 1.2; }
.memo-info .lead { color: var(--paper-muted); font-size: 21px; }
.memo-info .lead b { color: var(--paper); }
.memo-info .byline { color: var(--paper-muted); }
.memo-info .byline b { color: var(--paper); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { padding: 9px 15px 11px; border-radius: 14px; background: var(--ink-3); color: var(--paper); font-size: 15px; font-weight: 700; line-height: 1.2; }
.chips.light span { background: var(--sand); color: var(--ink); }
.memo-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.memo-cta .btn { font-size: 16px; padding: 13px 22px 15px; }

/* page head (articles page) */
.page-head { padding: 26px 0 6px; max-width: 820px; }
.page-head h1 { font-size: clamp(44px, 5vw, 72px); margin-top: 12px; }
.page-head .lead { margin-top: 12px; }

/* the article's parts */
.prow { display: grid; grid-template-columns: 110px 1fr auto; gap: 26px; align-items: center; background: var(--sand); border-radius: 30px; padding: 22px 26px 22px 22px; }
.prow + .prow { margin-top: 10px; }
.pnum { display: flex; flex-direction: column; align-items: center; background: var(--ink); border-radius: 22px; padding: 16px 10px 14px; }
.pnum .num { font-size: 44px; }
.pnum small { font-size: 13px; font-weight: 800; color: var(--paper-muted); margin-top: 4px; }
.pinfo b { font-size: 24px; display: block; line-height: 1.3; }
.pinfo > span { font-size: 17px; color: #3B3A36; font-weight: 600; line-height: 1.6; display: block; margin-top: 4px; }
.pmeta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.pmeta span { font-size: 14px; font-weight: 800; color: var(--muted); background: var(--paper); border-radius: 999px; padding: 6px 12px 8px; }
.pact { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.pact .btn { font-size: 15px; padding: 12px 18px 13px; }

/* the article's contents */
.atoc { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 22px; margin-top: 26px; }
.trow { display: grid; grid-template-columns: 54px 1fr auto; gap: 12px; align-items: center; padding: 15px 18px; border-radius: 20px; background: var(--sand); color: var(--muted); font-size: 18px; font-weight: 700; line-height: 1.45; }
.trow .num { font-size: 22px; color: rgba(120,116,107,.7); text-align: center; }
.trow.on { background: var(--ink); color: var(--paper); }
.trow.on .num { color: var(--signal); }
.trow .tag { font-size: 13px; font-weight: 800; color: var(--ink); background: var(--signal); border-radius: 999px; padding: 6px 12px 8px; white-space: nowrap; }
.art-about { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
.art-about p { font-size: 21px; line-height: 1.85; font-weight: 500; color: #33322E; margin-bottom: 14px; }
.art-about .h2 { margin-top: 12px; }

/* footer */
.site-foot { margin: 96px 0 40px; }
.fgrid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 34px; padding: 54px 56px 30px; }
.fcol h4 { font-size: 15px; font-weight: 800; color: var(--signal); margin-bottom: 12px; }
.fcol a { display: block; font-size: 16px; font-weight: 700; color: var(--paper-muted); padding: 5px 0; }
.fcol a:hover { color: var(--paper); }
.fbrand .brand .ar { color: var(--paper); }
.fbrand p { font-size: 15.5px; color: var(--paper-muted); line-height: 1.75; margin-top: 14px; max-width: 320px; }
.fbottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin: 0 56px; padding: 18px 0 34px; border-top: 1px solid var(--paper-line); font-size: 14px; font-weight: 700; color: var(--paper-muted); }

@media (max-width: 1080px) {
  .memo-grid { grid-template-columns: 250px 1fr; gap: 30px; padding: 36px 34px; }
  .fgrid { grid-template-columns: 1fr 1fr; }
  .prow { grid-template-columns: 90px 1fr; }
  .pact { grid-column: 1 / -1; justify-content: flex-start; }
}
@media (max-width: 860px) {
  .home-art { padding: 34px 26px 10px; }
  .about-grid, .art-about { grid-template-columns: 1fr; gap: 14px; }
  .about-grid p.big, .art-about p { font-size: 19px; }
  .pillars { grid-template-columns: 1fr; }
  .memo-grid { grid-template-columns: 1fr; padding: 30px 24px 32px; }
  .memo-grid .cover-card { width: 62%; justify-self: center; }
  .atoc { grid-template-columns: 1fr; }
  .prow { grid-template-columns: 1fr; padding: 20px; }
  .pnum { flex-direction: row; gap: 10px; justify-self: start; padding: 10px 16px; }
  .pnum .num { font-size: 28px; }
  .fgrid { grid-template-columns: 1fr; padding: 36px 28px 20px; gap: 22px; }
  .fbottom { margin: 0 28px; }
}
.fcol a.brand { display: flex; padding: 0; }

/* quotes: the memo each line comes from */
.q-src::before { display: none; }
.q-src { flex-wrap: wrap; gap: 10px 14px; }
.q-memo { display: inline-flex; align-items: center; gap: 8px; padding: 8px 15px 10px; border-radius: 999px; background: var(--signal); color: var(--ink); font-size: 15px; font-weight: 800; line-height: 1; }
.q-memo svg { color: var(--ink); }
.q-where { font-size: 15px; font-weight: 700; color: var(--paper-muted); }
.q-main { min-height: 330px; }
/* a part not published yet */
.prow.off { background: transparent; box-shadow: inset 0 0 0 2px var(--line); }
.prow.off .pnum { background: var(--sand); }
.prow.off .pnum .num, .prow.off .pnum small { color: var(--muted); }
.prow.off .pinfo b { color: var(--muted); }
.soon-tag { font-size: 14px; font-weight: 800; color: var(--muted); background: var(--sand); border-radius: 999px; padding: 8px 14px 10px; }
.q-solo { gap: 40px; align-items: center; }
.q-solo .q-pocket { padding: 0; }
.q-solo .q-main { padding: 56px 60px 52px; }
@media (max-width: 860px) { .q-solo { gap: 22px; } .q-solo .q-main { padding: 40px 26px 36px; } }

/* three stages */
.stages.s3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .stages.s3 { grid-template-columns: 1fr; } }

/* footer without the «تابعنا» column */
.site-foot.no-follow .fgrid { grid-template-columns: 1.5fr 1fr 1fr; }
@media (max-width: 1080px) { .site-foot.no-follow .fgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) { .site-foot.no-follow .fgrid { grid-template-columns: 1fr; } }
