/* LexPK document pages: For Firms, For Advocates, Privacy, Terms, Data & Security.
   One system: DM Sans, large tight headings, a quiet label column, words that darken as you scroll. */
@font-face { font-family: 'DM Sans'; src: url('/fonts/dm-sans-latin-normal-1c49a6.woff2') format('woff2'); font-weight: 100 1000; font-display: swap; }
:root { --bg: #FAFAF8; --ink: #14181a; --ink2: #3b403d; --mute: #6b706d; --soft: #c5c7c3; --line: #e4e5e1; --card: #fff; --em: #0b4a33; --em2: #0f5c40; --mint: #e8f3ee; --gold: #8a6d1d; }
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: light; }
body { font-family: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; background: var(--bg); color: var(--ink2); -webkit-font-smoothing: antialiased; line-height: 1.6; }
a { color: var(--em); text-underline-offset: 3px; }
code { font: 13px ui-monospace, SFMono-Regular, Menlo, monospace; background: #f0f1ee; padding: 1px 6px; border-radius: 4px; }

/* top bar */
.bar { display: flex; align-items: center; justify-content: space-between; max-width: 1240px; margin: 0 auto; padding: 22px 28px; }
.bar a { text-decoration: none; font-size: 15px; color: var(--mute); }
.bar .brand { font-size: 22px; font-weight: 600; letter-spacing: -.02em; color: var(--ink); }
.bar .brand b { color: var(--em); font-weight: 600; }
.bar .go { background: var(--em); color: #fff; padding: 9px 18px; border-radius: 999px; font-weight: 500; }
.bar .go:hover { background: var(--em2); }

/* header */
.header { max-width: 1100px; margin: 0 auto; padding: 64px 28px 56px; }
.header-inner { max-width: 880px; }
.badge { display: block; font-size: 18px; color: var(--ink); font-weight: 400; background: none; border: 0; padding: 0; }
.header h1 { font-size: clamp(42px, 6.8vw, 84px); font-weight: 450; letter-spacing: -.045em; line-height: 1.0; color: var(--ink); margin: 24px 0 30px; text-wrap: balance; }
.header h1 .accent { color: var(--mute); }
.header .lede, .header p { font-size: clamp(17px, 1.7vw, 20px); line-height: 1.5; color: var(--ink); max-width: 640px; }
.header p + p { margin-top: 12px; }
.header .date { font-size: 14px; color: var(--mute); margin-top: 22px; }
.header .rule { display: none; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.btn { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 22px; border-radius: 999px; font-size: 15px; font-weight: 500; text-decoration: none; border: 1px solid transparent; transition: background .2s, border-color .2s; }
.btn svg { flex: none; }
.btn-solid { background: var(--em); color: #fff; }
.btn-solid:hover { background: var(--em2); }
.btn-line { background: transparent; color: var(--ink); border-color: #cfd1cc; }
.btn-line:hover { border-color: var(--ink); }

/* summary, as the opening statement */
.content { max-width: 1100px; margin: 0 auto; padding: 0 28px 40px; }
.summary { font-size: clamp(24px, 3vw, 36px); font-weight: 450; letter-spacing: -.025em; line-height: 1.2; color: var(--ink); background: none; border: 0; padding: 40px 0 56px; max-width: 900px; }
.summary strong { font-weight: 450; color: var(--mute); }
.toc { padding: 0 0 48px; border-bottom: 1px solid var(--line); }
.toc-title { font-size: 14px; color: var(--mute); margin-bottom: 14px; }
.toc ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.toc a { display: inline-block; text-decoration: none; font-size: 14px; color: var(--ink); border: 1px solid var(--line); background: var(--card); padding: 6px 14px; border-radius: 999px; transition: border-color .2s; }
.toc a:hover { border-color: var(--ink); }
.toc a span { color: var(--mute); margin-right: 8px; }

/* sections: a label column and a text column */
.section, .content > section { display: grid; grid-template-columns: 230px minmax(0, 1fr); column-gap: 40px; padding: 64px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 12px; }
.content > section:last-child, .section:last-child { border-bottom: 0; }
.section > *, .content > section > * { grid-column: 2; min-width: 0; }
.section > h2 { grid-column: 1; grid-row: 1; font-size: 19px; font-weight: 500; letter-spacing: -.01em; color: var(--ink); line-height: 1.3; }
.section > h2 .num { color: var(--mute); margin-right: 10px; font-weight: 400; }
.content > section > .kicker { grid-column: 1; grid-row: 1; font-size: 19px; font-weight: 500; color: var(--ink); text-transform: none; letter-spacing: -.01em; margin: 0; }
.content > section > h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 450; letter-spacing: -.035em; line-height: 1.06; color: var(--ink); margin: 0 0 22px; text-wrap: balance; }
h3 { font-size: 18px; font-weight: 500; color: var(--ink); margin-bottom: 6px; letter-spacing: -.01em; }
p { font-size: 17px; line-height: 1.65; color: var(--ink2); }
p + p { margin-top: 16px; }
.section p, .section li { font-size: 17px; line-height: 1.7; margin-bottom: 14px; color: var(--ink2); }
.section ul, .section ol { list-style: none; padding: 0; }
.section li { padding-left: 22px; position: relative; }
.section li::before { content: ""; position: absolute; left: 2px; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: var(--em); }
.section strong, p strong { color: var(--ink); font-weight: 600; }
.callout, .note-box { background: var(--mint); border: 0; border-radius: 14px; padding: 18px 22px; font-size: 15.5px; color: var(--em); line-height: 1.6; margin-top: 18px; }

/* cards, grids, stats */
.grid-2, .grid-3 { display: grid; gap: 0 36px; margin-top: 30px; }
.grid-2 { grid-template-columns: 1fr 1fr; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { background: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 22px 0 28px; }
.card p { font-size: 16px; color: var(--mute); }
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat b { font-size: 44px; font-weight: 450; letter-spacing: -.04em; color: var(--ink); line-height: 1; font-variant-numeric: tabular-nums; }
.stat span { font-size: 15px; color: var(--mute); }
.chain { display: flex; flex-direction: column; margin-top: 22px; }
.chain-row { display: flex; align-items: center; gap: 14px; border-top: 1px solid var(--line); padding: 14px 0; }
.chain-row .mono { font: 600 13px ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--ink); }
.chain-row .role { font-size: 14px; color: var(--mute); margin-left: auto; text-align: right; }
.step { width: 26px; height: 26px; border-radius: 50%; background: var(--mint); color: var(--em); font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; margin-bottom: 10px; }

/* tables */
.table-wrap { overflow-x: auto; margin-top: 26px; }
table { width: 100%; border-collapse: collapse; min-width: 560px; background: none; border: 0; }
thead th { text-align: left; font-size: 13px; font-weight: 500; color: var(--mute); padding: 0 18px 12px 0; border-bottom: 1px solid var(--ink); background: none; text-transform: none; letter-spacing: 0; }
tbody td { padding: 16px 18px 16px 0; border-bottom: 1px solid var(--line); font-size: 16px; color: var(--ink2); vertical-align: top; line-height: 1.5; }
tbody tr:last-child td { border-bottom: 0; }
tbody td:first-child { color: var(--ink); font-weight: 500; }
tbody td .price, .price { font-weight: 600; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
tbody td .note { display: block; font-size: 14px; color: var(--mute); margin-top: 3px; }
.pill { display: inline-flex; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: #f4ecd6; color: var(--gold); }

ul.plain { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
ul.plain li { display: flex; gap: 12px; font-size: 17px; color: var(--ink2); line-height: 1.6; }
ul.plain li svg { flex-shrink: 0; margin-top: 5px; }
details { border-top: 1px solid var(--line); padding: 18px 0; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { font-size: 18px; font-weight: 500; cursor: pointer; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--em); font-size: 22px; line-height: 1; }
details[open] summary::after { content: "\2212"; }
details p { margin-top: 12px; font-size: 16.5px; }

/* footer */
.footer { border-top: 1px solid var(--line); background: #fff; padding: 28px; }
.footer-inner, .footer > div { max-width: 1100px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; align-items: center; font-size: 14px; color: var(--mute); }
.footer .links, .footer span:last-child { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer a { color: var(--mute); text-decoration: none; margin: 0; }
.footer a:hover { color: var(--ink); }

/* scroll-darkening words */
.js .rv .w { color: var(--soft); transition: color .3s ease; }
.js .rv .w.on { color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .js .rv .w { color: inherit; transition: none; } }

@media (max-width: 800px) {
  .bar { padding: 18px 20px; }
  .header { padding: 40px 20px 40px; }
  .content { padding: 0 20px 24px; }
  .section, .content > section { grid-template-columns: 1fr; padding: 44px 0; }
  .section > *, .content > section > * { grid-column: 1; }
  .section > h2, .content > section > .kicker { grid-column: 1; grid-row: auto; margin-bottom: 14px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  p, .section p, .section li { font-size: 16.5px; }
  .summary { padding: 24px 0 40px; }
}
