/* Multipage Lunatrix frontend inspired by the Keto reference. */
:root {
  --page-bg: #062a28;
  --frame: rgba(255, 255, 255, 0.16);
  --frame-soft: rgba(255, 255, 255, 0.1);
  --text: #f7f3eb;
  --text-soft: rgba(247, 243, 235, 0.88);
  --text-muted: rgba(247, 243, 235, 0.72);
  --nav-surface: rgba(245, 242, 233, 0.92);
  --nav-text: #183229;
  --cta: #f4de63;
  --cta-text: #18211c;
  --glass: rgba(6, 25, 25, 0.2);
  --glass-strong: rgba(6, 22, 22, 0.36);
  --shadow: 0 28px 100px rgba(0, 0, 0, 0.28);
  --radius-shell: 34px;
  --radius-pill: 999px;
  --radius-card: 24px;
  --page-accent: rgba(244, 222, 99, 0.16);
  --page-accent-soft: rgba(255, 255, 255, 0.08);
}

body.page-home {
  --page-bg: #7f8c9d;
  --frame: rgba(255, 255, 255, 0.16);
  --frame-soft: rgba(255, 255, 255, 0.12);
  --text: #f3f5f8;
  --text-soft: rgba(236, 240, 245, 0.84);
  --text-muted: rgba(219, 226, 234, 0.66);
  --nav-surface: transparent;
  --nav-text: rgba(243, 246, 250, 0.9);
  --cta: rgba(241, 244, 247, 0.94);
  --cta-text: #171b20;
  --glass: rgba(70, 84, 104, 0.12);
  --glass-strong: rgba(88, 101, 120, 0.18);
  --shadow: 0 28px 72px rgba(54, 61, 75, 0.16);
  --page-accent: rgba(180, 194, 214, 0.22);
  --page-accent-soft: rgba(143, 166, 191, 0.12);
}

body.page-platform {
  --page-accent: rgba(105, 223, 228, 0.16);
  --page-accent-soft: rgba(167, 247, 255, 0.1);
}

body.page-solutions {
  --page-accent: rgba(166, 154, 255, 0.18);
  --page-accent-soft: rgba(221, 214, 255, 0.1);
}

body.page-impact {
  --page-accent: rgba(255, 171, 117, 0.16);
  --page-accent-soft: rgba(255, 223, 197, 0.1);
}

body.page-resources {
  --page-accent: rgba(176, 223, 109, 0.16);
  --page-accent-soft: rgba(225, 255, 197, 0.1);
}

body.page-company {
  --page-accent: rgba(255, 255, 255, 0.11);
  --page-accent-soft: rgba(255, 255, 255, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--page-bg);
}

a {
  color: inherit;
}

.page-stage {
  position: relative;
  min-height: 100vh;
  padding: clamp(10px, 1.4vw, 18px);
  overflow: hidden;
}

body.page-home .page-stage {
  padding: 0;
}

.hero-backdrop,
.hero-backdrop-layer,
.hero-backdrop-vignette,
.hero-backdrop-grain {
  position: absolute;
  inset: 0;
}

.hero-backdrop {
  overflow: hidden;
}

.hero-backdrop-layer {
  inset: -8%;
  background-image: url("/static/assets/keto-signal-bloom.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  will-change: transform;
}

.hero-backdrop-base {
  transform: scale(1.08);
  animation: drift-base 24s ease-in-out infinite alternate;
}

.hero-backdrop-echo {
  opacity: 0.26;
  transform: scale(1.16);
  filter: blur(22px) saturate(1.08);
  mix-blend-mode: screen;
  animation: drift-echo 31s ease-in-out infinite alternate;
}

.hero-backdrop-vignette {
  background: linear-gradient(180deg, rgba(4, 15, 17, 0.22) 0%, rgba(4, 15, 17, 0.12) 22%, rgba(4, 15, 17, 0.44) 100%), radial-gradient(circle at 18% 28%, rgba(255, 255, 255, 0.06), transparent 18%), radial-gradient(circle at 82% 16%, rgba(255, 255, 255, 0.08), transparent 14%), radial-gradient(circle at 50% 86%, rgba(0, 0, 0, 0.18), transparent 26%);
}

.hero-backdrop-grain {
  opacity: 0.12;
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 88px 88px;
}

.page-shell {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 2 * clamp(10px, 1.4vw, 18px));
  padding: clamp(24px, 3vw, 34px) clamp(24px, 3.8vw, 42px) clamp(22px, 3vw, 34px);
  border: 1px solid var(--frame);
  border-radius: var(--radius-shell);
  background: linear-gradient(180deg, rgba(3, 17, 18, 0.08), rgba(3, 17, 18, 0.22));
  box-shadow: var(--shadow);
  display: grid;
  grid-template-rows: auto 1fr auto;
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.page-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 84% 2%, var(--page-accent), transparent 28%), radial-gradient(circle at 10% 88%, rgba(255, 255, 255, 0.04), transparent 24%), linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 20%, rgba(255, 255, 255, 0.03));
}

.site-header,
.page-main,
.page-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
}

.brand {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 0.92;
  text-decoration: none;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.18);
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.8vw, 32px);
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: var(--nav-surface);
  border: 1px solid rgba(255, 255, 255, 0.66);
  color: var(--nav-text);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.16);
  flex-wrap: wrap;
}

.site-nav a {
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-size: clamp(0.95rem, 1.1vw, 1.08rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.site-nav a.is-active {
  background: rgba(24, 50, 41, 0.08);
}

.top-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 24px;
  border-radius: var(--radius-pill);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.top-cta {
  background: var(--cta);
  color: var(--cta-text);
  box-shadow: 0 18px 40px rgba(244, 222, 99, 0.18);
}

.button-primary {
  background: rgba(247, 243, 235, 0.92);
  color: #122119;
  box-shadow: 0 18px 40px rgba(247, 243, 235, 0.16);
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(8, 26, 24, 0.32);
  color: var(--text);
  backdrop-filter: blur(14px);
}

.top-cta:hover,
.top-cta:focus-visible,
.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.page-main {
  display: grid;
  gap: 26px;
  padding: clamp(28px, 6vh, 74px) 0 0;
}

.page-home .page-main > * {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  animation: reveal-up 720ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.page-home .page-main > :nth-child(2) {
  animation-delay: 80ms;
}

.page-home .page-main > :nth-child(3) {
  animation-delay: 140ms;
}

.page-home .page-main > :nth-child(4) {
  animation-delay: 200ms;
}

.page-home .page-main > :nth-child(5) {
  animation-delay: 260ms;
}

.page-home .page-main > :nth-child(6) {
  animation-delay: 320ms;
}

.page-home .page-main > :nth-child(7) {
  animation-delay: 380ms;
}

.page-home .page-main > :nth-child(8) {
  animation-delay: 440ms;
}

.hero-backdrop-home {
  background: linear-gradient(180deg, #78869a 0%, #8d99aa 40%, #b8bab8 100%);
  isolation: isolate;
}

.hero-backdrop-home::after {
  content: "";
  position: absolute;
  inset: auto -8% -8% -8%;
  height: 42%;
  background: radial-gradient(56% 100% at 8% 100%, rgba(74, 87, 106, 0.32), transparent 64%), radial-gradient(62% 115% at 50% 100%, rgba(100, 110, 122, 0.22), transparent 60%), radial-gradient(56% 100% at 92% 100%, rgba(82, 95, 114, 0.3), transparent 64%), linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(200, 198, 192, 0.24) 46%, rgba(170, 167, 160, 0.46) 100%);
  filter: blur(10px);
}

.hero-backdrop-image,
.hero-backdrop-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-backdrop-image {
  z-index: 1;
  background: radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.26), transparent 34%), linear-gradient(180deg, rgba(121, 135, 155, 0.14), rgba(188, 196, 206, 0.08)), url("/static/assets/keto-signal-bloom.svg");
  background-position: center 24%;
  background-repeat: no-repeat;
  background-size: cover;
  transform: scale(1.1);
  filter: saturate(0.22) brightness(1.06) contrast(0.94) blur(24px);
  opacity: 0.48;
}

.hero-backdrop-svg {
  z-index: 2;
  opacity: 0.12;
  background-image: url("/static/assets/keto-signal-bloom.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  mix-blend-mode: soft-light;
  transform: scale(1.22);
  filter: blur(48px) saturate(0.34) brightness(0.98);
}

.hero-backdrop-vignette-home {
  z-index: 3;
  background: linear-gradient(180deg, rgba(66, 76, 92, 0.12) 0%, rgba(130, 143, 160, 0.04) 24%, rgba(120, 130, 143, 0.08) 62%, rgba(118, 115, 108, 0.18) 100%), radial-gradient(circle at 50% 10%, rgba(255, 255, 255, 0.14), transparent 28%), radial-gradient(circle at 14% 28%, rgba(112, 129, 151, 0.18), transparent 26%), radial-gradient(circle at 86% 24%, rgba(149, 166, 182, 0.14), transparent 24%);
}

.hero-backdrop-grain-home {
  z-index: 4;
  opacity: 0.03;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 120px 120px;
  mix-blend-mode: overlay;
}

.home-shell {
  min-height: 100vh;
  padding: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.02));
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.home-shell::before {
  background: radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.05), transparent 24%), linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
}

.home-header {
  padding-top: clamp(20px, 2vw, 28px);
  padding-inline: clamp(24px, 4vw, 56px);
}

.home-brand {
  font-size: clamp(1.45rem, 2.1vw, 1.82rem);
  font-family: "Sora", "Manrope", sans-serif;
  font-weight: 700;
  letter-spacing: -0.06em;
  color: rgba(246, 248, 251, 0.94);
  text-shadow: none;
}

.home-nav {
  gap: clamp(20px, 2.5vw, 40px);
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: rgba(255, 255, 255, 0.92);
  box-shadow: none;
  backdrop-filter: none;
}

.home-nav a {
  padding: 0;
  font-family: "Sora", "Manrope", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.home-nav a:hover,
.home-nav a:focus-visible {
  background: transparent;
  color: rgba(255, 255, 255, 0.98);
}

.home-top-cta {
  min-height: 42px;
  padding: 0 22px;
  border-radius: var(--radius-pill);
  font-family: "Sora", "Manrope", sans-serif;
  font-weight: 600;
  background: rgba(242, 244, 247, 0.92);
  color: #14181d;
  box-shadow: 0 8px 24px rgba(72, 82, 98, 0.14);
}

.home-main {
  gap: 0;
  padding-top: clamp(8px, 2.4vh, 18px);
}

.home-hero {
  position: relative;
  display: grid;
  gap: 28px;
  min-height: calc(100vh - 108px);
  align-content: start;
  padding: clamp(46px, 6.8vh, 84px) clamp(18px, 3vw, 32px) 0;
  overflow: hidden;
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 14%, rgba(54, 66, 86, 0.18), transparent 34%), linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0));
  opacity: 1;
}

.home-hero::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 16%;
  width: min(920px, 76vw);
  height: 320px;
  transform: translateX(-50%);
  pointer-events: none;
  background: radial-gradient(circle at 50% 50%, rgba(68, 81, 101, 0.2), transparent 72%);
  filter: blur(52px);
}

.home-hero-inner {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  gap: 0;
  justify-items: center;
  padding-inline: 12px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.home-hero-title {
  margin: 0;
  max-width: 10.6ch;
  font-family: "Sora", "Manrope", sans-serif;
  font-size: clamp(3.55rem, 8.4vw, 6.6rem);
  font-weight: 500;
  line-height: 0.93;
  letter-spacing: -0.085em;
  text-align: center;
  text-wrap: balance;
  color: rgba(246, 248, 251, 0.9);
  text-shadow: none;
}

.home-hero-line {
  display: block;
  white-space: nowrap;
}

.home-hero-line-secondary {
  white-space: nowrap;
  margin-top: -0.04em;
}

.hero-query-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(100%, 760px);
  min-height: 76px;
  margin-top: 30px;
  padding: 12px 12px 12px 30px;
  border-radius: var(--radius-pill);
  background: rgba(205, 214, 225, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 18px 40px rgba(67, 79, 98, 0.12);
  backdrop-filter: blur(18px);
}

.hero-query-text {
  color: rgba(242, 246, 251, 0.74);
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  font-weight: 500;
  line-height: 1.4;
}

.hero-query-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 62px;
  min-height: 62px;
  padding: 0;
  border-radius: 50%;
  background: rgba(244, 246, 249, 0.94);
  color: #171b20;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 1.55rem;
  font-weight: 500;
  line-height: 1;
  box-shadow: 0 10px 24px rgba(76, 88, 107, 0.16);
}

