/* Veyl content and product layer added to the preserved dark Lemma runtime. */

:root {
  --veyl-ivory: #f3f0e8;
  --veyl-dark: #1b1b1b;
  --veyl-dark-2: #12120f;
  --veyl-line: rgba(255, 255, 255, 0.14);
  --veyl-copy: rgba(255, 255, 255, 0.68);
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

.veyl-reference-hidden {
  display: none !important;
}

.sticky.bg-brand-purple,
[class*="bg-brand-purple"][class*="sticky"] {
  display: none !important;
}

.veyl-shell {
  margin-left: 0 !important;
}

.veyl-topnav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 80;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 72px;
  padding: 0 clamp(24px, 4vw, 64px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: color-mix(in srgb, var(--veyl-dark) 78%, transparent);
  backdrop-filter: blur(18px);
}

.veyl-brand {
  color: white;
  font-family: var(--font-ibm-plex-mono), ui-monospace, monospace;
  font-size: 22px;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.veyl-topnav nav,
.veyl-footer nav {
  display: flex;
  gap: 30px;
  align-items: center;
}

.veyl-topnav nav a,
.veyl-footer nav a {
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  text-decoration: none;
  transition: color 180ms ease;
}

.veyl-topnav nav a:hover,
.veyl-footer nav a:hover {
  color: white;
}

.veyl-talk {
  justify-self: end;
  display: inline-flex;
  gap: 18px;
  align-items: center;
  padding: 11px 16px;
  color: var(--veyl-dark);
  background: white;
  font-size: 13px;
  text-decoration: none;
}

#hero .veyl-hero-positioner {
  justify-content: flex-start !important;
  padding-right: 48% !important;
  padding-left: clamp(48px, 8vw, 132px) !important;
}

#hero .veyl-hero-copy {
  align-items: flex-start !important;
  width: min(620px, 100%) !important;
  max-width: 620px !important;
  text-align: left !important;
}

#hero .veyl-hero-copy h1 {
  margin-bottom: 30px !important;
  font-size: clamp(52px, 6vw, 88px) !important;
  font-weight: 400 !important;
  line-height: 0.96 !important;
  letter-spacing: -0.055em !important;
}

#hero .veyl-hero-copy h1 strong {
  font-weight: 500;
}

#hero .veyl-hero-deck {
  max-width: 570px !important;
  margin: 0 0 30px !important;
  color: rgba(255, 255, 255, 0.68) !important;
  font-size: clamp(16px, 1.45vw, 20px) !important;
  line-height: 1.48 !important;
  text-align: left !important;
  text-wrap: balance;
}

#hero .veyl-hero-actions {
  justify-content: flex-start !important;
}

#hero .veyl-hero-actions a {
  min-height: 48px;
  padding-inline: 20px;
}

.veyl-sphere {
  position: absolute;
  z-index: 18;
  top: 50%;
  right: clamp(54px, 9vw, 150px);
  width: clamp(280px, 31vw, 480px);
  height: clamp(280px, 31vw, 480px);
  transform: translateY(-50%);
  pointer-events: none;
  transition: opacity 120ms linear;
  filter: drop-shadow(0 28px 70px rgba(0, 0, 0, 0.34));
}

.veyl-mobile-hero {
  display: none;
}

/* The preserved page fades its hero into a light section. Veyl's next section
   is dark, so keep the animated edge without flashing a white band. */
#hero [style*="rgba(242, 242, 242"] {
  background: linear-gradient(
    to bottom,
    rgba(27, 27, 27, 0) 0%,
    rgba(27, 27, 27, 0.72) 55%,
    #1b1b1b 100%
  ) !important;
}

#features {
  border-top: 1px solid var(--veyl-line);
}

#features [class*="bg-white"] {
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.24);
}

/* Keep Lemma's original product choreography, but give the dark study enough
   contrast to read as an intentional Veyl interface rather than a dimmed page. */
