/*
 * Fenorium cinematic keyframes
 *
 * This file intentionally owns only the TARGET A / TARGET B presentation.
 * Product routes continue to use styles.css. Keeping the cinematic surfaces
 * isolated prevents the homepage comp from compromising the operational UI.
 */

.keyframe-badge {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  gap: 11px;
  margin: 0;
  padding: 0 13px;
  border: 1px solid rgba(53, 215, 232, .27);
  border-radius: 6px;
  background: rgba(5, 18, 34, .64);
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.keyframe-badge > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 11px rgba(53, 215, 232, .62);
}

/* TARGET A — living market universe */
.hero-keyframe {
  min-height: 100svh;
}

.hero-keyframe__shell {
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr) 179px 132px;
  gap: 9px;
  width: 100%;
  min-height: 100svh;
  padding: 76px 80px 0;
}

.hero-keyframe__stage {
  position: relative;
  min-height: 0;
}

.hero-keyframe__copy {
  position: absolute;
  z-index: 3;
  top: 78px;
  left: 0;
  width: 550px;
}

.hero-keyframe h1 {
  width: max-content;
  max-width: 570px;
  margin: 24px 0 24px;
  color: var(--text);
  font-family: var(--serif);
  font-size: clamp(67px, 4.3vw, 72px);
  font-weight: 400;
  letter-spacing: -.043em;
  line-height: .91;
  transform: scaleX(1.2);
  transform-origin: left center;
}

.hero-keyframe h1 em,
.framework-keyframe h2 em,
.home-comparison__heading h3 em {
  background: linear-gradient(92deg, var(--cyan) 3%, var(--blue) 56%, var(--violet));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  font-style: normal;
}

.hero-keyframe__lede {
  max-width: 515px;
  margin: 0 0 28px;
  color: #9ca8bc;
  font-size: 15px;
  line-height: 1.55;
}

.hero-keyframe__actions {
  gap: 18px;
}

.hero-keyframe__actions .button {
  min-width: 214px;
  min-height: 51px;
}

.sphere-callouts {
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
}

.sphere-callout {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #7887a3;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.sphere-callout::after {
  width: 30px;
  height: 1px;
  background: linear-gradient(90deg, currentColor, transparent);
  content: "";
  opacity: .75;
}

.sphere-callout i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
}

.sphere-callout--yield { top: 89px; left: 39.7%; color: var(--cyan); }
.sphere-callout--duration { top: 89px; left: 75.1%; color: #9d6fff; }
.sphere-callout--liquidity { bottom: 83px; left: 38.1%; color: #52cfff; }
.sphere-callout--risk { right: 14.8%; bottom: 83px; color: #a875ff; }

.hero-audience {
  position: absolute;
  z-index: 3;
  top: 188px;
  right: 0;
  width: 126px;
  color: #76849f;
}

.hero-audience > p {
  margin: 0 0 18px;
  color: #8995aa;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.hero-audience ul {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-audience li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
}

.hero-audience svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #687793;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.25;
}

.instrument-strip {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  width: calc(100% - 82px);
}

.metric-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  padding: 18px 21px 14px;
  border: 1px solid rgba(93, 155, 255, .14);
  border-radius: 12px;
  background:
    radial-gradient(circle at 15% 12%, rgba(53, 215, 232, .055), transparent 34%),
    linear-gradient(145deg, rgba(10, 21, 42, .88), rgba(5, 13, 29, .94));
  box-shadow: inset 0 1px rgba(255, 255, 255, .018);
}

.metric-card::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(115deg, rgba(53, 215, 232, .025), transparent 45%, rgba(140, 92, 255, .02));
  content: "";
  pointer-events: none;
}

.metric-card > * { position: relative; z-index: 1; }

.metric-card header {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 13px;
  align-items: center;
}

.metric-card__icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid rgba(53, 215, 232, .42);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(53, 215, 232, .14), rgba(7, 24, 44, .78));
  color: var(--cyan);
  box-shadow: inset 0 0 20px rgba(53, 215, 232, .06), 0 0 18px rgba(53, 215, 232, .045);
}

.metric-card--duration .metric-card__icon,
.metric-card--evidence .metric-card__icon {
  border-color: rgba(140, 92, 255, .46);
  background: radial-gradient(circle, rgba(140, 92, 255, .15), rgba(18, 18, 50, .78));
  color: #9e78ff;
}

.metric-card__icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.45;
}

.metric-card header p,
.metric-card header strong,
.metric-card header > small {
  display: block;
  margin: 0;
}

.metric-card header p {
  color: #d9e1ed;
  font-size: 12px;
  line-height: 1.25;
}