.home-hero-copy {
  max-width: 27ch;
  margin: 24px auto 0;
  color: rgba(232, 238, 245, 0.72);
  font-size: clamp(1.02rem, 1.22vw, 1.18rem);
  line-height: 1.58;
  text-wrap: balance;
}

.home-hero-actions {
  gap: 16px;
  justify-content: center;
  margin-top: 22px;
}

.page-home .home-hero-actions .button-primary {
  min-width: 150px;
  min-height: 54px;
  background: rgba(242, 244, 247, 0.92);
  color: #171a1f;
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 24px rgba(72, 83, 98, 0.14);
}

.page-home .home-hero-actions .button-secondary {
  min-width: 178px;
  min-height: 54px;
  border-color: rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-pill);
  background: rgba(117, 133, 154, 0.14);
  color: rgba(244, 247, 251, 0.84);
  box-shadow: none;
}

.hero-browser-frame {
  width: min(1240px, 80vw);
  margin: 0 auto 0;
  padding: 12px 12px 14px;
  border-radius: 30px;
  border: 1px solid rgba(11, 13, 16, 0.14);
  background: linear-gradient(180deg, rgba(14, 15, 18, 0.96), rgba(7, 8, 10, 0.98));
  box-shadow: 0 28px 90px rgba(53, 63, 78, 0.24), 0 0 0 1px rgba(255, 255, 255, 0.04);
  backdrop-filter: none;
  transform: translateY(108px);
  position: relative;
  z-index: 1;
}

.home-surface-showcase {
  position: relative;
  z-index: 1;
  padding: clamp(112px, 10vw, 160px) clamp(18px, 3vw, 28px) 0;
}

.home-surface-board {
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(28px, 3.4vw, 42px);
  border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: linear-gradient(180deg, rgba(245, 242, 236, 0.95), rgba(234, 236, 238, 0.9)), linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0));
  box-shadow: 0 24px 72px rgba(74, 83, 97, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.68);
  color: #233229;
}

.home-surface-head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(18px, 3vw, 40px);
  align-items: end;
  margin-bottom: clamp(24px, 3vw, 32px);
}

.home-surface-head-copy {
  display: grid;
  gap: 10px;
}

.home-surface-kicker {
  display: inline-flex;
  font-family: "IBM Plex Mono", Consolas, monospace;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(35, 50, 41, 0.72);
}

.home-surface-title {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  max-width: 8.2ch;
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: -0.04em;
  color: #233229;
}

.home-surface-copy {
  margin: 0;
  max-width: 34ch;
  justify-self: end;
  color: rgba(35, 50, 41, 0.78);
  font-size: 1.04rem;
  line-height: 1.68;
}

.home-surface-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 18px;
  align-items: stretch;
}

.home-surface-feature {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid rgba(35, 50, 41, 0.08);
  background: linear-gradient(180deg, rgba(251, 249, 245, 0.92), rgba(240, 241, 241, 0.9)), linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0));
  box-shadow: 0 18px 44px rgba(101, 103, 101, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.68);
}

.home-surface-feature-media {
  position: relative;
  min-height: 360px;
  flex: 0 0 360px;
  background: linear-gradient(180deg, rgba(248, 246, 241, 0.74), rgba(188, 199, 213, 0.2) 28%, rgba(96, 108, 125, 0.08) 70%, rgba(91, 103, 73, 0.12) 100%), url("/static/assets/trading-chart-poster.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  filter: saturate(0.82) brightness(1.02) contrast(0.96);
}

.home-surface-feature-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0) 42%, rgba(252, 249, 244, 0.82) 100%), radial-gradient(circle at 18% 86%, rgba(160, 170, 82, 0.26), transparent 18%);
}

.home-surface-feature-badge {
  position: absolute;
  top: 22px;
  left: 22px;
  z-index: 1;
  display: grid;
  gap: 8px;
  min-width: 208px;
  padding: 14px 16px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(247, 243, 236, 0.2);
  backdrop-filter: blur(10px);
  color: rgba(247, 249, 252, 0.9);
}

.home-surface-feature-badge span {
  font-family: "IBM Plex Mono", Consolas, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-surface-feature-badge strong {
  font-family: "Sora", "Manrope", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.home-surface-feature-body,
.home-surface-stack {
  position: relative;
  z-index: 1;
}

.home-surface-feature-body {
  display: grid;
  gap: 16px;
  padding: 28px;
}

.home-surface-label {
  display: inline-flex;
  font-family: "Sora", "Manrope", sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(35, 50, 41, 0.58);
}

.home-surface-feature-body h3,
.home-surface-card-copy h3 {
  margin: 0;
  font-family: "Sora", "Manrope", sans-serif;
  font-size: clamp(1.7rem, 2vw, 2.1rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #233229;
}

.home-surface-feature-body p,
.home-surface-card-copy p {
  margin: 0;
  color: rgba(35, 50, 41, 0.8);
  font-size: 0.98rem;
  line-height: 1.58;
}

.home-surface-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, max-content));
  gap: 10px;
  justify-content: start;
}

.home-surface-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  background: rgba(35, 50, 41, 0.06);
  color: rgba(35, 50, 41, 0.72);
  font-family: "Sora", "Manrope", sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
}

.home-surface-stack {
  display: grid;
  gap: 18px;
}

.home-surface-card {
  display: grid;
  gap: 24px;
  align-content: start;
  min-height: 228px;
  padding: 24px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  background: linear-gradient(135deg, rgba(233, 230, 203, 0.92), rgba(242, 208, 197, 0.88)), linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0));
  box-shadow: 0 16px 34px rgba(120, 116, 108, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.64);
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.home-surface-card-neutral {
  background: linear-gradient(135deg, rgba(236, 232, 224, 0.94), rgba(231, 236, 237, 0.92)), linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0));
}

.home-surface-card:hover,
.home-surface-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(35, 50, 41, 0.16);
  box-shadow: 0 20px 40px rgba(116, 114, 107, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.home-surface-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.home-surface-card-copy {
  display: grid;
  gap: 14px;
}

.home-surface-card-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #233229;
  font-size: 1.45rem;
  line-height: 1;
  box-shadow: 0 10px 24px rgba(122, 121, 117, 0.12);
}

.browser-chrome {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 2px 8px 14px;
}

.browser-dots {
  display: flex;
  gap: 8px;
}

.browser-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.54);
}

.browser-dots span:nth-child(1) {
  background: #ff7b72;
}

.browser-dots span:nth-child(2) {
  background: #ffd06b;
}

.browser-dots span:nth-child(3) {
  background: #58d68d;
}

.browser-address {
  flex: 1;
  max-width: 620px;
  margin-inline: auto;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.07);
  color: rgba(237, 240, 245, 0.76);
  font-family: "IBM Plex Mono", Consolas, monospace;
  font-size: 0.86rem;
  text-align: center;
}

.browser-body {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  background: rgba(10, 12, 16, 0.94);
  min-height: clamp(360px, 37vw, 520px);
}

.browser-body::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, rgba(6, 8, 12, 0.08) 22%, rgba(6, 8, 12, 0.22) 100%), radial-gradient(circle at 50% 100%, rgba(196, 203, 216, 0.1), transparent 28%);
}

.live-signal-surface,
.live-signal-chart-panel,
.hero-live-chart,
.live-signal-bottomline,
.live-symbol-strip {
  position: relative;
  z-index: 1;
}

.live-signal-surface {
  display: grid;
  gap: 18px;
  padding: 22px 22px 20px;
  min-height: inherit;
}

.live-signal-topline,
.live-signal-bottomline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.live-signal-kicker {
  display: inline-flex;
  align-items: center;
  color: rgba(160, 184, 214, 0.78);
  font-family: "IBM Plex Mono", Consolas, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.live-signal-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.live-signal-heading strong,
.live-signal-meta-block strong {
  color: rgba(247, 250, 255, 0.96);
  font-size: clamp(1.2rem, 1.6vw, 1.55rem);
  letter-spacing: -0.04em;
}

.live-signal-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  font-family: "IBM Plex Mono", Consolas, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(238, 243, 250, 0.9);
  background: rgba(255, 255, 255, 0.08);
}

.live-signal-action.is-buy {
  color: #dffef0;
  background: rgba(95, 211, 156, 0.18);
}

.live-signal-action.is-take-profit {
  color: #ffe5d1;
  background: rgba(255, 165, 101, 0.18);
}

.live-signal-action.is-cut_loss,
.live-signal-action.is-cut-loss {
  color: #ffd9d4;
  background: rgba(242, 108, 108, 0.2);
}

.live-signal-action.is-wait,
.live-symbol-chip.is-wait {
  color: #d8e2f1;
  background: rgba(131, 150, 180, 0.18);
}

.live-signal-action.is-pending {
  color: rgba(232, 239, 247, 0.86);
  background: rgba(255, 255, 255, 0.08);
}

.live-signal-meta-block {
  text-align: right;
}

.live-signal-meta-block span {
  display: block;
  margin-top: 8px;
  color: rgba(201, 214, 229, 0.82);
  font-size: 0.94rem;
}

.live-signal-chart-panel {
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(110, 136, 179, 0.22);
  background: #f6f8fb;
}

.hero-live-chart {
  display: block;
  width: 100%;
  height: clamp(320px, 40vw, 520px);
  min-height: clamp(320px, 40vw, 520px);
}

.hero-live-chart-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: inherit;
  color: rgba(70, 84, 108, 0.78);
  font-family: "IBM Plex Mono", Consolas, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-tradingview-widget,
.hero-tradingview-widget .tradingview-widget-container__widget {
  width: 100%;
  height: 100%;
}

.hero-tradingview-widget {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-height: inherit;
}

.hero-tradingview-widget .tradingview-widget-container__widget iframe {
  width: 100% !important;
  height: 100% !important;
}

.tradingview-widget-copyright {
  padding: 8px 12px 10px;
  border-top: 1px solid rgba(68, 84, 110, 0.08);
  background: rgba(255, 255, 255, 0.92);
  color: rgba(80, 96, 120, 0.76);
  font-size: 0.72rem;
}

.tradingview-widget-copyright a {
  color: inherit;
  text-decoration: none;
}

.hero-chart-grid-line {
  stroke: rgba(121, 143, 171, 0.28);
  stroke-width: 1;
}

.hero-chart-grid-line.is-vertical {
  stroke: rgba(121, 143, 171, 0.2);
}

.hero-chart-area {
  fill: url(#hero-chart-area-gradient);
}

.hero-chart-line {
  fill: none;
  stroke: url(#hero-chart-line-gradient);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-chart-candle .hero-chart-wick {
  stroke-width: 2;
  stroke-linecap: round;
}

.hero-chart-candle.is-bull .hero-chart-wick,
.hero-chart-candle.is-bull .hero-chart-body {
  stroke: rgba(121, 246, 199, 0.92);
  fill: rgba(121, 246, 199, 0.74);
}

.hero-chart-candle.is-bear .hero-chart-wick,
.hero-chart-candle.is-bear .hero-chart-body {
  stroke: rgba(255, 177, 116, 0.94);
  fill: rgba(255, 177, 116, 0.76);
}

.hero-chart-price-line {
  stroke: rgba(246, 249, 255, 0.24);
  stroke-dasharray: 8 8;
}

.hero-chart-price-dot {
  fill: #f6fbff;
  stroke: rgba(121, 246, 199, 0.92);
  stroke-width: 3;
}

.hero-chart-watermark {
  fill: rgba(238, 245, 255, 0.96);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.hero-chart-subtext,
.hero-chart-axis-text {
  fill: rgba(176, 195, 220, 0.7);
  font-family: "IBM Plex Mono", Consolas, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
}

.live-signal-summary {
  margin: 0;
  max-width: 58ch;
  color: rgba(232, 239, 247, 0.84);
  font-size: 0.98rem;
  line-height: 1.65;
}

.live-signal-status-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(176, 195, 220, 0.72);
  font-family: "IBM Plex Mono", Consolas, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.live-connection-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.34);
  box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.04);
}

.live-connection-dot.is-live {
  background: #7cf5c8;
  box-shadow: 0 0 0 8px rgba(124, 245, 200, 0.1);
}

