/* ═══════════════════════════════════════════════════════════════════════════
   design/home.css — landing composition

   The landing keeps journal.css's *structure* (masthead → cover → contents →
   figures → method → plan → close → colophon) but is re-cut for a sans-serif
   setting at a product's density. Three structural changes from the previous
   design:

     1. "Four ways in" becomes a typographic index with big numerals and rules
        instead of four stock photographs. It is a contents page; it should read
        like one, and it removes 4 image requests from the critical path.
     2. The stat row becomes a ruled data band with tabular figures.
     3. Hero image is cropped tighter and captioned as a figure, so it reads as
        evidence rather than decoration.

   All colour comes from design/tokens.css. Load after it.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ═══ masthead ══════════════════════════════════════════════════════════════ */
body.jr-landing .jr-mast{
  position:sticky;top:0;z-index:60;
  background:color-mix(in srgb, var(--canvas) 92%, transparent);
  backdrop-filter:saturate(140%) blur(10px);
  -webkit-backdrop-filter:saturate(140%) blur(10px);
  border-bottom:0;
}
body.jr-landing .jr-meta{ display:none }   /* the "Edition of …" strip: the site is a
   book, not a periodical, and on a phone this row was 36px of a 150px header. */

body.jr-landing .jr-mast{ padding-top:0 }
body.jr-landing .jr-bar{
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  gap:var(--s5);
  padding-block:var(--s2);
}
body.jr-landing .jr-nav{justify-self:start;display:flex;gap:var(--s5)}
body.jr-landing .jr-nav a{
  font-size:var(--t-xs);font-weight:var(--w-semibold);
  letter-spacing:.02em;color:var(--ink-2);
  position:relative;padding-block:.25em;
  transition:color var(--dur-2) var(--ease);
}
body.jr-landing .jr-nav a::after{
  content:"";position:absolute;left:0;right:0;bottom:0;height:1px;
  background:var(--accent);transform:scaleX(0);transform-origin:left;
  transition:transform var(--dur-2) var(--ease);
}
body.jr-landing .jr-nav a:hover{color:var(--ink)}
body.jr-landing .jr-nav a:hover::after{transform:scaleX(1)}

body.jr-landing .jr-mast .jr-word{
  justify-self:center;
  font-family:var(--font-sans);
  font-size:clamp(1.45rem,2.1vw,1.9rem);
  font-weight:var(--w-semibold);
  letter-spacing:-.035em;
  line-height:1;
  color:var(--ink);
}
body.jr-landing .jr-word em{
  font-style:italic;font-weight:var(--w-medium);
  color:var(--accent);letter-spacing:-.02em;
}
body.jr-landing .jr-tools{justify-self:end;display:flex;align-items:center;gap:var(--s2)}

body.jr-landing .btn-icon{
  width:34px;height:34px;min-width:34px;
  display:inline-flex;align-items:center;justify-content:center;
  font-size:var(--t-xs);font-weight:var(--w-semibold);
  color:var(--ink-2);
  background:transparent;
  border:1px solid var(--line);
  border-radius:var(--r-sm);
  transition:color var(--dur-2) var(--ease),border-color var(--dur-2) var(--ease),
             background var(--dur-2) var(--ease);
}
body.jr-landing .btn-icon:hover{color:var(--ink);border-color:var(--ink-3);background:var(--surface-2)}
/* The account control is the same 40px circle as the two beside it. auth-widget
   swaps the label for a mask-drawn icon, and journal.css ends with a "quiet it
   down" pass that sets `border-color:transparent !important` on #loginBtn — so
   the glyph floated next to two ringed buttons. These declarations have to
   carry !important to win against that pass. */
body.jr-landing header #loginBtn{
  width:40px;min-width:40px;height:40px;min-height:40px;
  padding:0!important;
  border:1px solid var(--line)!important;
  border-radius:var(--r-pill)!important;
  background:transparent!important;
  color:var(--ink-2)!important;
  justify-content:center;
  transition:border-color var(--dur-2) var(--ease),color var(--dur-2) var(--ease);
}
body.jr-landing header #loginBtn:hover{
  border-color:var(--ink-3)!important;color:var(--ink)!important;background:transparent!important;
}
body.jr-landing .btn-login{
  display:inline-flex;align-items:center;
  min-height:34px;padding:.35em .85em;
  font-size:var(--t-xs);font-weight:var(--w-semibold);
  letter-spacing:0;text-transform:none;
  color:var(--ink);border:1px solid var(--line-2);border-radius:var(--r-sm);
  transition:border-color var(--dur-2) var(--ease),background var(--dur-2) var(--ease);
}
body.jr-landing .btn-login:hover{border-color:var(--ink);background:var(--surface-2)}
body.jr-landing .jr-rule{margin-top:var(--s2)}
body.jr-landing .jr-rule2{display:none}