.metric-card header strong {
  margin-top: 3px;
  color: #f2f6fb;
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1;
}

.metric-card header strong em {
  margin-left: 2px;
  color: #8794aa;
  font-size: 10px;
  font-style: normal;
  letter-spacing: 0;
}

.metric-card header > small {
  align-self: start;
  padding-top: 3px;
  color: #65738d;
  font-family: var(--mono);
  font-size: 6px;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.micro-visual {
  height: 44px;
  margin: 7px 0 5px;
}

.micro-visual > div:last-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #5f6d85;
  font-family: var(--mono);
  font-size: 5.9px;
  letter-spacing: .055em;
  line-height: 1;
  text-transform: uppercase;
}

.micro-visual--curve svg { width: 100%; height: 31px; }
.micro-curve__area { fill: url(#instrument-curve-fill); }
.micro-curve__line { fill: none; stroke: var(--cyan); stroke-width: 1.1; vector-effect: non-scaling-stroke; }
.micro-visual--curve circle { fill: #eaffff; filter: drop-shadow(0 0 3px var(--cyan)); }
.micro-visual--liquidity-history .micro-curve__area { fill: url(#liquidity-history-fill); }
.micro-visual--liquidity-history .micro-curve__line { stroke: #44cbe0; }

.maturity-timeline {
  position: relative;
  display: flex;
  height: 30px;
  align-items: center;
  padding: 0 5px;
}

.maturity-timeline__track {
  position: relative;
  display: flex;
  width: 100%;
  height: 12px;
  align-items: center;
  justify-content: space-evenly;
}

.maturity-timeline__track::before {
  position: absolute;
  right: 0;
  left: 0;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, rgba(93, 155, 255, .22), #776dff 54%, #a071ff);
  box-shadow: 0 0 10px rgba(140, 92, 255, .18);
  content: "";
}

.maturity-timeline__track i {
  z-index: 1;
  width: 1px;
  height: 8px;
  background: rgba(163, 150, 255, .32);
}

.maturity-timeline__origin,
.maturity-timeline__marker {
  z-index: 2;
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border: 1px solid rgba(93, 155, 255, .48);
  border-radius: 50%;
  background: #0b1426;
}

.maturity-timeline__marker {
  position: relative;
  width: 11px;
  height: 11px;
  border-color: #a071ff;
  background: radial-gradient(circle, #f1eaff 0 16%, #8c5cff 22% 48%, #11152f 54%);
  box-shadow: 0 0 11px rgba(140, 92, 255, .72);
}

.maturity-timeline__marker b {
  position: absolute;
  right: -1px;
  bottom: 13px;
  color: #9f8cf2;
  font-family: var(--mono);
  font-size: 5.5px;
  font-weight: 500;
  letter-spacing: .05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.evidence-meter {
  display: grid;
  height: 30px;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 4px;
  align-items: center;
}

.evidence-meter span {
  height: 9px;
  border: 1px solid rgba(115, 155, 255, .19);
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(117, 145, 255, .95), rgba(140, 92, 255, .54));
  box-shadow: 0 0 8px rgba(112, 118, 255, .12);
}

.evidence-meter span:nth-child(-n+3) { background: linear-gradient(180deg, rgba(53, 215, 232, .94), rgba(53, 215, 232, .45)); }
.evidence-meter .is-unfilled { border-color: rgba(105, 123, 156, .13); background: rgba(105, 123, 156, .055); box-shadow: none; }

.metric-card footer {
  display: grid;
  align-items: start;
  gap: 3px;
  color: #8794a9;
  font-size: 10.5px;
  line-height: 1.25;
}
.metric-card footer small { color: #65728a; font-size: 10px; }

.coverage-ribbon {
  position: relative;
  z-index: 4;
  display: grid;
  width: calc(100% - 82px);
  place-content: start center;
  padding-top: 13px;
  border-top: 1px solid rgba(93, 155, 255, .045);
  text-align: center;
}

.coverage-ribbon p {
  margin: 0 0 18px;
  color: #68758d;
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.coverage-ribbon p small { margin-left: 8px; color: #4e5b72; font-size: inherit; }
.coverage-ribbon > div { display: flex; align-items: center; justify-content: center; gap: 45px; }
.coverage-ribbon span { display: flex; align-items: center; gap: 10px; color: #717e95; font-size: 12px; filter: grayscale(1) saturate(0); opacity: .62; transition: color 160ms ease, filter 160ms ease, opacity 160ms ease; }
.coverage-ribbon span:is(:hover, :focus-within) { color: #94a1b6; filter: grayscale(.82) saturate(.24); opacity: .88; }
.coverage-ribbon img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }

/* Mid-morph sources share the abstract language of TARGET B. */
.transition-sources--abstract {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.transition-sources--abstract > i {
  display: block;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(93, 155, 255, .2);
  border-radius: 9px;
  background: radial-gradient(circle at 45% 45%, rgba(53, 215, 232, .2), rgba(10, 19, 40, .96) 60%);
}
.transition-sources--abstract > i:nth-child(even) { background: radial-gradient(circle at 45% 45%, rgba(140, 92, 255, .2), rgba(10, 19, 40, .96) 60%); }

/* TARGET B — live normalization engine */
.fenorium-icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}
.framework-keyframe {
  position: relative;
  display: grid;
  grid-template-columns: 470px 763px;
  grid-template-rows: 285px 393px 76px;
  gap: 19px 25px;
  width: 1258px;
  max-width: calc(100% - 96px);
  min-height: 100svh;
  margin-right: 0;
  margin-left: 170px;
  padding: 90px 0 0;
}


.framework-keyframe__intro { align-self: start; }
.framework-keyframe__intro h2 {
  width: max-content;
  margin: 18px 0 17px;
  font-family: var(--serif);
  font-size: 60px;
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: .9;
  transform: scaleX(1.1);
  transform-origin: left center;
}
.framework-keyframe__intro > p:not(.keyframe-badge) {
  max-width: 455px;
  margin: 0 0 18px;
  color: #8f9bb0;
  font-size: 11.5px;
  line-height: 1.6;
}
.framework-keyframe__intro .framework-button { min-width: 166px; min-height: 42px; font-size: 10px; }

.normalization-flow {
  --flow-width: 763px;
  position: relative;
  min-width: 0;
  min-height: 285px;
}

.flow-guides {
  position: absolute;
  top: 0;
  right: 70px;
  bottom: 0;
  left: 0;
  width: auto;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.flow-guides path {
  fill: none;
  stroke: url(#route-gradient);
  stroke-dasharray: 1.5 7;
  stroke-linecap: round;
  stroke-width: .8;
  opacity: .16;
  transition: opacity 180ms ease, stroke-width 180ms ease, filter 180ms ease;
}
.flow-guides path.is-active { opacity: .8; stroke-width: 1.2; filter: drop-shadow(0 0 4px rgba(53, 215, 232, .42)); }

.source-glyphs,
.output-dimensions {
  position: absolute;
  top: 4px;
  bottom: 23px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.source-glyphs { left: 0; }
.output-dimensions { right: 70px; }

.source-glyph {
  --source-pulse: 0;
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  border: 1px solid rgb(93 155 255 / calc(.19 + var(--source-pulse) * .2));
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(13, 27, 51, .94), rgba(7, 15, 33, .98));
  box-shadow: inset 0 1px rgba(255, 255, 255, .025), 0 0 calc(var(--source-pulse) * 20px) rgb(53 215 232 / calc(var(--source-pulse) * .34));
  color: var(--cyan);
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease;
}
.source-glyph:nth-child(even) { color: #8e6dff; }
.source-glyph svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.45; }
.source-glyph:hover,
.source-glyph:focus-visible { border-color: rgba(53, 215, 232, .52); background: linear-gradient(145deg, rgba(16, 36, 61, .98), rgba(8, 18, 38, .98)); }

.normalization-core {
  --core-energy: 0;
  position: absolute;
  z-index: 5;
  top: 48%;
  left: 40%;
  display: grid;
  width: 92px;
  height: 92px;
  place-items: center;
  border: 1px solid rgb(53 215 232 / calc(.55 + var(--core-energy) * .28));
  border-radius: 50%;
  background: radial-gradient(circle at 42% 38%, rgba(21, 60, 85, .92), rgba(5, 15, 34, .98) 57%, #030817 78%);
  box-shadow: 0 0 32px rgba(53, 215, 232, .15), 0 0 calc(var(--core-energy) * 42px) rgb(53 215 232 / calc(var(--core-energy) * .36)), inset 0 0 25px rgba(53, 215, 232, .1);
  transform: translate(-50%, -50%);
}
.normalization-core::before,
.normalization-core::after,
.normalization-core > i,
.normalization-core > b { position: absolute; border-radius: 50%; content: ""; }
.normalization-core::before { inset: -12px; border: 1px solid rgba(53, 215, 232, .25); }
.normalization-core::after { inset: -20px; border: 1px solid rgba(140, 92, 255, .13); }
.normalization-core > i { inset: 5px; border: 1px solid rgba(93, 155, 255, .35); }
.normalization-core > b { inset: -30px; background: radial-gradient(circle, rgba(53, 215, 232, .17), transparent 68%); filter: blur(8px); opacity: calc(.18 + var(--core-energy) * .7); }
.normalization-core img { position: relative; z-index: 2; width: 48px; height: 48px; filter: drop-shadow(0 0 9px rgba(53, 215, 232, .42)); }

.analysis-planes {
  position: absolute;
  z-index: 4;
  top: 45%;
  left: 56%;
  width: 182px;
  height: 270px;
  transform: translate(-50%, -50%);
  transform-style: preserve-3d;
}
.analysis-planes i {
  position: absolute;
  inset: 3px 31px;
  overflow: hidden;
  border: 1px solid rgba(53, 215, 232, .32);
  border-radius: 6px;
  background-image:
    linear-gradient(90deg, rgba(53, 215, 232, .035), rgba(140, 92, 255, .065)),
    linear-gradient(rgba(93, 155, 255, .075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(93, 155, 255, .07) 1px, transparent 1px);
  background-size: auto, 100% 20px, 20px 100%;
  box-shadow: inset 0 0 30px rgba(53, 215, 232, .045), 0 0 9px rgba(53, 215, 232, .025);
  transform: perspective(440px) rotateY(-31deg) translateX(calc((var(--plane) - 2.5) * 18px));
}
.analysis-planes i:nth-child(1) { --plane: 0; }
.analysis-planes i:nth-child(2) { --plane: 1; }
.analysis-planes i:nth-child(3) { --plane: 2; }
.analysis-planes i:nth-child(4) { --plane: 3; border-color: rgba(93, 155, 255, .34); }
.analysis-planes i:nth-child(5) { --plane: 4; border-color: rgba(140, 92, 255, .34); }
.analysis-planes i:nth-child(6) { --plane: 5; border-color: rgba(140, 92, 255, .28); }
.analysis-planes i::after {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 48% var(--impact-y, 50%), rgba(224, 254, 255, .66), rgba(53, 215, 232, .25) 10%, rgba(93, 155, 255, .08) 30%, transparent 60%);
  content: "";
  opacity: var(--plane-impact, 0);
}

.output-dimensions span {
  --output-pulse: 0;
  display: flex;
  min-height: 46px;
  align-items: center;
  gap: 12px;
  color: #aab5c8;
}
.output-dimensions span > i {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgb(112 139 255 / calc(.3 + var(--output-pulse) * .28));
  border-radius: 50%;
  background: rgba(9, 17, 42, .88);
  color: #789fff;
  font-family: var(--mono);
  font-size: 16px;
  font-style: normal;
  box-shadow: inset 0 0 18px rgba(115, 110, 255, .08), 0 0 calc(var(--output-pulse) * 20px) rgb(53 215 232 / calc(var(--output-pulse) * .38));
}
.output-dimensions span:nth-child(odd) > i { color: var(--cyan); }
.output-dimensions svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.45; }
.output-dimensions b { min-width: 66px; font-size: 11px; font-weight: 400; }

.home-comparison {
  grid-column: 1 / -1;
  display: grid;
  grid-template-rows: 81px minmax(0, 1fr);
  min-width: 0;
}
.home-comparison__heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 190px;
  align-items: end;
  gap: 28px;
  padding-bottom: 10px;
}
.home-comparison__heading h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 29px;
  font-weight: 400;
  letter-spacing: -.025em;
  line-height: 1;
}
.home-comparison__heading p { margin: 7px 0 0; color: #8d99ad; font-size: 11px; }
.home-comparison__legend { align-self: center; color: #919db1; font-size: 9px; }
.home-comparison__legend span { display: flex; align-items: center; gap: 8px; }
.home-comparison__legend small { display: block; margin: 3px 0 0 29px; color: #65728a; font-size: 7px; }
.home-comparison__heading .snapshot-stamp { align-self: center; padding-left: 18px; border-left: 1px solid rgba(93, 155, 255, .1); text-align: right; }
.home-comparison__heading .snapshot-stamp span,
.home-comparison__heading .snapshot-stamp small { display: block; font-family: var(--mono); letter-spacing: .1em; }
.home-comparison__heading .snapshot-stamp span { color: #8592a8; font-size: 7px; }
.home-comparison__heading .snapshot-stamp small { margin-top: 5px; color: #a99b62; font-size: 5.5px; }

.home-comparison__table-shell {
  min-width: 0;
  overflow-x: auto;
  border: 1px solid rgba(93, 155, 255, .14);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(11, 22, 43, .92), rgba(6, 14, 31, .97));
  box-shadow: 0 18px 50px rgba(0, 0, 0, .15), inset 0 1px rgba(255, 255, 255, .015);
  scrollbar-width: thin;
}
.homepage-comparison-table { width: 100%; min-width: 1050px; border-collapse: collapse; table-layout: fixed; }
.homepage-comparison-table caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.homepage-comparison-table th {
  height: 49px;
  padding: 0 15px;
  border-right: 1px solid rgba(93, 155, 255, .07);
  border-bottom: 1px solid rgba(93, 155, 255, .13);
  color: #8f9bb0;
  font-family: var(--mono);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: .08em;
  text-align: left;
  text-transform: uppercase;
}
.homepage-comparison-table th:first-child { width: 25%; }
.homepage-comparison-table th:nth-child(2) { width: 13%; }
.homepage-comparison-table th:nth-child(3) { width: 12%; }
.homepage-comparison-table th:nth-child(4) { width: 15%; }
.homepage-comparison-table th:nth-child(5) { width: 13%; }
.homepage-comparison-table th:nth-child(6) { width: 9%; }
.homepage-comparison-table td {
  height: 53px;
  overflow: hidden;
  padding: 4px 15px;
  border-right: 1px solid rgba(93, 155, 255, .055);
  border-bottom: 1px solid rgba(93, 155, 255, .085);
  color: #c9d2e0;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  vertical-align: middle;
}
.homepage-comparison-table th:last-child,
.homepage-comparison-table td:last-child { border-right: 0; }
.homepage-comparison-table tbody tr:last-child td { border-bottom: 0; }
.homepage-comparison-table tbody tr { transition: background 160ms ease; }
.homepage-comparison-table tbody tr:hover { background: rgba(53, 215, 232, .035); }
.homepage-comparison-table td:first-child > a { display: flex; min-width: 0; align-items: center; gap: 11px; }
.homepage-comparison-table .asset-mark { width: 34px; height: 34px; padding: 4px; border-radius: 9px; }
.homepage-comparison-table .asset-mark__image { width: 26px; height: 26px; }
.homepage-comparison-table .asset-mark__badge { width: 13px; height: 13px; }
.homepage-comparison-table td:first-child > a > span:last-child { min-width: 0; }
.homepage-comparison-table td:first-child strong { display: block; overflow: hidden; color: #eef3fa; font-size: 12px; font-weight: 500; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.homepage-comparison-table .asset-context {
  display: flex;
  min-width: 0;
  margin-top: 3px;
  overflow: hidden;
  color: #718098;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.homepage-comparison-table .asset-context > span:first-child,
.homepage-comparison-table .chain-identity {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.homepage-comparison-table .asset-context > i { flex: 0 0 auto; }
.homepage-comparison-table .chain-identity img { width: 12px; height: 12px; }

.metric-heading,
.fenorium-score-heading > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.metric-header-icon {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.45;
}
.fenorium-score-heading { color: #9bcfff !important; }
.fenorium-score-heading img { width: 14px; height: 14px; opacity: .86; }
.metric-cell {
  display: grid;
  align-content: center;
  gap: 3px;
  min-width: 0;
}
.metric-cell strong {
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
}
.metric-cell small {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 4px;
  overflow: hidden;
  color: #6f7c92;
  font-size: 7px;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.metric-cell small svg {
  width: 11px;
  height: 11px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}
.metric-cell--duration strong,
.metric-cell--duration small svg,
.metric-cell--duration small b { color: #9b7dff; }
.metric-cell small b { font-family: var(--mono); font-size: inherit; font-weight: 500; }
.metric-cell--warning strong,
.metric-cell--warning small,
.metric-cell--warning small svg { color: var(--coral); }
.metric-cell--unavailable strong { color: #5d6a80; }
.metric-cell--unavailable small { color: #59667c; }
.structure-cell {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 7px;
  color: #aeb9ca;
  font-size: 9px;
  line-height: 1.15;
}
.structure-cell > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.structure-cell > i,
.quality-indicator > i {
  display: grid;
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(140, 92, 255, .22);
  border-radius: 50%;
  background: rgba(140, 92, 255, .055);
  color: #9877ff;
  font-style: normal;
}
.structure-cell svg,
.quality-indicator svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}
.quality-indicator {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 6px;
}
.quality-indicator > span { min-width: 0; overflow: hidden; }
.quality-indicator > span,
.quality-indicator strong,
.quality-indicator small { display: block; }
.quality-indicator strong {
  color: #d8e8f4;
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 500;
  line-height: .9;
}
.quality-indicator small {
  overflow: hidden;
  margin-top: 4px;
  color: #6d7c93;
  font-family: var(--mono);
  font-size: 7.4px;
  letter-spacing: .01em;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.quality-indicator--a > i { border-color: rgba(53, 215, 232, .28); background: rgba(53, 215, 232, .05); color: var(--cyan); }
.quality-indicator--flagged > i,
.quality-indicator--flagged strong { border-color: rgba(255, 107, 99, .3); color: var(--coral); }
.fenorium-score {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
  color: #6e7c93;
}
.fenorium-score img {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  padding: 4px;
  border: 1px solid rgba(93, 155, 255, .12);
  border-radius: 50%;
  background: rgba(93, 155, 255, .035);
  border-style: dashed;
  opacity: .5;
  filter: grayscale(.4);
}
.fenorium-score span,
.fenorium-score strong,
.fenorium-score small { display: block; }
.fenorium-score span { min-width: 0; overflow: hidden; }
.fenorium-score strong {
  color: #93a3bb;
  font-family: var(--mono);
  font-size: 19px;
  font-weight: 400;
  line-height: .78;
}
.fenorium-score small {
  margin-top: 5px;
  overflow: hidden;
  color: #6d7c93;
  font-family: var(--mono);
  font-size: 7.4px;
  letter-spacing: .06em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}
.fenorium-score--unavailable span::after {
  display: block;
  width: 44px;
  height: 1px;
  margin-top: 5px;
  border-top: 1px dashed rgba(147, 163, 187, .34);
  content: "";
}
.fenorium-score--unavailable:is(:hover, :focus-visible) span::after { border-top-color: rgba(147, 163, 187, .5); }

/* Preview values. No validated composite exists, so the disclosure lives on the
   table legend and caption; the cell itself carries the band, as TARGET B does,
   and the whole cell links to the methodology boundary. */
.fenorium-score--preview img {
  border-style: solid;
  border-color: rgba(53, 215, 232, .34);
  background: linear-gradient(145deg, rgba(53, 215, 232, .12), rgba(140, 92, 255, .1));
  opacity: .95;
  filter: none;
  box-shadow: 0 0 18px rgba(53, 215, 232, .09);
}
.fenorium-score--preview strong {
  color: #bdeeff;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -.01em;
}
.fenorium-score--preview[data-score-band="moderate"] strong { color: #b9a6ff; }
.fenorium-score--preview[data-score-band="low"] strong { color: #ff9d97; }
.fenorium-score--preview small {
  color: #8193ad;
  font-size: 7.2px;
  letter-spacing: .05em;
}
.fenorium-score--preview span::after {
  display: block;
  width: 46px;
  height: 2px;
  margin-top: 5px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), var(--blue), var(--violet));
  content: "";
  opacity: .78;
  transform: scaleX(var(--score, 0));
  transform-origin: left center;
}
.fenorium-score--preview > b { color: #7fa9c4; }
.fenorium-score--preview:is(:hover, :focus-visible) img { opacity: 1; }
.fenorium-score > b { margin-left: auto; color: #59667c; font-size: 14px; font-weight: 300; }
.fenorium-score:is(:hover, :focus-visible) img { opacity: .72; }
.fenorium-score:is(:hover, :focus-visible) small { color: #8996aa; }

.framework-principles {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(93, 155, 255, .13);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(10, 20, 40, .82), rgba(6, 14, 30, .9));
}
.framework-principles article { display: grid; grid-template-columns: 46px 1fr; gap: 15px; align-items: center; padding: 10px 28px; border-right: 1px solid rgba(93, 155, 255, .08); }
.framework-principles article:last-child { border-right: 0; }
.framework-principles article > span { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid rgba(140, 92, 255, .34); border-radius: 50%; background: rgba(140, 92, 255, .07); color: #9d76ff; font-size: 19px; box-shadow: inset 0 0 18px rgba(140, 92, 255, .06); }
.framework-principles strong,
.framework-principles small { display: block; }
.framework-principles strong { color: #e7edf7; font-size: 11.5px; font-weight: 500; }
.framework-principles small { margin-top: 3px; color: #76839a; font-size: 9.5px; line-height: 1.35; }

@media (max-width: 1460px) and (min-width: 921px) {
  .hero-keyframe__shell { padding-inline: 48px; }
  .hero-keyframe__copy { width: 500px; }
  .hero-keyframe h1 { font-size: clamp(62px, 5vw, 72px); }
  .hero-audience { display: none; }
  .instrument-strip,
  .coverage-ribbon { width: 100%; }
  .framework-keyframe { grid-template-columns: minmax(360px, .72fr) minmax(600px, 1.28fr); width: calc(100% - 96px); margin-left: 48px; }
}

@media (max-width: 1180px) and (min-width: 921px) {
  .hero-keyframe__shell { grid-template-rows: minmax(0, 1fr) 164px 82px; padding-top: 76px; }
  .hero-keyframe__copy { top: 66px; width: 470px; }
  .hero-keyframe h1 { font-size: 62px; }
  .metric-card { padding: 14px 14px 11px; }
  .metric-card header { grid-template-columns: 42px minmax(0, 1fr); gap: 9px; }
  .metric-card header > small { display: none; }
  .metric-card__icon { width: 42px; height: 42px; }
  .metric-card__icon svg { width: 23px; height: 23px; }
  .metric-card header strong { font-size: 21px; }
  .metric-card footer small { display: none; }
  .framework-keyframe { grid-template-columns: 335px minmax(550px, 1fr); grid-template-rows: 260px 410px 68px; gap: 12px 24px; padding-top: 84px; }
  .framework-keyframe__intro h2 { font-size: 45px; }
  .normalization-flow { min-height: 260px; }
  .home-comparison__heading { grid-template-columns: 1fr 170px; }
  .home-comparison__legend { display: none; }
}

@media (max-width: 920px) {
  .hero-keyframe__shell { display: block; min-height: auto; padding: 112px var(--gutter) 50px; }
  .hero-keyframe__stage { min-height: 720px; }
  .hero-keyframe__copy { position: relative; top: auto; left: auto; width: min(100%, 700px); }
  .hero-keyframe h1 { width: auto; max-width: 680px; font-size: clamp(58px, 9.5vw, 78px); }
  .hero-keyframe__lede { max-width: 570px; }
  .sphere-callout,
  .hero-audience { display: none; }
  .instrument-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; margin-top: 15px; }
  .coverage-ribbon { width: 100%; min-height: 105px; margin-top: 20px; }
  .coverage-ribbon > div { flex-wrap: wrap; gap: 18px 28px; }

  .framework-keyframe { display: block; width: auto; max-width: none; min-height: auto; margin-inline: 0; padding: 84px var(--gutter) 60px; }
  .framework-keyframe__intro { max-width: 700px; margin-bottom: 30px; }
  .framework-keyframe__intro h2 { width: auto; font-size: clamp(46px, 8vw, 64px); }
  .normalization-flow { min-height: 310px; margin-bottom: 28px; }
  .home-comparison { display: block; }
  .home-comparison__heading { grid-template-columns: 1fr auto; min-height: 80px; }
  .home-comparison__legend { display: none; }
  .home-comparison__table-shell { min-height: 320px; }
  .framework-principles { margin-top: 18px; }
}

@media (max-width: 680px) {
  .hero-keyframe__shell { padding-top: 104px; }
  .hero-keyframe__stage { min-height: 820px; }
  .hero-keyframe h1 { font-size: clamp(48px, 14.3vw, 64px); line-height: .96; }
  .hero-keyframe__actions { display: grid; grid-template-columns: 1fr; }
  .instrument-strip { grid-template-columns: 1fr; gap: 10px; }
  .metric-card { min-height: 164px; }
  .coverage-ribbon { place-content: start; padding-top: 22px; text-align: left; }
  .coverage-ribbon p small { display: block; margin: 4px 0 0; }
  .coverage-ribbon > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); justify-items: start; }

  .framework-keyframe { padding-top: 78px; }
  .framework-keyframe__intro h2 { font-size: clamp(42px, 12vw, 54px); }
  .normalization-flow { min-height: 255px; margin-inline: -5px; }
  .source-glyph { width: 35px; height: 35px; border-radius: 8px; }
  .source-glyph svg { width: 21px; height: 21px; }
  .normalization-core { left: 43%; width: 62px; height: 62px; }
  .normalization-core img { width: 34px; height: 34px; }
  .analysis-planes { left: 59%; width: 92px; height: 210px; }
  .analysis-planes i { inset-inline: 18px; transform: perspective(350px) rotateY(-31deg) translateX(calc((var(--plane) - 2.5) * 10px)); }
  .output-dimensions span { gap: 6px; }
  .output-dimensions span > i { width: 31px; height: 31px; font-size: 12px; }
  .output-dimensions b { min-width: 48px; font-size: 8px; }
  .home-comparison__heading { display: block; padding-bottom: 15px; }
  .home-comparison__heading .snapshot-stamp { margin-top: 12px; padding: 9px 0 0; border-top: 1px solid rgba(93, 155, 255, .1); border-left: 0; text-align: left; }
  .home-comparison__table-shell { min-height: auto; overflow: visible; border: 0; background: transparent; box-shadow: none; }
  .homepage-comparison-table { display: block; min-width: 0; padding: 0; }
  .homepage-comparison-table thead { display: none; }
  .homepage-comparison-table tbody { display: grid; gap: 9px; }
  .homepage-comparison-table tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 13px; border: 1px solid rgba(93, 155, 255, .12); border-radius: 12px; background: rgba(7, 16, 34, .74); }
  .homepage-comparison-table td { display: block; height: auto; min-width: 0; padding: 6px; border: 0; }
  .homepage-comparison-table td:first-child { grid-column: 1 / -1; padding-bottom: 11px; border-bottom: 1px solid rgba(93, 155, 255, .08); }
  .homepage-comparison-table td:nth-child(5),
  .homepage-comparison-table td:nth-child(6) { display: none; }
  .homepage-comparison-table td:nth-child(2)::before,
  .homepage-comparison-table td:nth-child(3)::before,
  .homepage-comparison-table td:nth-child(4)::before,
  .homepage-comparison-table td:nth-child(7)::before { display: block; margin-bottom: 5px; color: #5f6d86; font-family: var(--mono); font-size: 6px; letter-spacing: .08em; text-transform: uppercase; }
  .homepage-comparison-table td:nth-child(2)::before { content: "Observed APY"; }
  .homepage-comparison-table td:nth-child(3)::before { content: "Duration"; }
  .homepage-comparison-table td:nth-child(4)::before { content: "Liquidity"; }
  .homepage-comparison-table td:nth-child(7)::before { content: "Fenorium score"; }
  .homepage-comparison-table td:nth-child(7) { grid-column: 1 / -1; }
  .metric-cell { display: grid; }
  .framework-principles { grid-template-columns: 1fr; }
  .framework-principles article { border-right: 0; border-bottom: 1px solid rgba(93, 155, 255, .08); }
  .framework-principles article:last-child { border-bottom: 0; }
}

@media (max-height: 920px) and (min-width: 921px) {
  .hero-keyframe__shell { grid-template-rows: minmax(0, 1fr) 179px 91px; }
  .hero-keyframe__copy { top: 78px; }
  .hero-keyframe h1 { margin: 27px 0 24px; font-size: clamp(64px, 4.35vw, 72px); }
  .hero-keyframe__lede { margin-bottom: 28px; font-size: 15px; }
  .framework-keyframe { grid-template-rows: 285px 393px 76px; gap: 19px 25px; padding-top: 90px; }
  .framework-keyframe__intro h2 { font-size: 60px; }
  .normalization-flow { min-height: 285px; }
  .home-comparison { grid-template-rows: 81px minmax(0, 1fr); }
  .homepage-comparison-table th { height: 49px; }
  .homepage-comparison-table td { height: 53px; }
}

@media (max-height: 780px) and (min-width: 921px) {
  .hero-keyframe__shell { grid-template-rows: minmax(0, 1fr) 145px 62px; padding-top: 76px; }
  .hero-keyframe__copy { top: 35px; }
  .hero-keyframe h1 { font-size: 59px; }
  .hero-keyframe__lede { margin-bottom: 15px; }
  .metric-card { padding: 11px 13px 9px; }
  .metric-card header { grid-template-columns: 38px minmax(0, 1fr); }
  .metric-card__icon { width: 38px; height: 38px; }
  .metric-card footer small { display: none; }
  .coverage-ribbon p { margin-bottom: 6px; }
  .coverage-ribbon img { width: 20px; height: 20px; }
  .framework-keyframe { grid-template-rows: 196px 348px 58px; padding-top: 76px; }
  .framework-keyframe__intro h2 { margin-block: 10px; font-size: 40px; }
  .framework-keyframe__intro > p:not(.keyframe-badge) { margin-bottom: 8px; font-size: 10px; }
  .normalization-flow { min-height: 196px; }
  .source-glyph { width: 36px; height: 36px; }
  .normalization-core { width: 68px; height: 68px; }
  .analysis-planes { height: 180px; }
  .home-comparison { grid-template-rows: 58px minmax(0, 1fr); }
  .homepage-comparison-table th { height: 34px; }
  .homepage-comparison-table td { height: 43px; }
  .framework-principles small { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .source-glyph,
  .normalization-core,
  .analysis-planes i,
  .output-dimensions span { --source-pulse: 0 !important; --core-energy: 0 !important; --plane-impact: .05 !important; --output-pulse: 0 !important; }
}

@media print {
  .hero-keyframe__shell,
  .framework-keyframe { display: block; min-height: auto; padding: 32px 0; }
  .hero-keyframe__stage { min-height: auto; }
  .hero-keyframe__copy { position: static; width: auto; }
  .instrument-strip { width: 100%; margin-top: 24px; }
  .coverage-ribbon { width: 100%; min-height: 80px; margin-top: 20px; }
  .framework-keyframe__intro,
  .normalization-flow,
  .home-comparison,
  .framework-principles { margin-bottom: 24px; }
}
