@font-face {
  font-family: "TX-02";
  src: url("https://framerusercontent.com/assets/SctV9aWGZsMBwioNM9w5Lzww53o.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "Inter Display";
  src: url("https://framerusercontent.com/assets/bHYNJqzTyl2lqvmMiRRS6Y16Es.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "Tiempos";
  src: url("https://framerusercontent.com/assets/ZQbZBPUlYAJMEfaS8ycHNAeYvHo.woff2") format("woff2");
  font-display: swap;
}

:root {
  --bg: #151313;
  --panel: #1b1718;
  --panel-2: #241d1f;
  --line: #3c3032;
  --line-soft: #2b2324;
  --text: #faf1e7;
  --muted: #b9aaa1;
  --dim: #746663;
  --green: #ff6b62;
  --green-2: #73ded4;
  --white: #f6ecdc;
  --accent-2: #73ded4;
  --accent-3: #d5a955;
  --shadow: rgba(35, 12, 14, 0.42);
  --max: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter Display", Inter, Arial, sans-serif;
  font-size: 16px;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
  font: inherit;
}

.announcement {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #fff5ed;
  font-size: 15px;
  line-height: 1;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.18) 0 1px, transparent 1px 100%) 0 0 / 4px 4px,
    linear-gradient(110deg, #743252 0%, #c94b52 48%, #227b75 100%);
}

.announcement .divider,
.announcement .chev {
  opacity: 0.45;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 80px;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  display: flex;
  align-items: center;
  gap: 44px;
  background: rgba(27, 23, 24, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  color: var(--text);
  font-family: Tiempos, Georgia, serif;
  font-size: 26px;
}

.cartesia-mark {
  width: 28px;
  height: 28px;
  display: grid;
  grid-template-columns: repeat(5, 5.6px);
  grid-template-rows: repeat(5, 5.6px);
  gap: 0;
}

.cartesia-mark i {
  display: block;
  width: 5.6px;
  height: 5.6px;
  background: var(--text);
}

.cartesia-mark i:nth-child(1) { grid-area: 1 / 3; }
.cartesia-mark i:nth-child(2) { grid-area: 2 / 2; }
.cartesia-mark i:nth-child(3) { grid-area: 2 / 4; }
.cartesia-mark i:nth-child(4) { grid-area: 3 / 1; }
.cartesia-mark i:nth-child(5) { grid-area: 3 / 3; }
.cartesia-mark i:nth-child(6) { grid-area: 3 / 5; }
.cartesia-mark i:nth-child(7) { grid-area: 4 / 2; }
.cartesia-mark i:nth-child(8) { grid-area: 4 / 4; }
.cartesia-mark i:nth-child(9) { grid-area: 5 / 3; }

.cartesia-mark.tiny {
  transform: scale(0.7);
  transform-origin: center;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  flex: 1;
  color: var(--muted);
  font-size: 16px;
}

.desktop-nav a {
  display: inline-flex;
  gap: 9px;
  align-items: center;
}

.desktop-nav .mobile-nav-action {
  display: none;
}

.nav-menu {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 18px 0;
  margin: -18px 0;
}

.nav-menu::after {
  content: "";
  position: absolute;
  left: -28px;
  right: -28px;
  top: 100%;
  height: 42px;
}

.nav-menu-trigger {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid rgba(246, 236, 220, 0.12);
  border-radius: 999px;
  background: rgba(246, 236, 220, 0.035);
  color: inherit;
  cursor: pointer;
}

.nav-menu-trigger.is-active,
.desktop-nav a.is-active,
.top-link.is-active {
  color: var(--text);
}

.desktop-nav a,
.nav-menu-trigger,
.top-link {
  transition:
    color 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.desktop-nav a:hover,
.nav-menu:hover .nav-menu-trigger,
.nav-menu.is-open .nav-menu-trigger,
.nav-menu-trigger:focus-visible,
.top-link:hover,
.top-link:focus-visible {
  color: var(--text);
}

.nav-menu:hover .nav-menu-trigger,
.nav-menu.is-open .nav-menu-trigger,
.nav-menu-trigger:focus-visible {
  border-color: rgba(246, 236, 220, 0.24);
  background: rgba(246, 236, 220, 0.075);
}

.desktop-nav .nav-caret {
  margin-left: 2px;
  color: currentColor;
  font-size: 10px;
  line-height: 1;
  transform: translateY(-1px);
  transition: transform 160ms ease;
}

.nav-menu:hover .nav-caret,
.nav-menu.is-open .nav-caret,
.nav-menu-trigger[aria-expanded="true"] .nav-caret {
  transform: translateY(-1px) rotate(180deg);
}

.nav-menu-panel {
  position: fixed;
  left: 50%;
  top: 76px;
  z-index: 40;
  width: min(1120px, calc(100vw - 48px));
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: rgba(21, 19, 19, 0.98);
  border: 1px solid var(--line);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.36);
  opacity: 0;
  visibility: hidden;
  transform: translate3d(-50%, 8px, 0);
  transition:
    opacity 170ms ease,
    transform 170ms ease,
    visibility 170ms ease;
  pointer-events: none;
}

.nav-menu:hover .nav-menu-panel,
.nav-menu.is-open .nav-menu-panel,
.nav-menu:focus-within .nav-menu-panel {
  opacity: 1;
  visibility: visible;
  transform: translate3d(-50%, 0, 0);
  pointer-events: auto;
}

.nav-menu-panel::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 24px;
}

.desktop-nav .nav-solution-card {
  min-height: 275px;
  padding: 26px 24px 22px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  color: var(--text);
  border-right: 1px solid var(--line);
}

.desktop-nav .nav-solution-card:last-child {
  border-right: 0;
}

.nav-solution-card strong {
  margin-bottom: 6px;
  color: var(--text);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0;
}

.nav-solution-card > span {
  margin-bottom: 12px;
  color: var(--green);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
}

.nav-solution-card p {
  min-height: 66px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.42;
}

.nav-preview {
  width: 100%;
  height: 118px;
  display: block;
  margin-top: auto;
  overflow: visible;
  border: 1px solid rgba(255, 107, 98, 0.18);
  background:
    linear-gradient(90deg, rgba(255, 107, 98, 0.5), rgba(213, 169, 85, 0.2)),
    repeating-linear-gradient(90deg, transparent 0 44px, rgba(246, 236, 220, 0.18) 44px 92px, transparent 92px 136px),
    repeating-linear-gradient(0deg, rgba(255, 107, 98, 0.12) 0 20px, rgba(21, 19, 19, 0.14) 20px 46px);
}

.nav-preview.in-house {
  background:
    linear-gradient(90deg, rgba(255, 107, 98, 0.54), rgba(213, 169, 85, 0.2)),
    repeating-linear-gradient(90deg, rgba(255, 107, 98, 0.2) 0 50px, rgba(246, 236, 220, 0.16) 50px 98px, rgba(21, 19, 19, 0.08) 98px 140px),
    repeating-linear-gradient(0deg, rgba(255, 107, 98, 0.1) 0 22px, rgba(21, 19, 19, 0.12) 22px 50px);
}

.nav-preview.law-firms {
  border-color: rgba(213, 169, 85, 0.24);
  background:
    linear-gradient(90deg, rgba(213, 169, 85, 0.52), rgba(255, 107, 98, 0.18)),
    repeating-linear-gradient(90deg, rgba(213, 169, 85, 0.24) 0 42px, rgba(246, 236, 220, 0.14) 42px 90px, rgba(21, 19, 19, 0.08) 90px 132px),
    repeating-linear-gradient(0deg, rgba(213, 169, 85, 0.12) 0 20px, rgba(21, 19, 19, 0.14) 20px 48px);
}

.nav-preview.compliance-grc {
  border-color: rgba(115, 222, 212, 0.24);
  background:
    linear-gradient(90deg, rgba(115, 222, 212, 0.42), rgba(255, 107, 98, 0.18)),
    repeating-linear-gradient(90deg, rgba(115, 222, 212, 0.18) 0 38px, rgba(246, 236, 220, 0.14) 38px 86px, rgba(21, 19, 19, 0.08) 86px 128px),
    repeating-linear-gradient(0deg, rgba(115, 222, 212, 0.1) 0 18px, rgba(21, 19, 19, 0.14) 18px 44px);
}

.nav-preview.legal-tech-builders {
  border-color: rgba(246, 236, 220, 0.22);
  background:
    linear-gradient(90deg, rgba(246, 236, 220, 0.42), rgba(115, 222, 212, 0.18), rgba(255, 107, 98, 0.22)),
    repeating-linear-gradient(90deg, rgba(246, 236, 220, 0.16) 0 34px, rgba(115, 222, 212, 0.13) 34px 78px, rgba(21, 19, 19, 0.1) 78px 122px),
    repeating-linear-gradient(0deg, rgba(255, 107, 98, 0.1) 0 16px, rgba(21, 19, 19, 0.16) 16px 40px);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  color: #e4d8ce;
  font-size: 16px;
}

.top-link {
  color: var(--muted);
  white-space: nowrap;
}

.link-action {
  color: var(--muted);
  margin-right: 2px;
}

.pill {
  min-height: 43px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 600;
  white-space: nowrap;
}

.pill.light {
  background: var(--white);
  color: var(--bg);
}

.pill.ghost {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
}

.pill.small {
  min-height: 28px;
  padding: 0 14px;
  font-size: 12px;
}

.menu-button {
  display: none;
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  padding: 8px;
}

.menu-button span {
  display: block;
  height: 1px;
  margin: 6px 0;
  background: var(--text);
  transform-origin: center;
  transition: transform 160ms ease;
}

.framed {
  max-width: var(--max);
  margin: 0 auto;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

main > section.framed {
  border-bottom: 0;
}

.section-separator {
  height: 80px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    repeating-linear-gradient(90deg, transparent 0 10px, rgba(246, 236, 220, 0.055) 10px 11px),
    linear-gradient(90deg, rgba(255, 107, 98, 0.018), rgba(115, 222, 212, 0.014));
}

.hero {
  min-height: 640px;
  position: relative;
  border-top: 1px solid var(--line);
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 45%, rgba(246, 236, 220, 0.1), transparent 28%),
    radial-gradient(circle at 34% 70%, rgba(255, 107, 98, 0.08), transparent 34%),
    var(--bg);
}

.hero-inner {
  min-height: 640px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 520px);
  align-items: center;
  gap: 72px;
  padding: 88px 48px 82px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 590px;
  margin: 0;
  padding: 0;
  text-align: left;
}

.hero-copy h1 {
  max-width: 590px;
  margin: 0 0 24px;
  font-size: clamp(42px, 4.1vw, 58px);
  line-height: 1.08;
}

.hero-copy .subhead {
  max-width: 560px;
  margin: 0 0 30px;
}

.hero-copy .cta-row {
  justify-content: flex-start;
}

.hero-globe-wrap {
  position: relative;
  z-index: 1;
  min-height: 520px;
  display: grid;
  place-items: center;
}

.hero-globe {
  position: relative;
  width: min(520px, 100%);
  aspect-ratio: 1;
  overflow: hidden;
  isolation: isolate;
  cursor: grab;
  touch-action: none;
  user-select: none;
}

.hero-globe:active {
  cursor: grabbing;
}

.hero-globe::before {
  content: "";
  position: absolute;
  inset: 5.5%;
  z-index: 0;
  display: none;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 46%, rgba(36, 29, 31, 0.98), rgba(27, 23, 24, 0.98) 55%, rgba(21, 19, 19, 0.86) 72%, rgba(21, 19, 19, 0) 79%);
  box-shadow:
    0 0 28px rgba(255, 107, 98, 0.18),
    inset 0 0 26px rgba(255, 107, 98, 0.18);
}

.hero-globe-canvas {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  touch-action: none;
}

.hero-globe-markers {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.hero-globe-marker {
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  opacity: 0;
  transform: translate3d(-9999px, -9999px, 0);
  will-change: opacity, transform;
}

.hero-globe-marker::before {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: inherit;
  background: var(--green);
  box-shadow:
    0 0 0 1px rgba(255, 107, 98, 0.18),
    0 0 18px rgba(255, 107, 98, 0.2);
}

.hero-globe-marker.is-active {
  width: auto;
  min-width: 124px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 107, 98, 0.72);
  background: rgba(27, 23, 24, 0.92);
  box-shadow:
    0 9px 22px rgba(35, 12, 14, 0.28),
    0 0 24px rgba(255, 107, 98, 0.16);
  backdrop-filter: blur(10px);
}

.hero-globe-marker.is-active::before {
  display: none;
}

.hero-globe-code {
  width: 28px;
  height: 28px;
  display: none;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 107, 98, 0.34);
  border-radius: 999px;
  color: var(--green);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.hero-globe-marker.is-active .hero-globe-code {
  display: grid;
}

.hero-globe-label {
  display: none;
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.hero-globe-marker.is-active .hero-globe-label {
  display: block;
}

.hero-globe-play {
  width: 28px;
  height: 28px;
  display: none;
  place-items: center;
  flex: 0 0 auto;
  margin-left: 2px;
  border: 1px solid rgba(255, 107, 98, 0.26);
  border-radius: 999px;
  color: var(--green);
}

.hero-globe-marker.is-active .hero-globe-play {
  display: grid;
}

.hero-globe-play::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 2px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 7px solid currentColor;
}

.eyebrow {
  margin: 0 0 27px;
  text-transform: uppercase;
  font-size: 21px;
  line-height: 1.2;
  color: var(--green);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin: 0 auto 24px;
  font-size: clamp(48px, 4.45vw, 64px);
  line-height: 1.08;
  font-weight: 400;
  color: var(--text);
}

.subhead {
  max-width: 660px;
  margin: 0 auto 28px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.45;
}

.cta-row {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.studio-wrap {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 1280px;
  height: 336px;
  transform: translateX(-50%);
  isolation: isolate;
  background:
    radial-gradient(circle at 14% 40%, rgba(255, 107, 98, 0.32), transparent 28%),
    radial-gradient(circle at 78% 30%, rgba(115, 222, 212, 0.26), transparent 31%),
    linear-gradient(90deg, rgba(213, 169, 85, 0.3), rgba(255, 107, 98, 0.3) 46%, rgba(115, 222, 212, 0.24)),
    #241d1f;
}

.green-stage {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.4;
  mix-blend-mode: luminosity;
  filter: grayscale(1) contrast(1.25);
}

.studio-card {
  position: absolute;
  left: 50%;
  top: -76px;
  width: min(1000px, calc(100vw - 180px));
  transform: translateX(-50%);
  padding: 50px 44px 28px;
  min-height: 348px;
  background:
    radial-gradient(circle at 24% 10%, rgba(255, 107, 98, 0.1), transparent 30%),
    radial-gradient(circle at 82% 100%, rgba(115, 222, 212, 0.11), transparent 36%),
    linear-gradient(150deg, rgba(36, 29, 31, 0.97), rgba(21, 19, 19, 0.92) 56%, rgba(28, 24, 24, 0.94)),
    repeating-linear-gradient(90deg, rgba(246, 236, 220, 0.032) 0 1px, transparent 1px 142px);
  border: 1px solid rgba(246, 236, 220, 0.16);
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(246, 236, 220, 0.08);
  overflow: hidden;
}

.studio-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0 24%, rgba(255, 255, 255, 0.025) 24% 34%, transparent 34% 67%, rgba(255, 255, 255, 0.022) 67% 78%, transparent 78%),
    radial-gradient(circle at 50% 115%, rgba(255, 107, 98, 0.14), transparent 42%);
}

.code-line {
  position: relative;
  z-index: 1;
  min-height: 138px;
  color: var(--text);
  font-size: clamp(21px, 2vw, 27px);
  line-height: 1.36;
  white-space: normal;
}

.code-line.is-answer {
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.42;
}

.typing-token,
.typing-citation {
  color: var(--accent-2);
  background: rgba(115, 222, 212, 0.1);
  box-shadow: inset 0 0 0 1px rgba(115, 222, 212, 0.28);
}

.typing-token {
  display: inline-block;
  margin-right: 5px;
}

.typing-copy {
  position: relative;
}

.code-line.is-typing .typing-copy::after,
.code-line.is-complete .typing-copy::after {
  content: "";
  width: 2px;
  height: 1.04em;
  display: inline-block;
  margin-left: 3px;
  vertical-align: -0.14em;
  background: #f8f0e5;
  animation: heroCaretBlink 840ms steps(1) infinite;
}

.voice-tabs {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  max-height: 0;
  margin-top: 0;
  font-size: 13px;
  color: #e4d8ce;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  transform: translateY(-6px);
  transition: none;
}

.code-line.is-answer + .source-links {
  max-height: 52px;
  margin-top: 28px;
  opacity: 1;
  visibility: visible;
  overflow: visible;
  transform: translateY(0);
  transition:
    max-height 220ms ease,
    margin-top 220ms ease,
    opacity 180ms ease,
    transform 180ms ease,
    visibility 180ms ease;
}

.source-pill {
  --source-color: var(--accent-2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  max-width: min(100%, 390px);
  padding: 0 12px 0 10px;
  border: 1px solid color-mix(in srgb, var(--source-color), transparent 58%);
  border-radius: 999px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--source-color), transparent 90%), rgba(21, 19, 19, 0.32));
  box-shadow:
    inset 0 1px 0 rgba(246, 236, 220, 0.05),
    0 8px 26px rgba(0, 0, 0, 0.16);
  color: var(--text);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.source-pill:hover {
  border-color: color-mix(in srgb, var(--source-color), transparent 35%);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--source-color), transparent 84%), rgba(21, 19, 19, 0.36));
}

.source-pill::after {
  content: "↗";
  color: var(--source-color);
  font-size: 12px;
  line-height: 1;
  opacity: 0.72;
}

.statute-source {
  --source-color: var(--accent-3);
}

.case-source {
  --source-color: var(--accent-2);
}

