/* Moneta legal pages — v0.7.1. Banknote identity: engraved green, brass seal, serif titles. */
@font-face { font-family: 'Manrope'; font-weight: 400; font-display: swap; src: url(/fonts/Manrope-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Manrope'; font-weight: 700; font-display: swap; src: url(/fonts/Manrope-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'Manrope'; font-weight: 800; font-display: swap; src: url(/fonts/Manrope-800-normal.woff2) format('woff2'); }
@font-face { font-family: 'Instrument Serif'; font-style: normal; font-display: swap; src: url(/fonts/InstrumentSerif-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-display: swap; src: url(/fonts/InstrumentSerif-400-italic.woff2) format('woff2'); }
:root {
  --note: #0b1f19; --note-2: #123328; --engrave: #7fc5a6; --paper: #f2f5ee; --sheet: #fbfcf8; --ink: #0f2a22; --ink-2: #44594f;
  --mint: #0c7f59; --brass: #a8822f; --brass-2: #e3c477; --rule: #d4e0d7;
  --display: 'Instrument Serif', 'Iowan Old Style', Georgia, serif; --body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: max(clamp(16px, 4vw, 56px), calc((100% - 1240px) / 2));
}
@media (prefers-color-scheme: dark) {
  :root { --paper: #08150f; --sheet: #0d1d17; --ink: #e6efe8; --ink-2: #a8bbb0; --mint: #3fd6a0; --brass: #d8b45e; --rule: #21392f; }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16.5px/1.7 var(--body); -webkit-font-smoothing: antialiased; }
a { color: var(--mint); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 12px; }
.bar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; padding: 14px var(--gutter); background: color-mix(in srgb, var(--note) 90%, transparent); backdrop-filter: blur(12px) saturate(1.3); -webkit-backdrop-filter: blur(12px) saturate(1.3); border-bottom: 1px solid rgba(227, 196, 119, .16); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #f3f1e7; text-decoration: none; font: 400 26px/1 var(--display); letter-spacing: -.01em; }
.coin { width: 22px; height: 22px; border-radius: 50%; background: radial-gradient(circle at 34% 30%, #f6e2a6, #c9a24c 48%, #8a6a24 100%); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35), 0 1px 3px rgba(0,0,0,.4); }
.bar-r { display: flex; align-items: center; gap: 18px; }
.lang { color: #cfe2d7; font-weight: 700; font-size: 14px; text-decoration: none; }
.lang:hover { color: #fff; }
.cta { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: 999px; background: var(--brass-2); color: #1b1404; font-weight: 800; font-size: 14px; text-decoration: none; box-shadow: inset 0 -2px 0 rgba(0,0,0,.12); }
.cta:hover { background: #f0d48c; }
.hero { position: relative; overflow: hidden; background: radial-gradient(120% 140% at 80% 0%, var(--note-2) 0%, var(--note) 55%); color: #eef3ec; padding: clamp(56px, 9vw, 112px) var(--gutter) clamp(84px, 10vw, 128px); isolation: isolate; }
.hero::after { content: ''; position: absolute; inset: 14px; border: 1px solid rgba(227, 196, 119, .22); border-radius: 18px; pointer-events: none; }
.engrave { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .9; }
.engrave path { fill: none; stroke: var(--engrave); stroke-width: .7; opacity: var(--o, .3); }
.engrave .w { stroke: var(--brass-2); opacity: .16; stroke-width: .8; }
@media (prefers-reduced-motion: no-preference) {
  .engrave path { stroke-dasharray: 9000; stroke-dashoffset: 9000; animation: draw 2.6s cubic-bezier(.3,.6,.2,1) forwards; }
  .engrave .g1 { animation-delay: .15s; } .engrave .g2 { animation-delay: .3s; } .engrave .g3 { animation-delay: .45s; } .engrave .w { animation-duration: 1.8s; animation-delay: .6s; }
  @keyframes draw { to { stroke-dashoffset: 0; } }
}
.hero-in { max-width: 760px; position: relative; }
.kicker { margin: 0 0 14px; font: italic 400 22px/1 var(--display); color: var(--brass-2); }
h1 { margin: 0; font: 400 clamp(50px, 8.4vw, 112px)/.95 var(--display); letter-spacing: -.025em; text-wrap: balance; }
.lede { margin: 24px 0 0; max-width: 54ch; font-size: clamp(17px, 1.5vw, 20px); color: #c9dacf; }
.seal { position: absolute; right: var(--gutter); bottom: clamp(30px, 5vw, 56px); width: 136px; height: 136px; border-radius: 50%; display: grid; place-content: center; text-align: center; gap: 2px;
  background: radial-gradient(circle at 35% 30%, #f7e6b0, #d3ad57 46%, #9b7629 100%); color: #2a1e05;
  box-shadow: 0 0 0 6px rgba(227,196,119,.14), 0 18px 40px rgba(0,0,0,.35), inset 0 0 0 2px rgba(255,255,255,.35), inset 0 0 0 9px rgba(122, 90, 28, .25); transform: rotate(-8deg); }
.seal span { font-size: 11px; font-weight: 800; opacity: .75; padding: 0 14px; line-height: 1.2; }
.seal b { font: 400 21px/1.05 var(--display); padding: 0 16px; }
@media (max-width: 760px) { .seal { position: static; margin: 32px 0 0; transform: rotate(-4deg); width: 116px; height: 116px; } .seal b { font-size: 18px; } }
.short { position: relative; z-index: 2; margin: -44px var(--gutter) 0; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--sheet); border: 1px solid var(--rule); border-radius: 16px; box-shadow: 0 24px 48px -28px rgba(11, 31, 25, .45); }
.short div { padding: 22px 26px; display: flex; flex-direction: column; gap: 4px; }
.short div + div { border-left: 1px solid var(--rule); }
.short b { font: 400 23px/1.15 var(--display); color: var(--ink); }
.short span { font-size: 15px; color: var(--ink-2); line-height: 1.5; }
@media (max-width: 860px) { .short { grid-template-columns: 1fr; } .short div + div { border-left: 0; border-top: 1px solid var(--rule); } }
.wrap { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); padding: clamp(48px, 6vw, 80px) var(--gutter) 64px; }
.toc { position: sticky; top: 92px; align-self: start; }
.toc-h { margin: 0 0 12px; font: italic 400 19px/1 var(--display); color: var(--ink-2); }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--rule); }
.toc a { display: flex; gap: 10px; padding: 7px 0 7px 16px; margin-left: -1px; border-left: 2px solid transparent; color: var(--ink-2); text-decoration: none; font-size: 14.5px; line-height: 1.35; }
.toc a:hover { color: var(--ink); }
.toc a.on { color: var(--ink); border-left-color: var(--brass); font-weight: 700; }
.toc .n { font: 400 16px/1.2 var(--display); color: var(--brass); min-width: 14px; }
.print { margin-top: 22px; background: none; border: 1px solid var(--rule); color: var(--ink-2); border-radius: 999px; padding: 8px 14px; font: 700 13px var(--body); cursor: pointer; }
.print:hover { border-color: var(--brass); color: var(--ink); }
.doc { max-width: 72ch; }
.doc section { padding: 6px 0 28px; }
.doc section + section { border-top: 1px solid var(--rule); padding-top: 30px; }
.doc h2 { display: flex; align-items: baseline; gap: 14px; margin: 0 0 14px; font: 400 clamp(30px, 3.2vw, 40px)/1.08 var(--display); letter-spacing: -.01em; }
.doc h2 .n { font: italic 400 .7em/1 var(--display); color: var(--brass); min-width: 1.1em; }
.doc p { margin: 0 0 14px; }
.doc ul, .doc ol { margin: 0 0 14px; padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc li::marker { color: var(--brass); }
.doc b { font-weight: 700; }
.doc table { width: 100%; border-collapse: collapse; margin: 6px 0 18px; font-size: 15px; background: var(--sheet); border: 1px solid var(--rule); border-radius: 12px; display: block; overflow-x: auto; }
.doc thead th { text-align: left; font-weight: 800; font-size: 13.5px; color: var(--ink-2); background: color-mix(in srgb, var(--brass) 10%, var(--sheet)); }
.doc th, .doc td { padding: 11px 14px; vertical-align: top; border-bottom: 1px solid var(--rule); }
.doc tbody tr:last-child > * { border-bottom: 0; }
.doc tbody th { text-align: left; white-space: nowrap; color: var(--ink-2); font-weight: 700; width: 1%; }
.doclist { list-style: none; padding: 0 !important; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.doclist li { margin: 0; }
.doclist a { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 16px 18px; border: 1px solid var(--rule); border-radius: 14px; background: var(--sheet); text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s; }
.doclist a:hover { border-color: var(--brass); transform: translateY(-1px); }
.doclist .dt { font: 400 22px/1.1 var(--display); }
.doclist .dd { font-size: 14px; color: var(--ink-2); line-height: 1.45; }
.totop { margin-top: 24px; font-size: 14px; }
@media (max-width: 960px) {
  .wrap { grid-template-columns: minmax(0, 1fr); }
  .toc, .doc { min-width: 0; }
  .toc { position: static; }
  .toc ol { display: flex; gap: 8px; overflow-x: auto; border: 0; padding-bottom: 6px; scrollbar-width: none; }
  .toc li { flex: none; }
  .toc a { border: 1px solid var(--rule); border-radius: 999px; padding: 7px 14px; margin: 0; white-space: nowrap; }
  .toc a.on { border-color: var(--brass); }
  .print { display: none; }
}
.foot { background: var(--note); color: #c6d6cc; padding: 56px var(--gutter) 64px; }
.foot-in { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; }
.foot nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 24px; align-content: start; }
.foot nav a { color: #e6efe8; text-decoration: none; font-size: 15px; }
.foot nav a:hover, .foot nav a[aria-current] { color: var(--brass-2); }
.foot-h { grid-column: 1 / -1; margin: 0 0 8px; font: italic 400 20px/1 var(--display); color: var(--brass-2); }
.foot-co p { font-size: 14.5px; margin: 12px 0 0; }
.foot-co a:not(.brand) { color: var(--brass-2); }
.foot .fine { font-size: 13px; color: #94aa9e; }
@media (max-width: 860px) { .foot-in { grid-template-columns: 1fr; } }
@media print {
  .bar, .toc, .foot nav, .engrave, .cta, .totop, .short { display: none !important; }
  .hero { background: none; color: #000; padding: 0 0 12px; } .hero::after { display: none; } .lede { color: #333; }
  .seal { position: static; transform: none; box-shadow: none; width: auto; height: auto; background: none; display: block; text-align: left; color: #000; } .seal b { padding: 0; font-size: 14px; }
  .wrap { display: block; padding: 0; } body { background: #fff; color: #000; font-size: 11pt; } .foot { background: none; color: #000; padding: 12px 0; }
}
@media (max-width: 640px) {
  .doc table:has(thead) { display: block; border: 0; background: none; }
  .doc table:has(thead) thead { display: none; }
  .doc table:has(thead) tbody, .doc table:has(thead) tr { display: block; }
  .doc table:has(thead) tr { background: var(--sheet); border: 1px solid var(--rule); border-radius: 14px; padding: 14px 16px; margin-bottom: 10px; }
  .doc table:has(thead) td { display: block; border: 0; padding: 0; }
  .doc table:has(thead) td + td { margin-top: 8px; font-size: 14.5px; color: var(--ink-2); }
  .doc table:has(thead) td + td::before { content: attr(data-label); display: block; font: italic 400 15px/1.2 var(--display); color: var(--brass); }
}
