/* Layout: the banner (register line and masthead with its two level navigation), the menu sheet,
   the hero, the ruled sections, the page head, and the footer index. */

/* ---------- register line ---------- */
.register { border-block-end: var(--rule-1); }
.register__row { display: flex; gap: var(--s-5); justify-content: space-between; align-items: baseline; padding-block: 8px; }
.register__row .label:nth-child(2) { margin-inline-start: auto; }
.lang { font-family: var(--f-ar-system); font-size: var(--fs-m); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.25em; line-height: 1.3; }
.lang:lang(en) { font-family: var(--f-wide); font-stretch: var(--w-label); font-weight: 600; font-size: var(--fs-s); letter-spacing: var(--track-label); }
.lang:hover { text-decoration-thickness: 2px; }
.en-tag { font-family: var(--f-wide); font-stretch: var(--w-label); font-weight: 600; font-size: var(--fs-xs); letter-spacing: var(--track-label); color: var(--ink-2); border: 1px solid var(--rule-soft); padding-block: 0 1px; padding-inline: 4px; vertical-align: 0.15em; white-space: nowrap; }

/* ---------- masthead ---------- */
.banner { position: relative; z-index: 20; background: var(--plate); }
.mast { border-block-end: var(--rule-2); }
.mast__row { display: flex; align-items: stretch; }
.brand { display: flex; align-items: center; flex: none; padding-block: 20px; padding-inline-end: 28px; border-inline-end: var(--rule-1); }
.brand img { width: 220px; height: auto; }
.brand--ar img { width: 190px; }
/* the groups take the whole row: no empty cell between the mark and the first group */
.nav { display: flex; flex: 1 1 auto; min-width: 0; }
.nav__list { display: flex; flex: 1 1 auto; margin: 0; padding: 0; list-style: none; }
.nav-group { display: flex; flex: 1 1 auto; border-inline-end: var(--rule-1); }
.nav-group:last-child { border-inline-end: 0; }
.nav__top {
  display: flex; flex: 1 1 auto; flex-direction: column; justify-content: center; gap: 2px; padding-inline: 14px 4px; text-decoration: none; white-space: nowrap;
  font-family: var(--f-wide); font-stretch: var(--w-label); font-weight: 600; font-size: var(--fs-m); letter-spacing: 0; position: relative;
}
/* the subline: small Archivo at the label size, in sentence case so it stays short */
.nav__top small { font-family: var(--f-wide); font-stretch: 100%; font-weight: 450; font-size: var(--fs-s); letter-spacing: 0; color: var(--ink-2); }
.nav__top:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.25em; }
.nav__top:hover small { text-decoration: none; }
/* the current group: an ink notch filed into the top of its cell, as on the punch */
.nav__top[aria-current]::after { content: ""; position: absolute; inset-block-start: 0; inset-inline-start: 14px; width: 14px; height: 8px; background: var(--ink); clip-path: polygon(0 0, 100% 0, 50% 100%); }
.nav__toggle { flex: none; width: 30px; display: grid; place-items: center; background: none; border: 0; padding: 0; cursor: pointer; color: var(--ink); }
/* the disclosure chevron is not a direction: drawn in SVG, it points down in both scripts */
.nav__toggle .chev { width: 10px; height: 6px; transition: rotate 0.12s ease; }
.nav-group.is-open .nav__toggle .chev { rotate: 180deg; }
.nav-group:hover > .nav__top, .nav-group.is-open > .nav__top, .nav-group:hover > .nav__toggle, .nav-group.is-open > .nav__toggle { background: var(--plate-2); }
:lang(ar) .nav__top { font-family: var(--f-ar-display); font-weight: 600; font-size: var(--fs-m); letter-spacing: 0; padding-inline: 14px 4px; }
:lang(ar) .nav__top small { font-family: var(--f-ar-display); letter-spacing: 0; font-size: var(--fs-s); }

/* a panel opens on a click, or after the pointer rests on its group for 150 ms, and stays 250 ms
   after it leaves, so a pointer crossing the masthead does not flash panels over the page */