.source-index {
  min-height: 22px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: color-mix(in srgb, var(--source-color), transparent 84%);
  color: var(--source-color);
  font-family: "TX-02", monospace;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.source-title {
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
}

.source-pin {
  flex: 0 0 auto;
  color: color-mix(in srgb, var(--source-color), var(--white) 32%);
  font-family: "TX-02", monospace;
  font-size: 11px;
}

.jurisdiction-pill {
  width: auto;
  height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 1px 8px;
  border: 1px solid rgb(59, 59, 59);
  border-radius: 30px;
  background: transparent;
  color: rgb(245, 243, 239);
  font-family: Inter, "Inter Display", Arial, sans-serif;
  font-size: 15px;
  font-weight: 500;
  cursor: default;
}

.kenya-flag {
  position: relative;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 100%;
  background:
    linear-gradient(
      to bottom,
      #080808 0 28%,
      #f5f3ef 28% 34%,
      #b91825 34% 66%,
      #f5f3ef 66% 72%,
      #07813f 72% 100%
    );
}

.kenya-flag::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 7px;
  height: 14px;
  border: 1px solid #f5f3ef;
  border-radius: 50%;
  background: #b91825;
  box-shadow: inset 0 0 0 2px #080808;
  transform: translate(-50%, -50%);
}

.kenya-flag::after,
.kenya-flag span {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 19px;
  height: 1px;
  background: rgba(245, 243, 239, 0.92);
  transform-origin: center;
}

.kenya-flag::after {
  transform: translate(-50%, -50%) rotate(55deg);
}

.kenya-flag span {
  transform: translate(-50%, -50%) rotate(-55deg);
}

.country-label {
  line-height: normal;
}

.country-chevron {
  display: flex;
  transform: rotate(180deg);
  transform-origin: center center;
}

.country-chevron svg {
  min-width: 16px;
  min-height: 16px;
  display: block;
}

.player-row {
  position: relative;
  z-index: 1;
  margin-top: 16px;
  padding-top: 18px;
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(246, 236, 220, 0.13);
}

.play,
.sound,
.arrows button {
  border: 0;
  border-radius: 50%;
  background: var(--white);
  color: var(--bg);
}

.play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 118px;
  height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(21, 19, 19, 0.42);
  box-shadow:
    0 0 0 2px rgba(246, 236, 220, 0.88),
    0 10px 28px rgba(0, 0, 0, 0.24);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.lexchat-demo-widget {
  position: relative;
  overflow: visible;
}

.lexchat-demo-widget .studio-wrap {
  position: relative;
  left: auto;
  bottom: auto;
  width: min(1280px, 100%);
  margin: 0 auto;
  transform: none;
}

.lexchat-demo-widget .studio-card {
  width: min(1000px, calc(100% - 160px));
}

@keyframes heroCaretBlink {
  0%, 48% { opacity: 1; }
  49%, 100% { opacity: 0; }
}

.market-flip {
  height: 118px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(246, 236, 220, 0.035) 0 1px, transparent 1px 18px),
    linear-gradient(180deg, rgba(246, 236, 220, 0.018), rgba(255, 107, 98, 0.025));
}

.market-slot {
  position: relative;
  min-width: 0;
  height: 100%;
  overflow: hidden;
}

.market-slot:nth-child(1) { --slot-index: 0; }
.market-slot:nth-child(2) { --slot-index: 1; }
.market-slot:nth-child(3) { --slot-index: 2; }
.market-slot:nth-child(4) { --slot-index: 3; }

.market-slot + .market-slot {
  border-left: 1px solid var(--line);
}

.market-slot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(246, 236, 220, 0.09), transparent);
  opacity: 0;
  transform: translateX(-100%);
  pointer-events: none;
}

.market-face {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 0 18px;
  color: var(--text);
  font-family: "Inter Display", Arial, sans-serif;
  font-size: clamp(18px, 2.1vw, 31px);
  font-weight: 900;
  letter-spacing: 0.085em;
  line-height: 0.9;
  text-align: center;
  text-transform: uppercase;
  white-space: normal;
  will-change: opacity, transform;
}

.market-flip.is-visible .market-slot::after {
  animation: marketTileSweep 7.6s cubic-bezier(0.72, 0, 0.2, 1) infinite;
  animation-delay: calc(var(--slot-index, 0) * 120ms);
}

.market-flip.is-visible .market-front {
  animation: marketFrontExit 7.6s cubic-bezier(0.72, 0, 0.2, 1) infinite;
  animation-delay: calc(var(--slot-index, 0) * 120ms);
}

.market-face::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 27px;
  width: 42px;
  height: 1px;
  transform: translateX(-50%) scaleX(0.42);
  transform-origin: center;
  background: rgba(255, 107, 98, 0.5);
  opacity: 0.7;
}

.market-back {
  color: rgba(246, 236, 220, 0.94);
  opacity: 0;
  transform: translateY(22px);
  visibility: hidden;
}

.market-flip.is-visible .market-back {
  animation: marketBackEnter 7.6s cubic-bezier(0.72, 0, 0.2, 1) infinite;
  animation-delay: calc(var(--slot-index, 0) * 120ms);
}

.market-static {
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.market-static.is-visible .market-slot::after,
.market-static.is-visible .market-front,
.market-static.is-visible .market-back {
  animation: none;
}

.market-static .market-back {
  display: none;
}

.natural {
  --authority-sticky-top: 80px;
  --authority-progress: 0;
  --authority-shift-a: 0%;
  --authority-shift-b: 0%;
  --authority-noise-x: 0px;
  --authority-noise-y: 0px;
  position: relative;
  min-height: 250vh;
  border-bottom: 1px solid var(--line);
  overflow: clip;
}

.authority-shell {
  position: sticky;
  top: var(--authority-sticky-top);
  min-height: 700px;
  height: calc(100vh - var(--authority-sticky-top));
  display: grid;
  grid-template-columns: 35% 65%;
  background: var(--bg);
}

.value-scroll .authority-shell {
  grid-template-columns: 1fr 1fr;
  background: #141011;
}

.natural-copy {
  padding: 82px 64px 96px;
  border-right: 1px solid var(--line);
}

.authority-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.authority-kicker {
  margin: 0 0 28px;
  color: var(--green);
  font-family: "TX-02", monospace;
  font-size: 13px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.authority-copy h2 {
  max-width: 520px;
  margin-bottom: 34px;
  font-size: clamp(36px, 3.45vw, 50px);
}

h2 {
  font-size: clamp(38px, 4vw, 54px);
  line-height: 1.05;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 46px;
}

.authority-narrative {
  max-width: 540px;
  color: rgba(246, 236, 220, 0.34);
  font-size: clamp(23px, 1.92vw, 28px);
  line-height: 1.3;
  font-weight: 750;
}

.authority-token {
  color: rgba(246, 236, 220, 0.34);
  transition: color 260ms ease, text-shadow 260ms ease;
}

.authority-token.is-active {
  color: var(--text);
  text-shadow: 0 0 28px rgba(255, 107, 98, 0.14);
}

sup {
  display: inline-flex;
  width: 23px;
  height: 23px;
  align-items: center;
  justify-content: center;
  top: -0.1em;
  border: 1px solid #6d5452;
  border-radius: 5px;
  color: var(--muted);
  font-size: 16px;
  transition: color 260ms ease, border-color 260ms ease, background 260ms ease, box-shadow 260ms ease;
}

.authority-token.is-active sup {
  border-color: rgba(213, 169, 85, 0.95);
  background: rgba(213, 169, 85, 0.95);
  color: #151313;
  box-shadow: 0 0 22px rgba(213, 169, 85, 0.24);
}

.natural-visual {
  position: relative;
  min-height: 100%;
  margin-top: 0;
}

.authority-visual {
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at calc(24% + var(--authority-shift-a)) 18%, rgba(255, 237, 178, 0.92), transparent 29%),
    radial-gradient(circle at calc(82% - var(--authority-shift-b)) 24%, rgba(115, 222, 212, 0.84), transparent 34%),
    radial-gradient(circle at 24% 78%, rgba(255, 107, 98, 0.74), transparent 36%),
    radial-gradient(circle at 80% 88%, rgba(35, 80, 77, 0.98), transparent 36%),
    linear-gradient(132deg, #f6ecdc 0%, #e8b1a4 36%, #77cbc3 67%, #241d1f 100%);
}

.value-scroll .authority-visual {
  background: #4b1f21;
}

.value-scroll .authority-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: #64282a;
  clip-path: polygon(0 0, 100% 0, 100% 82%, 84% 100%, 0 100%);
  opacity: 0.92;
}

.value-scroll .authority-stage {
  display: none;
}

.value-scroll .authority-visual::after {
  display: block;
  background: transparent;
  box-shadow:
    inset 0 0 0 1px rgba(246, 236, 220, 0.07),
    inset 112px 0 0 rgba(20, 16, 17, 0.2),
    inset 0 -88px 0 rgba(20, 16, 17, 0.16),
    inset -96px 0 0 rgba(213, 169, 85, 0.08);
}

.authority-stage {
  position: absolute;
  inset: -28%;
  z-index: -2;
  background:
    repeating-radial-gradient(circle at 32% 32%, rgba(21, 19, 19, 0.15) 0 1px, transparent 1px 4px),
    linear-gradient(120deg, rgba(255, 255, 255, 0.16), transparent 42%, rgba(0, 0, 0, 0.28));
  opacity: 0.52;
  transform: translate3d(var(--authority-noise-x), var(--authority-noise-y), 0) rotate(-2deg);
  transition: transform 220ms ease;
}

.authority-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(21, 19, 19, 0.14), transparent 22%),
    radial-gradient(circle at 50% 50%, transparent 0 48%, rgba(21, 19, 19, 0.34) 100%);
  pointer-events: none;
}

.authority-card {
  position: absolute;
  left: 13%;
  top: 50%;
  width: min(670px, 72%);
  padding: 34px 36px 30px;
  color: rgba(21, 19, 19, 0.78);
  background:
    linear-gradient(180deg, rgba(246, 236, 220, 0.76), rgba(246, 236, 220, 0.48)),
    repeating-linear-gradient(90deg, rgba(21, 19, 19, 0.035) 0 1px, transparent 1px 14px);
  border: 1px solid rgba(21, 19, 19, 0.17);
  box-shadow: 0 30px 95px rgba(21, 19, 19, 0.22);
  backdrop-filter: blur(16px);
  opacity: 0;
  transform: translate3d(0, -50%, 0) scale(0.975);
  transition: opacity 260ms ease, transform 320ms ease;
}

.authority-card.is-active {
  opacity: 1;
  transform: translate3d(0, -50%, 0) scale(1);
}

.authority-card.authority-workbench-card {
  left: 8%;
  width: min(900px, 84%);
  height: 430px;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 0;
  color: inherit;
  background: #f6ecdc;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 34px 54px rgba(0, 0, 0, 0.28);
  backdrop-filter: none;
}

.authority-card.authority-chat-card {
  left: 3%;
  width: min(1040px, 94%);
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.authority-card.authority-turnaround-card {
  left: 8%;
  width: min(900px, 84%);
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.authority-card.authority-tabular-card {
  left: 8%;
  width: min(900px, 84%);
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.authority-card.authority-playbook-card {
  left: 8%;
  width: min(900px, 84%);
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.authority-workbench-animation {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  filter: none;
  transform: none;
  transform-origin: center;
}

.authority-chat-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1500 / 760;
  overflow: hidden;
  border-radius: 8px;
  background: #f7f8fa;
  box-shadow: 0 34px 54px rgba(0, 0, 0, 0.34);
}

.authority-chat-animation {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 250%;
  height: 250%;
  border: 0;
  background: #f7f8fa;
  transform: scale(0.4);
  transform-origin: 0 0;
  pointer-events: none;
}

.turnaround-chart {
  position: relative;
  min-height: 430px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(38px, 4.2vw, 50px);
  overflow: hidden;
  border-radius: 8px;
  background: #f6ecdc;
  color: #2b302f;
  box-shadow: 0 34px 54px rgba(0, 0, 0, 0.28);
}

.turnaround-chart::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.16), transparent 44%, rgba(32, 38, 38, 0.025));
  pointer-events: none;
}

.turnaround-rows {
  position: relative;
  z-index: 1;
  width: min(100%, 560px);
  display: grid;
  gap: 32px;
}

.turnaround-row {
  --turnaround-fill-color: var(--green);
  --turnaround-fill-shadow: rgba(255, 107, 98, 0.24);
  display: flex;
  align-items: center;
  gap: 16px;
}

.turnaround-row.is-hours {
  --turnaround-fill-color: var(--accent-2);
  --turnaround-fill-shadow: rgba(115, 222, 212, 0.22);
}

.turnaround-row.is-money {
  --turnaround-fill-color: var(--accent-3);
  --turnaround-fill-shadow: rgba(213, 169, 85, 0.24);
}

.turnaround-label {
  width: 128px;
  flex: 0 0 128px;
  color: rgba(43, 48, 47, 0.64);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  line-height: 1.3;
  text-align: center;
  white-space: pre-line;
  text-transform: none;
  letter-spacing: 0;
}

.turnaround-row.is-primary .turnaround-label {
  color: #2b302f;
}

.turnaround-bar {
  position: relative;
  flex: 1 1 auto;
  height: 74px;
  display: flex;
  align-items: center;
  overflow: visible;
  border-radius: 8px;
  background: transparent;
}

.turnaround-fill {
  position: relative;
  display: block;
  flex: 0 0 var(--bar-width);
  height: 74px;
  width: var(--bar-width);
  min-width: 92px;
  border-radius: 8px;
  background: var(--turnaround-fill-color);
  box-shadow:
    inset 0 0 0 1px rgba(21, 19, 19, 0.08),
    0 16px 32px var(--turnaround-fill-shadow);
  transform: scaleX(0.02);
  transform-origin: left center;
}

.turnaround-fill::after {
  content: "";
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 4px;
  border-radius: 999px;
  background: rgba(246, 236, 220, 0.46);
}

.authority-turnaround-card.is-active .turnaround-fill {
  animation: turnaroundGrow 820ms cubic-bezier(0.18, 0.92, 0.2, 1) forwards;
  animation-delay: var(--bar-delay);
}

.turnaround-value {
  flex: 0 0 auto;
  margin-left: 12px;
  color: rgba(43, 48, 47, 0.58);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  line-height: 1.35;
  letter-spacing: 0;
  opacity: 0;
  transform: translateX(-6px);
}

.turnaround-row.is-primary .turnaround-value {
  color: #2b302f;
}

.authority-turnaround-card.is-active .turnaround-value {
  animation: turnaroundValueIn 520ms ease forwards;
  animation-delay: calc(var(--bar-delay) + 360ms);
}

@keyframes turnaroundGrow {
  from { transform: scaleX(0.02); }
  to { transform: scaleX(1); }
}

@keyframes turnaroundValueIn {
  from {
    opacity: 0;
    transform: translateX(-6px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.tabular-review-animation {
  position: relative;
  min-height: 430px;
  display: grid;
  place-items: center;
  overflow: visible;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #2b2324;
  box-shadow: none;
}

.tabular-review-animation::before,
.tabular-review-animation::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.tabular-review-animation::before {
  content: none;
}

.tabular-review-animation::after {
  content: none;
}

.tabular-review-sheet {
  position: relative;
  z-index: 1;
  width: min(100%, 560px);
  min-height: 430px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 26px;
  border: 1px solid rgba(213, 169, 85, 0.22);
  border-radius: 8px;
  background: #f6ecdc;
  box-shadow:
    0 34px 54px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.54);
  opacity: 0;
  transform: translateY(18px) scale(0.97);
}

.authority-tabular-card.is-active .tabular-review-sheet {
  animation: tabularSheetIn 620ms cubic-bezier(0.18, 0.92, 0.2, 1) forwards;
}

.tabular-review-head,
.tabular-review-row {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr) 58px;
  gap: 12px;
  align-items: center;
}

.tabular-review-head {
  margin-bottom: 10px;
  color: #4b3d3b;
  font-size: 11px;
  line-height: 1.1;
  font-weight: 700;
}

.tabular-review-grid {
  display: grid;
  gap: 10px;
}

.tabular-review-row {
  min-height: 34px;
  padding: 0 11px;
  border-radius: 6px;
  background: rgba(255, 249, 241, 0.82);
  color: rgba(43, 35, 36, 0.74);
  font-size: 10px;
  line-height: 1;
  opacity: 0;
  transform: translateY(8px);
}

.authority-tabular-card.is-active .tabular-review-row {
  animation: tabularRowIn 460ms ease forwards;
  animation-delay: var(--row-delay);
}

.tabular-review-row span {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tabular-review-row span:not(.tabular-review-doc) {
  color: rgba(75, 61, 59, 0.58);
}

.tabular-review-doc {
  color: rgba(43, 35, 36, 0.86);
  font-weight: 650;
}

.tabular-review-doc i {
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
  border-radius: 2px;
  background: var(--accent-2);
  box-shadow:
    inset 0 0 0 1px rgba(43, 35, 36, 0.08),
    0 0 0 2px rgba(115, 222, 212, 0.18);
}

.tabular-review-row b {
  width: min(70px, 44%);
  height: 5px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: rgba(255, 107, 98, 0.62);
}

.tabular-review-row span:last-child {
  justify-content: flex-end;
  color: #a2772d;
  font-weight: 700;
}

.tabular-review-more {
  margin-top: 14px;
  color: rgba(75, 61, 59, 0.54);
  font-size: 11px;
  line-height: 1;
}

.tabular-review-popover {
  position: absolute;
  top: 132px;
  left: 184px;
  width: 240px;
  padding: 14px;
  border: 1px solid rgba(213, 169, 85, 0.28);
  border-radius: 7px;
  background: #fff8ee;
  box-shadow: 0 18px 38px rgba(35, 12, 14, 0.18);
  opacity: 0;
  transform: translateY(10px) scale(0.96);
}

.authority-tabular-card.is-active .tabular-review-popover {
  animation: tabularPopover 5200ms ease 920ms infinite;
}

.authority-tabular-card .tabular-review-popover strong {
  display: block;
  margin-bottom: 7px;
  color: #2b2324;
  font-size: 10px;
  line-height: 1.1;
}

.authority-tabular-card .tabular-review-popover p {
  margin: 0;
  color: rgba(75, 61, 59, 0.72);
  font-size: 9px;
  line-height: 1.35;
}

.tabular-review-cursor {
  position: absolute;
  z-index: 3;
  top: 94px;
  left: 372px;
  width: 0;
  height: 0;
  border-top: 10px solid var(--green);
  border-right: 7px solid transparent;
  opacity: 0;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.22));
}

