/* learn.rpntechsolutions.com, version 2
   Palette: cheque paper, fountain-pen ink, a rubber stamp, and the gold of a card chip. */

@font-face { font-family: "Bricolage Grotesque"; src: url("/assets/fonts/bg.woff2") format("woff2"); font-weight: 500 800; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("/assets/fonts/ss.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("/assets/fonts/ssi.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --paper: #E9F0EE;
  --sheet: #F9FBFA;
  --ink: #12233F;
  --ink-2: #2A426B;
  --ink-soft: #485972;
  --stamp: #B3215B;
  --teal: #17645F;
  --teal-tint: #CFE5E0;
  --gold: #E0A63A;
  --rule: #B7C8C4;
  --rule-soft: #D5E0DD;
  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --text: "Source Serif 4", Georgia, "Times New Roman", serif;
  --measure: 66ch;
  --gap: clamp(1.5rem, 4vw, 4rem);
  --band: clamp(3rem, 7vw, 5.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 100%; -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--text); font-size: 1.125rem; line-height: 1.65; }
img, svg { max-width: 100%; height: auto; display: block; }

h1, h2, h3 { font-family: var(--display); line-height: 1.1; letter-spacing: -0.02em; margin: 0; }
h1 { font-size: clamp(2.2rem, 5vw, 3.75rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; }
p { margin: 0 0 1.1em; }
a { color: var(--teal); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--stamp); outline-offset: 3px; border-radius: 2px; }

.wrap { max-width: 74rem; margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 3rem); }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--sheet); padding: 0.6rem 1rem; z-index: 30; }
.skip:focus { left: 0; }

/* One shared two-column split, so every section lines up on the same edges */
.split { display: grid; grid-template-columns: 1fr; gap: var(--gap); align-items: center; }
@media (min-width: 60rem) { .split { grid-template-columns: 7fr 5fr; } .split-top { align-items: start; } }

/* Header */
.site-head { position: sticky; top: 0; z-index: 20; background: rgba(233, 240, 238, 0.94); backdrop-filter: blur(6px); border-bottom: 1px solid var(--rule); }
.head-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.4rem 2rem; padding-block: 0.8rem; }
.wordmark { display: flex; align-items: center; gap: 0.7rem; font-family: var(--display); font-weight: 700; font-size: 1.25rem; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; line-height: 1.15; }
.wordmark img { width: 2.1rem; height: 2.1rem; }
.wordmark small { display: block; font-family: var(--text); font-weight: 400; font-size: 0.85rem; color: var(--ink-soft); letter-spacing: 0; }
.site-head nav ul { list-style: none; display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 1.8rem); margin: 0; padding: 0; }
.site-head nav a { font-family: var(--display); font-weight: 500; font-size: 1.02rem; color: var(--ink); text-decoration: none; padding-block: 0.3rem; border-bottom: 2px solid transparent; }
.site-head nav a:hover { border-bottom-color: var(--rule); }
.site-head nav a[aria-current="page"] { border-bottom-color: var(--stamp); }
.site-head nav a.btn { padding: 0.55rem 1rem; border-bottom: 2px solid var(--ink); color: var(--sheet); }
.site-head nav a.btn:hover { border-color: var(--teal); }
@media (max-width: 34rem) { .wordmark small { display: none; } .site-head nav a.btn { display: none; } }

/* Buttons */
.btn { display: inline-block; font-family: var(--display); font-weight: 600; font-size: 1rem; line-height: 1.2; padding: 0.85rem 1.3rem; border-radius: 6px; border: 2px solid var(--ink); text-decoration: none; cursor: pointer; }
.btn-solid { background: var(--ink); color: var(--sheet); }
.btn-solid:hover { background: var(--teal); border-color: var(--teal); color: var(--sheet); }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--sheet); color: var(--ink); }
.btn-light { background: var(--sheet); border-color: var(--sheet); color: var(--ink); }
.btn-light:hover { background: var(--teal-tint); border-color: var(--teal-tint); color: var(--ink); }
.btn[disabled] { opacity: 0.4; cursor: not-allowed; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.6rem; }

