/* Learn page (2026-10-19). Same language as the dashboard: square, sealed glass cells with 1px lines, serif headings,
   brand colors (no yellow). Scoped to body.learn. */
.learn { background: var(--void); color: var(--bone); font-family: var(--font); margin: 0; }
.learn a { color: inherit; }
.lr-top { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 24px; padding: 14px var(--gutter); background: rgba(var(--bg-rgb), .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--glass-line); }
.lr-logo { display: inline-flex; color: var(--bone); }
.lr-logo svg { height: 26px; width: auto; }
.lr-nav { display: flex; gap: 20px; margin-left: auto; font-size: 14px; }
.lr-nav a { text-decoration: none; color: var(--mist); }
.lr-nav a:hover { color: var(--bone); }
.lr-back { font-size: 14px; color: var(--bone); text-underline-offset: 4px; }
.lr { max-width: 1080px; margin: 0 auto; padding: 0 var(--gutter) 72px; }
.lr-hero { padding: 72px 0 40px; max-width: 760px; }
.lr-k { margin: 0 0 12px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ash); }
.lr-hero h1 { margin: 0; font: 400 clamp(40px, 6vw, 64px)/1.02 var(--serif); letter-spacing: -.03em; }
.lr-lede { margin: 20px 0 0; font-size: 18px; line-height: 1.6; color: var(--mist); }
.lr-sec { margin-top: 32px; background: var(--glass); box-shadow: inset 0 0 0 1px var(--glass-line); scroll-margin-top: 80px; }
.lr-head { padding: 24px 28px 22px; border-bottom: 1px solid var(--glass-line); }
.lr-head h2 { margin: 0; font: 400 30px/1.15 var(--serif); letter-spacing: -.02em; }
.lr-head p { margin: 6px 0 0; font-size: 14.5px; color: var(--ash); }

/* the diagram: five sealed steps joined by arrows; a row on wide screens, a column on phones */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.flow__step { position: relative; padding: 24px 20px; border-right: 1px solid var(--glass-line); display: flex; flex-direction: column; gap: 8px; }
.flow__step:last-child { border-right: 0; }
.flow__step::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--c); }
.flow__step:not(:last-child)::after { content: ""; position: absolute; z-index: 1; right: -7px; top: 34px; width: 12px; height: 12px; background: var(--void); border-top: 1px solid var(--glass-line); border-right: 1px solid var(--glass-line); transform: rotate(45deg); }
.flow__n { font: 400 30px/1 var(--serif); color: var(--c); }
.flow__step h3 { margin: 0; font-size: 17px; font-weight: 500; }
.flow__step > p { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--mist); }
.flow__ex { margin-top: auto; padding-top: 12px; display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; }
.chip { padding: 4px 8px; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 55%, transparent); background: color-mix(in srgb, var(--c) 12%, transparent); }
.flow__ex--card, .flow__ex--list, .flow__ex--quote, .flow__ex--ai { flex-direction: column; flex-wrap: nowrap; gap: 4px; padding: 12px; box-shadow: inset 0 0 0 1px var(--glass-line); background: rgba(var(--fg-rgb), .03); }
.flow__ex--card b { font: 400 17px/1.2 var(--serif); }
.flow__ex small { font-size: 12px; line-height: 1.45; color: var(--ash); }
.flow__cat { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--mist); margin-top: 4px; }
.flow__cat i { width: 7px; height: 7px; border-radius: 50%; background: #9B87F5; }
.flow__ex--list span { padding: 3px 0 3px 10px; box-shadow: inset 2px 0 0 var(--c); }
.flow__ex--quote { font-style: italic; color: var(--mist); }
.flow__ex--quote u { font-style: normal; color: var(--bone); text-decoration-color: var(--c); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.flow__ex--quote small, .flow__ex--ai small { font-style: normal; }
.flow__ex--ai { color: var(--mist); }
.flow__back { display: flex; gap: 14px; align-items: flex-start; padding: 18px 28px 20px; border-top: 1px solid var(--glass-line); background: rgba(54, 194, 143, .06); }
.flow__back svg { flex: none; width: 22px; height: 22px; color: #36C28F; margin-top: 1px; }
.flow__back p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--mist); }
.flow__back b { color: var(--bone); font-weight: 500; }

/* glossary: sealed cells, two columns */
.gloss { margin: 0; display: grid; grid-template-columns: 1fr 1fr; }
.gloss > div { padding: 18px 28px; border-bottom: 1px solid var(--glass-line); }
.gloss > div:nth-child(odd) { border-right: 1px solid var(--glass-line); }
.gloss > div:nth-last-child(-n+2) { border-bottom: 0; }
.gloss dt { font: 400 19px/1.2 var(--serif); }
.gloss dd { margin: 6px 0 0; font-size: 14px; line-height: 1.55; color: var(--mist); }

/* screens: three columns of sealed cells */
.scr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.scr article { padding: 20px 24px 22px; border-right: 1px solid var(--glass-line); border-bottom: 1px solid var(--glass-line); display: flex; flex-direction: column; gap: 8px; }
.scr article:nth-child(3n) { border-right: 0; }
.scr h3 { margin: 0; font: 400 21px/1.2 var(--serif); }
.scr p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--mist); }
.scr .scr__do { margin-top: auto; padding-top: 8px; color: var(--bone); }
.scr__do b { font-weight: 500; color: #36C28F; }
.lr-note { margin: 0; padding: 16px 28px 18px; font-size: 14px; color: var(--ash); }
.lr-note b { color: var(--bone); font-weight: 500; }

/* timeline */
.when { list-style: none; margin: 0; padding: 0; }
.when li { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 16px; padding: 16px 28px; border-bottom: 1px solid var(--glass-line); }
.when__t { font: 400 17px/1.4 var(--serif); }
.when p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--mist); }
.when b { font-weight: 500; color: var(--bone); }
.never { padding: 20px 28px 22px; background: rgba(239, 91, 63, .06); }
.never h3 { margin: 0 0 10px; font-size: 15px; font-weight: 500; }
.never ul { margin: 0; padding: 0 0 0 18px; display: grid; gap: 6px; font-size: 14px; line-height: 1.5; color: var(--mist); }

