/* =============================================
   TRACKORA LEGAL v4 — "Architecture"
   Dark teal canvas + floating document panels
   Orange as ink, not fill
   Fraunces display + Instrument Sans body
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,600;0,9..144,900;1,9..144,300;1,9..144,700;1,9..144,900&family=Instrument+Sans:ital,wght@0,400;0,500;0,600;1,400&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Canvas */
  --canvas:    #1a2e38;
  --canvas2:   #162730;

  /* Panel — the "paper" */
  --panel:     #233d4d;
  --panel2:    #2a4757;
  --panel3:    #2e5266;

  /* Orange — used as ink */
  --ink:       #fe7f2d;
  --ink2:      #ff9a56;
  --ink-faint: rgba(254,127,45,0.08);
  --ink-glow:  rgba(254,127,45,0.2);

  /* Type */
  --t-primary: #f0e8df;
  --t-body:    rgba(240,232,223,0.65);
  --t-muted:   rgba(240,232,223,0.35);
  --t-accent:  var(--ink);

  /* Rules */
  --rule:      rgba(240,232,223,0.07);
  --rule2:     rgba(240,232,223,0.04);
  --rule-ink:  rgba(254,127,45,0.25);

  --r-sm: 4px; --r-md: 10px; --r-lg: 18px; --r-xl: 26px;
  --ease: 0.28s cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Instrument Sans', sans-serif;
  background: var(--canvas);
  color: var(--t-body);
  overflow-x: hidden;
  cursor: none;
  line-height: 1;
}

/* Subtle grid texture on canvas */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image:
    linear-gradient(rgba(254,127,45,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(254,127,45,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none; z-index: 0;
}

/* ── Cursor ── */
.cursor {
  position: fixed; width: 6px; height: 6px;
  background: var(--ink); border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%,-50%);
}
.cursor-ring {
  position: fixed; width: 28px; height: 28px;
  border: 1px solid rgba(254,127,45,0.4); border-radius: 50%;
  pointer-events: none; z-index: 9998;
  transform: translate(-50%,-50%);
  transition: width 0.3s, height 0.3s, border-color 0.3s;
}
body.hover-active .cursor-ring { width: 44px; height: 44px; border-color: var(--ink); }

/* ── Progress ── */
#lp-bar {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: var(--ink);
  z-index: 9997; pointer-events: none;
  transition: width 0.08s linear;
}
#lp-bar::after {
  content: '';
  position: absolute; right: 0; top: 0;
  width: 60px; height: 100%;
  background: linear-gradient(to right, transparent, var(--ink2));
}