/* Hero */
.hero { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(2rem, 4vw, 3rem); }
.hero h1 { max-width: 16ch; }
.hero-intro { font-size: 1.25rem; line-height: 1.55; color: var(--ink-soft); max-width: 46ch; margin: 1.4rem 0 0; }
.hero-art { max-width: 30rem; margin-inline: auto; width: 100%; }

.facts { list-style: none; margin: clamp(2rem, 5vw, 3.5rem) 0 0; padding: 0; display: grid; grid-template-columns: 1fr; border-top: 2px solid var(--ink); }
.facts li { padding: 1.1rem 0; border-bottom: 1px solid var(--rule); }
.facts strong { display: block; font-family: var(--display); font-weight: 700; font-size: 1.3rem; letter-spacing: -0.01em; line-height: 1.2; }
.facts span { color: var(--ink-soft); font-size: 1.02rem; }
@media (min-width: 48rem) {
  .facts { grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--rule); }
  .facts li { border-bottom: 0; padding: 1.3rem 2rem 1.3rem 0; }
  .facts li + li { border-left: 1px solid var(--rule); padding-left: 2rem; }
}

/* Payment journey */
.journey { background: var(--sheet); border: 1px solid var(--ink); border-radius: 10px; padding: clamp(1.25rem, 3vw, 2.5rem); box-shadow: 8px 8px 0 var(--teal-tint); }
.journey-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0.25rem 2rem; margin-bottom: 1.75rem; }
.journey-head p { margin: 0; color: var(--ink-soft); font-size: 1.02rem; }
.track { position: relative; margin-bottom: 1.75rem; }
.track-line { position: absolute; left: 10%; right: 10%; top: 0.7rem; height: 2px; background: var(--rule); }
.track-dot { position: absolute; top: 0.7rem; left: calc(10% + var(--pos, 0) * 20%); width: 1.5rem; height: 1.5rem; margin: -0.75rem 0 0 -0.75rem; border-radius: 50%; background: var(--stamp); box-shadow: 0 0 0 4px var(--sheet); transition: left 0.45s cubic-bezier(.5,0,.2,1); pointer-events: none; z-index: 2; }
.stops { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); position: relative; z-index: 1; }
.stop { width: 100%; min-width: 0; background: none; border: 0; padding: 0 0.15rem 0.3rem; color: var(--ink-soft); font: inherit; display: flex; flex-direction: column; align-items: center; text-align: center; }
button.stop { cursor: pointer; }
.stop-pin { width: 0.9rem; height: 0.9rem; border-radius: 50%; background: var(--sheet); border: 2px solid var(--ink); margin-top: 0.25rem; margin-bottom: 0.7rem; }
.stop-name { font-family: var(--display); font-weight: 600; font-size: clamp(0.8rem, 2.2vw, 1.05rem); color: var(--ink); line-height: 1.2; }
.stop-who { font-size: clamp(0.72rem, 1.9vw, 0.9rem); line-height: 1.3; margin-top: 0.15rem; }
.stop[aria-current="step"] .stop-name { color: var(--stamp); }
.slip { display: grid; gap: 1.5rem 3rem; grid-template-columns: 1fr; border-top: 1px dashed var(--rule); padding-top: 1.5rem; }
@media (min-width: 52rem) { .slip { grid-template-columns: 7fr 5fr; } }
.slip-count { font-family: var(--display); font-weight: 500; font-size: 0.95rem; color: var(--ink-soft); margin: 0 0 0.35rem; font-variant-numeric: tabular-nums; }
.slip h3 { font-size: 1.55rem; margin-bottom: 0.6rem; }
.slip-body { margin: 0; max-width: 52ch; }
.fields { width: 100%; border-collapse: collapse; font-size: 0.98rem; line-height: 1.4; }
.fields caption { text-align: left; font-family: var(--display); font-weight: 600; font-size: 0.98rem; padding-bottom: 0.4rem; color: var(--ink); }
.fields th, .fields td { text-align: left; vertical-align: top; padding: 0.5rem 0; border-top: 1px solid var(--rule-soft); }
.fields th { font-weight: 400; color: var(--ink-soft); width: 42%; padding-right: 1rem; }
.fields td { font-variant-numeric: tabular-nums; }
.approved { display: block; width: max-content; margin: 1rem 0 0 auto; font-family: var(--display); font-weight: 800; font-size: 1.15rem; letter-spacing: 0.04em; color: var(--stamp); border: 3px solid var(--stamp); border-radius: 6px; padding: 0.2rem 0.7rem; transform: rotate(-7deg); opacity: 0.9; }
.approved[hidden] { display: none; }
.journey-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.75rem; }
.journey-nav { display: flex; gap: 0.6rem; }
.journey-foot p { margin: 0; font-size: 0.98rem; color: var(--ink-soft); }
@media (max-width: 30rem) {
  .journey { padding-inline: 0.9rem; box-shadow: none; }
  .stop-name { font-size: 0.68rem; letter-spacing: -0.01em; }
  .stop-who { display: none; }
}