#features .sticky > .relative.h-full.w-full > div > div {
  filter: drop-shadow(0 28px 70px rgba(0, 0, 0, 0.28));
}

#features [class*="bg-white"],
#features [class*="bg-[#f2f2f2]"],
#features [class*="bg-[#F2F2F2]"] {
  background-color: #252525 !important;
}

#features [class*="border-[rgba(29,28,29"],
#features [class*="border-gray-"],
#features [class*="border-slate-"] {
  border-color: rgba(255, 255, 255, 0.15) !important;
}

#features [class*="text-[#1d1c1d]"],
#features [class*="text-[#616061]"],
#features [class*="text-gray-600"],
#features [class*="text-gray-500"],
#features [class*="text-gray-400"],
#features [class*="text-slate-"] {
  color: rgba(255, 255, 255, 0.76) !important;
}

#features [class*="bg-[rgba(29,28,29,0.1)]"],
#features [class*="bg-[rgba(29,28,29,0.09)]"],
#features [class*="bg-[rgba(29,28,29,0.04)]"] {
  background-color: rgba(255, 255, 255, 0.09) !important;
}

/* The saved reference relied on a client-side reveal state that does not
   survive the static capture. The scene switcher still controls which panel
   is active, so the contents of that active panel can remain visible. */
#features .invisible {
  visibility: visible !important;
}

.veyl-kimi-feature-frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #1b1b1b;
}

.veyl-mobile-feature-frame {
  display: none;
}

#features .grid.grid-cols-2.gap-12 {
  grid-template-columns: minmax(0, 0.66fr) minmax(0, 1.34fr);
  gap: 1.25rem;
}

.veyl-feature-scene {
  --vf-dark: #151511;
  --vf-dark-soft: #1d1d19;
  --vf-ivory: #f3f0e8;
  --vf-amber: #c08532;
  --vf-line: rgba(255, 255, 255, 0.14);
  width: calc(100% - 48px);
  height: calc(100% - 126px);
  min-height: 520px;
  margin: 92px 24px 34px;
  overflow: hidden;
  border: 1px solid var(--vf-line);
  border-radius: 3px;
  background: var(--vf-dark);
  color: white;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.32);
  font-family: Arial, Helvetica, sans-serif;
}

.vf-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 42px;
  padding: 0 16px;
  border-bottom: 1px solid var(--vf-line);
  color: rgba(255, 255, 255, 0.45);
  font-family: var(--font-ibm-plex-mono), ui-monospace, monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
}

.vf-body {
  display: grid;
  grid-template-columns: minmax(160px, 29%) 1fr;
  height: calc(100% - 42px);
}

.vf-sidebar {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 20px 14px 14px;
  border-right: 1px solid rgba(0, 0, 0, 0.14);
  background: var(--vf-ivory);
  color: var(--vf-dark);
}

.vf-sidebar > p {
  margin: 0 8px 14px;
  color: rgba(21, 21, 17, 0.5);
  font-family: var(--font-ibm-plex-mono), ui-monospace, monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.vf-side-list {
  display: grid;
  gap: 3px;
}

.vf-side-list > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 38px;
  padding: 0 9px;
  border: 1px solid transparent;
  color: rgba(21, 21, 17, 0.62);
  font-size: 11px;
}

.vf-side-list > div strong {
  color: inherit;
  font-size: 10px;
  font-weight: 500;
}

.vf-side-list > div.is-active {
  border-color: var(--vf-dark);
  background: var(--vf-dark);
  color: var(--vf-ivory);
}

.vf-side-meta {
  display: grid;
  gap: 5px;
  margin-top: auto;
  padding: 14px 8px 2px;
  border-top: 1px solid rgba(21, 21, 17, 0.14);
}

.vf-side-meta span,
.vf-side-meta small {
  color: rgba(21, 21, 17, 0.48);
  font-size: 9px;
}

