/* ---------------------------------------------------------------------------
   listedercasinos.com — summer area.
   Institutional "audit ledger" layout: parchment grid, mono labels, data table.
   Palette: cool paper, graphite ink, petrol primary, indigo accent.
   Fonts are self-hosted: no request to a third-party font service.
--------------------------------------------------------------------------- */

@font-face {
    font-family: "Plex Sans";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("/lc/fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2");
}
@font-face {
    font-family: "Plex Sans";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("/lc/fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2");
}
@font-face {
    font-family: "Plex Sans";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("/lc/fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2");
}
@font-face {
    font-family: "Plex Sans";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("/lc/fonts/ibm-plex-sans-latin-700-normal.woff2") format("woff2");
}
@font-face {
    font-family: "Plex Mono";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("/lc/fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2");
}
@font-face {
    font-family: "Plex Mono";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("/lc/fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2");
}

:root {
    --paper: #f4f6f8;
    --paper-2: #eaeef2;
    --white: #ffffff;
    --line: #dce3ea;
    --line-soft: rgba(220, 227, 234, .62);

    --ink-950: #0a0f14;
    --ink-900: #141c24;
    --ink-800: #222d38;
    --ink-600: #44535f;
    --muted: #5a6b7a;
    --muted-2: #7b8a97;

    --primary-700: #0e7490;
    --primary-800: #0b5a70;
    --primary-200: #a9dbe9;
    --primary-50: #ecfaff;

    --accent-700: #4f46e5;
    --accent-200: #c7c6fb;
    --accent-50: #eef0ff;

    --ok-700: #047857;
    --ok-200: #a7e2c9;
    --ok-50: #ecfdf5;

    --warn-700: #b45309;
    --warn-200: #f3cfa3;
    --warn-50: #fff7ed;

    --radius: 12px;
    --radius-sm: 8px;
    --shadow-sm: 0 1px 2px rgba(10, 15, 20, .06), 0 1px 1px rgba(10, 15, 20, .04);
    --shadow-md: 0 8px 24px rgba(10, 15, 20, .10);
    --shadow-lg: 0 24px 60px rgba(10, 15, 20, .24);
    --wrap: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink-900);
    font-family: "Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

::selection { background: var(--primary-700); color: #fff; }

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--paper-2); }
::-webkit-scrollbar-thumb { background: var(--primary-700); border-radius: 4px; }

a { color: var(--primary-700); text-decoration: none; }
a:hover { color: var(--ink-900); }