/* ════════════════════════════════
   NAV
════════════════════════════════ */
.l-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 60px;
  transition: all 0.4s;
}
.l-nav.scrolled {
  padding: 14px 60px;
  background: rgba(22,39,48,0.94);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--rule);
}
.l-logo {
  font-family: 'Fraunces', serif;
  font-size: 1.35rem; font-weight: 600;
  color: var(--t-primary); text-decoration: none;
  letter-spacing: -0.03em;
}
.l-logo b { color: var(--ink); font-weight: 900; font-style: italic; }
.l-nav-links { display: flex; gap: 36px; list-style: none; }
.l-nav-links a { color: var(--t-muted); text-decoration: none; font-size: 0.8rem; font-weight: 500; letter-spacing: 0.02em; transition: color var(--ease); }
.l-nav-links a:hover { color: var(--t-primary); }
.l-nav-cta {
  background: transparent;
  border: 1px solid var(--ink);
  color: var(--ink);
  padding: 8px 22px;
  border-radius: 2px;
  font-size: 0.8rem; font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.04em; text-transform: uppercase;
  transition: all var(--ease);
}
.l-nav-cta:hover { background: var(--ink); color: #fff; }
.l-burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.l-burger span { display: block; width: 20px; height: 1.5px; background: var(--t-body); transition: all 0.3s; }
.l-burger.open span:nth-child(1){transform:translateY(6.5px) rotate(45deg);}
.l-burger.open span:nth-child(2){opacity:0;}
.l-burger.open span:nth-child(3){transform:translateY(-6.5px) rotate(-45deg);}
.l-mobile {
  position: fixed; inset: 0;
  background: var(--canvas2);
  z-index: 400; display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.l-mobile.open { opacity: 1; pointer-events: all; }
.l-mobile ul { list-style: none; text-align: center; display: flex; flex-direction: column; gap: 28px; }
.l-mobile a { font-family: 'Fraunces', serif; font-size: 2rem; font-weight: 700; font-style: italic; color: var(--t-primary); text-decoration: none; transition: color var(--ease); }
.l-mobile a:hover { color: var(--ink); }

/* ════════════════════════════════
   COVER — full viewport typographic
════════════════════════════════ */
.l-cover {
  min-height: 100vh;
  position: relative; z-index: 1;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 60px 80px;
  overflow: hidden;
}

/* horizontal orange rule from left edge */
.l-cover::before {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 1px;
  background: linear-gradient(90deg, var(--ink) 0%, rgba(254,127,45,0.15) 40%, transparent 70%);
  z-index: 0;
}

/* big background type */
.cover-bg-word {
  position: absolute;
  left: -0.04em; bottom: -0.18em;
  font-family: 'Fraunces', serif;
  font-size: clamp(180px, 28vw, 380px);
  font-weight: 900;
  font-style: italic;
  color: transparent;
  -webkit-text-stroke: 1px rgba(254,127,45,0.07);
  line-height: 1; letter-spacing: -0.05em;
  user-select: none; pointer-events: none;
  z-index: 0;
}

.cover-inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: flex-end;
  gap: 80px;
}

.cover-left { max-width: 740px; }

.cover-kicker {
  display: flex; align-items: center; gap: 14px;
  font-size: 0.65rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 32px;
  opacity: 0; animation: l-up 0.6s 0.2s ease forwards;
}
.cover-kicker::before { content: ''; width: 32px; height: 1px; background: var(--ink); }

.cover-h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(3.5rem, 7vw, 7rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.05em;
  color: var(--t-primary);
  margin-bottom: 40px;
  opacity: 0; animation: l-up 0.7s 0.35s ease forwards;
}
.cover-h1 em {
  font-style: italic;
  color: var(--ink);
  display: block;
}

.cover-meta-line {
  display: flex; align-items: center; gap: 16px;
  font-size: 0.72rem; color: var(--t-muted);
  letter-spacing: 0.06em;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  opacity: 0; animation: l-up 0.6s 0.5s ease forwards;
}
.meta-sep { width: 1px; height: 12px; background: var(--rule); }

/* Cover right — quick facts */
.cover-facts {
  display: flex; flex-direction: column; gap: 0;
  border: 1px solid var(--rule);
  border-radius: 2px;
  overflow: hidden;
  min-width: 280px;
  opacity: 0; animation: l-up 0.7s 0.45s ease forwards;
}
.fact {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--rule2);
  transition: background var(--ease);
}
.fact:last-child { border-bottom: none; }
.fact:hover { background: rgba(254,127,45,0.04); }
.fact-icon { font-size: 1rem; flex-shrink: 0; opacity: 0.8; }
.fact strong { font-size: 0.8rem; font-weight: 600; color: var(--t-primary); display: block; margin-bottom: 2px; }
.fact span { font-size: 0.72rem; color: var(--t-muted); line-height: 1.3; }

.cover-scroll-hint {
  position: absolute; bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 0.62rem; color: var(--t-muted); letter-spacing: 0.12em; text-transform: uppercase;
  animation: bob 2s infinite ease-in-out;
}
.scroll-line { width: 1px; height: 40px; background: linear-gradient(to bottom, var(--ink), transparent); }

/* ════════════════════════════════
   LEFT CHAPTER RAIL
════════════════════════════════ */
.chapter-rail {
  position: fixed;
  left: 0; top: 50%;
  transform: translateY(-50%);
  z-index: 200;
  display: flex; flex-direction: column; gap: 0;
  padding: 20px 0;
  border-right: 1px solid var(--rule);
  transition: opacity 0.4s;
}
.chapter-rail.hidden { opacity: 0; pointer-events: none; }

.cr-item {
  display: flex; align-items: center; gap: 0;
  cursor: pointer;
  text-decoration: none;
  position: relative;
}
.cr-bar {
  width: 3px; height: 32px;
  background: var(--rule);
  transition: background var(--ease), height var(--ease);
}
.cr-num {
  width: 0; overflow: hidden;
  font-size: 0.6rem; font-weight: 600;
  color: var(--ink); letter-spacing: 0.08em;
  opacity: 0;
  transition: width 0.3s, opacity 0.3s;
  white-space: nowrap;
  padding-left: 0;
}
.chapter-rail:hover .cr-num { width: 28px; opacity: 1; padding-left: 8px; }
.cr-item.active .cr-bar { background: var(--ink); height: 40px; }
.cr-item.active .cr-num { color: var(--ink); font-weight: 700; }
.cr-item:hover .cr-bar { background: rgba(254,127,45,0.5); }