.vf-side-meta strong {
  font-size: 10px;
  font-weight: 600;
}

.vf-main {
  min-width: 0;
  padding: 24px 26px 20px;
  background:
    radial-gradient(circle at 100% 100%, rgba(192, 133, 50, 0.09), transparent 35%),
    var(--vf-dark);
}

.vf-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--vf-line);
}

.vf-heading > div > span {
  color: rgba(255, 255, 255, 0.42);
  font-family: var(--font-ibm-plex-mono), ui-monospace, monospace;
  font-size: 8px;
  letter-spacing: 0.11em;
}

.vf-heading h3 {
  margin: 8px 0 7px;
  color: white;
  font-size: clamp(19px, 1.8vw, 27px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.vf-heading p {
  max-width: 520px;
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 10px;
  line-height: 1.45;
}

.vf-heading > strong {
  align-self: flex-start;
  flex: 0 0 auto;
  padding: 5px 7px;
  border: 1px solid rgba(192, 133, 50, 0.56);
  color: #e0aa5b;
  background: rgba(192, 133, 50, 0.12);
  font-family: var(--font-ibm-plex-mono), ui-monospace, monospace;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.06em;
}

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

.vf-metrics > div {
  display: grid;
  gap: 6px;
  padding: 14px 12px 13px 0;
  border-right: 1px solid var(--vf-line);
}

.vf-metrics > div:not(:first-child) {
  padding-left: 14px;
}

.vf-metrics > div:last-child {
  border-right: 0;
}

.vf-metrics span {
  color: rgba(255, 255, 255, 0.4);
  font-size: 8px;
  text-transform: uppercase;
}

.vf-metrics strong {
  color: white;
  font-size: 17px;
  font-weight: 500;
}

.vf-content {
  padding-top: 18px;
}

.vf-evidence-grid,
.vf-comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.vf-evidence-grid > div,
.vf-comparison > div,
.vf-change {
  padding: 13px;
  border: 1px solid var(--vf-line);
  background: rgba(255, 255, 255, 0.025);
}

.vf-evidence-grid span,
.vf-comparison span,
.vf-change > span {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.4);
  font-family: var(--font-ibm-plex-mono), ui-monospace, monospace;
  font-size: 8px;
  letter-spacing: 0.08em;
}

.vf-evidence-grid strong {
  color: rgba(255, 255, 255, 0.76);
  font-size: 10px;
  font-weight: 400;
  line-height: 1.42;
}

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

.vf-table > div {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.7fr;
  align-items: center;
  min-height: 29px;
  border-bottom: 1px solid var(--vf-line);
  color: rgba(255, 255, 255, 0.7);
  font-size: 9px;
}

.vf-table-head {
  color: rgba(255, 255, 255, 0.38) !important;
  font-family: var(--font-ibm-plex-mono), ui-monospace, monospace;
  font-size: 8px !important;
  text-transform: uppercase;
}

.vf-fail {
  color: #e0aa5b;
}

.vf-boundary-list {
  display: grid;
  gap: 7px;
}

.vf-boundary-list > div {
  display: grid;
  grid-template-columns: 82px 1fr;
  align-items: center;
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid var(--vf-line);
}

.vf-boundary-list p,
.vf-change p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 10px;
  line-height: 1.4;
}

.vf-route {
  width: fit-content;
  padding: 4px 5px;
  font-family: var(--font-ibm-plex-mono), ui-monospace, monospace;
  font-size: 7px;
  letter-spacing: 0.05em;
}

.vf-route.delegate {
  color: var(--vf-dark);
  background: var(--vf-ivory);
}

.vf-route.supervise {
  color: #e0aa5b;
  border: 1px solid rgba(192, 133, 50, 0.5);
}

.vf-route.stop {
  color: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--vf-line);
}

.vf-footnote {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.43);
  font-size: 9px;
}