h1, h2, h3, h4 { margin: 0; line-height: 1.18; letter-spacing: -.012em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.lc-mono { font-family: "Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace; }

.lc-wrap {
    width: 100%;
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 16px;
}
@media (min-width: 640px) { .lc-wrap { padding: 0 24px; } }
@media (min-width: 1024px) { .lc-wrap { padding: 0 32px; } }

.lc-narrow { max-width: 880px; }

.lc-skip {
    position: absolute;
    left: -9999px;
}
.lc-skip:focus {
    left: 16px;
    top: 16px;
    z-index: 120;
    position: fixed;
    background: var(--ink-900);
    color: #fff;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
}

/* ------------------------------------------------------------ grid backdrop */
.lc-grid-bg {
    background-color: var(--paper);
    background-image:
        linear-gradient(to right, var(--line-soft) 1px, transparent 1px),
        linear-gradient(to bottom, var(--line-soft) 1px, transparent 1px);
    background-size: 32px 32px;
}

/* ---------------------------------------------------------------- top banner */
.lc-banner {
    background: var(--ink-900);
    color: #d7dee5;
    border-bottom: 1px solid #2b3742;
    font-size: 11px;
    padding: 10px 0;
}
.lc-banner-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    justify-content: space-between;
}
@media (min-width: 1024px) {
    .lc-banner-row { flex-direction: row; align-items: center; }
}
.lc-banner-lead { display: flex; align-items: flex-start; gap: 10px; }
.lc-banner-tag {
    flex: none;
    background: var(--primary-700);
    color: #fff;
    font-weight: 600;
    font-size: 10px;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 4px;
}
.lc-banner p { line-height: 1.45; }
.lc-banner-protocol { color: var(--muted-2); white-space: nowrap; }
.lc-banner-protocol b { color: #e6ecf1; font-weight: 500; }

/* -------------------------------------------------------------------- header */
.lc-head {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
}
.lc-head-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
    justify-content: space-between;
}
.lc-logo { display: flex; align-items: center; gap: 12px; color: inherit; }
.lc-logo:hover { color: inherit; }
.lc-logo-mark {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    flex: none;
    border-radius: 10px;
    background: var(--ink-900);
    color: #fff;
    font-family: "Plex Mono", monospace;
    font-weight: 500;
    font-size: 15px;
    letter-spacing: .02em;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
}
.lc-logo-mark img { display: block; width: 26px; height: 26px; }
.lc-logo-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.lc-logo-name {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -.01em;
    color: var(--ink-900);
}
.lc-logo-name b { color: var(--primary-700); font-weight: 700; }
.lc-logo-sub {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-family: "Plex Mono", monospace;
    font-size: 10px;
    color: var(--muted);
}
.lc-logo-sub span:last-child {
    background: var(--primary-50);
    border: 1px solid var(--primary-200);
    color: var(--primary-800);
    padding: 1px 6px;
    border-radius: 4px;
    font-weight: 500;
}
.lc-logo-claim {
    display: none;
    font-size: 11px;
    color: var(--muted);
}
@media (min-width: 1280px) { .lc-logo-claim { display: block; } }

.lc-nav { display: none; gap: 20px; font-size: 13px; font-weight: 500; }
.lc-nav a { color: var(--ink-800); }
.lc-nav a:hover, .lc-nav a[aria-current="page"] { color: var(--primary-700); }
@media (min-width: 1024px) { .lc-nav { display: flex; } }

.lc-head-state {
    display: none;
    align-items: center;
    gap: 8px;
    background: var(--ok-50);
    border: 1px solid var(--ok-200);
    border-radius: var(--radius-sm);
    padding: 6px 12px;
}
.lc-head-state span:last-child {
    font-family: "Plex Mono", monospace;
    font-size: 11px;
    font-weight: 500;
    color: var(--ok-700);
}
@media (min-width: 1024px) { .lc-head-state { display: flex; } }

.lc-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--ok-700);
    flex: none;
}

.lc-burger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    font: inherit;
    font-size: 13px;
    font-weight: 500;
    color: var(--ink-800);
    cursor: pointer;
}
.lc-burger:hover { border-color: var(--primary-700); color: var(--primary-700); }
@media (min-width: 1024px) { .lc-burger { display: none; } }

.lc-nav-mobile {
    display: none;
    border-top: 1px solid var(--line);
    padding: 8px 0 14px;
}
.lc-nav-mobile.is-open { display: block; }
@media (min-width: 1024px) { .lc-nav-mobile { display: none !important; } }
.lc-nav-mobile a {
    display: block;
    padding: 10px 2px;
    font-size: 15px;
    font-weight: 500;
    color: var(--ink-800);
    border-bottom: 1px solid var(--line-soft);
}

