/* Identidad de aliado.pro: mismos tokens, fuentes, contenedor y botones. */
:root {
  color-scheme: light;
  --bg: #f6f5f0;
  --fg: #111111;
  --muted: #5b5a55;
  --quiet: #6f6e69;
  --line: #1111111f;
  --panel: #fbfaf6;
  --accent: #111111;
  --fg-dim: #5b5a55;
  --fg-bright: #111111;
  --sans:
    "Instrument Sans", Inter, -apple-system, BlinkMacSystemFont, sans-serif;
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --mono: ui-monospace, SFMono-Regular, Consolas, monospace;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 15px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-optical-sizing: auto;
  letter-spacing: -0.02em;
}
h1,
h2 {
  line-height: 1.06;
}
h2 {
  font-size: clamp(34px, 3.8vw, 50px);
}
h2 em {
  font-style: normal;
}
p {
  color: var(--muted);
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
  color: inherit;
}
button:disabled {
  opacity: 0.45;
  cursor: default;
}
button,
a,
input,
summary {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}
::selection {
  background: #111;
  color: #f6f5f0;
}
.wrap {
  width: 100%;
  max-width: 1280px;
  padding-inline: clamp(20px, 4vw, 32px);
  margin-inline: auto;
}
.eyebrow {
  font: 12px/1.6 var(--sans);
  letter-spacing: 0.14em;
  color: var(--quiet);
  text-transform: uppercase;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  background: #111;
  color: #fff;
  padding: 12px 20px;
  z-index: 100;
}
.skip-link:focus {
  top: 10px;
}
.navigation {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #f6f5f0ed;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #11111114;
}
.nav-inner {
  height: 68px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.brand {
  font: 500 30px/1 var(--serif);
  letter-spacing: -0.01em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-size: 15px;
  font-weight: 500;
}
.nav-links a:hover,
.text-link:hover {
  opacity: 0.65;
}
.login-link {
  margin-left: auto;
  padding: 7px 16px;
  border: 1px solid #111;
  border-radius: 4px;
  white-space: nowrap;
  line-height: 1.4;
}
.nav-cta {
  background: #111;
  color: #f6f5f0;
  padding: 8px 17px;
  border: 1px solid #111;
  border-radius: 4px;
  margin-left: -30px;
  font-weight: 500;
  white-space: nowrap;
  line-height: 1.4;
}
.nav-cta:hover {
  background: #333;
}
.menu-toggle {
  display: none;
}
.hero {
  padding-top: 42px;
}
.hero-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.hero-eyebrow {
  font-size: 13px;
  letter-spacing: 0.025em;
  color: var(--muted);
  margin-bottom: 16px;
}
.hero h1 {
  font-size: clamp(44px, 5.5vw, 70.4px);
  line-height: 0.99;
  letter-spacing: -0.035em;
}
.hero-description {
  font-size: 19px;
  line-height: 1.5;
  color: #3d3c38;
}
.hero-description strong {
  font-weight: 500;
}
.hero-actions {
  display: flex;
  gap: 25px;
  align-items: center;
  margin-top: 29px;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  padding: 12px 21px;
  border: 1px solid #111;
  font: 500 15px/1.2 var(--sans);
  min-height: 44px;
  transition: opacity 0.2s;
  gap: 12px;
}
.button:hover {
  opacity: 0.8;
}
.primary {
  color: var(--bg);
  background: #111;
}
.secondary {
  background: transparent;
  color: #111;
}
.text-link {
  font-size: 14px;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: #11111150;
  text-underline-offset: 5px;
  transition: opacity 0.2s;
}
.microcopy {
  font-size: 13px;
  margin-top: 14px;
  color: var(--quiet);
}
.client-strip {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.client-strip a {
  display: flex;
  align-items: center;
  gap: 20px;
  border: 1px solid #11111125;
  border-radius: 30px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 500;
  transition: background 0.15s;
}
.client-strip a:hover {
  background: #111;
  color: var(--bg);
}
.client-strip a span {
  color: #6f6e69;
  font-size: 12px;
}
.showcase {
  margin-top: 44px;
  background: #101111;
  color: #f1efe8;
  border: 1px solid #262727;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 30px 75px -45px #1118;
  isolation: isolate;
}
.showcase-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 25px;
  border-bottom: 1px solid #ffffff12;
}
.showcase-brand {
  font: 26px/1 var(--serif);
}
.showcase-brand > span {
  font: 11px var(--sans);
  color: #8e9491;
  padding-left: 15px;
  margin-left: 15px;
  border-left: 1px solid #ffffff30;
}
.view-controls {
  display: flex;
  gap: 3px;
  align-items: center;
}
.view-controls button {
  background: none;
  color: #8e9491;
  border: 1px solid transparent;
  border-radius: 4px;
  min-width: 44px;
  min-height: 36px;
  padding: 6px 9px;
  font-size: 11px;
}
.view-controls button[aria-pressed="true"] {
  background: #e7e7e4;
  color: #111;
}
.view-controls button:hover {
  border-color: #ffffff40;
}
.view-controls .motion-toggle {
  margin-left: 8px;
  border: 1px solid #ffffff25;
  font-size: 12px;
}
.showcase-body {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 32px;
  align-items: center;
  padding: 0 36px 0 52px;
  background: radial-gradient(ellipse at 78% 48%, #343c3320, transparent 55%);
}
.showcase-copy {
  padding-block: 35px;
  max-width: 350px;
}
.showcase-copy .eyebrow {
  font-size: 10px;
  letter-spacing: 0.12em;
  color: #8e9491;
  margin-bottom: 23px;
}
.showcase-copy h2 {
  font-size: 43px;
  line-height: 1.12;
  color: #f1efe8;
  letter-spacing: -0.02em;
}
.showcase-copy > p:not(.eyebrow) {
  font-size: 14px;
  line-height: 1.7;
  color: #a9a8a2;
  margin-top: 21px;
  min-height: 96px;
}
.showcase-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 32px;
}
.showcase-tags span {
  border: 1px solid #ffffff25;
  border-radius: 30px;
  padding: 4px 10px;
  font-size: 10px;
  color: #c6cbc6;
}
.showcase-copy .text-link {
  font-size: 12px;
  color: #d7dbd6;
  text-decoration-color: #ffffff40;
}
.hero-art {
  min-width: 0;
}
.art-viewport {
  position: relative;
  aspect-ratio: 1.18;
  isolation: isolate;
  overflow: hidden;
  touch-action: pan-y;
}
.art-viewport canvas {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.5s;
}
.art-viewport.ready canvas {
  opacity: 1;
}
.art-fallback {
  position: absolute;
  inset: 15%;
  color: #b2b9b1;
  opacity: 0.7;
  transition: opacity 0.3s;
}
.art-fallback svg {
  width: 100%;
  height: 100%;
}
.ready .art-fallback {
  opacity: 0;
}
.orbital {
  position: absolute;
  border: 1px solid #b5c6b60b;
  border-radius: 50%;
  inset: 10%;
  pointer-events: none;
}
.orbital-two {
  inset: 3%;
  border-style: dashed;
}
.art-cross {
  position: absolute;
  font: 14px var(--mono);
  color: #ffffff25;
}
.cross-one {
  left: 3%;
  top: 25%;
}
.cross-two {
  right: 3%;
  top: 70%;
}
.art-coordinate,
.art-format {
  position: absolute;
  bottom: 12px;
  font: 9px var(--mono);
  color: #7e8980;
  z-index: 3;
}
.art-coordinate {
  left: 0;
}
.art-format {
  right: 0;
}
.scene-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px 0 22px;
  color: #9eaaa0;
  font-size: 10px;
}
.scene-caption > div {
  display: flex;
  gap: 14px;
  align-items: center;
}
#scene-number {
  font: 9px var(--mono);
  color: #6c786f;
}
.scene-caption strong {
  font-weight: 400;
}
#scene-hint {
  font-size: 9px;
  color: #7e8980;
}
.showcase-note {
  font-size: 12px;
  color: var(--quiet);
  text-align: center;
  margin-top: 17px;
}
.corpus-band {
  margin-top: 56px;
  text-align: center;
  padding-block: 36px 42px;
  border-block: 1px solid var(--line);
}
.corpus-band .eyebrow {
  font-size: 11px;
}
.band-value {
  font: clamp(35px, 4.5vw, 56px)/1.1 var(--serif);
  color: #111;
  margin: 20px 0 8px;
}
.corpus-band > p:not(.eyebrow):not(.band-value) {
  font-size: 14px;
}
.source-names {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 25px;
  margin-top: 35px;
}
.source-names span {
  font: 20px/1.15 var(--serif);
  color: #44453f;
}
.section {
  padding-block: 90px;
}
.section-heading {
  margin-bottom: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.section-heading .eyebrow {
  font-size: 10px;
}
.section-aside {
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--quiet);
}
.section-intro {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: flex-end;
  margin-bottom: 42px;
}
.section-intro > p {
  font-size: 15px;
  line-height: 1.7;
  max-width: 340px;
}
.architecture-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.architecture-card {
  border: 1px solid #1111111a;
  background: #fbfaf6;
  border-radius: 10px;
  padding: 27px 32px;
  overflow: hidden;
}
.card-label {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--quiet);
}
.card-label > span:last-child {
  font-weight: 600;
  color: #222;
}
.architecture-card h3 {
  font-size: 30px;
  line-height: 1.2;
  margin: 16px 0 12px;
}
.architecture-card p {
  font-size: 14px;
  max-width: 400px;
  line-height: 1.7;
}
.card-foot {
  display: block;
  padding-top: 22px;
  margin-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 10px;
  color: var(--quiet);
  letter-spacing: 0.04em;
}
.document-diagram {
  height: 250px;
  position: relative;
  perspective: 800px;
  margin-block: 12px;
}
.doc-sheet {
  position: absolute;
  border: 1px solid #c7c8c0;
  background: #fffefa;
  width: 250px;
  height: 175px;
  left: calc(50% - 125px);
  top: 50px;
  padding: 20px;
  transform: rotateY(-18deg) rotateX(15deg) rotateZ(-5deg);
  box-shadow: 12px 20px 30px #1111110a;
}
.doc-sheet > span {
  font-size: 8px;
  color: #6f7569;
  letter-spacing: 0.1em;
}
.doc-sheet > i {
  display: block;
  width: 100%;
  height: 4px;
  background: #c7cbc1;
  margin-top: 12px;
}
.doc-sheet > i.highlight {
  background: #bacbbb;
  box-shadow: 0 -3px 0 3px #c4d1be25;
}
.doc-sheet > i.short {
  width: 65%;
}
.doc-sheet > div {
  margin-top: 17px;
  font-size: 9px;
  color: #57624f;
}
.doc-sheet b {
  float: right;
}
.doc-back {
  transform: translate(23px, -20px) rotateY(-18deg) rotateX(15deg)
    rotateZ(-5deg);
  opacity: 0.55;
}
.scan-line {
  position: absolute;
  left: calc(50% - 130px);
  top: 100px;
  width: 270px;
  height: 1px;
  background: #75876980;
  box-shadow: 0 0 12px #7d947340;
  transform: rotate(-5deg);
  animation: scan 6s ease-in-out infinite;
}
.graph-diagram {
  height: 250px;
  position: relative;
  margin-block: 12px;
}
.graph-diagram svg {
  width: 100%;
  height: 100%;
  stroke: #74836a70;
  stroke-width: 1;
  fill: none;
}
.graph-diagram svg circle {
  fill: #667d58;
  stroke: none;
}
.node-label {
  position: absolute;
  font-size: 9px;
  background: #f6f5f0;
  border: 1px solid #c7c9bf;
  border-radius: 3px;
  padding: 6px 9px;
  color: #4c5841;
}
.node-constitution {
  left: 50%;
  top: 18px;
  transform: translateX(-50%);
}
.node-law {
  left: 15%;
  top: 94px;
}
.node-ruling {
  right: 15%;
  top: 99px;
}
.node-decree {
  left: 50%;
  top: 156px;
  transform: translateX(-50%);
}
.edge-label {
  font-size: 7px;
  color: #72796a;
  position: absolute;
  left: 53%;
  top: 111px;
  transform: rotate(90deg);
}
.architecture-result {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-top: 26px;
}
.architecture-result > span {
  font: 32px var(--serif);
  color: #767c6c;
}
.architecture-result p {
  max-width: 750px;
  font-size: 13px;
  line-height: 1.7;
}
.architecture-result strong {
  font-weight: 500;
  color: #222;
}
.architecture-result > a {
  white-space: nowrap;
  margin-left: auto;
  font-size: 12px;
}
.corpus-section {
  background: #ecece5;
  border-block: 1px solid #11111108;
}
.corpus-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
}
.corpus-description {
  font-size: 15px;
  line-height: 1.8;
  max-width: 380px;
  margin: 24px 0;
}
.coverage-note {
  font-size: 11px;
  line-height: 1.8;
  max-width: 350px;
  margin-top: 28px;
  color: var(--quiet);
}
.source-list article {
  display: flex;
  gap: 25px;
  padding: 27px 0;
  border-top: 1px solid #11111125;
}
.source-list article > span:first-child {
  font-size: 11px;
  padding-top: 5px;
  color: #74776b;
}
.source-list h3 {
  font-size: 28px;
  line-height: 1.2;
}
.source-list p {
  font-size: 13px;
  margin: 8px 0 12px;
}
.source-list small {
  font-size: 9px;
  letter-spacing: 0.05em;
  color: #6f7665;
}
.source-symbol {
  margin-left: auto;
  font: 34px var(--serif);
  color: #8e9780;
}
.relations {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 38px;
  border-top: 1px solid #11111120;
  padding-top: 22px;
  font-size: 9px;
  color: #6b7362;
  letter-spacing: 0.04em;
}
.relations > span:first-child {
  margin-right: auto;
}
.connect-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 70px;
}
.section-description {
  font-size: 15px;
  line-height: 1.7;
  max-width: 380px;
  margin-top: 23px;
}
.steps {
  list-style: none;
  margin: 28px 0;
  padding: 0;
}
.steps li {
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
}
.steps li > span {
  padding-top: 5px;
  font-size: 11px;
  color: #888d80;
}
.steps h3 {
  font: 500 15px var(--sans);
  margin-bottom: 8px;
}
.steps p {
  font-size: 13px;
  line-height: 1.7;
  max-width: 350px;
}
.connection-panel {
  border: 1px solid #11111122;
  background: #fbfaf6;
  border-radius: 10px;
  overflow: hidden;
  padding: 0 24px 23px;
  min-width: 0;
  box-shadow: 0 20px 50px -40px #1115;
}
.client-tabs {
  display: flex;
  gap: 0;
  margin-inline: -24px;
  border-bottom: 1px solid #11111120;
  padding: 8px 14px;
  background: #eeeee7;
}
.client-tabs button {
  flex: 1;
  min-height: 44px;
  padding: 7px 8px;
  border: 0;
  border-radius: 4px;
  background: none;
  font-size: 12px;
  white-space: nowrap;
}
.client-tabs button[aria-selected="true"] {
  background: #fffefa;
  box-shadow: 0 1px 5px #00000012;
  font-weight: 500;
}
.connection-flow {
  display: flex;
  align-items: center;
  padding: 36px 8px 28px;
}
.flow-node {
  font-size: 12px;
  text-align: center;
  line-height: 1.4;
  white-space: nowrap;
}
.ali-node {
  font: 33px var(--serif);
  border: 1px solid #aeb5a4;
  border-radius: 8px;
  background: #fffefa;
  padding: 12px;
  box-shadow: 0 10px 25px -15px #3337;
}
.flow-wire {
  height: 1px;
  background: #b1b9a8;
  flex: 1;
  margin: 0 12px;
  min-width: 10px;
  position: relative;
}
.flow-wire span {
  position: absolute;
  left: 40%;
  top: -13px;
  font-size: 16px;
  color: #819272;
  background: #fbfaf6;
  padding-inline: 3px;
}
#client-title {
  font-size: 25px;
  line-height: 1.2;
  margin-bottom: 13px;
}
#client-description {
  font-size: 13px;
  line-height: 1.7;
  min-height: 92px;
}
#client-guide {
  display: inline-block;
  font-size: 12px;
  margin: 12px 0 28px;
}
.connection-panel label {
  font-size: 9px;
}
.endpoint-box {
  display: flex;
  gap: 5px;
  margin-top: 10px;
  padding: 6px;
  border: 1px solid #11111130;
  border-radius: 5px;
  background: #f3f3ed;
}
.endpoint-box input {
  min-width: 0;
  width: 100%;
  padding: 9px 6px;
  border: 0;
  background: none;
  color: #333;
  font: 12px var(--mono);
}
.endpoint-box button {
  background: #111;
  color: #f6f5f0;
  border: 0;
  border-radius: 3px;
  padding: 8px 12px;
  font-size: 11px;
  white-space: nowrap;
}
.panel-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: 23px;
  font-size: 10px;
  color: var(--quiet);
}
.panel-bottom a {
  font-size: 18px;
}
.plans-section {
  background: #edede6;
  border-block: 1px solid var(--line);
}
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.plan {
  padding: 30px;
  border: 1px solid #11111126;
  border-radius: 8px;
  background: #f8f7f2;
}
.plan-tag {
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--quiet);
}
.plan h3 {
  font-size: 31px;
  margin-top: 17px;
}
.price {
  font: 42px var(--serif);
  letter-spacing: -0.025em;
  color: #111;
  margin-top: 20px;
}
.price span {
  font: 12px var(--sans);
  color: var(--quiet);
  letter-spacing: 0;
  margin-left: 9px;
}
.plan-note {
  font-size: 13px;
  margin: 12px 0 24px;
}
.plan .button {
  width: 100%;
  font-size: 13px;
  padding-inline: 12px;
}
.plan ul {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  font-size: 13px;
  color: var(--muted);
}
.plan li {
  padding: 7px 0;
}
.plan li:before {
  content: "✓";
  margin-right: 10px;
  color: #657b57;
}
.featured {
  border-color: #111;
  background: #fffefa;
}
.featured .plan-tag {
  color: #111;
}
.topup {
  display: flex;
  gap: 22px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 25px 0;
  margin-top: 15px;
}
.topup > span {
  font-size: 9px;
  color: var(--quiet);
}
.topup p {
  font-size: 12px;
}
.topup strong {
  font-weight: 500;
  color: #111;
}
.topup > a {
  font-size: 12px;
  white-space: nowrap;
  margin-left: auto;
}
.pricing-note {
  font-size: 11px;
  margin-top: 20px;
  max-width: 840px;
  color: var(--quiet);
}
.signup-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: center;
}
.signup-layout .eyebrow {
  font-size: 10px;
  margin-bottom: 25px;
}
.signup {
  background: #fbfaf6;
  border: 1px solid #11111126;
  border-radius: 8px;
  padding: 30px;
  min-width: 0;
}
.signup .row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 15px;
}
.signup .btn {
  background: #111;
  color: #f6f5f0;
  min-height: 44px;
  padding: 12px 16px;
  border: 1px solid #111;
  border-radius: 4px;
  font-size: 13px;
  cursor: pointer;
}
.signup .btn.ghost {
  background: none;
  color: #111;
  border-color: #11111160;
}
.signup .btn:hover {
  opacity: 0.75;
}
#btn-google,
#btn-wa {
  width: 100%;
}
.signup label {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin: 18px 0 7px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.signup input {
  width: 100%;
  min-width: 0;
  padding: 12px;
  background: #fffefa;
  border: 1px solid #11111140;
  color: #111;
  border-radius: 4px;
  font-size: 14px;
}
.via-nota {
  font-size: 13px;
  margin-bottom: 16px;
}
.via-sep {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  color: var(--quiet);
  margin: 26px 0 16px;
}
.via-sep:before,
.via-sep:after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--line);
}
.signup .tel-row {
  flex-wrap: nowrap;
  gap: 0;
  margin-top: 0;
}
.tel-pre {
  padding: 12px;
  border: 1px solid #11111140;
  border-right: 0;
  border-radius: 4px 0 0 4px;
  font-size: 14px;
  color: var(--muted);
}
.tel-row input {
  border-radius: 0 4px 4px 0;
}
#otp {
  letter-spacing: 0.5em;
  text-align: center;
}
.via-mail {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: 26px;
}
.via-mail summary {
  cursor: pointer;
  font-size: 12px;
  color: var(--muted);
}
.msg {
  display: none;
  padding: 12px;
  margin-top: 18px;
  font-size: 12px;
}
.msg.ok,
.msg.err {
  display: block;
  border: 1px solid var(--line);
}
.msg.err {
  color: #8b2e2e;
  border-color: #8b2e2e40;
}
.keybox {
  display: none;
  margin-top: 20px;
}
.key {
  padding: 12px;
  border: 1px solid #111;
  background: #eeeee7;
  font: 11px/1.8 var(--mono);
  word-break: break-all;
}
.tabs {
  display: flex;
  flex-wrap: wrap;
  margin-top: 22px;
}
.tabs button {
  padding: 10px;
  border: 1px solid var(--line);
  background: var(--bg);
  font-size: 11px;
}
.tabs button.on {
  background: #111;
  color: #f6f5f0;
}
.snip {
  font: 10px/1.7 var(--mono);
  background: #eeeee7;
  overflow: auto;
  padding: 14px;
}
#no-config {
  line-height: 1.8;
}
#no-config a {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.faq-section {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  border-top: 1px solid var(--line);
}
.faq-section h2 {
  margin-top: 24px;
  font-size: 43px;
}
.faq-list details {
  border-bottom: 1px solid var(--line);
}
.faq-list details:first-child {
  border-top: 1px solid var(--line);
}
.faq-list summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  padding: 23px 30px 23px 0;
  font-size: 15px;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary:after {
  content: "+";
  position: absolute;
  right: 5px;
  color: #777;
}
.faq-list details[open] summary:after {
  content: "−";
}
.faq-list details p {
  font-size: 14px;
  line-height: 1.8;
  padding: 0 24px 24px 0;
}
.faq-list a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
footer {
  background: #0f0f0e;
  color: #f1efe8;
  padding: 50px 0 30px;
}
.footer-top {
  display: flex;
  gap: 50px;
  align-items: center;
  padding-bottom: 38px;
}
.footer-top .brand {
  font-size: 42px;
}
.footer-top > p {
  margin-left: auto;
  color: #a9a8a2;
  font-size: 13px;
}
.back-top {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid #ffffff30;
  border-radius: 4px;
  color: #d6d3c8;
}
.footer-bottom {
  display: flex;
  gap: 25px;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #ffffff20;
  padding-top: 24px;
  font-size: 10px;
  color: #8a8983;
}
.footer-bottom > div {
  display: flex;
  gap: 24px;
}
.footer-bottom a:hover {
  color: #fff;
}
.colombia-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: #9ab58b;
  border-radius: 50%;
  margin-left: 8px;
}
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 20px);
  z-index: 50;
  max-width: calc(100% - 32px);
  padding: 14px 22px;
  background: #111;
  color: #f6f5f0;
  border-radius: 6px;
  font-size: 12px;
  box-shadow: 0 4px 30px #0003;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s,
    transform 0.2s;
}
.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
@keyframes scan {
  0%,
  100% {
    translate: 0 -20px;
    opacity: 0.25;
  }
  50% {
    translate: 0 65px;
    opacity: 0.8;
  }
}
@media (max-width: 1100px) {
  .nav-inner {
    gap: 25px;
  }
  .nav-links {
    gap: 20px;
  }
  .nav-links a {
    font-size: 14px;
  }
  .login-link,
  .nav-cta {
    font-size: 14px;
    padding-inline: 12px;
  }
  .nav-cta {
    margin-left: -15px;
  }
  .hero-intro {
    gap: 40px;
  }
  .hero-description {
    font-size: 17px;
  }
  .hero h1 {
    font-size: 58px;
  }
  .hero-actions {
    gap: 20px;
  }
  .hero-actions .button {
    font-size: 14px;
  }
  .hero-actions .text-link {
    font-size: 13px;
  }
  .showcase-body {
    gap: 20px;
    padding-inline: 35px;
  }
  .showcase-copy h2 {
    font-size: 36px;
  }
  .showcase-copy > p:not(.eyebrow) {
    font-size: 13px;
  }
  .section-intro > p {
    max-width: 280px;
  }
  .connect-layout,
  .corpus-layout,
  .signup-layout {
    gap: 45px;
  }
  .plan {
    padding: 24px;
  }
  .price {
    font-size: 36px;
  }
  .plan-note {
    min-height: 40px;
  }
  .topup {
    flex-wrap: wrap;
  }
  .topup > span {
    width: 100%;
  }
  .section-aside {
    display: none;
  }
  .source-names span {
    font-size: 19px;
  }
}
@media (max-width: 850px) {
  .nav-inner {
    gap: 20px;
  }
  .nav-links {
    gap: 15px;
  }
  .nav-links a {
    font-size: 13px;
  }
  .login-link {
    display: none;
  }
  .nav-cta {
    margin-left: auto;
  }
  .hero-intro {
    gap: 30px;
  }
  .hero h1 {
    font-size: 48px;
  }
  .hero-description {
    font-size: 16px;
  }
  .hero-actions {
    gap: 16px;
    flex-wrap: wrap;
  }
  .hero-copy .microcopy {
    font-size: 12px;
  }
  .client-strip {
    gap: 6px;
    margin-top: 20px;
  }
  .client-strip a {
    font-size: 11px;
    padding: 5px 10px;
    gap: 12px;
  }
  .showcase-body {
    grid-template-columns: 0.85fr 1.15fr;
    padding-inline: 28px;
    gap: 10px;
  }
  .showcase-copy h2 {
    font-size: 31px;
  }
  .showcase-copy > p:not(.eyebrow) {
    font-size: 12px;
    min-height: 110px;
  }
  .showcase-tags {
    gap: 6px;
    margin-bottom: 24px;
  }
  .showcase-tags span {
    font-size: 9px;
    padding: 3px 8px;
  }
  .showcase-copy .eyebrow {
    font-size: 9px;
    margin-bottom: 17px;
  }
  #scene-hint {
    display: none;
  }
  .art-coordinate,
  .art-format {
    font-size: 7px;
  }
  .scene-caption {
    font-size: 9px;
  }
  .source-names {
    gap: 15px;
  }
  .source-names span {
    font-size: 17px;
  }
  .section-intro {
    display: block;
  }
  .section-intro > p {
    max-width: 560px;
    margin-top: 20px;
  }
  .section {
    padding-block: 70px;
  }
  .architecture-card {
    padding: 25px;
  }
  .connect-layout,
  .signup-layout,
  .corpus-layout {
    gap: 30px;
  }
  .price {
    font-size: 30px;
  }
  .plan .button {
    font-size: 11px;
  }
  .plan-note {
    font-size: 11px;
  }
  .plan ul {
    font-size: 11px;
  }
  .flow-node {
    font-size: 10px;
  }
  .ali-node {
    font-size: 30px;
  }
  .endpoint-box {
    flex-wrap: wrap;
  }
  .endpoint-box button {
    width: 100%;
  }
  .flow-wire {
    margin-inline: 8px;
  }
  .client-tabs button {
    font-size: 11px;
    padding-inline: 6px;
  }
  .faq-section {
    gap: 35px;
  }
}
@media (max-width: 759px) {
  html {
    scroll-padding-top: 85px;
  }
  .nav-inner {
    height: 64px;
    gap: 10px;
  }
  .brand {
    font-size: 30px;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #f6f5f0;
    border-bottom: 1px solid var(--line);
    padding: 10px 20px 16px;
    flex-direction: column;
    gap: 0;
    align-items: stretch;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    padding: 12px 0;
    font-size: 16px;
    border-bottom: 1px solid #11111112;
  }
  .nav-cta {
    font-size: 13px;
    padding: 9px 12px;
    min-height: 40px;
  }
  .menu-toggle {
    display: block;
    min-height: 40px;
    padding: 8px 12px;
    background: none;
    border: 1px solid #111;
    border-radius: 4px;
    font-size: 13px;
  }
  .hero {
    padding-top: 32px;
  }
  .hero-intro {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .hero-eyebrow {
    font-size: 12px;
    margin-bottom: 17px;
  }
  .hero h1 {
    font-size: clamp(39px, 7.3vw, 55px);
    line-height: 1.03;
  }
  .hero-description {
    font-size: 16px;
    max-width: 550px;
  }
  .hero-actions {
    margin-top: 23px;
    gap: 22px;
  }
  .hero-actions .button {
    font-size: 14px;
  }
  .hero-actions .text-link {
    font-size: 13px;
  }
  .client-strip {
    margin-top: 22px;
    gap: 8px;
  }
  .client-strip a {
    font-size: 12px;
    padding: 6px 11px;
    gap: 18px;
  }
  .showcase {
    margin-top: 30px;
    border-radius: 10px;
  }
  .showcase-toolbar {
    padding: 12px 18px;
  }
  .showcase-brand {
    font-size: 23px;
  }
  .showcase-brand > span {
    font-size: 10px;
    padding-left: 10px;
    margin-left: 10px;
  }
  .view-controls button {
    font-size: 10px;
    min-width: 36px;
    min-height: 40px;
    padding-inline: 7px;
  }
  .view-controls .motion-toggle {
    margin-left: 3px;
  }
  .showcase-body {
    grid-template-columns: 1fr;
    padding: 24px 23px 0;
    gap: 4px;
  }
  .showcase-copy {
    padding: 0;
    max-width: none;
  }
  .showcase-copy h2 {
    font-size: 32px;
    max-width: 410px;
    line-height: 1.12;
  }
  .showcase-copy > p:not(.eyebrow) {
    font-size: 13px;
    min-height: 0;
    max-width: 450px;
    margin-top: 16px;
  }
  .showcase-copy .eyebrow {
    margin-bottom: 15px;
    font-size: 9px;
  }
  .showcase-tags {
    margin: 18px 0 0;
    gap: 7px;
  }
  .showcase-tags span {
    font-size: 10px;
    padding: 4px 10px;
  }
  .showcase-copy > .text-link {
    display: none;
  }
  .art-viewport {
    aspect-ratio: 1.2;
    max-height: 420px;
  }
  .scene-caption {
    padding-bottom: 18px;
    font-size: 10px;
  }
  .art-coordinate,
  .art-format {
    font-size: 7px;
  }
  .showcase-note {
    font-size: 11px;
    margin-top: 14px;
  }
  .corpus-band {
    margin-top: 37px;
    padding-block: 30px;
  }
  .corpus-band .eyebrow {
    font-size: 9px;
  }
  .band-value {
    font-size: 38px;
    line-height: 1.1;
    margin-top: 18px;
  }
  .corpus-band > p:not(.eyebrow):not(.band-value) {
    font-size: 12px;
    max-width: 330px;
    margin-inline: auto;
  }
  .source-names {
    justify-content: center;
    flex-wrap: wrap;
    gap: 22px 26px;
    margin-top: 30px;
  }
  .source-names span {
    font-size: 17px;
    min-width: 80px;
  }
  .section {
    padding-block: 55px;
  }
  .section-heading {
    margin-bottom: 21px;
  }
  .section-heading .eyebrow {
    font-size: 9px;
  }
  h2 {
    font-size: 35px;
    line-height: 1.12;
  }
  .section-intro {
    margin-bottom: 28px;
  }
  .section-intro > p {
    font-size: 14px;
    line-height: 1.7;
    margin-top: 17px;
  }
  .architecture-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .architecture-card {
    padding: 23px;
  }
  .architecture-card h3 {
    font-size: 29px;
  }
  .architecture-card p {
    font-size: 13px;
  }
  .card-foot {
    font-size: 9px;
  }
  .architecture-result {
    gap: 18px;
    align-items: flex-start;
  }
  .architecture-result p {
    font-size: 12px;
  }
  .architecture-result > span {
    line-height: 1;
  }
  .architecture-result > a {
    display: none;
  }
  .corpus-layout,
  .connect-layout,
  .signup-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .corpus-description {
    font-size: 14px;
    margin-block: 19px;
  }
  .coverage-note {
    font-size: 11px;
    max-width: 350px;
    margin-top: 24px;
  }
  .source-list article {
    padding-block: 22px;
    gap: 20px;
  }
  .source-list h3 {
    font-size: 27px;
  }
  .source-list p {
    font-size: 12px;
  }
  .source-list small {
    font-size: 8px;
  }
  .source-symbol {
    font-size: 30px;
  }
  .relations {
    gap: 15px;
    font-size: 8px;
    margin-top: 10px;
  }
  .relations > span:first-child {
    width: 100%;
  }
  .section-description {
    font-size: 14px;
    margin-top: 20px;
  }
  .steps h3 {
    font-size: 14px;
  }
  .steps p {
    font-size: 13px;
  }
  .steps li {
    gap: 17px;
  }
  .connection-panel {
    padding-inline: 21px;
  }
  .client-tabs {
    margin-inline: -21px;
  }
  .client-tabs button {
    font-size: 12px;
    min-height: 44px;
  }
  .connection-flow {
    padding-block: 32px 25px;
  }
  .flow-node {
    font-size: 12px;
  }
  .ali-node {
    font-size: 32px;
  }
  #client-title {
    font-size: 27px;
  }
  #client-description {
    font-size: 13px;
    min-height: 0;
  }
  #client-guide {
    font-size: 12px;
    margin-bottom: 24px;
  }
  .endpoint-box {
    flex-wrap: nowrap;
  }
  .endpoint-box input {
    font-size: 11px;
  }
  .endpoint-box button {
    width: auto;
    font-size: 11px;
    min-height: 38px;
  }
  .panel-bottom {
    font-size: 9px;
  }
  .plans {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .plan {
    padding: 25px;
  }
  .plan-tag {
    font-size: 9px;
  }
  .plan h3 {
    font-size: 31px;
    margin-top: 13px;
  }
  .price {
    font-size: 40px;
    margin-top: 14px;
  }
  .plan-note {
    min-height: 0;
    font-size: 13px;
    margin-bottom: 21px;
  }
  .plan .button {
    font-size: 14px;
  }
  .plan ul {
    font-size: 13px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 14px;
  }
  .plan li {
    font-size: 11px;
  }
  .topup {
    gap: 13px;
    padding-top: 20px;
  }
  .topup > span {
    font-size: 9px;
  }
  .topup p {
    font-size: 12px;
  }
  .topup > a {
    margin-left: 0;
    font-size: 12px;
  }
  .pricing-note {
    font-size: 10px;
  }
  .signup-layout .eyebrow {
    font-size: 9px;
  }
  .signup {
    padding: 24px;
  }
  .faq-section {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .faq-section h2 {
    font-size: 35px;
    margin-top: 18px;
  }
  .faq-list summary {
    font-size: 14px;
    padding-block: 20px;
  }
  .faq-list details p {
    font-size: 13px;
  }
  .footer-top {
    gap: 20px;
    flex-wrap: wrap;
    padding-bottom: 29px;
  }
  .footer-top .brand {
    font-size: 35px;
  }
  .footer-top > p {
    font-size: 11px;
    max-width: 230px;
  }
  .back-top {
    display: none;
  }
  .footer-bottom {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 20px;
    font-size: 8px;
  }
  .footer-bottom > div {
    width: 100%;
    order: 2;
    gap: 24px;
  }
  .footer-bottom > span:last-child {
    margin-left: auto;
  }
  footer {
    padding-top: 32px;
  }
}
@media (max-width: 370px) {
  .hero h1 {
    font-size: 37px;
  }
  .hero-actions {
    gap: 16px;
  }
  .hero-actions .text-link {
    font-size: 12px;
  }
  .client-strip {
    gap: 6px;
  }
  .client-strip a {
    font-size: 11px;
    padding-inline: 9px;
    gap: 10px;
  }
  .showcase-body {
    padding-inline: 18px;
  }
  .showcase-toolbar {
    padding-inline: 14px;
  }
  .showcase-brand > span {
    display: none;
  }
  .showcase-copy h2 {
    font-size: 29px;
  }
  .art-viewport {
    aspect-ratio: 1.1;
  }
  .plan ul {
    grid-template-columns: 1fr;
  }
  .endpoint-box input {
    font-size: 10px;
  }
  .endpoint-box button {
    padding-inline: 8px;
  }
  .source-list small {
    font-size: 7px;
  }
  .footer-top > p {
    max-width: 200px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}

/* Product identities, retained at their original proportions. */
.client-logo {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  object-fit: contain;
}
.client-strip a {
  gap: 12px;
  padding: 12px 20px;
}
.client-tabs {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.client-tabs button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
#flow-client {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.showcase-copy {
  min-height: 500px;
}
.scene-caption {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
@media (max-width: 760px) {
  .showcase-copy {
    min-height: 320px;
  }
}
@media (prefers-reduced-motion: reduce) {
  #scene-hint {
    visibility: hidden;
  }
}

@media (max-width: 360px) {
  .showcase-copy {
    min-height: 360px;
  }
}
/* Source identities match the current ALI production landing. */
.source-names {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}
.source-names .official-source {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  min-width: 0;
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.5;
}
.official-source img {
  width: 100%;
  max-width: 150px;
  height: 56px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.72;
}
.source-coverage {
  font-size: 11px;
  color: var(--quiet);
  margin-top: 30px;
}
.client-tabs {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.firm-quote {
  margin-top: 24px;
  padding: 30px;
  border: 1px solid var(--line);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  align-items: center;
  border-radius: 10px;
}
.firm-quote h3 {
  font-size: 30px;
  margin: 10px 0;
}
.firm-quote p {
  font-size: 14px;
  color: var(--quiet);
}
.price span {
  display: block;
  font-size: 12px;
  margin: 8px 0 0;
}
.login-invitation {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 40px;
  background: #ffffff60;
}
.login-invitation h3 {
  font-size: 30px;
  margin-top: 20px;
}
.login-invitation p {
  font-size: 14px;
  line-height: 1.7;
  margin: 20px 0;
}
.login-invitation .text-link {
  display: block;
  margin-top: 20px;
}
.login-invitation .brand {
  font-size: 48px;
}
.auth-message.error {
  color: #a5392c;
}
/* Document retrieval: layered physical sheets, a scan and a distinct extracted passage. */
.document-diagram {
  height: 290px;
  perspective: 950px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.evidence-document,
.doc-depth {
  position: absolute;
  width: 76%;
  max-width: 330px;
  height: 228px;
  left: 12%;
  top: 24px;
  border: 1px solid #cfd4c8;
  border-radius: 8px;
  background: #fffefa;
  transform: rotateX(9deg) rotateY(-9deg) rotateZ(-3deg);
  transform-style: preserve-3d;
}
.evidence-document {
  padding: 22px;
  box-shadow: 14px 20px 34px #48523f12;
  animation: evidence-drift 9s ease-in-out infinite;
  overflow: hidden;
}
.doc-depth-one {
  transform: translate(10px, -7px) rotateX(9deg) rotateY(-9deg) rotateZ(-1deg);
  opacity: 0.7;
}
.doc-depth-two {
  transform: translate(20px, -14px) rotateX(9deg) rotateY(-9deg) rotateZ(1deg);
  opacity: 0.45;
}
.evidence-heading {
  display: flex;
  gap: 9px;
  align-items: center;
}
.evidence-seal {
  font: 28px var(--serif);
  color: #728269;
}
.evidence-heading b {
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.1em;
}
.evidence-heading small {
  display: block;
  font-size: 8px;
  color: #8a8d83;
  margin-top: 4px;
}
.evidence-page {
  font-size: 7px;
  color: #8a8d83;
  margin-left: auto;
}
.evidence-text {
  margin-top: 21px;
}
.evidence-text i {
  display: block;
  height: 4px;
  background: #d6d9d0;
  width: 100%;
  margin: 9px 0;
  border-radius: 2px;
}
.evidence-text i.short {
  width: 65%;
}
.evidence-text i.evidence-selected {
  background: #a7b99a;
  box-shadow: 0 0 0 4px #bacba625;
  animation: passage-highlight 7s ease-in-out infinite;
}
.evidence-scan {
  position: absolute;
  left: 18px;
  right: 18px;
  top: 73px;
  height: 1px;
  background: #8a9e78;
  box-shadow: 0 0 15px #8a9e7890;
  animation: evidence-scan 7s ease-in-out infinite;
}
.evidence-result {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 14px;
  margin-top: 18px;
  border-top: 1px solid #dadfd1;
  color: #56634a;
}
.evidence-result b {
  font-size: 10px;
  font-weight: 500;
}
.evidence-result small {
  display: block;
  font-size: 8px;
  margin-top: 3px;
  color: #8a8d83;
}
.evidence-result > span:last-child {
  margin-left: auto;
}
.evidence-check {
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: #e6ebde;
  display: grid;
  place-items: center;
  font-size: 12px;
}
.evidence-tag {
  position: absolute;
  bottom: 6px;
  left: 0;
  width: 100%;
  text-align: center;
  font-size: 8px;
  letter-spacing: 0.1em;
  color: #8a8d83;
}
@keyframes evidence-drift {
  0%,
  100% {
    transform: rotateX(9deg) rotateY(-9deg) rotateZ(-3deg) translateY(0);
  }
  50% {
    transform: rotateX(6deg) rotateY(-5deg) rotateZ(-2deg) translateY(-5px);
  }
}
@keyframes evidence-scan {
  0%,
  15% {
    transform: translateY(0);
    opacity: 0;
  }
  25% {
    opacity: 0.8;
  }
  65% {
    transform: translateY(77px);
    opacity: 0.8;
  }
  80%,
  100% {
    transform: translateY(77px);
    opacity: 0;
  }
}
@keyframes passage-highlight {
  0%,
  20%,
  100% {
    opacity: 0.45;
  }
  50%,
  85% {
    opacity: 1;
  }
}
/* Legal relations live inside one SVG coordinate system to avoid label collisions. */
.graph-diagram {
  height: 290px;
  display: grid;
  place-items: center;
}
.graph-diagram .legal-relations {
  width: 100%;
  height: auto;
  max-height: 280px;
  overflow: visible;
  stroke: none;
  fill: none;
}
.legal-relations .graph-orbit {
  stroke: #dce2d3;
  stroke-dasharray: 3 6;
  stroke-width: 1.2;
}
.legal-relations .relation-edge {
  fill: none;
  stroke: #c4cebb;
  stroke-width: 1.8;
  marker-end: url(#relation-arrow);
}
.legal-relations .relation-signal {
  fill: none;
  stroke: #7d926b;
  stroke-width: 2.4;
  stroke-dasharray: 12 320;
  animation: relation-flow 7s linear infinite;
}
.legal-relations .signal-b {
  animation-delay: -2s;
}
.legal-relations .signal-c {
  animation-delay: -4s;
}
.legal-relations .legal-node rect {
  fill: #fffefa;
  stroke: #cdd7c2;
  stroke-width: 1;
  filter: url(#node-shadow);
}
.legal-relations .node-root rect {
  fill: #eef1e7;
}
.legal-relations .legal-node text {
  font: 12px var(--sans);
  fill: #4f6046;
  text-anchor: middle;
  stroke: none;
  letter-spacing: 0.02em;
}
.legal-relations .legal-node circle {
  fill: #899d77;
}
.legal-relations .relation-label rect {
  fill: #fbfaf6;
  stroke: #e0e5d9;
  stroke-width: 0.7;
}
.legal-relations .relation-label text {
  font: 9px var(--sans);
  fill: #849477;
  text-anchor: middle;
  stroke: none;
  letter-spacing: 0.05em;
}
.legal-relations .graph-satellite {
  fill: #bcc8af;
  animation: node-breathe 5s ease-in-out infinite;
}
@keyframes relation-flow {
  from {
    stroke-dashoffset: 330;
  }
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes node-breathe {
  0%,
  100% {
    opacity: 0.4;
  }
  50% {
    opacity: 1;
  }
}
@media (max-width: 900px) {
  .source-names {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
  }
  .source-names .official-source {
    font-size: 11px;
  }
  .official-source img {
    height: 48px;
  }
}
@media (max-width: 680px) {
  .firm-quote {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
  }
  .firm-quote .button {
    width: 100%;
  }
  .client-tabs button {
    font-size: 11px;
    gap: 7px;
    padding-inline: 8px;
  }
  .client-tabs .client-logo {
    width: 19px;
    height: 19px;
    flex-basis: 19px;
  }
  .login-invitation {
    padding: 28px;
  }
  .document-diagram,
  .graph-diagram {
    height: 265px;
  }
  .evidence-document,
  .doc-depth {
    width: 80%;
    left: 10%;
    height: 215px;
    padding: 17px;
  }
  .evidence-heading b {
    font-size: 7px;
  }
}
@media (max-width: 360px) {
  .source-names {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .evidence-document {
    padding: 14px;
  }
  .evidence-result {
    margin-top: 12px;
  }
  .evidence-page {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .evidence-document,
  .evidence-scan,
  .evidence-selected,
  .legal-relations .relation-signal,
  .legal-relations .graph-satellite {
    animation: none !important;
  }
  .evidence-scan {
    display: none;
  }
}