/* Bands */
.band { padding-block: var(--band); }
.band-sheet { background: var(--sheet); border-block: 1px solid var(--rule); }
.band-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.5rem 2rem; margin-bottom: 1.75rem; }
.band-head a { font-family: var(--display); font-weight: 500; font-size: 1.02rem; }
.lede { color: var(--ink-soft); font-size: 1.2rem; line-height: 1.55; max-width: 54ch; }

/* Article cards */
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.75rem; grid-template-columns: 1fr; }
@media (min-width: 44rem) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { display: flex; flex-direction: column; height: 100%; background: var(--sheet); border: 1px solid var(--ink); border-radius: 10px; overflow: hidden; text-decoration: none; color: var(--ink); transition: transform 0.15s ease, box-shadow 0.15s ease; }
.card:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--ink); color: var(--ink); }
.card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-bottom: 1px solid var(--ink); }
.card-body { padding: 1.25rem 1.35rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.card-topic { font-family: var(--display); font-weight: 600; font-size: 0.92rem; color: var(--teal); margin: 0 0 0.45rem; }
.card h3 { font-size: 1.35rem; margin-bottom: 0.55rem; }
.card-note { color: var(--ink-soft); font-size: 1.03rem; line-height: 1.5; margin: 0 0 1rem; }
.card-meta { margin: auto 0 0; font-family: var(--display); font-weight: 500; font-size: 0.95rem; color: var(--ink-soft); font-variant-numeric: tabular-nums; }

/* Article rows on the index page */
.rows { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.rows li { border-bottom: 1px solid var(--rule); }
.row { display: grid; grid-template-columns: 1fr; gap: 1rem 2rem; padding: 1.5rem 0; text-decoration: none; color: var(--ink); align-items: center; }
@media (min-width: 44rem) { .row { grid-template-columns: 15rem 1fr auto; } }
.row img { border: 1px solid var(--ink); border-radius: 8px; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.row h2 { font-size: 1.55rem; margin-bottom: 0.4rem; }
.row:hover h2 { color: var(--teal); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.15em; }
.row p { margin: 0; color: var(--ink-soft); max-width: 58ch; }

/* Mentoring teaser, about, portrait */
.teaser-art { max-width: 30rem; margin-inline: auto; width: 100%; }
.ticks { list-style: none; margin: 1.3rem 0 0; padding: 0; }
.ticks li { position: relative; padding-left: 1.9rem; margin-bottom: 0.6rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.42em; width: 1.05rem; height: 0.55rem; border-left: 3px solid var(--stamp); border-bottom: 3px solid var(--stamp); transform: rotate(-45deg); transform-origin: left bottom; translate: 0.35rem -0.1rem; }
.portrait { width: 100%; max-width: 22rem; aspect-ratio: 5 / 6; object-fit: cover; border: 1px solid var(--ink); border-radius: 10px; box-shadow: 8px 8px 0 var(--gold); }
.about-text p { max-width: 58ch; }
.about-text h2 { margin-bottom: 1.1rem; }

/* Page heads */
.page-head { padding-block: clamp(2.25rem, 5vw, 3.75rem) clamp(1.5rem, 3vw, 2.5rem); }
.page-head h1 { max-width: 19ch; font-size: clamp(2.1rem, 4.6vw, 3.3rem); }
.page-head .lede { margin: 1.1rem 0 0; }
.crumbs { font-family: var(--display); font-weight: 500; font-size: 0.98rem; margin: 0 0 1rem; color: var(--ink-soft); }
.crumbs a { color: var(--ink-soft); }
.byline { font-family: var(--display); font-size: 1rem; color: var(--ink-soft); margin: 1.2rem 0 0; }
.cover { border: 1px solid var(--ink); border-radius: 10px; width: 100%; box-shadow: 8px 8px 0 var(--teal-tint); }

/* Article prose */
.prose { max-width: var(--measure); padding-bottom: var(--band); }
.prose h2 { font-size: 1.7rem; margin: 2.4rem 0 0.7rem; }
.prose h3 { margin: 1.7rem 0 0.4rem; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1.2em; }
.prose li { margin-bottom: 0.5em; }
.prose li::marker { color: var(--stamp); font-family: var(--display); font-weight: 600; }
.prose table { width: 100%; border-collapse: collapse; margin: 0.5rem 0 1.5rem; font-size: 1rem; line-height: 1.45; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 0.6rem 1rem 0.6rem 0; border-bottom: 1px solid var(--rule); font-variant-numeric: tabular-nums; }
.prose thead th { font-family: var(--display); font-weight: 600; border-bottom: 2px solid var(--ink); }
.table-scroll { overflow-x: auto; }
.note { background: var(--sheet); border: 1px solid var(--rule); border-left: 5px solid var(--teal); border-radius: 0 8px 8px 0; padding: 1.1rem 1.35rem; margin: 1.6rem 0; }
.note p:last-child { margin-bottom: 0; }

figure { margin: 1.8rem 0; }
figcaption { font-size: 0.98rem; color: var(--ink-soft); margin-top: 0.7rem; }
.figure-box { background: var(--sheet); border: 1px solid var(--ink); border-radius: 10px; padding: clamp(1rem, 3vw, 1.6rem); }
.flow-arrows { display: grid; gap: 0.7rem; margin: 0.4rem 10% 0; }
.flow-arrow { display: flex; align-items: center; gap: 0.7rem; font-family: var(--display); font-weight: 600; font-size: 0.92rem; white-space: nowrap; }
.flow-arrow b { flex: 1; height: 2px; background: currentColor; position: relative; }
.flow-arrow b::after { content: ""; position: absolute; top: -5px; border-block: 6px solid transparent; }
.flow-arrow.out { color: var(--ink); }
.flow-arrow.out b::after { right: -1px; border-left: 10px solid currentColor; }
.flow-arrow.back { color: var(--stamp); }
.flow-arrow.back b::after { left: -1px; border-right: 10px solid currentColor; }

.bar { display: flex; height: 2.6rem; border: 1px solid var(--ink); border-radius: 6px; overflow: hidden; font-family: var(--display); font-weight: 600; font-size: 0.92rem; }
.bar span { display: flex; align-items: center; justify-content: center; color: var(--sheet); min-width: 0; white-space: nowrap; overflow: hidden; }
.bar-label { font-family: var(--display); font-weight: 600; font-size: 1rem; margin: 1rem 0 0.4rem; }
.bar-label:first-child { margin-top: 0; }
.legend { list-style: none; display: flex; flex-wrap: wrap; gap: 0.3rem 1.3rem; margin: 0.9rem 0 0; padding: 0; font-size: 0.95rem; color: var(--ink-soft); }
.prose .legend { padding: 0; margin-bottom: 0; }
.legend li { display: flex; align-items: center; gap: 0.45rem; margin: 0; }
.legend i { width: 0.85rem; height: 0.85rem; border-radius: 3px; flex: none; }
.c-ink { background: var(--ink); } .c-teal { background: var(--teal); } .c-stamp { background: var(--stamp); } .c-gold { background: var(--gold); } .c-ink2 { background: var(--ink-2); }
.bar .c-gold { color: var(--ink); }
.hub { max-width: 30rem; margin-inline: auto; }
.hub text { font-family: var(--display); }

.author { display: grid; grid-template-columns: 5.5rem 1fr; gap: 1.25rem; align-items: center; background: var(--sheet); border: 1px solid var(--ink); border-radius: 10px; padding: 1.25rem 1.4rem; margin-top: 2.75rem; }
.author img { width: 5.5rem; height: 5.5rem; object-fit: cover; object-position: center 20%; border-radius: 50%; border: 1px solid var(--ink); }
.author h2 { font-size: 1.25rem; margin: 0 0 0.25rem; }
.author p { margin: 0; font-size: 1.02rem; color: var(--ink-soft); }
.next-read { margin-top: 1.5rem; font-family: var(--display); }
.next-read p { margin: 0 0 0.4rem; }

/* Article layout with a side column */
.article-body { display: grid; grid-template-columns: 1fr; gap: var(--gap); align-items: start; }
.side { display: none; }
@media (min-width: 60rem) {
  .article-body { grid-template-columns: 7fr 5fr; }
  .side { display: block; position: sticky; top: 5.5rem; }
}
.toc { border-top: 2px solid var(--ink); padding-top: 1rem; }
.toc h2 { font-size: 1.05rem; letter-spacing: 0; margin-bottom: 0.6rem; }
.toc ol { list-style: none; margin: 0; padding: 0; }
.toc li { border-bottom: 1px solid var(--rule); }
.toc a { display: block; padding: 0.55rem 0; font-family: var(--display); font-weight: 500; font-size: 1rem; color: var(--ink); text-decoration: none; line-height: 1.3; }
.toc a:hover { color: var(--teal); }
.side .panel { margin-top: 1.5rem; }
.side .panel p { color: var(--ink-soft); font-size: 1.02rem; }

/* Mentoring */
.offers { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 56rem) { .offers { grid-template-columns: repeat(3, 1fr); } }
.offer { background: var(--sheet); border: 1px solid var(--ink); border-radius: 10px; padding: 1.5rem 1.5rem 1.6rem; border-top: 6px solid var(--teal); height: 100%; }
.offer:nth-child(2) { border-top-color: var(--stamp); } .offer:nth-child(3) { border-top-color: var(--gold); }
.offer h3 { font-size: 1.4rem; margin-bottom: 0.3rem; }
.offer-time { font-family: var(--display); font-weight: 500; font-size: 0.98rem; color: var(--ink-soft); margin: 0 0 0.9rem; }
.offer p:last-child { margin: 0; color: var(--ink-soft); font-size: 1.05rem; }
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 1.5rem 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 52rem) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: step; border-top: 2px solid var(--ink); padding-top: 1rem; }
.steps li::before { content: counter(step); font-family: var(--display); font-weight: 700; font-size: 1.1rem; color: var(--sheet); background: var(--stamp); width: 2.2rem; height: 2.2rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 0.8rem; }
.steps h3 { margin-bottom: 0.35rem; }
.steps p { margin: 0; color: var(--ink-soft); font-size: 1.05rem; }
.faq { max-width: var(--measure); border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { font-family: var(--display); font-weight: 600; font-size: 1.2rem; padding: 1.05rem 2rem 1.05rem 0; cursor: pointer; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0.2rem; top: 0.85rem; font-size: 1.5rem; font-weight: 500; color: var(--stamp); line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 1.2rem; color: var(--ink-soft); }

/* Call to action band */
.cta { background: var(--ink); color: var(--sheet); border-radius: 12px; padding: clamp(1.75rem, 5vw, 3.25rem); display: grid; gap: 1.5rem 3rem; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 52rem) { .cta { grid-template-columns: 1fr auto; } }
.cta h2 { color: var(--sheet); max-width: 22ch; }
.cta p { margin: 0.7rem 0 0; color: var(--rule); max-width: 50ch; }

/* Contact */
.form { display: grid; gap: 1.1rem; max-width: 36rem; }
.form label { display: block; font-family: var(--display); font-weight: 600; font-size: 1rem; margin-bottom: 0.35rem; }
.form input, .form select, .form textarea { width: 100%; font: inherit; color: var(--ink); background: var(--sheet); border: 1px solid var(--ink); border-radius: 6px; padding: 0.75rem 0.85rem; }
.form textarea { min-height: 9rem; resize: vertical; }
.form-hint { font-size: 0.98rem; color: var(--ink-soft); margin: 0; }
.panel { background: var(--sheet); border: 1px solid var(--ink); border-radius: 10px; padding: 1.5rem 1.6rem; }
.panel h2 { font-size: 1.35rem; margin-bottom: 0.6rem; }
.panel + .panel { margin-top: 1.25rem; }
.panel p:last-child { margin-bottom: 0; }

/* Footer */
.site-foot { background: var(--ink); color: var(--rule); padding-block: clamp(2.25rem, 5vw, 3.5rem) 2rem; font-size: 1.02rem; }
.site-foot a { color: var(--sheet); }
.site-foot a:hover { color: var(--teal-tint); }
.foot-grid { display: grid; gap: 2rem 3rem; grid-template-columns: 1fr; }
@media (min-width: 48rem) { .foot-grid { grid-template-columns: 6fr 2fr 4fr; } }
.foot-name { font-family: var(--display); font-weight: 700; font-size: 1.4rem; color: var(--sheet); margin: 0 0 0.4rem; }
.site-foot p { margin: 0; max-width: 40ch; }
.site-foot h2 { font-size: 1rem; font-weight: 600; letter-spacing: 0; color: var(--sheet); margin-bottom: 0.6rem; }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li { margin-bottom: 0.35rem; overflow-wrap: anywhere; }
.site-foot .foot-base { max-width: none; border-top: 1px solid var(--ink-2); margin-top: 2.25rem; padding-top: 1.25rem; font-size: 0.95rem; }

@media (prefers-reduced-motion: reduce) {
  .track-dot, .card { transition: none; }
  .card:hover { transform: none; }
}
.site-foot .build { font-size: 0.85rem; opacity: 0.7; font-variant-numeric: tabular-nums; }

/* Version 3 additions: four-fact strip, two-column offers, career timeline, wrapping nav */
@media (min-width: 48rem) {
  .facts { grid-template-columns: repeat(2, 1fr); border-bottom: 0; }
  .facts li, .facts li + li { border-left: 0; border-bottom: 1px solid var(--rule); padding: 1.3rem 2rem 1.3rem 0; }
  .facts li:nth-child(even) { border-left: 1px solid var(--rule); padding-left: 2rem; }
}
@media (min-width: 64rem) {
  .facts { grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--rule); }
  .facts li { border-bottom: 0; }
  .facts li:nth-child(n+2) { border-left: 1px solid var(--rule); padding-left: 2rem; }
}
.offer:nth-child(4) { border-top-color: var(--ink-2); } .offer:nth-child(5) { border-top-color: var(--teal); }
@media (min-width: 56rem) { .offers-2 { grid-template-columns: repeat(2, 1fr); } }
.site-head nav ul { flex-wrap: wrap; row-gap: 0.25rem; }
@media (max-width: 34rem) { .site-head nav ul { gap: 0.25rem 1rem; } .site-head nav a { font-size: 0.95rem; } }

.timeline { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.timeline > li { display: grid; grid-template-columns: 1fr; gap: 0.25rem 2rem; padding: 1.5rem 0; border-bottom: 1px solid var(--rule); }
@media (min-width: 48rem) { .timeline > li { grid-template-columns: 10rem 1fr; } }
.tl-when { font-family: var(--display); font-weight: 600; color: var(--stamp); margin: 0; font-variant-numeric: tabular-nums; }
.timeline h3 { font-size: 1.35rem; margin-bottom: 0.2rem; }
.tl-where { font-family: var(--display); font-weight: 500; color: var(--ink-soft); margin: 0 0 0.6rem; }
.timeline ul { margin: 0; padding-left: 1.2rem; max-width: 70ch; }
.timeline li li { margin-bottom: 0.35rem; color: var(--ink-soft); }
.timeline li li::marker { color: var(--stamp); }
@media (max-width: 75rem) { .wordmark small { display: none; } }
@media (max-width: 34rem) { .site-head { position: static; } html { scroll-padding-top: 1rem; } }
/* Code blocks and sequence diagrams in articles */
.prose code { font-family: ui-monospace, "Cascadia Mono", Consolas, "Courier New", monospace; font-size: 0.9em; background: var(--rule-soft); padding: 0.1em 0.35em; border-radius: 4px; }
.prose pre { background: var(--ink); color: var(--sheet); border-radius: 10px; padding: 1.1rem 1.3rem; overflow-x: auto; margin: 1rem 0 1.4rem; font-size: 0.92rem; line-height: 1.55; }
.prose pre code { background: none; padding: 0; color: inherit; font-size: inherit; }
.seq { max-width: 30rem; margin-inline: auto; }
.seq text { font-family: var(--display); }
.article-body > .prose { min-width: 0; }