/* --------------------------------------------------------------------- strip */
.lc-strip {
    background: var(--ink-950);
    color: #b9c5cf;
    font-family: "Plex Mono", monospace;
    font-size: 10.5px;
    letter-spacing: .04em;
    text-transform: uppercase;
    padding: 7px 0;
    overflow: hidden;
}
.lc-strip-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
}
.lc-strip-row b { color: var(--primary-200); font-weight: 500; }
.lc-strip-sep { color: #3c4a56; }

/* ---------------------------------------------------------------------- hero */
.lc-hero {
    border-bottom: 1px solid var(--line);
    padding: 40px 0;
}
.lc-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-family: "Plex Mono", monospace;
    font-size: 11px;
}
.lc-tag {
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 500;
    border: 1px solid transparent;
}
.lc-tag-ink { background: var(--ink-900); color: #fff; }
.lc-tag-ok { background: var(--ok-50); color: var(--ok-700); border-color: var(--ok-200); }
.lc-tag-primary { background: var(--primary-50); color: var(--primary-800); border-color: var(--primary-200); }
.lc-tag-accent { background: var(--accent-50); color: var(--accent-700); border-color: var(--accent-200); }
.lc-tag-plain { background: var(--white); color: var(--ink-600); border-color: var(--line); }

.lc-h1 {
    max-width: 60rem;
    font-size: clamp(1.75rem, 1.2rem + 2.4vw, 3rem);
    font-weight: 700;
    letter-spacing: -.022em;
    line-height: 1.12;
    color: var(--ink-900);
}
.lc-lede {
    margin-top: 16px;
    max-width: 52rem;
    font-size: 17px;
    color: var(--ink-600);
    line-height: 1.65;
}
.lc-lede a {
    font-weight: 600;
    color: var(--primary-700);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}
.lc-lede a:hover { color: var(--ink-900); }

/* --------------------------------------------------------------- stat cards */
.lc-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 32px;
}
@media (min-width: 640px) { .lc-stats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .lc-stats { grid-template-columns: repeat(4, 1fr); } }

.lc-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: var(--shadow-sm);
}
.lc-card-primary { border-color: var(--primary-200); }
.lc-card-ok { border-color: var(--ok-200); }

.lc-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-family: "Plex Mono", monospace;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--muted);
}
.lc-card-flag { font-weight: 500; color: var(--ok-700); }
.lc-card-flag-primary {
    background: var(--primary-700);
    color: #fff;
    padding: 1px 7px;
    border-radius: 4px;
    font-weight: 500;
}
.lc-card-value {
    margin-top: 6px;
    font-family: "Plex Mono", monospace;
    font-size: 22px;
    font-weight: 500;
    color: var(--ink-900);
    overflow-wrap: anywhere;
}
.lc-card-value-sm { font-size: 17px; font-family: "Plex Sans", sans-serif; font-weight: 600; }
.lc-card-note { margin-top: 6px; font-size: 12.5px; color: var(--muted); }

/* ------------------------------------------------------------------- toolbar */
.lc-toolbar {
    margin-top: 24px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    justify-content: space-between;
}
@media (min-width: 1280px) { .lc-toolbar { flex-direction: row; align-items: center; } }

.lc-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.lc-filter {
    font-family: "Plex Mono", monospace;
    font-size: 12px;
    font-weight: 500;
    padding: 7px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    background: var(--paper);
    color: var(--ink-600);
    cursor: pointer;
}
.lc-filter:hover { border-color: var(--primary-700); color: var(--primary-700); }
.lc-filter.is-active {
    background: var(--primary-700);
    border-color: var(--primary-700);
    color: #fff;
}

.lc-tools { display: flex; flex-direction: column; gap: 10px; }
@media (min-width: 640px) { .lc-tools { flex-direction: row; align-items: center; } }

.lc-search { position: relative; flex: 1 1 auto; }
@media (min-width: 640px) { .lc-search { width: 18rem; flex: none; } }
.lc-search input {
    width: 100%;
    font-family: "Plex Mono", monospace;
    font-size: 12.5px;
    padding: 9px 12px 9px 34px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    background: var(--paper);
    color: var(--ink-900);
}
.lc-search input::placeholder { color: var(--muted-2); }
.lc-search input:focus { outline: none; border-color: var(--primary-700); }
.lc-search svg {
    position: absolute;
    left: 11px;
    top: 10px;
    width: 15px;
    height: 15px;
    color: var(--muted-2);
}
.lc-select {
    font-family: "Plex Mono", monospace;
    font-size: 12.5px;
    padding: 9px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    background: var(--paper);
    color: var(--ink-900);
}
.lc-select:focus { outline: none; border-color: var(--primary-700); }

