/* mindasip.com/learn/ (render.mjs, frame.mjs): the learning hub's layout, ported from Mindber's /learn/ (LearnShell, LearnSidebar, LearnRightRail,
   the hero card, the topic cards, Start here, Latest, More ways to learn) onto the hub's tokens (hub/hub.css) and the journal's light reading
   surface (#f6f5fa, white cards, ink #0b0712). A page is [sidebar][content][rail] in a 1440 px frame (the hub is one full-width column): the
   sidebar and the rail stay under the header while the content scrolls, the rail drops under the content below 1280 px (1536 px on a tool
   page), and a phone gets one column with the sidebar folded into "Browse topics". The hub's tokens are dark at :root, so the page maps them
   light and the dark zones (the hub's hero card, Latest's featured card, the rail's call to action, the end band) map them back: every hb- rule
   that reads a token then reads right on either surface. Violet is spent on the hub's title accent, the current sidebar row, the contents'
   marker, the kind tags and the focus ring only. Every class of ours is lt-; the hub's own (hb-) carry the rest. */
.hb-lt {
  --lt-measure: 72ch; --lt-wide: 1440px;
  /* one vertical rhythm on every learn page (the owner, 2026-10-19: "too many spacing, reduce it, standardize for all"): --lt-y is the gap
     between any two blocks of a page (two sections, two parts of an article, the page and its end band), --lt-head-y a heading's gap to its block */
  --lt-y: clamp(32px, 3.6vw, 48px); --lt-head-y: 18px; --lt-sb: 16rem; --lt-rail: 17rem; --lt-cgap: 24px; --lt-r: 18px; --lt-r-lg: 28px;
  --lt-dark: #0b0712; --lt-light: #f6f5fa;
  --lt-t-xs: 11px; --lt-t-hub: clamp(34px, 3.6vw, 54px); --lt-t-page: clamp(28px, 2.4vw, 36px); --lt-t-h2: clamp(20px, 1.6vw, 24px); --lt-t-big: clamp(30px, 4.2vw, 60px);
  --lt-fill: rgba(11, 7, 18, .04); --lt-fill-2: rgba(11, 7, 18, .07); --lt-pop: #fff; --lt-tint: rgba(139, 92, 246, .1);
  /* a text field's face and the soft ring around it when it has the focus (the violet of the zone at about a fifth) */
  --lt-field: #fff; --lt-ring: rgba(109, 58, 230, .22);
  /* the kind tags: white on this violet reads 6.2 : 1 (white on the dark zones' #8b5cf6 is only 4.2 : 1), so every zone keeps this one */
  --lt-pill: #6d3ae6;
  --hb-card: #fff; --hb-card-2: #fff;
  --hb-line: rgba(11, 7, 18, .12); --hb-line-2: rgba(11, 7, 18, .24);
  --hb-fg: #0b0712; --hb-mut: rgba(11, 7, 18, .62); --hb-mut-2: rgba(11, 7, 18, .8);
  --hb-vi: #6d3ae6; --hb-vi-2: #5b2fd1;
  --hb-warm: #8a5200; --hb-warm-bg: rgba(251, 191, 36, .16);
  background: var(--lt-light); color: var(--hb-fg);
}
/* the dark zones take the hub's own values back */
.lt-hero-card, .lt-feat-card, .lt-cta-side, .lt-end {
  --hb-card: #111113; --hb-card-2: #151518;
  --hb-line: rgba(246, 245, 250, .12); --hb-line-2: rgba(246, 245, 250, .22);
  --hb-fg: #f6f5fa; --hb-mut: rgba(246, 245, 250, .62); --hb-mut-2: rgba(246, 245, 250, .78);
  --hb-vi: #8b5cf6; --hb-vi-2: #a37cff;
  --lt-fill: rgba(246, 245, 250, .06); --lt-fill-2: rgba(246, 245, 250, .1); --lt-pop: #17131f;
  --lt-field: rgba(246, 245, 250, .06); --lt-ring: rgba(139, 92, 246, .25);
  background: var(--lt-dark); color: var(--hb-fg);
}
.hb-lt [hidden] { display: none !important; }
.lt-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* the hub's buttons, links and rules that wear literal whites: the lit-rim pill (hub.css) reads on both grounds, so only
   a secondary on the light surface changes, to an ink hairline (the dark zones keep the pill) */
.hb-lt .hb-btn-ghost:not(.lt-end .hb-btn-ghost) { border-color: transparent; background: none; box-shadow: inset 0 0 0 1px var(--hb-line-2); color: var(--hb-fg); }
.hb-lt .hb-btn-ghost:not(.lt-end .hb-btn-ghost):hover { background: rgba(11, 7, 18, .06); box-shadow: inset 0 0 0 1px var(--hb-line-2); }
.hb-lt .hb-link:hover { color: var(--hb-fg); text-decoration: underline; text-underline-offset: 4px; }
.hb-lt .lt-end::after, .hb-lt .lt-cta-sec::after, .hb-lt .lt-news::after { content: none; }

