/* Share buttons for the Learn pages (filled in by /learn/share.js). */
.share { margin: 1.5rem 0 0; }
.share-k { display: block; font-family: var(--font-display); font-weight: 800; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); margin-bottom: 0.55rem; }
.share-row { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.share-b { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.5rem 0.8rem; border: 1.5px solid var(--ink); background: var(--white); color: var(--ink); font-family: var(--font-display); font-weight: 800; font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; cursor: pointer; line-height: 1; transition: background 0.15s, color 0.15s; }
.share-b svg { width: 15px; height: 15px; fill: currentColor; flex: 0 0 auto; }
.share-b:hover, .share-b:focus-visible { background: var(--ink); color: var(--white); }
.share-b:focus-visible { outline: 2px solid var(--terra); outline-offset: 2px; }
.share-b.more { background: var(--terra); border-color: var(--terra); color: var(--white); }
.share-note { display: block; font-size: 0.82rem; color: #5d5850; margin-top: 0.5rem; }
/* On a dark band */
.share.dark .share-k { color: var(--gold-hi); }
.share.dark .share-b { background: transparent; border-color: rgba(255,255,255,0.55); color: var(--white); }
.share.dark .share-b:hover, .share.dark .share-b:focus-visible { background: var(--white); color: var(--ink); }
.share.dark .share-b.more { background: var(--gold-hi); border-color: var(--gold-hi); color: var(--ink); }
.share.dark .share-note { color: rgba(255,255,255,0.6); }
/* The band at the end of a page */
.share-band { padding: 3rem 0; background: #faf8f4; border-top: 1px solid rgba(0,0,0,0.09); border-bottom: 1px solid rgba(0,0,0,0.09); }
.share-band .share { margin: 0; }
.share-band h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin: 0 0 0.4rem; }
.share-band p { color: #5d5850; margin: 0 0 1.1rem; max-width: 640px; }

/* Reading progress bar (added by /learn/progress.js) */
.read-progress { position: fixed; left: 0; right: 0; top: 0; height: 4px; z-index: 999; pointer-events: none; background: rgba(0,0,0,0.08); }
.read-progress i { display: block; height: 100%; background: var(--pine-bright, #4c9d6e); transform-origin: left center; transform: scaleX(0); }