/* -------------------------------------------------------------------- ledger */
.lc-section { padding: 48px 0; }
.lc-section-line { border-top: 1px solid var(--line); }
.lc-section-paper { background: var(--paper-2); }
.lc-section-top { padding-top: 32px; }

.lc-panel {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}
.lc-panel-head {
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: space-between;
    padding: 18px;
    border-bottom: 1px solid var(--line);
}
@media (min-width: 768px) { .lc-panel-head { flex-direction: row; align-items: center; } }
.lc-panel-head h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
    font-weight: 700;
    color: var(--ink-900);
}
.lc-panel-head p { margin-top: 4px; font-size: 13px; color: var(--muted); }
.lc-count {
    flex: none;
    font-family: "Plex Mono", monospace;
    font-size: 11px;
    font-weight: 500;
    background: var(--primary-50);
    border: 1px solid var(--primary-200);
    color: var(--primary-800);
    padding: 5px 10px;
    border-radius: 999px;
    white-space: nowrap;
}

.lc-table-scroll { overflow-x: auto; }
table.lc-table {
    width: 100%;
    min-width: 960px;
    border-collapse: collapse;
    font-size: 13px;
}
.lc-table thead th {
    background: var(--paper-2);
    border-bottom: 1px solid var(--line);
    font-family: "Plex Mono", monospace;
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--muted);
    text-align: left;
    padding: 11px 14px;
    white-space: nowrap;
}
.lc-table tbody tr { border-bottom: 1px solid var(--line-soft); }
.lc-table tbody tr:hover { background: var(--primary-50); }
.lc-table td { padding: 14px; vertical-align: middle; }

.lc-rank {
    display: inline-grid;
    place-items: center;
    min-width: 42px;
    padding: 5px 8px;
    border-radius: 6px;
    background: var(--ink-900);
    color: #fff;
    font-family: "Plex Mono", monospace;
    font-size: 12px;
    font-weight: 500;
}
.lc-rank-1 { background: var(--primary-700); }
.lc-entity { font-weight: 600; color: var(--ink-900); }
.lc-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 5px;
    font-family: "Plex Mono", monospace;
    font-size: 10.5px;
    font-weight: 500;
    color: var(--ok-700);
    background: var(--ok-50);
    border: 1px solid var(--ok-200);
    border-radius: 999px;
    padding: 2px 8px;
}
.lc-cell-strong { font-family: "Plex Mono", monospace; font-weight: 500; color: var(--ink-900); }
.lc-cell-sub { margin-top: 3px; font-size: 11.5px; color: var(--muted); }
.lc-pill-tls {
    display: inline-block;
    font-family: "Plex Mono", monospace;
    font-size: 11px;
    background: var(--accent-50);
    border: 1px solid var(--accent-200);
    color: var(--accent-700);
    padding: 4px 8px;
    border-radius: 6px;
    white-space: nowrap;
}
.lc-score-value {
    font-family: "Plex Mono", monospace;
    font-size: 15px;
    font-weight: 500;
    color: var(--ink-900);
}
.lc-score-value span { font-size: 11px; color: var(--muted); }
.lc-meter {
    margin-top: 6px;
    width: 100px;
    height: 6px;
    border-radius: 999px;
    background: var(--paper-2);
    overflow: hidden;
}
.lc-meter i { display: block; height: 100%; background: var(--primary-700); border-radius: 999px; }