/* ════════════════════════════════
   CONTENT AREA — document panels
════════════════════════════════ */
.l-content {
  position: relative; z-index: 1;
  padding: 0 60px 120px 100px; /* extra left for rail */
  max-width: 1100px;
  margin: 0 auto;
}

/* ── Chapter ── */
.l-chapter {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 0 48px;
  padding: 80px 0;
  border-bottom: 1px solid var(--rule);
  scroll-margin-top: 80px;
  position: relative;
}
.l-chapter:last-of-type { border-bottom: none; }

/* Left col — chapter number */
.l-ch-aside {
  padding-top: 6px;
  position: relative;
}
.l-ch-n {
  font-family: 'Fraunces', serif;
  font-size: 5rem;
  font-weight: 900;
  font-style: italic;
  line-height: 1;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ink);
  opacity: 0.5;
  user-select: none;
}
/* vertical line from number down */
.l-ch-aside::after {
  content: '';
  position: absolute;
  top: 88px; left: 28px;
  width: 1px; bottom: 0;
  background: linear-gradient(to bottom, var(--rule-ink), transparent);
}

/* Right col — content */
.l-ch-body h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--t-primary);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--rule);
  position: relative;
}
/* orange underline accent */
.l-ch-body h2::after {
  content: '';
  position: absolute; bottom: -1px; left: 0;
  width: 48px; height: 1px;
  background: var(--ink);
}

.l-ch-body h3 {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 36px 0 14px;
  display: flex; align-items: center; gap: 14px;
}
.l-ch-body h3::after { content: ''; flex: 1; height: 1px; background: var(--rule-ink); }

.l-lead {
  font-size: 1rem;
  color: var(--t-body);
  line-height: 1.8;
  font-weight: 400;
  margin-bottom: 32px;
  max-width: 600px;
}
.l-prose {
  font-size: 0.9rem;
  color: var(--t-body);
  line-height: 1.85;
  font-weight: 400;
  max-width: 600px;
  margin-bottom: 24px;
}

/* chapter entrance */
.l-chapter {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.l-chapter.in { opacity: 1; transform: none; }

/* ── Bullets ── */
.l-bullets { list-style: none; display: flex; flex-direction: column; }
.l-bullets li {
  display: flex; align-items: baseline; gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--rule2);
  font-size: 0.875rem; color: var(--t-body); line-height: 1.65;
}
.l-bullets li:last-child { border-bottom: none; }
.l-bullets li::before {
  content: attr(data-n);
  font-family: 'Fraunces', serif;
  font-size: 0.65rem; font-weight: 700; font-style: italic;
  color: var(--ink); flex-shrink: 0;
  min-width: 20px;
}
.l-bullets li strong { color: var(--t-primary); font-weight: 600; }
.l-bullets a { color: var(--ink2); text-decoration: none; border-bottom: 1px solid var(--rule-ink); transition: color var(--ease); }
.l-bullets a:hover { color: var(--ink); }

/* ── Callout ── */
.l-callout {
  display: flex; gap: 20px;
  padding: 22px 24px;
  border-radius: var(--r-md);
  margin: 24px 0;
  font-size: 0.875rem; color: var(--t-body); line-height: 1.7;
}
.l-callout.orange {
  background: var(--ink-faint);
  border: 1px solid var(--rule-ink);
  border-left: 3px solid var(--ink);
}
.l-callout.warm {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--rule);
  border-left: 3px solid rgba(255,200,80,0.4);
}
.l-callout strong { color: var(--t-primary); font-weight: 600; display: block; margin-bottom: 4px; }
.l-callout-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 3px; }

/* ── Data mosaic ── */
.l-mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  overflow: hidden;
  margin-bottom: 28px;
}
.lm {
  background: var(--panel);
  padding: 22px 18px;
  transition: background var(--ease);
}
.lm:hover { background: var(--panel2); }
.lm-icon { font-size: 1.3rem; margin-bottom: 10px; display: block; }
.lm strong { display: block; font-size: 0.82rem; font-weight: 600; color: var(--t-primary); margin-bottom: 5px; }
.lm p { font-size: 0.74rem; color: var(--t-body); line-height: 1.5; }