.live-connection-dot.is-offline {
  background: #ff9c74;
  box-shadow: 0 0 0 8px rgba(255, 156, 116, 0.1);
}

.live-connection-dot.is-pending {
  background: #f5d76e;
  box-shadow: 0 0 0 8px rgba(245, 215, 110, 0.1);
}

.live-symbol-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.live-symbol-chip {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  min-width: 96px;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(229, 238, 248, 0.9);
  appearance: none;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.live-symbol-chip strong {
  font-size: 0.94rem;
  letter-spacing: -0.02em;
}

.live-symbol-chip small {
  color: rgba(182, 198, 219, 0.76);
  font-family: "IBM Plex Mono", Consolas, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.live-symbol-chip.is-buy {
  border-color: rgba(95, 211, 156, 0.28);
  background: rgba(95, 211, 156, 0.1);
}

.live-symbol-chip.is-take-profit {
  border-color: rgba(255, 165, 101, 0.28);
  background: rgba(255, 165, 101, 0.1);
}

.live-symbol-chip.is-cut_loss,
.live-symbol-chip.is-cut-loss {
  border-color: rgba(242, 108, 108, 0.32);
  background: rgba(242, 108, 108, 0.12);
}

.live-symbol-chip.is-active {
  border-color: rgba(126, 166, 255, 0.42);
  background: rgba(126, 166, 255, 0.14);
}

.live-symbol-chip.is-empty {
  color: rgba(182, 198, 219, 0.72);
}

.browser-preview-image {
  display: block;
  width: 100%;
  height: clamp(280px, 32vw, 430px);
  object-fit: cover;
  object-position: center 44%;
}

.browser-card {
  position: absolute;
  max-width: 290px;
  padding: 18px 18px 20px;
  border-radius: 0;
  border: 0;
  background: rgba(8, 14, 24, 0.72);
  box-shadow: none;
  backdrop-filter: blur(20px);
}

.browser-card-left {
  left: 24px;
  bottom: 24px;
}

.browser-card-right {
  top: 24px;
  right: 24px;
}

.browser-card-label {
  display: block;
  color: rgba(212, 224, 237, 0.72);
  font-family: "IBM Plex Mono", Consolas, monospace;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.browser-card strong {
  display: block;
  margin-top: 10px;
  color: rgba(247, 249, 252, 0.96);
  font-size: 1.02rem;
  line-height: 1.48;
  letter-spacing: -0.02em;
}

.home-section,
.home-final-cta {
  display: grid;
  gap: 22px;
}

.home-section {
  position: relative;
}

.home-section::before {
  content: "";
  position: absolute;
  top: clamp(-26px, -3vw, -18px);
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0));
}

.home-section:first-of-type::before {
  display: none;
}

.home-section-head {
  max-width: 880px;
  gap: 14px;
}

.home-story-grid,
.home-feature-grid,
.home-metric-cards {
  display: grid;
  gap: 18px;
}

.home-story-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-story-card,
.home-feature-card,
.home-system-panel,
.home-chart-card,
.home-faq-item,
.home-final-cta {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(7, 13, 24, 0.18)), linear-gradient(180deg, rgba(7, 13, 24, 0.44), rgba(7, 13, 24, 0.3));
  backdrop-filter: blur(18px);
}

.home-story-card::before,
.home-feature-card::before,
.home-system-panel::before,
.home-chart-card::before,
.home-faq-item::before,
.home-final-cta::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, rgba(124, 245, 200, 0.84), rgba(126, 166, 255, 0.72), rgba(255, 177, 116, 0.76));
  opacity: 0.75;
}

.home-story-card,
.home-feature-card {
  display: grid;
  align-content: start;
  min-height: 220px;
  padding: 22px 24px 24px;
  border-radius: 24px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.home-story-card:hover,
.home-feature-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.16);
}

.home-story-card h3,
.home-feature-card h3,
.home-system-stage h3 {
  margin: 12px 0 0;
  font-size: 1.32rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.home-story-card p,
.home-feature-card p {
  margin: 12px 0 0;
  color: var(--text-muted);
  line-height: 1.7;
}

.home-feature-card-wide {
  grid-column: span 2;
  min-height: 240px;
}

.home-feature-card-wide h3 {
  font-size: 1.5rem;
}

.home-system-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.34fr) minmax(0, 0.66fr);
  gap: 18px;
}

.home-system-tabs {
  display: grid;
  gap: 12px;
  align-content: start;
}

.home-system-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 20px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(232, 239, 247, 0.86);
  font-family: "IBM Plex Mono", Consolas, monospace;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-system-pill.is-active {
  background: rgba(248, 250, 252, 0.96);
  color: #09111d;
}

.home-system-panel {
  display: grid;
  gap: 14px;
  padding: 24px;
  border-radius: 28px;
}

.home-system-stage {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  min-height: 118px;
  padding: 16px;
  border-radius: 20px;
  background: rgba(8, 14, 24, 0.46);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.home-system-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  height: 54px;
  border-radius: 16px;
  background: rgba(248, 250, 252, 0.08);
  color: rgba(239, 244, 250, 0.92);
  font-family: "IBM Plex Mono", Consolas, monospace;
  font-size: 0.88rem;
}

.home-system-stage p {
  margin: 10px 0 0;
  color: var(--text-muted);
  line-height: 1.7;
}

.home-metrics-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.94fr);
  gap: 18px;
  align-items: stretch;
}

.home-metric-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 24px;
}

.home-metric-card {
  display: grid;
  align-content: start;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(8, 14, 24, 0.46);
}

.home-metric-card strong {
  display: block;
  font-size: clamp(2rem, 4.6vw, 3.5rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.home-metric-card p {
  margin: 12px 0 0;
  color: var(--text-muted);
  line-height: 1.62;
}

.home-chart-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: 28px;
}

.home-chart-image {
  width: 100%;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: block;
}

.home-chart-caption p {
  margin: 10px 0 0;
  color: var(--text-muted);
  line-height: 1.68;
}

.home-audience-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.home-audience-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 16px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(248, 250, 252, 0.05);
  color: rgba(232, 239, 247, 0.88);
  font-family: "IBM Plex Mono", Consolas, monospace;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-link-grid .resource-link,
.page-home .resource-link {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(7, 13, 24, 0.18)), linear-gradient(180deg, rgba(7, 13, 24, 0.44), rgba(7, 13, 24, 0.3));
}

.page-home .resource-link {
  position: relative;
  display: grid;
  align-content: start;
  min-height: 214px;
  overflow: hidden;
}

.page-home .resource-link::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, rgba(126, 166, 255, 0.84), rgba(124, 245, 200, 0.72));
}

.home-faq-list {
  display: grid;
  gap: 14px;
}

.home-faq-item {
  border-radius: 24px;
  overflow: hidden;
}

.home-faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.home-faq-item summary::after {
  content: "+";
  color: rgba(232, 239, 247, 0.72);
  font-size: 1.4rem;
  line-height: 1;
}

.home-faq-item summary::-webkit-details-marker {
  display: none;
}

.home-faq-item[open] summary {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.home-faq-item[open] summary::after {
  content: "-";
}

.home-faq-item p {
  margin: 0;
  padding: 0 24px 22px;
  color: var(--text-muted);
  line-height: 1.76;
}

.home-final-cta {
  padding: clamp(28px, 4vw, 38px);
  border-radius: 30px;
  justify-items: center;
  text-align: center;
  background: radial-gradient(circle at 50% 0%, rgba(126, 166, 255, 0.16), transparent 38%), linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(7, 13, 24, 0.18)), linear-gradient(180deg, rgba(7, 13, 24, 0.44), rgba(7, 13, 24, 0.3));
}

.home-final-cta p {
  max-width: 46ch;
  margin: 16px auto 0;
  color: rgba(239, 244, 250, 0.84);
  line-height: 1.72;
}

.home-final-actions {
  justify-content: center;
}

.home-footer {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 28px;
  align-items: start;
  margin-top: clamp(28px, 4vw, 40px);
  padding: 28px clamp(22px, 4vw, 52px) clamp(34px, 4vw, 48px);
  border-top-color: rgba(255, 255, 255, 0.18);
}

.home-footer-brand {
  display: grid;
  gap: 14px;
  max-width: 34rem;
}

.home-footer-mark {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 0.92;
  text-decoration: none;
  color: rgba(32, 37, 45, 0.92);
}

.home-footer-brand p {
  margin: 0;
  color: rgba(63, 70, 82, 0.78);
  line-height: 1.72;
}

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

.home-footer-column {
  display: grid;
  align-content: start;
  gap: 10px;
  color: rgba(63, 70, 82, 0.62);
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 12px 30px rgba(102, 111, 126, 0.08);
}

.home-footer-column a {
  color: rgba(36, 42, 50, 0.82);
  text-decoration: none;
}

.home-footer-column a:hover,
.home-footer-column a:focus-visible {
  color: rgba(14, 18, 24, 0.98);
}

.page-hero {
  display: grid;
  gap: 20px;
}

.eyebrow,
.section-label,
.rail-label,
.inline-tag,
.resource-path {
  display: inline-flex;
  align-items: center;
  font-family: "IBM Plex Mono", Consolas, monospace;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 18px;
  color: rgba(247, 243, 235, 0.7);
}

.page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(320px, 0.94fr);
  align-items: end;
  gap: clamp(34px, 6vw, 92px);
}

.page-copy h1 {
  margin: 0;
  max-width: 9.1ch;
  font-size: clamp(3.6rem, 8.4vw, 7.2rem);
  line-height: 0.9;
  font-weight: 600;
  letter-spacing: -0.065em;
  text-wrap: balance;
  text-shadow: 0 24px 60px rgba(0, 0, 0, 0.16);
}

.page-lead,
.page-body,
.info-card p,
.stat-card p,
.quote-card p,
.code-panel p,
.resource-link p,
.list-item p,
.page-footer,
.page-footer a {
  margin: 0;
}

.page-lead {
  max-width: 18ch;
  font-size: clamp(2rem, 3.2vw, 3.2rem);
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.page-body {
  max-width: 34ch;
  margin-top: 24px;
  font-size: clamp(1.08rem, 1.5vw, 1.32rem);
  line-height: 1.62;
  color: var(--text-soft);
}

.page-grid-home {
  align-items: center;
}

.page-body-wide {
  max-width: 33ch;
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.hero-chip,
.status-pill,
.endpoint-chip,
.stack-badge,
.meta-label {
  display: inline-flex;
  align-items: center;
  font-family: "IBM Plex Mono", Consolas, monospace;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-chip {
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-pill);
  background: rgba(6, 22, 22, 0.24);
  color: rgba(247, 243, 235, 0.86);
}

.hero-panel,
.workflow-panel,
.stack-map,
.cta-panel {
  position: relative;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: calc(var(--radius-card) + 4px);
  overflow: hidden;
  backdrop-filter: blur(16px);
}

.hero-panel::before,
.workflow-panel::before,
.stack-map::before,
.cta-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at top right, var(--page-accent), transparent 32%), linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(5, 24, 24, 0.08));
}

.hero-panel > *,
.workflow-panel > *,
.stack-map > *,
.cta-panel > * {
  position: relative;
  z-index: 1;
}