.lc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    padding: 9px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    cursor: pointer;
    text-align: center;
}
.lc-btn svg { width: 15px; height: 15px; }
.lc-btn-primary { background: var(--primary-700); color: #fff; }
.lc-btn-primary:hover { background: var(--primary-800); color: #fff; }
.lc-btn-line { background: var(--white); border-color: var(--line); color: var(--ink-800); }
.lc-btn-line:hover { border-color: var(--primary-700); color: var(--primary-700); }
.lc-btn-ink { background: var(--ink-900); color: #fff; }
.lc-btn-ink:hover { background: var(--ink-800); color: #fff; }
.lc-btn-sm { font-size: 12px; padding: 7px 11px; }

.lc-panel-foot {
    display: flex;
    flex-direction: column;
    gap: 6px;
    justify-content: space-between;
    padding: 12px 18px;
    border-top: 1px solid var(--line);
    background: var(--paper-2);
    font-family: "Plex Mono", monospace;
    font-size: 10.5px;
    color: var(--muted);
}
@media (min-width: 768px) { .lc-panel-foot { flex-direction: row; align-items: center; } }
.lc-panel-foot strong { color: var(--ink-900); font-weight: 500; }

.lc-empty { padding: 36px 18px; text-align: center; color: var(--muted); font-size: 14px; }
.lc-empty .lc-btn { margin-top: 14px; }

/* ------------------------------------------------------------------ criteria */
.lc-section-head { max-width: 56rem; margin: 0 auto 32px; text-align: center; }
.lc-kicker {
    display: inline-block;
    font-family: "Plex Mono", monospace;
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--primary-800);
    background: var(--primary-50);
    border: 1px solid var(--primary-200);
    padding: 4px 10px;
    border-radius: 999px;
}
.lc-h2 {
    margin-top: 14px;
    font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem);
    font-weight: 700;
    color: var(--ink-900);
}
.lc-section-head p { margin-top: 14px; color: var(--ink-600); font-size: 15.5px; }

.lc-pillars {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
@media (min-width: 640px) { .lc-pillars { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .lc-pillars { grid-template-columns: repeat(3, 1fr); } }

.lc-pillar {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: var(--shadow-sm);
    border-top: 3px solid var(--primary-700);
}
.lc-pillar-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-family: "Plex Mono", monospace;
    font-size: 10.5px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--muted);
}
.lc-pillar-top span:first-child { color: var(--primary-800); font-weight: 500; }
.lc-pillar h3 { margin-top: 12px; font-size: 16px; font-weight: 700; color: var(--ink-900); }
.lc-pillar p { margin-top: 8px; font-size: 13.5px; color: var(--ink-600); line-height: 1.6; }

/* ---------------------------------------------------------------------- labs */
.lc-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
}
@media (min-width: 1024px) { .lc-split { grid-template-columns: 1.4fr 1fr; gap: 32px; } }

.lc-lab-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 20px;
}
@media (min-width: 768px) { .lc-lab-grid { grid-template-columns: repeat(4, 1fr); } }
.lc-lab {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 14px;
    text-align: center;
}
.lc-lab-name { font-family: "Plex Mono", monospace; font-weight: 500; color: var(--ink-900); }
.lc-lab-note { margin-top: 4px; font-size: 11px; color: var(--muted); }