/* ── Steps ── */
.l-steps { display: flex; flex-direction: column; gap: 1px; margin-bottom: 28px; }
.l-step {
  display: flex; align-items: flex-start; gap: 20px;
  background: var(--panel); padding: 20px 22px;
  border: 1px solid var(--rule2);
  border-radius: var(--r-md);
  transition: all var(--ease);
}
.l-step:hover { background: var(--panel2); border-color: var(--rule-ink); }
.l-step-n {
  font-family: 'Fraunces', serif;
  font-size: 1.6rem; font-weight: 900; font-style: italic;
  color: var(--ink); line-height: 1; flex-shrink: 0;
  min-width: 32px;
  opacity: 0.7;
}
.l-step strong { display: block; font-size: 0.88rem; font-weight: 600; color: var(--t-primary); margin-bottom: 6px; }
.l-step p { font-size: 0.82rem; color: var(--t-body); line-height: 1.65; }

/* ── Table ── */
.l-table {
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  overflow: hidden; margin-bottom: 28px;
}
.l-tr { display: grid; grid-template-columns: 1fr 1.5fr 1fr; }
.l-tr + .l-tr { border-top: 1px solid var(--rule2); }
.l-tr span { padding: 13px 18px; font-size: 0.8rem; color: var(--t-body); line-height: 1.4; }
.l-tr span + span { border-left: 1px solid var(--rule2); }
.l-tr.l-thead { background: var(--panel); }
.l-tr.l-thead span { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); }
.l-tr:not(.l-thead):hover { background: rgba(254,127,45,0.03); }

/* ── Rights / feature grid ── */
.l-rights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px; margin-bottom: 28px;
}
.l-rights.cols2 { grid-template-columns: repeat(2, 1fr); }
.lr {
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  padding: 20px 16px;
  text-align: center;
  transition: all var(--ease);
  background: var(--panel);
  position: relative; overflow: hidden;
}
.lr::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--ink); opacity: 0;
  transition: opacity var(--ease);
}
.lr:hover { background: var(--panel2); border-color: var(--rule-ink); }
.lr:hover::before { opacity: 1; }
.lr-icon { font-size: 1.4rem; margin-bottom: 10px; display: block; }
.lr strong { display: block; font-size: 0.82rem; font-weight: 600; color: var(--t-primary); margin-bottom: 6px; }
.lr p { font-size: 0.73rem; color: var(--t-body); line-height: 1.5; }

/* ── Tags ── */
.l-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.l-tag {
  border: 1px solid var(--rule-ink);
  color: var(--ink2);
  padding: 6px 16px;
  border-radius: 2px;
  font-size: 0.74rem; font-weight: 500;
  letter-spacing: 0.04em;
  background: var(--ink-faint);
}

/* ── Timeline ── */
.l-timeline {
  position: relative;
  padding-left: 24px;
  margin-bottom: 28px;
}
.l-timeline::before {
  content: '';
  position: absolute; left: 5px; top: 8px; bottom: 8px; width: 1px;
  background: linear-gradient(to bottom, var(--ink), rgba(254,127,45,0.1));
}
.lt-item {
  position: relative;
  padding: 0 0 28px 28px;
}
.lt-item:last-child { padding-bottom: 0; }
.lt-item::before {
  content: '';
  position: absolute; left: -1px; top: 6px;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 0 4px rgba(254,127,45,0.15);
}
.lt-item.lt-dim::before { background: rgba(254,127,45,0.25); box-shadow: none; }
.lt-item strong { display: block; font-size: 0.88rem; font-weight: 600; color: var(--t-primary); margin-bottom: 4px; }
.lt-item p { font-size: 0.8rem; color: var(--t-body); line-height: 1.65; }

/* ── Shield grid (security) ── */
.l-shield {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px; margin-bottom: 28px;
}
.lsh {
  background: var(--panel);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  padding: 20px;
  display: flex; gap: 16px; align-items: flex-start;
  transition: all var(--ease);
}
.lsh:hover { background: var(--panel2); border-color: var(--rule-ink); }
.lsh-icon { font-size: 1.2rem; flex-shrink: 0; }
.lsh strong { display: block; font-size: 0.82rem; font-weight: 600; color: var(--t-primary); margin-bottom: 4px; }
.lsh p { font-size: 0.74rem; color: var(--t-body); line-height: 1.5; }