.authority-tabular-card.is-active .tabular-review-cursor {
  animation: tabularCursor 5200ms ease 680ms infinite;
}

@keyframes tabularSheetIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes tabularRowIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes tabularCursor {
  0% {
    opacity: 0;
    transform: translate3d(-18px, -6px, 0) rotate(-8deg);
  }
  12%, 30% {
    opacity: 1;
    transform: translate3d(8px, 28px, 0) rotate(-8deg);
  }
  48%, 68% {
    opacity: 1;
    transform: translate3d(-80px, 74px, 0) rotate(-8deg);
  }
  82%, 100% {
    opacity: 0;
    transform: translate3d(-80px, 74px, 0) rotate(-8deg);
  }
}

@keyframes tabularPopover {
  0%, 18% {
    opacity: 0;
    transform: translateY(10px) scale(0.96);
  }
  31%, 78% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(-4px) scale(0.985);
  }
}

.playbook-rule-animation {
  position: relative;
  min-height: 430px;
  display: grid;
  place-items: center;
  overflow: visible;
  padding: 0;
  background: transparent;
  color: #2b2324;
}

.playbook-rule-panel {
  position: relative;
  width: min(100%, 560px);
  height: 430px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px;
  overflow: hidden;
  border: 1px solid rgba(213, 169, 85, 0.22);
  border-radius: 8px;
  background: #f6ecdc;
  box-shadow:
    0 34px 54px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.54);
  opacity: 0;
  transform: translateY(18px) scale(0.97);
}

.playbook-rule-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, rgba(213, 169, 85, 0.055) 0 1px, transparent 1px 16px);
  opacity: 0.52;
  pointer-events: none;
}

.playbook-rule-panel::after {
  content: "";
  position: absolute;
  top: 28px;
  right: 30px;
  width: 92px;
  height: 3px;
  border-radius: 999px;
  background: var(--accent-3);
  opacity: 0.72;
}

.authority-playbook-card.is-active .playbook-rule-panel {
  animation: playbookPanelIn 620ms cubic-bezier(0.18, 0.92, 0.2, 1) forwards;
}

.playbook-rule-title,
.playbook-rule-list,
.playbook-rule-status {
  position: relative;
  z-index: 1;
}

.playbook-rule-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: rgba(43, 35, 36, 0.72);
  font-size: 14px;
  line-height: 1;
  font-weight: 700;
}

.playbook-rule-title span {
  width: 14px;
  height: 14px;
  display: inline-block;
  border-radius: 4px 4px 7px 7px;
  border: solid rgba(43, 35, 36, 0.48);
  border-width: 0 4px 4px 0;
  transform: rotate(225deg) translateY(-1px);
}

.playbook-rule-list {
  display: grid;
  gap: 9px;
}

.playbook-rule-item {
  min-height: 62px;
  padding: 12px 15px;
  border: 1px solid rgba(75, 61, 59, 0.09);
  border-radius: 7px;
  background: rgba(255, 249, 241, 0.86);
  box-shadow: 0 10px 24px rgba(35, 12, 14, 0.04);
  opacity: 0;
  transform: translateY(10px);
}

.authority-playbook-card.is-active .playbook-rule-item {
  animation: playbookRuleIn 520ms ease forwards;
  animation-delay: var(--rule-delay);
}

.playbook-rule-item div {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 7px;
}

.playbook-rule-item i {
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  display: inline-block;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 3px rgba(115, 222, 212, 0.16);
}

.playbook-rule-item.is-language i {
  width: 13px;
  height: 10px;
  border-radius: 2px;
  background:
    linear-gradient(#8c807b 0 2px, transparent 2px 4px, #8c807b 4px 6px, transparent 6px 8px, #8c807b 8px 10px);
  box-shadow: none;
}

.playbook-rule-item.is-fallback i {
  width: 0;
  height: 0;
  border-radius: 0;
  background: transparent;
  border-top: 10px solid var(--accent-3);
  border-left: 9px solid transparent;
  transform: rotate(45deg);
  box-shadow: none;
}

.playbook-rule-item.is-stop i {
  width: 0;
  height: 0;
  border-radius: 0;
  background: transparent;
  border-bottom: 11px solid var(--green);
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  box-shadow: none;
}

.playbook-rule-item strong {
  color: rgba(43, 35, 36, 0.76);
  font-size: 13px;
  line-height: 1.1;
  font-weight: 720;
}

.authority-playbook-card .playbook-rule-item p {
  margin: 0;
  color: rgba(75, 61, 59, 0.66);
  font-size: 11px;
  line-height: 1.35;
}

.playbook-rule-item.is-stop {
  animation-duration: 640ms;
}

.authority-playbook-card.is-active .playbook-rule-item.is-stop {
  animation-name: playbookRuleIn, playbookRulePulse;
  animation-duration: 520ms, 4200ms;
  animation-delay: var(--rule-delay), 1200ms;
  animation-iteration-count: 1, infinite;
}

.playbook-rule-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(75, 61, 59, 0.09);
  color: rgba(75, 61, 59, 0.56);
  font-size: 10px;
  line-height: 1;
}

.playbook-rule-status b {
  color: #a2772d;
  font-weight: 760;
}

@keyframes playbookPanelIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes playbookRuleIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes playbookRulePulse {
  0%, 100% {
    border-color: rgba(75, 61, 59, 0.09);
    box-shadow: 0 10px 24px rgba(35, 12, 14, 0.04);
  }
  42%, 58% {
    border-color: rgba(255, 107, 98, 0.28);
    box-shadow: 0 14px 30px rgba(255, 107, 98, 0.12);
  }
}

.authority-chip {
  display: inline-flex;
  min-height: 25px;
  align-items: center;
  margin-bottom: 24px;
  padding: 0 10px;
  border: 1px solid rgba(21, 19, 19, 0.2);
  border-radius: 999px;
  color: rgba(21, 19, 19, 0.72);
  font-family: "TX-02", monospace;
  font-size: 11px;
  text-transform: uppercase;
}

.authority-card h3 {
  max-width: 530px;
  margin: 0 0 18px;
  color: rgba(21, 19, 19, 0.86);
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.04;
  font-weight: 500;
}

.authority-card p {
  max-width: 600px;
  margin-bottom: 24px;
  color: rgba(21, 19, 19, 0.62);
  font-size: 21px;
  line-height: 1.38;
  font-weight: 600;
}

.authority-excerpt,
.authority-stack {
  display: grid;
  gap: 10px;
  margin-top: 26px;
  padding: 19px;
  color: rgba(246, 236, 220, 0.88);
  background: rgba(21, 19, 19, 0.76);
  border: 1px solid rgba(246, 236, 220, 0.1);
  font-size: 15px;
  line-height: 1.45;
}

.authority-excerpt span {
  color: var(--accent-2);
  font-family: "TX-02", monospace;
  font-size: 12px;
}

.value-scroll .authority-excerpt span {
  color: var(--accent-3);
}

.authority-excerpt strong {
  color: var(--white);
  font-weight: 700;
}

.authority-stack span {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 32px;
  border-bottom: 1px solid rgba(246, 236, 220, 0.08);
}

.authority-stack span:last-child {
  border-bottom: 0;
}

.authority-stack b {
  color: var(--accent-3);
  font-family: "TX-02", monospace;
  font-size: 12px;
}

.authority-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 20px;
}

.authority-meta span {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  color: rgba(21, 19, 19, 0.65);
  background: rgba(21, 19, 19, 0.08);
  font-size: 12px;
  font-weight: 700;
}

.natural-visual .small,
.authority-action {
  position: absolute;
  left: 58px;
  bottom: 46px;
  z-index: 3;
}

.sound,
.authority-sound {
  position: absolute;
  right: 48px;
  bottom: 46px;
  width: 32px;
  height: 32px;
  z-index: 3;
}

@media (min-width: 901px) and (max-height: 820px) {
  .authority-card {
    padding: 24px 28px 22px;
  }

  .authority-chip {
    min-height: 22px;
    margin-bottom: 16px;
    font-size: 10px;
  }

  .authority-card h3 {
    max-width: 480px;
    margin-bottom: 12px;
    font-size: clamp(28px, 2.55vw, 35px);
  }

  .authority-card p {
    margin-bottom: 16px;
    font-size: 17px;
    line-height: 1.32;
  }

  .authority-excerpt,
  .authority-stack {
    gap: 7px;
    margin-top: 16px;
    padding: 14px;
    font-size: 13px;
    line-height: 1.35;
  }

  .authority-stack span {
    min-height: 27px;
    gap: 9px;
  }

  .authority-meta {
    gap: 7px;
    margin-top: 14px;
  }

  .authority-meta span {
    min-height: 23px;
    padding: 0 8px;
    font-size: 11px;
  }

  .natural-visual .small,
  .authority-action {
    bottom: 34px;
  }

  .sound,
  .authority-sound {
    bottom: 34px;
  }
}

.section-pad {
  padding: 0 64px 64px;
  border-bottom: 1px solid var(--line);
}

.context-system {
  position: relative;
  padding: 55px 0 40px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 107, 98, 0.08), transparent 32%),
    linear-gradient(180deg, rgba(36, 29, 31, 0.22), transparent 34%);
}

.context-map {
  position: relative;
  height: 500px;
  overflow: hidden;
}

.context-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: visible;
  pointer-events: none;
}

.context-line {
  fill: none;
  stroke: rgba(246, 236, 220, 0.13);
  stroke-width: 1.55;
  stroke-linecap: round;
  filter: drop-shadow(0 0 7px rgba(255, 107, 98, 0.1));
}

.context-line.hot {
  stroke: url(#contextLineA);
  stroke-width: 2;
  filter: url(#contextGlow);
}

.context-hub {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 66.5%;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(213, 169, 85, 0.32);
  border-radius: 50%;
  background: rgba(36, 29, 31, 0.55);
  box-shadow: 0 0 58px rgba(255, 107, 98, 0.25);
}

.context-hub::before,
.context-hub::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.context-hub::before {
  inset: 10px;
  border: 1px solid rgba(246, 236, 220, 0.18);
}

.context-hub::after {
  inset: 17px;
  background: linear-gradient(135deg, var(--green), var(--accent-3));
  box-shadow: 0 0 22px rgba(255, 107, 98, 0.42);
}

.context-hub span {
  position: absolute;
  inset: -24px;
  z-index: 2;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 107, 98, 0.16);
  border-radius: 50%;
  color: var(--text);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 1px 14px rgba(21, 19, 19, 0.9);
}

.context-pill {
  --pill-color: var(--accent-2);
  position: absolute;
  z-index: 2;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 13px;
  border: 1px solid color-mix(in srgb, var(--pill-color), transparent 58%);
  border-radius: 7px;
  color: var(--pill-color);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--pill-color), transparent 83%), rgba(36, 29, 31, 0.62));
  box-shadow: 0 12px 36px rgba(21, 19, 19, 0.22);
  font-size: 18px;
  font-weight: 650;
  line-height: 1;
  white-space: nowrap;
}

.context-pill span {
  width: 18px;
  display: inline-flex;
  justify-content: center;
  color: var(--pill-color);
  font-family: "TX-02", monospace;
  font-size: 13px;
}

