/* ==========================================================================
   ORIVO — Landing v2 · "Set like a brief"
   Editorial, legal-native design language: clause-numbered sections,
   exhibit-tagged product frames, ledger details, signature-block close.
   Instrument Serif · DM Sans · JetBrains Mono — brand black→indigo #3533CD.
   ========================================================================== */

/* ------------------------------- Tokens --------------------------------- */
:root {
  --paper: #F7F6F2;
  --paper-deep: #F1F0EA;
  --surface: #FFFFFF;
  --ink: #15151A;
  --ink-2: #55555E;
  --ink-3: #94949C;
  --inverse: #F2F2F4;

  --accent: #3533CD;
  --accent-hover: #2A28AD;
  --accent-soft: #EEEDFB;
  --accent-deep: #23227A;
  --accent-glow: rgba(53, 51, 205, 0.10);

  --dark: #101016;
  --dark-2: #17171F;

  --amber: #B8860B;       --amber-bg: #FBF4E2;
  --green: #1F7A4D;       --green-bg: #E7F4EC;
  --red: #C03B3B;         --red-bg: #FBEAEA;
  --violet: #6D5BD0;      --violet-bg: #F0EEFB;

  --grad: linear-gradient(100deg, #0E0E14 0%, #3533CD 125%);
  --grad-text: linear-gradient(95deg, #0E0E14 10%, #3533CD 85%);

  --line: #E5E3DB;
  --line-soft: #EDECE5;

  --sh-sm: 0 1px 3px rgba(21, 21, 40, 0.06);
  --sh-md: 0 6px 18px rgba(21, 21, 40, 0.07);
  --sh-lg: 0 18px 44px rgba(21, 21, 45, 0.10);
  --sh-xl: 0 32px 80px rgba(18, 18, 48, 0.16);

  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 18px;
  --r-xl: 22px;

  --serif: "Instrument Serif", "Times New Roman", Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", monospace;

  --maxw: 1160px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* -------------------------------- Reset --------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 86px; }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select { font-family: inherit; }
em { font-style: italic; }
[hidden] { display: none !important; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ------------------------------ Utilities ------------------------------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.wrap.narrow { max-width: 880px; }

.ic { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Scroll reveals */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.75s var(--ease), transform 0.75s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
.reveal[data-delay="4"] { transition-delay: 0.42s; }

/* ------------------------------- Buttons -------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 600; font-size: 15px; line-height: 1;
  padding: 13px 22px; border-radius: 11px;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s var(--ease), border-color 0.2s var(--ease), background-position 0.35s var(--ease);
  white-space: nowrap;
}
.btn .arrow { font-size: 1.05em; transition: transform 0.2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn-lg { padding: 16px 28px; font-size: 16px; border-radius: 12px; }
.btn-block { width: 100%; }

.btn-primary {
  color: #fff;
  background-image: var(--grad);
  background-size: 160% 100%;
  background-position: 0% 0;
  box-shadow: 0 1px 2px rgba(14, 14, 30, 0.25), 0 6px 18px rgba(53, 51, 205, 0.22);
}
.btn-primary:hover { background-position: 85% 0; transform: translateY(-1px); box-shadow: 0 2px 4px rgba(14, 14, 30, 0.25), 0 10px 26px rgba(53, 51, 205, 0.30); }
.btn-primary:active { transform: translateY(0); }

.btn-quiet { color: var(--ink); border: 1px solid var(--line); background: var(--surface); }
.btn-quiet:hover { border-color: #CFCDC2; transform: translateY(-1px); box-shadow: var(--sh-sm); }

.btn-light { background: #fff; color: var(--ink); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25); }
.btn-light:hover { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3); }
.btn-ghost { color: #fff; border: 1px solid rgba(255, 255, 255, 0.28); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.55); background: rgba(255, 255, 255, 0.06); }

.textlink {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 15.5px; color: var(--accent);
  border-bottom: 1px solid transparent; padding-bottom: 2px;
  transition: border-color 0.2s var(--ease);
}
.textlink:hover { border-color: var(--accent); }
.textlink .arrow { transition: transform 0.2s var(--ease); }
.textlink:hover .arrow { transform: translateX(3px); }

/* --------------------------------- Nav ---------------------------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(247, 246, 242, 0.82);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.nav.scrolled { border-bottom-color: var(--line); background: rgba(247, 246, 242, 0.92); }
.nav-in { display: flex; align-items: center; gap: 36px; height: 68px; }
.nav-logo { flex: none; }
.nav-logo img { height: 26px; width: auto; }
.nav-links { display: flex; gap: 24px; margin-left: auto; }
.nav-links a { font-size: 14.5px; font-weight: 500; color: var(--ink-2); transition: color 0.2s var(--ease); white-space: nowrap; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; }
.nav-cta .btn { padding: 11px 18px; font-size: 14px; }

.nav-burger { display: none; flex-direction: column; gap: 6px; padding: 10px 6px; margin-left: auto; }
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.25s var(--ease), opacity 0.25s var(--ease); }
.nav-burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.sheet {
  display: none; flex-direction: column; gap: 4px;
  padding: 12px 24px 24px; border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.sheet.open { display: flex; }
.sheet a { padding: 12px 4px; font-weight: 500; font-size: 16px; color: var(--ink-2); border-bottom: 1px solid var(--line-soft); }
.sheet a:last-of-type { border-bottom: none; }
.sheet .btn { margin-top: 10px; color: #fff; }

/* --------------------------------- Hero --------------------------------- */
.hero {
  position: relative;
  padding: 158px 0 56px;
  background:
    radial-gradient(820px 420px at 50% -80px, var(--accent-glow), transparent 70%),
    repeating-linear-gradient(180deg, transparent 0 35px, rgba(21, 21, 26, 0.030) 35px 36px);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, var(--paper) 96%);
}
.hero > .wrap { position: relative; z-index: 1; }

.hero-rule {
  position: absolute; top: 88px; left: 50%; transform: translateX(-50%);
  width: 1px; height: 46px;
  background: linear-gradient(180deg, transparent, rgba(53, 51, 205, 0.55));
}
.hero-in { text-align: center; max-width: 880px; }

.pill {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-2);
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.75);
  padding: 8px 16px; border-radius: 999px;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.pill:hover { border-color: rgba(53, 51, 205, 0.4); color: var(--accent); }
.pill-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: pulse 2.2s infinite; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(53, 51, 205, 0.35); }
  55% { box-shadow: 0 0 0 6px rgba(53, 51, 205, 0); }
}