.lc-telemetry {
    background: var(--ink-900);
    border-radius: var(--radius);
    padding: 18px;
    color: #cfd8e0;
    box-shadow: var(--shadow-md);
}
.lc-telemetry-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-family: "Plex Mono", monospace;
    font-size: 10.5px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--primary-200);
    padding-bottom: 12px;
    border-bottom: 1px solid #2b3742;
}
.lc-telemetry-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px dashed #2b3742;
    font-family: "Plex Mono", monospace;
    font-size: 12px;
}
.lc-telemetry-row:last-child { border-bottom: 0; }
.lc-telemetry-row span:last-child { color: #fff; font-weight: 500; text-align: right; }

/* -------------------------------------------------------------------- footer */
.lc-foot { background: var(--ink-950); color: #9fadb9; margin-top: 0; }
.lc-foot-notice {
    border-bottom: 1px solid #1d2731;
    padding: 16px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: space-between;
    font-family: "Plex Mono", monospace;
    font-size: 10.5px;
    line-height: 1.6;
}
@media (min-width: 1024px) { .lc-foot-notice { flex-direction: row; align-items: center; } }
.lc-foot-notice strong { color: #fff; font-weight: 500; }
.lc-foot-badge {
    flex: none;
    background: var(--warn-700);
    color: #fff;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 6px;
    white-space: nowrap;
}
.lc-foot-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 36px 0;
}
@media (min-width: 768px) { .lc-foot-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .lc-foot-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.lc-foot h4 {
    font-family: "Plex Mono", monospace;
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 12px;
}
.lc-foot p { font-size: 13px; line-height: 1.65; }
.lc-foot li { margin-bottom: 8px; font-size: 13px; }
.lc-foot a { color: #b9c5cf; }
.lc-foot a:hover { color: #fff; }
.lc-foot-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: #fff;
    font-weight: 600;
}
.lc-foot-company {
    margin-top: 14px;
    font-family: "Plex Mono", monospace;
    font-size: 11.5px;
    line-height: 1.7;
    color: #8c9aa6;
}
.lc-foot-company b { color: #e6ecf1; font-weight: 500; }
.lc-foot-base {
    border-top: 1px solid #1d2731;
    padding: 16px 0 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: space-between;
    font-size: 12px;
}
@media (min-width: 768px) { .lc-foot-base { flex-direction: row; align-items: center; } }
.lc-foot-links { display: flex; flex-wrap: wrap; gap: 8px 14px; }

/* --------------------------------------------------------------------- modal */
.lc-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
    padding: 16px;
    background: rgba(10, 15, 20, .62);
    overflow-y: auto;
}
.lc-modal.is-open { display: block; }
.lc-modal-box {
    width: 100%;
    max-width: 880px;
    margin: 32px auto;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}
.lc-modal-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 18px;
    border-bottom: 1px solid var(--line);
    background: var(--paper-2);
}
.lc-modal-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    font-family: "Plex Mono", monospace;
    font-size: 10.5px;
    font-weight: 500;
}
.lc-modal-badges span:nth-child(1) { background: var(--primary-700); color: #fff; padding: 3px 8px; border-radius: 5px; }
.lc-modal-badges span:nth-child(2) { background: var(--white); border: 1px solid var(--line); color: var(--ink-800); padding: 3px 8px; border-radius: 5px; }
.lc-modal-badges span:nth-child(3) { background: var(--ok-50); border: 1px solid var(--ok-200); color: var(--ok-700); padding: 3px 8px; border-radius: 5px; }
.lc-modal-head h3 { margin-top: 10px; font-size: 19px; font-weight: 700; color: var(--ink-900); }
.lc-modal-head p { margin-top: 5px; font-size: 12.5px; color: var(--muted); }
.lc-modal-close {
    flex: none;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    cursor: pointer;
    color: var(--ink-800);
}
.lc-modal-close:hover { border-color: var(--primary-700); color: var(--primary-700); }
.lc-modal-body { padding: 18px; display: grid; gap: 16px; }
.lc-field-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 768px) { .lc-field-grid { grid-template-columns: repeat(2, 1fr); } }
.lc-field {
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 12px;
    background: var(--paper);
}
.lc-field-label {
    display: block;
    font-family: "Plex Mono", monospace;
    font-size: 10px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--muted);
}
.lc-field-value { display: block; margin-top: 6px; font-size: 13px; font-weight: 500; color: var(--ink-900); }
.lc-sha {
    margin-top: 8px;
    font-family: "Plex Mono", monospace;
    font-size: 11.5px;
    color: var(--primary-800);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 10px;
    overflow-wrap: anywhere;
}
.lc-cite-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.lc-cite-input {
    width: 100%;
    margin-top: 8px;
    font-family: "Plex Mono", monospace;
    font-size: 11.5px;
    padding: 10px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    background: var(--white);
    color: var(--ink-600);
}
.lc-crit-list { display: grid; gap: 8px; margin-top: 10px; }
.lc-crit {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 10px;
    font-size: 12.5px;
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--paper);
}
.lc-crit b { font-family: "Plex Mono", monospace; font-weight: 500; color: var(--primary-800); }
.lc-note-box {
    border-left: 3px solid var(--primary-700);
    background: var(--primary-50);
    padding: 12px 14px;
    border-radius: var(--radius-sm);
}
.lc-note-box div {
    font-family: "Plex Mono", monospace;
    font-size: 10.5px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--primary-800);
}
.lc-note-box p { margin-top: 6px; font-size: 13px; color: var(--ink-600); line-height: 1.6; }
.lc-modal-foot {
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: space-between;
    padding: 14px 18px;
    border-top: 1px solid var(--line);
    background: var(--paper-2);
    font-family: "Plex Mono", monospace;
    font-size: 10.5px;
    color: var(--muted);
}
@media (min-width: 640px) { .lc-modal-foot { flex-direction: row; align-items: center; } }