.hero-panel-spotlight {
  background: linear-gradient(180deg, rgba(3, 13, 18, 0.2), rgba(4, 16, 23, 0.44)), url("/static/assets/trading-hero-poster.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.24);
}

.hero-panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.status-pill {
  padding: 9px 12px;
  border-radius: var(--radius-pill);
  background: rgba(244, 222, 99, 0.16);
  color: rgba(255, 246, 202, 0.92);
}

.hero-panel-title {
  margin: 20px 0 0;
  max-width: 16ch;
  font-size: clamp(2rem, 3.3vw, 3.35rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.hero-panel-copy {
  max-width: 46ch;
  margin: 16px 0 0;
  color: rgba(247, 243, 235, 0.86);
  line-height: 1.72;
}

.hero-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.hero-stat {
  min-height: 100%;
  padding: 16px 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(8, 19, 24, 0.46);
}

.meta-label {
  color: rgba(247, 243, 235, 0.66);
}

.hero-stat strong {
  display: block;
  margin-top: 14px;
  font-size: 1.02rem;
  line-height: 1.28;
  letter-spacing: -0.02em;
}

.hero-stat p {
  margin: 10px 0 0;
  color: rgba(247, 243, 235, 0.74);
  line-height: 1.58;
}

.card-grid,
.metric-grid,
.value-grid,
.split-grid,
.list-stack,
.link-grid {
  display: grid;
  gap: 18px;
}

.home-rail {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.metric-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.value-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.split-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
}

.info-card,
.stat-card,
.quote-card,
.code-panel,
.resource-link,
.list-item {
  padding: 20px 22px;
  border: 1px solid var(--frame-soft);
  border-radius: var(--radius-card);
  background: linear-gradient(180deg, rgba(5, 24, 24, 0.34), rgba(5, 24, 24, 0.24));
  backdrop-filter: blur(14px);
}

.info-card h3,
.section-title {
  margin: 0;
}

.info-card h3 {
  font-size: 1.28rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.info-card p,
.stat-card p,
.quote-card p,
.resource-link p,
.list-item p {
  margin-top: 12px;
  color: var(--text-muted);
  line-height: 1.68;
}

.inline-tag,
.resource-path {
  color: rgba(247, 243, 235, 0.8);
}

.inline-tag {
  margin-top: 18px;
}

.section-block {
  display: grid;
  gap: 18px;
}

.home-bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.bento-card {
  min-height: 190px;
}

.bento-card-primary {
  grid-column: span 2;
  grid-row: span 2;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(5, 24, 24, 0.18)), linear-gradient(180deg, rgba(5, 24, 24, 0.36), rgba(5, 24, 24, 0.24));
}

.bento-card-wide {
  grid-column: span 2;
}

.bento-card-accent {
  background: linear-gradient(180deg, rgba(240, 193, 111, 0.14), rgba(5, 24, 24, 0.18)), linear-gradient(180deg, rgba(5, 24, 24, 0.34), rgba(5, 24, 24, 0.24));
}

.card-list,
.showcase-list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.card-list li,
.showcase-list li {
  position: relative;
  padding-left: 18px;
  color: var(--text-soft);
  line-height: 1.6;
}

.card-list li::before,
.showcase-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(244, 222, 99, 0.76);
  box-shadow: 0 0 0 6px rgba(244, 222, 99, 0.08);
}

.section-head {
  display: grid;
  gap: 10px;
  max-width: 820px;
}

.section-label {
  color: rgba(247, 243, 235, 0.66);
}

.section-title {
  font-size: clamp(2rem, 3.4vw, 3.4rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.section-copy {
  color: var(--text-soft);
  font-size: 1.08rem;
  line-height: 1.72;
}

.stat-card strong {
  display: block;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
}

.stat-card p {
  margin-top: 10px;
}

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

.showcase-card {
  position: relative;
  padding: 22px 22px 24px;
  border: 1px solid var(--frame-soft);
  border-radius: var(--radius-card);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(5, 24, 24, 0.2)), linear-gradient(180deg, rgba(5, 24, 24, 0.34), rgba(5, 24, 24, 0.24));
  overflow: hidden;
}

.showcase-card::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 4px;
  background: linear-gradient(90deg, rgba(240, 193, 111, 0.88), rgba(140, 184, 255, 0.72));
}

.showcase-card h3 {
  margin: 12px 0 0;
  font-size: 1.36rem;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.showcase-card p {
  margin: 12px 0 0;
  color: var(--text-muted);
  line-height: 1.68;
}

.resource-link {
  text-decoration: none;
}

.resource-link:hover,
.resource-link:focus-visible {
  border-color: rgba(255, 255, 255, 0.18);
}

.resource-link h3 {
  margin: 8px 0 0;
  font-size: 1.26rem;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.resource-link span + h3 {
  margin-top: 12px;
}

.resource-link .resource-note {
  margin-top: 12px;
}

.workflow-panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(5, 24, 24, 0.2)), linear-gradient(180deg, rgba(5, 24, 24, 0.34), rgba(5, 24, 24, 0.24));
}

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

.timeline-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px;
  border-radius: 18px;
  background: rgba(7, 20, 20, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.timeline-step {
  justify-content: center;
  min-width: 52px;
  padding: 14px 10px;
  border-radius: 16px;
  background: rgba(244, 222, 99, 0.14);
  color: rgba(255, 246, 202, 0.94);
}

.timeline-copy strong {
  display: block;
  font-size: 1.06rem;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.timeline-copy p {
  margin: 10px 0 0;
  color: var(--text-muted);
  line-height: 1.64;
}

.home-code-panel {
  background: linear-gradient(180deg, rgba(140, 184, 255, 0.08), rgba(5, 24, 24, 0.18)), linear-gradient(180deg, rgba(5, 24, 24, 0.34), rgba(5, 24, 24, 0.24));
}

.endpoint-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.endpoint-chip {
  padding: 10px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(8, 19, 24, 0.44);
  color: rgba(247, 243, 235, 0.84);
}

.code-panel pre {
  margin: 18px 0 0;
  overflow-x: auto;
  font-family: "IBM Plex Mono", Consolas, monospace;
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--text-soft);
}

.quote-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(5, 24, 24, 0.18)), linear-gradient(180deg, rgba(5, 24, 24, 0.34), rgba(5, 24, 24, 0.24));
}

.quote-card blockquote {
  margin: 0;
  font-size: clamp(1.34rem, 2vw, 1.8rem);
  line-height: 1.42;
  letter-spacing: -0.03em;
}

.quote-card figcaption {
  margin-top: 20px;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.stack-map {
  display: grid;
  gap: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(5, 24, 24, 0.18)), linear-gradient(180deg, rgba(5, 24, 24, 0.34), rgba(5, 24, 24, 0.24));
}

.stack-node {
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(6, 20, 20, 0.36);
}

.stack-badge {
  padding: 8px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(247, 243, 235, 0.76);
}

.stack-node strong {
  display: block;
  margin-top: 14px;
  font-size: 1.14rem;
  letter-spacing: -0.03em;
}

.stack-node p {
  margin: 10px 0 0;
  color: var(--text-muted);
  line-height: 1.64;
}

.stack-link {
  padding: 10px 0;
  text-align: center;
  color: rgba(247, 243, 235, 0.72);
  font-family: "IBM Plex Mono", Consolas, monospace;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.list-item h3 {
  margin: 0;
  font-size: 1.04rem;
  letter-spacing: -0.02em;
}

.link-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cta-panel {
  display: grid;
  align-content: start;
  background: linear-gradient(135deg, rgba(240, 193, 111, 0.12), rgba(5, 24, 24, 0.2)), linear-gradient(180deg, rgba(5, 24, 24, 0.34), rgba(5, 24, 24, 0.24));
}

.cta-panel p {
  margin: 14px 0 0;
  max-width: 42ch;
  color: var(--text-soft);
  line-height: 1.72;
}

.page-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  font-size: 0.96rem;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links a {
  text-decoration: none;
}

@keyframes drift-base {
  from {
    transform: scale(1.08) translate3d(-1.8%, 1.2%, 0);
  }
  to {
    transform: scale(1.14) translate3d(2.8%, -1.4%, 0);
  }
}
@keyframes drift-echo {
  from {
    transform: scale(1.16) translate3d(2.4%, -1.2%, 0);
  }
  to {
    transform: scale(1.22) translate3d(-2.2%, 1.8%, 0);
  }
}
@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translate3d(0, 24px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: 1fr;
    justify-items: start;
  }
  .site-nav {
    justify-self: stretch;
    justify-content: center;
  }
  .page-grid,
  .split-grid,
  .home-rail,
  .value-grid,
  .metric-grid {
    grid-template-columns: 1fr;
  }
  .home-bento,
  .showcase-grid,
  .link-grid,
  .hero-stat-grid {
    grid-template-columns: 1fr 1fr;
  }
  .bento-card-primary,
  .bento-card-wide {
    grid-column: span 2;
    grid-row: auto;
  }
  .page-copy h1,
  .page-lead,
  .page-body {
    max-width: none;
  }
  .home-hero {
    min-height: auto;
    padding-top: 24px;
  }
  .hero-browser-frame {
    transform: translateY(104px);
  }
  .home-surface-showcase {
    padding-top: clamp(100px, 10vw, 136px);
  }
  .home-surface-head {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .home-surface-copy {
    justify-self: start;
  }
  .home-surface-layout {
    grid-template-columns: 1fr;
  }
  .home-surface-feature {
    min-height: 0;
  }
  .home-surface-feature-body {
    padding: 28px;
  }
  .home-surface-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home-surface-card {
    min-height: 208px;
  }
}
@media (max-width: 760px) {
  .page-shell {
    border-radius: 24px;
    padding-inline: 18px;
  }
  .site-nav,
  .page-actions {
    width: 100%;
  }
  .site-nav {
    gap: 8px;
    padding: 12px;
    justify-content: flex-start;
  }
  .site-nav a {
    padding: 10px 12px;
  }
  .top-cta,
  .button {
    width: 100%;
  }
  .page-actions {
    flex-direction: column;
  }
  .page-copy h1 {
    font-size: clamp(2.9rem, 15vw, 5rem);
  }
  .page-lead {
    font-size: clamp(1.7rem, 8vw, 2.3rem);
  }
  .page-body {
    font-size: 1.02rem;
  }
  .home-shell {
    padding-inline: 0;
  }
  .home-header {
    gap: 14px;
    padding-inline: 18px;
    justify-items: center;
  }
  .home-nav,
  .home-hero-actions,
  .home-final-actions {
    width: 100%;
  }
  .home-nav {
    width: auto;
    gap: 18px;
    padding: 0;
    justify-content: center;
    flex-wrap: wrap;
  }
  .home-nav a {
    padding: 0;
  }
  .home-top-cta {
    width: auto;
  }
  .home-hero {
    gap: 26px;
    padding: 30px 10px 0;
  }
  .home-hero-title {
    max-width: 9.4ch;
    font-size: clamp(2.9rem, 13.6vw, 4.45rem);
    line-height: 0.95;
    letter-spacing: -0.08em;
  }
  .home-hero-line {
    white-space: normal;
  }
  .home-hero-line-secondary {
    white-space: normal;
  }
  .hero-query-bar {
    min-height: 68px;
    padding: 10px 10px 10px 20px;
    gap: 12px;
  }
  .hero-query-text {
    text-align: left;
    font-size: 0.98rem;
  }
  .hero-query-button {
    min-width: 56px;
    min-height: 56px;
    padding: 0;
    font-size: 1.45rem;
  }
  .hero-browser-frame {
    width: min(100%, 100% - 10px);
    padding: 10px;
    border-radius: 24px;
    transform: translateY(72px);
  }
  .home-surface-showcase {
    padding: 82px 10px 0;
  }
  .home-surface-board {
    padding: 18px;
    border-radius: 28px;
  }
  .home-surface-head {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 18px;
  }
  .home-surface-title {
    max-width: 8.6ch;
    font-size: clamp(2.6rem, 12vw, 3.8rem);
    line-height: 0.94;
  }
  .home-surface-copy {
    justify-self: start;
    max-width: none;
    font-size: 0.96rem;
  }
  .home-surface-layout {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .home-surface-feature {
    border-radius: 22px;
  }
  .home-surface-feature-media {
    min-height: 240px;
    flex-basis: 240px;
  }
  .home-surface-feature-badge {
    top: 14px;
    left: 14px;
    min-width: 0;
    padding: 12px 14px;
    border-radius: 18px;
  }
  .home-surface-feature-body {
    gap: 14px;
    padding: 18px;
  }
  .home-surface-meta {
    grid-template-columns: 1fr 1fr;
  }
  .home-surface-stack {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .home-surface-card {
    min-height: 0;
    padding: 18px;
    border-radius: 22px;
    gap: 18px;
  }
  .home-surface-card-copy h3 {
    font-size: 1.56rem;
  }
  .home-surface-card-copy p {
    font-size: 0.94rem;
  }
  .home-surface-card-arrow {
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
  }
  .browser-chrome {
    flex-direction: column;
    align-items: stretch;
    padding: 2px 4px 12px;
  }
  .browser-address {
    max-width: none;
    margin-inline: 0;
  }
  .live-signal-topline,
  .live-signal-bottomline {
    flex-direction: column;
  }
  .live-signal-meta-block {
    text-align: left;
  }
  .live-signal-surface {
    padding: 16px;
    gap: 14px;
  }
  .hero-live-chart {
    height: 340px;
    min-height: 340px;
  }
  .home-hero-copy br {
    display: none;
  }
  .home-hero-copy {
    max-width: 22ch;
    margin-top: 22px;
    font-size: 1rem;
  }
  .browser-card {
    position: static;
    max-width: none;
    margin: 12px;
  }
  .home-bento,
  .showcase-grid,
  .link-grid,
  .hero-stat-grid {
    grid-template-columns: 1fr;
  }
  .home-story-grid,
  .home-feature-grid,
  .home-metric-cards,
  .home-link-grid,
  .home-system-tabs {
    grid-template-columns: 1fr;
  }
  .bento-card-primary,
  .bento-card-wide,
  .home-feature-card-wide {
    grid-column: span 1;
  }
  .hero-panel,
  .workflow-panel,
  .stack-map,
  .cta-panel {
    padding: 20px;
  }
  .hero-panel-top {
    flex-direction: column;
    align-items: flex-start;
  }
  .timeline-item {
    grid-template-columns: 1fr;
  }
  .timeline-step {
    width: fit-content;
  }
  .home-system-stage {
    grid-template-columns: 1fr;
  }
  .home-final-cta {
    justify-items: start;
    text-align: left;
  }
  .home-final-actions {
    justify-content: stretch;
  }
  .home-footer-columns {
    grid-template-columns: 1fr;
  }
  .page-footer {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-backdrop-echo {
    opacity: 0.18;
  }
}
@media (max-width: 760px) {
  .home-footer {
    gap: 22px;
    padding: 28px 18px;
    grid-template-columns: 1fr;
  }
  .home-footer-column {
    padding: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-backdrop-base,
  .hero-backdrop-echo {
    animation: none;
  }
  .page-home .page-main > * {
    opacity: 1;
    transform: none;
    animation: none;
  }
  html {
    scroll-behavior: auto;
  }
}
/* Mistral-inspired Lunatrix signal home */
.mistral-signal-home {
  --mistral-cream: #fff9e8;
  --mistral-cream-2: #fff2bd;
  --mistral-ink: #23211f;
  --mistral-muted: rgba(35, 33, 31, 0.68);
  --mistral-orange: #ff4b18;
  --mistral-yellow: #ffd900;
  --mistral-gold: #e3a900;
  --mistral-line: rgba(220, 171, 45, 0.28);
  --mistral-black: #111111;
  --mistral-width: 1510px;
  color: var(--mistral-ink);
  background: var(--mistral-cream);
}

.mistral-signal-home .mistral-page {
  min-height: 100vh;
  background: var(--mistral-cream);
  color: var(--mistral-ink);
  font-family: "Manrope", "Segoe UI", sans-serif;
  overflow: hidden;
}

.mistral-signal-home .mistral-header {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 50;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(22px, 3vw, 44px);
  width: min(var(--mistral-width), 100% - 72px);
  min-height: 92px;
  padding: 18px 0;
  transform: translateX(-50%);
  color: #fff;
  transition: width 180ms ease, padding 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.mistral-signal-home.is-scrolled .mistral-header,
body.is-scrolled.mistral-signal-home .mistral-header {
  top: 14px;
  width: min(1400px, 100% - 48px);
  min-height: 72px;
  padding: 10px 18px;
  border: 1px solid rgba(220, 171, 45, 0.26);
  background: rgba(255, 249, 232, 0.94);
  box-shadow: 0 18px 50px rgba(95, 70, 0, 0.12);
  backdrop-filter: blur(18px);
  color: var(--mistral-ink);
}

.mistral-signal-home .mistral-mark,
.mistral-signal-home .mistral-nav,
.mistral-signal-home .mistral-actions,
.mistral-signal-home .mistral-contact,
.mistral-signal-home .mistral-studio,
.mistral-signal-home .mistral-hero-links,
.mistral-signal-home .final-links {
  display: flex;
  align-items: center;
}

.mistral-signal-home .mistral-mark,
.mistral-signal-home .mistral-nav a,
.mistral-signal-home .mistral-actions a,
.mistral-signal-home .mistral-hero-links a,
.mistral-signal-home .section-title-row a,
.mistral-signal-home .privacy-copy a,
.mistral-signal-home .final-links a,
.mistral-signal-home .mistral-footer a {
  text-decoration: none;
}

.mistral-signal-home .mistral-brand-name {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.mistral-signal-home .pixel-logo {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 34px;
  background: linear-gradient(var(--mistral-yellow), var(--mistral-yellow)) 0 0/10px 24px no-repeat, linear-gradient(var(--mistral-yellow), var(--mistral-yellow)) 32px 0/10px 24px no-repeat, linear-gradient(var(--mistral-yellow), var(--mistral-yellow)) 12px 12px/8px 12px no-repeat, linear-gradient(var(--mistral-yellow), var(--mistral-yellow)) 22px 12px/8px 12px no-repeat, linear-gradient(var(--mistral-orange), var(--mistral-orange)) 0 24px/10px 10px no-repeat, linear-gradient(var(--mistral-orange), var(--mistral-orange)) 16px 24px/10px 10px no-repeat, linear-gradient(var(--mistral-orange), var(--mistral-orange)) 32px 24px/10px 10px no-repeat;
  image-rendering: pixelated;
}

body:not(.is-scrolled).mistral-signal-home .mistral-header .pixel-logo {
  background: linear-gradient(#fff, #fff) 0 0/10px 24px no-repeat, linear-gradient(#fff, #fff) 32px 0/10px 24px no-repeat, linear-gradient(#fff, #fff) 12px 12px/8px 12px no-repeat, linear-gradient(#fff, #fff) 22px 12px/8px 12px no-repeat, linear-gradient(#fff, #fff) 0 24px/10px 10px no-repeat, linear-gradient(#fff, #fff) 16px 24px/10px 10px no-repeat, linear-gradient(#fff, #fff) 32px 24px/10px 10px no-repeat;
}

body:not(.is-scrolled).mistral-signal-home .mistral-header .mistral-nav a span,
body:not(.is-scrolled).mistral-signal-home .mistral-header .mistral-actions a span {
  background: linear-gradient(#fff, #fff) 0 4px/4px 4px no-repeat, linear-gradient(#fff, #fff) 4px 8px/4px 4px no-repeat, linear-gradient(#fff, #fff) 8px 4px/4px 4px no-repeat;
}

.mistral-signal-home .mistral-nav {
  gap: clamp(20px, 2.5vw, 36px);
  min-width: 0;
}

.mistral-signal-home .mistral-menu-toggle {
  display: none;
}

.mistral-signal-home .mistral-nav-item {
  position: relative;
}

.mistral-signal-home .mistral-nav a,
.mistral-signal-home .mistral-actions a {
  gap: 10px;
  color: inherit;
  font-size: clamp(0.95rem, 1.06vw, 1.08rem);
  font-weight: 600;
  white-space: nowrap;
}

.mistral-signal-home .mistral-nav-item > a {
  display: inline-flex;
  align-items: center;
}

.mistral-signal-home .mistral-mega-menu {
  position: absolute;
  top: calc(100% + 20px);
  left: 0;
  display: grid;
  grid-template-columns: minmax(320px, 1.3fr) minmax(260px, 0.9fr);
  width: min(700px, 100vw - 48px);
  border: 1px solid rgba(220, 171, 45, 0.34);
  background: linear-gradient(180deg, rgba(255, 249, 232, 0.98), rgba(255, 242, 189, 0.96));
  box-shadow: 0 28px 70px rgba(117, 80, 0, 0.2);
  color: var(--mistral-ink);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.mistral-signal-home .mistral-nav-item:hover .mistral-mega-menu,
.mistral-signal-home .mistral-nav-item:focus-within .mistral-mega-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mistral-signal-home .mega-column {
  display: grid;
  gap: 0;
  padding: 28px 26px;
}

.mistral-signal-home .mega-column + .mega-column {
  border-left: 1px solid rgba(220, 171, 45, 0.32);
}

.mistral-signal-home .mega-column small {
  margin-bottom: 16px;
  color: rgba(35, 33, 31, 0.6);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mistral-signal-home .mega-column a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  border-bottom: 1px solid rgba(220, 171, 45, 0.32);
  color: var(--mistral-ink);
  font-size: 1.45rem;
  font-weight: 500;
}

.mistral-signal-home .mega-column a:last-child {
  border-bottom: 0;
}

.mistral-signal-home .mega-column-muted a {
  justify-content: flex-start;
  color: rgba(35, 33, 31, 0.68);
  font-size: 1.16rem;
}

.mistral-signal-home .mistral-nav a span,
.mistral-signal-home .mistral-actions a span,
.mistral-signal-home .mistral-hero-links a span,
.mistral-signal-home .section-title-row a span,
.mistral-signal-home .privacy-copy a span,
.mistral-signal-home .final-links a span,
.mistral-signal-home .black-cta span,
.mistral-signal-home .map-tab span {
  display: inline-block;
  width: 14px;
  height: 14px;
  background: linear-gradient(var(--mistral-orange), var(--mistral-orange)) 0 4px/4px 4px no-repeat, linear-gradient(var(--mistral-orange), var(--mistral-orange)) 4px 8px/4px 4px no-repeat, linear-gradient(var(--mistral-orange), var(--mistral-orange)) 8px 4px/4px 4px no-repeat;
  image-rendering: pixelated;
}

.mistral-signal-home .mistral-actions {
  gap: 10px;
  justify-content: flex-end;
}

.mistral-signal-home .mistral-contact,
.mistral-signal-home .mistral-studio {
  min-height: 54px;
  padding: 0 26px;
}

.mistral-signal-home .mistral-contact {
  background: rgba(255, 239, 169, 0.78);
}

.mistral-signal-home .mistral-studio {
  color: #fff;
  background: #080808;
}

.mistral-signal-home .mistral-hero {
  position: relative;
  min-height: 920px;
  display: flex;
  align-items: flex-end;
  padding: 160px max(34px, (100vw - var(--mistral-width)) / 2) 140px;
  overflow: hidden;
  background: radial-gradient(circle at 57% 42%, rgba(255, 227, 76, 0.64), transparent 23%), linear-gradient(180deg, #dca900 0%, #e8aa00 38%, #e47c00 74%, #cf5f00 100%);
  color: #fff;
}

.mistral-signal-home .mistral-hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  opacity: 0.88;
}

.mistral-signal-home .mistral-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(128, 63, 0, 0.18), transparent 36%), linear-gradient(180deg, transparent 62%, rgba(94, 36, 0, 0.12));
  pointer-events: none;
}

.mistral-signal-home .mistral-hero-content {
  position: relative;
  z-index: 2;
  width: min(860px, 100%);
}

.mistral-signal-home .mistral-hero h1,
.mistral-signal-home .frontier-left h2,
.mistral-signal-home .section-title-row h2,
.mistral-signal-home .capability-section > h2,
.mistral-signal-home .capability-copy h3,
.mistral-signal-home .platform-section h2,
.mistral-signal-home .privacy-copy h2,
.mistral-signal-home .final-band h2 {
  margin: 0;
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 1.02;
}

.mistral-signal-home .mistral-hero h1 {
  font-size: clamp(4.5rem, 7.8vw, 8.9rem);
}

.mistral-signal-home .mistral-hero p {
  max-width: 690px;
  margin: 52px 0 0;
  font-size: clamp(1.35rem, 2.1vw, 2rem);
  line-height: 1.25;
}

.mistral-signal-home .mistral-hero-links,
.mistral-signal-home .final-links {
  gap: 40px;
  margin-top: 58px;
  flex-wrap: wrap;
}

.mistral-signal-home .mistral-hero-links a,
.mistral-signal-home .final-links a,
.mistral-signal-home .section-title-row a,
.mistral-signal-home .privacy-copy a {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  min-width: 158px;
  padding-bottom: 16px;
  border-bottom: 1px solid currentColor;
  font-size: 1.08rem;
  font-weight: 700;
}

.mistral-signal-home .logo-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 28px;
  max-width: var(--mistral-width);
  margin: 0 auto;
  padding: 58px 34px 46px;
  color: rgba(35, 33, 31, 0.78);
  font-family: "IBM Plex Mono", Consolas, monospace;
  font-size: clamp(1.1rem, 1.6vw, 1.65rem);
  font-weight: 700;
  text-align: center;
  filter: grayscale(1);
}

.mistral-signal-home .frontier-section,
.mistral-signal-home .deployed-section,
.mistral-signal-home .capability-section,
.mistral-signal-home .live-signal-block,
.mistral-signal-home .platform-section,
.mistral-signal-home .privacy-section,
.mistral-signal-home .mistral-footer {
  max-width: var(--mistral-width);
  margin: 0 auto;
  padding-inline: 34px;
}

.mistral-signal-home .frontier-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(56px, 8vw, 120px);
  min-height: 760px;
  align-items: center;
  padding-top: 80px;
  padding-bottom: 96px;
}

.mistral-signal-home .frontier-left {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
}

.mistral-signal-home .floating-block {
  position: absolute;
  display: block;
  background: rgba(255, 238, 168, 0.72);
}

.mistral-signal-home .block-a {
  width: 84px;
  height: 170px;
  left: 0;
  top: 120px;
}

.mistral-signal-home .block-b {
  width: 128px;
  height: 84px;
  right: 40px;
  top: 20px;
}

.mistral-signal-home .block-c {
  width: 84px;
  height: 84px;
  right: 120px;
  bottom: 40px;
}

.mistral-signal-home .frontier-left h2 {
  position: relative;
  z-index: 1;
  max-width: 560px;
  font-size: clamp(3rem, 4.7vw, 5.2rem);
}

.mistral-signal-home .pixel-accent {
  display: inline-block;
  width: 34px;
  height: 40px;
  margin-left: 16px;
  background: linear-gradient(var(--mistral-orange), var(--mistral-orange)) 0 0/26px 8px no-repeat, linear-gradient(var(--mistral-orange), var(--mistral-orange)) 0 8px/8px 24px no-repeat, linear-gradient(var(--mistral-orange), var(--mistral-orange)) 18px 16px/16px 8px no-repeat;
  image-rendering: pixelated;
}

.mistral-signal-home .frontier-list article {
  position: relative;
  padding: 42px 0 42px 56px;
  border-top: 1px solid var(--mistral-line);
}

.mistral-signal-home .frontier-list article:last-child {
  border-bottom: 1px solid var(--mistral-line);
}

.mistral-signal-home .frontier-list article::before {
  content: "";
  position: absolute;
  top: 54px;
  left: 0;
  width: 22px;
  height: 18px;
  background: linear-gradient(var(--mistral-orange), var(--mistral-orange)) 0 6px/8px 6px no-repeat, linear-gradient(var(--mistral-orange), var(--mistral-orange)) 8px 12px/6px 6px no-repeat, linear-gradient(var(--mistral-orange), var(--mistral-orange)) 14px 6px/8px 6px no-repeat;
}

.mistral-signal-home .frontier-list h3 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3.2rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.mistral-signal-home .frontier-list p {
  max-width: 620px;
  margin: 28px 0 0;
  color: var(--mistral-muted);
  font-size: 1.22rem;
  line-height: 1.42;
}

.mistral-signal-home .section-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: start;
}

.mistral-signal-home .section-title-row h2,
.mistral-signal-home .capability-section > h2,
.mistral-signal-home .platform-section h2,
.mistral-signal-home .final-band h2 {
  font-size: clamp(3.4rem, 6.2vw, 6.8rem);
}

.mistral-signal-home .section-title-row p {
  max-width: 520px;
  margin: 10px 0 0;
  color: var(--mistral-muted);
  font-size: 1.15rem;
  line-height: 1.5;
}

.mistral-signal-home .deployed-section,
.mistral-signal-home .capability-section,
.mistral-signal-home .live-signal-block,
.mistral-signal-home .platform-section {
  padding-top: 112px;
  padding-bottom: 112px;
}

.mistral-signal-home .deployed-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 22px;
  margin-top: 88px;
}

.mistral-signal-home .deployed-card {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  color: #fff;
  background: #07090d;
}

.mistral-signal-home .deployed-main {
  background: radial-gradient(circle at 18% 22%, rgba(108, 240, 184, 0.2), transparent 18%), radial-gradient(circle at 72% 44%, rgba(124, 168, 255, 0.18), transparent 26%), linear-gradient(180deg, rgba(7, 9, 13, 0.2), rgba(7, 9, 13, 0.75)), url("/static/assets/trading-chart-poster.png") center/cover no-repeat;
}

.mistral-signal-home .chart-grid-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 150px 150px;
  opacity: 0.46;
}

.mistral-signal-home .deployed-card-copy {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 560px;
  flex-direction: column;
  justify-content: space-between;
  padding: 54px 50px;
}

.mistral-signal-home .deployed-card h3 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(2rem, 3vw, 3.4rem);
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -0.045em;
}

.mistral-signal-home .deployed-card p {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 700;
}

.mistral-signal-home .deployed-side {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 72px 62px 54px;
  background: radial-gradient(circle at 88% 66%, rgba(108, 240, 184, 0.24), transparent 12%), linear-gradient(180deg, #090909 0%, #0d111a 100%);
}

.mistral-signal-home .capability-section > h2,
.mistral-signal-home .platform-section h2,
.mistral-signal-home .final-band h2 {
  text-align: center;
}

.mistral-signal-home .capability-card {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1fr);
  align-items: center;
  gap: 46px;
  min-height: 620px;
  margin-top: 76px;
  padding: 72px 50px;
  border: 1px solid rgba(238, 205, 99, 0.42);
  background: linear-gradient(rgba(238, 205, 99, 0.28) 1px, transparent 1px), linear-gradient(90deg, rgba(238, 205, 99, 0.28) 1px, transparent 1px);
  background-size: 62px 62px;
}

.mistral-signal-home .capability-copy h3 {
  font-size: clamp(3rem, 5vw, 5.4rem);
}

.mistral-signal-home .capability-copy p {
  max-width: 620px;
  margin: 44px 0 0;
  font-size: 1.25rem;
  line-height: 1.45;
}

.mistral-signal-home .capability-copy ul {
  display: grid;
  gap: 12px;
  margin: 52px 0 0;
  padding: 0;
  list-style: none;
}

.mistral-signal-home .capability-copy li {
  width: fit-content;
  padding: 16px 58px 16px 18px;
  background: rgba(255, 238, 168, 0.82);
  font-size: 1.08rem;
  font-weight: 600;
}

.mistral-signal-home .black-cta {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  margin-top: 42px;
  padding: 16px 20px;
  color: #fff;
  background: #181818;
  font-weight: 700;
  text-decoration: none;
}

.mistral-signal-home .capability-visual {
  position: relative;
  align-self: center;
  min-height: 542px;
  margin: 0;
  overflow: visible;
  background: linear-gradient(90deg, rgba(231, 239, 238, 0.95) 0 25%, rgba(246, 250, 248, 0.94) 25% 50%, rgba(191, 204, 207, 0.92) 50% 75%, rgba(234, 199, 145, 0.9) 75%), linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0 23%, rgba(229, 193, 136, 0.68) 23% 48%, rgba(179, 199, 199, 0.56) 48% 76%, rgba(239, 220, 181, 0.68) 76% 100%);
  box-shadow: none;
}

.mistral-signal-home .capability-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0 25%, rgba(255, 255, 255, 0.34) 25% 50%, rgba(119, 147, 154, 0.16) 50% 75%, rgba(215, 150, 71, 0.22) 75%), linear-gradient(180deg, transparent 0 25%, rgba(220, 180, 114, 0.46) 25% 48%, rgba(150, 184, 191, 0.36) 48% 76%, rgba(231, 202, 157, 0.56) 76%);
  pointer-events: none;
}