.hero-h {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.9rem, 7.2vw, 5.1rem);
  line-height: 1.04; letter-spacing: -0.012em;
  margin: 30px 0 0;
}
.hero-h em {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  padding-right: 0.06em; /* keep the italic terminal off the clip edge */
}
.hero-sub {
  font-size: clamp(1.06rem, 1.7vw, 1.22rem); line-height: 1.6;
  color: var(--ink-2); max-width: 640px; margin: 24px auto 0;
}
.hero-cta { display: flex; justify-content: center; gap: 14px; margin-top: 36px; flex-wrap: wrap; }

.hero-ticks {
  display: flex; justify-content: center; gap: 26px; flex-wrap: wrap;
  margin-top: 30px; font-size: 14px; color: var(--ink-2);
}
.hero-ticks li { display: inline-flex; align-items: center; gap: 8px; }
.hero-ticks .ic { width: 14px; height: 14px; color: var(--green); }

.ground-strip {
  text-align: center;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--ink-3);
  margin: 54px auto 0; padding: 16px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  position: relative;
}
.ground-strip::before, .ground-strip::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1px; background: var(--line-soft);
}
.ground-strip::before { top: 3px; }
.ground-strip::after { bottom: 3px; }

/* ------------------------------- Exhibits ------------------------------- */
.exhibit { position: relative; margin: 64px auto 0; max-width: 880px; }
.exhibit.slim { max-width: 940px; }
.exhibit.mini { margin: 0; }

.ex-tag {
  position: absolute; top: -13px; left: 26px; z-index: 3;
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 10.5px; font-weight: 500;
  letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--ink-2);
  background: var(--paper); border: 1px solid var(--line);
  padding: 5px 13px; border-radius: 6px;
  box-shadow: var(--sh-sm);
}
.ex-tag span {
  color: var(--accent); font-weight: 600;
  padding-right: 10px; border-right: 1px solid var(--line);
}

/* ------------------------------ Chat (Ex. A) ----------------------------- */
.chat {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-xl); box-shadow: var(--sh-xl);
  overflow: hidden; text-align: left;
}
.chat-top {
  display: flex; align-items: center; gap: 11px;
  padding: 15px 20px; border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(180deg, #fff, #FCFCFA);
}
.lv-badge {
  width: 28px; height: 28px; border-radius: 9px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--grad); color: #fff;
  font-family: var(--serif); font-style: italic; font-size: 17px;
}
.lv-badge.sm { width: 22px; height: 22px; font-size: 14px; border-radius: 7px; }
.chat-name { font-weight: 700; font-size: 15px; }
.chat-matter {
  font-family: var(--mono); font-size: 11.5px; color: var(--ink-2);
  background: var(--paper-deep); border: 1px solid var(--line-soft);
  padding: 4px 10px; border-radius: 6px;
}
.chat-live { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; color: var(--green); }
.chat-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: pulse-g 2s infinite; }
@keyframes pulse-g {
  0%, 100% { box-shadow: 0 0 0 0 rgba(31, 122, 77, 0.3); }
  55% { box-shadow: 0 0 0 5px rgba(31, 122, 77, 0); }
}

.chat-body { padding: 24px 22px 20px; display: flex; flex-direction: column; gap: 14px; }
.msg { max-width: 88%; font-size: 15px; line-height: 1.55; }
.msg.user {
  align-self: flex-end;
  background: var(--accent-soft); color: var(--accent-deep);
  border: 1px solid rgba(53, 51, 205, 0.14);
  padding: 12px 16px; border-radius: 14px 14px 4px 14px;
  font-weight: 500;
}
.msg.ai {
  align-self: flex-start;
  background: #FCFCFA; border: 1px solid var(--line-soft);
  padding: 14px 18px; border-radius: 14px 14px 14px 4px;
  width: 100%; max-width: 92%;
}
.msg.ai ol { list-style: decimal; padding-left: 22px; margin-top: 8px; display: flex; flex-direction: column; gap: 6px; }
.msg.ai ol li::marker { color: var(--ink-3); font-size: 13px; }

