/* Caseload Studio: design tokens and components.
   Change the :root block to rebrand the whole site. */

:root {
  /* palette */
  --ground:    #F3F5F2;
  --surface:   #FFFFFF;
  --sunken:    #E7EBE6;
  --ink:       #131C1A;
  --ink-soft:  #384946;
  --muted:     #5E706D;
  --line:      #DCE3DE;
  --line-soft: #E9EEEA;

  --pine:      #17564A;   /* primary */
  --pine-deep: #103A33;
  --pine-wash: #E3EDE9;
  --on-pine:   #FFFFFF;
  --brass:     #8F6714;   /* accent, used sparingly for money + emphasis */
  --brass-wash:#F5EFDF;
  --clay:      #91402A;   /* only for warnings / what-not-to-do */
  --clay-wash: #F6E8E3;
  --img-edge:  rgba(19, 28, 26, .07);
  --shadow-img: 8px 12px 32px -6px rgba(18, 38, 33, .16);

  /* type */
  --display: "Petrona", "Iowan Old Style", Georgia, serif;
  --sans: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "DM Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* layout */
  --wrap: 68rem;
  --narrow: 44rem;
  --r: 10px;        /* panels, buttons, forms */
  --r-img: 16px;    /* photographs and cards */
  --pad: clamp(1.15rem, 4vw, 2rem);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ground:    #0E1614;
    --surface:   #16211E;
    --sunken:    #1E2C28;
    --ink:       #E7EEEA;
    --ink-soft:  #C2D0CB;
    --muted:     #8DA09B;
    --line:      #2A3A35;
    --line-soft: #223029;

    --pine:      #5EBBA4;
    --pine-deep: #8FD4C1;
    --pine-wash: #143029;
    --on-pine:   #0E1614;
    --brass:     #D5A94E;
    --brass-wash:#312712;
    --clay:      #DD8767;
    --clay-wash: #341C14;
    --img-edge:  rgba(255, 255, 255, .07);
    --shadow-img: 0 14px 34px -8px rgba(0, 0, 0, .55);
  }
}
:root[data-theme="dark"] {
  --ground:    #0E1614;
  --surface:   #16211E;
  --sunken:    #1E2C28;
  --ink:       #E7EEEA;
  --ink-soft:  #C2D0CB;
  --muted:     #8DA09B;
  --line:      #2A3A35;
  --line-soft: #223029;

  --pine:      #5EBBA4;
  --pine-deep: #8FD4C1;
  --pine-wash: #143029;
  --on-pine:   #0E1614;
  --brass:     #D5A94E;
  --brass-wash:#312712;
  --clay:      #DD8767;
  --clay-wash: #341C14;
  --img-edge:  rgba(255, 255, 255, .07);
  --shadow-img: 0 14px 34px -8px rgba(0, 0, 0, .55);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--pine); text-underline-offset: 2px; text-decoration-thickness: 1px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 2px solid var(--pine); outline-offset: 3px; border-radius: 2px;
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.narrow { max-width: var(--narrow); }
.skip {
  position: absolute; left: -9999px; top: 0; background: var(--pine); color: #fff;
  padding: .7rem 1rem; z-index: 100; border-radius: 0 0 var(--r) 0;
}
.skip:focus { left: 0; }

/* ---------- type ---------- */

h1, h2, h3, h4 { font-family: var(--display); font-weight: 500; margin: 0; text-wrap: balance; letter-spacing: -.015em; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.5rem); line-height: 1.04; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); line-height: 1.12; }
h3 { font-size: 1.3rem; line-height: 1.22; font-weight: 600; }
h4 { font-size: 1.05rem; line-height: 1.3; font-weight: 600; }
p { margin: 0; max-width: 66ch; }
.lede { font-family: var(--display); font-size: clamp(1.15rem, 2.3vw, 1.4rem); line-height: 1.45; color: var(--ink-soft); }
.small { font-size: .88rem; color: var(--muted); }
strong { font-weight: 700; }