/* ---- The frame: [sidebar][content][rail] under the fixed header; the hub is one full-width column */
.lt-frame { display: grid; grid-template-columns: var(--lt-sb) minmax(0, 1fr) var(--lt-rail); column-gap: var(--lt-cgap); align-items: start; width: min(var(--lt-wide), 100% - 2 * var(--hb-gut)); margin-inline: auto; padding: calc(var(--hb-hdr) + 24px) 0 var(--lt-y); }
.lt-frame-solo { display: block; }
.lt-sb { grid-column: 1; grid-row: 1; }
.lt-main { grid-column: 2; grid-row: 1; min-width: 0; }
.lt-rail { grid-column: 3; grid-row: 1; min-width: 0; }
.lt-browse { display: none; }
/* the hub's own sections lose their page-wide rhythm inside the frame: no hairline, no wash, no stacking box (it would cover a search's results) */
.lt-frame .hb-wrap { width: 100%; margin-inline: 0; }
.hb-lt .lt-frame .hb-sec { position: static; isolation: auto; padding-block: calc(var(--lt-y) / 2); }
.hb-lt .lt-frame .hb-sec::before, .hb-lt .lt-frame .hb-sec::after { content: none; }
/* the sidebar and the rail stay under the header while the page scrolls; taller than the screen, each scrolls inside itself (outlines are drawn inside it) */
.lt-sb, .lt-rail { position: sticky; top: calc(var(--hb-hdr) + 16px); align-self: start; max-height: calc(100vh - var(--hb-hdr) - 32px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.lt-sb :focus-visible, .lt-rail :focus-visible { outline-offset: -2px; border-radius: 10px; }

/* ---- Crumbs, the label above a title, the meta line, the kind tags */
.hb-lt .hb-crumbs { margin-bottom: 24px; }
.hb-lt .hb-crumbs li + li::before { content: '›'; margin: 0 6px 0 2px; color: var(--hb-mut); }
.hb-lt .hb-crumbs [aria-current] { font-weight: 500; }
.lt-eyebrow { font-size: var(--lt-t-xs); font-weight: 600; letter-spacing: .14em; line-height: 1.3; text-transform: uppercase; color: var(--hb-mut); }
.lt-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; font-size: var(--hb-t-sm); color: var(--hb-mut); }
.lt-meta .lt-topic { font-weight: 500; color: var(--hb-mut-2); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; transition: text-decoration-color .15s; }
.lt-meta .lt-topic:hover { text-decoration-color: currentColor; }
.lt-date time { font-variant-numeric: tabular-nums; }
.lt-kind, .lt-tag { display: inline-flex; align-items: center; height: 26px; padding: 0 12px; border-radius: 999px; font-size: var(--hb-t-lbl); font-weight: 500; line-height: 1; white-space: nowrap; color: #fff; background: var(--lt-pill); }

/* ---- Titles and the answer: the hub's title is large, every other page's is the shell page size, plain */
.hb-lt .lt-h1 { margin: 12px 0 0; max-width: 22em; font-size: var(--lt-t-page); font-weight: 600; letter-spacing: -.03em; line-height: 1.12; text-wrap: balance; }
.hb-lt .lt-h1-hub { max-width: 13em; font-size: var(--lt-t-hub); line-height: 1.06; }
.lt-acc { background: linear-gradient(100deg, #a37cff 10%, #dfd1ff 90%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.lt-answer { margin-top: 16px; font-size: var(--hb-t-body); line-height: 1.65; color: var(--hb-fg); text-wrap: pretty; }
.lt-main .lt-answer { padding: 16px 20px; border-radius: var(--lt-r); background: #fff; box-shadow: inset 0 0 0 1px var(--hb-line); }
.lt-answer a { text-decoration: underline; text-decoration-color: var(--hb-line-2); text-underline-offset: 3px; }
.lt-answer code { font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-size: .92em; }
.lt-stats { display: flex; flex-wrap: wrap; margin-top: 14px; font-size: var(--hb-t-sm); line-height: 1.5; color: var(--hb-mut); }
.lt-stats span:not(:last-child)::after { content: '·'; margin: 0 10px; }
.lt-stats time { font-variant-numeric: tabular-nums; }
/* the byline row of an article or a tool: the mark, who wrote it and when the facts were checked, the copy-link pill at the end */
.lt-author { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 16px; font-size: var(--hb-t-sm); line-height: 1.5; color: var(--hb-mut); }
.lt-author > span:not(.lt-avatar) { flex: 1 1 18rem; min-width: 0; }
.lt-author .lt-pill { margin-left: auto; height: 34px; padding: 0 14px; }
.lt-avatar { display: inline-grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--lt-dark); color: #fff; }
.lt-startnote { margin-top: 16px; padding: 12px 16px; border-radius: var(--lt-r); background: var(--lt-fill); font-size: var(--hb-t-sm); line-height: 1.6; color: var(--hb-fg); }
.lt-startnote a { font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }

/* a cover picture (covers.mjs): its words are the alt, its two sizes the srcset; the banner is the one a page leads with */
.lt-pic { position: relative; display: block; overflow: hidden; border-radius: var(--lt-r); background: #1a1230; }
.lt-pic img { display: block; width: 100%; height: auto; transition: transform .7s var(--hb-ease); }
.lt-banner { margin-top: 24px; }
.lt-banner .lt-pic img { aspect-ratio: 21 / 9; object-fit: cover; }
.lt-thumb { flex: none; width: 84px; height: 44px; border-radius: 8px; object-fit: cover; background: #1a1230; }

/* ---- The sidebar: a sticky card, the topics and what sits under the current one */
.lt-sb { padding: 12px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--hb-line); }
.lt-sb-nav { display: grid; gap: 12px; }
.lt-sb-nav > * + * { padding-top: 12px; border-top: 1px solid var(--hb-line); }
.lt-sb-back { display: flex; align-items: center; gap: 6px; padding: 4px 8px; border-radius: 10px; font-size: var(--hb-t-lbl); font-weight: 500; color: var(--hb-mut); transition: color .15s; }
.lt-sb-back:hover { color: var(--hb-fg); }
.lt-sb-ic { flex: none; }
.lt-sb-k, .lt-sb-sec, .lt-sb-sub, .lt-rw-k { font-size: var(--lt-t-xs); font-weight: 600; letter-spacing: .08em; line-height: 1.3; text-transform: uppercase; color: var(--hb-mut); }
.lt-sb-k { padding: 6px 8px; }
.lt-sb-sub { padding: 8px 8px 2px; }
.lt-sb-sec { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 8px; border-radius: 10px; transition: background-color .15s, color .15s; }
.lt-sb-sec:hover { background: var(--lt-fill-2); color: var(--hb-fg); }
.lt-sb-sec[aria-current] { color: var(--hb-fg); }
.lt-sb-sec[aria-current='page'] { background: var(--lt-tint); }
.lt-sb-rows { display: grid; gap: 2px; }
.lt-sb-row { display: flex; align-items: flex-start; gap: 8px; padding: 6px 8px; border-radius: 10px; font-size: var(--hb-t-sm); line-height: 1.35; color: var(--hb-mut-2); overflow-wrap: anywhere; transition: background-color .15s, color .15s; }
.lt-sb-row svg { flex: none; width: 16px; height: 16px; margin-top: 2px; }
.lt-sb-row:hover { background: var(--lt-fill-2); color: var(--hb-fg); }
.lt-sb-row[aria-current] { font-weight: 600; color: var(--hb-fg); }
.lt-sb-row[aria-current='page'] { background: var(--lt-tint); }
.lt-sb-nested { font-size: var(--hb-t-lbl); }
.lt-sb-branch { margin-top: 2px; padding-left: 16px; }
/* below 1081 px the sidebar is the "Browse topics" disclosure above the content (the same body again) */
.lt-browse { margin-bottom: 24px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--hb-line); }
.lt-browse summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-radius: 16px; font-size: var(--hb-t-sm); font-weight: 600; cursor: pointer; list-style: none; }
.lt-browse summary::-webkit-details-marker { display: none; }
.lt-browse summary::after, .lt-toc-fold summary::after { content: ''; flex: none; width: 8px; height: 8px; margin-right: 4px; border-right: 2px solid var(--hb-mut); border-bottom: 2px solid var(--hb-mut); transform: translateY(-2px) rotate(45deg); transition: transform .3s var(--hb-ease); }
.lt-browse[open] summary::after, .lt-toc-fold[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.lt-browse[open] summary { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.lt-browse-in { max-height: 60vh; overflow-y: auto; padding: 12px; border-top: 1px solid var(--hb-line); overscroll-behavior: contain; }

/* ---- The rail: the contents, the call to action, rows of newer pages, where the page leads */
.lt-rail { display: grid; gap: 24px; }
.lt-rw { min-width: 0; }
.lt-rw-k { padding: 0 4px 10px; }
.lt-toc-side { padding: 12px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--hb-line); }
.lt-toc-h { padding: 0 4px 10px; }
.lt-toc ol { display: grid; margin-left: 4px; border-left: 1px solid var(--hb-line); }
.lt-toc a { display: block; margin-left: -1px; padding: 5px 8px 5px 14px; border-left: 2px solid transparent; font-size: var(--hb-t-lbl); line-height: 1.45; color: var(--hb-mut); overflow-wrap: anywhere; text-wrap: pretty; transition: color .15s, border-color .15s; }
.lt-toc a:hover, .lt-toc a.is-on { color: var(--hb-fg); }
.lt-toc a.is-on { border-left-color: var(--hb-vi); font-weight: 600; }
.lt-toc-fold { display: none; margin-top: 24px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--hb-line); }
.lt-toc-fold summary { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-radius: 16px; font-size: var(--hb-t-sm); font-weight: 600; cursor: pointer; list-style: none; }
.lt-toc-fold summary::-webkit-details-marker { display: none; }
.lt-toc-fold .lt-toc { padding: 0 16px 14px; }
.lt-rrows { display: grid; gap: 2px; }
.lt-rrow { display: flex; align-items: flex-start; gap: 12px; padding: 8px; border-radius: 10px; transition: background-color .15s; }
.lt-rrow:hover { background: var(--lt-fill-2); }
.lt-rrow-tx { display: grid; gap: 4px; min-width: 0; }
.lt-rrow-t { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: var(--hb-t-lbl); font-weight: 600; line-height: 1.35; color: var(--hb-fg); }
.lt-rrow-s { font-size: var(--lt-t-xs); font-weight: 500; letter-spacing: .04em; line-height: 1.4; text-transform: uppercase; color: var(--hb-mut); }
.lt-rrow:hover .lt-rrow-t { text-decoration: underline; text-underline-offset: 3px; }
.lt-w-all { display: inline-flex; align-items: center; gap: 6px; margin: 6px 0 0 8px; font-size: var(--hb-t-sm); font-weight: 500; color: var(--hb-fg); }
.lt-w-all:hover { text-decoration: underline; text-underline-offset: 4px; }
.lt-w-all:hover .hb-arr { transform: translateX(3px); }
.lt-cta-h { font-size: var(--hb-t-body); font-weight: 600; letter-spacing: -.015em; line-height: 1.25; text-wrap: balance; }
.lt-cta-p { font-size: var(--hb-t-sm); line-height: 1.5; color: var(--hb-mut-2); }
.lt-cta.lt-cta-side { display: grid; gap: 8px; padding: 16px; border-radius: 16px; background: var(--lt-dark); box-shadow: none; }
.lt-cta-side .hb-btn { width: 100%; margin-top: 8px; min-height: 44px; }
.lt-w-news { display: block; padding: 2px 8px 4px; font-size: var(--hb-t-sm); font-weight: 500; color: var(--hb-mut-2); text-decoration: underline; text-decoration-color: var(--hb-line-2); text-underline-offset: 3px; transition: color .15s; }
.lt-w-news:hover { color: var(--hb-fg); }
.lt-w-nots li { padding: 10px 4px; border-top: 1px solid var(--hb-line); font-size: var(--hb-t-sm); line-height: 1.45; color: var(--hb-mut-2); }
.lt-w-nots li:first-child { padding-top: 0; border-top: 0; }
/* where a topic leads: the product pages that do the work, as plain rows (a title, one line, an arrow); in the page column they sit in a card */
.lt-leads li + li { border-top: 1px solid var(--hb-line); }
.lt-lead { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 4px; }
.lt-lead-tx { display: grid; gap: 3px; min-width: 0; }
.lt-lead-l { font-size: var(--hb-t-sm); font-weight: 600; line-height: 1.3; color: var(--hb-fg); }
.lt-lead-b { font-size: var(--hb-t-lbl); line-height: 1.4; color: var(--hb-mut); }
.lt-lead:hover .lt-lead-l { text-decoration: underline; text-underline-offset: 3px; }
.lt-lead:hover .hb-arr { transform: translateX(3px); }
.lt-lead .hb-arr { color: var(--hb-mut); }
.lt-main .lt-leads { padding: 4px 20px; border-radius: var(--lt-r); background: #fff; box-shadow: inset 0 0 0 1px var(--hb-line); }
.lt-main .lt-lead { padding-block: 14px; }
.lt-main .lt-lead-l { font-size: var(--hb-t-body); }
.lt-main .lt-lead-b { font-size: var(--hb-t-sm); }

/* ---- The search box, with its results under it (a pill: on the dark hero card on the hub, on the light page everywhere else) */
.lt-search { position: relative; margin-top: 18px; max-width: 560px; }
.lt-search-box { --lt-x: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 4l8 8M12 4l-8 8' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E"); display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 20px; border-radius: 999px; cursor: text; color: var(--hb-mut); background: var(--lt-field); box-shadow: inset 0 0 0 1px var(--hb-line); transition: box-shadow .2s, background-color .2s; }
.lt-search-box input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; color: var(--hb-fg); font: inherit; font-size: var(--hb-t-sm); -webkit-appearance: none; appearance: none; }
.lt-search-box input::placeholder { color: var(--hb-mut); }
.lt-search-box input::-webkit-search-decoration { display: none; }
/* the clear mark: drawn here (a mask over the muted colour), not the browser's blue one that turned yellow on the dark card */
.lt-search-box input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; flex: none; width: 16px; height: 16px; margin: 0 -2px 0 8px; cursor: pointer; color: var(--hb-mut); background: currentColor; -webkit-mask: var(--lt-x) center / 16px 16px no-repeat; mask: var(--lt-x) center / 16px 16px no-repeat; transition: color .15s; }
.lt-search-box input::-webkit-search-cancel-button:hover { color: var(--hb-fg); }
.lt-results, .lt-results-none { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 30; border-radius: 22px; background: var(--lt-pop); box-shadow: inset 0 0 0 1px var(--hb-line-2), 0 24px 60px rgba(11, 7, 18, .28); }
.lt-results { display: grid; gap: 2px; max-height: 60vh; padding: 8px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--hb-line-2) transparent; }
.lt-results a { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 12px; align-items: start; padding: 10px 12px; border-radius: 14px; transition: background-color .15s; }
.lt-results a:hover, .lt-results a:focus-visible { background: var(--lt-fill-2); }
.lt-r-kind { grid-row: 1 / span 2; margin-top: 2px; display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 999px; font-size: var(--hb-t-lbl); font-weight: 500; line-height: 1; white-space: nowrap; color: var(--hb-mut-2); background: var(--lt-fill); box-shadow: inset 0 0 0 1px var(--hb-line); }
.lt-r-t { font-size: var(--hb-t-sm); font-weight: 500; line-height: 1.35; color: var(--hb-fg); }
.lt-r-d { font-size: var(--hb-t-lbl); line-height: 1.45; color: var(--hb-mut); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lt-results-none { padding: 14px 18px; font-size: var(--hb-t-sm); color: var(--hb-mut); }
.lt-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; font-size: var(--hb-t-sm); color: var(--hb-mut); }
.lt-chip { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px; font-size: var(--hb-t-lbl); font-weight: 500; color: var(--hb-fg); box-shadow: inset 0 0 0 1px var(--hb-line-2); transition: background-color .2s; }
.lt-chip:hover { background: var(--lt-fill-2); }

/* ---- Text fields: the search pill, the newsletter's address and a tool's inputs share ONE focus, on the field's own shape: a 1 px violet line and a soft
   3 px ring of the same violet, no outline. hub.css draws a 2 px outline with an 8 px radius on every :focus-visible; it is cancelled here (and the
   field's own radius put back), or it showed as a rectangle inside the pill. The ring is a shadow, so nothing moves. */
.lt-search-box:focus-within { color: var(--hb-mut-2); box-shadow: inset 0 0 0 1px var(--hb-vi), 0 0 0 3px var(--lt-ring); }
/* on a dark zone the search pill wears the light surface's field, a white face with ink text, so it stands out from the card (the owner, 2026-10-20: "make
   different color of the text field to easy let user check and see"); only the pill: the results list under it stays dark */
:is(.lt-hero-card, .lt-feat-card, .lt-cta-side, .lt-end) .lt-search-box { --lt-field: #fff; --hb-fg: #0b0712; --hb-mut: rgba(11, 7, 18, .62); --hb-mut-2: rgba(11, 7, 18, .8); --hb-line: rgba(11, 7, 18, .12); }
.hb .lt-search-box input:focus, .hb .lt-search-box input:focus-visible { outline: none; box-shadow: none; }
.hb .lt-input:focus, .hb .lt-input:focus-visible { outline: none; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--hb-vi), 0 0 0 3px var(--lt-ring); }
.hb .lt-tool-box :is(input:not([type='checkbox'], [type='radio'], [type='range'], [type='file']), textarea, select):is(:focus, :focus-visible) { outline: none; border-radius: 12px; border-color: var(--hb-vi); box-shadow: 0 0 0 3px var(--lt-ring); }
/* a focused card, pill or fold keeps its own radius and a ring that fits (the hub's 8 px would change its shape) */
.hb .lt-pill:focus-visible, .hb .lt-chip:focus-visible { border-radius: 999px; outline-offset: 2px; }
.hb .hb-card.lt-card:focus-visible, .hb .lt-feat-card:focus-visible, .hb .lt-next-a:focus-visible { border-radius: var(--lt-r); }
.hb .lt-browse summary:focus-visible, .hb .lt-toc-fold summary:focus-visible, .hb .lt-nrows a:focus-visible, .hb .lt-results a:focus-visible { outline-offset: -2px; border-radius: 12px; }

/* ---- Section heads, the empty state, the filter pills */
.lt-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 4px 24px; margin-bottom: var(--lt-head-y); }
.lt-head > h2, .lt-head > .hb-h2 { grid-column: 1; }
.lt-head > .hb-link, .lt-head > a { grid-column: 2; grid-row: 1; }
.lt-head > .lt-sub { grid-column: 1 / -1; }
.hb-lt .lt-main h2, .hb-lt .lt-frame-solo h2 { font-size: var(--lt-t-h2); font-weight: 600; letter-spacing: -.02em; line-height: 1.2; max-width: none; text-wrap: balance; }
.lt-sub { max-width: 40em; font-size: var(--hb-t-sm); line-height: 1.55; color: var(--hb-mut); text-wrap: pretty; }
.lt-empty { max-width: 40em; font-size: var(--hb-t-body); line-height: 1.6; color: var(--hb-mut-2); }
.lt-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.lt-pill { display: inline-flex; align-items: center; justify-content: center; height: 38px; padding: 0 18px; border-radius: 999px; font-size: var(--hb-t-sm); font-weight: 500; line-height: 1; white-space: nowrap; color: var(--hb-fg); box-shadow: inset 0 0 0 1px var(--hb-line-2); transition: background-color .2s, color .2s; }
.lt-pill:hover { background: rgba(11, 7, 18, .06); }
.lt-pill[aria-pressed='true'] { background: var(--hb-fg); color: #fff; box-shadow: none; }

/* ---- Cards: text on white, a cover bleeding to the edges when it has one; the kind tag and the dates, the title, the page's words, one plain link */
.lt-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); gap: 16px; }
.lt-cards > li { display: flex; min-width: 0; }
.hb-lt .lt-card { --lt-pad: 20px; gap: 0; padding: var(--lt-pad); overflow: hidden; border-radius: var(--lt-r); background: #fff; box-shadow: inset 0 0 0 1px var(--hb-line); }
.hb-lt .lt-card:hover { background: #fff; box-shadow: inset 0 0 0 1px var(--hb-line-2); }
.lt-card .lt-pic { margin: calc(-1 * var(--lt-pad)) calc(-1 * var(--lt-pad)) 16px; border-radius: 0; }
.lt-card:hover .lt-pic img { transform: scale(1.035); }
.lt-card-top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: var(--hb-t-lbl); color: var(--hb-mut); }
.lt-card-meta, .lt-card-meta time { font-variant-numeric: tabular-nums; }
.lt-card-area { font-size: var(--hb-t-lbl); font-weight: 500; color: var(--hb-mut-2); }
.hb-lt .lt-card h3 { margin-top: 12px; font-size: var(--hb-t-body); font-weight: 600; letter-spacing: -.015em; line-height: 1.3; text-wrap: balance; }
.lt-card p { margin-top: 8px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: var(--hb-t-sm); line-height: 1.55; color: var(--hb-mut-2); }
.lt-card-go { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 14px; font-size: var(--hb-t-sm); font-weight: 500; color: var(--hb-fg); }
.lt-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px; }
.lt-card-foot .lt-card-go { margin-top: 0; padding-top: 0; }
.lt-card-n { font-size: var(--hb-t-lbl); font-weight: 500; color: var(--hb-mut); }

/* ---- The article and the tool: the reading column */
article.lt-article { min-width: 0; max-width: var(--lt-measure); margin-top: var(--lt-y); }
.lt-page-tool article.lt-article { max-width: none; }
.lt-page-tool article.lt-article :is(h2, p, li) { max-width: var(--lt-measure); }
article.lt-article .lt-s + .lt-s { margin-top: var(--lt-y); }
article.lt-article h2 { font-size: var(--lt-t-h2); font-weight: 600; letter-spacing: -.02em; line-height: 1.2; text-wrap: balance; }
article.lt-article h2 + * { margin-top: 14px; }
article.lt-article p, article.lt-article li { font-size: var(--hb-t-body); line-height: 1.7; color: var(--hb-mut-2); text-wrap: pretty; overflow-wrap: anywhere; }
article.lt-article * + p, article.lt-article * + .lt-steps, article.lt-article * + .lt-bullets, article.lt-article * + .lt-table-wrap, article.lt-article * + .lt-note { margin-top: 16px; }
article.lt-article strong { font-weight: 600; color: var(--hb-fg); }
article.lt-article a { color: var(--hb-fg); text-decoration: underline; text-decoration-color: var(--hb-line-2); text-underline-offset: 3px; transition: text-decoration-color .15s; }
article.lt-article a:hover { text-decoration-color: currentColor; }
article.lt-article code { padding: 2px 7px; border-radius: 7px; font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-size: .9em; color: var(--hb-fg); background: rgba(11, 7, 18, .06); }
.lt-steps, .lt-bullets { display: grid; gap: 10px; }
.lt-steps { counter-reset: step; }
.lt-steps li { position: relative; padding-left: 44px; counter-increment: step; }
.lt-steps li::before { content: counter(step); position: absolute; left: 0; top: .1em; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font-size: var(--hb-t-lbl); font-weight: 600; font-variant-numeric: tabular-nums; line-height: 1; color: #fff; background: var(--hb-fg); }
.lt-bullets li { position: relative; padding-left: 24px; }
.lt-bullets li::before { content: ''; position: absolute; left: 2px; top: .72em; width: 7px; height: 7px; border-radius: 2px; background: var(--hb-mut); }

/* ---- A topic's basics: what it is on its own card, then how it works, an example, use cases and how to use it, two across */
.lt-basics-what, .lt-basics-b { padding: 16px 20px; border-radius: var(--lt-r); background: #fff; box-shadow: inset 0 0 0 1px var(--hb-line); }
.lt-basics-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: 16px; margin-top: 16px; }
.hb-lt .lt-basics h3 { font-size: var(--hb-t-body); font-weight: 600; letter-spacing: -.015em; line-height: 1.3; text-wrap: balance; }
.lt-basics h3 + * { margin-top: 8px; }
.lt-basics p, .lt-basics li { font-size: var(--hb-t-sm); line-height: 1.65; color: var(--hb-mut-2); text-wrap: pretty; }
.lt-basics-what p { font-size: var(--hb-t-body); color: var(--hb-fg); }
.lt-basics .lt-steps li { padding-left: 38px; }
.lt-basics .lt-steps li::before { top: 0; width: 26px; height: 26px; }
.lt-note { padding: 16px 20px; border-radius: var(--lt-r); background: #fff; box-shadow: inset 0 0 0 1px var(--hb-line); }
article.lt-article .lt-note p { margin-top: 0; font-size: var(--hb-t-sm); line-height: 1.6; }
.lt-table-wrap { overflow-x: auto; border-radius: var(--lt-r); background: #fff; box-shadow: inset 0 0 0 1px var(--hb-line); }
.lt-table-wrap > .lt-table { width: 100%; border-collapse: collapse; font-size: var(--hb-t-sm); }
.lt-table-wrap > .lt-table caption { padding: 14px 16px 8px; text-align: left; font-size: var(--hb-t-lbl); font-weight: 600; color: var(--hb-mut); caption-side: top; }
.lt-table-wrap > .lt-table th, .lt-table-wrap > .lt-table td { padding: 12px 16px; text-align: left; vertical-align: top; line-height: 1.5; border-top: 1px solid var(--hb-line); }
.lt-table-wrap > .lt-table th { font-weight: 600; color: var(--hb-fg); background: rgba(11, 7, 18, .03); white-space: nowrap; }
.lt-table-wrap > .lt-table td { color: var(--hb-mut-2); }
.lt-limits { padding: 22px 24px 24px; border-radius: var(--lt-r); background: #fff; box-shadow: inset 0 0 0 1px var(--hb-line); }
.lt-sources ul { display: grid; gap: 8px; }
article.lt-article .lt-sources li { font-size: var(--hb-t-sm); line-height: 1.6; color: var(--hb-mut); }
article.lt-article .lt-sources code { font-size: .9em; color: var(--hb-mut-2); }
/* a tool, in the article column: its own markup (lt-tool, its own style) in a card; the fields wear the shared focus above */
.lt-tool-box { --hb-card: var(--lt-light); padding: clamp(18px, 2.6vw, 28px); border-radius: var(--lt-r); background: #fff; box-shadow: inset 0 0 0 1px var(--hb-line), 0 18px 40px -30px rgba(11, 7, 18, .3); }
.lt-tool-box :where(input:not([type='checkbox'], [type='radio'], [type='range'], [type='file']), textarea, select) { width: 100%; padding: 11px 14px; border: 1px solid var(--hb-line); border-radius: 12px; font: inherit; font-size: var(--hb-t-sm); color: var(--hb-fg); background: var(--lt-light); }
.lt-tool-box .lt-tool { margin: 0; }
.lt-tool-box :where(label) { display: block; margin-bottom: 6px; font-size: var(--hb-t-lbl); font-weight: 500; color: var(--hb-mut-2); }
.lt-tool-box :where(button) { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px; border-radius: 999px; font-size: var(--hb-t-sm); font-weight: 500; color: #fff; background: var(--hb-fg); }

/* ---- The FAQ: the hub's <details> (hub.js animates them) as bordered cards; the vertical padding sits on the summary and the answer so the height animation stays right */
.lt-frame .hb-faq-list { display: grid; gap: 10px; margin-top: 8px; }
.lt-frame .hb-faq-item, .lt-frame .hb-faq-item:last-child { padding-inline: 20px; border: 0; border-radius: var(--lt-r); background: #fff; box-shadow: inset 0 0 0 1px var(--hb-line); }
.lt-frame .hb-faq-item summary { padding-block: 16px; font-size: var(--hb-t-body); font-weight: 500; line-height: 1.4; }
.lt-frame .hb-faq-item summary:hover { color: var(--hb-fg); }
.lt-frame .hb-faq-a p { max-width: var(--lt-measure); padding: 0 0 18px; font-size: var(--hb-t-sm); line-height: 1.7; }
.hb-lt .hb-plus { width: 20px; height: 20px; box-shadow: none; }
.hb-lt .hb-faq-item[open]:not(.is-closing) .hb-plus { background: none; }
.lt-faq { margin-top: var(--lt-y); }
.lt-faq h2 + .hb-faq-list { margin-top: 14px; }

/* ---- Next read, Related, the call to action, the newsletter */
.lt-next { margin-top: var(--lt-y); }
.lt-next-a { display: block; padding: 22px 24px; border-radius: var(--lt-r); background: #fff; box-shadow: inset 0 0 0 1px var(--hb-line); transition: box-shadow .25s var(--hb-ease); }
.lt-next-a:hover { box-shadow: inset 0 0 0 1px var(--hb-line-2); }
.lt-next-k { display: block; font-size: var(--lt-t-xs); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--hb-mut); }
.lt-next-t { display: block; max-width: 22em; margin-top: 8px; font-size: clamp(20px, 1.9vw, 26px); font-weight: 600; letter-spacing: -.025em; line-height: 1.2; text-wrap: balance; }
.lt-next-go { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: var(--hb-t-sm); font-weight: 500; }
.lt-next-a:hover .lt-next-t { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.lt-next-a:hover .hb-arr { transform: translateX(4px); }
.lt-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding: clamp(20px, 3vw, 28px); border-radius: var(--lt-r); background: #fff; box-shadow: inset 0 0 0 1px var(--hb-line); }
.lt-cta-text { max-width: 36em; }
.lt-cta h2, .lt-news-text h2 { font-size: clamp(20px, 1.8vw, 26px); font-weight: 600; letter-spacing: -.025em; line-height: 1.15; text-wrap: balance; }
.lt-cta-text p { margin-top: 8px; font-size: var(--hb-t-sm); line-height: 1.6; color: var(--hb-mut-2); text-wrap: pretty; }
.lt-cta .hb-btn { flex: none; }
.lt-news-box { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: 18px 32px; align-items: center; padding: clamp(20px, 3vw, 28px); border-radius: var(--lt-r); background: #fff; box-shadow: inset 0 0 0 1px var(--hb-line); }
.lt-news-text p { margin-top: 8px; font-size: var(--hb-t-sm); line-height: 1.6; color: var(--hb-mut); text-wrap: pretty; }
.lt-form { position: relative; display: flex; flex-wrap: wrap; gap: 10px; }
.lt-input { flex: 1 1 14rem; min-width: 0; height: 52px; padding: 0 20px; border: 0; border-radius: 999px; font: inherit; font-size: var(--hb-t-sm); color: var(--hb-fg); background: var(--lt-light); box-shadow: inset 0 0 0 1px var(--hb-line-2); transition: box-shadow .2s; }
.lt-input::placeholder { color: var(--hb-mut); }
.lt-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.lt-form .hb-btn { flex: none; }
.lt-form.is-busy { opacity: .72; }
.lt-msg, .lt-noscript { margin-top: 12px; font-size: var(--hb-t-sm); line-height: 1.5; color: var(--hb-mut-2); }
.lt-msg.is-err { color: var(--hb-warm); }
.lt-msg:empty { margin: 0; }

/* ---- The hub: the hero card (dark, the cover masked into it on the right), the topics, Start here, Latest with the free tools, More ways to learn, the questions */
.lt-hero-card { position: relative; z-index: 2; isolation: isolate; padding: clamp(28px, 4vw, 64px) 50% clamp(28px, 4vw, 64px) clamp(24px, 4vw, 56px); border-radius: var(--lt-r-lg); background: linear-gradient(135deg, #12101c, #0d0d11); box-shadow: inset 0 0 0 1px var(--hb-line); }
.lt-hero-art { position: absolute; top: 0; right: 0; bottom: 0; z-index: -1; width: 56%; overflow: hidden; border-radius: 0 var(--lt-r-lg) var(--lt-r-lg) 0; pointer-events: none; -webkit-mask-image: linear-gradient(to right, transparent 14%, #000 58%); mask-image: linear-gradient(to right, transparent 14%, #000 58%); }
.lt-hero-art .lt-pic { position: absolute; inset: 0; border-radius: 0; background: none; }
.lt-hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; transition: none; }
.lt-hero-card .lt-eyebrow { color: var(--hb-mut-2); }
.lt-hero-card .lt-answer { max-width: 36em; margin-top: 20px; padding: 0; border-radius: 0; background: none; box-shadow: none; color: var(--hb-mut-2); }
.lt-hero-card .lt-search { margin-top: 28px; }
.lt-frame-solo .lt-stats { margin-top: 16px; }
/* six across, so twelve topics fill two rows (four across below 1280 px) */
.lt-topic-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.lt-topic-grid > li { display: flex; min-width: 0; }
.lt-tcard { --lt-pad: 16px; }
.lt-tcard .lt-pic img { aspect-ratio: 16 / 10; object-fit: cover; }
.hb-lt .lt-tcard h3 { margin-top: 0; }
.lt-tcard p { margin-top: 6px; font-size: var(--hb-t-lbl); }
.lt-start { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(20px, 3vw, 40px); padding: clamp(20px, 3vw, 40px); border-radius: var(--lt-r-lg); background: #fff; box-shadow: inset 0 0 0 1px var(--hb-line); }
.lt-start-lessons { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.hb-lt .lt-start-lessons h3 { margin-top: 16px; font-size: var(--lt-t-h2); font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
.lt-start-lessons p { margin-top: 10px; max-width: 30em; font-size: var(--hb-t-body); line-height: 1.65; color: var(--hb-mut-2); }
.lt-start-lessons .lt-card-go { margin-top: 20px; padding-top: 0; }
.lt-start-lessons:hover .lt-card-go { text-decoration: underline; text-underline-offset: 4px; }
.lt-nrows { align-self: start; overflow: hidden; border-radius: var(--lt-r); box-shadow: inset 0 0 0 1px var(--hb-line); }
.lt-nrows > li + li { border-top: 1px solid var(--hb-line); }
.lt-nrow { display: flex; align-items: center; gap: 16px; padding: 14px 16px; transition: background-color .15s; }
.lt-nrow:hover { background: var(--lt-fill); }
.lt-n { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; font-size: var(--hb-t-sm); font-weight: 600; font-variant-numeric: tabular-nums; line-height: 1; color: #fff; background: var(--hb-fg); }
.lt-nrow-tx { display: grid; gap: 3px; min-width: 0; }
.lt-nrow-t { font-size: var(--hb-t-body); font-weight: 600; letter-spacing: -.01em; line-height: 1.3; color: var(--hb-fg); text-wrap: balance; }
.lt-nrow-s { font-size: var(--hb-t-lbl); color: var(--hb-mut); }
.lt-nrow:hover .lt-nrow-t { text-decoration: underline; text-underline-offset: 3px; }
.lt-latest { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 24px 32px; align-items: stretch; }
.lt-latest-main, .lt-rec { display: flex; flex-direction: column; min-width: 0; }
.lt-latest-grid { flex: 1; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 16px; align-items: stretch; }
.lt-latest-grid .lt-rrows { grid-auto-rows: 1fr; gap: 0; padding: 6px; border-radius: var(--lt-r); background: #fff; box-shadow: inset 0 0 0 1px var(--hb-line); }
.lt-latest-grid .lt-rrows li { display: flex; }
.lt-latest-grid .lt-rrows li + li { border-top: 1px solid var(--hb-line); }
.lt-latest-grid .lt-rrow { flex: 1; align-items: center; padding: 10px; }
.lt-latest-grid .lt-thumb { width: 88px; height: 56px; }
.lt-feat-card { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; min-height: 26rem; padding: 24px; overflow: hidden; border-radius: var(--lt-r); box-shadow: inset 0 0 0 1px var(--hb-line); }
.lt-feat-card .lt-pic { position: absolute; inset: 0; z-index: -2; border-radius: 0; }
.lt-feat-card .lt-pic img { width: 100%; height: 100%; object-fit: cover; }
.lt-feat-card::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(8, 5, 16, .95), rgba(8, 5, 16, .88) 48%, rgba(8, 5, 16, .55) 72%, rgba(8, 5, 16, .12)); }
.lt-feat-card:hover .lt-pic img { transform: scale(1.03); }
.lt-feat-top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: var(--hb-t-lbl); color: rgba(255, 255, 255, .86); }
.lt-feat-card h3 { max-width: 22em; margin-top: 12px; font-size: clamp(20px, 1.9vw, 26px); font-weight: 600; letter-spacing: -.025em; line-height: 1.2; color: #fff; text-wrap: balance; }
.lt-feat-card p { max-width: 36em; margin-top: 8px; font-size: var(--hb-t-sm); line-height: 1.6; color: rgba(255, 255, 255, .86); }
.lt-feat-by { margin-top: 14px; font-size: var(--hb-t-lbl); color: rgba(255, 255, 255, .74); }
.lt-feat-card:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
/* the free tools beside Latest: one column of compact cards, the cover small on the left */
.lt-rec .lt-cards { flex: 1; grid-template-columns: minmax(0, 1fr); grid-auto-rows: 1fr; gap: 12px; }
.hb-lt .lt-rec .lt-card:has(> .lt-pic) { --lt-pad: 12px; display: grid; grid-template-columns: 104px minmax(0, 1fr); column-gap: 14px; align-content: center; }
.lt-rec .lt-card:has(> .lt-pic) > .lt-pic { grid-column: 1; grid-row: 1 / span 4; align-self: start; margin: 0; border-radius: 10px; }
.lt-rec .lt-card:has(> .lt-pic) > :not(.lt-pic) { grid-column: 2; }
.lt-rec .lt-card:has(> .lt-pic) h3 { margin-top: 6px; }
.lt-rec .lt-card:has(> .lt-pic) .lt-card-meta, .lt-rec .lt-card:has(> .lt-pic) p { display: none; }
.lt-rec .lt-card:has(> .lt-pic) .lt-card-go { margin-top: 0; padding-top: 8px; }
.lt-more .lt-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.hb-lt .lt-frame-solo .hb-faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: 16px 48px; align-items: start; }
.lt-frame-solo .hb-faq .lt-head { display: block; margin-bottom: 0; }
.lt-frame-solo .hb-faq .hb-faq-list { margin-top: 0; }

/* ---- The end of every page: the journal's dark band with a curved top, "Free to start", the pair of buttons, the day of the words */
.hb-lt .lt-end { padding-top: calc(var(--lt-y) + clamp(32px, 6vw, 80px)); border-radius: 50% 50% 0 0 / clamp(32px, 6vw, 80px) clamp(32px, 6vw, 80px) 0 0; text-align: center; }
.lt-end-k { font-size: var(--hb-t-sm); color: var(--hb-mut-2); }
.lt-end .hb-band { padding: 18px 0 0; border-radius: 0; background: none; box-shadow: none; overflow: visible; }
.lt-end .hb-band::before, .lt-end .hb-band::after { content: none; }
.lt-end .hb-band .hb-h2 { max-width: 14em; font-size: var(--lt-t-big); }
.lt-end .hb-band .hb-cta { margin-top: 36px; }
.lt-end .hb-updated { padding-block: var(--lt-y); }

/* ---- Below 1536 px the rail is 17rem wide and the columns 24 px apart (the Mindber figures: the content keeps about 640 px at 1280) */
@media (max-width: 1535px) {
  .lt-frame { --lt-rail: 17rem; --lt-cgap: 24px; }
}
@media (min-width: 1536px) {
  .lt-frame { --lt-rail: 20rem; --lt-cgap: 40px; }
}
/* ---- Below 1280 px the rail drops under the content (a tool page: below 1536 px), in a two-column grid, and the sidebar spans both rows */
@media (max-width: 1279px) {
  .lt-frame { grid-template-columns: var(--lt-sb) minmax(0, 1fr); column-gap: 40px; }
  .lt-sb { grid-row: 1 / span 2; }
  .lt-rail { grid-column: 2; grid-row: 2; position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); max-height: none; margin-top: var(--lt-y); padding-top: var(--lt-y); border-top: 1px solid var(--hb-line); overflow: visible; }
  .lt-rail .lt-toc-side { display: none; }
  .lt-toc-fold { display: block; }
  .lt-topic-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1280px) and (max-width: 1535px) {
  .lt-page-tool .lt-frame { grid-template-columns: var(--lt-sb) minmax(0, 1fr); column-gap: 40px; }
  .lt-page-tool .lt-sb { grid-row: 1 / span 2; }
  .lt-page-tool .lt-rail { grid-column: 2; grid-row: 2; position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); max-height: none; margin-top: var(--lt-y); padding-top: var(--lt-y); border-top: 1px solid var(--hb-line); overflow: visible; }
  .lt-page-tool .lt-rail .lt-toc-side { display: none; }
  .lt-page-tool .lt-toc-fold { display: block; }
}
/* one call to action at a time: beside the rail the rail's card stays and the page's own is not drawn; once the rail has dropped under the page, the page's own stays */
@media (min-width: 1280px) {
  .lt-page-article .lt-cta-sec { display: none; }
}
@media (max-width: 1279px) {
  .lt-page-article .lt-rail .lt-cta-side { display: none; }
}
@media (min-width: 1536px) {
  .lt-page-tool .lt-cta-sec { display: none; }
}
@media (max-width: 1535px) {
  .lt-page-tool .lt-rail .lt-cta-side { display: none; }
}
/* ---- Below 1081 px: one column, the sidebar folded into "Browse topics" above the content, the rail after it */
@media (max-width: 1080px) {
  .lt-frame { grid-template-columns: minmax(0, 1fr); column-gap: 0; }
  .lt-frame-solo { display: block; }
  .lt-sb { display: none; }
  .lt-browse { display: block; grid-column: 1; grid-row: 1; }
  .lt-main { grid-column: 1; grid-row: 2; }
  .lt-rail { grid-column: 1; grid-row: 3; }
  .lt-hero-card { padding: 0 clamp(20px, 4vw, 40px) clamp(24px, 4vw, 40px); }
  .lt-hero-art { position: relative; inset: auto; z-index: auto; width: auto; height: clamp(176px, 28vw, 240px); margin: 0 calc(-1 * clamp(20px, 4vw, 40px)) 24px; border-radius: var(--lt-r-lg) var(--lt-r-lg) 0 0; -webkit-mask-image: linear-gradient(to bottom, #000 50%, transparent); mask-image: linear-gradient(to bottom, #000 50%, transparent); }
  .lt-hero-card .lt-answer { max-width: none; }
  .lt-topic-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lt-latest { grid-template-columns: minmax(0, 1fr); }
  .lt-rec .lt-cards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); grid-auto-rows: auto; }
}
@media (max-width: 860px) {
  .lt-start { grid-template-columns: minmax(0, 1fr); }
  .lt-latest-grid { grid-template-columns: minmax(0, 1fr); }
  .lt-topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lt-more .lt-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hb-lt .lt-frame-solo .hb-faq { grid-template-columns: minmax(0, 1fr); }
}
/* ---- A phone: a 16 px gutter, one column of cards, nothing wider than the page */
@media (max-width: 640px) {
  .hb-lt { --hb-gut: 16px; }
  .lt-frame { overflow-wrap: anywhere; }
  .lt-banner .lt-pic img { aspect-ratio: 16 / 9; }
  .lt-rail { grid-template-columns: minmax(0, 1fr); }
  .lt-cards { grid-template-columns: minmax(0, 1fr); }
  .lt-topic-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .hb-lt .lt-tcard:has(> .lt-pic) { --lt-pad: 12px; display: grid; grid-template-columns: 96px minmax(0, 1fr); column-gap: 14px; align-content: center; }
  .lt-tcard:has(> .lt-pic) > .lt-pic { grid-column: 1; grid-row: 1 / span 3; align-self: start; margin: 0; border-radius: 10px; }
  .lt-tcard:has(> .lt-pic) > :not(.lt-pic) { grid-column: 2; }
  .lt-tcard .lt-pic img { aspect-ratio: 1 / 1; }
  .lt-tcard p { -webkit-line-clamp: 2; }
  .lt-stats { gap: 2px 16px; }
  .lt-stats span:not(:last-child)::after { content: none; }
  .lt-more .lt-cards { grid-template-columns: minmax(0, 1fr); }
  .lt-hero-card { border-radius: 22px; }
  .lt-hero-art { border-radius: 22px 22px 0 0; }
  .lt-feat-card { min-height: 20rem; padding: 20px; }
  .lt-form .hb-btn, .lt-cta .hb-btn { width: 100%; }
  .lt-limits { padding: 20px; }
  .lt-table-wrap > .lt-table th { white-space: normal; }
  .lt-pills { margin-bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .lt-pic img, .lt-search-box, .lt-search-box input::-webkit-search-cancel-button, .lt-results a, .lt-toc a, .lt-sb-row, .lt-sb-sec, .lt-sb-back, .lt-rrow, .lt-nrow, .lt-chip, .lt-pill, .lt-input, .lt-meta .lt-topic, article.lt-article a, .lt-next-a, .lt-w-news, .lt-browse summary::after, .lt-toc-fold summary::after { transition: none; }
  .lt-card:hover .lt-pic img, .lt-feat-card:hover .lt-pic img { transform: none; }
}