/* ═══ hero ══════════════════════════════════════════════════════════════════ */
body.jr-landing .jr-cover{
  display:grid;
  grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);
  gap:clamp(2rem,5vw,4.5rem);
  align-items:end;
  padding-block:clamp(2.5rem,5vw,4.5rem) clamp(2rem,4vw,3.5rem);
}
body.jr-landing .jr-cover .jr-k{
  display:inline-flex;align-items:center;
  margin-bottom:var(--s4);
}
body.jr-landing .jr-h1{
  font-size:var(--t-display);
  line-height:var(--lh-display);
  letter-spacing:var(--tr-display);
  font-weight:var(--w-semibold);
  text-wrap:balance;
  margin-bottom:var(--s4);
}
body.jr-landing .jr-dek{
  font-size:var(--t-lead);
  line-height:1.56;
  font-style:normal;
  color:var(--ink-2);
  max-width:47ch;
  margin-bottom:var(--s5);
}

/* byline → ruled meta row (wraps as a flow, never as 4 squeezed columns) */
body.jr-landing .jr-byline{
  display:flex;
  flex-wrap:wrap;
  align-items:baseline;
  gap:.5em 1.5em;
  padding-top:var(--s4);
  border-top:1px solid var(--line);
  margin:0 0 var(--s5);
}
body.jr-landing .jr-byline span{
  font-size:var(--t-label);
  font-weight:var(--w-semibold);
  letter-spacing:.1em;
  text-transform:uppercase;
  color:var(--ink-3);
  line-height:1.3;
  white-space:nowrap;
  font-variant-numeric:tabular-nums;
}

body.jr-landing .jr-ctas{display:flex;align-items:center;gap:var(--s4);flex-wrap:wrap}
body.jr-landing .jr-btn{
  display:inline-flex;align-items:center;gap:.6em;
  min-height:48px;padding:.75em 1.2em;
  font-size:var(--t-sm);font-weight:var(--w-semibold);
  color:var(--on-accent);background:var(--accent);
  border:1px solid var(--accent);border-radius:var(--r-sm);
  transition:background var(--dur-2) var(--ease),border-color var(--dur-2) var(--ease),
             transform var(--dur-2) var(--ease);
}
body.jr-landing .jr-btn:hover{background:var(--accent-hover);border-color:var(--accent-hover);transform:translateY(-1px)}
body.jr-landing .jr-arr{transition:transform var(--dur-2) var(--ease)}
body.jr-landing .jr-btn:hover .jr-arr{transform:translateX(3px)}
body.jr-landing .jr-more{
  display:inline-flex;align-items:center;gap:.45em;
  font-size:var(--t-sm);font-weight:var(--w-semibold);
  color:var(--ink-2);border-bottom:1px solid var(--line-2);
  padding-bottom:.2em;
  transition:color var(--dur-2) var(--ease),border-color var(--dur-2) var(--ease);
}
body.jr-landing .jr-more:hover{color:var(--accent);border-color:var(--accent)}

/* hero figure — a real page from the textbook, not stock photography */
body.jr-landing .jr-fig{margin:0}
body.jr-landing .jr-ph{
  position:relative;overflow:hidden;
  border-radius:var(--r-md);
  background:var(--surface-2);
  border:1px solid var(--line);
}
body.jr-landing .jr-cover .jr-ph{aspect-ratio:4/5}
body.jr-landing .jr-cover .jr-ph img{width:100%;height:100%;object-fit:cover;object-position:center top}
/* one capture per theme — the same page is printed on paper or on night stock */
body.jr-landing .jr-ph img.jr-ph-dk{display:none}
body.jr-landing.dark .jr-ph img.jr-ph-lt{display:none}
body.jr-landing.dark .jr-ph img.jr-ph-dk{display:block}
body.jr-landing .jr-cap{
  margin-top:var(--s3);
  font-size:var(--t-xs);line-height:1.45;color:var(--ink-3);
  font-style:normal;   /* journal.css sets captions in italic; with the deck and
     every heading already roman, italic captions were the last of the accent
     tells left on the page. */
  max-width:44ch;
}