.eyebrow {
  font-family: var(--mono); font-size: .72rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--pine); margin: 0;
}
.eyebrow.brass { color: var(--brass); }

.stack { display: flex; flex-direction: column; gap: 1rem; }
.stack-sm { display: flex; flex-direction: column; gap: .55rem; }
.stack-lg { display: flex; flex-direction: column; gap: 1.75rem; }

ul.plain { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .7rem; }
ul.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .65rem; max-width: 62ch; }
/* Positioned marker rather than a grid column: list items often contain a
   <strong> plus trailing text, and grid would place each of those in its own
   cell, shredding the line. */
ul.ticks li { position: relative; padding-left: 1.5rem; }
ul.ticks li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 9px; height: 9px; border-radius: 50%; background: var(--pine);
}
ul.ticks.warn li::before { border-radius: 1px; background: var(--clay); }
ul.body { margin: 0; padding-left: 1.15rem; display: flex; flex-direction: column; gap: .5rem; max-width: 64ch; }
ul.body li::marker { color: var(--muted); }

/* ---------- header ---------- */

.masthead { border-bottom: 1px solid var(--line); background: var(--surface); position: sticky; top: 0; z-index: 40; }
.masthead-in { display: flex; align-items: center; gap: 1.5rem; justify-content: space-between; padding-top: 1rem; padding-bottom: 1rem; }
.brand { display: flex; align-items: center; gap: .6rem; font-family: var(--display); font-size: 1.85rem; font-weight: 600; line-height: 1; color: var(--ink); text-decoration: none; letter-spacing: -.025em; }
.brand-mark { width: 42px; height: 42px; flex: none; color: var(--pine); }
nav.main { display: flex; align-items: center; gap: 1.75rem; flex-wrap: wrap; }
nav.main a { color: var(--ink-soft); text-decoration: none; font-size: 1.08rem; font-weight: 500; }
nav.main a:hover { color: var(--pine); }
nav.main a[aria-current="page"] { color: var(--pine); }
nav.main a.btn-primary, nav.main a.btn-primary:hover { color: var(--on-pine); }
.nav-toggle { display: none; }

@media (max-width: 64rem) {
  .masthead-in { flex-wrap: wrap; }
  .nav-toggle {
    display: inline-flex; align-items: center; gap: .45rem; background: none; cursor: pointer;
    border: 1px solid var(--line); color: var(--ink); border-radius: var(--r);
    padding: .45rem .7rem; font-family: var(--sans); font-size: .85rem;
  }
  nav.main { display: none; width: 100%; flex-direction: column; align-items: flex-start; gap: .9rem; padding: .9rem 0 .3rem; }
  nav.main.open { display: flex; }
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--sans); font-size: .97rem; font-weight: 600; line-height: 1;
  padding: .85rem 1.3rem; border-radius: var(--r); text-decoration: none;
  border: 1px solid transparent; cursor: pointer; transition: background .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--pine); color: var(--on-pine); }
.btn-primary:hover { background: var(--pine-deep); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--pine); color: var(--pine); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }


/* ---------- sections ---------- */