.mistral-signal-home .capability-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 16% 93%, rgba(255, 255, 255, 0.5), transparent 24%), radial-gradient(circle at 83% 64%, rgba(77, 145, 163, 0.2), transparent 30%);
  pointer-events: none;
}

.mistral-signal-home .terminal-card {
  position: absolute;
  z-index: 2;
  color: #f4f4f4;
  background: #1b1b1c;
  border: 1px solid rgba(255, 255, 255, 0.045);
  border-radius: 8px;
  box-shadow: 0 30px 64px rgba(0, 0, 0, 0.28);
  font-family: "Manrope", "Segoe UI", sans-serif;
}

.mistral-signal-home .terminal-prompt {
  top: 52px;
  left: 16.2%;
  right: 7.2%;
  min-height: 118px;
  padding: 18px 20px;
}

.mistral-signal-home .terminal-prompt::after {
  content: "";
  position: absolute;
  top: 22px;
  right: 18px;
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.36);
}

.mistral-signal-home .terminal-prompt p {
  max-width: 520px;
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1rem;
  line-height: 1.35;
}

.mistral-signal-home .prompt-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}

.mistral-signal-home .prompt-logo,
.mistral-signal-home .prompt-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.74rem;
  font-weight: 700;
}

.mistral-signal-home .prompt-logo {
  width: 30px;
  color: #fff;
  background: var(--mistral-orange);
  font-family: "IBM Plex Mono", Consolas, monospace;
}

