/* llms-for-lawyers.com — ivory paper, ink type, redline accent */
@font-face { font-family: 'Fraunces'; src: url('/assets/fonts/Fraunces.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url('/assets/fonts/Fraunces-Italic.woff2') format('woff2'); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: 'Instrument Sans'; src: url('/assets/fonts/InstrumentSans-Italic.woff2') format('woff2'); font-weight: 400 700; font-style: italic; font-display: swap; }
@font-face { font-family: 'Instrument Sans'; src: url('/assets/fonts/InstrumentSans.woff2') format('woff2'); font-weight: 400 700; font-style: normal; font-display: swap; }
:root {
  --paper: #faf7f1;
  --paper-2: #f1ebdf;
  --paper-3: #e8e0d0;
  --ink: #14181f;
  --ink-2: #363b44;
  --muted: #6a6f78;
  --rule: #d8d0c1;
  --red: #c0311c;
  --red-dark: #9a2615;
  --red-soft: #f6e3de;
  --font-display: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --font-body: 'Instrument Sans', 'Helvetica Neue', Arial, system-ui, sans-serif;
  --font-mono: ui-monospace, 'SF Mono', Menlo, Consolas, 'Liberation Mono', monospace;
  --wrap: 1120px;
  --measure: 70ch;
  --radius: 4px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 1.5rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.6; font-feature-settings: 'ss01', 'cv11'; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--ink); text-decoration-color: var(--red); text-decoration-thickness: 1px; text-underline-offset: 0.18em; transition: color .15s ease, text-decoration-color .15s ease; }
a:hover { color: var(--red-dark); text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 2px; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2rem); }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--paper); padding: .5rem 1rem; z-index: 100; }
.skip-link:focus { left: 1rem; top: 1rem; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.12; letter-spacing: -0.01em; margin: 0; font-variation-settings: 'opsz' 96, 'SOFT' 20; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); font-weight: 500; }
h2 { font-size: clamp(1.5rem, 2.6vw, 1.95rem); margin-top: 2.6rem; margin-bottom: .8rem; }
h3 { font-size: 1.25rem; margin-top: 1.9rem; margin-bottom: .5rem; font-weight: 600; }
h4 { font-size: 1.05rem; font-family: var(--font-body); font-weight: 700; margin-top: 1.4rem; margin-bottom: .3rem; }
p { margin: 0 0 1.05rem; }
em { font-style: italic; }
h1 em, h2 em, .brand-name em, .hero-title em { font-style: italic; font-weight: 400; color: var(--red-dark); }
.eyebrow { font-family: var(--font-body); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red-dark); margin: 0 0 .7rem; }
.eyebrow a { text-decoration: none; color: inherit; }
.deck { font-family: var(--font-display); font-size: clamp(1.15rem, 1.8vw, 1.35rem); line-height: 1.45; color: var(--ink-2); font-weight: 400; margin: 1rem 0 1.2rem; max-width: 42em; font-variation-settings: 'opsz' 24; }
.byline { font-size: .9rem; color: var(--muted); margin: 0; }
.pill { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--paper); background: var(--red); padding: .15rem .5rem; border-radius: 2px; vertical-align: middle; }

/* Buttons */
.btn { display: inline-block; font-family: var(--font-body); font-weight: 600; font-size: .95rem; line-height: 1; padding: .8rem 1.15rem; border-radius: var(--radius); text-decoration: none; border: 1.5px solid transparent; transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--red); color: var(--paper); border-color: var(--red); }
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); color: var(--paper); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-lg { font-size: 1.05rem; padding: 1rem 1.5rem; }