/* ── Contact ── */
.l-contacts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px; margin-bottom: 28px;
}
.l-contact {
  display: flex; flex-direction: column; gap: 4px;
  background: var(--panel);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  padding: 22px;
  text-decoration: none;
  transition: all var(--ease);
  position: relative; overflow: hidden;
}
.l-contact::after {
  content: '→';
  position: absolute; right: 20px; bottom: 20px;
  font-size: 0.75rem; color: var(--ink); opacity: 0;
  transition: opacity var(--ease);
}
.l-contact:hover { background: var(--panel2); border-color: var(--rule-ink); }
.l-contact:hover::after { opacity: 1; }
.l-contact-icon { font-size: 1.3rem; margin-bottom: 6px; }
.l-contact strong { font-size: 0.85rem; font-weight: 600; color: var(--t-primary); }
.l-contact span { font-size: 0.78rem; color: var(--ink2); }
.l-contact small { font-size: 0.68rem; color: var(--t-muted); margin-top: 2px; }

/* ── Certs ── */
.l-certs { display: flex; flex-wrap: wrap; gap: 8px; padding: 24px 0; border-top: 1px solid var(--rule); }
.l-cert {
  background: var(--ink-faint);
  border: 1px solid var(--rule-ink);
  color: var(--ink2);
  padding: 6px 16px;
  border-radius: 2px;
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.06em;
}

/* ── Version stack ── */
.l-versions { display: flex; flex-direction: column; gap: 4px; margin-top: 16px; }
.l-ver {
  display: flex; align-items: center; gap: 16px;
  padding: 11px 16px;
  background: var(--panel); border: 1px solid var(--rule2);
  border-radius: var(--r-sm);
  font-size: 0.8rem; color: var(--t-body);
  transition: background var(--ease);
}
.l-ver:hover { background: var(--panel2); }
.l-vtag { border: 1px solid var(--rule-ink); color: var(--ink); padding: 2px 10px; border-radius: 2px; font-size: 0.68rem; font-weight: 700; white-space: nowrap; }
.l-vd { color: var(--t-muted); font-size: 0.72rem; white-space: nowrap; min-width: 64px; }

/* ── Link card ── */
.l-link-card {
  display: flex; align-items: center; gap: 20px;
  background: var(--panel);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--ink);
  border-radius: var(--r-md);
  padding: 22px 24px; margin: 24px 0;
  font-size: 1.3rem;
}
.l-link-card > div { flex: 1; }
.l-link-card strong { display: block; font-size: 0.88rem; font-weight: 600; color: var(--t-primary); margin-bottom: 4px; }
.l-link-card p { font-size: 0.76rem; color: var(--t-body); }
.l-link-btn {
  background: transparent; border: 1px solid var(--ink);
  color: var(--ink); padding: 9px 20px;
  border-radius: 2px; font-size: 0.76rem; font-weight: 600;
  text-decoration: none; letter-spacing: 0.04em; text-transform: uppercase;
  white-space: nowrap; transition: all var(--ease);
}
.l-link-btn:hover { background: var(--ink); color: #fff; }

/* ── No list ── */
.l-no { display: flex; flex-direction: column; gap: 4px; margin-bottom: 28px; }
.l-no-item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 14px 18px;
  background: var(--panel);
  border: 1px solid var(--rule2);
  border-radius: var(--r-sm);
  transition: background var(--ease);
}
.l-no-item:hover { background: var(--panel2); }
.l-no-icon { font-size: 0.85rem; flex-shrink: 0; opacity: 0.6; margin-top: 2px; }
.l-no-item strong { display: block; font-size: 0.84rem; font-weight: 600; color: var(--t-primary); margin-bottom: 3px; }
.l-no-item p { font-size: 0.78rem; color: var(--t-body); line-height: 1.5; }

/* ── Accept grid ── */
.l-accept { display: grid; grid-template-columns: repeat(2,1fr); gap: 8px; margin-bottom: 28px; }
.l-ac {
  display: flex; flex-direction: column;
  background: var(--panel); border: 1px solid var(--rule);
  border-radius: var(--r-md); padding: 22px;
  transition: all var(--ease);
}
.l-ac:hover { background: var(--panel2); border-color: var(--rule-ink); }
.l-ac-icon { font-size: 1.3rem; margin-bottom: 10px; }
.l-ac strong { font-size: 0.83rem; font-weight: 600; color: var(--t-primary); margin-bottom: 6px; }
.l-ac p { font-size: 0.74rem; color: var(--t-body); line-height: 1.5; }