.mistral-signal-home .prompt-chip {
  padding: 0 12px;
}

.mistral-signal-home .terminal-files {
  left: -10.8%;
  bottom: 68px;
  width: 62.5%;
  min-height: 286px;
  padding: 22px 20px;
}

.mistral-signal-home .terminal-card-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 22px;
}

.mistral-signal-home .terminal-card-header strong {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.08rem;
  font-weight: 600;
}

.mistral-signal-home .terminal-card-header span {
  padding: 8px 12px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.055);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.76rem;
  font-weight: 700;
}

.mistral-signal-home .file-row {
  display: grid;
  grid-template-columns: 18px 28px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-height: 54px;
}

.mistral-signal-home .file-row i,
.mistral-signal-home .terminal-connectors i {
  display: block;
  width: 14px;
  height: 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 4px;
}

.mistral-signal-home .file-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 28px;
  border-radius: 4px;
  color: #fff;
  font-size: 0.54rem;
  font-style: normal;
  font-weight: 700;
}

.mistral-signal-home .file-icon.is-red {
  background: #f04444;
}

.mistral-signal-home .file-icon.is-green {
  background: #37c871;
}

.mistral-signal-home .file-icon.is-blue {
  color: #3179ff;
  background: #eef7ff;
}

.mistral-signal-home .file-row span,
.mistral-signal-home .file-row strong,
.mistral-signal-home .file-row small {
  display: block;
  min-width: 0;
}

.mistral-signal-home .file-row strong {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.82rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mistral-signal-home .file-row small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.28);
  font-size: 0.76rem;
}

.mistral-signal-home .terminal-connectors {
  right: 2.8%;
  bottom: 26px;
  width: 35.2%;
  min-width: 220px;
  padding: 18px;
}

.mistral-signal-home .terminal-connectors > strong {
  display: block;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.34);
  font-size: 0.74rem;
  font-weight: 700;
}

.mistral-signal-home .terminal-connectors span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 36px;
  gap: 12px;
}

.mistral-signal-home .terminal-connectors b {
  position: relative;
  padding-left: 28px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  font-weight: 600;
}

.mistral-signal-home .terminal-connectors b::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--mistral-yellow);
  transform: translateY(-50%);
}