.nav__panel {
  position: absolute; inset-inline: 0; inset-block-start: 100%; background: var(--plate-2);
  border-block: var(--rule-2); visibility: hidden; opacity: 0;
  transition: opacity 0.12s ease 0.25s, visibility 0s linear 0.37s;
}
.nav-group:not(.is-dismissed):hover > .nav__panel { visibility: visible; opacity: 1; transition-delay: 0.15s, 0.15s; }
.nav-group.is-open > .nav__panel { visibility: visible; opacity: 1; transition-delay: 0s, 0s; }
.nav__panel-in { max-width: var(--max); margin-inline: auto; padding-block: var(--s-5) var(--s-6); padding-inline: var(--gutter); row-gap: var(--s-4); }
.nav__panel-in > .nav__intro { grid-column: 1 / 4; }
.nav__panel-in > ul { grid-column: 4 / 13; }
.nav__panel-in > .nav__intro p { margin-block: var(--s-2) 0; font-size: var(--fs-m); color: var(--ink-2); max-width: 30ch; }
.nav__panel-in ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--col-gap); }
.nav__panel-in li { border-block-start: var(--rule-s); }
/* every item has one treatment; the page you are on carries the ink notch, a list page its kicker */
.nav__panel-in li a { display: flex; justify-content: space-between; gap: var(--s-4); padding-block: 10px; text-decoration: none; font-size: var(--fs-l); line-height: 1.3; min-height: 44px; position: relative; }
.nav__panel-in li a:hover .nav__name { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
.nav__panel-in li a[aria-current]::before { content: ""; position: absolute; inset-block-start: -1px; inset-inline-start: 0; width: 12px; height: 7px; background: var(--ink); clip-path: polygon(0 0, 100% 0, 50% 100%); }
.nav__kind { display: block; font-family: var(--f-wide); font-stretch: var(--wide); font-weight: 650; font-size: var(--fs-s); letter-spacing: var(--track-kicker); text-transform: uppercase; color: var(--ink-2); margin-block-start: 2px; }
:lang(ar) .nav__kind { font-family: var(--f-ar-display); letter-spacing: 0; text-transform: none; }
.nav__meta { font-family: var(--f-wide); font-stretch: var(--w-label); font-weight: 600; font-variant-numeric: tabular-nums; font-size: var(--fs-s); letter-spacing: 0; color: var(--ink-2); white-space: nowrap; padding-block-start: 0.25em; direction: ltr; unicode-bidi: isolate; }

.mast__lang, .mast__menu { display: none; }
.mast__menu {
  align-items: center; gap: 10px; padding-inline: 16px; margin-inline-end: calc(var(--gutter) * -1); min-height: 48px;
  border-inline-start: var(--rule-1); text-decoration: none; font-family: var(--f-wide); font-stretch: var(--w-label); font-weight: 650; font-size: var(--fs-m); letter-spacing: 0;
}
.mast__menu i { display: block; width: 18px; height: 11px; border-block: 2px solid currentColor; position: relative; }
.mast__menu i::after { content: ""; position: absolute; inset-inline: 0; inset-block-start: 2.5px; border-block-start: 2px solid currentColor; }
:lang(ar) .mast__menu { font-family: var(--f-ar-display); letter-spacing: 0; }
.mast__lang { align-items: center; justify-content: center; min-width: 48px; padding-inline: 12px; border-inline-start: var(--rule-1); text-decoration: none; font-family: var(--f-ar-system); font-size: var(--fs-m); font-weight: 600; margin-inline-start: auto; white-space: nowrap; }
.mast__lang:lang(en) { font-family: var(--f-wide); font-stretch: var(--w-label); font-size: var(--fs-s); letter-spacing: var(--track-label); }

/* the menu sheet (phone and tablet): a modal dialog; the language switch sits in its bar */
.sheet { position: fixed; inset: 0; z-index: 40; background: var(--plate); overflow-y: auto; overscroll-behavior: contain; }
.sheet[hidden] { display: none; }
.sheet__bar { display: flex; align-items: center; gap: var(--s-4); border-block-end: var(--rule-2); min-height: 64px; position: sticky; inset-block-start: 0; background: var(--plate); z-index: 1; }
.sheet__home { display: flex; margin-inline-end: auto; }
.sheet__bar img { width: 170px; height: auto; }
.sheet__bar .sheet__lang { display: inline-flex; align-items: center; min-height: 44px; border: 0; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.25em; white-space: nowrap; }
.sheet__close { background: none; border: 0; border-inline-start: var(--rule-1); align-self: stretch; min-width: 64px; padding-inline: 16px; margin-inline-end: calc(var(--gutter) * -1); font-family: var(--f-wide); font-stretch: var(--w-label); font-weight: 650; font-size: var(--fs-m); cursor: pointer; color: var(--ink); }
:lang(ar) .sheet__close { font-family: var(--f-ar-display); }
.sheet__body { padding-block: var(--s-5) var(--s-8); }
.sheet__reg { margin-block: var(--s-6) 0; padding-block-start: var(--s-3); border-block-start: var(--rule-1); }
/* ---------- index groups (sheet and footer) ---------- */
.index { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-6); }
.index__group h2 { font-family: var(--f-wide); font-stretch: var(--wide); font-weight: 650; font-size: var(--fs-xs); letter-spacing: var(--track-kicker); text-transform: uppercase; padding-block-end: var(--s-2); border-block-end: var(--rule-1); margin-block-end: var(--s-2); }
.index__group h2 a { text-decoration: none; }
:lang(ar) .index__group h2 { font-family: var(--f-ar-display); letter-spacing: 0; font-size: var(--fs-m); }
.index__group ul { list-style: none; margin: 0; padding: 0; }
.index__group li { padding-block: 5px; font-size: var(--fs-m); line-height: 1.3; }
.index__group li a { text-decoration: none; }
.index__group li a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.index__group--wide { grid-column: span 2; }
/* each group is a head row and a list row of the index's own grid, so the heads of one row share
   a height and their rules line up, however many lines a head takes */