/* ═══ section headers ═══════════════════════════════════════════════════════ */
body.jr-landing .jr-sec{padding-block:clamp(3.5rem,6vw,6.5rem)}
body.jr-landing .jr-sec + .jr-sec{border-top:1px solid var(--line)}
body.jr-landing .jr-head{
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);
  gap:var(--s4) clamp(2rem,4vw,4rem);
  align-items:end;
  margin-bottom:clamp(2rem,3.5vw,3.5rem);
  padding-top:var(--s4);
  border-top:1px solid var(--line-strong);
}
body.jr-landing .jr-head .jr-k{margin-bottom:var(--s2);display:block}
body.jr-landing .jr-head h2{
  font-size:var(--t-h1);
  letter-spacing:var(--tr-display);
  line-height:1.06;
  font-weight:var(--w-semibold);
}
body.jr-landing .jr-head>p{
  font-size:var(--t-sm);
  line-height:1.6;
  color:var(--ink-2);
  max-width:42ch;
  padding-bottom:.3em;
}

/* ═══ "Four ways in" → typographic index ═══════════════════════════════════ */
body.jr-landing .jr-cols{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:0;
  border-top:1px solid var(--line);
}
/* ONE divider, not two. journal.css draws `.jr-item+.jr-item::before` at
   left:-24px for its own vertical list; inside this two-column grid that rule
   landed 24px to the left of every item after the first, so the middle of the
   page carried two parallel lines and card 03 had a third one hanging off the
   page edge. The grid's own border-left is the only rule now. */
body.jr-landing .jr-item::before{content:none}
body.jr-landing .jr-item{
  position:relative;
  display:block;
  padding:var(--s5) 0;
  border-bottom:1px solid var(--line);
  color:inherit;
  transition:background var(--dur-2) var(--ease);
}
body.jr-landing .jr-cols .jr-item:nth-child(odd){padding-right:var(--s6)}
body.jr-landing .jr-cols .jr-item:nth-child(even){
  padding-left:var(--s6);
  border-left:1px solid var(--line);
}
body.jr-landing .jr-item:hover{background:var(--surface-2)}
body.jr-landing .jr-item .jr-ph{display:none}
body.jr-landing .jr-item h3{
  font-size:var(--t-h3);
  letter-spacing:var(--tr-head);
  font-weight:var(--w-semibold);
  margin-bottom:var(--s2);
}
body.jr-landing .jr-item p{
  font-size:var(--t-sm);
  line-height:1.58;
  color:var(--ink-2);
  max-width:44ch;
  margin-bottom:var(--s3);
}
body.jr-landing .jr-go{
  font-size:var(--t-xs);font-weight:var(--w-semibold);
  color:var(--accent);
  display:inline-flex;align-items:center;gap:.4em;
}
body.jr-landing .jr-item:hover .jr-go{text-decoration:underline;text-underline-offset:.22em}

/* ═══ stat band ═════════════════════════════════════════════════════════════ */
body.jr-landing .jr-wrap>.jr-nums{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:0;
  border-top:1px solid var(--line-strong);
  border-bottom:1px solid var(--line-strong);
  margin-block:0;
}
body.jr-landing .jr-num{
  display:flex;flex-direction:column;gap:.3em;
  /* the cells had 0 left padding, so 83 / 207 / 2 and their captions sat
     against the divider. First and last stay flush with the grid edges. */
  padding:var(--s5) var(--s4);
  border-right:1px solid var(--line);
}
body.jr-landing .jr-num:first-child{padding-left:0}
body.jr-landing .jr-num:last-child{border-right:0;padding-right:0}
body.jr-landing .jr-num b{
  font-size:clamp(2.1rem,3.6vw,3rem);
  font-weight:var(--w-semibold);
  line-height:1;letter-spacing:-.04em;
  color:var(--ink);
  font-variant-numeric:tabular-nums;
}
body.jr-landing .jr-num span{
  font-size:var(--t-xs);
  line-height:1.4;
  color:var(--ink-3);
  max-width:22ch;
  font-style:normal;   /* journal.css slanting every small caption is the single
     most template-looking thing on the page once the headings are roman */
}

/* ═══ method essay ══════════════════════════════════════════════════════════ */
body.jr-landing .jr-essay{
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);
  gap:clamp(2rem,5vw,4.5rem);
  align-items:start;
}
body.jr-landing .jr-body{
  /* journal.css runs the essay in two columns with a column rule; at this
     column width each column was ~290px, which is too narrow for 1rem sans */
  column-count:1;
  column-rule:0;
  font-size:var(--t-body);
  hyphens:none;
  max-width:62ch;
}
body.jr-landing .jr-body p{
  font-size:var(--t-body);
  line-height:1.68;
  color:var(--ink-2);
  max-width:62ch;
}
body.jr-landing .jr-body p+p{margin-top:var(--s4)}
body.jr-landing .jr-body p:first-child{color:var(--ink)}