.context-pill.clients { --pill-color: #73a7ff; left: 64px; top: 48px; }
.context-pill.email { --pill-color: #ff6b8a; left: 378px; top: 78px; }
.context-pill.statutes { --pill-color: #d5a955; left: 756px; top: 92px; }
.context-pill.colleagues { --pill-color: #65db7b; left: 286px; top: 140px; }
.context-pill.clauses { --pill-color: #66cfe7; left: 544px; top: 122px; }
.context-pill.regulators { --pill-color: #a79b8f; left: 810px; top: 156px; }
.context-pill.counsel { --pill-color: #ff6b62; right: 76px; top: 112px; }
.context-pill.playbooks { --pill-color: #b478ff; right: 56px; top: 186px; }
.context-pill.approvals { --pill-color: #63d294; right: 128px; top: 270px; }
.context-pill.contracts { --pill-color: #b9aaa1; left: 46px; top: 246px; }
.context-pill.messages { --pill-color: #59b5f1; right: 168px; top: 374px; }

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 42px;
}

.section-head.split {
  padding-top: 88px;
}

.section-head h2 {
  max-width: 560px;
  margin-bottom: 28px;
}

.arrows {
  display: flex;
  align-items: center;
  gap: 18px;
}

.arrows button {
  width: 42px;
  height: 42px;
  font-size: 30px;
}

.arrows button:first-child {
  background: #5c4441;
  color: var(--bg);
}

@keyframes marketFrontExit {
  0%, 42% {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
  }
  50%, 91% {
    opacity: 0;
    transform: translateY(-22px);
    visibility: hidden;
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
  }
}

@keyframes marketBackEnter {
  0%, 50% {
    opacity: 0;
    transform: translateY(22px);
    visibility: hidden;
  }
  58%, 91% {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
  }
  100% {
    opacity: 0;
    transform: translateY(22px);
    visibility: hidden;
  }
}

@keyframes marketTileSweep {
  0%, 43%, 100% {
    opacity: 0;
    transform: translateX(-100%);
  }
  50%, 58% {
    opacity: 1;
    transform: translateX(0);
  }
  68% {
    opacity: 0;
    transform: translateX(100%);
  }
}

.accuracy-scroll {
  --accuracy-sticky-top: 80px;
  --accuracy-progress: 0;
  min-height: 195vh;
  padding: 0 64px;
  border-bottom: 1px solid var(--line);
}

.accuracy-shell {
  position: sticky;
  top: var(--accuracy-sticky-top);
  height: calc(100vh - var(--accuracy-sticky-top));
  min-height: 720px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: 28px 0 72px;
}

.accuracy-head {
  padding-top: 0;
}

.accuracy-head h2 {
  max-width: 720px;
}

.accuracy-controls {
  align-self: flex-start;
  padding-top: 16px;
}

.accuracy-controls button {
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.accuracy-controls button:hover {
  transform: translateY(-2px);
}

.accuracy-carousel {
  display: grid;
  position: relative;
}

.accuracy-slide {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transform: translate3d(22px, 0, 0);
  transition:
    opacity 260ms ease,
    transform 260ms ease,
    visibility 260ms ease;
  pointer-events: none;
}

.accuracy-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: translate3d(0, 0, 0);
  pointer-events: auto;
}

.phrase {
  position: relative;
  min-height: 360px;
  margin-top: 38px;
}

.phrase .index {
  display: block;
  margin-bottom: 24px;
  color: var(--dim);
  font-size: 22px;
  font-family: "TX-02", monospace;
}

.phrase p {
  max-width: 1230px;
  color: #4b4040;
  font-size: clamp(42px, 3.85vw, 54px);
  line-height: 1.2;
  font-weight: 700;
}

.accuracy-token {
  position: relative;
  color: #4b4040;
  transition:
    color 260ms ease,
    text-shadow 260ms ease,
    opacity 260ms ease;
}

.accuracy-token.is-past {
  color: rgba(255, 107, 98, 0.38);
}

.accuracy-token.is-active {
  color: var(--green);
  text-shadow: 0 0 24px rgba(255, 107, 98, 0.2);
}

.accuracy-token.is-active::after {
  content: "";
  position: absolute;
  left: 0.04em;
  right: 0.04em;
  bottom: 0.04em;
  height: 0.08em;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 107, 98, 0), rgba(255, 107, 98, 0.48), rgba(255, 107, 98, 0));
}

.accuracy-note {
  position: absolute;
  left: var(--note-x, 0);
  top: var(--note-y, 0);
  z-index: 2;
  color: rgba(246, 236, 220, 0.72);
  font-family: "TX-02", monospace;
  font-size: 13px;
  letter-spacing: 0.03em;
  opacity: 0;
  transform: translate3d(0, 8px, 0);
  transition:
    opacity 220ms ease,
    transform 220ms ease,
    left 260ms ease,
    top 260ms ease;
  white-space: nowrap;
  pointer-events: none;
}

.accuracy-note.is-active {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.accuracy-note::before,
.accuracy-note::after {
  content: "";
  position: absolute;
  background: rgba(246, 236, 220, 0.55);
}

.accuracy-note::before {
  width: 42px;
  height: 1px;
  left: -48px;
  top: 50%;
}

.accuracy-note::after {
  width: 1px;
  height: 22px;
  left: -48px;
}

.accuracy-note.top::after {
  top: 50%;
}

.accuracy-note.bottom::after {
  bottom: 50%;
}

.accuracy-caption {
  position: relative;
  min-height: 118px;
  transform: translateY(-24px);
}

.accuracy-caption article {
  position: absolute;
  inset: 0 auto auto 0;
  max-width: 500px;
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  transition:
    opacity 240ms ease,
    transform 240ms ease;
  pointer-events: none;
}

.accuracy-caption article.is-active {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  pointer-events: auto;
}

.accuracy-caption h3 {
  margin-bottom: 0;
}

.caption {
  max-width: 440px;
  margin-top: 20px;
}

.caption h3,
.benefits h3,
.agent-cards h3,
.dev-list h3 {
  margin-bottom: 14px;
  color: var(--text);
  font-size: 24px;
  font-weight: 500;
}

.caption p,
.benefits p,
.agent-cards > article > p,
.developer-copy > p,
.dev-list p,
.center-head p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.46;
}

.speed-head {
  padding-top: 64px;
}

.speed-head > div:first-child {
  flex: 0 0 44%;
}

.speed-head > div:last-child {
  max-width: 420px;
}

.speed-head h2 {
  margin-bottom: 24px;
}

.speed-head p {
  color: var(--muted);
  line-height: 1.5;
}

.segmented {
  width: 360px;
  height: 52px;
  padding: 4px;
  display: flex;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.segmented span {
  flex: 1;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--dim);
  font-size: 17px;
  font-weight: 600;
}

.segmented span:first-child {
  color: var(--text);
  background: var(--panel-2);
}

.speed-board {
  display: grid;
  grid-template-columns: 56% 44%;
  min-height: 455px;
  margin-top: 70px;
}

.latency-arc svg {
  width: 100%;
  height: 430px;
}

.latency-arc .arc {
  fill: none;
  stroke-width: 66;
  stroke-linecap: round;
  stroke: rgba(185, 170, 161, 0.14);
  stroke-dasharray: 9 3;
}

.latency-arc .active {
  stroke: url(#arcGreen);
  filter: url(#glow);
  stroke-dasharray: none;
  opacity: 0.9;
}

.latency-arc text {
  color: var(--text);
  fill: var(--text);
  font-size: 18px;
  font-weight: 700;
}

.latency-list {
  padding-top: 40px;
}

.latency-list div {
  height: 112px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #e0d2c8;
  font-size: 20px;
  border-bottom: 1px solid var(--line-soft);
  background: repeating-linear-gradient(90deg, transparent 0 10px, rgba(115,222,212,0.04) 10px 11px) bottom / 100% 16px no-repeat;
}

.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  padding-top: 34px;
}

.benefits h3 {
  font-size: 18px;
}

.benefits p {
  font-size: 16px;
}

.center-head {
  max-width: 560px;
  margin: 0 auto 48px;
  text-align: center;
}

.center-head h2 {
  margin-bottom: 22px;
}

.product-head {
  max-width: 880px;
}

.agents.section-pad {
  padding-top: 88px;
}

.agent-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.agent-cards article {
  min-height: 520px;
  padding: 48px 54px;
  border-right: 1px solid var(--line);
}

.agent-cards article:last-child {
  border-right: 0;
}

.agent-cards img {
  width: 100%;
  height: 245px;
  object-fit: contain;
  margin-bottom: 48px;
  filter: hue-rotate(142deg) saturate(0.85) contrast(1.04);
}

.agent-cards video {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: contain;
  margin-bottom: 48px;
  background: var(--panel-2);
}

.lexchat-workflow {
  position: relative;
  width: 100%;
  height: 245px;
  margin-bottom: 48px;
  overflow: hidden;
  border: 1px solid rgba(246, 236, 220, 0.18);
  border-radius: 10px;
  color: rgba(21, 19, 19, 0.72);
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 107, 98, 0.10), transparent 36%),
    linear-gradient(180deg, #f4eee4, #ebe4da);
  box-shadow: inset 0 0 0 1px rgba(21, 19, 19, 0.03);
}

.lexchat-workflow::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(21, 19, 19, 0.05) 0 1px, transparent 1px 40px),
    linear-gradient(0deg, rgba(21, 19, 19, 0.04) 0 1px, transparent 1px 40px);
  opacity: 0.32;
  mask-image: radial-gradient(circle at 50% 50%, #000 0 42%, transparent 78%);
}

.lex-query {
  position: absolute;
  left: 22px;
  right: 22px;
  top: 94px;
  z-index: 4;
  height: 45px;
  padding: 0 8px 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(21, 19, 19, 0.08);
  border-radius: 7px;
  color: rgba(72, 37, 34, 0.76);
  background: rgba(255, 252, 246, 0.86);
  box-shadow: 0 14px 32px rgba(21, 19, 19, 0.07);
  animation: lexQueryCycle 10s ease-in-out infinite;
}

.lex-query span {
  overflow: hidden;
  border-right: 1px solid rgba(72, 37, 34, 0.7);
  white-space: nowrap;
  font-size: 10px;
  animation: lexTypeCycle 10s steps(39, end) infinite;
}

.lex-query button {
  width: 31px;
  height: 31px;
  border-radius: 7px;
  color: #f8efe2;
  background: linear-gradient(135deg, #8f463f, #6e332f);
  font-size: 13px;
}

.lex-source {
  position: absolute;
  z-index: 2;
  height: 24px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(21, 19, 19, 0.08);
  border-radius: 999px;
  color: rgba(21, 19, 19, 0.55);
  background: rgba(255, 252, 246, 0.78);
  box-shadow: 0 10px 24px rgba(21, 19, 19, 0.07);
  font-size: 8px;
  font-weight: 700;
  opacity: 0;
  animation: lexSourceCycle 10s ease-in-out infinite;
  animation-delay: var(--delay);
}

.lex-source::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--source-color);
}

.source-statute {
  --source-color: #d5a955;
  --delay: 2.1s;
  left: 30px;
  top: 46px;
}

.source-case {
  --source-color: #ff6b62;
  --delay: 2.8s;
  right: 34px;
  top: 50px;
}

.source-matter {
  --source-color: #73a7ff;
  --delay: 3.5s;
  left: 46px;
  bottom: 48px;
}

.source-email {
  --source-color: #66cfe7;
  --delay: 4.2s;
  right: 46px;
  bottom: 48px;
}

.lex-answer {
  position: absolute;
  left: 42px;
  right: 42px;
  top: 68px;
  z-index: 3;
  min-height: 112px;
  padding: 32px 24px 20px;
  border: 1px solid rgba(21, 19, 19, 0.08);
  border-radius: 8px;
  background: rgba(255, 252, 246, 0.92);
  box-shadow: 0 16px 38px rgba(21, 19, 19, 0.08);
  text-align: center;
  opacity: 0;
  transform: translateY(14px) scale(0.96);
  animation: lexAnswerCycle 10s ease-in-out infinite;
}

.lex-answer strong {
  display: block;
  margin-bottom: 10px;
  color: rgba(72, 37, 34, 0.88);
  font-size: 12px;
  font-weight: 650;
}

.lex-answer p {
  margin: 0;
  color: rgba(21, 19, 19, 0.55);
  font-size: 8px;
  line-height: 1.35;
}

.lex-context-card {
  position: absolute;
  z-index: 5;
  width: 112px;
  padding: 10px;
  border: 1px solid rgba(255, 107, 98, 0.16);
  border-radius: 7px;
  color: rgba(72, 37, 34, 0.78);
  background: rgba(255, 252, 246, 0.94);
  box-shadow: 0 14px 30px rgba(21, 19, 19, 0.08);
  opacity: 0;
  transform: translateY(10px) scale(0.96);
  animation: lexCardCycle 10s ease-in-out infinite;
}

.lex-context-card b,
.lex-context-card span {
  display: block;
}

.lex-context-card b {
  margin-bottom: 5px;
  font-size: 8px;
}

.lex-context-card span {
  color: rgba(21, 19, 19, 0.48);
  font-size: 7px;
  line-height: 1.2;
}

.context-one {
  left: 24px;
  top: 44px;
  animation-delay: 6.1s;
}

.context-two {
  right: 24px;
  bottom: 38px;
  animation-delay: 6.8s;
}

.knowledge-workflow {
  position: relative;
  width: 100%;
  height: 245px;
  margin-bottom: 48px;
  overflow: hidden;
  border: 1px solid rgba(246, 236, 220, 0.18);
  border-radius: 10px;
  color: rgba(21, 19, 19, 0.72);
  background:
    radial-gradient(circle at 50% 46%, rgba(255, 107, 98, 0.10), transparent 34%),
    linear-gradient(180deg, #f4eee4, #ebe4da);
  box-shadow: inset 0 0 0 1px rgba(21, 19, 19, 0.03);
}

.knowledge-workflow::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(21, 19, 19, 0.05) 0 1px, transparent 1px 40px),
    linear-gradient(0deg, rgba(21, 19, 19, 0.04) 0 1px, transparent 1px 40px);
  opacity: 0.4;
  mask-image: radial-gradient(circle at 50% 48%, #000 0 42%, transparent 76%);
}

.workflow-card {
  position: absolute;
  left: 50%;
  top: 43px;
  z-index: 3;
  width: 132px;
  height: 142px;
  padding: 22px 16px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transform: translateX(-50%);
  border: 1px solid rgba(246, 236, 220, 0.18);
  border-radius: 5px;
  color: rgba(246, 236, 220, 0.9);
  background:
    radial-gradient(circle at 70% 26%, rgba(255, 107, 98, 0.22), transparent 30%),
    linear-gradient(180deg, #65332f, #4a2523);
  box-shadow: 0 18px 38px rgba(21, 19, 19, 0.18);
  animation: workflowCardCycle 9s ease-in-out infinite;
}

.workflow-card strong {
  margin: 13px 0 7px;
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
}

.workflow-card span:last-child {
  max-width: 94px;
  color: rgba(246, 236, 220, 0.58);
  font-size: 10px;
  line-height: 1.35;
}

.workflow-upload {
  position: relative;
  width: 36px;
  height: 36px;
  display: block;
  border-radius: 50%;
  background: rgba(246, 236, 220, 0.16);
}

.workflow-upload::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 10px;
  width: 2px;
  height: 16px;
  border-radius: 999px;
  background: rgba(246, 236, 220, 0.92);
}

.workflow-upload::after {
  content: "";
  position: absolute;
  left: 12px;
  top: 10px;
  width: 10px;
  height: 10px;
  border-top: 2px solid rgba(246, 236, 220, 0.92);
  border-left: 2px solid rgba(246, 236, 220, 0.92);
  transform: rotate(45deg);
}

.source-tile {
  position: absolute;
  z-index: 2;
  width: 42px;
  height: 48px;
  display: grid;
  place-items: end center;
  padding-bottom: 7px;
  border-radius: 4px;
  color: var(--tile-color);
  background:
    linear-gradient(135deg, transparent 0 12px, #fffaf0 12px),
    #fffaf0;
  box-shadow: 0 9px 18px rgba(21, 19, 19, 0.12);
  font-family: "TX-02", monospace;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.04em;
  transform: translate(0, 0) rotate(var(--rot));
  animation: sourceTileCycle 9s ease-in-out infinite;
  animation-delay: var(--delay);
}

.source-tile::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 10px;
  width: 21px;
  height: 16px;
  border-radius: 2px;
  background:
    linear-gradient(var(--tile-color), var(--tile-color)) 0 0 / 100% 3px no-repeat,
    linear-gradient(var(--tile-color), var(--tile-color)) 0 7px / 78% 3px no-repeat,
    linear-gradient(var(--tile-color), var(--tile-color)) 0 14px / 62% 2px no-repeat;
  opacity: 0.85;
}

.source-tile::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 6px;
  height: 16px;
  border-radius: 2px;
  background: var(--tile-color);
  opacity: 0.9;
  z-index: -1;
}

.tile-pdf {
  --tile-color: #b54848;
  --rot: -13deg;
  --move-x: 88px;
  --move-y: 52px;
  --delay: 0s;
  left: 28px;
  top: 132px;
}

.tile-docx {
  --tile-color: #3e74dd;
  --rot: 9deg;
  --move-x: 62px;
  --move-y: -14px;
  --delay: 1.1s;
  left: 70px;
  top: 74px;
}

.tile-mail {
  --tile-color: #ff5b51;
  --rot: -8deg;
  --move-x: -92px;
  --move-y: -6px;
  --delay: 2.2s;
  right: 28px;
  top: 92px;
}

.tile-slack {
  --tile-color: #6e357d;
  --rot: -17deg;
  --move-x: 112px;
  --move-y: -32px;
  --delay: 3.3s;
  left: 18px;
  top: 58px;
}

.tile-cal {
  --tile-color: #347df0;
  --rot: 11deg;
  --move-x: -74px;
  --move-y: 58px;
  --delay: 4.4s;
  right: 52px;
  top: 44px;
}

.workflow-status {
  position: absolute;
  left: 22%;
  right: 22%;
  bottom: 24px;
  z-index: 2;
  height: 17px;
  color: rgba(21, 19, 19, 0.46);
  font-size: 10px;
  text-align: center;
}

.workflow-status span {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: workflowStatusCycle 9s ease-in-out infinite;
}

.workflow-status span:first-child {
  animation-delay: 0s;
}

.workflow-status span:last-child {
  animation-delay: 2.8s;
}

.workflow-cursor {
  position: absolute;
  left: 42%;
  top: 55%;
  z-index: 5;
  width: 0;
  height: 0;
  border-left: 12px solid rgba(21, 19, 19, 0.9);
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  filter: drop-shadow(0 0 1px rgba(246, 236, 220, 0.9));
  transform: rotate(-24deg);
  animation: workflowCursorCycle 9s ease-in-out infinite;
}

.workflow-table {
  position: absolute;
  left: 8%;
  right: 8%;
  top: 60px;
  z-index: 4;
  display: grid;
  grid-template-columns: 0.88fr 1.2fr 1.1fr 1fr;
  gap: 0;
  padding: 14px 14px 16px;
  border: 1px solid rgba(21, 19, 19, 0.08);
  border-radius: 9px;
  background: rgba(255, 252, 246, 0.92);
  box-shadow: 0 15px 36px rgba(21, 19, 19, 0.08);
  opacity: 0;
  transform: translateY(10px) scale(0.94);
  animation: workflowTableCycle 9s ease-in-out infinite;
}

.workflow-table div {
  margin-bottom: 12px;
  color: rgba(21, 19, 19, 0.46);
  font-family: "TX-02", monospace;
  font-size: 6px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.workflow-table span {
  height: 7px;
  margin: 0 8px 10px 0;
  border-radius: 999px;
  background: rgba(21, 19, 19, 0.07);
}

.workflow-table span:nth-of-type(4n + 2),
.workflow-table span:nth-of-type(4n + 3) {
  background: rgba(255, 107, 98, 0.12);
}

.firm-workflow {
  position: relative;
  width: 100%;
  height: 245px;
  margin-bottom: 48px;
  overflow: hidden;
  border: 1px solid rgba(246, 236, 220, 0.18);
  border-radius: 10px;
  color: rgba(21, 19, 19, 0.74);
  background:
    radial-gradient(circle at 72% 48%, rgba(255, 107, 98, 0.12), transparent 34%),
    linear-gradient(180deg, #f4eee4, #ebe4da);
  box-shadow: inset 0 0 0 1px rgba(21, 19, 19, 0.03);
}

.firm-workflow::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(21, 19, 19, 0.05) 0 1px, transparent 1px 42px),
    linear-gradient(0deg, rgba(21, 19, 19, 0.04) 0 1px, transparent 1px 42px);
  opacity: 0.34;
  mask-image: radial-gradient(circle at 58% 50%, #000 0 46%, transparent 78%);
}

.api-workflow {
  position: relative;
  width: 100%;
  height: 245px;
  margin-bottom: 48px;
  overflow: hidden;
  border: 1px solid rgba(246, 236, 220, 0.18);
  border-radius: 10px;
  color: rgba(21, 19, 19, 0.74);
  background:
    radial-gradient(circle at 72% 30%, rgba(213, 169, 85, 0.16), transparent 32%),
    radial-gradient(circle at 28% 62%, rgba(255, 107, 98, 0.12), transparent 35%),
    linear-gradient(180deg, #f4eee4, #ebe4da);
  box-shadow: inset 0 0 0 1px rgba(21, 19, 19, 0.03);
}

.api-workflow::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(21, 19, 19, 0.05) 0 1px, transparent 1px 38px),
    linear-gradient(0deg, rgba(21, 19, 19, 0.04) 0 1px, transparent 1px 38px);
  opacity: 0.34;
  mask-image: radial-gradient(circle at 50% 48%, #000 0 44%, transparent 78%);
}

.api-route-bar,
.api-response-card,
.api-credit-chip,
.api-flow-grid span {
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(21, 19, 19, 0.08);
  border-radius: 7px;
  background: rgba(255, 252, 246, 0.9);
  box-shadow: 0 14px 32px rgba(21, 19, 19, 0.08);
}

.api-route-bar {
  left: 24px;
  right: 24px;
  top: 26px;
  height: 42px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  color: rgba(72, 37, 34, 0.78);
  font-family: "TX-02", monospace;
}

.api-route-bar span {
  padding: 5px 7px;
  border-radius: 5px;
  background: rgba(255, 107, 98, 0.16);
  color: #8f463f;
  font-size: 8px;
  font-weight: 800;
}

.api-route-bar strong {
  font-size: 10px;
  font-weight: 700;
}

.api-flow-grid {
  position: absolute;
  left: 24px;
  top: 86px;
  z-index: 2;
  width: 122px;
  display: grid;
  gap: 8px;
}

.api-flow-grid span {
  position: relative;
  display: block;
  padding: 8px 9px;
  color: rgba(21, 19, 19, 0.52);
  font-size: 7px;
  font-weight: 700;
  line-height: 1.1;
}

.api-response-card {
  right: 26px;
  bottom: 32px;
  width: 142px;
  padding: 18px 16px;
  color: rgba(72, 37, 34, 0.78);
  animation: apiResponsePulse 8s ease-in-out infinite;
}

.api-response-card small,
.api-response-card strong,
.api-response-card p {
  display: block;
}

.api-response-card small {
  margin-bottom: 8px;
  color: #8f463f;
  font-family: "TX-02", monospace;
  font-size: 8px;
  font-weight: 800;
}

.api-response-card strong {
  margin-bottom: 7px;
  font-size: 13px;
}

.api-response-card p {
  margin: 0;
  color: rgba(21, 19, 19, 0.46);
  font-size: 8px;
}

.api-credit-chip {
  right: 28px;
  top: 86px;
  padding: 8px 10px;
  color: rgba(72, 37, 34, 0.72);
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.firm-action-list {
  position: absolute;
  left: 15px;
  top: 24px;
  bottom: 24px;
  z-index: 2;
  width: 116px;
  padding: 48px 15px 18px;
  border: 1px solid rgba(21, 19, 19, 0.08);
  border-radius: 7px;
  background: rgba(255, 252, 246, 0.72);
  box-shadow: 0 12px 34px rgba(21, 19, 19, 0.06);
}

.firm-action-list span {
  display: block;
  margin-bottom: 14px;
  color: rgba(21, 19, 19, 0.26);
  font-size: 9px;
  line-height: 1.15;
  animation: firmActionCycle 12s ease-in-out infinite;
}

.firm-action-list span:nth-child(1) { animation-delay: 0s; }
.firm-action-list span:nth-child(2) { animation-delay: 2.1s; }
.firm-action-list span:nth-child(3) { animation-delay: 4.2s; }
.firm-action-list span:nth-child(4) { animation-delay: 6.3s; }
.firm-action-list span:nth-child(5) { animation-delay: 8.4s; }

.firm-document {
  position: absolute;
  right: 16px;
  top: 58px;
  z-index: 3;
  width: 122px;
  height: 136px;
  padding: 16px 14px;
  border: 1px solid rgba(21, 19, 19, 0.08);
  border-radius: 7px;
  background: rgba(255, 252, 246, 0.96);
  box-shadow: 0 14px 32px rgba(21, 19, 19, 0.10);
  animation: firmDocumentCycle 12s ease-in-out infinite;
}

.firm-document::before,
.firm-document::after {
  content: "";
  position: absolute;
  inset: 14px -13px 14px auto;
  z-index: -1;
  width: 116px;
  border-radius: 7px;
  background: rgba(255, 107, 98, 0.10);
}

.firm-document::after {
  inset: 25px -25px 25px auto;
  background: rgba(21, 19, 19, 0.05);
}

.firm-document small {
  display: block;
  margin-bottom: 9px;
  color: rgba(21, 19, 19, 0.34);
  font-size: 7px;
  font-weight: 800;
}

.firm-document strong {
  display: block;
  margin-bottom: 12px;
  color: rgba(72, 37, 34, 0.9);
  font-family: "PP Editorial", Georgia, serif;
  font-size: 15px;
  font-weight: 400;
}

.firm-document p {
  margin: 0 0 10px;
  color: rgba(21, 19, 19, 0.62);
  font-size: 6.5px;
  line-height: 1.34;
}

.firm-document em {
  color: rgba(21, 19, 19, 0.86);
  font-style: normal;
  font-weight: 700;
}

.firm-document b {
  color: rgba(21, 19, 19, 0.36);
  font-size: 6px;
}

.redline {
  position: absolute;
  left: 52px;
  right: 12px;
  height: 1px;
  background: rgba(139, 43, 45, 0.72);
  transform-origin: left center;
  opacity: 0;
  animation: firmRedlineCycle 12s ease-in-out infinite;
}

.redline-one {
  top: 72px;
  transform: rotate(-1deg) scaleX(0.95);
}

.redline-two {
  top: 85px;
  transform: rotate(1deg) scaleX(0.85);
  animation-delay: 0.3s;
}

.firm-comment,
.firm-draft,
.firm-sources {
  position: absolute;
  z-index: 4;
  border: 1px solid rgba(21, 19, 19, 0.08);
  border-radius: 7px;
  background: rgba(255, 252, 246, 0.92);
  box-shadow: 0 12px 30px rgba(21, 19, 19, 0.08);
  opacity: 0;
}

.firm-comment {
  right: 22px;
  top: 28px;
  width: 132px;
  padding: 10px 11px;
  color: rgba(72, 37, 34, 0.78);
  font-size: 8px;
  line-height: 1.25;
  animation: firmCommentCycle 12s ease-in-out infinite;
}

.firm-draft {
  right: 22px;
  bottom: 28px;
  width: 134px;
  padding: 9px 10px;
  color: rgba(72, 37, 34, 0.76);
  font-size: 8px;
  line-height: 1.25;
  animation: firmDraftCycle 12s ease-in-out infinite;
}

.firm-sources {
  right: 21px;
  top: 43px;
  width: 118px;
  padding: 9px;
  animation: firmSourcesCycle 12s ease-in-out infinite;
}

.firm-sources::before {
  content: "Sources";
  display: block;
  margin-bottom: 6px;
  color: rgba(21, 19, 19, 0.38);
  font-size: 7px;
  font-weight: 700;
}

.firm-sources span {
  display: block;
  height: 14px;
  margin-bottom: 4px;
  padding-left: 17px;
  color: rgba(21, 19, 19, 0.5);
  font-size: 6.5px;
  line-height: 14px;
  border-radius: 4px;
  background:
    linear-gradient(90deg, rgba(255, 107, 98, 0.22) 0 10px, transparent 10px),
    rgba(21, 19, 19, 0.035);
}

.agent-cards > article > p {
  font-size: 17px;
}

.agent-cards a {
  color: var(--muted);
  font-size: 17px;
}

@keyframes apiResponsePulse {
  0%, 100% {
    transform: translateY(0);
    box-shadow: 0 14px 32px rgba(21, 19, 19, 0.08);
  }
  46%, 62% {
    transform: translateY(-6px);
    box-shadow: 0 20px 44px rgba(139, 43, 45, 0.16);
  }
}

@keyframes lexQueryCycle {
  0%, 38% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  47%, 78% {
    opacity: 0;
    transform: translateY(-10px) scale(0.97);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes lexTypeCycle {
  0% {
    width: 0;
  }
  18%, 40% {
    width: 178px;
  }
  48%, 100% {
    width: 178px;
  }
}

@keyframes lexSourceCycle {
  0%, 20% {
    opacity: 0;
    transform: translateY(10px) scale(0.94);
  }
  28%, 47% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  58%, 100% {
    opacity: 0;
    transform: translateY(-8px) scale(0.96);
  }
}

@keyframes lexAnswerCycle {
  0%, 42% {
    opacity: 0;
    transform: translateY(14px) scale(0.96);
  }
  52%, 82% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
  }
}

@keyframes lexCardCycle {
  0%, 58% {
    opacity: 0;
    transform: translateY(10px) scale(0.96);
  }
  66%, 86% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
  }
}

@keyframes workflowCardCycle {
  0%, 52% {
    opacity: 1;
    transform: translateX(-50%) scale(1);
  }
  62%, 86% {
    opacity: 0;
    transform: translateX(-50%) scale(0.94);
  }
  100% {
    opacity: 1;
    transform: translateX(-50%) scale(1);
  }
}

@keyframes sourceTileCycle {
  0%, 24% {
    opacity: 0.95;
    transform: translate(0, 0) rotate(var(--rot)) scale(1);
  }
  35%, 48% {
    opacity: 1;
    transform: translate(var(--move-x), var(--move-y)) rotate(0deg) scale(0.92);
  }
  56%, 88% {
    opacity: 0;
    transform: translate(var(--move-x), var(--move-y)) rotate(0deg) scale(0.7);
  }
  100% {
    opacity: 0.95;
    transform: translate(0, 0) rotate(var(--rot)) scale(1);
  }
}

@keyframes workflowStatusCycle {
  0%, 12% {
    opacity: 0;
    transform: translateY(4px);
  }
  20%, 44% {
    opacity: 1;
    transform: translateY(0);
  }
  56%, 100% {
    opacity: 0;
    transform: translateY(-4px);
  }
}

@keyframes workflowCursorCycle {
  0%, 16% {
    opacity: 0;
    transform: translate(-22px, 12px) rotate(-24deg);
  }
  27%, 44% {
    opacity: 1;
    transform: translate(22px, -18px) rotate(-24deg);
  }
  56%, 100% {
    opacity: 0;
    transform: translate(36px, -26px) rotate(-24deg);
  }
}

@keyframes workflowTableCycle {
  0%, 54% {
    opacity: 0;
    transform: translateY(10px) scale(0.94);
  }
  64%, 88% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(-4px) scale(0.98);
  }
}

@keyframes firmActionCycle {
  0%, 10% {
    color: rgba(139, 43, 45, 0.92);
    transform: translateX(0);
  }
  16%, 100% {
    color: rgba(21, 19, 19, 0.26);
    transform: translateX(0);
  }
}

@keyframes firmDocumentCycle {
  0%, 18% {
    transform: translate3d(0, 0, 0);
  }
  25%, 38% {
    transform: translate3d(-5px, -2px, 0);
  }
  47%, 60% {
    transform: translate3d(0, 2px, 0);
  }
  69%, 82% {
    transform: translate3d(-7px, 0, 0);
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes firmRedlineCycle {
  0%, 6% {
    opacity: 0;
    scale: 0 1;
  }
  11%, 24% {
    opacity: 1;
    scale: 1 1;
  }
  31%, 100% {
    opacity: 0;
    scale: 1 1;
  }
}

@keyframes firmCommentCycle {
  0%, 18% {
    opacity: 0;
    transform: translateY(8px) scale(0.96);
  }
  24%, 37% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  45%, 100% {
    opacity: 0;
    transform: translateY(-8px) scale(0.97);
  }
}

@keyframes firmDraftCycle {
  0%, 48% {
    opacity: 0;
    transform: translateY(8px) scale(0.96);
  }
  56%, 68% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  77%, 100% {
    opacity: 0;
    transform: translateY(-8px) scale(0.97);
  }
}

@keyframes firmSourcesCycle {
  0%, 72% {
    opacity: 0;
    transform: translateY(8px) scale(0.96);
  }
  80%, 92% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(-8px) scale(0.97);
  }
}

.languages .narrow {
  max-width: 520px;
}

.languages.section-pad {
  padding-top: 88px;
}

.region-tabs {
  height: 76px;
  display: flex;
  justify-content: center;
  gap: 42px;
  align-items: center;
  color: var(--dim);
  font-size: 17px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.region-tabs .active {
  color: var(--text);
}

.language-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 38px;
  padding: 18px 16px 6px;
}

.language-grid a {
  height: 72px;
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  color: #eaded3;
  font-size: 20px;
  font-weight: 600;
}

.language-grid .flag {
  width: 32px;
  height: 22px;
  display: block;
  overflow: hidden;
  border-radius: 3px;
  box-shadow:
    0 0 0 1px rgba(246, 236, 220, 0.18),
    0 7px 18px rgba(0, 0, 0, 0.16);
  flex: none;
}

.developer {
  display: grid;
  grid-template-columns: 53% 47%;
  gap: 40px;
}

.developer-copy {
  padding-top: 72px;
}

.developer-copy h2 {
  max-width: 430px;
  margin-bottom: 18px;
}

.developer-copy > p {
  max-width: 430px;
  margin-bottom: 20px;
}

.developer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.dev-list {
  margin-top: 48px;
  border-top: 1px solid var(--line);
}

.dev-list article {
  min-height: 104px;
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 30px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.dev-list h3 {
  font-size: 23px;
}

.dev-list p {
  font-size: 16px;
}

.dev-list code {
  color: var(--text);
  font-family: "TX-02", monospace;
  font-size: 0.88em;
}

.enterprise-grade {
  align-items: center;
}

.enterprise-grade h3 {
  margin-bottom: 0;
}

.enterprise-standards {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 22px;
}

.standard-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--text);
  font-size: 17px;
  line-height: 1;
  font-weight: 600;
}

.iso-globe {
  width: 19px;
  height: 19px;
  flex: none;
  color: var(--accent-2);
}

.dev-collage {
  margin-top: 80px;
  display: grid;
  grid-template-columns: 1fr 1.45fr;
  grid-auto-rows: 180px;
  gap: 10px;
  align-content: start;
  padding: 12px;
  border: 1px dashed rgba(255, 107, 98, 0.34);
}

.dev-collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid rgba(246,236,220,0.18);
  filter: hue-rotate(142deg) saturate(0.84) contrast(1.04);
}

.dev-collage img:nth-child(2) {
  grid-row: span 2;
}

.legalos-developer-section .developer-copy {
  padding-top: 0;
}

.legalos-developer-section .developer-copy h2 {
  max-width: 540px;
  margin-bottom: 34px;
  font-size: clamp(36px, 4vw, 58px);
  line-height: 1.03;
}

.legalos-developer-section .dev-list {
  margin-top: 0;
}

.legalos-developer-section .dev-collage {
  margin-top: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 188px;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(255, 107, 98, 0.26);
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 107, 98, 0.12), transparent 38%),
    radial-gradient(circle at 90% 82%, rgba(115, 222, 212, 0.11), transparent 42%),
    rgba(246, 236, 220, 0.012);
}

.legalos-visual-card {
  position: relative;
  min-width: 0;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border: 1px solid rgba(246, 236, 220, 0.14);
  border-radius: 7px;
  background:
    linear-gradient(180deg, rgba(246, 236, 220, 0.045), rgba(21, 19, 19, 0.1)),
    repeating-linear-gradient(90deg, rgba(246, 236, 220, 0.035) 0 1px, transparent 1px 28px);
  box-shadow: inset 0 1px 0 rgba(246, 236, 220, 0.06);
}

.legalos-visual-card::before {
  content: "";
  position: absolute;
  inset: auto -16% -42% 12%;
  height: 92%;
  border-radius: 50%;
  background: rgba(255, 107, 98, 0.1);
  filter: blur(10px);
}

.legalos-visual-card span,
.legalos-visual-card strong,
.legalos-visual-card svg {
  position: relative;
  z-index: 1;
}

.legalos-visual-card span {
  font-family: "TX-02", monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(246, 236, 220, 0.62);
}

.legalos-visual-card svg {
  width: 100%;
  height: 88px;
  margin: 8px 0 10px;
  fill: none;
  stroke: rgba(246, 236, 220, 0.76);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.96;
}

.legalos-visual-card strong {
  color: rgba(246, 236, 220, 0.92);
  font-size: 16px;
  line-height: 1.15;
  font-weight: 600;
}

.contract-visual {
  background:
    radial-gradient(circle at 80% 30%, rgba(213, 169, 85, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(89, 50, 32, 0.4), rgba(21, 19, 19, 0.24));
}

.matter-visual {
  background:
    radial-gradient(circle at 24% 28%, rgba(115, 167, 255, 0.13), transparent 34%),
    linear-gradient(180deg, rgba(31, 42, 55, 0.38), rgba(21, 19, 19, 0.2));
}

.compliance-visual {
  background:
    radial-gradient(circle at 78% 30%, rgba(99, 210, 148, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(33, 72, 55, 0.36), rgba(21, 19, 19, 0.22));
}

.agent-visual {
  background:
    radial-gradient(circle at 34% 26%, rgba(255, 107, 98, 0.15), transparent 34%),
    linear-gradient(180deg, rgba(87, 42, 48, 0.36), rgba(21, 19, 19, 0.22));
}

.customers {
  padding: 0 64px 0;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.customers .section-head {
  padding-bottom: 72px;
}

.security-badges {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 42px;
  min-width: 300px;
  padding-top: 6px;
}

.security-badges figure {
  margin: 0;
  display: grid;
  justify-items: center;
  gap: 12px;
  color: var(--text);
}

.security-badges img {
  width: 88px;
  height: 88px;
  display: block;
  filter: invert(93%) sepia(11%) saturate(392%) hue-rotate(338deg) brightness(103%) contrast(94%);
  opacity: 0.94;
}

.security-badges figcaption {
  font-family: "TX-02", monospace;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(246, 236, 220, 0.82);
}

.story-row {
  width: calc(100% + 120px);
  margin-left: -64px;
  display: grid;
  grid-template-columns: repeat(3, minmax(380px, 1fr));
}

.story {
  position: relative;
  min-height: 470px;
  padding: 58px 56px 52px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  color: var(--bg);
  overflow: hidden;
  isolation: isolate;
}

.story + .story {
  border-left: 2px solid rgba(0,0,0,0.45);
}

.story.yellow {
  background:
    radial-gradient(circle at 50% 0%, rgba(246, 236, 220, 0.34), transparent 42%),
    linear-gradient(180deg, rgba(224, 178, 84, 0.96), #c48d3d 58%, #a86d31);
}

.story.orange {
  background:
    radial-gradient(circle at 50% 0%, rgba(246, 236, 220, 0.28), transparent 42%),
    linear-gradient(180deg, rgba(235, 104, 86, 0.96), #bf4c47 58%, #853238);
}

.story.blue {
  background:
    radial-gradient(circle at 50% 0%, rgba(246, 236, 220, 0.30), transparent 42%),
    linear-gradient(180deg, rgba(115, 222, 212, 0.94), #2f9c93 58%, #176a67);
}

.story::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    repeating-linear-gradient(90deg, rgba(21, 19, 19, 0.11) 0 1px, transparent 1px 20px),
    linear-gradient(180deg, transparent 0%, rgba(21, 19, 19, 0.2) 100%);
  mix-blend-mode: multiply;
  opacity: 0.62;
}

.story::after {
  position: absolute;
  top: 34px;
  right: 42px;
  z-index: 0;
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  font-size: clamp(72px, 7vw, 112px);
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0;
  color: rgba(21, 19, 19, 0.12);
}

.story:nth-child(1)::after {
  content: "01";
}

.story:nth-child(2)::after {
  content: "02";
}

.story:nth-child(3)::after {
  content: "03";
}

.story-kicker {
  position: relative;
  z-index: 1;
  margin-bottom: 0;
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(21, 19, 19, 0.68);
}

.story h3 {
  position: relative;
  z-index: 1;
  max-width: 540px;
  margin: auto 0 0;
  font-size: clamp(30px, 3.05vw, 46px);
  line-height: 1.04;
  font-weight: 500;
  color: rgba(21, 19, 19, 0.9);
}

.story a {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 34px;
  font-size: 17px;
  font-weight: 700;
  position: relative;
  z-index: 1;
  color: rgba(21, 19, 19, 0.92);
}

.story a::after {
  content: "->";
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 14px;
}

.legalos-ceo-card {
  align-self: center;
  width: min(100%, 620px);
  min-height: clamp(760px, 76vh, 840px);
  margin-left: auto;
  padding: 58px 56px 52px;
}

.story.legalos-ceo-card::before {
  background: linear-gradient(180deg, transparent 0%, rgba(21, 19, 19, 0.18) 100%);
}

.story.legalos-ceo-card::after {
  content: none;
  display: none;
}

.legalos-ceo-card blockquote {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  margin: 0;
}

.legalos-ceo-card p {
  max-width: 540px;
  margin: auto 0 0;
  color: rgba(21, 19, 19, 0.92);
  font-size: clamp(32px, 3.1vw, 48px);
  line-height: 1.03;
  font-weight: 500;
}

.legalos-ceo-signature {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid rgba(21, 19, 19, 0.2);
  color: rgba(21, 19, 19, 0.78);
}

.legalos-ceo-signature strong {
  font-size: 20px;
  line-height: 1;
  font-weight: 800;
}

.legalos-ceo-signature span {
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-footer {
  padding: 0;
  border-top: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(246, 236, 220, 0.018), transparent 42%),
    var(--bg);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(270px, 340px) minmax(0, 1fr);
  gap: 70px;
  padding: 58px 76px 54px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-brand p {
  margin: 28px 0 0;
  max-width: 310px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.footer-social {
  margin-top: 38px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(246, 236, 220, 0.12);
  border-radius: 50%;
  color: var(--muted);
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease;
}

.footer-social a:hover,
.footer-social a:focus-visible {
  border-color: rgba(246, 236, 220, 0.28);
  background: rgba(246, 236, 220, 0.04);
  color: var(--text);
  outline: 0;
}

.footer-social svg {
  width: 18px;
  height: 18px;
  display: block;
  fill: currentColor;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
  gap: 30px;
  align-items: start;
}

.footer-columns h4 {
  margin: 0 0 18px;
  color: var(--green);
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.footer-columns div {
  min-width: 0;
}

.footer-columns a,
.footer-link-button {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 12px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  opacity: 0.68;
  font: inherit;
  font-size: 14px;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
  transition: color 160ms ease, opacity 160ms ease;
}

.footer-columns a,
.footer-link-button {
  overflow-wrap: anywhere;
}

.footer-columns a:hover,
.footer-columns a:focus-visible,
.footer-link-button:hover,
.footer-link-button:focus-visible {
  opacity: 1;
  color: var(--text);
  outline: 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 76px 30px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 13px;
  line-height: 1.45;
}

.cookie-card {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 50;
  width: min(460px, calc(100vw - 40px));
  padding: 24px;
  background:
    linear-gradient(145deg, var(--panel-2), var(--panel));
  border: 1px solid rgba(255, 107, 98, 0.26);
  box-shadow: 0 22px 80px var(--shadow);
}

.cookie-card[hidden] {
  display: none;
}

.cookie-card h3 {
  margin: 0 0 12px;
  font-size: 21px;
  font-weight: 700;
}

.cookie-card p {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.cookie-card p a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-card button {
  border: 0;
  border-radius: 999px;
  padding: 10px 18px;
  background: #302729;
  color: var(--text);
  font-weight: 700;
}

.cookie-card .accept {
  background: var(--white);
  color: var(--bg);
}

.cookie-panel {
  display: none;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(246, 236, 220, 0.12);
}

.cookie-card.is-managing .cookie-panel {
  display: grid;
  gap: 14px;
}

.cookie-option {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(246, 236, 220, 0.12);
  border-radius: 8px;
  background: rgba(246, 236, 220, 0.035);
}

.cookie-option strong,
.cookie-option small {
  display: block;
}

.cookie-option strong {
  margin-bottom: 4px;
  font-size: 14px;
}

.cookie-option small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.cookie-option input {
  width: 20px;
  height: 20px;
  accent-color: var(--green);
}

.cookie-option.disabled {
  opacity: 0.74;
}

.route-page {
  border-top: 1px solid var(--line);
}

.route-hero {
  min-height: 650px;
  display: grid;
  align-items: center;
  padding: 110px 64px 92px;
  border-bottom: 1px solid var(--line);
}

.route-hero-inner {
  max-width: 930px;
}

.route-hero .cta-row {
  justify-content: flex-start;
  margin-top: 30px;
}

.route-hero h1 {
  max-width: 950px;
  margin: 18px 0 28px;
  text-align: left;
  font-size: clamp(56px, 6vw, 92px);
  line-height: 0.99;
}

.route-hero.lexchat-hero {
  display: block;
  padding: 0 64px 96px;
}

.route-hero.lexchat-hero .route-hero-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 86px 20px 42px;
  text-align: center;
}

.route-hero.lexchat-hero h1 {
  max-width: none;
  margin: 0 0 24px;
  text-align: center;
  font-size: clamp(44px, 4.05vw, 58px);
  line-height: 1.08;
  font-weight: 400;
  color: var(--text);
}

.route-hero.lexchat-hero .route-lede {
  max-width: 660px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.45;
  text-align: center;
}

.route-hero.api-hero {
  position: relative;
  min-height: 640px;
  display: block;
  padding: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 45%, rgba(246, 236, 220, 0.1), transparent 28%),
    radial-gradient(circle at 34% 70%, rgba(255, 107, 98, 0.08), transparent 34%),
    var(--bg);
}

.route-hero.api-hero .route-hero-inner {
  position: relative;
  max-width: none;
  min-height: 640px;
  display: block;
  padding: 88px 48px 82px;
}

.route-hero.api-hero .eyebrow {
  max-width: 590px;
  margin: 0 0 20px;
}

.route-hero.api-hero h1 {
  max-width: 590px;
  margin: 0 0 24px;
  text-align: left;
  font-size: clamp(42px, 4.1vw, 58px);
  line-height: 1.08;
  font-weight: 400;
}

.route-hero.api-hero h1 em {
  color: inherit;
  font-style: normal;
}

.route-hero.api-hero .route-lede {
  max-width: 560px;
  margin: 0 0 30px;
  font-size: 20px;
  line-height: 1.45;
}

.route-hero.api-hero .cta-row {
  max-width: 590px;
  margin-top: 0;
}

.route-hero.api-hero .route-meta {
  position: absolute;
  top: 50%;
  right: 48px;
  width: min(520px, calc(100% - 710px));
  min-width: 360px;
  margin-top: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(246, 236, 220, 0.035), rgba(255, 107, 98, 0.025)),
    rgba(27, 23, 24, 0.52);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.22);
  transform: translateY(-50%);
}

.route-hero.api-hero .route-meta div {
  min-height: 146px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.route-hero.api-hero .route-meta div:nth-child(2n),
.route-hero.api-hero .route-meta div:last-child {
  border-right: 0;
}

.route-hero.api-hero .route-meta div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.route-hero.api-hero .route-hero-visual {
  position: absolute;
  top: 50%;
  right: 32px;
  width: min(590px, calc(100% - 720px));
  min-width: 400px;
  margin: 0;
  transform: translateY(-50%);
}

.route-hero.api-hero .route-hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 28px 90px rgba(0, 0, 0, 0.28));
}

@media (min-width: 901px) and (max-width: 1240px) {
  .route-hero.api-hero {
    min-height: auto;
  }

  .route-hero.api-hero .route-hero-inner {
    min-height: auto;
  }

  .route-hero.api-hero .route-meta,
  .route-hero.api-hero .route-hero-visual {
    position: static;
    width: auto;
    min-width: 0;
    margin-top: 42px;
    transform: none;
  }

  .route-hero.api-hero .route-meta {
    max-width: 590px;
  }

  .route-hero.api-hero .route-hero-visual {
    max-width: 620px;
  }
}

.route-hero.legalos-hero {
  position: relative;
  min-height: 520px;
  display: block;
  padding: 0;
  overflow: hidden;
  background: var(--bg);
}

.route-hero.legalos-hero::before,
.route-hero.legalos-hero::after {
  content: none;
  display: none;
}

.route-hero.legalos-hero .route-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
  padding: 86px 20px 42px;
  text-align: center;
}

.route-hero.legalos-hero h1 {
  max-width: none;
  margin: 0 0 24px;
  text-align: center;
  font-size: clamp(44px, 4.05vw, 58px);
  line-height: 1.08;
  font-weight: 400;
  color: var(--text);
}

.route-hero.legalos-hero .route-lede {
  max-width: 660px;
  margin: 0 auto 28px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.45;
  text-align: center;
}

.route-hero.legalos-hero .cta-row {
  justify-content: center;
  gap: 20px;
  margin-top: 0;
}

.lexchat-hero .lexchat-demo-widget {
  margin-top: 112px;
}

.route-hero h1 em,
.route-section h2 em,
.route-card h3 em {
  color: var(--green);
  font-style: normal;
}

.route-lede {
  max-width: 760px;
  color: var(--muted);
  font-size: 22px;
  line-height: 1.48;
}

.route-meta {
  margin-top: 46px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.route-meta div {
  min-height: 92px;
  padding: 20px;
  border-right: 1px solid var(--line);
}

.route-meta div:last-child {
  border-right: 0;
}

.route-meta span,
.route-label,
.route-num,
.legal-toc a,
.legal-toc button,
.form-note {
  font-family: "TX-02", monospace;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.route-meta span,
.route-label,
.form-note {
  color: var(--green);
  font-size: 12px;
}

.route-meta strong {
  display: block;
  margin-top: 10px;
  color: var(--text);
  font-size: 22px;
  font-weight: 500;
}

.route-section {
  padding: 88px 64px;
  border-bottom: 1px solid var(--line);
}

.route-section.band {
  background:
    repeating-linear-gradient(90deg, transparent 0 10px, rgba(255,107,98,0.035) 10px 11px),
    rgba(246,236,220,0.012);
}

.route-hero.legalos-hero ~ .route-section.band {
  background: rgba(246, 236, 220, 0.012);
}

.route-split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 72px;
  align-items: start;
}

.route-section h2 {
  max-width: 700px;
  margin-bottom: 24px;
  font-size: clamp(40px, 4.8vw, 72px);
  line-height: 1.02;
}

.route-section .route-body {
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
}

.route-section .route-body p {
  margin-bottom: 22px;
}

.route-media {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 0;
}

.route-media video {
  width: 100%;
  max-height: 520px;
  display: block;
  object-fit: contain;
  border: 1px solid rgba(246, 236, 220, 0.14);
  background: #0f0d0d;
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.24);
}

.route-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
}

.route-card-grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.route-card {
  min-height: 260px;
  padding: 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(246,236,220,0.012);
}

.route-link-card {
  display: flex;
  min-height: 220px;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease;
}

.route-link-card:hover,
.route-link-card:focus-visible {
  border-color: rgba(255, 107, 98, 0.34);
  background: rgba(255, 107, 98, 0.045);
  outline: 0;
}

.legalos-command-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 64px;
  align-items: center;
  background: rgba(246, 236, 220, 0.012);
}

.legalos-command-copy p:not(.route-label) {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
}

.legalos-board {
  min-height: 500px;
  padding: 24px;
  border: 1px solid rgba(246, 236, 220, 0.15);
  border-radius: 8px;
  background: rgba(27, 23, 24, 0.96);
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.26);
}

.legalos-board-bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(246, 236, 220, 0.12);
}

.legalos-board-bar span,
.legalos-board-grid span,
.legalos-board-flow span,
.legalos-module-card small,
.legalos-persona-grid article > span,
.legalos-persona-grid small {
  font-family: "TX-02", monospace;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.legalos-board-bar span {
  color: var(--green);
  font-size: 12px;
}

.legalos-board-bar strong {
  color: var(--text);
  font-size: 18px;
  font-weight: 500;
}

.legalos-board-bar i {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-style: normal;
  font-size: 13px;
}

.legalos-board-bar i::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 18px rgba(255, 107, 98, 0.7);
}

.legalos-board-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.legalos-board-grid article {
  min-height: 132px;
  padding: 18px;
  border: 1px solid rgba(246, 236, 220, 0.12);
  border-radius: 8px;
  background: rgba(246, 236, 220, 0.035);
}

.legalos-board-grid article.wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 18px;
  align-items: end;
  background: rgba(255, 107, 98, 0.055);
}

.legalos-board-grid article.wide span {
  grid-column: 1 / -1;
}

.legalos-board-grid article.wide p {
  text-align: right;
}

.legalos-board-grid span {
  display: block;
  margin-bottom: 12px;
  color: var(--green);
  font-size: 11px;
}

.legalos-board-grid strong {
  display: block;
  color: var(--text);
  font-size: 28px;
  line-height: 1.05;
  font-weight: 500;
}

.legalos-board-grid p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.legalos-board-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  margin-top: 22px;
  overflow: hidden;
  border: 1px solid rgba(246, 236, 220, 0.12);
  border-radius: 8px;
  background: rgba(246, 236, 220, 0.12);
}