.index__group { display: grid; grid-template-rows: subgrid; grid-row: span 2; row-gap: 0; align-content: start; }
.index__group h2 { align-self: end; }
.index__group--wide ul { columns: 2; column-gap: var(--s-6); }
.index__group--wide li { break-inside: avoid; }

/* ---------- the one grid: twelve tracks, one gap ----------
   The home hero (text 1 to 7, seal 8 to 12), the footer (brand 1 to 3, index 4 to 12), the menu
   panels and the touchstone are laid on it. Interior pages are laid as a ledger (below). */
.hero__grid, .foot__top, .nav__panel-in, .touch__grid { display: grid; grid-template-columns: var(--cols); column-gap: var(--col-gap); }

/* ---------- home hero ---------- */
.hero { border-block-end: var(--rule-2); }
.hero__grid { padding-block: var(--s-8) var(--s-7); align-items: start; position: relative; }
/* the index notch, filed into the masthead rule where the hero line starts: reading starts here,
   as a seal is read from its notch and a ledger entry opens on one */
.hero__grid::before { content: ""; position: absolute; inset-block-start: 0; inset-inline-start: var(--gutter); width: 18px; height: 11px; background: var(--ink); clip-path: polygon(0 0, 100% 0, 50% 100%); }
.hero__grid > .hero__text { grid-column: 1 / 8; }
.hero__grid > .hero__seal { grid-column: 8 / 13; }
/* calm: two or three lines at a held weight; the seal is the one heavy mass on the first screen */
.hero__line {
  font-family: var(--f-wide); font-stretch: var(--wide); font-weight: 520; font-size: var(--fs-hero);
  line-height: 1.02; letter-spacing: -0.022em; margin-block-end: var(--s-5); max-width: 21ch; text-wrap: balance;
}
:lang(ar) .hero__line { font-family: var(--f-ar-display); font-weight: 520; letter-spacing: 0; line-height: 1.5; font-size: var(--fs-ar-hero); max-width: 22ch; }
.hero__lede { font-style: italic; font-size: var(--fs-lede); line-height: 1.3; max-width: 34ch; margin-block-end: var(--s-6); color: var(--ink); }
:lang(ar) .hero__lede { font-style: normal; font-size: var(--fs-ar-hero-lede); line-height: 1.55; }
.hero__seal { margin: 0; }
.hero__seal .seal { max-width: 560px; margin-inline-start: auto; }