.mistral-signal-home .terminal-connectors .is-checked i {
  border-color: var(--mistral-orange);
  background: linear-gradient(135deg, transparent 0 44%, #fff 44% 57%, transparent 57%) center/8px 8px no-repeat, var(--mistral-orange);
}

.mistral-signal-home .live-signal-block .hero-browser-frame {
  margin-top: 54px;
  border: 1px solid rgba(35, 33, 31, 0.16);
  border-radius: 0;
  background: #fffaf0;
  box-shadow: 0 34px 80px rgba(95, 70, 0, 0.1);
}

.mistral-signal-home .live-signal-block .browser-chrome {
  color: #fff;
  background: #111;
}

.mistral-signal-home .live-signal-block .browser-body {
  background: #07090d;
}

.mistral-signal-home .platform-map {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  max-width: 1310px;
  margin: 86px auto 0;
  color: #111;
}

.mistral-signal-home .map-tab {
  position: absolute;
  top: -64px;
  display: inline-flex;
  align-items: center;
  gap: 80px;
  padding: 24px 28px;
  color: #fff;
  background: #050505;
  font-size: 1.18rem;
}

.mistral-signal-home .map-tab-services {
  left: 59%;
}

.mistral-signal-home .map-row {
  grid-column: 1;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  min-height: 98px;
  padding: 20px;
  font-size: 1.16rem;
}

.mistral-signal-home .row-orange {
  background: #f64b18;
}

.mistral-signal-home .row-deep-orange {
  background: #f96700;
}

.mistral-signal-home .row-gold {
  background: #f7b900;
}

.mistral-signal-home .map-services {
  grid-column: 2;
  grid-row: 1/span 3;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: #98cf27;
}

.mistral-signal-home .map-services span {
  padding: 28px 22px;
  font-size: 1.25rem;
}

.mistral-signal-home .map-base {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: #e8d88c;
}

.mistral-signal-home .map-base span {
  padding: 24px 20px;
  border-right: 1px solid rgba(0, 0, 0, 0.08);
}

.mistral-signal-home .privacy-section {
  position: relative;
  display: grid;
  grid-template-columns: 1fr minmax(420px, 0.8fr) 1fr;
  align-items: center;
  min-height: 720px;
  gap: 44px;
}

.mistral-signal-home .privacy-copy {
  text-align: center;
}

.mistral-signal-home .privacy-copy h2 {
  font-size: clamp(3rem, 4.6vw, 5.4rem);
}

.mistral-signal-home .privacy-copy p {
  margin: 40px 0 0;
  font-size: 1.25rem;
  line-height: 1.45;
}

.mistral-signal-home .privacy-copy a {
  margin-top: 52px;
  justify-content: center;
}

.mistral-signal-home .partner-card {
  display: grid;
  place-items: center;
  width: 224px;
  height: 224px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 38px 80px rgba(174, 151, 72, 0.18);
  font-family: "IBM Plex Mono", Consolas, monospace;
  font-weight: 700;
  text-align: center;
}

.mistral-signal-home .partner-right {
  justify-self: end;
}

.mistral-signal-home .final-band {
  padding: 100px 34px 0;
  text-align: center;
  background: var(--mistral-cream);
}

.mistral-signal-home .final-links {
  justify-content: center;
  margin-top: 50px;
}

.mistral-signal-home .stripe-stack {
  display: grid;
  margin: 110px -34px 0;
}

.mistral-signal-home .stripe-stack span {
  display: block;
  height: 62px;
}

.mistral-signal-home .stripe-stack span:nth-child(1) {
  background: #fff2bd;
}

.mistral-signal-home .stripe-stack span:nth-child(2) {
  background: #ffe200;
}

.mistral-signal-home .stripe-stack span:nth-child(3) {
  background: #f9b000;
}

.mistral-signal-home .stripe-stack span:nth-child(4) {
  background: #f57700;
}

.mistral-signal-home .stripe-stack span:nth-child(5) {
  background: #e30000;
}

.mistral-signal-home .mistral-footer {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
  gap: 80px;
  padding-top: 82px;
  padding-bottom: 96px;
  background: #fff2bd;
}

.mistral-signal-home .mistral-footer p {
  max-width: 340px;
  margin: 26px 0 0;
  color: var(--mistral-muted);
  line-height: 1.5;
}

.mistral-signal-home .footer-columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 34px;
}

.mistral-signal-home .footer-columns nav {
  display: grid;
  gap: 12px;
  align-content: start;
}

.mistral-signal-home .footer-columns strong {
  color: var(--mistral-orange);
}

.mistral-signal-home .footer-columns a {
  color: #111;
}

@media (max-width: 1180px) {
  .mistral-signal-home .mistral-header {
    grid-template-columns: auto 1fr;
    width: calc(100% - 32px);
    padding: 12px 16px;
    background: rgba(255, 249, 232, 0.94);
    border: 1px solid rgba(220, 171, 45, 0.22);
    backdrop-filter: blur(18px);
  }
  .mistral-signal-home .mistral-nav {
    grid-column: 1/-1;
    order: 3;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }
  .mistral-signal-home .mistral-nav::-webkit-scrollbar {
    display: none;
  }
  .mistral-signal-home .mistral-actions {
    justify-self: end;
  }
  .mistral-signal-home .mistral-mega-menu {
    display: none;
  }
  .mistral-signal-home .frontier-section,
  .mistral-signal-home .capability-card,
  .mistral-signal-home .privacy-section,
  .mistral-signal-home .mistral-footer {
    grid-template-columns: 1fr;
  }
  .mistral-signal-home .frontier-left {
    min-height: 360px;
  }
  .mistral-signal-home .deployed-grid {
    grid-template-columns: 1fr;
  }
  .mistral-signal-home .deployed-side {
    min-height: 360px;
  }
  .mistral-signal-home .platform-map {
    grid-template-columns: 1fr;
  }
  .mistral-signal-home .map-services {
    grid-column: 1;
    grid-row: auto;
    min-height: 180px;
  }
  .mistral-signal-home .map-tab-services {
    left: auto;
    right: 0;
  }
  .mistral-signal-home .partner-card {
    justify-self: center;
  }
}
@media (max-width: 760px) {
  .mistral-signal-home .mistral-header {
    top: 12px;
    grid-template-columns: auto auto;
    justify-content: space-between;
    gap: 0;
    width: calc(100% - 24px);
    min-height: 0;
    padding: 10px 12px;
    border: 1px solid rgba(220, 171, 45, 0.28);
    background: rgba(255, 249, 232, 0.96);
    box-shadow: 0 14px 42px rgba(100, 62, 0, 0.14);
    backdrop-filter: blur(18px);
    color: var(--mistral-ink);
  }
  .mistral-signal-home .mistral-mark {
    gap: 10px;
    min-height: 44px;
  }
  .mistral-signal-home .mistral-brand-name {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    color: var(--mistral-ink);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.03em;
  }
  .mistral-signal-home .pixel-logo {
    width: 34px;
    height: 28px;
    background: linear-gradient(var(--mistral-yellow), var(--mistral-yellow)) 0 0/8px 20px no-repeat, linear-gradient(var(--mistral-yellow), var(--mistral-yellow)) 26px 0/8px 20px no-repeat, linear-gradient(var(--mistral-yellow), var(--mistral-yellow)) 10px 10px/6px 10px no-repeat, linear-gradient(var(--mistral-yellow), var(--mistral-yellow)) 18px 10px/6px 10px no-repeat, linear-gradient(var(--mistral-orange), var(--mistral-orange)) 0 20px/8px 8px no-repeat, linear-gradient(var(--mistral-orange), var(--mistral-orange)) 13px 20px/8px 8px no-repeat, linear-gradient(var(--mistral-orange), var(--mistral-orange)) 26px 20px/8px 8px no-repeat;
  }
  body:not(.is-scrolled).mistral-signal-home .mistral-header .pixel-logo {
    background: linear-gradient(var(--mistral-yellow), var(--mistral-yellow)) 0 0/8px 20px no-repeat, linear-gradient(var(--mistral-yellow), var(--mistral-yellow)) 26px 0/8px 20px no-repeat, linear-gradient(var(--mistral-yellow), var(--mistral-yellow)) 10px 10px/6px 10px no-repeat, linear-gradient(var(--mistral-yellow), var(--mistral-yellow)) 18px 10px/6px 10px no-repeat, linear-gradient(var(--mistral-orange), var(--mistral-orange)) 0 20px/8px 8px no-repeat, linear-gradient(var(--mistral-orange), var(--mistral-orange)) 13px 20px/8px 8px no-repeat, linear-gradient(var(--mistral-orange), var(--mistral-orange)) 26px 20px/8px 8px no-repeat;
  }
  .mistral-signal-home .mistral-menu-toggle {
    position: relative;
    display: inline-grid;
    place-items: center;
    justify-self: end;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 0;
    background: #080808;
    cursor: pointer;
  }
  .mistral-signal-home .mistral-menu-toggle span {
    position: absolute;
    left: 12px;
    width: 20px;
    height: 3px;
    background: #fff;
    transform-origin: center;
    transition: transform 180ms ease, opacity 180ms ease, top 180ms ease;
  }
  .mistral-signal-home .mistral-menu-toggle span:nth-child(1) {
    top: 13px;
  }
  .mistral-signal-home .mistral-menu-toggle span:nth-child(2) {
    top: 21px;
  }
  .mistral-signal-home .mistral-menu-toggle span:nth-child(3) {
    top: 29px;
  }
  .mistral-signal-home .mistral-header.is-menu-open .mistral-menu-toggle span:nth-child(1) {
    top: 21px;
    transform: rotate(45deg);
  }
  .mistral-signal-home .mistral-header.is-menu-open .mistral-menu-toggle span:nth-child(2) {
    opacity: 0;
  }
  .mistral-signal-home .mistral-header.is-menu-open .mistral-menu-toggle span:nth-child(3) {
    top: 21px;
    transform: rotate(-45deg);
  }
  .mistral-signal-home .mistral-nav,
  .mistral-signal-home .mistral-actions {
    grid-column: 1/-1;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: max-height 220ms ease, opacity 160ms ease, margin 180ms ease;
  }
  .mistral-signal-home .mistral-header.is-menu-open .mistral-nav,
  .mistral-signal-home .mistral-header.is-menu-open .mistral-actions {
    max-height: 460px;
    opacity: 1;
    pointer-events: auto;
  }
  .mistral-signal-home .mistral-nav {
    display: grid;
    gap: 0;
    order: 2;
    margin-top: 0;
    padding-bottom: 0;
    overflow-x: hidden;
  }
  .mistral-signal-home .mistral-header.is-menu-open .mistral-nav {
    margin-top: 14px;
    border-top: 1px solid rgba(220, 171, 45, 0.34);
  }
  .mistral-signal-home .mistral-nav a,
  .mistral-signal-home .mistral-actions a {
    justify-content: space-between;
    min-height: 46px;
    border-bottom: 1px solid rgba(220, 171, 45, 0.28);
    color: var(--mistral-ink);
    font-size: 0.98rem;
  }
  body:not(.is-scrolled).mistral-signal-home .mistral-header .mistral-nav a span,
  body:not(.is-scrolled).mistral-signal-home .mistral-header .mistral-actions a span {
    background: linear-gradient(var(--mistral-orange), var(--mistral-orange)) 0 4px/4px 4px no-repeat, linear-gradient(var(--mistral-orange), var(--mistral-orange)) 4px 8px/4px 4px no-repeat, linear-gradient(var(--mistral-orange), var(--mistral-orange)) 8px 4px/4px 4px no-repeat;
  }
  .mistral-signal-home .mistral-actions {
    display: grid;
    grid-template-columns: 1fr;
    order: 3;
    justify-self: stretch;
  }
  .mistral-signal-home .mistral-contact,
  .mistral-signal-home .mistral-studio {
    justify-content: space-between;
    width: 100%;
    min-height: 46px;
  }
  .mistral-signal-home .mistral-hero {
    min-height: 660px;
    align-items: flex-end;
    padding: 112px 20px 58px;
  }
  .mistral-signal-home .mistral-hero h1 {
    font-size: clamp(3.15rem, 15vw, 4.75rem);
    letter-spacing: -0.075em;
  }
  .mistral-signal-home .mistral-hero p {
    max-width: 24rem;
    margin-top: 22px;
    font-size: 1.06rem;
    line-height: 1.42;
  }
  .mistral-signal-home .mistral-hero-links,
  .mistral-signal-home .final-links {
    gap: 14px;
    align-items: stretch;
    margin-top: 32px;
  }
  .mistral-signal-home .mistral-hero-links a,
  .mistral-signal-home .final-links a,
  .mistral-signal-home .section-title-row a,
  .mistral-signal-home .privacy-copy a {
    width: 100%;
    justify-content: space-between;
  }
  .mistral-signal-home .section-title-row,
  .mistral-signal-home .footer-columns,
  .mistral-signal-home .map-base,
  .mistral-signal-home .map-services {
    grid-template-columns: 1fr;
  }
  .mistral-signal-home .logo-strip {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 20px 20px 24px;
    font-size: 0.9rem;
    text-align: left;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .mistral-signal-home .logo-strip::-webkit-scrollbar {
    display: none;
  }
  .mistral-signal-home .logo-strip span {
    flex: 0 0 auto;
    min-width: 104px;
    padding: 11px 14px;
    border: 1px solid rgba(220, 171, 45, 0.28);
    background: rgba(255, 242, 189, 0.56);
    scroll-snap-align: start;
  }
  .mistral-signal-home .frontier-section,
  .mistral-signal-home .deployed-section,
  .mistral-signal-home .capability-section,
  .mistral-signal-home .live-signal-block,
  .mistral-signal-home .platform-section,
  .mistral-signal-home .privacy-section,
  .mistral-signal-home .mistral-footer {
    padding-inline: 20px;
  }
  .mistral-signal-home .frontier-section {
    min-height: auto;
    gap: 36px;
    padding-top: 54px;
    padding-bottom: 62px;
  }
  .mistral-signal-home .frontier-left {
    min-height: 320px;
    align-items: flex-end;
  }
  .mistral-signal-home .frontier-left h2 {
    max-width: 10.8ch;
    font-size: clamp(2.8rem, 13vw, 4.15rem);
    letter-spacing: -0.075em;
  }
  .mistral-signal-home .block-a {
    width: 62px;
    height: 126px;
    top: auto;
    bottom: 0;
  }
  .mistral-signal-home .block-b {
    width: 112px;
    height: 72px;
    right: 0;
    top: 8px;
  }
  .mistral-signal-home .block-c {
    width: 86px;
    height: 54px;
    right: 90px;
    bottom: -10px;
  }
  .mistral-signal-home .frontier-list article {
    padding: 28px 0 28px 36px;
  }
  .mistral-signal-home .frontier-list article::before {
    top: 34px;
  }
  .mistral-signal-home .frontier-list h3 {
    font-size: clamp(1.55rem, 8vw, 2.4rem);
  }
  .mistral-signal-home .frontier-list p {
    margin-top: 16px;
    font-size: 1rem;
    line-height: 1.5;
  }
  .mistral-signal-home .deployed-card,
  .mistral-signal-home .deployed-card-copy {
    min-height: 440px;
  }
  .mistral-signal-home .deployed-card-copy,
  .mistral-signal-home .deployed-side,
  .mistral-signal-home .capability-card {
    padding: 28px 22px;
  }
  .mistral-signal-home .capability-visual {
    min-height: 420px;
  }
  .mistral-signal-home .terminal-prompt,
  .mistral-signal-home .terminal-files,
  .mistral-signal-home .terminal-connectors {
    position: relative;
    inset: auto;
    width: auto;
    margin: 14px;
  }
  .mistral-signal-home .live-signal-topline,
  .mistral-signal-home .live-signal-bottomline,
  .mistral-signal-home .browser-chrome {
    flex-direction: column;
    align-items: stretch;
  }
  .mistral-signal-home .hero-live-chart {
    min-height: 340px;
  }
  .mistral-signal-home .platform-map {
    margin-top: 120px;
  }
  .mistral-signal-home .map-tab,
  .mistral-signal-home .map-tab-services {
    position: static;
    margin-bottom: 8px;
    justify-content: space-between;
  }
  .mistral-signal-home .map-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .mistral-signal-home .privacy-section {
    min-height: auto;
    padding-top: 64px;
    padding-bottom: 64px;
  }
  .mistral-signal-home .final-band {
    padding-top: 64px;
  }
}
.page-ai {
  min-height: 100vh;
  color: #ececf1;
  background: #212121;
}

.page-ai .ai-page-shell {
  min-height: 100vh;
  background: #212121;
}

.page-ai .ai-chat-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  width: 100%;
  min-height: 100vh;
}