section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
section.tight { padding: clamp(2.2rem, 5vw, 3.5rem) 0; }
section.surface { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
section.pine { background: var(--pine-wash); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head { display: flex; flex-direction: column; gap: .7rem; margin-bottom: 2.25rem; max-width: 46rem; }

/* ---------- hero ---------- */

.hero { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2.5rem, 6vw, 4rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(1.75rem, 4vw, 3.5rem); align-items: center; }
@media (max-width: 56rem) { .hero-grid { grid-template-columns: 1fr; } }
.hero-copy { display: flex; flex-direction: column; gap: 1.2rem; }
.hero-img { border-radius: var(--r-img); overflow: hidden; border: 1px solid var(--img-edge); box-shadow: var(--shadow-img); }
.hero-img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.hero-note { font-size: .87rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: .3rem 1.1rem; }

/* ---------- generic grids ---------- */

.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); gap: clamp(1.25rem, 3vw, 2.25rem); }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: clamp(1.1rem, 2.5vw, 1.75rem); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.25rem); align-items: center; }
@media (max-width: 54rem) { .split { grid-template-columns: 1fr; } }
.split img { border-radius: var(--r-img); border: 1px solid var(--img-edge); box-shadow: var(--shadow-img); width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* ---------- feature blocks ---------- */

.feature { display: flex; flex-direction: column; gap: .55rem; }
.feature h3 { font-family: var(--display); }
.feature p { font-size: .96rem; color: var(--ink-soft); }

.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(1.25rem, 2.5vw, 1.75rem); display: flex; flex-direction: column; gap: .7rem; }
.panel.wash { background: var(--pine-wash); border-color: transparent; }
.panel.brasswash { background: var(--brass-wash); border-color: transparent; }
.panel.claywash { background: var(--clay-wash); border-color: transparent; }

/* ---------- numbered steps ---------- */