/* ---------- the ledger ----------
   Every interior page is a sheet of the register. The record card opens it: a folio strip (the
   page's code, its kind, the crumbs, the date, the count of entries and of Not yet items), the
   page's own small seal in the entry column, the title and the lede in the text column, and the
   register of its entries. Each section below is an entry: its number struck large in the entry
   column, the folio rule (a double hairline) between number and text, the head over the text, and
   an ink index notch filed into the entry's top rule where the folio rule meets it. The folio rule
   runs unbroken from the card to the last entry. */
.card { border-block-end: var(--rule-2); }
.card + .entry, .card + .touch { border-block-start: 0; }
.card__strip { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-5); padding-block: 10px; border-block-end: var(--rule-1); min-height: 48px; }
.card__folio { display: inline-flex; align-items: center; gap: 10px; }
/* the page code in the outline of a struck reference, not a solid chip */
.card__folio b { font-family: var(--f-wide); font-stretch: var(--wide); font-weight: 650; font-size: var(--fs-s); letter-spacing: var(--track-label); line-height: 1; padding-block: 5px 4px; padding-inline: 7px; border: 1.5px solid var(--ink); }
.card__kind { color: var(--ink-2); font-size: var(--fs-xs); }
.card__facts { display: flex; flex-wrap: wrap; gap: 4px var(--s-5); margin: 0; margin-inline-start: auto; }
.card__facts div { display: flex; align-items: baseline; gap: 8px; }
.card__facts dd { margin: 0; font-family: var(--f-wide); font-stretch: var(--w-label); font-weight: 600; font-size: var(--fs-s); font-variant-numeric: tabular-nums; white-space: nowrap; }
.card__facts dd a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
:lang(ar) .card__facts dd { font-family: var(--f-ar-display); }
.card__grid { display: grid; grid-template-columns: var(--entry-col) minmax(0, 1fr); }
.card__seal { margin: 0; padding-block: var(--s-6); padding-inline-end: var(--s-4); display: grid; gap: var(--s-2); align-content: start; justify-items: start; }
.card__seal .seal { width: 88px; }
.card__seal figcaption { display: grid; gap: 1px; }
.card__seal .seal-name { font-size: var(--fs-xs); white-space: nowrap; }
.card__main { position: relative; border-inline-start: var(--folio); padding-inline-start: var(--s-6); padding-block: var(--s-6) var(--s-7); display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-6) var(--s-8); align-items: start; }
.card__main.has-aside { grid-template-columns: minmax(0, 1fr) minmax(0, 25rem); }
.card__main::before, .entry__body::before { content: ""; position: absolute; inset-block-start: 0; inset-inline-start: -9px; width: 14px; height: 9px; background: var(--ink); clip-path: polygon(0 0, 100% 0, 50% 100%); }
.card__wide { grid-column: 1 / -1; min-width: 0; }
.card h1 { font-family: var(--f-text); font-weight: 380; font-size: var(--fs-h1); line-height: 1.04; letter-spacing: -0.012em; max-width: 22ch; margin-block-end: var(--s-4); }
/* the calm serif voice reaches Arabic too: titles in Markazi Text, not the display Kufi */
:lang(ar) .card h1 { font-family: var(--f-ar-text); font-weight: 600; line-height: 1.3; letter-spacing: 0; font-size: var(--fs-ar-h1); }
.card__lede { font-style: italic; font-size: var(--fs-lede); line-height: 1.32; max-width: 40ch; color: var(--ink); margin: 0; }
:lang(ar) .card__lede { font-style: normal; font-size: var(--fs-ar-lede); line-height: 1.6; }
.card__jump, .card__acts { margin-block: var(--s-5) 0; }
.card__aside { display: grid; gap: var(--s-5); align-content: start; min-width: 0; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; }
.crumbs li { font-family: var(--f-wide); font-stretch: var(--w-label); font-weight: 600; font-size: var(--fs-label); letter-spacing: var(--track-label); text-transform: uppercase; }
.crumbs li + li::before { content: "/"; color: var(--ink-2); margin-inline: 8px; }
.crumbs a { text-decoration: none; border-block-end: 1px solid var(--rule-soft); }
.crumbs a:hover { border-block-end-color: var(--ink); }
:lang(ar) .crumbs li { font-family: var(--f-ar-display); text-transform: none; letter-spacing: 0; font-size: var(--fs-s); }