body.jr-landing .jr-pull{
  margin:var(--s6) 0 0;
  padding:var(--s4) 0 0;
  border-top:2px solid var(--ink);
  display:flex;flex-direction:column;gap:var(--s2);
}
body.jr-landing .jr-pull span{
  font-family:var(--font-display);
  font-size:var(--t-h3);
  line-height:1.32;
  font-weight:var(--w-medium);
  letter-spacing:var(--tr-serif);
  color:var(--ink);
  text-wrap:balance;
}

body.jr-landing .jr-notes{
  list-style:none;margin:0;padding:0;
  border-top:1px solid var(--line-strong);
}
body.jr-landing .jr-notes li{
  display:flex;flex-direction:column;gap:.25em;
  padding:var(--s4) 0;
  border-bottom:1px solid var(--line);
}
body.jr-landing .jr-notes b{
  font-size:var(--t-sm);
  font-weight:var(--w-semibold);
  color:var(--ink);
  letter-spacing:-.006em;
}
body.jr-landing .jr-notes span{
  font-size:var(--t-xs);
  line-height:1.55;
  color:var(--ink-3);
}

/* ═══ chapter plan ══════════════════════════════════════════════════════════ */
body.jr-landing .jr-toc{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:0;
  border-top:1px solid var(--line-strong);
}
body.jr-landing .jr-part{padding:var(--s5) var(--s5) var(--s5) 0}
body.jr-landing .jr-part + .jr-part{
  padding-left:var(--s5);
  border-left:1px solid var(--line);
}
body.jr-landing .jr-part:last-child{padding-right:0}
body.jr-landing .jr-part>p{font-style:normal}
body.jr-landing .jr-part h3{
  display:flex;align-items:baseline;gap:.55em;
  font-size:var(--t-h4);
  font-weight:var(--w-semibold);
  color:var(--ink);
  margin-bottom:.35em;
}
body.jr-landing .jr-part h3 i{
  font-style:normal;
  font-size:var(--t-label);
  font-weight:var(--w-bold);
  letter-spacing:var(--tr-label);
  color:var(--accent);
}
body.jr-landing .jr-part>p{
  font-size:var(--t-xs);
  line-height:1.5;
  color:var(--ink-3);
  margin-bottom:var(--s4);
  max-width:24ch;
}
body.jr-landing .jr-part ol{list-style:none;margin:0;padding:0}
body.jr-landing .jr-part li+li{margin-top:.1em}
body.jr-landing .jr-part li a{
  display:flex;align-items:baseline;gap:.6em;
  padding:.42em 0;
  font-size:var(--t-xs);
  line-height:1.35;
  color:var(--ink-2);
  border-bottom:1px solid transparent;
  transition:color var(--dur-2) var(--ease),border-color var(--dur-2) var(--ease);
}
body.jr-landing .jr-part li a .t{flex:1}
body.jr-landing .jr-part li a .p{
  font-size:var(--t-label);
  font-variant-numeric:tabular-nums;
  color:var(--ink-3);
  font-style:normal;
}
body.jr-landing .jr-part li a:hover{color:var(--accent);border-color:var(--line-2)}
body.jr-landing .jr-part li a:hover .p{color:var(--accent)}

/* ═══ close ═════════════════════════════════════════════════════════════════ */
body.jr-landing .jr-close{
  border-top:1px solid var(--line-strong);
  text-align:left;
}
body.jr-landing .jr-close .jr-k{display:block;margin-bottom:var(--s3)}
body.jr-landing .jr-close h2{
  font-size:var(--t-display);
  line-height:1.04;
  letter-spacing:var(--tr-display);
  font-weight:var(--w-semibold);
  margin-bottom:var(--s4);
  max-width:18ch;
}
body.jr-landing .jr-close>p{
  font-size:var(--t-lead);
  line-height:1.55;
  color:var(--ink-2);
  max-width:56ch;
  margin-bottom:var(--s5);
}
body.jr-landing .jr-btn-ghost{
  color:var(--ink);background:transparent;border-color:var(--line-2);
}
body.jr-landing .jr-btn-ghost:hover{background:var(--surface-2);border-color:var(--ink)}

