/* ReadShore homepage. The page system is the tasteskill kit in /kit/ (unchanged files); this sheet holds
   the brand tokens, the self-hosted IBM Plex faces (SIL OFL, /fonts/IBM-Plex-OFL.txt) and the page's own rules. */
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/ibm-plex-mono-400-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/ibm-plex-mono-400-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/ibm-plex-mono-500-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/ibm-plex-mono-500-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 400 700; font-stretch: 85% 100%; font-display: swap; src: url(/fonts/ibm-plex-sans-400-700-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 400 700; font-stretch: 85% 100%; font-display: swap; src: url(/fonts/ibm-plex-sans-400-700-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --p-bg: #ffffff; --p-surface: #f2f6f4; --p-ink: #26312e; --p-muted: #596660;
  --p-accent: #1c6c66; --p-accent-ink: #ffffff; --p-action: #131314; --p-action-ink: #e3e3e3;
  --p-inv-bg: #26312e; --p-inv-surface: #333d3a; --p-inv-ink: #ffffff; --p-inv-muted: #a5aaa9;
  --p-inv-accent: #ffffff; --p-inv-accent-ink: #26312e; --p-inv-action: #ffffff; --p-inv-action-ink: #1f1f1f;
  --font-display: "IBM Plex Sans", system-ui, sans-serif;
  --font-text: "IBM Plex Sans", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --display-weight: 500; --display-tracking: -0.025em; --display-tracking-xl: -0.035em; --ly-scale: 0.98;
}
  /* the client's logo in the bar and the footer */
  .nav__logo img { width: 26px; height: 26px; border-radius: 7px; }
  @media (max-width: 479px) { .nav:not(.is-open) .nav__name { display: none; } }
  .footer__mark img { width: 44px; height: 44px; border-radius: 11px; margin-right: 14px; }

  /* The homepage names the intent; provider choice belongs to /app/. */
  .nav__login { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding-inline: 8px; font-size: var(--t-small); font-weight: 500; white-space: nowrap; }
  .nav:not(.is-open) .nav__actions > .nav__login { display: inline-flex; }
  .nav.is-open .nav__login { order: 2; }
  @media (max-width: 639px) { .nav__actions { gap: 8px; } }

  /* hero: the headline on one line across the page axis, the agents in one row under the buttons */
  .hero--centred .hero__c { max-width: none; }
  .hero--centred h1 { max-width: none; text-wrap: balance; }
  .hero--centred .hero__lead { max-width: 66ch; color: var(--ink); }
  .hero__introduction { max-width: 48ch; margin: var(--s-2) auto 0; font-size: var(--t-lead); text-wrap: balance; }
  .agents-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin: var(--s-2) 0 0; padding: 0; list-style: none; font-size: var(--t-small); color: var(--ink); }
  .agents-row li:first-child { flex: 0 0 100%; text-align: center; }
  .agents-row img { display: block; width: 32px; height: 32px; border-radius: 8px; box-shadow: 0 0 0 1px rgb(0 0 0 / .08); }
  @media (max-width: 639px) { .agents-row { gap: 8px; } .agents-row img { width: 30px; height: 30px; } }

  /* the lit ground of the hero window and of the diagram frame */
  .hero--centred .hero__window, #agents .frame { background:
      radial-gradient(70% 60% at 18% 12%, color-mix(in oklab, var(--ground-surface) 80%, white), transparent 70%),
      radial-gradient(60% 50% at 90% 100%, color-mix(in oklab, var(--ground-bg) 82%, var(--ground-accent)), transparent 70%),
      var(--ground-bg); }
  /* the window rises out of the frame and runs on past its foot, under the fade */
  .hero--centred .hero__window { -webkit-mask-image: none; mask-image: none; }
  /* Claude's answer docks in the window's right column; the saved items keep the left */
  .rs-win > .rs-note { position: absolute; right: 16px; top: 54px; width: 300px; z-index: 2; }
  @media (min-width: 1280px) { .hero .rs-main { padding-right: 332px; } }
  @media (max-width: 1279px) { .rs-win > .rs-note { display: none; } }

  /* ReadShore's own web app, drawn in its dark tokens (website/public/app/style.css) */
  .rs {
    --rs-ground: #1c1b1a; --rs-deep: #100f0f; --rs-surface: #282726; --rs-surface-2: #343331; --rs-divider: #403e3c;
    --rs-ink: #fffcf0; --rs-ink-2: #cecdc3; --rs-ink-3: #b7b5ac; --rs-accent: #5abdac; --rs-edge: rgb(255 252 240 / .09);
    --rs-serif: "New York", ui-serif, "Iowan Old Style", Georgia, "Songti TC", serif;
    color: var(--rs-ink); font: 400 13px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif; letter-spacing: 0; text-align: left;
  }
  .rs-win { display: flex; flex-direction: column; background: var(--rs-ground); border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 1px rgb(0 0 0 / .5), 0 24px 60px -24px rgb(16 15 15 / .55); }
  .rs-win__bar { flex: none; display: flex; align-items: center; gap: 14px; height: 38px; padding: 0 14px; background: var(--rs-deep); color: var(--rs-ink-3); font-size: 12px; }
  .rs-dots { display: inline-flex; gap: 6px; } .rs-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--rs-surface-2); }
  .rs-win__body { flex: 1; min-height: 0; display: grid; grid-template-columns: 148px minmax(0, 1fr); }
  .rs-side { display: flex; flex-direction: column; gap: 2px; padding: 16px 10px; background: var(--rs-deep); border-right: 1px solid var(--rs-edge); }
  .rs-side > span { display: flex; align-items: center; gap: 9px; height: 32px; padding: 0 10px; border-radius: 8px; color: var(--rs-ink-2); }
  .rs-side > span.is-on { background: var(--rs-surface); color: var(--rs-ink); }
  .rs-side > .rs-brand { height: 36px; margin-bottom: 12px; font-weight: 600; font-size: 14px; color: var(--rs-ink); }
  .rs-brand img { width: 22px; height: 22px; border-radius: 6px; }
  .rs-side svg { width: 15px; height: 15px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
  .rs-main { display: flex; flex-direction: column; min-width: 0; min-height: 0; padding: 18px 20px 20px; }
  .rs-head { flex: none; display: flex; align-items: center; justify-content: space-between; margin: 0 0 14px; }
  .rs-h { font: 600 22px/1.1 var(--rs-serif); color: var(--rs-ink); }
  .rs-seg { display: inline-flex; gap: 16px; font-size: 12px; color: var(--rs-ink-3); }
  .rs-seg i { font-style: normal; padding-bottom: 3px; border-bottom: 2px solid transparent; } .rs-seg i.is-on { border-bottom-color: var(--rs-accent); color: var(--rs-ink); }
  .rs-list { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
  .rs-card { flex: none; width: 100%; display: grid; gap: 7px; padding: 14px 16px; border-radius: 14px; background: var(--rs-surface); box-shadow: inset 0 0 0 1px var(--rs-edge); }
  .rs-src { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--rs-ink-3); }
  .rs-src img { width: 16px; height: 16px; padding: 2px; border-radius: 4px; background: #ffffff; flex: none; }
  .rs-src svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.3; }
  .rs-title { font: 600 16px/1.3 var(--rs-serif); color: var(--rs-ink); }
  .rs-glance { padding-left: 10px; border-left: 2px solid var(--rs-accent); color: var(--rs-ink-2); }
  @media (max-width: 1023px) { .rs-win__body { grid-template-columns: minmax(0, 1fr); } .rs-side { display: none; } }
  @media (max-width: 639px) { .rs-main { padding: 14px 14px 36px; } .rs-head { margin: 0 0 10px; } .hero .rs-glance { display: none; } }

  /* line breaks: titles balance, running lines never end on a lone word */
  .rs-title, .app__h, .steps-cards .card p, .steps-cards .card h3 { text-wrap: balance; }
  .rs-glance, .app__p, .app__glance, .acts span, .faq p, .hero__lead, .mo-la__sub { text-wrap: pretty; }
  .app__pill span, .rs-src { white-space: nowrap; }
  /* the small card over the window: an agent's answer, step by step */
  .rs-note { padding: 14px 16px 10px; border-radius: 14px; background: #ffffff; color: #16181a; font: 400 13px/1.4 var(--font-text); box-shadow: 0 0 0 1px rgb(0 0 0 / .06), 0 18px 40px -16px rgb(16 15 15 / .45); }
  .rs-note__head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
  .rs-note__head img { width: 22px; height: 22px; border-radius: 6px; }
  .rs-note__head b { font-weight: 600; font-size: 14px; }
  .rs-note__chip { margin-left: auto; padding: 2px 9px; border-radius: 999px; background: #e3f1ee; color: #16544f; font-size: 12px; font-weight: 500; }
  .rs-note__q { margin-bottom: 6px; padding: 8px 12px; border-radius: 12px; background: #f2f6f4; color: #26312e; }
  .rs-note__line { display: flex; align-items: center; gap: 10px; padding: 7px 0; color: #3d4247; border-top: 1px solid rgb(0 0 0 / .06); }
  .rs-note__line:first-of-type { border-top: 0; }
  .rs-note__line i { width: 18px; height: 18px; border-radius: 50%; flex: none; display: grid; place-items: center; background: #e3f1ee; color: #16544f; font-style: normal; font-size: 12px; font-weight: 700; }
  .rs-note__line b { font-weight: 600; color: #16181a; }

  /* a section heading stands on one line across the container */
  .section-head.head-one { max-width: none; }
  .section-head.head-one > p { max-width: 62ch; }
  /* the statement belongs to the display tier: h1's size, eased only as far as its line count needs.
     One line from 1024, two lines under it. */
  #attention .mo-la__type { max-width: 9em; font-size: var(--ly-h1); line-height: 1.06; letter-spacing: -0.035em; }
  @media (min-width: 1024px) { #attention .mo-la__type { max-width: none; font-size: min(var(--ly-h1), 5.3vw); line-height: 1.05; } }
  /* type roles where a heading has to wrap. From 640 up every heading stands on one line; under 640 the
     h1 and each long h2 set on exactly two lines at every phone width, like the statement.
     Phone scale: display 39-41 / h2 26 / h3 18 / lead 18 / body 16. h1:h2 holds 1.5 as on desktop (72:48);
     leading opens and tracking eases as the size drops (1.08 and -0.03em, then 1.2 and -0.02em). */
  @media (min-width: 640px) { .closing__cta h2 { max-width: none; } }
  @media (min-width: 640px) and (max-width: 699px) { :root { --t-h2: 30px; --ly-h1: 42px; } }
  @media (max-width: 639px) {
    :root { --t-h2: 26px; }
    .hero--centred h1 { max-width: 9.5em; line-height: 1.08; letter-spacing: -0.03em; }
    h2 { line-height: 1.2; letter-spacing: -0.02em; }
    main h2:not(.mo-la__type) { max-width: 13em; }
    .closing__cta h2 { max-width: 10em; }
    #attention .mo-la__type { font-size: min(var(--ly-h1), 11.27vw - 5.4px); line-height: 1.08; letter-spacing: -0.03em; }
  }
  /* the statement holds the top of its screen and the three depths its foot */
  #attention > .wrap { display: flex; flex-direction: column; }
  .depths { margin: auto 0 0; padding-top: var(--s-8); }
  .depths > div { grid-column: 1 / -1; padding-top: var(--s-4); border-top: 1px solid var(--line); }
  .depths dt { font: 500 var(--t-lead)/1.4 var(--font-text); }
  .depths dd { margin: var(--s-2) 0 0; text-wrap: pretty; }
  @media (min-width: 768px) {
    .depths > div { display: grid; grid-template-columns: subgrid; align-items: baseline; }
    .depths dt { grid-column: span 4; }
    .depths dd { grid-column: span 8; margin: 0; }
  }
  /* agents: the three actions as plain lines, the address in mono */
  .acts { margin-bottom: 0; padding: 0; list-style: none; }
  .acts li { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: var(--s-4); padding: var(--s-3) 0; border-top: 1px solid var(--line); }
  .acts li:last-child { border-bottom: 1px solid var(--line); }
  .acts b { font-weight: 600; }
  /* a phone: the address stays in the guide; the section grows with its words on the narrowest screens */
  @media (max-width: 639px) { #agents .addr, #agents .agents-more { display: none; } #agents .grid.fill { flex: 1 0 auto; } #agents .grid.fill > .frame--fill { flex: 1 0 200px; } }
  .addr { font: 500 var(--t-small)/1.5 var(--font-mono); color: var(--muted); }
  .addr code { font: inherit; color: var(--ink); }

  /* library: the app frame (sections-library.md, app-frame), in the web app's dark tokens */
  .app.ui { --fx-bg: #1c1b1a; --fx-surface: #282726; --fx-ink: #fffcf0; --fx-muted: #b7b5ac; --fx-accent: #5abdac; --fx-accent-ink: #100f0f;
    display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); margin-top: 0; background: var(--u-bg); border: 1px solid var(--u-border); border-radius: var(--u-r); box-shadow: var(--u-shadow); overflow: hidden; }
  .app > .app__pane { position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 0; overflow: hidden; }
  .app > .app__pane + .app__pane { border-left: 1px solid var(--u-line); }
  .app__bar { flex: none; display: flex; align-items: center; gap: 12px; height: 52px; padding: 0 20px; border-bottom: 1px solid var(--u-line); }
  .app__bar .rs-h { font-size: 20px; }
  .app__bar .rs-seg { margin-left: auto; }
  .app__rows { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 2px; overflow: hidden; margin: 0; padding: 6px 8px 0; list-style: none; }
  .app__row { flex: none; width: 100%; display: grid; gap: 4px; padding: 11px 12px; border-radius: 12px; }
  .app__row.is-on { background: var(--rs-surface); box-shadow: inset 0 0 0 1px var(--rs-edge); }
  .app__row .rs-title { font-size: 15px; }
  .app__row .rs-glance { border-left: 0; padding-left: 0; color: var(--rs-ink-3); }
  .app__back { display: inline-flex; align-items: center; gap: 6px; color: var(--rs-ink-2); }
  .app__back svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
  .app__pill { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; }
  .app__pill span { padding: 5px 14px; border-radius: 999px; color: var(--rs-ink-2); }
  .app__pill span.is-main { background: var(--rs-accent); color: #100f0f; font-weight: 600; }
  .app__doc { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 22px; overflow: hidden; padding: 28px 40px 0; }
  .rs [hidden] { display: none !important; }
  .app__sec { flex: none; width: 100%; max-width: 640px; }
  .app__h { margin: 10px 0 0; font: 600 28px/1.2 var(--rs-serif); color: var(--rs-ink); }
  .app__glance { margin: 18px 0 0; padding: 14px 16px; border-radius: 14px; background: var(--rs-surface); box-shadow: inset 0 0 0 1px var(--rs-edge); font-size: 15px; line-height: 1.5; color: var(--rs-ink); }
  .app__label { margin: 0 0 6px; font-size: 12px; font-weight: 600; letter-spacing: 0.02em; color: var(--rs-accent); }
  .app__p { font-size: 14px; line-height: 1.6; color: var(--rs-ink-2); }
  .app__p.is-text { font: 400 16px/1.65 var(--rs-serif); color: var(--rs-ink); }
  @media (min-width: 1024px) and (max-width: 1279px) { .app.ui { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } }
  @media (max-width: 1023px) {
    .app.ui { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); }
    .app > .app__pane--list { height: 252px; }
    .app > .app__pane + .app__pane { border-left: 0; border-top: 1px solid var(--u-line); }
  }
  @media (max-width: 639px) {
    .app.ui { grid-template-rows: minmax(0, 1fr); }
    .app > .app__pane--list { display: none; }
    .app > .app__pane + .app__pane { border-top: 0; }
    .app__doc { padding: 20px 18px 0; } .app__h { font-size: 22px; }
  }

  /* steps: the App's own captures in a near-black device frame, cut by the panel */
  #steps .panel { --p-h: 400px; }
  .steps-cards > .card { grid-column: 1 / -1; }
  @media (min-width: 1024px) { .steps-cards > .card { grid-column: auto / span 4; } }
  @media (min-width: 640px) and (max-width: 1023px) {
    .steps-cards { flex: 1 1 0; grid-auto-rows: minmax(0, 1fr); }
    .steps-cards > .card { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: auto auto auto minmax(0, 1fr); column-gap: var(--s-6); }
    .steps-cards > .card > :not(.panel) { grid-column: 1; }
    #steps .steps-cards > .card > .panel { grid-column: 2; grid-row: 1 / span 4; height: auto; min-height: 200px; margin: calc(var(--c-gap) - var(--c-pad)) calc(var(--c-gap) - var(--c-pad)) calc(var(--c-gap) - var(--c-pad)) 0; border-radius: calc(var(--c-r) - var(--c-gap)); }
  }
  /* questions: the words and the answers side by side, the capture under the words down to the section's foot */
  .faq-grid { grid-template-rows: auto minmax(200px, 1fr); }
  .faq-text { display: contents; }
  .faq-grid .faq-side { grid-column: 1 / span 5; grid-row: 1; }
  .faq-grid .faq { grid-column: 7 / -1; grid-row: 1 / span 2; }
  .faq-grid > .faq-shot { grid-column: 1 / span 5; grid-row: 2; height: auto; min-height: 200px; }
  @media (min-width: 640px) and (max-width: 1023px) {
    .faq-grid { grid-template-rows: minmax(240px, 1fr) auto; }
    .faq-grid .faq-side { grid-column: 1 / span 6; }
    .faq-grid > .faq-shot { grid-column: 7 / -1; grid-row: 1; }
    .faq-grid .faq { grid-column: 1 / -1; grid-row: 2; }
  }
  .device { position: absolute; left: 50%; top: 32px; width: min(232px, calc(100% - 48px)); translate: -50% 0; padding: 5px; border-radius: 30px; background: #111513; box-shadow: 0 18px 40px rgb(21 51 43 / .16); }
  .device img { display: block; width: 100%; height: auto; border-radius: 25px; }
  .device--up { top: auto; bottom: 28px; }
  @media (max-width: 639px) { #steps .panel { --p-h: 300px; } #questions .faq-grid { display: contents; } .faq-text { display: block; } .faq-text > .faq { margin-top: var(--s-6); } #questions .faq-shot { min-height: 0; } .faq-shot .device { width: 232px; top: 40px; } .device { width: 200px; top: 20px; } .device--up { top: auto; bottom: 20px; } }
  /* the nav marks the section on screen */
  .nav__link[aria-current="location"]::before { transform: scaleX(1); transform-origin: left; }
  #attention .mo-la__sub { color: var(--ink); }

  /* Traditional Chinese and Japanese: IBM Plex carries the Latin letters and the platform face the rest;
     lines break only between phrases (finalize.mjs adds the breaks), tracking stays normal and the
     leading opens for the taller glyphs (the rest of the site does the same in site.css). */
  :lang(zh), :lang(ja) { word-break: keep-all; line-break: strict; }
  :root:lang(zh) { --font-display: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif; --font-text: var(--font-display); }
  :root:lang(ja) { --font-display: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", Meiryo, sans-serif; --font-text: var(--font-display); }
  :lang(zh) :is(h1, h2, h3, .mo-la__type), :lang(ja) :is(h1, h2, h3, .mo-la__type) { letter-spacing: 0; }
  :lang(zh) :is(h1, .mo-la__type), :lang(ja) :is(h1, .mo-la__type) { line-height: 1.25; }
  :lang(zh) h2, :lang(ja) h2 { line-height: 1.35; }
  :lang(zh) :is(p, dd, li), :lang(ja) :is(p, dd, li) { line-height: 1.75; }

  /* the share sheet for this page, which the App's first-save practice opens (share.js shows it on iPhone) */
  .share-page { margin-top: var(--s-2); }
  .share-page[hidden] { display: none; }
  .share-page .btn > svg { width: 18px; height: 18px; }
  /* the three steps take two screens on a phone (the kit reads --hm) */
  #steps { --hm: 2; }
/* The footer's link columns hold full guide names: from 1024 the mark (with the other languages
   under it) and the three link columns take three grid columns each, keeping the close and the links
   on one screen; below 1024 the mark takes its own row and the columns go two-up. A wrapped name
   splits evenly. */
@media (max-width: 1023px) { .footer .grid > .footer__brand { grid-column: 1 / -1; } }
@media (min-width: 640px) and (max-width: 1023px) { .footer .footer__col { grid-column: auto / span 6; } }
.footer__col a { text-wrap: balance; }
.footer__legal > span { text-wrap: balance; }
.footer .footer__languages { display: flex; flex-wrap: wrap; gap: 0 var(--s-5); }
/* the mark shares its row with the link columns from 1024, so it scales with the viewport there */
@media (min-width: 1024px) { .footer__brand .footer__mark { font-size: min(var(--t-h2), 2.6vw); } }