/* the register: the page's entries as an index strip across the foot of the card */
.regidx { border-block-start: var(--rule-1); }
.regidx__grid { display: grid; grid-template-columns: var(--entry-col) minmax(0, 1fr); }
.regidx__label { margin: 0; padding-block: var(--s-4); }
.regidx ol { list-style: none; margin: 0; border-inline-start: var(--folio); padding-block: var(--s-3) var(--s-5); padding-inline: var(--s-6) 0; columns: 3 15rem; column-gap: var(--s-7); }
.regidx li { break-inside: avoid; }
.regidx a { display: grid; grid-template-columns: 2.3em minmax(0, 1fr); gap: 8px; align-items: baseline; padding-block: 5px; text-decoration: none; font-size: var(--fs-m); line-height: 1.3; }
.regidx a:hover .regidx__t { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
.regidx__n { font-family: var(--f-wide); font-stretch: var(--w-label); font-weight: 600; font-size: var(--fs-xs); font-variant-numeric: tabular-nums; color: var(--ink-2); }
:lang(ar) .regidx a { font-size: var(--fs-ar-fine); }

/* an entry */
.entry { border-block-start: var(--rule-1); }
.entry--band { background: var(--plate-2); }
.entry__grid { display: grid; grid-template-columns: var(--entry-col) minmax(0, 1fr); }
.entry__no { padding-block: var(--s-6) var(--s-4); padding-inline-end: var(--s-4); }
/* the entry number: struck in the plate numeral voice, large, not boxed */
.entry__n { display: block; font-family: var(--f-wide); font-stretch: var(--wide); font-weight: 300; font-size: var(--fs-entry); line-height: 0.82; letter-spacing: -0.04em; font-variant-numeric: tabular-nums lining-nums; color: var(--ink); }
.entry__l { display: block; font-family: var(--f-wide); font-stretch: var(--w-label); font-weight: 600; font-size: var(--fs-label); letter-spacing: var(--track-label); text-transform: uppercase; color: var(--ink-2); padding-block-start: 4px; }
:lang(ar) .entry__l { font-family: var(--f-ar-display); text-transform: none; letter-spacing: 0; font-size: var(--fs-s); }
.entry__body { position: relative; min-width: 0; border-inline-start: var(--folio); padding-inline-start: var(--s-6); padding-block: var(--s-6) var(--s-7); }
.entry__body > h2 { font-family: var(--f-text); font-weight: 400; font-size: var(--fs-h2); line-height: 1.12; letter-spacing: -0.006em; max-width: 30ch; margin-block-end: var(--s-4); }
:lang(ar) .entry__body > h2 { font-family: var(--f-ar-text); font-weight: 700; font-size: var(--fs-ar-h2); line-height: 1.35; letter-spacing: 0; }
.entry__note { margin-block: calc(var(--s-2) * -1) var(--s-4); }
.entry--small .prose { font-size: var(--fs-l); }
.entry--notyet .notyet { max-width: 46rem; }
.entry--full .entry__body > .prose { max-width: none; }

/* the contour divider: one per page, drawn from the page's own hash, above the footer */
.contour { color: var(--ink-2); height: 64px; overflow: hidden; }
.contour svg { width: 100%; height: 64px; }

/* ---------- footer ---------- */
.foot { margin-block-start: 0; }
.foot__top { padding-block: var(--s-6); row-gap: var(--s-5); }
.foot__top > .foot__brand { grid-column: 1 / 4; }
.foot__top > nav { grid-column: 4 / 13; }
.foot__brand img { width: 190px; }
/* the footer logo is a link: a tap target of 24 px or more at every width */
.foot__home { display: inline-block; padding-block: 8px; }
.foot__brand p { font-size: var(--fs-small); color: var(--ink-2); max-width: 30ch; margin-block-start: var(--s-4); }
.foot__legal { border-block-start: var(--rule-1); }
.foot__legal .wrap { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); padding-block: var(--s-3); align-items: center; }
.foot__legal .label:first-child { margin-inline-end: auto; }
.foot__legal-nav { display: flex; flex-wrap: wrap; gap: 0 var(--s-5); }
.foot__legal-nav a, .foot__legal .lang { font-size: var(--fs-fine); display: inline-flex; align-items: center; min-height: 32px; }
.colophon { border-block-start: var(--rule-1); }
.colophon .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s-2) var(--s-6); padding-block: var(--s-3) var(--s-5); align-items: baseline; }
.colophon p { margin: 0; font-size: var(--fs-fine); color: var(--ink-2); max-width: 80ch; }

