/* KindleX legal centre — public, no JavaScript */
:root { --accent: #1F4FFF; --ink: #0E1726; --slate: #4B5878; --faint: #8A93A6; --line: #E2E6ED; --paper: #F5F6F8; --surface: #FFFFFF; --plate: #0B1220;
  --display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif; --ui: "Instrument Sans", ui-sans-serif, system-ui, sans-serif; --code: "JetBrains Mono", ui-monospace, monospace; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.6 var(--ui); -webkit-font-smoothing: antialiased; }
a { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 3px; }

.lg-top { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; padding: 0 max(20px, calc((100vw - 1200px) / 2)); background: rgba(245, 246, 248, .88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.lg-brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.lg-brand b { display: block; font: 700 16px/1.1 var(--display); letter-spacing: -.02em; }
.lg-brand small { display: block; font-size: 12px; color: var(--slate); }
.lg-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--accent); color: #fff; font: 800 16px var(--display); }
.lg-mark.sm { width: 28px; height: 28px; border-radius: 8px; font-size: 13px; flex: none; }
.lg-topnav { display: flex; align-items: center; gap: 18px; font-size: 14px; }
.lg-topnav a { color: var(--slate); text-decoration: none; }
.lg-topnav a:hover { color: var(--ink); }
.lg-btn { padding: 8px 14px; border-radius: 10px; background: var(--ink); color: #fff !important; font-weight: 600; }

.lg-index { max-width: 1200px; margin: 0 auto; padding: 0 20px 64px; }
.lg-hero { padding: 64px 0 40px; max-width: 760px; }
.lg-kicker { font-size: 14px; color: var(--slate); margin: 0 0 10px; }
.lg-hero h1 { font: 700 clamp(36px, 6vw, 64px)/1 var(--display); letter-spacing: -.045em; margin: 0; }
.lg-hero p { font-size: 17px; color: var(--slate); }
.lg-meta { font-size: 13px !important; color: var(--faint) !important; }
.lg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.lg-card { display: grid; gap: 6px; padding: 20px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); color: inherit; text-decoration: none; transition: border-color .15s, transform .15s; }
.lg-card:hover { border-color: var(--accent); transform: translateY(-1px); }
.lg-card b { font: 650 17px var(--display); letter-spacing: -.01em; }
.lg-card span { font-size: 14px; color: var(--slate); line-height: 1.5; }
.lg-company { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1px; margin-top: 32px; border-radius: 16px; overflow: hidden; background: var(--line); border: 1px solid var(--line); }
.lg-company div { padding: 16px 18px; background: var(--surface); }
.lg-company span { display: block; font-size: 12px; color: var(--faint); }
.lg-company b { font-weight: 600; font-size: 14.5px; word-break: break-word; }

.lg-layout { display: grid; grid-template-columns: 240px minmax(0, 760px); gap: 56px; max-width: 1200px; margin: 0 auto; padding: 40px 20px 72px; }
.lg-side { position: sticky; top: 96px; align-self: start; display: grid; gap: 2px; font-size: 14px; }
.lg-side a { padding: 7px 12px; border-radius: 8px; color: var(--slate); text-decoration: none; }
.lg-side a:hover { background: var(--surface); color: var(--ink); }
.lg-side a.on { background: var(--surface); color: var(--ink); font-weight: 600; box-shadow: inset 3px 0 0 var(--accent); }
.lg-side .lg-back { color: var(--faint); font-size: 13px; margin-bottom: 8px; }
.lg-doc header h1 { font: 700 clamp(32px, 5vw, 48px)/1.05 var(--display); letter-spacing: -.04em; margin: 0; }
.lg-lede { font-size: 18px; color: var(--slate); margin: 14px 0 6px; }
.lg-doc header { padding-bottom: 22px; border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.lg-toc { display: grid; gap: 4px; padding: 18px 20px; margin-bottom: 28px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; }
.lg-toc b { font-size: 12px; color: var(--faint); font-weight: 600; margin-bottom: 4px; }
.lg-toc a { color: var(--slate); text-decoration: none; }
.lg-toc a:hover { color: var(--accent); }
.lg-body { font-size: 16px; line-height: 1.75; }
.lg-body h2 { font: 650 22px/1.25 var(--display); letter-spacing: -.02em; margin: 40px 0 12px; scroll-margin-top: 90px; }
.lg-body p, .lg-body ul, .lg-body ol { margin: 12px 0; }
.lg-body ul, .lg-body ol { padding-left: 22px; display: grid; gap: 8px; }
.lg-body li::marker { color: var(--accent); }
.lg-body code { font: .88em var(--code); background: #EBEEF3; padding: 2px 6px; border-radius: 5px; }
.lg-box { padding: 16px 18px; border-radius: 14px; background: color-mix(in srgb, var(--accent) 8%, var(--surface)); border: 1px solid color-mix(in srgb, var(--accent) 20%, transparent); margin: 18px 0; }
.lg-table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14px; line-height: 1.5; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: block; overflow-x: auto; }
.lg-table thead, .lg-table tbody { display: table; width: 100%; }
.lg-table th { text-align: left; padding: 10px 14px; font-size: 12.5px; font-weight: 600; color: var(--slate); background: #F0F2F6; }
.lg-table td { padding: 11px 14px; border-top: 1px solid var(--line); vertical-align: top; }
.lg-contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1px; margin: 22px 0; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.lg-contact div { padding: 16px; background: var(--surface); display: grid; gap: 2px; }
.lg-contact span { font-size: 12px; color: var(--faint); }
.lg-contact b { font-size: 15px; word-break: break-word; }
.lg-contact small { font-size: 13px; color: var(--slate); }
.lg-print { margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--faint); }

.lg-foot { display: grid; grid-template-columns: 1.3fr 1fr; gap: 18px 40px; padding: 36px max(20px, calc((100vw - 1200px) / 2)) 28px; background: var(--plate); color: #AEB9D0; font-size: 13.5px; }
.lg-foot-brand { display: flex; gap: 12px; align-items: flex-start; }
.lg-foot-brand b { color: #fff; }
.lg-foot-brand span { color: #7F8DAA; }
.lg-foot-reg { color: #7F8DAA; }
.lg-foot-links { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 20px; padding-top: 16px; border-top: 1px solid #1B2740; }
.lg-foot a { color: #DCE4F5; text-decoration: none; }
.lg-foot a:hover { color: #fff; text-decoration: underline; }
.lg-copy { grid-column: 1 / -1; margin: 0; color: #5E6C88; font-size: 12.5px; }

@media (max-width: 900px) {
  .lg-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-top: 24px; }
  .lg-side { position: static; display: flex; overflow-x: auto; gap: 6px; padding-bottom: 6px; }
  .lg-side a { white-space: nowrap; background: var(--surface); border: 1px solid var(--line); }
  .lg-side a.on { box-shadow: none; border-color: var(--accent); }
  .lg-foot { grid-template-columns: 1fr; }
  .lg-topnav a:not(.lg-btn) { display: none; }
}
@media print {
  .lg-top, .lg-side, .lg-foot-links, .lg-print, .lg-toc { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .lg-layout { display: block; padding: 0; }
  .lg-foot { background: none; color: #333; border-top: 1px solid #ccc; }
  .lg-foot b, .lg-foot a { color: #000; }
  a { color: inherit; text-decoration: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .lg-card:hover { transform: none; } }
.lg-table { display: table; overflow: visible; }
.lg-table thead { display: table-header-group; } .lg-table tbody { display: table-row-group; }
.lg-contact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 640px) { .lg-table { display: block; overflow-x: auto; } .lg-contact { grid-template-columns: 1fr; } }

.lg-mark.img { background: #fff; padding: 0; overflow: hidden; box-shadow: 0 0 0 1px rgba(14,23,38,.1); }
.lg-mark.img img { display: block; width: 100%; height: 100%; }