/* --------------------------------------------------------- inner pages, docs */
.lc-page-head {
    border-bottom: 1px solid var(--line);
    padding: 40px 0 36px;
}
.lc-page-head h1 {
    margin-top: 14px;
    font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.5rem);
    font-weight: 700;
    color: var(--ink-900);
}
.lc-page-head p { margin-top: 14px; max-width: 46rem; color: var(--ink-600); font-size: 16px; }

.lc-doc {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 24px;
}
@media (min-width: 768px) { .lc-doc { padding: 32px; } }
.lc-doc h2 {
    margin-top: 28px;
    font-size: 18px;
    font-weight: 700;
    color: var(--ink-900);
}
.lc-doc h2:first-child { margin-top: 0; }
.lc-doc h3 { margin-top: 20px; font-size: 15px; font-weight: 600; color: var(--ink-900); }
.lc-doc p, .lc-doc li { margin-top: 10px; font-size: 14.5px; color: var(--ink-600); line-height: 1.7; }
.lc-doc ul { margin-top: 8px; }
.lc-doc li { padding-left: 18px; position: relative; }
.lc-doc li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 11px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary-700);
}
.lc-doc dl { margin: 10px 0 0; }
.lc-doc dt { margin-top: 14px; font-weight: 600; color: var(--ink-900); font-size: 14.5px; }
.lc-doc dd { margin: 6px 0 0; font-size: 14.5px; color: var(--ink-600); line-height: 1.7; }
.lc-doc-meta {
    margin-top: 24px;
    font-family: "Plex Mono", monospace;
    font-size: 11px;
    color: var(--muted);
}

.lc-center { margin-top: 24px; text-align: center; }

.lc-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
@media (min-width: 768px) { .lc-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .lc-cards-3 { grid-template-columns: repeat(3, 1fr); } }

.lc-faq { display: grid; gap: 10px; }
.lc-faq details {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
}
.lc-faq summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--ink-900);
    font-size: 15px;
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: 12px;
}
.lc-faq summary::-webkit-details-marker { display: none; }
.lc-faq summary::after {
    content: "+";
    font-family: "Plex Mono", monospace;
    color: var(--primary-700);
}
.lc-faq details[open] summary::after { content: "–"; }
.lc-faq p { margin-top: 10px; font-size: 14px; color: var(--ink-600); line-height: 1.7; }

.lc-contact-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 768px) { .lc-contact-grid { grid-template-columns: 1.2fr 1fr; } }

.lc-muted { color: var(--muted); font-size: 13.5px; }

/* ------------------------------------------------------------------- consent */
.lc-consent {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 90;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
@media (min-width: 768px) {
    .lc-consent {
        left: auto;
        right: 24px;
        bottom: 24px;
        max-width: 420px;
    }
}
.lc-consent p { font-size: 13px; color: var(--ink-600); line-height: 1.6; }
.lc-row { display: flex; flex-wrap: wrap; gap: 8px; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition: none !important; animation: none !important; }
}