/* ═══ colophon ══════════════════════════════════════════════════════════════ */
body.jr-landing footer.jr-colo{
  border-top:1px solid var(--line-strong);
  background:var(--surface-2);
  padding-block:clamp(2.5rem,4vw,4rem) var(--s5);
}
body.jr-landing .jr-colo-grid{
  display:grid;
  grid-template-columns:minmax(0,1.6fr) repeat(3,minmax(0,1fr));
  gap:var(--s5) clamp(1.5rem,3vw,3rem);
}
body.jr-landing footer .jr-word{
  font-size:1.35rem;font-weight:var(--w-semibold);
  letter-spacing:-.035em;color:var(--ink);margin-bottom:var(--s3);
}
body.jr-landing footer .jr-word em{font-style:italic;color:var(--accent);font-weight:var(--w-medium)}
body.jr-landing .jr-colo-grid p{
  font-size:var(--t-xs);line-height:1.6;color:var(--ink-3);max-width:30ch;
}
body.jr-landing .jr-colo-grid h4{
  font-size:var(--t-label);font-weight:var(--w-bold);
  letter-spacing:var(--tr-label);text-transform:uppercase;
  color:var(--ink-3);margin-bottom:var(--s3);
}
body.jr-landing .jr-colo-grid a{
  display:block;padding:.3em 0;
  font-size:var(--t-xs);color:var(--ink-2);
  transition:color var(--dur-2) var(--ease);
}
body.jr-landing .jr-colo-grid a:hover{color:var(--accent)}
body.jr-landing .jr-fine{
  display:flex;justify-content:space-between;gap:var(--s4);flex-wrap:wrap;
  margin-top:clamp(2rem,4vw,3rem);padding-top:var(--s4);
  border-top:1px solid var(--line);
  font-size:var(--t-xs);color:var(--ink-3);
}