/* what's new */
.news { list-style: none; margin: 0; padding: 0; }
.news li { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 16px; padding: 14px 28px; border-bottom: 1px solid var(--glass-line); }
.news li:last-child { border-bottom: 0; }
.news time { font-size: 13px; color: var(--ash); padding-top: 2px; }
.news p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--mist); }
.news b { color: var(--bone); font-weight: 500; }
.lr-foot { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.lr-foot p { margin: 0; font-size: 14.5px; color: var(--mist); max-width: 620px; }
.learn .btn { border-radius: 0; text-decoration: none; }

@media (max-width: 980px) {
  .lr-nav { display: none; }
  .lr-back { margin-left: auto; }
  .flow { grid-template-columns: 1fr; }
  .flow__step { border-right: 0; border-bottom: 1px solid var(--glass-line); padding: 22px 22px 24px 24px; }
  .flow__step:last-child { border-bottom: 0; }
  .flow__step::before { right: auto; bottom: 0; width: 3px; height: auto; }
  .flow__step:not(:last-child)::after { right: auto; left: 34px; top: auto; bottom: -7px; transform: rotate(135deg); }
  .flow__ex { margin-top: 6px; }
  .scr { grid-template-columns: 1fr 1fr; }
  .scr article:nth-child(3n) { border-right: 1px solid var(--glass-line); }
  .scr article:nth-child(2n) { border-right: 0; }
}
@media (max-width: 640px) {
  .lr-hero { padding: 40px 0 24px; }
  .lr-lede { font-size: 16.5px; }
  .lr-head, .gloss > div, .scr article, .lr-note, .when li, .never, .news li, .flow__back { padding-left: 16px; padding-right: 16px; }
  .lr-head h2 { font-size: 26px; }
  .gloss { grid-template-columns: 1fr; }
  .gloss > div:nth-child(odd) { border-right: 0; }
  .gloss > div:nth-last-child(2) { border-bottom: 1px solid var(--glass-line); }
  .scr { grid-template-columns: 1fr; }
  .scr article { border-right: 0 !important; }
  .when li, .news li { grid-template-columns: 1fr; gap: 4px; }
}