.cite-chip {
  display: inline-flex; align-items: center; gap: 0;
  font-size: 13px; font-weight: 600;
  border: 1px solid rgba(31, 122, 77, 0.25); border-radius: 7px;
  overflow: hidden; vertical-align: -4px; line-height: 1.2;
}
.cite-name { padding: 3px 9px; background: #fff; color: var(--ink); }
.cite-state {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 9px; background: var(--green-bg); color: var(--green);
  font-size: 12px;
}
.cite-state svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

.conf-row {
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
  margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line);
}
.conf-pill {
  flex: none; font-family: var(--mono); font-size: 10px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--green); background: var(--green-bg);
  padding: 4px 9px; border-radius: 5px;
}
.conf-note { font-size: 12.5px; color: var(--ink-3); line-height: 1.5; }

.gate {
  border: 1px solid rgba(184, 134, 11, 0.35); background: var(--amber-bg);
  border-radius: var(--r-md); padding: 14px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.gate-q { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 600; color: #6B4E07; }
.gate-q .ic { color: var(--amber); width: 18px; height: 18px; }
.gate-btns { display: flex; gap: 8px; }
.g-btn {
  font-size: 13.5px; font-weight: 600; padding: 9px 16px; border-radius: 9px;
  border: 1px solid var(--line); background: #fff; color: var(--ink-2);
  transition: transform 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.g-btn:hover { transform: translateY(-1px); box-shadow: var(--sh-sm); }
.g-btn.approve { background: var(--ink); border-color: var(--ink); color: #fff; }
.g-btn.sm { font-size: 12.5px; padding: 7px 13px; }

.chat-input {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin: 0 22px 20px; padding: 13px 18px;
  border: 1px solid var(--line); border-radius: 12px; background: #FBFBF9;
  color: var(--ink-3); font-size: 14.5px;
}
.chat-input svg { width: 17px; height: 17px; color: var(--accent); }

/* hero chat entrance sequence */
.anim .msg, .anim .gate { opacity: 0; transform: translateY(10px); }
.anim.in-view .msg, .anim.in-view .gate {
  animation: rise 0.6s var(--ease) forwards;
  animation-delay: calc(var(--i, 1) * 0.5s);
}
@keyframes rise { to { opacity: 1; transform: none; } }

.float-chip {
  position: absolute; z-index: 4;
  display: none; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 600; color: var(--ink-2);
  background: #fff; border: 1px solid var(--line);
  padding: 9px 14px; border-radius: 999px; box-shadow: var(--sh-md);
  animation: 5.5s ease-in-out infinite;
}
.float-chip .ic { width: 13px; height: 13px; color: var(--green); stroke-width: 3; }
.fc-left { left: -18px; top: 34%; transform: translate(-100%, 0); animation-name: bob-l; animation-delay: 0.4s; }
.fc-right { right: -18px; bottom: 26%; transform: translate(100%, 0); animation-name: bob-r; }
@media (min-width: 1240px) { .float-chip { display: inline-flex; } }
.fc-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); animation: pulse-a 1.8s infinite; }
@keyframes pulse-a {
  0%, 100% { box-shadow: 0 0 0 0 rgba(184, 134, 11, 0.35); }
  55% { box-shadow: 0 0 0 5px rgba(184, 134, 11, 0); }
}
@keyframes bob-l { 0%, 100% { transform: translate(-100%, 0); } 50% { transform: translate(-100%, -7px); } }
@keyframes bob-r { 0%, 100% { transform: translate(100%, 0); } 50% { transform: translate(100%, -7px); } }

/* ------------------------------- Clauses -------------------------------- */
.clause { padding: 104px 0; }
.clause.alt { background: linear-gradient(180deg, var(--paper) 0%, #F3F2EC 12%, #F3F2EC 88%, var(--paper) 100%); }

.c-head { text-align: center; max-width: 720px; margin: 0 auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2);
}
.cnum {
  display: inline-flex; align-items: center;
  color: var(--accent); font-weight: 600;
  border: 1px solid rgba(53, 51, 205, 0.3);
  padding: 3px 9px; border-radius: 5px;
  background: rgba(53, 51, 205, 0.04);
}
.c-title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  line-height: 1.08; letter-spacing: -0.01em;
  margin-top: 20px;
}
.c-title em { color: var(--accent); }
.c-sub { color: var(--ink-2); font-size: 1.07rem; margin: 20px auto 0; max-width: 620px; }
.c-head.light .c-title, .c-head.light .eyebrow { color: var(--inverse); }
.c-head.light .c-title em { color: #B6B4FF; }
.c-head.light .c-sub { color: rgba(242, 242, 244, 0.62); }
.c-head.light .cnum { color: #B6B4FF; border-color: rgba(182, 180, 255, 0.35); background: rgba(182, 180, 255, 0.07); }

/* --------------------------- § 1 · Comparison ---------------------------- */
.cmp { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--sh-lg); overflow: hidden; }
.cmp-q { text-align: center; padding: 26px 24px 22px; border-bottom: 1px solid var(--line-soft); background: linear-gradient(180deg, #fff, #FCFCFA); }
.cmp-q-label {
  display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px;
}
.cmp-q p { font-family: var(--serif); font-size: clamp(1.2rem, 2.4vw, 1.55rem); line-height: 1.3; }

.cmp-cols { display: grid; grid-template-columns: 1fr 1fr; }
.cmp-col { padding: 28px 30px 26px; }
.cmp-col.generic { border-right: 1px solid var(--line-soft); background: #FBFAF8; }
.cmp-col.orivo { background: linear-gradient(180deg, rgba(53, 51, 205, 0.035), transparent 55%); }

.cmp-head { display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 700; margin-bottom: 14px; color: var(--ink-2); }
.cmp-col.orivo .cmp-head { color: var(--accent-deep); }
.cmp-dot { width: 9px; height: 9px; border-radius: 50%; background: #C9C7BD; }
.cmp-a { font-size: 15px; line-height: 1.6; min-height: 96px; }

.cmp-cite {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13px; font-weight: 600; margin-top: 16px;
  padding: 7px 12px; border-radius: 8px;
}
.cmp-cite.bad { background: var(--red-bg); color: #8C3030; border: 1px solid rgba(192, 59, 59, 0.22); }
.cmp-cite.bad .flag { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--red); }
.cmp-cite.bad svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.cmp-cite.good { background: var(--green-bg); color: #14532D; border: 1px solid rgba(31, 122, 77, 0.22); }
.cmp-cite.good .ic { width: 13px; height: 13px; color: var(--green); stroke-width: 3; }
.cmp-cite.good .ok { font-size: 11.5px; color: var(--green); }

.cmp-conf { display: flex; align-items: center; gap: 11px; margin-top: 14px; }
.cmp-conf .bar { flex: none; width: 74px; height: 6px; border-radius: 4px; background: var(--line-soft); overflow: hidden; }
.cmp-conf .bar i { display: block; height: 100%; width: 58%; border-radius: 4px; background: linear-gradient(90deg, var(--accent), var(--amber)); }
.cmp-conf .txt { font-size: 12px; color: var(--ink-3); line-height: 1.45; }

.cmp-foot { margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 13.5px; font-weight: 600; }
.cmp-foot.bad { color: #A05252; }
.cmp-foot.good { color: var(--green); }

/* triplet cards */
.triplet { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.trip {
  position: relative; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px 26px 26px; box-shadow: var(--sh-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.trip:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }
.trip-num {
  font-family: var(--mono); font-size: 11px; font-weight: 600; color: var(--accent);
  letter-spacing: 0.08em;
}
.trip h3 { font-size: 17px; font-weight: 700; margin: 12px 0 8px; }
.trip p { font-size: 14.5px; color: var(--ink-2); line-height: 1.6; }

/* ------------------------ § 5 · Outcome cards ---------------------------- */
.outcomes .trip { padding: 30px 28px 28px; }
.outcomes .trip-num { text-transform: uppercase; letter-spacing: 0.13em; font-size: 10.5px; }
.outcomes .trip h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: 1.5rem; line-height: 1.14; letter-spacing: -0.005em;
  margin: 14px 0 10px;
}
.outcomes .trip p { font-size: 15px; }

/* ------------------------------ § 2 · Jobs ------------------------------- */
.job {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(36px, 6vw, 84px); align-items: center;
  margin-top: 88px;
}
.job.flip { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.job.flip .job-copy { order: 2; }
.job.flip .exhibit { order: 1; }

.job-k {
  font-family: var(--mono); font-size: 11px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent);
}
.job-copy h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.6rem, 3vw, 2.15rem); line-height: 1.14;
  margin: 14px 0 14px; letter-spacing: -0.008em;
}
.job-copy > p { color: var(--ink-2); font-size: 16px; }
.job-list { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.job-list li {
  position: relative; padding-left: 26px;
  font-size: 15px; font-weight: 500;
}
.job-list li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 14px; height: 8px;
  border-left: 2.2px solid var(--green); border-bottom: 2.2px solid var(--green);
  transform: rotate(-48deg) scale(0.82); border-radius: 1px;
}
.job-note {
  margin-top: 22px; padding: 14px 18px;
  background: var(--accent-soft); border-left: 3px solid var(--accent);
  border-radius: 0 10px 10px 0;
  font-size: 14.5px; color: var(--accent-deep);
}

/* Exhibit C: matter card */
.matter { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-lg); overflow: hidden; }
.mt-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 14px;
  padding: 18px 22px 16px; border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(180deg, #fff, #FCFCFA);
}
.mt-head strong { display: block; font-size: 16px; }
.mt-meta { font-size: 12px; color: var(--ink-3); font-family: var(--mono); }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11.5px; font-weight: 700; line-height: 1;
  padding: 5px 10px; border-radius: 6px; white-space: nowrap;
}
.badge i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge.live { color: #8A6508; background: var(--amber-bg); }
.badge.live i { animation: pulse-a 1.6s infinite; }
.badge.done { color: var(--green); background: var(--green-bg); }
.badge.wait { color: var(--violet); background: var(--violet-bg); }

.mt-grid { display: grid; grid-template-columns: 1.5fr 1fr; }
.mt-brief { padding: 18px 22px; border-right: 1px solid var(--line-soft); }
.mt-brief-t { font-size: 13px; font-weight: 700; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.mt-auto {
  font-family: var(--mono); font-size: 9.5px; font-weight: 500; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--accent);
  background: var(--accent-soft); padding: 3px 7px; border-radius: 4px;
}
.mt-row { display: grid; grid-template-columns: 74px 1fr; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line-soft); }
.mt-row span { font-size: 11.5px; font-weight: 600; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.04em; padding-top: 2px; }
.mt-row p { font-size: 13.5px; line-height: 1.5; }
.mt-row.gap span { color: var(--red); }
.mt-row.gap p { color: #8C3030; }

.mt-side { padding: 18px 20px; background: #FBFBF9; }
.mt-side-t { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-3); margin-bottom: 10px; }
.mt-date { display: flex; align-items: center; justify-content: space-between; padding: 9px 12px; border-radius: 9px; margin-bottom: 7px; background: #fff; border: 1px solid var(--line-soft); }
.mt-date span { font-size: 13px; color: var(--ink-2); }
.mt-date b { font-size: 13px; font-family: var(--mono); font-weight: 600; }
.mt-date.urgent { background: var(--red-bg); border-color: rgba(192, 59, 59, 0.25); }
.mt-date.urgent span, .mt-date.urgent b { color: var(--red); }

/* Exhibit D: work card */
.work { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-lg); padding: 24px 24px 22px; }
.wk-row { display: grid; grid-template-columns: 88px 1fr auto; align-items: center; gap: 14px; padding: 9px 0; }
.wk-name { font-size: 13.5px; font-weight: 600; }
.wk-track { height: 7px; border-radius: 5px; background: var(--paper-deep); overflow: hidden; }
.wk-track i { display: block; height: 100%; width: var(--w, 0%); border-radius: 5px; background: linear-gradient(90deg, var(--accent), #6D5BD0); }
.anim .wk-track i { width: 0; transition: width 1.1s var(--ease); transition-delay: calc(var(--i, 1) * 0.25s); }
.anim.in-view .wk-track i { width: var(--w, 0%); }
.wk-out {
  display: flex; align-items: center; gap: 13px;
  margin-top: 16px; padding: 15px 17px;
  border: 1px solid rgba(31, 122, 77, 0.25); background: var(--green-bg);
  border-radius: var(--r-md);
}
.wk-out .ic { width: 20px; height: 20px; color: var(--green); stroke-width: 2; }
.wk-out strong { display: block; font-size: 14px; }
.wk-out em { display: block; font-style: normal; font-size: 12.5px; color: var(--green); margin-top: 2px; }

/* Exhibit E: strategist card */
.strat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-lg); padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.st-trigger {
  display: flex; align-items: center; gap: 11px;
  font-size: 13px; color: var(--ink-2);
  background: var(--paper-deep); border: 1px dashed #D8D6CC;
  border-radius: 10px; padding: 11px 14px;
}
.st-trigger .ic { width: 17px; height: 17px; color: var(--accent); stroke-width: 2; }
.st-card { border: 1px solid var(--line); border-left-width: 3px; border-radius: 10px; padding: 13px 16px 12px; background: #fff; }
.st-card.crit { border-left-color: var(--red); }
.st-card.high { border-left-color: var(--amber); }
.st-card.med { border-left-color: var(--violet); }
.st-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.st-row strong { font-size: 13.5px; }
.st-badge { flex: none; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; padding: 3px 8px; border-radius: 5px; }
.st-badge.crit { color: var(--red); background: var(--red-bg); }
.st-badge.high { color: #8A6508; background: var(--amber-bg); }
.st-badge.med { color: var(--violet); background: var(--violet-bg); }
.st-card p { font-size: 12.5px; color: var(--ink-2); margin-top: 5px; line-height: 1.5; }
.st-foot { display: flex; gap: 8px; margin-top: 10px; }
.st-btn { font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 7px; border: 1px solid var(--line); color: var(--ink-2); background: #fff; }
.st-btn.primary { background: var(--ink); border-color: var(--ink); color: #fff; }

.anim .st-trigger, .anim .st-card { opacity: 0; transform: translateY(10px); }
.anim.in-view .st-trigger, .anim.in-view .st-card {
  animation: rise 0.55s var(--ease) forwards;
  animation-delay: calc(var(--i, 1) * 0.3s);
}

/* ------------------------------ § 3 · Steps ------------------------------ */
.steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  margin-top: 60px; position: relative;
}
.steps::before {
  content: ""; position: absolute; top: 26px; left: 8%; right: 8%;
  height: 1px; background: var(--line);
}
.step {
  position: relative; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px 26px 26px; box-shadow: var(--sh-sm);
  display: flex; flex-direction: column;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.step:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }
.step-n {
  width: 38px; height: 38px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 19px;
  background: var(--paper); border: 1px solid var(--line);
  color: var(--ink); margin-bottom: 18px;
}
.step.gated .step-n { background: var(--grad); border: none; color: #fff; }
.step.gated .step-n svg { width: 17px; height: 17px; }
.step h3 { font-size: 17.5px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--ink-2); line-height: 1.6; flex: 1; }

.step-art { margin-top: 20px; }
.step-art.ask {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  font-size: 13px; color: var(--ink-2);
  border: 1px solid var(--line); border-radius: 10px; background: #FBFBF9;
  padding: 11px 14px;
}
.step-art.ask svg { width: 15px; height: 15px; color: var(--accent); flex: none; }
.step-art.tags { display: flex; flex-wrap: wrap; gap: 7px; }
.t {
  font-size: 12px; font-weight: 600; padding: 6px 11px; border-radius: 7px;
}
.t.research { color: var(--accent-deep); background: var(--accent-soft); }
.t.draft { color: #8A6508; background: var(--amber-bg); }
.t.review { color: var(--violet); background: var(--violet-bg); }
.t.cite { color: var(--green); background: var(--green-bg); }
.step-art.gatebar { display: flex; gap: 8px; }
.step-art.gatebar .g-btn { display: inline-flex; align-items: center; }

.how-close {
  text-align: center; margin-top: 52px;
  font-family: var(--serif); font-size: clamp(1.25rem, 2.4vw, 1.6rem);
}
.how-close em { color: var(--accent); }

/* --------------------------- § 4 · Dark band ----------------------------- */
.band { position: relative; padding: 110px 0 100px; background: var(--dark); color: var(--inverse); overflow: hidden; }
.band-glow {
  position: absolute; top: -180px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 460px; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(53, 51, 205, 0.32), transparent 68%);
}
.band .wrap { position: relative; z-index: 1; }

.ledger {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
  max-width: 880px; margin: 60px auto 0;
}
.led-col {
  border: 1px solid rgba(255, 255, 255, 0.12); border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.035); padding: 30px 32px;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.led-t {
  font-family: var(--mono); font-size: 11px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(242, 242, 244, 0.55); margin-bottom: 18px;
  padding-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.led-col ul { display: flex; flex-direction: column; gap: 12px; }
.led-col li { position: relative; padding-left: 24px; font-size: 15px; color: rgba(242, 242, 244, 0.82); }
.led-col li::before {
  content: "→"; position: absolute; left: 0; top: 0;
  font-family: var(--mono); font-size: 13px; color: #8987E8;
}
.led-col.yours { background: var(--paper); border-color: transparent; color: var(--ink); box-shadow: var(--sh-xl); }
.led-col.yours .led-t { color: var(--accent); border-bottom-color: var(--line); }
.led-col.yours li { color: var(--ink); font-weight: 600; }
.led-col.yours li::before { content: ""; width: 13px; height: 7px; top: 7px; border-left: 2.2px solid var(--green); border-bottom: 2.2px solid var(--green); transform: rotate(-48deg) scale(0.85); }

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  max-width: 980px; margin: 64px auto 0;
  text-align: center;
}
.stats li { padding: 8px 14px; border-left: 1px solid rgba(255, 255, 255, 0.12); }
.stats li:first-child { border-left: none; }
.stat-n {
  display: block; font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 3.6rem);
  line-height: 1; color: #fff;
}
.stat-l { display: block; margin-top: 10px; font-size: 13px; color: rgba(242, 242, 244, 0.55); line-height: 1.5; }

.band-close {
  text-align: center; margin-top: 70px;
  font-family: var(--serif); font-size: clamp(1.4rem, 2.8vw, 1.9rem);
  color: rgba(242, 242, 244, 0.92);
}
.band-close em { color: #B6B4FF; }

/* ------------------------- § 5 · Confidentiality ------------------------- */
.deed {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-xl); box-shadow: var(--sh-md);
  margin-top: 56px; overflow: hidden;
}
.deed-row {
  display: grid; grid-template-columns: 76px 1fr; gap: 8px;
  padding: 28px 34px; border-top: 1px solid var(--line-soft);
}
.deed-row:first-child { border-top: none; }
.deed-n { font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--accent); padding-top: 3px; }
.deed-row h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.deed-row p { font-size: 15px; color: var(--ink-2); line-height: 1.62; max-width: 580px; }
.deed-row a { color: var(--accent); font-weight: 600; border-bottom: 1px solid rgba(53, 51, 205, 0.3); }
.deed-row a:hover { border-bottom-color: var(--accent); }
.deed-foot { text-align: center; margin-top: 32px; }

/* --------------------------- § 6 · Access form --------------------------- */
.clause.access { padding-top: 30px; }
.acc-card {
  display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 9fr);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-xl); box-shadow: var(--sh-xl); overflow: hidden;
}
.acc-copy { padding: 58px 56px; position: relative; }
.acc-copy .c-title { margin-top: 18px; text-align: left; }
.acc-desc { color: var(--ink-2); font-size: 16px; margin-top: 18px; max-width: 480px; }
.perks { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.perks li { display: flex; align-items: baseline; gap: 11px; font-size: 15px; }
.perks .ic { width: 14px; height: 14px; color: var(--green); transform: translateY(2px); }

.seal {
  display: inline-block; margin-top: 38px;
  font-family: var(--mono); font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent);
  border: 1.5px solid rgba(53, 51, 205, 0.55); border-radius: 7px;
  outline: 1px solid rgba(53, 51, 205, 0.25); outline-offset: 3px;
  padding: 10px 16px;
  transform: rotate(-3deg);
  opacity: 0.9;
}

.acc-form-wrap {
  background: linear-gradient(180deg, #FAFAF7, #F4F3EE);
  border-left: 1px solid var(--line-soft);
  padding: 50px 46px; display: flex; align-items: center;
}
.acc-form { width: 100%; }
.acc-form h3 { font-family: var(--serif); font-weight: 400; font-size: 1.7rem; }
.form-sub { font-size: 13.5px; color: var(--ink-3); margin: 7px 0 24px; }

.hp { position: absolute; left: -9999px; top: -9999px; height: 0; overflow: hidden; }

.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 7px; }
.field .opt { color: var(--ink-3); font-weight: 400; }
.field input, .field select {
  width: 100%; font-size: 15px; color: var(--ink);
  background: #fff; border: 1px solid var(--line);
  border-radius: 10px; padding: 13px 15px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  appearance: none; -webkit-appearance: none;
}
.field input::placeholder { color: var(--ink-3); }
.field input:focus, .field select:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(53, 51, 205, 0.14);
}
.select-wrap { position: relative; }
.select-wrap::after {
  content: ""; position: absolute; right: 16px; top: 50%;
  width: 8px; height: 8px; pointer-events: none;
  border-right: 1.8px solid var(--ink-3); border-bottom: 1.8px solid var(--ink-3);
  transform: translateY(-70%) rotate(45deg);
}
.field select:invalid { color: var(--ink-3); }

.acc-form .btn { margin-top: 6px; }
.form-fine { font-size: 12px; color: var(--ink-3); margin-top: 13px; text-align: center; }
.form-error { margin-top: 14px; font-size: 13.5px; font-weight: 600; color: var(--red); text-align: center; }
.form-success {
  display: flex; align-items: flex-start; gap: 10px;
  margin-top: 8px; padding: 16px 18px;
  background: var(--green-bg); border: 1px solid rgba(31, 122, 77, 0.25);
  border-radius: 12px; font-size: 14.5px; font-weight: 500; color: #14532D;
}
.form-success .ic { color: var(--green); margin-top: 3px; }

/* --------------------------------- FAQ ----------------------------------- */
.clause.faq { padding-top: 80px; }
.faq-list {
  margin-top: 48px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--sh-sm); overflow: hidden;
}
.faq-item { border-top: 1px solid var(--line-soft); }
.faq-item:first-child { border-top: none; }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  list-style: none; cursor: pointer;
  padding: 21px 28px; font-size: 16.5px; font-weight: 600;
  transition: color 0.2s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent); }
.faq-x { position: relative; width: 14px; height: 14px; flex: none; }
.faq-x::before, .faq-x::after {
  content: ""; position: absolute; background: var(--ink-3); border-radius: 2px;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}
.faq-x::before { left: 0; right: 0; top: 6px; height: 2px; }
.faq-x::after { top: 0; bottom: 0; left: 6px; width: 2px; }
.faq-item[open] .faq-x::after { transform: scaleY(0); }
.faq-item[open] .faq-x::before { background: var(--accent); }
.faq-item p { padding: 0 28px 22px; font-size: 15px; color: var(--ink-2); max-width: 700px; line-height: 1.65; }
.faq-item p a { color: var(--accent); font-weight: 600; border-bottom: 1px solid rgba(53, 51, 205, 0.3); }

/* ------------------------------- Closing --------------------------------- */
.closing { position: relative; padding: 120px 0 96px; background: var(--dark); color: var(--inverse); overflow: hidden; text-align: center; }
.closing-glow {
  position: absolute; top: -140px; left: 50%; transform: translateX(-50%);
  width: 760px; height: 480px; pointer-events: none;
  background: radial-gradient(circle, rgba(53, 51, 205, 0.38), transparent 66%);
}
.closing-in { position: relative; z-index: 1; }
.closing h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.3rem, 5.4vw, 3.8rem); line-height: 1.08; letter-spacing: -0.01em;
  color: #fff;
}
.closing h2 em { color: #B6B4FF; }
.closing p { margin: 20px auto 0; max-width: 480px; color: rgba(242, 242, 244, 0.62); font-size: 1.05rem; }
.closing-cta { display: flex; justify-content: center; gap: 14px; margin-top: 38px; flex-wrap: wrap; }

.sig { margin-top: 76px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.sig-name { font-family: var(--serif); font-style: italic; font-size: 2.1rem; color: rgba(255, 255, 255, 0.92); line-height: 1; }
.sig-rule { width: 218px; height: 1px; background: rgba(255, 255, 255, 0.25); }
.sig-cap { font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(242, 242, 244, 0.42); }

/* -------------------------------- Footer --------------------------------- */
.footer { background: #0B0B0F; color: rgba(242, 242, 244, 0.6); padding: 64px 0 36px; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.footer-in { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.f-brand img { height: 24px; width: auto; }
.f-tag { margin-top: 14px; font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: rgba(242, 242, 244, 0.8); }
.f-note { margin-top: 6px; font-size: 13px; }
.f-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.f-col { display: flex; flex-direction: column; gap: 10px; }
.f-col h4 {
  font-family: var(--mono); font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(242, 242, 244, 0.4); margin-bottom: 6px;
}
.f-col a { font-size: 14px; transition: color 0.2s var(--ease); }
.f-col a:hover { color: #fff; }
.f-bottom {
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  margin-top: 52px; padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 12.5px; color: rgba(242, 242, 244, 0.4);
}
.f-credit a { color: rgba(242, 242, 244, 0.6); border-bottom: 1px solid rgba(255, 255, 255, 0.2); }
.f-credit a:hover { color: #fff; }

/* ------------------------------ Responsive ------------------------------- */
@media (max-width: 1060px) {
  .job, .job.flip { grid-template-columns: 1fr; gap: 34px; margin-top: 72px; }
  .job.flip .job-copy { order: 1; }
  .job.flip .exhibit { order: 2; }
  .job .exhibit { max-width: 620px; margin: 0 auto; }
}

@media (max-width: 1000px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
}

@media (max-width: 900px) {
  .triplet { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps::before { display: none; }
  .cmp-cols { grid-template-columns: 1fr; }
  .cmp-col.generic { border-right: none; border-bottom: 1px solid var(--line-soft); }
  .cmp-a { min-height: 0; }
  .ledger { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .stats li:nth-child(3) { border-left: none; }
  .acc-card { grid-template-columns: 1fr; }
  .acc-copy { padding: 44px 32px 38px; }
  .acc-form-wrap { border-left: none; border-top: 1px solid var(--line-soft); padding: 38px 32px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .clause { padding: 76px 0; }
  .hero { padding-top: 132px; }
  .hero-cta .btn { width: 100%; }
  .hero-ticks { flex-direction: column; align-items: center; gap: 10px; }
  .ex-tag { left: 14px; }
  .chat-matter { display: none; }
  .msg { max-width: 100%; }
  .msg.ai { max-width: 100%; }
  .gate { flex-direction: column; align-items: flex-start; }
  .mt-grid { grid-template-columns: 1fr; }
  .mt-brief { border-right: none; border-bottom: 1px solid var(--line-soft); }
  .deed-row { grid-template-columns: 1fr; gap: 4px; padding: 22px 22px; }
  .footer-in { flex-direction: column; gap: 36px; }
  .f-cols { gap: 36px; }
  .f-bottom { flex-direction: column; gap: 8px; }
  .ground-strip { font-size: 9.5px; letter-spacing: 0.1em; }
  .closing-cta .btn { width: 100%; }
}

/* --------------------------- Legal documents ----------------------------- */
.lnav {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.lnav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.lnav img { height: 24px; width: auto; }
.lnav-back { font-size: 14px; font-weight: 600; color: var(--ink-2); transition: color 0.2s var(--ease); }
.lnav-back:hover { color: var(--accent); }

.ldoc { max-width: 780px; margin: 0 auto; padding: 64px 28px 104px; }
.ldoc-tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(53, 51, 205, 0.3); background: rgba(53, 51, 205, 0.04);
  padding: 5px 12px; border-radius: 6px;
}
.ldoc h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 3.1rem); line-height: 1.08; letter-spacing: -0.01em;
  margin-top: 22px;
}
.ldoc-meta {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--ink-3); margin-top: 14px;
}
.ldoc-lede { color: var(--ink-2); font-size: 1.05rem; margin-top: 18px; max-width: 640px; }

.lsum {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--sh-sm);
  padding: 26px 30px 22px; margin-top: 36px;
}
.lsum-t {
  font-family: var(--mono); font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 14px;
}
.lsum ul { display: flex; flex-direction: column; gap: 9px; }
.lsum li { position: relative; padding-left: 26px; font-size: 15px; font-weight: 500; }
.lsum li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 13px; height: 7px;
  border-left: 2.2px solid var(--green); border-bottom: 2.2px solid var(--green);
  transform: rotate(-48deg) scale(0.82);
}
.lsum-fine { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 12.5px; color: var(--ink-3); }

.ldoc h2 {
  display: flex; align-items: baseline; gap: 14px;
  font-size: 1.1rem; font-weight: 700; line-height: 1.35;
  margin-top: 44px; padding-top: 30px; border-top: 1px solid var(--line);
}
.ldoc h2:first-of-type { margin-top: 48px; }
.lno { font-family: var(--mono); font-size: 0.85rem; font-weight: 600; color: var(--accent); flex: none; min-width: 26px; }
.ldoc h2 + p, .ldoc h2 + ul { margin-top: 14px; }
.ldoc p { font-size: 15.5px; color: var(--ink-2); line-height: 1.7; margin-top: 12px; }
.ldoc p strong, .ldoc li strong { color: var(--ink); }
.ldoc ul { margin-top: 12px; display: flex; flex-direction: column; gap: 9px; }
.ldoc ul li {
  position: relative; padding-left: 22px;
  font-size: 15.5px; color: var(--ink-2); line-height: 1.65;
}
.ldoc ul li::before {
  content: ""; position: absolute; left: 2px; top: 12px;
  width: 9px; height: 1.5px; background: var(--accent); opacity: 0.6;
}
.ldoc a { color: var(--accent); font-weight: 600; border-bottom: 1px solid rgba(53, 51, 205, 0.3); transition: border-color 0.2s var(--ease); }
.ldoc a:hover { border-bottom-color: var(--accent); }

.lfoot { background: #0B0B0F; color: rgba(242, 242, 244, 0.55); padding: 28px 0; }
.lfoot .wrap { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; font-size: 13px; }
.lfoot a { transition: color 0.2s var(--ease); }
.lfoot a:hover { color: #fff; }
.lfoot .spacer { flex: 1; }

@media print {
  .lnav, .lfoot { display: none; }
  body { background: #fff; font-size: 12pt; }
  .ldoc { padding: 0; max-width: none; }
  .lsum { box-shadow: none; }
  .ldoc a { border-bottom: none; color: var(--ink); font-weight: 600; }
}

/* ---------------------------- Reduced motion ----------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .anim .msg, .anim .gate, .anim .st-trigger, .anim .st-card { opacity: 1; transform: none; }
  .anim .wk-track i { width: var(--w, 0%); }
}