.vf-live {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--vf-amber);
  box-shadow: 0 0 0 4px rgba(192, 133, 50, 0.12);
  animation: vf-pulse 2.4s ease-in-out infinite;
}

.vf-comparison strong {
  display: block;
  margin-bottom: 10px;
  color: white;
  font-size: 24px;
  font-weight: 500;
}

.vf-comparison small {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 8px;
}

.vf-bar {
  height: 4px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
}

.vf-bar i {
  display: block;
  width: var(--vf-width);
  height: 100%;
  transform-origin: left;
  background: var(--vf-amber);
  animation: vf-grow 900ms cubic-bezier(0.33, 0, 0.15, 1) both;
}

.vf-change {
  margin-top: 9px;
}

.vf-chart {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: end;
  gap: 8px;
  height: 112px;
  padding: 10px 14px 0;
  border: 1px solid var(--vf-line);
  background:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px) 0 0 / 100% 25%,
    rgba(255, 255, 255, 0.018);
}

.vf-chart > div {
  position: relative;
  height: var(--vf-height);
  background: linear-gradient(to top, rgba(192, 133, 50, 0.35), var(--vf-amber));
  transform-origin: bottom;
  animation: vf-rise 850ms cubic-bezier(0.33, 0, 0.15, 1) both;
}

.vf-chart span {
  position: absolute;
  bottom: -17px;
  left: 50%;
  color: rgba(255, 255, 255, 0.35);
  font-size: 7px;
  transform: translateX(-50%);
}

.vf-outcome-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 31px;
  border-bottom: 1px solid var(--vf-line);
  color: rgba(255, 255, 255, 0.58);
  font-size: 9px;
}

.vf-outcome-row:first-of-type {
  margin-top: 18px;
}

.vf-outcome-row strong {
  color: white;
  font-weight: 500;
}

@keyframes vf-grow {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes vf-rise {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}

@keyframes vf-pulse {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

.veyl-kicker {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.48);
  font-family: var(--font-ibm-plex-mono), ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
}

.veyl-private-section {
  position: relative;
  z-index: 2;
  padding: clamp(100px, 12vw, 180px) clamp(24px, 5vw, 76px);
  overflow: hidden;
  border-top: 1px solid var(--veyl-line);
  background: var(--veyl-dark) !important;
}

.veyl-private-copy {
  max-width: 900px;
  margin: 0 auto clamp(54px, 7vw, 92px);
  text-align: center;
}

.veyl-private-copy h2 {
  margin: 0;
  color: white;
  font-size: clamp(54px, 7vw, 104px);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.veyl-private-copy > p:not(.veyl-kicker) {
  max-width: 720px;
  margin: 28px auto 0;
  color: var(--veyl-copy);
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.52;
  text-wrap: balance;
}

.veyl-private-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}

.veyl-primary-button,
.veyl-secondary-button {
  display: inline-flex;
  align-items: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid white;
  font-size: 13px;
  text-decoration: none;
}

.veyl-primary-button {
  color: var(--veyl-dark);
  background: white;
}

.veyl-secondary-button {
  color: white;
  background: transparent;
}

.veyl-product-stage {
  max-width: 1440px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 3px;
  background:
    radial-gradient(circle at 50% 100%, rgba(255, 255, 255, 0.08), transparent 40%),
    #11110e;
  box-shadow: 0 46px 120px rgba(0, 0, 0, 0.4);
}

.veyl-product-caption {
  display: flex;
  justify-content: space-between;
  padding: 15px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--font-ibm-plex-mono), ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.veyl-product-stage iframe {
  display: block;
  width: 100%;
  height: min(68vw, 780px);
  min-height: 560px;
  border: 0;
  background: #12120f;
}

.veyl-integrations,
.veyl-security {
  border-top-color: var(--veyl-line) !important;
}

.veyl-security [class*="grid"] > div {
  background: rgba(255, 255, 255, 0.025);
}

.veyl-research-section {
  position: relative;
  z-index: 2;
  padding: clamp(96px, 11vw, 170px) clamp(24px, 6vw, 92px);
  border-top: 1px solid var(--veyl-line);
  background: var(--veyl-dark) !important;
}

.veyl-research-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: clamp(40px, 8vw, 140px);
  max-width: 1380px;
  margin: 0 auto 70px;
}