/* Header */
.site-header { border-bottom: 1px solid var(--rule); background: var(--paper); position: relative; z-index: 20; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; }
.brand-mark { width: 30px; height: 30px; flex: none; }
.brand-name { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; letter-spacing: -0.01em; margin: 0; white-space: nowrap; }
.site-nav { display: flex; align-items: center; gap: 1.4rem; }
.site-nav a { text-decoration: none; font-size: .95rem; font-weight: 500; color: var(--ink-2); }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--red-dark); }
.site-nav .nav-cta { color: var(--paper); margin-left: .4rem; }
.nav-toggle, .nav-burger { display: none; }
@media (max-width: 900px) {
  .nav-burger { display: flex; flex-direction: column; gap: 5px; width: 40px; height: 40px; align-items: center; justify-content: center; cursor: pointer; border: 1px solid var(--rule); border-radius: var(--radius); }
  .nav-burger span { display: block; width: 18px; height: 2px; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--rule); flex-direction: column; align-items: stretch; gap: 0; padding: .5rem clamp(1rem, 4vw, 2rem) 1rem; box-shadow: 0 16px 30px -20px rgba(20,24,31,.35); }
  .site-nav a { padding: .8rem 0; border-bottom: 1px solid var(--rule); font-size: 1.05rem; }
  .site-nav .nav-cta { margin: 1rem 0 0; text-align: center; border-bottom: 0; }
  .nav-toggle:checked ~ .site-nav { display: flex; }
  .nav-toggle:checked ~ .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-burger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* Breadcrumb */
.breadcrumb { font-size: .85rem; color: var(--muted); margin: 1.4rem 0 1.6rem; }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.breadcrumb li + li::before { content: '/'; margin-right: .35rem; color: var(--rule); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--red-dark); }

/* Article */
.article-head { padding-top: .5rem; padding-bottom: 2rem; max-width: calc(var(--wrap)); }
.article-head h1 { max-width: 20em; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; padding-bottom: 3rem; }
@media (min-width: 1024px) { .article-layout { grid-template-columns: 250px minmax(0, 1fr); } }
.article-side { display: none; }
@media (min-width: 1024px) { .article-side { display: block; position: sticky; top: 1.5rem; align-self: start; max-height: calc(100vh - 3rem); overflow: auto; padding-right: .5rem; } }
.toc-title { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 .6rem; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--rule); }
.toc li a { display: block; padding: .32rem 0 .32rem .85rem; font-size: .88rem; color: var(--ink-2); text-decoration: none; border-left: 2px solid transparent; margin-left: -1px; line-height: 1.35; transition: color .15s ease, border-color .15s ease; }
.toc li a:hover, .toc li a.is-active { color: var(--red-dark); border-left-color: var(--red); }
.side-cta { margin-top: 1.8rem; padding: 1.1rem 1.1rem 1.2rem; background: var(--paper-2); border-radius: var(--radius); font-size: .92rem; }
.side-cta p { margin-bottom: .8rem; }
.side-cta .btn { font-size: .88rem; padding: .65rem .9rem; }
.article-body { max-width: var(--measure); font-size: 1.0925rem; line-height: 1.68; }
.article-body > h2 { padding-top: .5rem; border-top: 1px solid var(--rule); padding-top: 1.4rem; }
.article-body > h2:first-child { border-top: 0; margin-top: 0; }
.article-body ul, .article-body ol { padding-left: 1.4rem; margin: 0 0 1.1rem; }
.article-body li { margin-bottom: .4rem; }
.article-body li::marker { color: var(--red-dark); }
.article-body blockquote { margin: 1.6rem 0; padding: .2rem 0 .2rem 1.2rem; border-left: 3px solid var(--red); font-family: var(--font-display); font-size: 1.18rem; line-height: 1.5; color: var(--ink-2); font-variation-settings: 'opsz' 24; }
.article-body blockquote p:last-child { margin-bottom: 0; }
.article-body hr { border: 0; border-top: 1px solid var(--rule); margin: 2.5rem 0; }
.article-body code { font-family: var(--font-mono); font-size: .88em; background: var(--paper-2); padding: .1em .35em; border-radius: 3px; }
.article-body pre { background: var(--ink); color: var(--paper); padding: 1rem 1.2rem; border-radius: var(--radius); overflow-x: auto; font-family: var(--font-mono); font-size: .9rem; line-height: 1.55; }
.article-body pre code { background: none; padding: 0; color: inherit; font-size: inherit; }
.article-body strong { font-weight: 700; }
.article-body img { border-radius: var(--radius); }

/* Takeaways */
.takeaways { margin: 0 0 2.2rem; padding: 1.2rem 1.4rem 1rem; background: var(--paper-2); border-top: 3px solid var(--ink); border-radius: 0 0 var(--radius) var(--radius); }
.takeaways ul { margin: 0; padding-left: 1.2rem; }
.takeaways li { margin-bottom: .45rem; }
.callout-label { font-family: var(--font-body); font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red-dark); margin: 0 0 .5rem; }