/* ── Page nav ── */
.l-page-nav {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 48px 0 0;
  border-top: 1px solid var(--rule);
}
.l-pnbtn {
  border: 1px solid var(--rule);
  color: var(--t-muted);
  padding: 12px 28px; border-radius: 2px;
  font-size: 0.8rem; font-weight: 600;
  text-decoration: none; letter-spacing: 0.04em; text-transform: uppercase;
  transition: all var(--ease);
}
.l-pnbtn:hover { color: var(--t-primary); border-color: var(--t-body); }
.l-pnbtn.primary {
  background: var(--ink); border-color: var(--ink); color: #fff;
}
.l-pnbtn.primary:hover { background: var(--ink2); border-color: var(--ink2); }

/* ════════════════════════════════
   FOOTER
════════════════════════════════ */
.l-footer {
  position: relative; z-index: 1;
  background: var(--canvas2);
  border-top: 1px solid var(--rule);
  padding: 60px 60px 36px;
}
.lf-inner { display: flex; gap: 60px; margin-bottom: 48px; }
.lf-brand { flex: 1.2; }
.lf-brand p { font-size: 0.82rem; color: var(--t-muted); line-height: 1.6; margin-top: 10px; }
.lf-cols { display: flex; gap: 48px; flex: 2; justify-content: flex-end; }
.lf-col { display: flex; flex-direction: column; gap: 12px; }
.lf-head { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); margin-bottom: 4px; }
.lf-col a { font-size: 0.8rem; color: var(--t-muted); text-decoration: none; transition: color var(--ease); }
.lf-col a:hover { color: var(--t-primary); }
.lf-bottom { border-top: 1px solid var(--rule2); padding-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.lf-bottom span { font-size: 0.72rem; color: var(--t-muted); }
.lf-social { display: flex; gap: 20px; }
.lf-social a { font-size: 0.72rem; color: var(--t-muted); text-decoration: none; transition: color var(--ease); }
.lf-social a:hover { color: var(--ink); }

/* ════════════════════════════════
   ANIMATIONS
════════════════════════════════ */
@keyframes l-up { from{opacity:0;transform:translateY(20px);}to{opacity:1;transform:none;} }
@keyframes bob { 0%,100%{transform:translateX(-50%) translateY(0);}50%{transform:translateX(-50%) translateY(6px);} }

/* ════════════════════════════════
   RESPONSIVE
════════════════════════════════ */
@media(max-width:1100px) {
  .l-nav, .l-nav.scrolled { padding:18px 36px; }
  .l-cover { padding:0 36px 72px; }
  .l-content { padding:0 36px 80px 80px; }
  .l-footer { padding:48px 36px 28px; }
  .chapter-rail { display:none; }
  .l-content { padding-left:36px; }
}
@media(max-width:860px) {
  .l-nav-links, .l-nav-cta { display:none; }
  .l-burger { display:flex; }
  .l-nav, .l-nav.scrolled { padding:16px 24px; }
  .cover-inner { grid-template-columns:1fr; gap:48px; }
  .cover-facts { min-width:auto; }
  .cover-bg-word { display:none; }
  .l-cover { padding:0 24px 64px; min-height:auto; padding-top:120px; }
  .l-content { padding:0 24px 60px; }
  .l-chapter { grid-template-columns:60px 1fr; gap:0 28px; }
  .l-ch-n { font-size:3rem; }
  .l-mosaic { grid-template-columns:1fr 1fr; }
  .l-rights { grid-template-columns:1fr 1fr; }
  .l-shield { grid-template-columns:1fr; }
  .l-contacts { grid-template-columns:1fr; }
  .l-footer { padding:40px 24px 24px; }
  .lf-inner { flex-direction:column; gap:28px; }
  .lf-cols { justify-content:flex-start; flex-wrap:wrap; gap:24px; }
  .lf-bottom { flex-direction:column; align-items:flex-start; gap:10px; }
}
@media(max-width:580px) {
  .l-chapter { grid-template-columns:1fr; padding:48px 0; }
  .l-ch-aside { display:none; }
  .l-mosaic { grid-template-columns:1fr; }
  .l-rights { grid-template-columns:1fr; }
  .l-rights.cols2 { grid-template-columns:1fr; }
  .l-accept { grid-template-columns:1fr; }
  .l-tr { grid-template-columns:1fr 1fr; }
  .l-tr span:last-child { display:none; }
  .cover-h1 { font-size:clamp(2.8rem,12vw,5rem); }
  .l-page-nav { flex-direction:column; }
  .l-pnbtn { text-align:center; }
}