.legalos-board-flow span {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  background: rgba(27, 23, 24, 0.96);
  color: var(--text);
  font-size: 11px;
}

.legalos-module-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.legalos-module-card {
  min-height: 340px;
  display: flex;
  flex-direction: column;
  padding: 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(246, 236, 220, 0.012);
}

.legalos-module-card h3 {
  margin: 28px 0 14px;
  color: var(--text);
  font-size: 24px;
  line-height: 1.12;
  font-weight: 500;
}

.legalos-module-card p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.48;
}

.legalos-module-card div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.legalos-module-card small,
.legalos-persona-grid small {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 7px 10px;
  border: 1px solid rgba(246, 236, 220, 0.12);
  border-radius: 999px;
  color: var(--muted);
  font-size: 10px;
}

.api-matrix {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.api-feature-card {
  min-height: 210px;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 107, 98, 0.035), rgba(246, 236, 220, 0.01));
}

.api-feature-card span {
  display: inline-flex;
  margin-bottom: 20px;
  color: var(--green);
  font-family: "TX-02", monospace;
  font-size: 12px;
}

.api-feature-card h3 {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 22px;
  line-height: 1.15;
  font-weight: 400;
}

.api-feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.48;
}

.api-credit-slider {
  margin-top: 36px;
  padding: 32px 36px 44px;
  border: 0;
  border-radius: 8px;
  background: transparent;
}

