/* 20261203r62: "How Ethereum works, in plain words" on the Ethereum page (app/services/ethereum_learn.py). MIP's own
   colours by their shared names; no text under 16px; nothing moves. */
.eth-learn { margin: 0 0 22px; padding: clamp(18px, 2.6vw, 30px); scroll-margin-top: 140px; }
.eth-learn:focus { outline: none; }
.eth-learn h2 { font-size: clamp(26px, 2.4vw, 34px); line-height: 1.15; }
.eth-learn h3 { margin: 0 0 10px; color: var(--t-ink); font-size: 21px; line-height: 1.3; font-weight: 800; }
.eth-learn p, .eth-learn li { color: var(--t-ink-2); font-size: 18px; line-height: 1.6; }
.eth-learn b { color: var(--t-ink); }
.eth-learn-lead { max-width: 72ch; margin: 12px 0 0; }
.eth-learn-expert { margin: 10px 0 0; padding-left: 12px; border-left: 3px solid var(--t-violet-line); color: var(--t-ink-2); font-size: 17px; }
.eth-learn-block { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--t-line); }
.eth-learn-now { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 12px; }
.eth-learn-now > div { padding: 16px 18px; border: 1px solid var(--t-line-strong); border-radius: 12px; background: var(--t-surface-2); }
.eth-learn-now b { display: block; color: var(--t-accent); font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; }
.eth-learn-now span { display: block; margin-top: 6px; color: var(--t-ink-2); font-size: 16px; line-height: 1.5; }
.eth-learn-when, .eth-learn-wait { margin: 10px 0 0; font-size: 16px; }
.eth-learn-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: eth-step; }
.eth-learn-steps li { counter-increment: eth-step; padding: 14px 16px 16px; border-top: 3px solid var(--t-info-fill); background: var(--t-surface-2); border-radius: 0 0 12px 12px; }
.eth-learn-steps li::before { content: counter(eth-step); display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; margin-bottom: 8px; border-radius: 50%; background: var(--t-info-bg); color: var(--t-info); font-size: 17px; font-weight: 800; }
.eth-learn-steps b { display: block; margin-bottom: 4px; font-size: 19px; }
.eth-learn-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; margin-top: 26px; }
.eth-learn-grid article { padding: 18px 20px; border: 1px solid var(--t-line); border-top: 3px solid var(--t-violet-fill); border-radius: 12px; background: var(--t-surface-2); }
.eth-learn-grid p { margin: 0; }
.eth-learn-grid p + p { margin-top: 8px; }
.eth-learn-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 16px; margin-top: 26px; }
.eth-learn-two > section { padding: 18px 20px; border-radius: 12px; background: var(--t-surface-2); border: 1px solid var(--t-line); }
.eth-learn-two > section:first-child { border-left: 4px solid var(--t-good-fill); }
.eth-learn-two > section:last-child { border-left: 4px solid var(--t-bad-fill); }
.eth-learn-two ul { margin: 0; padding-left: 1.1em; }
.eth-learn-two li + li, .eth-learn-habits li + li { margin-top: 8px; }
.eth-learn-habits { margin: 0; padding-left: 1.4em; columns: 2 380px; column-gap: 32px; }
.eth-learn-habits li { break-inside: avoid; }
.eth-learn-refs { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--t-line); }
.eth-learn-refs a { color: var(--t-info); font-size: 17px; font-weight: 700; text-underline-offset: 3px; }
.eth-learn-note { margin: 16px 0 0; font-size: 16px; }