/* Callouts */
.callout { margin: 1.8rem 0; padding: 1.1rem 1.3rem .4rem; background: var(--paper-2); border-left: 3px solid var(--red); border-radius: 0 var(--radius) var(--radius) 0; }
.callout p:last-child { margin-bottom: .7rem; }
.callout-warning { border-left-color: var(--red-dark); background: var(--red-soft); }
.callout-example { border-left-color: var(--ink); }
.callout-example .callout-label { color: var(--ink); }
.callout-note { border-left-color: var(--muted); }
.callout-note .callout-label { color: var(--muted); }
.callout-story { border-left-color: var(--ink); font-family: var(--font-display); font-size: 1.1rem; font-variation-settings: 'opsz' 24; }
.callout-story .callout-label { font-family: var(--font-body); color: var(--ink); }
.callout-takeaway { border-left-color: var(--red); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }

/* Prompt cards — the signature element */
.prompt { margin: 1.8rem 0; background: var(--ink); color: #f3eee4; border-radius: var(--radius); overflow: hidden; box-shadow: 0 20px 40px -30px rgba(20,24,31,.6); }
.prompt figcaption { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .55rem .9rem .55rem 1.1rem; background: #1f242c; border-bottom: 1px solid #2c323b; }
.prompt-label { font-family: var(--font-body); font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #e9b8ae; }
.copy-btn { font-family: var(--font-body); font-size: .78rem; font-weight: 600; color: #f3eee4; background: transparent; border: 1px solid #4a515c; border-radius: 3px; padding: .3rem .65rem; cursor: pointer; transition: background .15s ease, border-color .15s ease; }
.copy-btn:hover { background: #2c323b; border-color: #6b7380; }
.copy-btn.is-copied { background: var(--red); border-color: var(--red); }
.prompt pre { margin: 0; padding: 1.1rem 1.2rem 1.2rem; background: transparent; color: inherit; font-family: var(--font-mono); font-size: .9rem; line-height: 1.6; white-space: pre-wrap; word-wrap: break-word; }
.prompt code { background: none; padding: 0; color: inherit; font-size: inherit; }

/* Tables */
.table-wrap { overflow-x: auto; margin: 1.6rem 0; border: 1px solid var(--rule); border-radius: var(--radius); }
table { border-collapse: collapse; width: 100%; font-size: .93rem; line-height: 1.45; }
th, td { text-align: left; vertical-align: top; padding: .7rem .85rem; border-bottom: 1px solid var(--rule); }
th { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: var(--paper-2); font-weight: 700; }
tr:last-child td { border-bottom: 0; }

/* FAQ */
.faq { margin-top: 2.5rem; }
.faq-item { border-top: 1px solid var(--rule); }
.faq-item:last-of-type { border-bottom: 1px solid var(--rule); }
.faq-item summary { cursor: pointer; list-style: none; display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 1rem 0; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { margin: 0; font-size: 1.1rem; font-weight: 500; }
.faq-item summary::after { content: '+'; font-family: var(--font-display); font-size: 1.5rem; line-height: 1; color: var(--red); flex: none; transition: transform .2s ease; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer { padding: 0 0 1.2rem; color: var(--ink-2); }

/* Course CTA */
.course-cta { margin: 3rem 0 2.5rem; padding: 2rem clamp(1.2rem, 3vw, 2.4rem) 2.2rem; background: var(--ink); color: var(--paper); border-radius: var(--radius); position: relative; overflow: hidden; }
.course-cta::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 6px; background: var(--red); }
.course-cta .eyebrow { color: #e9b8ae; }
.course-cta h2 { margin: 0 0 .9rem; color: var(--paper); font-size: clamp(1.4rem, 2.4vw, 1.8rem); border: 0; padding: 0; }
.course-cta p { color: #d9d3c7; }
.cta-proof { list-style: none; padding: 0; margin: 0 0 1.4rem; display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; font-size: .92rem; color: #d9d3c7; }
.cta-proof li::before { content: '✓'; color: #e9b8ae; margin-right: .45rem; }
.cta-proof strong { color: var(--paper); }
.course-cta .btn-primary { border-color: var(--red); }
.course-cta-home, .course-cta-hub { margin: 3.5rem 0; }

/* Author box */
.author-box { display: grid; grid-template-columns: 64px 1fr; gap: 1.2rem; align-items: start; padding: 1.5rem 0 0; border-top: 1px solid var(--rule); font-size: .95rem; color: var(--ink-2); }
.author-avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; }
.author-avatar-lg { width: 96px; height: 96px; font-size: 2rem; }
.author-name { font-family: var(--font-display); font-size: 1.15rem; color: var(--ink); margin-bottom: .4rem; }

/* Related */
.related { padding: 2.5rem 0 3.5rem; border-top: 1px solid var(--rule); }
.related h2 { margin-top: 0; }
.related-list { list-style: none; margin: 1.2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.4rem 2rem; }
.related-list a { display: grid; gap: .3rem; text-decoration: none; padding: 1rem 0; border-top: 2px solid var(--ink); transition: border-color .15s ease, transform .15s ease; height: 100%; }
.related-list a:hover { border-top-color: var(--red); transform: translateY(-2px); }
.related-cluster { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red-dark); }
.related-title { font-family: var(--font-display); font-size: 1.15rem; line-height: 1.25; color: var(--ink); }
.related-desc { font-size: .9rem; color: var(--muted); line-height: 1.45; }

/* Hub / index pages */
.hub-head { padding: .4rem 0 2rem; max-width: 52em; }
.hub-pillar { display: grid; gap: .5rem; padding: 1.6rem clamp(1.2rem, 3vw, 2rem); margin-bottom: 2rem; background: var(--paper-2); border-left: 4px solid var(--red); border-radius: 0 var(--radius) var(--radius) 0; text-decoration: none; transition: background .15s ease; }
.hub-pillar:hover { background: var(--paper-3); }
.hub-pillar .pill { justify-self: start; }
.hub-pillar-title { font-family: var(--font-display); font-size: clamp(1.4rem, 2.4vw, 1.8rem); line-height: 1.2; color: var(--ink); }
.hub-pillar-desc { color: var(--ink-2); max-width: 60ch; }
.hub-pillar-meta { font-size: .85rem; font-weight: 600; color: var(--red-dark); }
.hub-list { list-style: none; margin: 0; padding: 0; counter-reset: guide; }
.hub-list li { border-top: 1px solid var(--rule); }
.hub-list li:last-child { border-bottom: 1px solid var(--rule); }
.hub-list a { display: grid; grid-template-columns: 1fr auto; grid-template-areas: 'title meta' 'desc meta'; gap: .2rem 1.5rem; padding: 1.05rem 0; text-decoration: none; align-items: baseline; }
.hub-item-title { grid-area: title; font-family: var(--font-display); font-size: 1.2rem; line-height: 1.25; color: var(--ink); transition: color .15s ease; }
.hub-list a:hover .hub-item-title { color: var(--red-dark); }
.hub-item-desc { grid-area: desc; color: var(--muted); font-size: .93rem; max-width: 70ch; }
.hub-item-meta { grid-area: meta; font-size: .8rem; color: var(--muted); white-space: nowrap; }
@media (max-width: 600px) { .hub-list a { grid-template-columns: 1fr; grid-template-areas: 'title' 'desc' 'meta'; } }
.other-topics { padding: 1rem 0 3rem; }
.topic-links { list-style: none; padding: 0; margin: .8rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.topic-links a { display: inline-block; padding: .4rem .8rem; border: 1px solid var(--rule); border-radius: 999px; text-decoration: none; font-size: .9rem; }
.topic-links a:hover { border-color: var(--red); }
.index-jump ul { list-style: none; padding: 0; margin: 0 0 2rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.index-jump a { display: inline-block; padding: .35rem .75rem; border: 1px solid var(--rule); border-radius: 999px; text-decoration: none; font-size: .88rem; }
.index-jump a:hover { border-color: var(--red); }
.index-section { margin-bottom: 3rem; }
.index-section h2 a { text-decoration: none; }
.index-desc { color: var(--muted); margin-bottom: .8rem; }
.prompt-entry { margin: 1.4rem 0 2.2rem; }
.prompt-source { font-size: .88rem; color: var(--muted); margin-bottom: .4rem; }
.static-article { max-width: var(--measure); padding-bottom: 3rem; }
.static-article .article-head { padding-bottom: 1rem; }

/* Home */
.hero { padding: clamp(3rem, 8vw, 6.5rem) clamp(1rem, 4vw, 2rem) clamp(2.5rem, 6vw, 4.5rem); }
.hero-eyebrow { animation: rise .6s ease both; }
.hero-title { font-size: clamp(2.5rem, 6.4vw, 4.9rem); line-height: 1.02; letter-spacing: -0.022em; max-width: 14.5em; font-weight: 500; font-variation-settings: 'opsz' 144, 'SOFT' 30; animation: rise .7s .08s ease both; }
.hero-sub { font-size: clamp(1.1rem, 1.7vw, 1.3rem); line-height: 1.5; color: var(--ink-2); max-width: 40em; margin: 1.6rem 0 2rem; animation: rise .7s .18s ease both; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; animation: rise .7s .26s ease both; }
.hero-proof { margin-top: 1.6rem; font-size: .9rem; color: var(--muted); max-width: 46em; animation: rise .7s .34s ease both; }
.hero-proof strong { color: var(--ink); }
.start-here { padding: 3rem clamp(1rem, 4vw, 2rem); border-top: 1px solid var(--rule); }
.start-here h2, .topics h2, .featured h2, .instructor h2 { margin-top: 0; }
.paths { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2rem; margin-top: 1.5rem; }
.path h3 { margin-top: 0; font-size: 1.2rem; padding-bottom: .5rem; border-bottom: 2px solid var(--ink); }
.path p { font-size: .92rem; color: var(--muted); }
.path ol { padding-left: 1.2rem; margin: 0; }
.path li { margin-bottom: .45rem; font-size: .97rem; }
.path li::marker { color: var(--red-dark); font-weight: 600; }
.topics { padding: 3rem clamp(1rem, 4vw, 2rem); border-top: 1px solid var(--rule); }
.topic-index { list-style: none; margin: 1.5rem 0 0; padding: 0; }
.topic-index li { border-top: 1px solid var(--rule); }
.topic-index li:last-child { border-bottom: 1px solid var(--rule); }
.topic-index a { display: grid; grid-template-columns: 3.2rem 1fr auto; gap: 1rem; align-items: baseline; padding: 1.1rem 0; text-decoration: none; transition: padding-left .2s ease; }
.topic-index a:hover { padding-left: .4rem; }
.topic-num { font-family: var(--font-mono); font-size: .9rem; color: var(--red-dark); }
.topic-body { display: grid; gap: .15rem; }
.topic-name { font-family: var(--font-display); font-size: clamp(1.25rem, 2vw, 1.55rem); line-height: 1.2; color: var(--ink); }
.topic-desc { font-size: .93rem; color: var(--muted); max-width: 70ch; }
.topic-count { font-size: .82rem; color: var(--muted); white-space: nowrap; }
@media (max-width: 600px) { .topic-index a { grid-template-columns: 2.4rem 1fr; } .topic-count { grid-column: 2; } }
.featured { padding: 3rem clamp(1rem, 4vw, 2rem) 1rem; border-top: 1px solid var(--rule); }
.featured .related { border-top: 0; padding-top: 0; }
.instructor { padding: 3rem clamp(1rem, 4vw, 2rem); border-top: 1px solid var(--rule); }
.instructor-inner { display: grid; grid-template-columns: 96px 1fr; gap: 1.6rem; align-items: start; max-width: 60em; }
@media (max-width: 600px) { .instructor-inner { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { border-top: 1px solid var(--rule); background: var(--paper-2); padding: 3rem 0 2rem; margin-top: 2rem; font-size: .93rem; }
.footer-cta { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; padding-bottom: 2.5rem; border-bottom: 1px solid var(--rule); margin-bottom: 2.5rem; }
.footer-cta-title { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 0 0 .5rem; }
.footer-cta p { margin: 0; color: var(--ink-2); max-width: 50em; }
@media (max-width: 800px) { .footer-cta { grid-template-columns: 1fr; } }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: .4rem; }
.footer-col a { text-decoration: none; color: var(--ink-2); }
.footer-col a:hover { color: var(--red-dark); text-decoration: underline; }
.footer-heading { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .8rem; }
.footer-about p { color: var(--ink-2); }
.footer-legal { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--rule); font-size: .82rem; color: var(--muted); max-width: 80ch; }

@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .site-footer, .article-side, .course-cta, .related, .copy-btn { display: none !important; }
  .article-layout { grid-template-columns: 1fr; }
  .prompt { box-shadow: none; border: 1px solid #000; }
}