.api-credit-slider > p {
  margin: 0 0 24px;
  color: var(--text);
  text-align: center;
  font-size: 17px;
  font-weight: 700;
}

.api-slider-track-wrap {
  position: relative;
  padding: 0 6px 38px;
}

.api-slider-track-wrap::before,
.api-slider-track-wrap::after {
  content: "";
  position: absolute;
  top: 13px;
  left: 6px;
  right: 6px;
  height: 7px;
  border-radius: 999px;
}

.api-slider-track-wrap::before {
  background: rgba(246, 236, 220, 0.16);
}

.api-slider-track-wrap::after {
  right: auto;
  width: var(--api-tier-progress, 0%);
  background: var(--green);
}

.api-credit-range {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 32px;
  margin: 0;
  appearance: none;
  background: transparent;
  cursor: pointer;
}

.api-credit-range::-webkit-slider-runnable-track {
  height: 7px;
  background: transparent;
}

.api-credit-range::-moz-range-track {
  height: 7px;
  background: transparent;
}

.api-credit-range::-webkit-slider-thumb {
  width: 28px;
  height: 28px;
  margin-top: -10px;
  appearance: none;
  border: 5px solid rgba(246, 236, 220, 0.86);
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 10px 28px rgba(255, 107, 98, 0.28);
}

.api-credit-range::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border: 5px solid rgba(246, 236, 220, 0.86);
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 10px 28px rgba(255, 107, 98, 0.28);
}

.api-slider-markers {
  position: absolute;
  inset: 30px 6px auto;
  height: 42px;
}

.api-slider-markers button {
  position: absolute;
  top: 0;
  display: grid;
  justify-items: center;
  gap: 8px;
  width: 70px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  cursor: pointer;
  transform: translateX(-50%);
}

.api-slider-markers button:first-child {
  justify-items: start;
  transform: translateX(0);
}

.api-slider-markers button:last-child {
  justify-items: end;
  transform: translateX(-100%);
}

.api-slider-markers span {
  width: 1px;
  height: 10px;
  background: rgba(246, 236, 220, 0.2);
}

.api-slider-markers strong {
  font-size: 13px;
  font-weight: 700;
}

.api-slider-markers button:hover,
.api-slider-markers button:focus-visible,
.api-slider-markers button.is-selected {
  color: var(--green);
  outline: 0;
}

.api-selected-credit {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 14px;
}

.api-selected-credit strong {
  color: var(--text);
  font-weight: 700;
}

.api-dynamic-pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 18px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.api-dynamic-card {
  display: flex;
  min-height: 420px;
  flex-direction: column;
  padding: 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(246, 236, 220, 0.014);
  transition: background 180ms ease, box-shadow 180ms ease;
}

.api-dynamic-card.is-selected {
  background:
    linear-gradient(180deg, rgba(255, 107, 98, 0.08), rgba(246, 236, 220, 0.018));
  box-shadow: inset 0 0 0 1px rgba(255, 107, 98, 0.22);
}

.api-dynamic-card-head {
  min-height: 68px;
}

.api-dynamic-card h3 {
  margin: 0;
  color: var(--text);
  font-size: 25px;
  line-height: 1.15;
  font-weight: 400;
}

.api-dynamic-card h3 span,
.api-dynamic-card-head > span {
  display: inline-flex;
  margin-left: 8px;
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(255, 107, 98, 0.13);
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
  vertical-align: middle;
}

.api-dynamic-card-head > span {
  margin: 10px 0 0;
}

.api-dynamic-card p {
  min-height: 68px;
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.api-card-credits {
  margin-top: auto;
  color: var(--text);
  font-size: 18px;
}

.api-card-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 28px;
}

.api-card-price strong {
  color: var(--text);
  font-size: 40px;
  line-height: 1;
  font-weight: 400;
}

.api-card-price span {
  color: var(--muted);
  font-size: 15px;
}

.api-dynamic-card .pill {
  justify-content: center;
  margin-top: 28px;
}

.api-credit-costs {
  display: grid;
  grid-template-columns: 1.3fr repeat(4, minmax(0, 1fr));
  margin-top: 18px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.api-credit-costs div {
  min-height: 96px;
  padding: 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.api-credit-costs-heading {
  background: rgba(255, 107, 98, 0.035);
}

.api-credit-costs span,
.api-credit-costs strong {
  display: block;
}

.api-credit-costs span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.api-credit-costs strong {
  margin-top: 10px;
  color: var(--text);
  font-size: 18px;
  font-weight: 400;
}

.route-card:nth-child(2n) {
  border-right: 0;
}

.route-card-grid.three .route-card:nth-child(2n) {
  border-right: 1px solid var(--line);
}

.route-card-grid.three .route-card:nth-child(3n) {
  border-right: 0;
}

.route-num {
  display: block;
  margin-bottom: 22px;
  color: var(--green);
  font-size: 12px;
}

.route-card h3 {
  margin-bottom: 16px;
  color: var(--text);
  font-size: 28px;
  line-height: 1.12;
  font-weight: 400;
}

.route-card p,
.route-card li,
.legal-p,
.legal-bullets li {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.5;
}

.route-card ul {
  margin: 0;
  padding-left: 18px;
}

.route-card-action {
  margin-top: auto;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.code-panel {
  padding: 28px 32px;
  overflow: auto;
  border: 1px solid var(--line);
  background: #130f10;
  color: #b6f0eb;
  font-family: "TX-02", monospace;
  font-size: 14px;
  line-height: 1.6;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.api-terminal-frame {
  min-width: 0;
  margin: 0;
  background: transparent;
}

.api-terminal-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.api-path-panel {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 107, 98, 0.035), rgba(246, 236, 220, 0.018)),
    rgba(27, 23, 24, 0.68);
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.22);
}

.api-path-panel > span,
.api-path-steps strong {
  font-family: "TX-02", monospace;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.api-path-panel > span {
  color: var(--green);
  font-size: 12px;
}

.api-path-panel h3 {
  max-width: 520px;
  margin: 22px 0 16px;
  color: var(--text);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 400;
  line-height: 1.06;
}

.api-path-panel > p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.api-path-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 32px;
  border-top: 1px solid var(--line);
}

.api-path-steps article {
  min-height: 116px;
  padding: 20px 18px 0 0;
  border-right: 1px solid var(--line);
}

.api-path-steps article:not(:first-child) {
  padding-left: 18px;
}

.api-path-steps article:last-child {
  border-right: 0;
}

.api-path-steps strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 11px;
}