.veyl-research-heading .veyl-kicker {
  grid-column: 1 / -1;
  margin-bottom: -12px;
}

.veyl-research-heading h2 {
  margin: 0;
  color: white;
  font-size: clamp(44px, 5.3vw, 76px);
  font-weight: 400;
  line-height: 1.01;
  letter-spacing: -0.05em;
}

.veyl-research-heading > p:not(.veyl-kicker) {
  align-self: end;
  margin: 0;
  color: var(--veyl-copy);
  font-size: 17px;
  line-height: 1.58;
}

.veyl-research-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1380px;
  margin: 0 auto;
  border-top: 1px solid var(--veyl-line);
  border-bottom: 1px solid var(--veyl-line);
}

.veyl-research-grid article {
  min-height: 390px;
  padding: 32px;
  border-right: 1px solid var(--veyl-line);
  background: rgba(255, 255, 255, 0.018);
  transition: background 280ms ease;
}

.veyl-research-grid article:last-child {
  border-right: 0;
}

.veyl-research-grid article:hover {
  background: rgba(255, 255, 255, 0.055);
}

.veyl-research-grid span {
  color: rgba(255, 255, 255, 0.42);
  font-family: var(--font-ibm-plex-mono), ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.09em;
}

.veyl-research-grid h3 {
  margin: 100px 0 18px;
  color: white;
  font-size: clamp(26px, 2.4vw, 36px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.veyl-research-grid p {
  margin: 0;
  color: var(--veyl-copy);
  font-size: 15px;
  line-height: 1.55;
}

.veyl-inline-link {
  display: block;
  width: fit-content;
  margin: 36px auto 0;
  color: white;
  font-size: 13px;
  text-decoration: none;
}

.veyl-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
  padding: 70px clamp(24px, 5vw, 76px) 48px;
  border-top: 1px solid var(--veyl-line);
  background: var(--veyl-dark) !important;
}

.veyl-footer p {
  grid-column: 1;
  margin: 18px 0 0;
  color: var(--veyl-copy);
  font-size: 14px;
}

.veyl-footer nav {
  grid-column: 2;
  grid-row: 1 / 3;
}

@media (max-width: 900px) {
  .veyl-topnav {
    grid-template-columns: 1fr auto;
  }

  .veyl-topnav nav {
    display: none;
  }

  /* The preserved reference uses an 1100vh desktop scroll sequence. On a
     phone that puts the first headline under the fixed navigation and leaves
     several blank screens before the actual product. Mobile gets a complete,
     self-contained hero instead. */
  #hero {
    height: 100svh !important;
    min-height: 720px;
  }

  #hero > .sticky {
    position: relative !important;
    top: auto !important;
    height: 100svh !important;
    min-height: 720px;
  }

  #hero > .sticky > :not(.veyl-mobile-hero):not(.veyl-sphere) {
    display: none !important;
  }

  .veyl-mobile-narrative {
    display: grid;
    gap: 0;
    border-top: 1px solid var(--veyl-line);
    border-bottom: 1px solid var(--veyl-line);
    background: var(--veyl-dark);
  }

  .veyl-mobile-narrative-lead,
  .veyl-mobile-narrative-bridge {
    padding: 72px 28px;
  }

  .veyl-mobile-narrative-lead {
    border-bottom: 1px solid var(--veyl-line);
  }

  .veyl-mobile-narrative h2 {
    max-width: 680px;
    margin: 22px 0 0;
    color: white;
    font-size: clamp(42px, 11vw, 68px);
    font-weight: 400;
    line-height: 0.98;
    letter-spacing: -0.05em;
  }

  .veyl-mobile-narrative-lead > p:last-child,
  .veyl-mobile-narrative-bridge > p {
    max-width: 590px;
    margin: 26px 0 0;
    color: var(--veyl-copy);
    font-size: 16px;
    line-height: 1.5;
  }

  .veyl-mobile-narrative-bridge > p {
    margin-top: 0;
  }

  .veyl-mobile-narrative-bridge strong {
    display: block;
    max-width: 600px;
    margin-top: 34px;
    color: white;
    font-size: clamp(30px, 8vw, 46px);
    font-weight: 400;
    line-height: 1.06;
    letter-spacing: -0.04em;
  }

  .veyl-mobile-narrative-bridge span {
    display: block;
    margin-top: 20px;
    color: var(--veyl-copy);
    font-family: var(--font-mono, ui-monospace, monospace);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .veyl-mobile-hero {
    position: absolute;
    z-index: 30;
    inset: 0;
    display: block;
    padding: 146px 28px 0;
    color: white;
  }

  .veyl-mobile-hero h1 {
    max-width: 640px;
    margin: 0;
    font-size: clamp(52px, 13vw, 76px);
    font-weight: 400;
    line-height: 0.94;
    letter-spacing: -0.055em;
  }

  .veyl-mobile-hero h1 strong {
    font-weight: 500;
  }

  .veyl-mobile-hero > p {
    max-width: 560px;
    margin: 26px 0 0;
    color: var(--veyl-copy);
    font-size: 17px;
    line-height: 1.48;
  }

  .veyl-mobile-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
  }

  .veyl-mobile-hero-actions a {
    display: inline-flex;
    align-items: center;
    min-height: 46px;
    padding: 0 16px;
    border: 1px solid rgba(255,255,255,.24);
    color: white;
    font-size: 13px;
    text-decoration: none;
  }

  .veyl-mobile-hero-actions a:first-child {
    border-color: white;
    background: white;
    color: var(--veyl-dark);
  }

  #hero .veyl-hero-positioner {
    align-items: flex-start !important;
    justify-content: flex-start !important;
    padding: 154px 28px 0 !important;
  }

  #hero .veyl-hero-copy {
    width: 100% !important;
    max-width: 620px !important;
  }

  #hero .veyl-hero-copy h1 {
    font-size: clamp(50px, 15vw, 78px) !important;
  }

  .veyl-sphere {
    top: auto;
    right: -36px;
    bottom: 24px;
    width: min(70vw, 390px);
    height: min(70vw, 390px);
    transform: none !important;
    opacity: 0.52 !important;
  }

  #features > div {
    max-width: none !important;
    padding-inline: 20px !important;
  }

  #features .grid.grid-cols-2.gap-12 {
    display: block !important;
    grid-template-columns: 1fr !important;
  }

  #features .grid.grid-cols-2.gap-12 > :first-child {
    width: 100%;
  }

  #features [data-idx] {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 88px 0 24px;
    overflow: visible !important;
  }

  #features .grid.grid-cols-2.gap-12 > .sticky {
    display: none !important;
  }

  .veyl-mobile-feature-frame {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 584 / 560;
    margin-top: 30px;
    overflow: hidden;
    border: 0;
    background: var(--veyl-dark);
    opacity: 0;
    transition: opacity 320ms ease-out;
  }

  .veyl-mobile-feature-frame.is-loading,
  .veyl-mobile-feature-frame.is-ready {
    opacity: 1;
  }

  #features .veyl-kimi-feature-frame {
    display: none !important;
  }

  .veyl-feature-scene {
    width: calc(100% - 28px);
    height: calc(100% - 104px);
    min-height: 460px;
    margin: 80px 14px 24px;
  }

  .vf-body {
    grid-template-columns: 1fr;
  }

  .vf-sidebar {
    display: none;
  }

  .vf-main {
    padding: 20px;
  }

  .veyl-private-copy h2 {
    font-size: clamp(50px, 13vw, 78px);
  }

  .veyl-product-stage iframe {
    min-height: 500px;
  }

  .veyl-research-heading,
  .veyl-research-grid {
    grid-template-columns: 1fr;
  }

  .veyl-research-grid article {
    min-height: 300px;
    border-right: 0;
    border-bottom: 1px solid var(--veyl-line);
  }

  .veyl-research-grid article:last-child {
    border-bottom: 0;
  }

  .veyl-research-grid h3 {
    margin-top: 70px;
  }

  .veyl-footer {
    grid-template-columns: 1fr;
  }

  .veyl-footer nav {
    grid-column: 1;
    grid-row: auto;
    flex-wrap: wrap;
  }
}