.page-ai .ai-chat-sidebar {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 12px;
  min-height: 100vh;
  padding: 12px;
  color: #f4f4f4;
  background: #171717;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.page-ai .ai-sidebar-header,
.page-ai .ai-sidebar-brand,
.page-ai .ai-sidebar-footer {
  display: flex;
  align-items: center;
}

.page-ai .ai-sidebar-header {
  justify-content: space-between;
  gap: 10px;
  min-height: 44px;
}

.page-ai .ai-sidebar-brand {
  gap: 10px;
  min-width: 0;
  color: #f4f4f4;
  text-decoration: none;
  font-size: 0.95rem;
}

.page-ai .pixel-logo {
  flex: 0 0 auto;
  width: 28px;
  height: 24px;
  background: linear-gradient(#ffe200, #ffe200) 0 0/7px 17px no-repeat, linear-gradient(#ffe200, #ffe200) 21px 0/7px 17px no-repeat, linear-gradient(#ffe200, #ffe200) 9px 9px/5px 8px no-repeat, linear-gradient(#ffe200, #ffe200) 15px 9px/5px 8px no-repeat, linear-gradient(#f64b18, #f64b18) 0 17px/7px 7px no-repeat, linear-gradient(#f64b18, #f64b18) 11px 17px/7px 7px no-repeat, linear-gradient(#f64b18, #f64b18) 21px 17px/7px 7px no-repeat;
}

.page-ai .ai-icon-button,
.page-ai .ai-new-chat,
.page-ai .ai-prompt-list button,
.page-ai .ai-send-button,
.page-ai .ai-product-field select,
.page-ai .ai-sidebar-toggle {
  font: inherit;
}

.page-ai .ai-icon-button,
.page-ai .ai-sidebar-toggle {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 8px;
  color: #ececf1;
  background: transparent;
  cursor: pointer;
}

.page-ai .ai-icon-button:hover,
.page-ai .ai-sidebar-toggle:hover {
  background: rgba(255, 255, 255, 0.09);
}

.page-ai .ai-session-panel {
  display: grid;
  gap: 12px;
}

.page-ai .ai-new-chat {
  display: inline-flex;
  align-items: center;
  width: 100%;
  min-height: 40px;
  padding: 0 12px;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  color: rgba(244, 244, 244, 0.9);
  background: transparent;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
}

.page-ai .ai-new-chat.is-active,
.page-ai .ai-new-chat:hover,
.page-ai .ai-prompt-list button:hover,
.page-ai .ai-prompt-list button:focus-visible {
  background: rgba(255, 255, 255, 0.08);
}

.page-ai .ai-product-field,
.page-ai .ai-refresh-toggle {
  display: grid;
  gap: 7px;
  color: rgba(244, 244, 244, 0.7);
  font-size: 0.78rem;
  font-weight: 600;
}

.page-ai .ai-product-field select {
  width: 100%;
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 0 12px;
  color: #ececf1;
  background: #212121;
}

.page-ai .ai-refresh-toggle {
  grid-template-columns: auto 1fr;
  align-items: center;
  min-height: 34px;
  cursor: pointer;
}

.page-ai .ai-refresh-toggle input {
  width: 16px;
  height: 16px;
  accent-color: #19c37d;
}

.page-ai .ai-prompt-list {
  display: grid;
  gap: 4px;
  align-content: start;
  padding-top: 8px;
}

.page-ai .ai-prompt-list > span {
  padding: 10px 12px 4px;
  color: rgba(244, 244, 244, 0.48);
  font-size: 0.74rem;
  font-weight: 700;
}

.page-ai .ai-prompt-list button {
  width: 100%;
  min-height: 38px;
  padding: 9px 12px;
  border: 0;
  border-radius: 8px;
  color: rgba(244, 244, 244, 0.86);
  background: transparent;
  text-align: left;
  line-height: 1.35;
  cursor: pointer;
}

.page-ai .ai-sidebar-footer {
  justify-content: space-between;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.page-ai .ai-sidebar-footer a {
  color: rgba(244, 244, 244, 0.72);
  font-size: 0.82rem;
  text-decoration: none;
}

.page-ai .ai-sidebar-footer a:hover {
  color: #fff;
}

.page-ai .ai-chat-surface {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  min-width: 0;
  overflow: hidden;
  background: #212121;
}

.page-ai .ai-chat-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 56px;
  padding: 10px 18px;
  background: rgba(33, 33, 33, 0.94);
}

.page-ai .ai-sidebar-toggle {
  display: none;
}

.page-ai .ai-chat-topbar strong {
  color: rgba(244, 244, 244, 0.92);
  font-size: 1rem;
  font-weight: 600;
}

.page-ai .ai-status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  color: rgba(244, 244, 244, 0.82);
  background: rgba(255, 255, 255, 0.08);
  font-family: "IBM Plex Mono", Consolas, monospace;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
}

.page-ai .ai-status-pill.is-busy {
  color: #101010;
  background: #ffe200;
}

.page-ai .ai-status-pill.is-error {
  color: #fff;
  background: #d84c4c;
}

.page-ai .ai-message-stream {
  display: grid;
  align-content: start;
  gap: 0;
  overflow-y: auto;
  min-height: 0;
  padding: 28px 18px 148px;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.page-ai .ai-message {
  display: grid;
  grid-template-columns: 32px minmax(0, 680px);
  gap: 16px;
  align-items: start;
  justify-content: center;
  width: 100%;
  padding: 18px 0;
}

.page-ai .ai-message.is-user {
  grid-template-columns: minmax(0, 680px);
}

.page-ai .ai-message.is-user .ai-avatar {
  display: none;
}

.page-ai .ai-message.is-user .ai-message-bubble {
  justify-self: end;
  max-width: min(100%, 560px);
  color: #ececf1;
  background: #303030;
  border-radius: 18px;
}

.page-ai .ai-avatar {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #fff;
  background: #19c37d;
  font-family: "IBM Plex Mono", Consolas, monospace;
  font-size: 0.8rem;
  font-weight: 700;
}

.page-ai .ai-message-bubble {
  min-width: 0;
  padding: 5px 0;
  color: #ececf1;
  background: transparent;
  border: 0;
  line-height: 1.65;
}

.page-ai .ai-message-bubble p {
  margin: 0;
}

.page-ai .ai-message-bubble p + p {
  margin-top: 12px;
}

.page-ai .ai-typing {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  min-height: 26px;
}

.page-ai .ai-typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(236, 236, 241, 0.76);
  animation: ai-typing-pulse 900ms ease-in-out infinite;
}

.page-ai .ai-typing span:nth-child(2) {
  animation-delay: 120ms;
}

.page-ai .ai-typing span:nth-child(3) {
  animation-delay: 240ms;
}

.page-ai .ai-composer {
  position: absolute;
  left: 50%;
  bottom: 38px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 38px;
  gap: 8px;
  align-items: end;
  width: min(760px, 100% - 36px);
  min-height: 56px;
  padding: 8px 8px 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  background: #303030;
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.28);
  transform: translateX(-50%);
}

.page-ai .ai-composer textarea {
  width: 100%;
  min-height: 38px;
  max-height: 180px;
  resize: none;
  border: 0;
  outline: 0;
  padding: 9px 4px;
  color: #ececf1;
  background: transparent;
  font: inherit;
  line-height: 1.45;
}

.page-ai .ai-composer textarea::placeholder {
  color: rgba(236, 236, 241, 0.52);
}

.page-ai .ai-send-button {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  color: #212121;
  background: #ececf1;
  cursor: pointer;
}

.page-ai .ai-send-button:disabled {
  cursor: wait;
  color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.16);
}

.page-ai .ai-send-button span {
  transform: translateY(-1px);
}

.page-ai .ai-composer-note {
  position: absolute;
  left: 50%;
  bottom: 12px;
  width: min(760px, 100% - 36px);
  margin: 0;
  color: rgba(236, 236, 241, 0.52);
  font-size: 0.74rem;
  text-align: center;
  transform: translateX(-50%);
}

@keyframes ai-typing-pulse {
  0%, 100% {
    opacity: 0.32;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-3px);
  }
}
@media (max-width: 980px) {
  .page-ai .ai-chat-layout {
    grid-template-columns: 240px minmax(0, 1fr);
  }
  .page-ai .ai-prompt-list button {
    font-size: 0.86rem;
  }
}
@media (max-width: 760px) {
  .page-ai .ai-chat-layout {
    grid-template-columns: 1fr;
  }
  .page-ai .ai-chat-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 10;
    width: min(82vw, 300px);
    transform: translateX(-100%);
    transition: transform 180ms ease;
  }
  .page-ai .ai-chat-sidebar.is-open {
    transform: translateX(0);
  }
  .page-ai .ai-chat-surface {
    min-height: 100vh;
  }
  .page-ai .ai-sidebar-toggle {
    display: inline-grid;
  }
  .page-ai .ai-chat-topbar {
    justify-content: start;
  }
  .page-ai .ai-status-pill {
    margin-left: auto;
  }
  .page-ai .ai-message {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 12px;
  }
  .page-ai .ai-message.is-user {
    grid-template-columns: minmax(0, 1fr);
  }
  .page-ai .ai-avatar {
    width: 30px;
    height: 30px;
  }
  .page-ai .ai-composer {
    width: calc(100% - 24px);
  }
  .page-ai .ai-composer-note {
    width: calc(100% - 24px);
  }
}