.api-path-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
}

.price-card {
  min-height: 520px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 38px 32px;
  border-right: 1px solid var(--line);
}

.price-card:last-child {
  border-right: 0;
}

.price-card.featured {
  background: var(--text);
  color: var(--bg);
}

.price-card h3 {
  margin: 0;
  font-size: 32px;
  font-weight: 400;
}

.price-card .price {
  font-size: 46px;
  line-height: 1;
}

.price-card ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 12px;
  color: var(--muted);
  line-height: 1.45;
}

.price-card .pill {
  margin-top: auto;
  align-self: flex-start;
}

.price-card.featured p,
.price-card.featured li {
  color: #443735;
}

.price-card.featured .pill.ghost {
  border-color: var(--bg);
  background: var(--bg);
  color: var(--text);
}

.route-table {
  border-top: 1px solid var(--line);
}

.route-row {
  display: grid;
  grid-template-columns: 0.7fr 0.6fr 1.8fr 0.5fr;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.route-row strong {
  color: var(--text);
  font-weight: 500;
}

.form-static {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  padding: 88px 64px;
  background:
    linear-gradient(135deg, rgba(255,107,98,0.05), rgba(115,222,212,0.035)),
    #130f10;
  border-bottom: 1px solid var(--line);
}

.form-box {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.form-box label {
  display: grid;
  gap: 6px;
}

.form-box label span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form-wide,
.form-box button,
.form-status {
  grid-column: 1 / -1;
}

.form-box input,
.form-box textarea,
.form-box select {
  width: 100%;
  padding: 15px 0;
  border: 0;
  border-bottom: 1px solid #6d5452;
  outline: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
}

.form-box select option {
  background: var(--panel);
  color: var(--text);
}

.form-status {
  min-height: 1.4em;
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.form-box button[disabled] {
  cursor: wait;
  opacity: 0.68;
}

.legal-layout {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 70px;
}

.legal-aside {
  position: sticky;
  top: 110px;
  align-self: start;
  max-height: calc(100vh - 130px);
  overflow: auto;
  padding-right: 8px;
}

.legal-toc {
  display: grid;
  gap: 14px;
  margin-top: 32px;
}

.legal-toc a,
.legal-toc button {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
}

.legal-section {
  position: relative;
  padding: 0 0 48px;
  margin-bottom: 48px;
  border-bottom: 1px solid var(--line);
}

.legal-num {
  color: var(--green);
  font-family: "TX-02", monospace;
  font-size: 13px;
}

.legal-heading {
  margin: 12px 0 18px;
  color: var(--text);
  font-size: 36px;
  font-weight: 400;
}

.legal-bullets {
  margin: 18px 0 0;
  padding-left: 20px;
}

.not-found {
  min-height: 70vh;
  display: grid;
  place-items: center;
  padding: 80px 24px;
  text-align: center;
}

@media (max-width: 900px) {
  :root {
    --max: calc(100vw - 32px);
  }

  .announcement {
    height: 24px;
    font-size: 8px;
    gap: 6px;
  }

  .site-header {
    height: 58px;
    padding: 0 14px;
    gap: 10px;
  }

  .brand {
    font-size: 18px;
    gap: 9px;
  }

  .cartesia-mark {
    width: 20px;
    height: 20px;
    grid-template-columns: repeat(5, 4px);
    grid-template-rows: repeat(5, 4px);
  }

  .cartesia-mark i {
    width: 4px;
    height: 4px;
  }

  .desktop-nav,
  .link-action,
  .header-actions .top-link:not(.try-lexchat),
  .header-actions .light {
    display: none;
  }

  .header-actions {
    margin-left: auto;
    gap: 8px;
  }

  .header-actions .try-lexchat {
    min-height: 30px;
    padding: 0 12px;
    border-color: transparent;
    background: var(--white);
    color: var(--bg);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
  }

  .menu-button {
    display: block;
  }

  .menu-button[aria-expanded="true"] span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .menu-button[aria-expanded="true"] span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .site-header.is-menu-open .desktop-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 30;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 14px 16px;
    background: rgba(27, 23, 24, 0.99);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.32);
    font-size: 15px;
  }

  .site-header.is-menu-open .desktop-nav > a {
    min-height: 44px;
    justify-content: space-between;
    border-top: 1px solid rgba(246, 236, 220, 0.08);
  }

  .site-header.is-menu-open .desktop-nav > a.mobile-nav-action {
    display: inline-flex;
  }

  .site-header.is-menu-open .nav-menu {
    width: 100%;
    display: block;
    padding-bottom: 8px;
  }

  .site-header.is-menu-open .nav-menu::after,
  .site-header.is-menu-open .nav-menu-trigger {
    display: none;
  }

  .site-header.is-menu-open .nav-menu-panel {
    position: static;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .site-header.is-menu-open .desktop-nav .nav-solution-card {
    min-height: 0;
    padding: 14px;
    gap: 4px;
    border: 1px solid rgba(246, 236, 220, 0.1);
    background: rgba(246, 236, 220, 0.035);
  }

  .site-header.is-menu-open .desktop-nav .nav-solution-card p {
    margin-top: 3px;
  }

  .site-header.is-menu-open .nav-preview {
    display: none;
  }

  .hero {
    min-height: 0;
  }

  .hero-inner {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 48px 22px 0;
  }

  .hero-copy {
    max-width: none;
    padding: 0;
    text-align: center;
  }

  .hero-copy h1 {
    max-width: 328px;
    margin-right: auto;
    margin-left: auto;
    font-size: 33px;
    line-height: 1.06;
  }

  .hero-copy .subhead {
    max-width: 312px;
    margin-right: auto;
    margin-left: auto;
  }

  .hero-copy .cta-row {
    justify-content: center;
  }

  .hero-globe-wrap {
    min-height: 392px;
    margin: 4px -54px -44px;
    overflow: hidden;
  }

  .hero-globe {
    width: min(430px, calc(100vw + 62px));
  }

  .hero-globe-marker.is-active {
    min-width: 112px;
    height: 38px;
    padding: 5px 9px;
    gap: 8px;
  }

  .hero-globe-code,
  .hero-globe-play {
    width: 25px;
    height: 25px;
  }

  .hero-globe-label {
    font-size: 15px;
  }

  .eyebrow {
    margin-bottom: 12px;
    font-size: 9px;
  }

  h1 {
    max-width: 300px;
    font-size: 31px;
    line-height: 1.05;
    margin-bottom: 14px;
  }

  .subhead {
    max-width: 255px;
    font-size: 12px;
    line-height: 1.35;
    margin-bottom: 14px;
  }

  .hero-copy h1 {
    max-width: 328px;
    font-size: 33px;
    line-height: 1.06;
    margin-bottom: 14px;
  }

  .hero-copy .subhead {
    max-width: 312px;
    font-size: 13px;
    line-height: 1.42;
    margin-bottom: 16px;
  }

  .pill {
    min-height: 28px;
    padding: 0 14px;
    font-size: 11px;
  }

  .cta-row {
    gap: 9px;
  }

  .studio-wrap {
    width: 100%;
    height: 412px;
    bottom: 0;
  }

  .green-stage {
    height: 382px;
    object-fit: cover;
  }

  .studio-card {
    width: calc(100vw - 38px);
    top: 18px;
    padding: 24px 18px 17px;
    min-height: 348px;
  }

  .code-line {
    min-height: 104px;
    font-size: 15px;
    line-height: 1.44;
  }

  .code-line.is-answer {
    min-height: 132px;
    font-size: 12.5px;
    line-height: 1.45;
  }

  .voice-tabs {
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 0;
    padding-bottom: 2px;
    overflow-x: visible;
    font-size: 10px;
  }

  .code-line.is-answer + .source-links {
    max-height: 76px;
    margin-top: 10px;
  }

  .source-pill {
    min-height: 30px;
    width: 100%;
    max-width: none;
    min-width: 0;
    flex: 1 1 100%;
    padding: 0 9px 0 7px;
    gap: 6px;
  }

  .source-index {
    min-height: 18px;
    padding: 0 6px;
    font-size: 8px;
  }

  .source-pin {
    font-size: 9px;
  }

  .source-pill::after {
    font-size: 10px;
  }

  .player-row {
    margin-top: 10px;
    padding-top: 12px;
    gap: 12px;
  }

  .play {
    min-width: 86px;
    height: 34px;
    padding: 0 13px;
    font-size: 12px;
  }

  .lexchat-demo-widget .studio-card {
    width: calc(100vw - 38px);
  }

  .market-flip {
    height: 184px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .market-slot {
    min-height: 92px;
    border-bottom: 1px solid var(--line);
  }

  .market-slot:nth-child(2n + 1) {
    border-left: 0;
  }

  .market-slot:nth-child(n + 3) {
    border-bottom: 0;
  }

  .market-face {
    padding: 0 12px;
    font-size: clamp(16px, 6vw, 24px);
    letter-spacing: 0.07em;
  }

  .market-face::after {
    bottom: 21px;
    width: 30px;
  }

  .section-separator {
    height: 65px;
    background:
      repeating-linear-gradient(90deg, transparent 0 8px, rgba(246, 236, 220, 0.055) 8px 9px),
      linear-gradient(90deg, rgba(255, 107, 98, 0.018), rgba(115, 222, 212, 0.014));
  }

  .natural {
    display: block;
    min-height: auto;
    overflow: hidden;
  }

  .natural-copy {
    padding: 48px 22px 0;
    border-right: 0;
  }

  .authority-shell {
    position: relative;
    top: auto;
    height: auto;
    min-height: auto;
    display: block;
  }

  .authority-kicker {
    margin-bottom: 14px;
    font-size: 9px;
  }

  h2 {
    font-size: 28px;
    line-height: 1.05;
    margin-bottom: 18px;
  }

  .authority-copy h2 {
    max-width: 300px;
    margin-bottom: 18px;
    font-size: 28px;
  }

  .authority-narrative {
    max-width: 300px;
    font-size: 18px;
    line-height: 1.4;
  }

  sup {
    width: 18px;
    height: 18px;
    font-size: 11px;
  }

  .natural-visual {
    min-height: auto;
    margin-top: 42px;
    padding: 28px 0 88px;
  }

  .authority-card {
    position: relative;
    left: auto;
    top: auto;
    width: calc(100% - 44px);
    margin: 14px 22px;
    padding: 22px;
    opacity: 1;
    transform: none;
    transition: none;
  }

  .authority-card.is-active {
    transform: none;
  }

  .authority-card.authority-workbench-card {
    position: relative;
    left: auto;
    top: auto;
    width: calc(100% - 28px);
    height: 292px;
    margin: 10px 14px 24px;
    padding: 0;
    overflow: hidden;
    background: #f6ecdc;
    border-radius: 8px;
    box-shadow: 0 34px 54px rgba(0, 0, 0, 0.28);
    transform: none;
  }

  .authority-card.authority-chat-card {
    position: relative;
    left: auto;
    top: auto;
    width: calc(100% - 28px);
    margin: 10px 14px 24px;
    padding: 0;
    transform: none;
  }

  .authority-card.authority-turnaround-card {
    position: relative;
    left: auto;
    top: auto;
    width: calc(100% - 28px);
    margin: 10px 14px 24px;
    padding: 0;
    transform: none;
  }

  .authority-card.authority-tabular-card {
    position: relative;
    left: auto;
    top: auto;
    width: calc(100% - 28px);
    margin: 10px 14px 24px;
    padding: 0;
    transform: none;
  }

  .authority-card.authority-playbook-card {
    position: relative;
    left: auto;
    top: auto;
    width: calc(100% - 28px);
    margin: 10px 14px 24px;
    padding: 0;
    transform: none;
  }

  .authority-chat-frame {
    aspect-ratio: auto;
    height: min(430px, 112vw);
  }

  .turnaround-chart {
    min-height: auto;
    padding: 38px 18px;
  }

  .turnaround-rows {
    width: 100%;
    gap: 24px;
  }

  .turnaround-row {
    gap: 10px;
  }

  .turnaround-label {
    width: 74px;
    flex-basis: 74px;
    font-size: 10px;
  }

  .turnaround-bar {
    height: 56px;
  }

  .turnaround-fill {
    min-width: 54px;
    height: 56px;
    transform: scaleX(1);
  }

  .turnaround-value {
    opacity: 1;
    transform: none;
  }

  .authority-turnaround-card.is-active .turnaround-fill,
  .authority-turnaround-card.is-active .turnaround-value {
    animation: none;
  }

  .turnaround-value {
    margin-left: 8px;
    font-size: 10px;
  }

  .tabular-review-animation {
    min-height: auto;
    padding: 0;
    overflow: visible;
  }

  .tabular-review-animation::before {
    content: none;
  }

  .tabular-review-sheet {
    width: 100%;
    min-height: 286px;
    display: block;
    padding: 16px;
    opacity: 1;
    transform: none;
  }

  .authority-tabular-card.is-active .tabular-review-sheet {
    animation: none;
  }

  .tabular-review-head,
  .tabular-review-row {
    grid-template-columns: minmax(0, 0.94fr) minmax(0, 1fr) 40px;
    gap: 7px;
  }

  .tabular-review-head {
    font-size: 8px;
  }

  .tabular-review-grid {
    gap: 7px;
  }

  .tabular-review-row {
    min-height: 28px;
    padding: 0 8px;
    font-size: 8px;
    opacity: 1;
    transform: none;
  }

  .authority-tabular-card.is-active .tabular-review-row {
    animation: none;
  }

  .tabular-review-doc i {
    width: 9px;
    height: 9px;
    flex-basis: 9px;
  }

  .tabular-review-more {
    margin-top: 10px;
    font-size: 8px;
  }

  .tabular-review-popover {
    top: 96px;
    left: 96px;
    width: 198px;
    padding: 10px;
    opacity: 1;
    transform: none;
  }

  .authority-tabular-card.is-active .tabular-review-popover {
    animation: none;
  }

  .authority-tabular-card .tabular-review-popover strong {
    font-size: 8px;
  }

  .authority-tabular-card .tabular-review-popover p {
    font-size: 8px;
  }

  .tabular-review-cursor {
    display: none;
  }

  .playbook-rule-animation {
    min-height: auto;
    overflow: visible;
  }

  .playbook-rule-panel {
    width: 100%;
    min-height: 344px;
    padding: 22px 16px;
    opacity: 1;
    transform: none;
  }

  .playbook-rule-panel::after {
    top: 20px;
    right: 20px;
    width: 72px;
  }

  .authority-playbook-card.is-active .playbook-rule-panel {
    animation: none;
  }

  .playbook-rule-title {
    margin-bottom: 18px;
    font-size: 11px;
  }

  .playbook-rule-title span {
    width: 11px;
    height: 11px;
    border-width: 0 3px 3px 0;
  }

  .playbook-rule-list {
    gap: 8px;
  }

  .playbook-rule-item {
    min-height: 58px;
    padding: 11px 12px;
    opacity: 1;
    transform: none;
  }

  .authority-playbook-card.is-active .playbook-rule-item,
  .authority-playbook-card.is-active .playbook-rule-item.is-stop {
    animation: none;
  }

  .playbook-rule-item div {
    gap: 8px;
    margin-bottom: 7px;
  }

  .playbook-rule-item i {
    width: 8px;
    height: 8px;
    flex-basis: 8px;
  }

  .playbook-rule-item strong {
    font-size: 10px;
  }

  .authority-playbook-card .playbook-rule-item p {
    font-size: 9px;
  }

  .playbook-rule-status {
    margin-top: 12px;
    padding-top: 12px;
    font-size: 8px;
  }

  .authority-card h3 {
    font-size: 24px;
  }

  .authority-card p {
    font-size: 14px;
    line-height: 1.45;
  }

  .authority-chip,
  .authority-excerpt span,
  .authority-stack b {
    font-size: 9px;
  }

  .authority-excerpt,
  .authority-stack {
    padding: 14px;
    font-size: 12px;
  }

  .natural-visual .small,
  .authority-action {
    left: 22px;
    bottom: 30px;
  }

  .sound,
  .authority-sound {
    right: 22px;
    bottom: 30px;
  }

  .section-pad,
  .customers {
    padding-left: 22px;
    padding-right: 22px;
  }

  .context-system {
    min-height: auto;
    padding-top: 52px;
    padding-bottom: 56px;
  }

  .context-map {
    height: 520px;
  }

  .context-hub {
    top: 58%;
    width: 38px;
    height: 38px;
  }

  .context-hub::after {
    inset: 14px;
  }

  .context-pill {
    min-height: 28px;
    padding: 0 9px;
    gap: 6px;
    border-radius: 6px;
    font-size: 11px;
  }

  .context-pill span {
    width: 12px;
    font-size: 8px;
  }

  .context-pill.clients { left: 18px; top: 26px; }
  .context-pill.email { left: 158px; top: 58px; }
  .context-pill.statutes { left: 262px; top: 108px; }
  .context-pill.colleagues { left: 116px; top: 126px; }
  .context-pill.clauses { left: 186px; top: 174px; }
  .context-pill.regulators { left: 254px; top: 238px; }
  .context-pill.counsel { right: 20px; top: 44px; }
  .context-pill.playbooks { right: 16px; top: 164px; }
  .context-pill.approvals { right: 36px; top: 292px; }
  .context-pill.contracts { left: 18px; top: 214px; }
  .context-pill.messages { right: 20px; top: 386px; }

  .section-head,
  .section-head.split,
  .speed-head {
    display: block;
    padding-top: 54px;
  }

  .section-head h2 {
    max-width: 290px;
  }

  .security-badges {
    justify-content: flex-start;
    gap: 26px;
    min-width: 0;
    margin-top: 26px;
    padding-top: 0;
  }

  .security-badges img {
    width: 62px;
    height: 62px;
  }

  .security-badges figcaption {
    font-size: 11px;
  }

  .arrows {
    position: absolute;
    right: 22px;
    margin-top: -58px;
  }

  .arrows button {
    width: 30px;
    height: 30px;
    font-size: 22px;
  }

  .accuracy-scroll {
    --accuracy-sticky-top: 76px;
    min-height: 190vh;
    padding-left: 22px;
    padding-right: 22px;
  }

  .accuracy-shell {
    min-height: 640px;
    padding: 38px 0 58px;
  }

  .accuracy-head h2 {
    max-width: 320px;
  }

  .accuracy-controls {
    position: static;
    justify-content: flex-start;
    margin-top: 18px;
    padding-top: 0;
  }

  .phrase {
    margin-top: 46px;
    min-height: 280px;
  }

  .phrase .index {
    margin-bottom: 28px;
    font-size: 12px;
  }

  .phrase p {
    font-size: 28px;
    line-height: 1.45;
  }

  .accuracy-note {
    display: none;
  }

  .accuracy-caption {
    min-height: 130px;
    transform: translateY(-12px);
  }

  .caption {
    margin-top: 0;
  }

  .caption h3,
  .benefits h3,
  .agent-cards h3,
  .dev-list h3 {
    font-size: 14px;
  }

  .caption p,
  .benefits p,
  .agent-cards > article > p,
  .developer-copy > p,
  .dev-list p,
  .center-head p {
    font-size: 11px;
  }

  .segmented {
    width: 280px;
    height: 36px;
  }

  .segmented span {
    font-size: 11px;
  }

  .speed-head > div:last-child {
    margin-top: 24px;
  }

  .speed-board {
    display: block;
    margin-top: 40px;
    min-height: auto;
  }

  .latency-arc svg {
    height: 290px;
    transform: translateX(-80px) scale(0.9);
  }

  .latency-list div {
    height: 72px;
    font-size: 12px;
  }

  .benefits {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .center-head {
    max-width: 320px;
    margin-bottom: 28px;
  }

  .product-head {
    max-width: 100%;
  }

  .agent-cards {
    display: block;
  }

  .agent-cards article {
    min-height: 340px;
    padding: 34px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .agent-cards img {
    height: 170px;
    margin-bottom: 28px;
  }

  .agent-cards video {
    height: auto;
    aspect-ratio: 16 / 9;
    margin-bottom: 28px;
  }

  .lexchat-workflow {
    height: 170px;
    margin-bottom: 28px;
  }

  .lex-query {
    left: 18px;
    right: 18px;
    top: 62px;
    height: 37px;
    padding-left: 13px;
  }

  .lex-query span {
    font-size: 8px;
  }

  .lex-query button {
    width: 26px;
    height: 26px;
    font-size: 11px;
  }

  .source-statute {
    left: 18px;
    top: 30px;
  }

  .source-case {
    right: 18px;
    top: 32px;
  }

  .source-matter {
    left: 24px;
    bottom: 30px;
  }

  .source-email {
    right: 24px;
    bottom: 30px;
  }

  .lex-source {
    height: 20px;
    padding: 0 8px;
    font-size: 7px;
  }

  .lex-answer {
    left: 26px;
    right: 26px;
    top: 45px;
    min-height: 86px;
    padding: 23px 18px 14px;
  }

  .lex-answer strong {
    margin-bottom: 7px;
    font-size: 10px;
  }

  .lex-answer p {
    font-size: 7px;
  }

  .lex-context-card {
    width: 96px;
    padding: 8px;
  }

  .lex-context-card b {
    font-size: 7px;
  }

  .lex-context-card span {
    font-size: 6px;
  }

  .context-one {
    left: 14px;
    top: 24px;
  }

  .context-two {
    right: 14px;
    bottom: 22px;
  }

  .knowledge-workflow {
    height: 170px;
    margin-bottom: 28px;
  }

  .workflow-card {
    top: 30px;
    width: 100px;
    height: 104px;
    padding: 14px 12px 12px;
  }

  .workflow-upload {
    width: 28px;
    height: 28px;
  }

  .workflow-upload::before {
    left: 13px;
    top: 8px;
    height: 12px;
  }

  .workflow-upload::after {
    left: 9px;
    top: 8px;
    width: 8px;
    height: 8px;
  }

  .workflow-card strong {
    margin: 9px 0 5px;
    font-size: 9px;
  }

  .workflow-card span:last-child {
    max-width: 78px;
    font-size: 8px;
  }

  .source-tile {
    width: 32px;
    height: 37px;
    padding-bottom: 5px;
    font-size: 5px;
  }

  .source-tile::before {
    left: 8px;
    top: 8px;
    width: 16px;
    height: 12px;
  }

  .source-tile::after {
    left: 6px;
    right: 6px;
    bottom: 5px;
    height: 12px;
  }

  .tile-pdf { --move-x: 70px; --move-y: 28px; left: 20px; top: 104px; }
  .tile-docx { --move-x: 48px; --move-y: -10px; left: 60px; top: 54px; }
  .tile-mail { --move-x: -68px; --move-y: -4px; right: 18px; top: 76px; }
  .tile-slack { --move-x: 88px; --move-y: -20px; left: 14px; top: 46px; }
  .tile-cal { --move-x: -56px; --move-y: 40px; right: 42px; top: 30px; }

  .workflow-status {
    left: 12%;
    right: 12%;
    bottom: 8px;
    font-size: 8px;
  }

  .workflow-cursor {
    border-left-width: 9px;
    border-top-width: 6px;
    border-bottom-width: 6px;
  }

  .workflow-table {
    left: 6%;
    right: 6%;
    top: 45px;
    padding: 10px 10px 8px;
  }

  .workflow-table div {
    margin-bottom: 8px;
    font-size: 5px;
    letter-spacing: 0.08em;
  }

  .workflow-table span {
    height: 5px;
    margin: 0 6px 7px 0;
  }

  .firm-workflow {
    height: 170px;
    margin-bottom: 28px;
  }

  .firm-action-list {
    left: 12px;
    top: 18px;
    bottom: 18px;
    width: 114px;
    padding: 34px 12px 12px;
  }

  .firm-action-list span {
    margin-bottom: 10px;
    font-size: 8px;
  }

  .firm-document {
    right: 13px;
    top: 39px;
    width: 126px;
    height: 94px;
    padding: 11px 11px;
  }

  .firm-document::before {
    inset: 10px -9px 10px auto;
    width: 102px;
  }

  .firm-document::after {
    inset: 18px -17px 18px auto;
    width: 94px;
  }

  .firm-document small {
    margin-bottom: 5px;
    font-size: 6px;
  }

  .firm-document strong {
    margin-bottom: 7px;
    font-size: 12px;
  }

  .firm-document p {
    margin-bottom: 6px;
    font-size: 5.5px;
    line-height: 1.22;
  }

  .redline-one {
    top: 51px;
  }

  .redline-two {
    top: 62px;
  }

  .firm-comment {
    right: 16px;
    top: 17px;
    width: 128px;
    padding: 8px;
    font-size: 7px;
  }

  .firm-draft {
    right: 16px;
    bottom: 16px;
    width: 128px;
    padding: 7px 8px;
    font-size: 7px;
  }

  .firm-sources {
    right: 16px;
    top: 28px;
    width: 120px;
    padding: 7px;
  }

  .firm-sources span {
    height: 12px;
    margin-bottom: 3px;
    font-size: 5.5px;
    line-height: 12px;
  }

  .api-workflow {
    height: 170px;
    margin-bottom: 28px;
  }

  .api-route-bar {
    left: 16px;
    right: 16px;
    top: 18px;
    height: 34px;
    padding: 0 10px;
  }

  .api-route-bar span {
    padding: 4px 5px;
    font-size: 6px;
  }

  .api-route-bar strong {
    font-size: 8px;
  }

  .api-flow-grid {
    left: 16px;
    top: 66px;
    width: 104px;
    gap: 6px;
  }

  .api-flow-grid span {
    padding: 6px 7px;
    font-size: 6px;
  }

  .api-response-card {
    right: 18px;
    bottom: 20px;
    width: 124px;
    padding: 13px 12px;
  }

  .api-response-card small {
    margin-bottom: 6px;
    font-size: 6px;
  }

  .api-response-card strong {
    margin-bottom: 5px;
    font-size: 10px;
  }

  .api-response-card p {
    font-size: 6px;
  }

  .api-credit-chip {
    right: 18px;
    top: 65px;
    padding: 6px 7px;
    font-size: 6px;
  }

  .region-tabs {
    justify-content: flex-start;
    gap: 20px;
    overflow-x: hidden;
    height: 52px;
    font-size: 9px;
  }

  .language-grid {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .language-grid a {
    height: 47px;
    font-size: 12px;
  }

  .language-grid .flag {
    width: 24px;
    height: 16px;
  }

  .developer {
    display: block;
  }

  .developer-copy {
    padding-top: 46px;
  }

  .dev-list {
    margin-top: 28px;
  }

  .developer-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .dev-list article {
    grid-template-columns: 115px 1fr;
    gap: 16px;
    min-height: 80px;
    padding: 18px 0;
  }

  .enterprise-standards {
    gap: 12px 14px;
  }

  .standard-item {
    font-size: 11px;
  }

  .dev-collage {
    grid-auto-rows: 116px;
    margin-top: 28px;
  }

  .legalos-developer-section .developer-copy h2 {
    font-size: 38px;
  }

  .legalos-developer-section .dev-collage {
    grid-template-columns: 1fr;
    grid-auto-rows: 152px;
    margin-top: 28px;
  }

  .legalos-visual-card {
    padding: 16px;
  }

  .legalos-visual-card svg {
    height: 68px;
    margin: 4px 0 8px;
  }

  .legalos-visual-card strong {
    font-size: 15px;
  }

  .customers .section-head {
    padding-bottom: 38px;
  }

  .story-row {
    width: 100%;
    margin-left: 0;
    display: block;
  }

  .story {
    min-height: 420px;
    padding: 42px 28px 36px;
  }

  .story + .story {
    border-left: 0;
    border-top: 2px solid rgba(0,0,0,0.45);
  }

  .story::after {
    top: 22px;
    right: 22px;
    font-size: 72px;
  }

  .story-kicker {
    margin-bottom: 0;
    font-size: 11px;
  }

  .story h3 {
    font-size: 32px;
  }

  .legalos-ceo-card {
    width: 100%;
    min-height: 560px;
    margin-top: 28px;
    margin-left: 0;
    padding: 42px 28px 36px;
  }

  .legalos-ceo-card p {
    font-size: 32px;
  }

  .legalos-ceo-card::after {
    top: 22px;
    right: 22px;
    font-size: 58px;
  }

  .site-footer {
    padding: 0;
  }

  .footer-main {
    display: block;
    padding: 40px 22px 34px;
  }

  .footer-brand p {
    max-width: 100%;
    margin-top: 22px;
    font-size: 15px;
  }

  .footer-social {
    margin-top: 26px;
  }

  .footer-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 22px;
    margin-top: 34px;
  }

  .footer-columns h4 {
    margin-bottom: 14px;
  }

  .footer-columns a,
  .footer-link-button {
    margin-bottom: 11px;
    font-size: 14px;
  }

  .footer-bottom {
    display: grid;
    gap: 8px;
    padding: 22px;
    font-size: 12px;
  }

  .cookie-card {
    right: 12px;
    bottom: 12px;
    width: min(330px, calc(100vw - 24px));
    padding: 16px;
  }

  .cookie-card h3 {
    font-size: 16px;
  }

  .cookie-card p {
    font-size: 12px;
  }

  .cookie-card button {
    padding: 8px 10px;
    font-size: 11px;
  }

  .route-hero {
    min-height: auto;
    padding: 64px 22px 56px;
  }

  .route-hero.api-hero {
    min-height: auto;
    padding: 0;
  }

  .route-hero.api-hero .route-hero-inner {
    min-height: auto;
    display: block;
    padding: 48px 22px 56px;
    text-align: center;
  }

  .route-hero.api-hero .eyebrow {
    margin-bottom: 14px;
    font-size: 13px;
  }

  .route-hero.api-hero h1 {
    max-width: 328px;
    margin: 0 auto 14px;
    text-align: center;
    font-size: 33px;
    line-height: 1.06;
  }

  .route-hero.api-hero .route-lede {
    max-width: 312px;
    margin: 0 auto 16px;
    font-size: 13px;
    line-height: 1.42;
    text-align: center;
  }

  .route-hero.api-hero .cta-row {
    justify-content: center;
    margin-top: 0;
  }

  .route-hero.api-hero .route-meta {
    position: static;
    width: auto;
    min-width: 0;
    margin-top: 32px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    transform: none;
  }

  .route-hero.api-hero .route-hero-visual {
    position: static;
    width: min(100%, 340px);
    min-width: 0;
    margin: 34px auto 0;
    transform: none;
  }

  .route-hero.api-hero .route-meta div {
    min-height: 88px;
    padding: 16px;
  }

  .route-hero.legalos-hero {
    min-height: 380px;
    padding: 0;
  }

  .route-hero.legalos-hero .route-hero-inner {
    max-width: 860px;
    padding: 42px 20px 28px;
  }

  .route-hero.lexchat-hero {
    padding: 0 0 54px;
  }

  .route-hero.lexchat-hero .route-hero-inner {
    max-width: 860px;
    padding: 42px 20px 28px;
  }

  .route-hero.api-hero h1 {
    font-size: 31px;
  }

  .route-hero.lexchat-hero h1,
  .route-hero.legalos-hero h1 {
    font-size: 29px;
  }

  .route-hero.lexchat-hero h1 {
    max-width: 300px;
    margin-right: auto;
    margin-bottom: 14px;
    margin-left: auto;
    line-height: 1.05;
  }

  .route-hero.lexchat-hero .route-lede {
    max-width: 255px;
    font-size: 12px;
    line-height: 1.35;
  }

  .route-hero.legalos-hero h1 {
    max-width: 300px;
    margin-right: auto;
    margin-bottom: 14px;
    margin-left: auto;
    line-height: 1.05;
  }

  .route-hero.legalos-hero .route-lede {
    max-width: 255px;
    margin-bottom: 14px;
    font-size: 12px;
    line-height: 1.35;
  }

  .route-hero.legalos-hero .cta-row {
    gap: 9px;
  }

  .route-hero.lexchat-hero .route-lede {
    margin-top: 0;
  }

  .lexchat-hero .lexchat-demo-widget {
    margin-top: 78px;
  }

  .route-hero h1 {
    font-size: 42px;
    line-height: 1.04;
  }

  .route-lede {
    font-size: 15px;
  }

  .route-meta {
    grid-template-columns: repeat(2, 1fr);
  }

  .route-meta div:nth-child(2n) {
    border-right: 0;
  }

  .route-section,
  .form-static {
    padding: 56px 22px;
  }

  .route-split,
  .form-static,
  .legal-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .route-section h2 {
    font-size: 32px;
  }

  .route-section .route-body {
    font-size: 15px;
  }

  .api-path-panel {
    min-height: auto;
    padding: 24px;
  }

  .api-path-panel h3 {
    margin-top: 18px;
    font-size: 28px;
  }

  .api-path-panel > p {
    font-size: 15px;
  }

  .api-path-steps {
    grid-template-columns: 1fr;
    margin-top: 24px;
  }

  .api-path-steps article,
  .api-path-steps article:not(:first-child) {
    min-height: auto;
    padding: 16px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .api-path-steps article:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .route-media {
    padding: 6px 0;
  }

  .route-media video {
    max-height: none;
  }

  .route-card-grid,
  .route-card-grid.three,
  .price-grid {
    grid-template-columns: 1fr;
  }

  .legalos-command-section,
  .legalos-persona-grid,
  .legalos-board-grid,
  .legalos-persona-grid article div,
  .api-matrix,
  .api-dynamic-pricing-grid,
  .api-credit-costs {
    grid-template-columns: 1fr;
  }

  .legalos-command-section {
    gap: 30px;
  }

  .legalos-command-copy p:not(.route-label) {
    font-size: 16px;
  }

  .legalos-board {
    min-height: auto;
    padding: 18px;
  }

  .legalos-board-bar {
    grid-template-columns: 1fr;
  }

  .legalos-board-grid article.wide {
    grid-template-columns: 1fr;
  }

  .legalos-board-grid article.wide p {
    text-align: left;
  }

  .legalos-board-flow {
    grid-template-columns: 1fr;
  }

  .legalos-module-grid {
    grid-template-columns: 1fr;
  }

  .legalos-module-card,
  .legalos-persona-grid article {
    min-height: auto;
    padding: 26px;
  }

  .legalos-persona-grid h3 {
    font-size: 28px;
  }

  .legalos-persona-grid p {
    font-size: 15px;
  }

  .api-credit-slider {
    padding: 24px 18px 30px;
  }

  .api-slider-track-wrap {
    min-width: 0;
    padding-bottom: 60px;
    padding-inline: 0;
  }

  .api-slider-track-wrap::before,
  .api-slider-track-wrap::after {
    left: 0;
    right: 0;
  }

  .api-slider-markers {
    inset-inline: 0;
    height: 66px;
  }

  .api-slider-markers button {
    width: 46px;
  }

  .api-slider-markers strong {
    font-size: 11px;
  }

  .api-slider-markers button:nth-child(even) strong {
    transform: translateY(18px);
  }

  .api-selected-credit {
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
  }

  .api-feature-card,
  .api-dynamic-card {
    min-height: auto;
  }

  .api-dynamic-card {
    padding: 26px;
  }

  .api-card-price strong {
    font-size: 34px;
  }

  .route-card,
  .route-card-grid.three .route-card {
    min-height: auto;
    padding: 26px 0;
    border-right: 0;
  }

  .route-card h3 {
    font-size: 22px;
  }

  .price-card {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .route-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .legal-aside {
    position: static;
  }

  .legal-toc {
    display: none;
  }

  .legal-heading {
    font-size: 26px;
  }
}

@media (max-width: 900px) {
  .market-static {
    height: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .market-static .market-slot {
    min-height: 86px;
    border-bottom: 1px solid var(--line);
  }

  .market-static .market-slot:nth-child(5) {
    grid-column: auto;
  }

  .market-static .market-slot:nth-child(n + 5) {
    border-bottom: 1px solid var(--line);
  }

  .market-static .market-slot:last-child {
    grid-column: 1 / -1;
    border-bottom: 0;
  }

  .form-box {
    grid-template-columns: 1fr;
  }

  .cookie-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
}