/* ═══ responsive ════════════════════════════════════════════════════════════ */
@media (max-width:1024px){
  body.jr-landing .jr-cover{grid-template-columns:1fr;align-items:start}
  body.jr-landing .jr-cover .jr-ph{aspect-ratio:16/10}
  /* the figure used to be order:-1 here, which stood the phone hero on its
     head: photo first, headline pushed below the fold, primary button out of
     reach. Text first, then the figure. */
  body.jr-landing .jr-head{grid-template-columns:1fr;align-items:start}
  body.jr-landing .jr-head>p{padding-bottom:0}
  body.jr-landing .jr-essay{grid-template-columns:1fr}
  body.jr-landing .jr-toc{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.jr-landing .jr-part:nth-child(odd){padding-left:0;border-left:0}
  body.jr-landing .jr-part:nth-child(-n+2){border-bottom:1px solid var(--line)}
  body.jr-landing .jr-colo-grid{grid-template-columns:1fr 1fr}
}
@media (max-width:720px){
  body.jr-landing .jr-bar{grid-template-columns:auto 1fr auto;gap:var(--s3)}
  body.jr-landing .jr-nav{display:none}
  body.jr-landing .jr-mast .jr-word{justify-self:start}
  body.jr-landing .jr-byline{grid-template-columns:1fr 1fr;gap:var(--s3)}
  body.jr-landing .jr-cols{grid-template-columns:1fr}
  body.jr-landing .jr-cols .jr-item:nth-child(odd){padding-right:0}
  body.jr-landing .jr-cols .jr-item:nth-child(even){padding-left:0;border-left:0}
  body.jr-landing .jr-wrap>.jr-nums{grid-template-columns:1fr 1fr}
  body.jr-landing .jr-num:nth-child(2n){border-right:0;padding-right:0}
  body.jr-landing .jr-num:nth-child(odd){padding-left:0}
  body.jr-landing .jr-num:nth-child(-n+2){border-bottom:1px solid var(--line)}
  body.jr-landing .jr-toc{grid-template-columns:1fr}
  body.jr-landing .jr-part{padding-left:0;border-left:0;border-bottom:1px solid var(--line)}
  body.jr-landing .jr-part:last-child{border-bottom:0}
  body.jr-landing .jr-colo-grid{grid-template-columns:1fr}
  body.jr-landing .jr-ctas{gap:var(--s3)}
  body.jr-landing .jr-btn{width:100%;justify-content:center}
}

/* ── landing: the contents section is TWO layers, not four cards ──────────
   Studying holds the three courses (Vitalité Textbook, IB SEHS, G10 Biology).
   Condition is its own shelf — the site's IA puts them on different layers,
   and a flat four-up grid said "condition is the fourth course". */
body.jr-landing .jr-layers{display:grid;grid-template-columns:1.42fr .58fr;align-items:start}
body.jr-landing .jr-layer-study{padding-right:clamp(20px,3.6vw,48px)}
body.jr-landing .jr-layer-cond{padding-left:clamp(20px,3.6vw,48px);border-left:1px solid var(--jr-rule)}
body.jr-landing .jr-tier{display:block;font-family:var(--jr-text);font-size:.66rem;font-weight:600;
  letter-spacing:.24em;text-transform:uppercase;color:var(--jr-ink3);
  padding-bottom:10px;border-bottom:1px solid var(--jr-ink)}
body.jr-landing .jr-course{display:grid;grid-template-columns:1fr auto auto;gap:18px;align-items:baseline;
  padding:17px 0;border-bottom:1px solid var(--jr-rule2);transition:background .2s var(--jr-ease)}
body.jr-landing .jr-course:hover{background:var(--jr-card)}
body.jr-landing .jr-course .n{min-width:0}
body.jr-landing .jr-course .n b{font-family:var(--jr-display);font-size:1.34rem;font-weight:400;line-height:1.2;letter-spacing:-.01em}
body.jr-landing .jr-course .n small{display:block;font-family:var(--jr-text);font-size:.92rem;font-style:italic;
  color:var(--jr-ink3);margin-top:3px;line-height:1.4}
body.jr-landing .jr-course .ct{font-family:var(--jr-text);font-size:.72rem;font-weight:500;letter-spacing:.14em;
  text-transform:uppercase;color:var(--jr-ink3);white-space:nowrap}
body.jr-landing .jr-course .ar{color:var(--jr-gold);font-size:1.05rem;line-height:1}
body.jr-landing .jr-layer-cond .jr-course{grid-template-columns:1fr auto;border-bottom:0}
body.jr-landing .jr-layer-cond .jr-course .n b{font-size:1.18rem}
/* Chinese has no italic: the browser fakes a slant, so drop it when 中文 is on */
body.jr-landing.lang-zh .jr-course .n small{font-style:normal}
body.jr-landing .jr-close .cjk{font-style:normal}
body.jr-landing.lang-zh .jr-close p{font-style:normal}
body.jr-landing .jr-close .jr-tiny{margin-top:1.9rem;font-family:var(--jr-text);font-size:.72rem;font-weight:500;
  letter-spacing:.16em;text-transform:uppercase;color:var(--jr-ink3)}
@media (max-width:900px){
  body.jr-landing .jr-layers{grid-template-columns:1fr}
  body.jr-landing .jr-layer-study{padding-right:0}
  body.jr-landing .jr-layer-cond{padding-left:0;border-left:0;padding-top:34px}
  body.jr-landing .jr-course{grid-template-columns:1fr auto;gap:12px}
  /* every cell pinned: a bare `grid-row` on .ar makes it a DEFINITE-position
     item, so grid places it before .n and the arrow lands in column 1 on rows
     that have no .ct (Condition, Forum, Daily news) — text is shoved right. */
  body.jr-landing .jr-course .n{grid-column:1;grid-row:1}
  body.jr-landing .jr-course .ct{grid-column:1;grid-row:2;letter-spacing:.12em}
  body.jr-landing .jr-course .ar{grid-column:2;grid-row:1/span 2;align-self:center;justify-self:end}
}
/* close section: the landing layer left-aligns the copy, so the CTA row and the
   measure have to follow it. Without this the buttons stayed centred under
   left-aligned text and the paragraph ran the full 1176px of the wrap. */
body.jr-landing .jr-close .jr-ctas{justify-content:flex-start}
body.jr-landing .jr-close .jr-wrap>p{max-width:58ch;margin-left:0!important;margin-right:0!important}
/* the gold <em> is an italic device; Chinese has no italic, so keep the colour
   and drop the slant when 中文 is on */
body.jr-landing.lang-zh .jr-close h2 em{font-style:normal}

/* ── landing contents: a second shelf under Condition ─────────────────────
   Social sits below Condition in the right-hand column: it is not studying,
   and it is not the condition tools either. A rule between the two keeps the
   tiers distinct without a second full-width column. */
body.jr-landing .jr-tier-next{margin-top:clamp(26px,3.2vw,40px)}
body.jr-landing .jr-layer-cond .jr-course{border-bottom:1px solid var(--jr-rule2)}
body.jr-landing .jr-layer-cond .jr-course:last-child{border-bottom:0}
