@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/Fraunces-700.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Karla"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/Karla-400.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Karla"; font-style: italic; font-weight: 400; font-display: swap; src: url("/fonts/Karla-400i.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Karla"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/Karla-700.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/JetBrainsMono-500.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Lolajack review: warm paper, ink text, one deep wine colour for action and accents */
:root {
  --paper: #f6efe3; --sheet: #fffaf1; --ink: #2a1c19; --muted: #67554d; --line: #e2d4c1;
  --wine: #7a1c2c; --wine-hover: #5f1320; --on-wine: #fff7ee; --wine-tint: #f2e1db;
  --moss: #2f5a39; --moss-tint: #e3ecdc; --rust: #84400e; --rust-tint: #f7e6d2;
  --bar-bg: #2a1c19; --bar-ink: #f6efe3;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Karla", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --paper: #16110f; --sheet: #211915; --ink: #efe5d8; --muted: #b9a698; --line: #3b2d27;
  --wine: #ec98a3; --wine-hover: #f6b3bb; --on-wine: #2a0a10; --wine-tint: #36191e;
  --moss: #9fcfa7; --moss-tint: #172619; --rust: #f2b47f; --rust-tint: #33220f;
  --bar-bg: #0e0a09; --bar-ink: #eadfd2; color-scheme: dark; } }
:root[data-theme="dark"] {
  --paper: #16110f; --sheet: #211915; --ink: #efe5d8; --muted: #b9a698; --line: #3b2d27;
  --wine: #ec98a3; --wine-hover: #f6b3bb; --on-wine: #2a0a10; --wine-tint: #36191e;
  --moss: #9fcfa7; --moss-tint: #172619; --rust: #f2b47f; --rust-tint: #33220f;
  --bar-bg: #0e0a09; --bar-ink: #eadfd2; color-scheme: dark; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 18px/1.65 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: var(--wine); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--wine); }
:focus-visible { outline: 3px solid var(--wine); outline-offset: 2px; }
.lj-wrap { max-width: 1240px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.lj-top { background: var(--bar-bg); color: var(--bar-ink); font: 500 12.5px/1.45 var(--mono); letter-spacing: .02em; }
.lj-top .lj-wrap { display: flex; flex-wrap: wrap; gap: 4px 22px; padding-top: 8px; padding-bottom: 8px; }
.lj-mast { background: var(--sheet); border-bottom: 1px solid var(--line); }
.lj-mast .lj-wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 28px; padding-top: 16px; padding-bottom: 16px; }
.lj-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 21px/1.1 var(--serif); }
.lj-logo:hover { color: inherit; }
.lj-mark { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: var(--wine); color: var(--on-wine); font: 700 15px/1 var(--serif); }
.lj-logo em { font-style: normal; color: var(--wine); }
.lj-nav { display: flex; flex-wrap: wrap; gap: 2px 20px; font-size: 16px; }
.lj-nav a { text-decoration: none; padding: 4px 0; }
.lj-nav a[aria-current="page"] { color: var(--wine); font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.1; margin: 0; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(30px, 3.4vw, 44px); }
h2 { font-size: clamp(26px, 3vw, 38px); }
h3 { font-size: 21px; line-height: 1.25; }
p { margin: 0; }
.lj-byline, .lj-crumbs { font: 500 12.5px/1.5 var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.lj-crumbs a { text-decoration: none; }
.lj-open { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 44px; align-items: center; padding-top: 48px; padding-bottom: 40px; }
.lj-copy { display: grid; gap: 18px; min-width: 0; }
.lj-lede { font-size: 20px; max-width: 60ch; }
.lj-pic { margin: 0; position: relative; min-width: 0; }
.lj-pic img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 12px; }
.lj-pic figcaption { font-size: 14px; color: var(--muted); margin-top: 10px; }
.lj-tag { position: absolute; left: 14px; top: 14px; max-width: calc(100% - 28px); background: rgba(22, 15, 13, .86); color: #f6efe3; font: 500 12px/1.5 var(--mono); padding: 7px 12px; border-radius: 8px; }
.lj-go { display: inline-flex; align-items: center; gap: 10px; background: var(--wine); color: var(--on-wine); font: 700 17px/1.25 var(--sans); padding: 15px 24px; border-radius: 8px; text-decoration: none; width: fit-content; max-width: 100%; }
.lj-go:hover { background: var(--wine-hover); color: var(--on-wine); }
.lj-go span { display: inline-block; }
.lj-act { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.lj-small { font-size: 14px; color: var(--muted); max-width: 54ch; }
.lj-sec { padding-top: 60px; padding-bottom: 60px; }
.lj-band { background: var(--sheet); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lj-prose { max-width: 64ch; display: grid; gap: 16px; min-width: 0; }
.lj-head { max-width: 66ch; display: grid; gap: 14px; margin-bottom: 26px; }
.lj-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.lj-pair.lj-top-align { align-items: start; }
.lj-gap { margin-top: 28px; }
.lj-src { font-size: 15px; color: var(--muted); }
.lj-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.lj-stats div { background: var(--sheet); padding: 20px 22px; display: grid; gap: 4px; align-content: start; }
.lj-stats b { font: 700 clamp(28px, 3vw, 40px)/1 var(--serif); color: var(--wine); }
.lj-stats span { font-size: 15px; color: var(--muted); }
.lj-file { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; }
.lj-file div { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; display: grid; gap: 8px; align-content: start; }
.lj-file dt { font: 500 12px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.lj-file dd { margin: 0; font: 700 20px/1.3 var(--serif); }
.lj-file dd small { display: block; font: 500 12px/1.5 var(--mono); color: var(--muted); margin-top: 6px; }
.lj-stamp { display: inline-block; transform: rotate(-2.5deg); border: 2px solid var(--wine); color: var(--wine); border-radius: 6px; padding: 2px 10px; font: 500 13px/1.5 var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.lj-score { background: var(--sheet); border: 1px solid var(--line); border-radius: 14px; padding: 26px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px; align-items: center; }
.lj-big { font: 700 clamp(64px, 8vw, 104px)/.9 var(--serif); color: var(--wine); }
.lj-big small { display: block; font: 500 13px/1.4 var(--mono); color: var(--muted); margin-top: 10px; letter-spacing: .05em; }
.lj-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; min-width: 0; }
.lj-bars li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; font-size: 15px; }
.lj-bars b { font: 500 14px/1.5 var(--mono); }
.lj-bars i { grid-column: 1 / -1; height: 8px; border-radius: 99px; background: var(--line); overflow: hidden; }
.lj-bars i::before { content: ""; display: block; height: 100%; width: calc(var(--v) * 10%); background: var(--wine); border-radius: 99px; }
.lj-ledger { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--sheet); max-width: 100%; }
.lj-band .lj-ledger { background: var(--paper); }
.lj-ledger table { border-collapse: collapse; width: 100%; font-size: 16px; }
.lj-ledger.lj-wide table { min-width: 620px; }
.lj-ledger th, .lj-ledger td { text-align: left; vertical-align: top; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.lj-ledger thead th { font: 500 12px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: var(--wine-tint); }
.lj-ledger tbody tr:last-child td { border-bottom: 0; }
.lj-ledger tfoot td { font-weight: 700; border-top: 1px solid var(--muted); border-bottom: 0; }
.lj-n { font-family: var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.lj-sum { font: 500 15px/1.6 var(--mono); background: var(--sheet); border: 1px dashed var(--muted); border-radius: 12px; padding: 22px 24px; display: grid; gap: 8px; min-width: 0; }
.lj-band .lj-sum { background: var(--paper); }
.lj-sum h3 { margin-bottom: 6px; }
.lj-sum div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 16px; border-bottom: 1px dotted var(--line); padding-bottom: 7px; }
.lj-sum div:last-child { border-bottom: 0; padding-bottom: 0; }
.lj-sum b { font-weight: 500; color: var(--wine); }
.lj-aside { background: var(--wine-tint); border-radius: 12px; padding: 20px 22px; display: grid; gap: 8px; align-content: start; }
.lj-ok { background: var(--moss-tint); }
.lj-ok h3 { color: var(--moss); }
.lj-warn { background: var(--rust-tint); }
.lj-warn h3 { color: var(--rust); }
.lj-aside ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.lj-sides { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.lj-weights { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.lj-weights div { border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; background: var(--sheet); display: grid; gap: 6px; align-content: start; }
.lj-band .lj-weights div { background: var(--paper); }
.lj-weights b { font: 700 32px/1 var(--serif); color: var(--wine); }
.lj-weights span { font-size: 16px; }
.lj-costs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.lj-costs li { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; display: grid; gap: 8px; align-content: start; }
.lj-clause { font: 500 12px/1.4 var(--mono); color: var(--wine); text-transform: uppercase; letter-spacing: .07em; }
.lj-steps { list-style: none; counter-reset: lj; margin: 0; padding: 0; display: grid; gap: 14px; }
.lj-steps li { counter-increment: lj; display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 12px; align-items: start; }
.lj-steps li::before { content: counter(lj); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--wine-tint); color: var(--wine); font: 700 17px/1 var(--serif); }
.lj-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.lj-cards div { background: var(--sheet); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; display: grid; gap: 6px; align-content: start; }
.lj-band .lj-cards div { background: var(--paper); }
.lj-cards h3 { font-size: 19px; }
.lj-cards p { font-size: 16px; color: var(--muted); }
.lj-qa { display: grid; gap: 10px; }
.lj-qa details { background: var(--sheet); border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; }
.lj-band .lj-qa details { background: var(--paper); }
.lj-qa summary { cursor: pointer; font: 700 18px/1.4 var(--sans); }
.lj-qa details p { margin-top: 10px; max-width: 72ch; }
.lj-next { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 22px; font-weight: 700; }
.lj-foot { background: var(--bar-bg); color: var(--bar-ink); }
.lj-foot .lj-wrap { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px; padding-top: 40px; padding-bottom: 40px; font-size: 15px; }
.lj-foot a { color: var(--bar-ink); }
.lj-foot p + p { margin-top: 12px; }
.lj-foot nav { display: grid; gap: 8px; align-content: start; }
@media (max-width: 900px) {
  .lj-open, .lj-pair, .lj-sides, .lj-score, .lj-foot .lj-wrap { grid-template-columns: minmax(0, 1fr); }
  .lj-file { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lj-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lj-open { padding-top: 30px; gap: 26px; }
  .lj-sec { padding-top: 44px; padding-bottom: 44px; }
  .lj-pair { gap: 28px; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .lj-lede { font-size: 18px; }
  .lj-file { grid-template-columns: minmax(0, 1fr); }
  .lj-stats div { padding: 16px; }
  .lj-stats b { font-size: 26px; }
  .lj-go { font-size: 16px; padding: 14px 18px; }
  .lj-score { padding: 20px; }
  .lj-sum { padding: 18px; }
}
@media (max-width: 359px) { .lj-stats { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: no-preference) { .lj-go { transition: background-color .15s ease; } }