@media (max-width: 560px) {
  .veyl-topnav {
    height: 64px;
    padding-inline: 18px;
  }

  .veyl-talk {
    padding: 9px 12px;
  }

  #hero .veyl-hero-positioner {
    padding: 132px 20px 0 !important;
  }

  .veyl-mobile-hero {
    padding: 122px 20px 0;
  }

  .veyl-mobile-hero h1 {
    font-size: clamp(48px, 14vw, 64px);
  }

  .veyl-mobile-hero > p {
    margin-top: 22px;
    font-size: 16px;
    line-height: 1.42;
  }

  .veyl-mobile-hero-actions {
    flex-direction: column;
    align-items: stretch;
    margin-top: 24px;
  }

  .veyl-mobile-hero-actions a {
    justify-content: center;
    width: 100%;
  }

  .veyl-mobile-narrative-lead,
  .veyl-mobile-narrative-bridge {
    padding: 64px 20px;
  }

  #hero .veyl-hero-copy h1 {
    margin-bottom: 22px !important;
    font-size: clamp(48px, 14vw, 66px) !important;
    line-height: 0.94 !important;
  }

  #hero .veyl-hero-deck {
    font-size: 16px !important;
    line-height: 1.42 !important;
  }

  #hero .veyl-hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  #hero .veyl-hero-actions a {
    width: 100%;
  }

  .veyl-private-actions {
    flex-direction: column;
  }

  .veyl-private-actions a {
    justify-content: center;
  }

  .vf-heading {
    gap: 10px;
  }

  .vf-heading > strong {
    display: none;
  }

  .vf-metrics strong {
    font-size: 15px;
  }

  .vf-evidence-grid,
  .vf-comparison {
    grid-template-columns: 1fr;
  }

  .vf-table,
  .vf-change {
    display: none;
  }

  .vf-boundary-list > div {
    grid-template-columns: 72px 1fr;
  }

  .veyl-product-caption span:last-child {
    display: none;
  }

  #features > div {
    padding-inline: 18px !important;
  }

  #features [data-idx] {
    padding-top: 72px;
  }

  .veyl-mobile-feature-frame {
    height: auto;
  }
}

@media (min-width: 901px) {
  .veyl-mobile-narrative {
    display: none;
  }
}

/* Keep the interactive reliability cursor legible against the dark hero. */
#hero svg[style*="cursor: url"] {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 196 161' width='24' height='24'%3E%3Cpath fill='%23fff' d='M183.1 110.54c.97.56.97 1.96 0 2.52l-82.94 47.89c-.97.56-2.18-.14-2.18-1.26v-47.05c0-.52-.28-1-.73-1.26L56.51 87.86c-.97-.56-.97-1.96 0-2.52l40.74-23.52c.45-.26 1-.26 1.45 0l84.4 48.73ZM87.13 117.22c.45.26.73.74.73 1.26v35.36c0 1.12-1.21 1.82-2.18 1.26l-72.83-42.05c-.97-.56-.97-1.96 0-2.52l30.63-17.68c.45-.26 1-.26 1.45 0l42.2 24.36Z'/%3E%3C/svg%3E") 12 12, crosshair !important;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
