/* BankruptcyBargains.com — self-contained stylesheet (no external fonts or CDNs) */
:root {
  --ink: #14202e;
  --ink-2: #3b4757;
  --muted: #6a7482;
  --paper: #fbf9f5;
  --card: #ffffff;
  --line: #e7e2d8;
  --line-2: #d9d2c4;
  --navy: #102a43;
  --gold: #b8741a;
  --gold-soft: #f6ead6;
  --green: #2f7d5b;
  --green-soft: #e3f1ea;
  --red: #b04a3a;
  --red-soft: #f8e5e1;
  --blue: #2c5d8a;
  --blue-soft: #e4edf6;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(20, 32, 46, .05), 0 6px 24px rgba(20, 32, 46, .06);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}
img, svg { max-width: 100%; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.2; color: var(--navy); margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
small, .small { font-size: .85rem; }
.muted { color: var(--muted); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 760px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(251, 249, 245, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-family: var(--serif); font-weight: 700; font-size: 1.15rem; }
.brand-mark { width: 30px; height: 30px; border-radius: 8px; background: var(--navy); display: grid; place-items: center; }
.brand-mark svg { width: 18px; height: 18px; }
.brand span.tld { color: var(--gold); font-weight: 600; }
.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-links a { text-decoration: none; color: var(--ink-2); font-size: .92rem; padding: 8px 11px; border-radius: 8px; }
.nav-links a:hover { background: #f0ebe1; color: var(--navy); }
.nav-links a.btn { color: #fff; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line-2); border-radius: 8px; padding: 7px 10px; font: inherit; color: var(--navy); cursor: pointer; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--navy); color: #fff; text-decoration: none;
  padding: 12px 20px; border-radius: 10px; font-weight: 600; font-size: .98rem;
  border: 1px solid var(--navy); cursor: pointer; font-family: var(--sans);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { color: #fff; background: #0b1f33; transform: translateY(-1px); box-shadow: 0 6px 18px rgba(16, 42, 67, .18); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line-2); }
.btn-ghost:hover { background: #fff; color: var(--navy); }
.btn-gold { background: var(--gold); border-color: var(--gold); }
.btn-gold:hover { background: #9d6214; }
.btn-sm { padding: 8px 14px; font-size: .9rem; }

/* ---------- Hero ---------- */
.hero { padding: 76px 0 40px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -40% -10% auto auto; width: 640px; height: 640px;
  background: radial-gradient(closest-side, rgba(184, 116, 26, .12), transparent 70%);
  pointer-events: none;
}
.eyebrow { display: inline-block; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: 14px; }
.hero h1 em { font-style: italic; color: var(--gold); }
.lead { font-size: 1.22rem; color: var(--ink-2); max-width: 680px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 10px; }
.hero-note { font-size: .86rem; color: var(--muted); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 46px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 20px 18px; box-shadow: var(--shadow); }
.stat b { display: block; font-family: var(--serif); font-size: 2.1rem; color: var(--navy); line-height: 1.1; margin-bottom: 6px; }
.stat span { font-size: .9rem; color: var(--ink-2); display: block; line-height: 1.45; }
.stat cite { display: block; font-style: normal; font-size: .75rem; color: var(--muted); margin-top: 8px; }

/* ---------- Sections ---------- */
section { padding: 78px 0; scroll-margin-top: 56px; }
section.alt { background: #f4f0e8; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
section.dark { background: var(--navy); color: #dbe4ee; }
section.dark h2, section.dark h3 { color: #fff; }
section.dark a { color: #f2c27c; }
.sec-head { max-width: 760px; margin-bottom: 38px; }
.sec-head p { color: var(--ink-2); font-size: 1.08rem; }
section.dark .sec-head p { color: #c3d0dd; }
.kicker { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--gold); margin-bottom: 10px; display: block; }

.grid { display: grid; gap: 18px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.card .tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; margin-bottom: 12px; }
.tag-gold { background: var(--gold-soft); color: #87540f; }
.tag-green { background: var(--green-soft); color: var(--green); }
.tag-red { background: var(--red-soft); color: var(--red); }
.tag-blue { background: var(--blue-soft); color: var(--blue); }
.card ul { padding-left: 1.1em; margin: .4em 0 0; }
.card li { margin-bottom: .35em; }

.tier { position: relative; padding-top: 58px; }
.tier .num { position: absolute; top: 20px; left: 24px; font-family: var(--serif); font-size: 1.05rem; font-weight: 700; color: var(--gold); }
.tier .alpha { position: absolute; top: 22px; right: 22px; font-size: .74rem; color: var(--muted); font-weight: 600; }

/* ---------- Discount decomposition ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 44px; align-items: center; }
.bar-xl { display: flex; height: 64px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line-2); margin: 18px 0 10px; }
.bar-xl div { display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: .92rem; text-align: center; padding: 0 8px; line-height: 1.2; }
.seg-liq { background: var(--green); flex: 1; }
.seg-maint { background: var(--red); flex: 1; }
.legend { display: flex; flex-wrap: wrap; gap: 16px; font-size: .88rem; color: var(--ink-2); }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.i-liq { background: var(--green); } .i-maint { background: var(--red); }

.modes { display: grid; gap: 12px; }
.mode { display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 16px 18px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.mode .dot { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 1rem; }
.mode.good .dot { background: var(--green-soft); color: var(--green); }
.mode.ok .dot { background: var(--blue-soft); color: var(--blue); }
.mode.bad .dot { background: var(--red-soft); color: var(--red); }
.mode h4 { font-family: var(--sans); font-size: 1rem; margin: 0 0 2px; color: var(--navy); }
.mode p { margin: 0; font-size: .93rem; color: var(--ink-2); }

/* ---------- Value premises ---------- */
.premises { display: grid; gap: 14px; margin-top: 8px; }
.prem { display: grid; grid-template-columns: 190px 1fr 92px; gap: 16px; align-items: center; }
.prem-label b { display: block; color: var(--navy); font-size: .98rem; }
.prem-label span { font-size: .8rem; color: var(--muted); }
.track { position: relative; height: 26px; background: #efe9de; border-radius: 999px; }
.range { position: absolute; top: 0; bottom: 0; border-radius: 999px; }
.r-fmv { background: var(--navy); }
.r-olv { background: var(--blue); }
.r-olvs { background: #6d93b8; }
.r-flv { background: var(--gold); }
.r-nber { background: var(--red); }
.prem-val { font-family: var(--mono); font-size: .9rem; color: var(--ink-2); text-align: right; }
.axis { display: grid; grid-template-columns: 190px 1fr 92px; gap: 16px; font-size: .74rem; color: var(--muted); }
.axis div:nth-child(2) { display: flex; justify-content: space-between; }

/* ---------- Calculator ---------- */
.calc { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
.calc-in { padding: 28px; border-right: 1px solid var(--line); }
.calc-out { padding: 28px; background: #fbfaf7; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .92rem; color: var(--navy); margin-bottom: 6px; line-height: 1.35; }
.field label span { font-weight: 400; color: var(--muted); font-size: .8rem; margin-left: 4px; white-space: nowrap; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: .98rem; color: var(--ink);
  padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 10px; background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184, 116, 26, .15); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.prefix { position: relative; }
.prefix input { padding-left: 26px; }
.prefix::before { content: "$"; position: absolute; left: 11px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: .95rem; }
.suffix { position: relative; }
.suffix input { padding-right: 30px; }
.suffix::after { content: "%"; position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: .95rem; }
.out-line { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px dashed var(--line-2); font-size: .95rem; }
.out-line span:last-child { font-family: var(--mono); }
.out-line.total { border-bottom: 2px solid var(--navy); font-weight: 700; color: var(--navy); }
.verdict { margin-top: 18px; padding: 18px; border-radius: 12px; border: 1px solid; }
.verdict b.big { display: block; font-family: var(--serif); font-size: 2.2rem; line-height: 1.1; margin: 4px 0; }
.verdict.good { background: var(--green-soft); border-color: #b9dccb; color: #1f5a40; }
.verdict.warn { background: var(--gold-soft); border-color: #ecd3ab; color: #7a4c0e; }
.verdict.bad { background: var(--red-soft); border-color: #eec3bb; color: #8a3326; }
.verdict p { margin: 6px 0 0; font-size: .9rem; }
.ceiling { margin-top: 14px; font-size: .93rem; color: var(--ink-2); }
.ceiling b { font-family: var(--mono); color: var(--navy); }
.calc-foot { font-size: .8rem; color: var(--muted); margin-top: 14px; }

/* ---------- Gates checklist ---------- */
.gates { counter-reset: gate; display: grid; gap: 12px; }
.gate { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; cursor: pointer; transition: border-color .15s, background .15s; }
.gate input { width: 22px; height: 22px; margin-top: 3px; accent-color: var(--green); cursor: pointer; }
.gate h4 { font-family: var(--sans); font-size: 1.02rem; margin: 0 0 4px; color: var(--navy); }
.gate p { margin: 0; font-size: .94rem; color: var(--ink-2); }
.gate.done { border-color: #b9dccb; background: #f6fbf8; }
.gate-progress { display: flex; align-items: center; gap: 14px; margin-top: 16px; font-size: .92rem; color: var(--ink-2); }
.gate-progress .pbar { flex: 1; height: 10px; background: #e9e3d7; border-radius: 999px; overflow: hidden; }
.gate-progress .pfill { height: 100%; width: 0; background: var(--green); transition: width .25s ease; }

/* ---------- Jurisdiction explorer ---------- */
.jx { display: grid; grid-template-columns: 250px 1fr; gap: 22px; }
.jx-list { display: flex; flex-direction: column; gap: 6px; }
.jx-list button {
  text-align: left; font: inherit; font-size: .95rem; padding: 10px 14px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--card); color: var(--ink-2); cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
}
.jx-list button:hover { border-color: var(--line-2); color: var(--navy); }
.jx-list button[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.jx-list button small { font-size: .72rem; opacity: .75; }
.jx-panel { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 28px; box-shadow: var(--shadow); }
.jx-panel h3 { font-size: 1.6rem; margin-bottom: 4px; }
.jx-sub { color: var(--muted); font-size: .92rem; margin-bottom: 18px; }
.jx-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.jx-item { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; background: #fdfcf9; }
.jx-item h5 { margin: 0 0 4px; font-size: .74rem; text-transform: uppercase; letter-spacing: .09em; color: var(--muted); font-family: var(--sans); }
.jx-item p { margin: 0; font-size: .95rem; }
.jx-item.trap { grid-column: 1 / -1; border-color: #eec3bb; background: var(--red-soft); }
.jx-item.trap h5 { color: var(--red); }
.readiness { display: inline-flex; gap: 3px; margin-left: 6px; vertical-align: 1px; }
.readiness i { width: 8px; height: 8px; border-radius: 2px; background: #ddd5c7; }
.readiness i.on { background: var(--green); }
.jx-note { font-size: .82rem; color: var(--muted); margin-top: 16px; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--card); box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 760px; }
th, td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: #f6f2ea; font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); }
tr:last-child td { border-bottom: 0; }
td b { color: var(--navy); }

/* ---------- Legal ---------- */
.law-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 30px; }
.law-strip .card b.big { font-family: var(--serif); font-size: 2rem; color: var(--navy); display: block; line-height: 1.1; }
.trap-card { border-left: 4px solid var(--red); }
details.acc { background: var(--card); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; }
details.acc summary { cursor: pointer; padding: 16px 20px; font-weight: 600; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
details.acc summary::-webkit-details-marker { display: none; }
details.acc summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--gold); }
details.acc[open] summary::after { content: "–"; }
details.acc .acc-body { padding: 0 20px 18px; color: var(--ink-2); font-size: .96rem; }
details.acc .acc-body p:last-child { margin-bottom: 0; }

/* ---------- Ethics ---------- */
.ethics { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.ethics .card.pos { border-top: 4px solid var(--green); }
.ethics .card.neg { border-top: 4px solid var(--red); }
.charter { counter-reset: ch; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.charter li { counter-increment: ch; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; padding: 20px 18px; font-size: .93rem; color: #c9d5e1; }
.charter li::before { content: counter(ch); display: block; font-family: var(--serif); font-size: 1.8rem; color: #f2c27c; margin-bottom: 6px; }
.charter li b { display: block; color: #fff; margin-bottom: 6px; font-size: 1rem; }

/* ---------- Evidence ---------- */
.rec-bars { display: grid; gap: 12px; margin-top: 10px; }
.rec { display: grid; grid-template-columns: 170px 1fr 64px; gap: 14px; align-items: center; font-size: .93rem; }
.rec .track { height: 22px; }
.rec .fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 999px; background: var(--blue); width: 0; transition: width .8s ease; }
.rec .fill.hi { background: var(--green); }
.rec .fill.lo { background: var(--gold); }
.rec .v { font-family: var(--mono); text-align: right; }

.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.case { display: flex; flex-direction: column; }
.case .meta { font-size: .82rem; color: var(--muted); margin-bottom: 10px; }
.case .lesson { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--ink-2); }
.case .lesson b { color: var(--navy); }

.conditions { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; counter-reset: cond; }
.conditions li { counter-increment: cond; display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.conditions li::before { content: counter(cond); width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-family: var(--serif); font-size: 1.2rem; font-weight: 700; }
.conditions b { color: var(--navy); display: block; }
.conditions span { color: var(--ink-2); font-size: .95rem; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; align-items: start; }
.contact ul.checks { list-style: none; padding: 0; margin: 18px 0 0; }
.contact ul.checks li { padding-left: 30px; position: relative; margin-bottom: 10px; color: var(--ink-2); }
.contact ul.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--green-soft); color: var(--green); font-size: .78rem; font-weight: 800; display: grid; place-items: center; }
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 28px; box-shadow: var(--shadow); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.optin { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--ink-2); margin: 6px 0 16px; cursor: pointer; }
.optin input { margin-top: 4px; accent-color: var(--green); }
.form-status { font-size: .92rem; margin-top: 12px; color: var(--ink-2); min-height: 1.2em; }
.fineprint { font-size: .76rem; color: var(--muted); line-height: 1.55; margin-top: 14px; }

/* ---------- Sources ---------- */
.sources ol { columns: 2; column-gap: 36px; font-size: .84rem; color: var(--ink-2); padding-left: 1.3em; }
.sources li { margin-bottom: 6px; break-inside: avoid; }
.sources a { word-break: break-word; }

/* ---------- Footer ---------- */
footer.site-footer { background: #0c1f33; color: #9fb0c2; padding: 54px 0 34px; font-size: .88rem; }
footer.site-footer a { color: #e9c08a; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 30px; margin-bottom: 30px; }
.foot-grid h4 { font-family: var(--sans); color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 12px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; }
.foot-grid li { margin-bottom: 6px; }
.foot-legal { border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px; font-size: .8rem; line-height: 1.6; color: #8497ab; }
.foot-legal p { margin-bottom: .8em; }
.foot-legal strong { color: #c4d1de; }

.foot-brand { color: #fff; }
.foot-about { margin-top: 12px; max-width: 380px; }
#where-now, #fees-intro, #synthesis { margin-top: 26px; }
#synthesis { margin-top: 56px; align-items: start; }
#cases { margin: 52px 0 18px; font-size: 1.5rem; }
#legal h3.reveal { margin-bottom: 14px; }

/* ---------- Simple page (privacy / 404) ---------- */
.page { padding: 60px 0 80px; }
.page h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.page h2 { font-size: 1.35rem; margin-top: 1.8em; }
.page ul { padding-left: 1.2em; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .charter { grid-template-columns: repeat(2, 1fr); }
  .cases { grid-template-columns: 1fr 1fr; }
  .g4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 880px) {
  .nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 10px 16px 16px; }
  .nav-links.open { display: flex; }
  .menu-toggle { display: inline-block; }
  .stats { grid-template-columns: 1fr 1fr; }
  .split, .calc, .jx, .contact, .ethics { grid-template-columns: 1fr; }
  .calc-in { border-right: 0; border-bottom: 1px solid var(--line); }
  .g3, .law-strip { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .jx-list { flex-direction: row; flex-wrap: wrap; }
  .jx-list button { flex: 1 1 auto; }
  .jx-list button small { display: none; }
  .sources ol { columns: 1; }
  .prem, .axis { grid-template-columns: 120px 1fr 70px; gap: 10px; }
  .rec { grid-template-columns: 120px 1fr 56px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  section { padding: 58px 0; }
  .hero { padding-top: 48px; }
  .g2, .cases, .g4, .charter, .jx-grid { grid-template-columns: 1fr; }
  .row2 { grid-template-columns: 1fr; }
  .stat b { font-size: 1.7rem; }
  .prem, .axis { grid-template-columns: 1fr; gap: 4px; }
  .axis div:first-child, .axis div:last-child { display: none; }
  .prem-val { text-align: left; }
}