.steps { display: flex; flex-direction: column; gap: 0; counter-reset: step; }
.step { display: grid; grid-template-columns: 3.4rem minmax(0, 1fr); gap: 0 1.35rem; padding: 1.5rem 0; border-top: 1px solid var(--line); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step-n {
  font-family: var(--mono); font-size: .78rem; letter-spacing: .06em; color: var(--pine);
  border-top: 2px solid var(--pine); padding-top: .35rem; align-self: start;
}
.step-body { display: flex; flex-direction: column; gap: .5rem; }
.step-body h3 { font-family: var(--display); font-size: 1.22rem; }
.step-body p { font-size: .96rem; color: var(--ink-soft); }
@media (max-width: 34rem) { .step { grid-template-columns: 1fr; gap: .6rem; } .step-n { justify-self: start; padding-right: 2.5rem; } }

/* ---------- pricing ---------- */

.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(16.5rem, 1fr)); gap: 1.15rem; align-items: stretch; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1.5rem 1.4rem 1.6rem; display: flex; flex-direction: column; gap: .9rem; }
.plan.featured { border-color: var(--pine); box-shadow: 0 0 0 1px var(--pine); }
.plan-tag { font-family: var(--mono); font-size: .66rem; letter-spacing: .13em; text-transform: uppercase; color: var(--pine); }
.plan h3 { font-family: var(--display); font-size: 1.45rem; }
.price-line { display: flex; align-items: baseline; gap: .55rem; flex-wrap: wrap; }
.price-now { font-family: var(--mono); font-size: 1.85rem; font-weight: 500; color: var(--brass); font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
.price-was { font-family: var(--mono); font-size: .95rem; color: var(--muted); text-decoration: line-through; }
.price-per { font-size: .85rem; color: var(--muted); }
.plan ul.ticks li { font-size: .92rem; }
.plan .btn { margin-top: auto; }

/* ---------- score strip (borrowed from the audit product) ---------- */

.scorecard { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.score-cell { background: var(--surface); padding: 1.1rem 1.15rem 1.25rem; display: flex; flex-direction: column; gap: .3rem; }
.score-label { font-family: var(--mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.score-n { font-family: var(--mono); font-size: 1.9rem; font-weight: 500; letter-spacing: -.03em; color: var(--pine); font-variant-numeric: tabular-nums; line-height: 1.1; }
.score-note { font-size: .85rem; color: var(--ink-soft); }

/* ---------- quote ---------- */

.quote { border-left: 3px solid var(--pine); padding-left: 1.3rem; display: flex; flex-direction: column; gap: .7rem; max-width: 44rem; }
.quote p { font-family: var(--display); font-size: 1.25rem; line-height: 1.4; }
.quote cite { font-style: normal; font-size: .88rem; color: var(--muted); }

/* ---------- forms ---------- */

.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(1.35rem, 3vw, 2rem); display: flex; flex-direction: column; gap: 1.05rem; max-width: 34rem; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field label { font-size: .89rem; font-weight: 600; }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: 1rem; color: var(--ink); background: var(--ground);
  border: 1px solid var(--line); border-radius: var(--r); padding: .7rem .8rem; width: 100%;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field .hint { font-size: .8rem; color: var(--muted); }
.form-note { font-size: .82rem; color: var(--muted); }

/* ---------- faq ---------- */

.faq { display: flex; flex-direction: column; border-top: 1px solid var(--line); max-width: 52rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; padding: 1.1rem 2rem 1.1rem 0; font-weight: 600; font-size: 1.02rem;
  list-style: none; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: .2rem; top: 50%; transform: translateY(-50%);
  font-family: var(--mono); color: var(--pine); font-size: 1.15rem;
}
.faq details[open] summary::after { content: "\2013"; }
.faq .answer { padding: 0 0 1.2rem; display: flex; flex-direction: column; gap: .7rem; }
.faq .answer p { font-size: .96rem; color: var(--ink-soft); }

/* ---------- cta band ---------- */

.cta-band { background: var(--pine); color: var(--on-pine); border-radius: var(--r); padding: clamp(1.75rem, 4vw, 2.75rem); display: flex; flex-direction: column; gap: 1rem; }
.cta-band h2, .cta-band p { color: var(--on-pine); }
.cta-band .btn-primary { background: var(--on-pine); color: var(--pine-deep); }
.cta-band .btn-primary:hover { background: color-mix(in srgb, var(--on-pine) 88%, var(--pine)); }
.cta-band .btn-ghost { color: var(--on-pine); border-color: color-mix(in srgb, var(--on-pine) 45%, transparent); }
.cta-band .btn-ghost:hover { border-color: var(--on-pine); color: var(--on-pine); }
.cta-band a:focus-visible { outline-color: var(--on-pine); }

/* ---------- tables ---------- */

.table-scroll { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 32rem; }
table.data th { text-align: left; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding: 0 1rem .55rem 0; border-bottom: 1px solid var(--line); }
table.data td { padding: .75rem 1rem .75rem 0; border-bottom: 1px solid var(--line-soft); vertical-align: top; color: var(--ink-soft); }
table.data td:first-child { color: var(--ink); font-weight: 600; }
table.data tr:last-child td { border-bottom: none; }

/* ---------- footer ---------- */

footer.site { background: var(--surface); border-top: 1px solid var(--line); padding: 3rem 0 2.5rem; margin-top: 1rem; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(auto-fit, minmax(9rem, 1fr)); gap: 2rem; }
.foot-col { display: flex; flex-direction: column; gap: .6rem; }
.foot-col h4 { font-family: var(--mono); font-size: .68rem; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.foot-col a { color: var(--ink-soft); text-decoration: none; font-size: .92rem; }
.foot-col a:hover { color: var(--pine); }
.foot-bottom { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; font-size: .82rem; color: var(--muted); }

/* ---------- misc ---------- */

.badge { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; background: var(--brass-wash); color: var(--brass); padding: .3rem .55rem; border-radius: 2px; }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }
.center { text-align: center; align-items: center; }
figure { margin: 0; }
figcaption { font-size: .82rem; color: var(--muted); margin-top: .5rem; }

/* ---------- production additions ---------- */

.btn-nav { padding: .6rem 1rem; font-size: .9rem; }
.foot-tag { max-width: 30ch; }
.foot-bottom a { color: var(--muted); }
.foot-bottom a:hover { color: var(--pine); }

/* honeypot: bots fill it, people never see it */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* homepage tier strip */
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1rem; }
.tier {
  display: flex; flex-direction: column; gap: .55rem; text-decoration: none; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 1.25rem 1.3rem 1.35rem; transition: border-color .15s ease;
}
.tier:hover { border-color: var(--pine); }
.tier-featured { border-color: var(--pine); box-shadow: 0 0 0 1px var(--pine); }
.tier .price-now { font-size: 1.6rem; }
.tier-line { font-size: .93rem; color: var(--ink-soft); }

/* pricing */
.setup { font-family: var(--mono); font-size: .82rem; color: var(--muted); margin-top: -.55rem; }
.plan { scroll-margin-top: 6rem; }
.plan-note { gap: .5rem; }

/* forms */
.opt { font-weight: 400; color: var(--muted); font-size: .8rem; margin-left: .3rem; }
.form-fine { font-size: .78rem; color: var(--muted); }
.form-note:empty { display: none; }
.form-note.is-error { color: var(--clay); }
.form-note.is-ok { color: var(--pine); }
.form button[disabled] { opacity: .65; cursor: progress; }
.form-success {
  background: var(--pine-wash); border-radius: var(--r); padding: 1.35rem 1.4rem;
  display: flex; flex-direction: column; gap: .5rem; max-width: 34rem;
}
.form-success h3 { font-family: var(--display); }

/* legal pages */
.prose { display: flex; flex-direction: column; gap: 1rem; }
.prose h2 { font-size: 1.35rem; margin-top: 1rem; }
.prose p, .prose li { font-size: .98rem; color: var(--ink-soft); }

/* ---------- insights: long-game band ---------- */

.manifesto { background: var(--ink); color: var(--ground); }
.manifesto .eyebrow { color: var(--pine-wash); opacity: .85; }
.manifesto h2 { color: var(--ground); font-size: clamp(1.9rem, 4vw, 2.75rem); line-height: 1.08; }
.manifesto p { color: var(--ground); opacity: .88; }
.manifesto strong { opacity: 1; }
.manifesto-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
@media (max-width: 54rem) { .manifesto-grid { grid-template-columns: 1fr; } }
.manifesto .btn-primary { background: var(--ground); color: var(--ink); }
.manifesto .btn-primary:hover { background: var(--pine-wash); }
.manifesto .btn-ghost { color: var(--ground); border-color: color-mix(in srgb, var(--ground) 40%, transparent); }
.manifesto .btn-ghost:hover { border-color: var(--ground); color: var(--ground); }
.manifesto a:focus-visible { outline-color: var(--ground); }

/* ---------- insights: cards ---------- */

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 1.25rem; }
.card {
  display: flex; flex-direction: column; text-decoration: none; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-img); overflow: hidden;
  transition: border-color .15s ease, box-shadow .2s ease, transform .2s ease;
}
.card:hover { border-color: var(--pine); box-shadow: var(--shadow-img); transform: translateY(-2px); }
.card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.card-body { display: flex; flex-direction: column; gap: .45rem; padding: 1.1rem 1.2rem 1.25rem; flex: 1; }
.card-title { font-family: var(--display); font-size: 1.28rem; font-weight: 600; line-height: 1.22; letter-spacing: -.01em; text-wrap: balance; }
.card-dek { font-size: .9rem; color: var(--ink-soft); }
.card-meta { font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: auto; padding-top: .4rem; }
.card-lead { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.card-lead img { height: 100%; aspect-ratio: auto; min-height: 16rem; }
.card-lead .card-body { padding: clamp(1.4rem, 3vw, 2.2rem); justify-content: center; gap: .7rem; }
.card-lead .card-title { font-size: clamp(1.6rem, 3vw, 2.15rem); line-height: 1.12; }
.card-lead .card-dek { font-size: 1rem; }
@media (max-width: 50rem) { .card-lead { grid-template-columns: 1fr; } .card-lead img { aspect-ratio: 16 / 9; min-height: 0; } }

/* ---------- insights: article page ---------- */

.article-hero { padding-bottom: 1.75rem; }
.article-hero h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); }
.crumbs { display: flex; flex-wrap: wrap; gap: .5rem; font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.crumbs a { color: var(--pine); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.byline { font-size: .86rem; color: var(--muted); }
.article-figure figure { border-radius: var(--r-img); overflow: hidden; border: 1px solid var(--img-edge); box-shadow: var(--shadow-img); max-width: 58rem; margin: 0 auto; }
.article-figure img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }

.keypoints { background: var(--pine-wash); border-radius: var(--r); padding: 1.2rem 1.35rem; display: flex; flex-direction: column; gap: .7rem; margin-bottom: 2.25rem; }
.keypoints li { font-size: .95rem; }
.notice { background: var(--brass-wash); border-radius: var(--r); padding: 1rem 1.2rem; font-size: .9rem; color: var(--ink-soft); margin-bottom: 1.5rem; max-width: 46rem; }
.notice strong { color: var(--brass); }

.article { display: flex; flex-direction: column; gap: 1.1rem; }
.article p, .article li { font-size: 1.06rem; line-height: 1.72; color: var(--ink); }
.article h2 { font-size: clamp(1.45rem, 2.6vw, 1.8rem); margin-top: 1.4rem; }
.article ul.body { gap: .7rem; }
.article a { text-decoration-thickness: 1px; }
.article blockquote {
  margin: .8rem 0; padding: .2rem 0 .2rem 1.4rem; border-left: 3px solid var(--pine);
}
.article blockquote p { font-family: var(--display); font-size: clamp(1.25rem, 2.4vw, 1.55rem); line-height: 1.4; color: var(--ink); }

.sources { margin-top: 2.5rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.sources h2 { font-family: var(--mono); font-size: .72rem; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: .8rem; }
.sources ol { margin: 0; padding-left: 1.2rem; display: flex; flex-direction: column; gap: .45rem; }
.sources li { font-size: .86rem; color: var(--ink-soft); }

/* ---------- round 3: logo, menu, method, resources ---------- */

.btn-nav { padding: .72rem 1.15rem; font-size: 1rem; }
.foot-col .brand { font-size: 1.5rem; }
.foot-col .brand-mark { width: 34px; height: 34px; }
@media (max-width: 40rem) {
  .masthead .brand { font-size: 1.5rem; }
  .masthead .brand-mark { width: 34px; height: 34px; }
}

/* three-step method */
.method { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1.25rem; }
.method li { background: var(--surface); border-radius: var(--r-img); padding: 1.5rem 1.4rem 1.6rem; display: flex; flex-direction: column; gap: .6rem; border: 1px solid var(--line); }
.method-n {
  width: 2.4rem; height: 2.4rem; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: var(--pine); color: var(--on-pine); font-family: var(--display); font-size: 1.2rem; font-weight: 600;
}
.method h3 { font-family: var(--display); font-size: 1.45rem; }
.method p { font-size: .97rem; color: var(--ink-soft); }

/* resource-type jump links */
.jump { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .4rem; }
.jump a {
  display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; color: var(--ink);
  border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: .45rem .95rem; font-weight: 600; font-size: .95rem;
}
.jump a span { font-family: var(--mono); font-size: .75rem; color: var(--muted); font-weight: 400; }
.jump a:hover { border-color: var(--pine); color: var(--pine); }

/* stories: at a glance */
.glance { border: 1px solid var(--line); border-radius: var(--r); padding: 1.1rem 1.3rem; margin-bottom: 1.5rem; background: var(--surface); }
.glance dl { margin: .6rem 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: .9rem 1.5rem; }
.glance dt { font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.glance dd { margin: .2rem 0 0; font-size: .95rem; color: var(--ink); }

/* guides: checklists */
ul.checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .85rem; }
ul.checklist li { position: relative; padding-left: 2.1rem; font-size: 1.03rem; line-height: 1.6; }
ul.checklist li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 1.25rem; height: 1.25rem;
  border: 2px solid var(--pine); border-radius: 5px; background: var(--surface);
}