/* ---------- tablet ---------- */
/* the six groups need about 1360 px: below that, one Menu control opens the whole index, and it
   stands at the inline end of the bar at every width */
@media (max-width: 1360px) {
  .nav { display: none; }
  .brand { border-inline-end: 0; }
  .mast__menu { display: flex; margin-inline-start: auto; }
  /* wherever the Menu control shows, the language switch is a full masthead cell beside it, not
     the small link in the register line */
  .mast__lang { display: flex; }
  .mast__lang + .mast__menu { margin-inline-start: 0; }
  .register__lang { display: none; }
}
@media (max-width: 1100px) {
  :root { --entry-col: 5.5rem; }
  .register__row .label:first-child { display: none; }
  .index { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  /* the card's aside stands under the title, at a reading width */
  .card__main.has-aside { grid-template-columns: minmax(0, 1fr); }
  .card__aside { max-width: 32rem; }
  .regidx ol { columns: 2 14rem; }
  /* tap targets in the sheet and the footer index */
  .index__group li { padding: 0; }
  .index__group li a, .index__group h2 a { display: block; padding-block: 12px; }
  .index__group h2 { padding-block-end: 0; }
  .crumbs a { display: inline-block; padding-block: 10px; }
}

/* ---------- phone ---------- */
@media (max-width: 720px) {
  .register { display: none; }
  .brand { padding-block: 14px; }
  .brand img { width: 168px; }
  .hero__grid, .foot__top, .nav__panel-in, .touch__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__grid > *, .hero__grid > .hero__text, .hero__grid > .hero__seal, .foot__top > *, .foot__top > .foot__brand, .foot__top > nav, .touch__grid > * { grid-column: 1 / -1; }
  .hero__grid { padding-block: var(--s-5) var(--s-6); }
  .hero__grid::before { width: 14px; height: 9px; }
  .hero__line { margin-block-end: var(--s-3); max-width: none; letter-spacing: -0.035em; line-height: 1.0; }
  .hero__lede { margin-block-end: var(--s-4); font-size: var(--fs-l); }
  :lang(ar) .hero__lede { font-size: var(--fs-ar-l); line-height: 1.5; }
  .hero__seal { margin-block-start: var(--s-6); }
  .hero__seal .seal { margin-inline: auto; max-width: 100%; }
  /* the offer comes straight after the hero line; the lede follows it */
  .hero__text { display: flex; flex-direction: column; }
  .hero__text .hero__lede { order: 2; margin-block: var(--s-4) 0; }
  /* the launch price, the way in and the verify link first; the full price follows them */
  .offer { display: flex; flex-direction: column; }
  .offer .offer__full { order: 2; border-block-start: 0; }
  .offer__end, .offer__gate, .offer__more { order: 3; }
  .offer__acts { border-block: var(--rule-s); padding-block: var(--s-3) var(--s-4); margin-block: 0; }

  /* the ledger on a phone: the entry column folds into a row over the text; the folio rule gives
     way to the entry's top rule, which keeps its notch at the inline start */
  .card__strip { gap: 6px var(--s-4); }
  .card__facts { margin-inline-start: 0; width: 100%; }
  /* a short strip on a phone: the folio, the crumbs, the entries and the Not yet count */
  .card__kind, .card__facts div:first-child { display: none; }
  .card__grid, .regidx__grid, .entry__grid { grid-template-columns: minmax(0, 1fr); }
  .card__main, .card__main.has-aside { border-inline-start: 0; padding-inline-start: 0; padding-block: var(--s-5) var(--s-5); display: flex; flex-direction: column; align-items: stretch; gap: var(--s-4); }
  .card__main::before { inset-inline-start: 0; }
  /* on a phone the price, the short answer or the jump comes straight after the title */
  .card__text { display: contents; }
  .card__text > h1 { order: 1; margin-block-end: 0; }
  .card__text > .short-wrap, .card__text > .card__jump { order: 2; margin-block: 0; }
  .card__aside { order: 3; max-width: none; }
  .card__text > .card__lede { order: 4; }
  .card__text > * { order: 5; }
  .card__wide { order: 6; }
  .card__seal { order: 2; display: flex; align-items: center; gap: var(--s-3); padding-block: 0 var(--s-5); }
  .card__seal .seal { width: 56px; }
  :lang(ar) .card h1 { font-size: var(--fs-ar-h1-phone); }
  .regidx__label { padding-block: var(--s-3) 0; }
  .regidx ol { border-inline-start: 0; padding-inline: 0; padding-block: var(--s-2) var(--s-4); columns: 1; }
  .regidx a { padding-block: 9px; }
  .entry__no { padding-block: var(--s-5) 0; padding-inline-end: 0; position: relative; }
  .entry__no::before { content: ""; position: absolute; inset-block-start: 0; inset-inline-start: 0; width: 12px; height: 8px; background: var(--ink); clip-path: polygon(0 0, 100% 0, 50% 100%); }
  .entry__n { font-size: var(--fs-3xl); }
  .entry__body { border-inline-start: 0; padding-inline-start: 0; padding-block: var(--s-3) var(--s-6); }
  .entry__body::before { content: none; }
  .entry__body > h2 { max-width: none; }

  .index { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-5); }
  .index__group--wide { grid-column: 1 / -1; }
  .index__group--wide ul { columns: 1; }
  .index__group--legal { grid-column: 1 / -1; }
  .colophon .wrap { grid-template-columns: minmax(0, 1fr); }
  .foot__top { padding-block: var(--s-6) var(--s-5); gap: var(--s-5); }
  .foot__legal-nav a, .foot__legal .lang { min-height: 44px; }
}
/* the smallest phones: the price and the verify link still on the first screen */
@media (max-width: 380px) {
  :root { --fs-hero: 1.68rem; --fs-ar-hero: 1.6rem; }
  .brand img { width: 132px; }
  .mast__menu { padding-inline: 12px; gap: 8px; font-size: var(--fs-s); }
  .mast__lang { min-width: 44px; padding-inline: 8px; }
  :lang(ar) .hero__line { line-height: 1.42; }
  .hero__grid { padding-block-start: var(--s-3); }
  .offer__terms b { font-size: var(--fs-m); }
  /* the verify link stands before the button, so both the price and the link keep the first screen */
  .offer__acts .textlink { order: -1; }
  .offer { padding-block: var(--s-3) var(--s-4); }
  .offer__top { margin-block-end: var(--s-2); }
  .offer__top .label { display: none; }
  .offer__name { margin-block-end: var(--s-2); }
  .offer__price { padding-block: var(--s-2); }
  .offer__price .num { font-size: var(--fs-num-xs); }
  .offer__acts { margin-block: var(--s-3) var(--s-2); gap: var(--s-2) var(--s-4); }
  .offer__acts .btn { padding-inline: 16px; }
  /* the full price and the terms stay on the unit page; the launch price, the way in and the verify link keep the first screen */
  .offer__terms span, .offer__full { display: none; }
}
.sheet__close:focus-visible, .mast__menu:focus-visible, .mast__lang:focus-visible, .nav__top:focus-visible, .nav__toggle:focus-visible { outline-offset: -5px; }
