/* =========================================================
   Websting homepage stylesheet
   Cleaned from styles-l.css and prepared for the tighter Websting bee icon
   ========================================================= */

/* Shared responsive image behavior */
.image-slot {
  position: relative;
  margin: 0;
  overflow: hidden;
}

.image-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-slot:not(.image-missing) .image-fallback {
  display: none;
}

.image-slot.image-missing > img {
  display: none;
}

.placeholder-topline {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--gold-300);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.placeholder-topline small {
  color: var(--text-dim);
  font-size: inherit;
  font-weight: 600;
}

:root {
  --bg: #050505;
  --bg-soft: #0d0d10;
  --bg-elevated: rgba(255, 255, 255, 0.05);
  --panel-strong: rgba(255, 255, 255, 0.08);
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(245, 196, 94, 0.28);
  --text: #ffffff;
  --text-soft: rgba(255, 255, 255, 0.78);
  --text-dim: rgba(255, 255, 255, 0.62);
  --gold-300: #f7d489;
  --gold-400: #f5c45e;
  --gold-500: #e8a93c;
  --pink-300: #ffb8e8;
  --shadow: 0 24px 70px -42px rgba(0, 0, 0, 0.95);
  --shadow-strong: 0 32px 90px -48px rgba(0, 0, 0, 1);
  --radius-pill: 999px;
  --radius-card: 28px;
  --radius-panel: 32px;
  --radius-small: 18px;
  --container: 1200px;
  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.25rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 2.5rem;
  --space-8: 3rem;
  --space-9: 4rem;
  --space-10: 5rem;
  --space-11: 6rem;
  --space-12: 7rem;
  --font-heading: "Sora", "Inter", Arial, sans-serif;
  --font-body: "Inter", Arial, sans-serif;
  --transition: 220ms ease;
  --transition-slow: 420ms ease;
  --breakpoint-sm: 30rem;
  --breakpoint-md: 48rem;
  --breakpoint-lg: 64rem;
  --breakpoint-xl: 90rem;
}

/* 2. Reset and base */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 12% 10%, rgba(245, 196, 94, 0.08), transparent 24%),
    radial-gradient(circle at 84% 22%, rgba(139, 246, 226, 0.06), transparent 30%),
    linear-gradient(180deg, #090909 0%, #020202 100%);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
picture,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

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

button {
  cursor: pointer;
}

ul,
ol {
  padding-left: 1.1rem;
}

::selection {
  background: rgba(245, 196, 94, 0.26);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--gold-400);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 120;
  background: #fff;
  color: #000;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  transition: top var(--transition);
}

.skip-link:focus {
  top: 1rem;
}

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

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 250 250' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.section {
  position: relative;
  z-index: 2;
  padding: var(--space-11) 0;
}

.section-dark {
  background: radial-gradient(circle at 8% 14%, rgba(139, 246, 226, 0.06), transparent 26%),
    radial-gradient(circle at 88% 18%, rgba(245, 196, 94, 0.07), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.01), rgba(255, 255, 255, 0));
}

.section-stack {
  display: grid;
  gap: var(--space-8);
}

.grid-two {
  display: grid;
  gap: var(--space-6);
}

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

.glass-panel {
  position: relative;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius-panel);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), var(--shadow);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
}

/* 3. Typography */
h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-heading);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2.9rem, 9vw, 5.8rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(2rem, 5vw, 3.85rem);
  font-weight: 800;
}

h3 {
  font-size: clamp(1.2rem, 2.2vw, 1.65rem);
  font-weight: 700;
}

p {
  margin: 0;
  color: var(--text-soft);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--gold-300);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  font-weight: 700;
}

.eyebrow span {
  width: 2.5rem;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-400), rgba(245, 196, 94, 0));
}

.section-heading {
  max-width: 50rem;
  display: grid;
  gap: 1.3rem;
}

.section-heading.narrow {
  max-width: 42rem;
}

.label,
.placeholder-kicker,
.plan-label,
.demo-badge,
.message-label {
  color: var(--gold-300);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
}

.helper-text {
  min-height: 1.25rem;
  color: var(--text-dim);
  font-size: 0.95rem;
}

/* 4. Layout utilities */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 3rem;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-weight: 700;
  transition:
    transform var(--transition),
    border-color var(--transition),
    background var(--transition),
    color var(--transition);
}

.button:hover {
  transform: translateY(-1px);
}


.button-secondary {
  color: #fff;
}

.pill-button,
.segmented-button,
.industry-tab {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-soft);
  padding: 0.8rem 1rem;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.pill-button:hover,
.segmented-button:hover,
.industry-tab:hover,
.segmented-button.is-active,
.industry-tab.is-active {
  background: rgba(245, 196, 94, 0.12);
  border-color: rgba(245, 196, 94, 0.36);
  color: #fff;
}

.card-grid {
  display: grid;
  gap: var(--space-5);
}

.field-group {
  display: grid;
  gap: 0.55rem;
}

.field-group label {
  font-weight: 600;
  color: #fff;
}

.field-group input,
.field-group select,
.field-group textarea {
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  padding: 0.9rem 1rem;
}

.field-group input::placeholder,
.field-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.field-group textarea {
  resize: vertical;
}

.field-error {
  min-height: 1.2rem;
  color: #ffb8b8;
  font-size: 0.92rem;
}

.form-grid {
  display: grid;
  gap: var(--space-4);
}

.form-actions,
.result-actions,
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.panel-head {
  display: grid;
  gap: 0.35rem;
}

/* 5. Header and navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  transition: background var(--transition-slow), border-color var(--transition-slow), transform var(--transition-slow);
}

.site-header.is-scrolled .nav-shell {
  background: rgba(8, 8, 10, 0.78);
  border-color: rgba(255, 255, 255, 0.16);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-mark {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.11);
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--gold-300);
}

/*
  Bee logo treatment
  The source artwork includes light canvas space around the circular badge.
  The image is enlarged inside the clipped wrapper so the bee fills the icon,
  while the wrapper adds no second decorative ring.
*/
.brand-mark-image {
  position: relative;
  flex: 0 0 2.9rem;
  width: 2.9rem;
  height: 2.9rem;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 50%;
  background: #090909;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.24);
}

.brand-mark-image img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  border-radius: 0;
  transform: translate(-50%, -50%) scale(1.38);
  transform-origin: center;
}


.brand-text {
  display: grid;
  gap: 0.15rem;
}

.brand-text strong {
  font-family: var(--font-heading);
  font-size: 1rem;
}

.brand-text span {
  color: var(--text-dim);
  font-size: 0.88rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.site-nav a {
  padding: 0.8rem 0.95rem;
  border-radius: var(--radius-pill);
  transition: background var(--transition), color var(--transition);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.nav-toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.28rem;
}

.nav-toggle span {
  width: 1.05rem;
  height: 2px;
  background: #fff;
  border-radius: 99px;
}

/* 6. Hero */
.hero {
  padding-top: 5rem;
}

.hero-layout {
  display: grid;
  gap: var(--space-8);
  align-items: center;
}

.hero-copy {
  display: grid;
}

.hero-text {
  max-width: 42rem;
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.hero-outcomes {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-outcomes li {
  padding: 0.8rem 1rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-soft);
}

.hero-visual {
  min-width: 0;
}

.visual-placeholder {
  min-height: 23rem;
  padding: 1.6rem;
  border-radius: var(--radius-panel);
  border: 1px dashed rgba(245, 196, 94, 0.35);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    radial-gradient(circle at 18% 12%, rgba(139, 246, 226, 0.11), transparent 28%),
    radial-gradient(circle at 78% 18%, rgba(245, 196, 94, 0.15), transparent 28%),
    rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), var(--shadow);
}

.placeholder-label-group {
  display: grid;
  gap: 0.6rem;
  max-width: 20rem;
}

.hero-mock-grid {
  margin-top: 2rem;
  position: relative;
  min-height: 19rem;
}

.screen-card,
.overlay-card {
  position: absolute;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(0, 0, 0, 0.45);
  box-shadow: var(--shadow);
}

.screen-card {
  padding: 1rem;
}

.screen-desktop {
  left: 0;
  top: 0;
  width: min(100%, 32rem);
  height: 15rem;
}

.screen-mobile {
  right: 3%;
  top: 2rem;
  width: 9rem;
  height: 16.5rem;
}

.screen-top {
  height: 1rem;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(245, 196, 94, 0.9), rgba(255, 255, 255, 0.08));
  margin-bottom: 1rem;
}

.screen-lines,
.screen-lines::before,
.screen-lines::after,
.screen-lines.short::before,
.screen-lines.short::after {
  display: block;
  content: "";
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
}

.screen-lines {
  width: 70%;
  height: 1rem;
}

.screen-lines::before {
  width: 88%;
  height: 0.85rem;
  margin-top: 1rem;
}

.screen-lines::after {
  width: 58%;
  height: 0.85rem;
  margin-top: 1rem;
}

.overlay-card {
  display: grid;
  gap: 0.3rem;
  padding: 1rem;
  max-width: 14rem;
}

.overlay-card p {
  color: #fff;
  font-weight: 700;
}

.overlay-card span {
  color: var(--text-dim);
  font-size: 0.92rem;
}

.chat-card {
  left: 5%;
  bottom: 0;
}

.content-card {
  right: 0;
  bottom: 1rem;
}

.lead-card {
  left: 42%;
  top: 10.8rem;
}

/* 7. Shared components */
.demo-badge {
  display: inline-flex;
  width: fit-content;
  padding: 0.55rem 0.8rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(245, 196, 94, 0.24);
  background: rgba(245, 196, 94, 0.08);
}

.feature-card,
.plan-card,
.knowledge-panel,
.knowledge-sidebar,
.content-form,
.content-result,
.lead-form,
.lead-summary,
.assistant-panel,
.demo-intro,
.details-panel,
.final-cta-panel,
.industry-panel {
  padding: clamp(1.35rem, 2vw, 2rem);
}

.feature-card,
.plan-card {
  display: grid;
  gap: 1rem;
}

.feature-card ul,
.plan-card ul,
.output-list {
  margin: 0;
  display: grid;
  gap: 0.65rem;
  color: var(--text-soft);
}

.final-cta {
  padding-top: 0;
}

.final-cta-panel {
  display: grid;
  gap: 1.25rem;
}

/* 8. Assistant demo */
.assistant-demo {
  align-items: stretch;
}

.demo-intro {
  display: grid;
  gap: 1rem;
}

.suggested-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.chat-shell {
  display: grid;
  gap: 1rem;
}

.chat-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  color: var(--text-dim);
}

.chat-thread {
  display: grid;
  gap: 0.85rem;
  max-height: 24rem;
  overflow: auto;
  padding-right: 0.25rem;
}

.message {
  max-width: 100%;
  padding: 1rem;
  border-radius: 20px;
}

.message-user {
  background: rgba(245, 196, 94, 0.12);
  margin-left: auto;
}

.message-assistant {
  background: rgba(255, 255, 255, 0.05);
}

.assistant-form {
  display: grid;
  gap: 0.9rem;
  margin-top: 1rem;
}

.assistant-form input {
  width: 100%;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  padding: 1rem;
}

.assistant-form-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* 9. Outcome cards */
.mini-ui {
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.28);
  min-height: 5rem;
  padding: 1rem;
}

.mini-ui-chat {
  display: grid;
  gap: 0.65rem;
}

.mini-ui-chat span {
  height: 0.72rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.mini-ui-chat span:nth-child(1) {
  width: 78%;
}

.mini-ui-chat span:nth-child(2) {
  width: 56%;
}

.mini-ui-chat span:nth-child(3) {
  width: 68%;
}

.mini-ui-lead,
.mini-ui-content {
  display: grid;
  gap: 0.35rem;
}

.mini-ui strong {
  color: #fff;
}

/* 10. Knowledge system */
.knowledge-layout,
.knowledge-panels,
.content-demo-layout,
.lead-layout,
.examples-shell {
  display: grid;
  gap: var(--space-5);
}

.segmented-control {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.knowledge-sidebar {
  display: grid;
  gap: 1.25rem;
}

.knowledge-diagram {
  display: grid;
  padding: 1rem;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.knowledge-diagram > div,
.diagram-output-row span {
  padding: 0.85rem 0.95rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  text-align: center;
}

.diagram-output-row {
  display: grid;
  gap: 0.6rem;
}

.info-grid {
  display: grid;
  gap: 1rem;
  margin: 0;
}

.info-grid dt {
  color: var(--gold-300);
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.info-grid dd {
  margin: 0;
  color: var(--text-soft);
}

/* 11. Content demo */
.content-form,
.content-result {
  display: grid;
  gap: 1.2rem;
}

.result-box {
  min-height: 15rem;
  border-radius: 22px;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.08);
  white-space: pre-wrap;
}

/* 12. Industry examples */
.industry-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.industry-panel {
  display: grid;
  gap: var(--space-5);
}


.industry-content {
  display: grid;
  gap: 1.5rem;
}

.industry-data-grid {
  display: grid;
  gap: 1rem;
}

.industry-copy-block {
  display: grid;
  gap: 0.5rem;
}

/* 13. Plans */
.plan-card {
  min-height: 100%;
}

.plan-card-featured {
  border-color: rgba(245, 196, 94, 0.32);
}

/* 14. Process */
.process-timeline {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1rem;
}

.process-timeline li {
  display: grid;
  gap: 0.9rem;
  padding: 1.2rem;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.process-timeline strong {
  color: var(--gold-300);
  font-family: var(--font-heading);
  font-size: 1.15rem;
}

.details-panel summary {
  cursor: pointer;
  font-weight: 700;
  color: #fff;
}

.details-panel[open] summary {
  margin-bottom: 1rem;
}

/* 15. Lead form */
.lead-form,
.lead-summary {
  display: grid;
  gap: 1rem;
}

.lead-summary {
  align-content: start;
}

.success-card {
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 22px;
  border: 1px solid rgba(139, 246, 226, 0.2);
}


.summary-list {
  margin: 0;
  padding-left: 1rem;
  color: var(--text-soft);
}

/* 16. Footer */
.site-footer {
  position: relative;
  z-index: 2;
  padding: 0 0 var(--space-8);
}

.footer-layout {
  display: grid;
  gap: var(--space-6);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  margin-bottom: 1rem;
}

.footer-copy {
  max-width: 32rem;
}

.footer-nav,
.footer-meta {
  display: grid;
  gap: 0.8rem;
}

.footer-nav a,
.footer-meta a,
.footer-meta p {
  color: var(--text-dim);
}

.noscript-note {
  margin: 0 auto 2rem;
  width: min(calc(100% - 2rem), var(--container));
  padding: 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

/* 17. Animations */
.reveal {
  opacity: 1;
  transform: none;
}

.js-enabled .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.js-enabled .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* 18. Responsive rules */
@media (min-width: 48rem) {
  .container {
    width: min(calc(100% - 3rem), var(--container));
  }

  .grid-two,
  .hero-layout,
  .assistant-demo,
  .content-demo-layout,
  .lead-layout,
  .industry-panel,
  .knowledge-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .knowledge-panels {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .card-grid-three,
  .diagram-output-row,
  .industry-data-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .two-column {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-timeline li {
    grid-template-columns: auto 1fr;
    align-items: start;
  }

  .footer-layout {
    grid-template-columns: 1.4fr 0.8fr 0.8fr;
    align-items: start;
  }

  .final-cta-panel {
    grid-template-columns: 1.1fr auto;
    align-items: center;
  }
}

@media (min-width: 64rem) {
  .card-grid-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .industry-panel {
    grid-template-columns: 0.95fr 1.05fr;
    align-items: center;
  }

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

@media (max-width: 63.99rem) {
  .js-enabled .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 0.6rem);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.8rem;
    border-radius: 24px;
    background: rgba(7, 7, 10, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-strong);
  }

  .js-enabled .site-nav.is-open {
    display: flex;
  }

  .nav-shell {
    position: relative;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .js-enabled .nav-cta {
    margin-top: 0.25rem;
  }
}

@media (max-width: 47.99rem) {
  .section {
    padding: var(--space-9) 0;
  }

  .hero {
    padding-top: 4rem;
  }

  .visual-placeholder {
    min-height: 20rem;
  }

  .hero-mock-grid {
    min-height: 17rem;
  }

  .screen-desktop {
    width: 100%;
    height: 11rem;
  }

  .screen-mobile {
    width: 7rem;
    height: 12rem;
    top: 1rem;
  }

  .overlay-card {
    max-width: 11rem;
  }

  .lead-card {
    left: 16%;
    top: 8rem;
  }

  .chat-card {
    left: 0;
    bottom: 0;
  }

  .content-card {
    right: 0;
    bottom: 0;
  }
}

@media (max-width: 28rem) {
  .brand-text span {
    display: none;
  }

  .button,
  .site-nav a,
  .pill-button,
  .segmented-button,
  .industry-tab {
    width: 100%;
  }

  .assistant-form-actions,
  .form-actions,
  .result-actions,
  .hero-actions {
    flex-direction: column;
  }
}

/* 19. Reduced-motion and fallbacks */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .js-enabled .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass-panel,
  .nav-shell {
    background: rgba(18, 18, 22, 0.92);
  }
}


/* 20. Production image system and refinements */
section[id] {
  scroll-margin-top: 7rem;
}

.hero-visual {
  position: relative;
  isolation: isolate;
}

.hero-bee-layer {
  position: absolute;
  inset: -14% -18% -12% 4%;
  z-index: -1;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  overflow: hidden;
}

.hero-bee-layer img {
  width: min(52rem, 122%);
  height: auto;
  opacity: 0.5;
  object-fit: contain;
  filter:
    saturate(0.86)
    contrast(1.07)
    brightness(0.66)
    drop-shadow(0 2rem 4rem rgba(0, 0, 0, 0.72));
  -webkit-mask-image: radial-gradient(ellipse 76% 76% at 56% 48%, #000 40%, rgba(0, 0, 0, 0.78) 68%, transparent 100%);
  mask-image: radial-gradient(ellipse 76% 76% at 56% 48%, #000 40%, rgba(0, 0, 0, 0.78) 68%, transparent 100%);
}

.product-visual,
.media-frame {
  position: relative;
  overflow: hidden;
  margin: 0;
  min-height: 22rem;
  background:
    radial-gradient(circle at 12% 10%, rgba(139, 246, 226, 0.1), transparent 30%),
    radial-gradient(circle at 84% 14%, rgba(245, 196, 94, 0.13), transparent 32%),
    rgba(255, 255, 255, 0.035);
}

.product-visual {
  padding: 0;
  z-index: 1;
}

.hero-product-image,
.media-frame img,
.industry-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-product-image {
  aspect-ratio: 16 / 9;
}

.industry-visual {
  min-height: 20rem;
}

.industry-visual img {
  aspect-ratio: 4 / 3;
}

.business-owner-visual img {
  aspect-ratio: 3 / 2;
}

.image-fallback {
  display: none;
  min-height: inherit;
  place-items: center;
  padding: 2rem;
  text-align: center;
  color: var(--text-dim);
}

.image-fallback code {
  color: var(--gold-300);
}

.image-missing .image-fallback {
  display: grid;
}

.field-group input[aria-invalid="true"],
.field-group select[aria-invalid="true"],
.field-group textarea[aria-invalid="true"] {
  border-color: rgba(255, 184, 184, 0.72);
  box-shadow: 0 0 0 3px rgba(255, 184, 184, 0.08);
}

@media (min-width: 48rem) and (max-width: 63.99rem) {
  .card-grid-three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .knowledge-layout,
  .knowledge-panels {
    grid-template-columns: 1fr;
  }

  .industry-data-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 64rem) {
  .knowledge-layout {
    grid-template-columns: 0.8fr 1.2fr;
  }

  .knowledge-panels {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .industry-data-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 47.99rem) {
  .hero-bee-layer {
    inset: -2rem -7rem 3rem 0;
  }

  .hero-bee-layer img {
    width: 36rem;
    opacity: 0.3;
  }

  .product-visual,
  .media-frame {
    min-height: 16rem;
  }

  .glass-panel {
    backdrop-filter: blur(10px) saturate(115%);
    -webkit-backdrop-filter: blur(10px) saturate(115%);
  }

  .grain {
    opacity: 0.025;
  }
}


/* Hero and accent refinements */


.glass-panel,
.nav-shell,
.metric-chip {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.glass-panel::before,
.nav-shell::before,
.metric-chip::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.glass-panel::after,
.metric-chip::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0.92;
  z-index: -1;
}

.glass-panel:hover {
  background: rgba(255,255,255,0.078);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.12),
    inset 0 0 34px rgba(var(--accent-rgb,245,196,94),0.055),
    0 24px 70px -36px rgba(var(--accent-rgb,245,196,94),0.35);
}


.nav-shell {
  border: 1px solid rgba(255,255,255,0.12);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
}

.site-nav a {
  color: rgba(255,255,255,0.82);
}

.button-primary {
  background: linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.06));
  border-color: rgba(245, 196, 94, 0.36);
  color: #fff;
  box-shadow: 0 14px 40px -24px rgba(245,196,94,0.48);
}

.button-secondary {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.16);
}

.hero-cinematic {
  position: relative;
  display: grid;
  overflow: clip;
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-background::before {
  content: "";
  position: absolute;
  inset: 0;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0.38;
  transform: scale(1.04);
  filter: saturate(0.9) contrast(1.05) brightness(0.72);
}

.hero-grid {
  position: absolute;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  filter: blur(0.2px);
  opacity: 0.45;
}

.hero-grid::before,
.hero-grid::after {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: inherit;
}

.hero-grid-left {
  width: 34rem;
  height: 34rem;
  left: -8rem;
  top: 8rem;
  transform: rotate(18deg);
}

.hero-grid-right {
  width: 30rem;
  height: 30rem;
  right: -4rem;
  top: 6rem;
  transform: rotate(-16deg);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  opacity: 0.55;
}

.hero-orb-left {
  width: 18rem;
  height: 18rem;
  left: -5rem;
  bottom: 8rem;
}

.hero-orb-right {
  width: 16rem;
  height: 16rem;
  right: 3rem;
  bottom: 12rem;
}

.hero-center {
  position: relative;
  z-index: 1;
}

.hero-copy-centered {
  max-width: 58rem;
  margin: 0 auto;
  text-align: center;
  justify-items: center;
}

.hero-badge-wrap {
  display: flex;
  justify-content: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.88);
}

.hero-badge-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  background: rgba(245,196,94,0.18);
  color: var(--gold-300);
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  font-weight: 700;
}

.hero-text-wide {
  max-width: 52rem;
  font-size: clamp(1.05rem, 2vw, 1.22rem);
}

.hero-actions-centered {
  justify-content: center;
}

.hero-support-text {
  max-width: 44rem;
  color: rgba(255,255,255,0.68);
}

.hero-metrics {
  width: 100%;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.metric-chip {
  padding: 1rem 1.1rem;
  border-radius: 24px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  min-height: 100%;
}

.metric-chip strong,
.metric-chip span {
  display: block;
}

.metric-chip strong {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.metric-chip span {
  color: rgba(255,255,255,0.68);
  font-size: 0.95rem;
}

.feature-card,
.plan-card {
  padding-top: 1.5rem;
}

.plan-card-featured {
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.05));
}

.mini-ui,
.knowledge-diagram,
.result-box,
.process-timeline li,
.message-assistant,
.message-user {
  position: relative;
  overflow: hidden;
  background: rgba(10, 11, 16, 0.5);
  border: 1px solid rgba(255,255,255,0.08);
}

.mini-ui::before,
.knowledge-diagram::before,
.result-box::before,
.process-timeline li::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(99,234,196,0.05), transparent 42%, rgba(155,124,255,0.07));
}

@media (max-width: 63.99rem) {
  .hero-cinematic {
    min-height: auto;
    padding-top: 8rem;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }
}

#outcomes .feature-card:nth-child(2),
#examples .industry-panel,
#contact .lead-summary {
  --accent-rgb: var(--purple-rgb);
  --accent-secondary-rgb: var(--teal-rgb);
}

#outcomes .feature-card:nth-child(3),
#contact .lead-form,
#live-demo .demo-intro,
#content-demo .content-result {
  --accent-rgb: var(--teal-rgb);
  --accent-secondary-rgb: var(--purple-rgb);
}

#plans .plan-card:nth-child(1) {
  --accent-rgb: var(--gold-rgb);
  --accent-secondary-rgb: var(--purple-rgb);
}

#plans .plan-card:nth-child(2) {
  --accent-rgb: var(--teal-rgb);
  --accent-secondary-rgb: var(--gold-rgb);
}

#plans .plan-card:nth-child(3) {
  --accent-rgb: var(--purple-rgb);
  --accent-secondary-rgb: var(--teal-rgb);
}

/* Compact hero variant for interior pages */
.page-hero {
  position: relative;
  min-height: auto;
  padding: 9rem 0 4rem;
  overflow: clip;
}

.page-hero .hero-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.page-hero .hero-background::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.55) 100%),
    radial-gradient(circle at 20% 30%, rgba(99,234,196,0.10), transparent 32%),
    radial-gradient(circle at 80% 30%, rgba(155,124,255,0.12), transparent 32%);
}

.page-hero h1 {
  font-size: clamp(2.2rem, 6vw, 3.8rem);
}

.page-hero .hero-center {
  position: relative;
  z-index: 1;
}

@media (max-width: 47.99rem) {
  .hero-cinematic {
    padding: 8rem 0 5rem;
  }

  .page-hero {
    padding: 7rem 0 3rem;
  }

  .hero-grid-left {
    width: 22rem;
    height: 22rem;
    left: -8rem;
    top: 12rem;
  }

  .hero-grid-right {
    width: 20rem;
    height: 20rem;
    right: -6rem;
    top: 4rem;
  }

  .hero-orb-left,
  .hero-orb-right {
    width: 10rem;
    height: 10rem;
  }
}

/* Lightweight interaction and visual refinement layer
   Adds the space-dust hero, animated titles, and colorful glass cards without extra libraries. */
:root {
  --lively-gold: 245, 196, 94;
  --lively-pink: 255, 184, 232;
}


.hero-background::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-size: 220px 180px, 280px 240px, 260px 220px, 300px 260px;
  mix-blend-mode: screen;
  animation: dustDrift 28s linear infinite;
}

.space-dust {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  mix-blend-mode: screen;
}

.hero-scanline {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background-size: 240% 100%, 100% 7px;
  animation: heroSheen 13s ease-in-out infinite;
}

.hero-bg-image {
  animation: heroBreath 18s ease-in-out infinite;
  will-change: transform;
}

.hero-grid {
  box-shadow: inset 0 0 60px rgba(var(--lively-cyan), 0.04), 0 0 80px rgba(var(--lively-gold), 0.035);
  animation: softSpin 36s linear infinite;
}

.hero-grid-right {
  animation-direction: reverse;
  animation-duration: 42s;
}

.hero-orb-left,
.hero-orb-right {
  animation: orbFloat 12s ease-in-out infinite;
}

.hero-orb-right {
  animation-delay: -4s;
}

.hero-badge,
.metric-chip,
.button-primary,
.button-secondary {
  position: relative;
  overflow: hidden;
}

.hero-badge::after,
.metric-chip::after,
.button-primary::after,
.button-secondary::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,0.16) 50%, transparent 65%);
  transform: translateX(-120%);
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-badge:hover::after,
.metric-chip:hover::after,
.button-primary:hover::after,
.button-secondary:hover::after {
  transform: translateX(120%);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .lively-title,
  .section-heading h2 {
    color: transparent;
    background-image: linear-gradient(90deg, #fff 0%, #fff 36%, rgb(var(--lively-gold)) 48%, rgb(var(--lively-cyan)) 58%, #fff 72%, #fff 100%);
    background-size: 220% auto;
    -webkit-background-clip: text;
    background-clip: text;
    animation: titleGlowSweep 10s ease-in-out infinite;
  }
}

.js-enabled .reveal.is-visible .lively-title,
.js-enabled .reveal.is-visible h2 {
  animation-name: titleGlowSweep, titleSettle;
  animation-duration: 10s, 900ms;
  animation-timing-function: ease-in-out, cubic-bezier(0.22, 1, 0.36, 1);
  animation-iteration-count: infinite, 1;
}

#live-demo .assistant-demo > .glass-panel,
#outcomes .feature-card,
#plans .plan-card {
  border-color: rgba(var(--accent-rgb, 245,196,94), 0.16);
  transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 520ms ease,
    background 520ms ease,
    box-shadow 520ms ease;
}

#live-demo .assistant-demo > .glass-panel:hover,
#outcomes .feature-card:hover,
#plans .plan-card:hover {
  transform: translateY(-8px);
  border-color: rgba(var(--accent-rgb, 245,196,94), 0.34);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.14),
    0 30px 90px -48px rgba(var(--accent-rgb,245,196,94),0.56),
    0 20px 60px -52px rgba(var(--accent-secondary-rgb,99,234,196),0.44);
}

#live-demo .assistant-demo > .glass-panel::after,
#outcomes .feature-card::after,
#plans .plan-card::after {
  background: linear-gradient(110deg, transparent 32%, rgba(255,255,255,0.075) 46%, rgba(var(--accent-rgb,245,196,94),0.07) 52%, transparent 66%),
    radial-gradient(circle at 16% 0%, rgba(var(--accent-rgb, 245,196,94), 0.20), transparent 34%),
    radial-gradient(circle at 100% 100%, rgba(var(--accent-secondary-rgb, 139,246,226), 0.12), transparent 42%);
  background-size: 260% 100%, auto, auto;
  background-position: 140% 0, center, center;
  transition: background-position 900ms cubic-bezier(0.22, 1, 0.36, 1), opacity 520ms ease;
}

#live-demo .assistant-demo > .glass-panel:hover::after,
#outcomes .feature-card:hover::after,
#plans .plan-card:hover::after {
  background-position: -80% 0, center, center;
  opacity: 1;
}

#live-demo .suggested-prompts .pill-button,
.industry-tab,
.segmented-button {
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.055);
}

#live-demo .suggested-prompts .pill-button:hover,
.industry-tab:hover,
.segmented-button:hover,
.industry-tab.is-active,
.segmented-button.is-active {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.12),
    0 16px 38px -28px rgba(var(--accent-rgb,245,196,94),0.62);
}

.metric-chip:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--accent-rgb, 245,196,94), 0.3);
}

.mini-ui,
.knowledge-diagram,
.result-box,
.process-timeline li {
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.055);
}

.mini-ui-chat span {
  animation: chatPulse 2.8s ease-in-out infinite;
}

.mini-ui-chat span:nth-child(2) {
  animation-delay: 250ms;
}
.mini-ui-chat span:nth-child(3) {
  animation-delay: 500ms;
}

.section-dark {
  overflow: clip;
}

.section-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  animation: sectionAura 16s ease-in-out infinite;
}

@keyframes dustDrift {
  from { background-position: 0 0, 0 0, 0 0, 0 0; }
  to { background-position: 220px 180px, -280px 240px, 260px -220px, -300px -260px; }
}

@keyframes heroSheen {
  0%, 54%, 100% { background-position: 140% 0, 0 0; opacity: 0.42; }
  68% { background-position: -90% 0, 0 12px; opacity: 0.68; }
}

@keyframes heroBreath {
  0%, 100% { transform: scale(1.04) translate(0, 0); }
  50% { transform: scale(1.07) translate(0, -8px); }
}

@keyframes softSpin {
  from { rotate: 0deg; }
  to { rotate: 360deg; }
}

@keyframes orbFloat {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(12px, -18px, 0) scale(1.06); }
}

@keyframes titleGlowSweep {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes titleSettle {
  from { opacity: 0; transform: translateY(16px); filter: blur(10px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

@keyframes chatPulse {
  0%, 100% { opacity: 0.48; transform: translateX(0); }
  50% { opacity: 1; transform: translateX(5px); }
}

@keyframes sectionAura {
  0%, 100% { opacity: 0.55; transform: translate3d(0, 0, 0); }
  50% { opacity: 0.9; transform: translate3d(0, -18px, 0); }
}

@media (max-width: 48rem) {
  .hero-background::after,
  .hero-scanline {
    opacity: 0.36;
  }

  #live-demo .assistant-demo > .glass-panel:hover,
  #outcomes .feature-card:hover,
  #plans .plan-card:hover {
    transform: translateY(-4px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .space-dust,
  .hero-background::after,
  .hero-scanline,
  .hero-bg-image,
  .hero-grid,
  .hero-orb-left,
  .hero-orb-right,
  .lively-title,
  .section-heading h2,
  .mini-ui-chat span,
  .section-dark::before {
    animation: none !important;
  }

  #live-demo .assistant-demo > .glass-panel:hover,
  #outcomes .feature-card:hover,
  #plans .plan-card:hover,
  .metric-chip:hover {
    transform: none;
  }
}

/* Keep animated sheen visible while preserving clickable content. */
#live-demo .assistant-demo > .glass-panel > *,
#outcomes .feature-card > *,
#plans .plan-card > * {
  position: relative;
  z-index: 2;
}

#live-demo .assistant-demo > .glass-panel::after,
#outcomes .feature-card::after,
#plans .plan-card::after {
  z-index: 1;
  opacity: 0.84;
}

#live-demo .assistant-demo > .glass-panel::before,
#outcomes .feature-card::before,
#plans .plan-card::before {
  z-index: 3;
}

/* Hero spacing and color balance */


.site-header {
  padding: clamp(0.7rem, 1.1vw, 1rem) 0;
}

.nav-shell {
  background: linear-gradient(90deg, rgba(40, 30, 54, 0.44), rgba(10, 13, 18, 0.56)),
    rgba(12, 12, 16, 0.44);
}

.hero-cinematic {
  min-height: min(860px, calc(100svh - 88px));
  align-items: start;
  padding: clamp(3.4rem, 6vh, 5.1rem) 0 clamp(4.5rem, 8vh, 6rem);
}

.hero-copy {
  gap: 1.18rem;
}

.hero-metrics {
  margin-top: 0.75rem;
}


.space-dust {
  opacity: 0.68;
}


.hero-orb-left {
  background: rgba(245,196,94,0.13);
}

.hero-orb-right {
  background: rgba(var(--lively-violet),0.18);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .lively-title,
  .section-heading h2 {
    color: transparent;
    background-image:
      linear-gradient(
        90deg,
        #ffffff 0%,
        #ffffff 30%,
        rgb(var(--lively-violet)) 43%,
        rgb(var(--lively-gold)) 56%,
        rgba(var(--lively-violet), 0.96) 68%,
        #ffffff 84%,
        #ffffff 100%
      );
    background-size: 220% auto;
    -webkit-background-clip: text;
    background-clip: text;
    animation: titleGlowSweep 11s ease-in-out infinite;
  }
}


@media (max-width: 63.99rem) {
  .hero-cinematic {
    min-height: auto;
    padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(4rem, 7vw, 5rem);
  }
}

@media (max-width: 47.99rem) {
  .hero-cinematic {
    padding: 4rem 0 4.25rem;
  }

  .hero-copy {
    gap: 1rem;
  }
}


/* Knowledge diagram connectors and color balance */
:root {
  --teal-300: #9ed5d8;
  --purple-300: #c8b8ff;
  --teal-rgb: 108, 184, 190;
  --purple-rgb: 176, 144, 255;
  --gold-rgb: 245, 196, 94;
  --lively-cyan: 108, 184, 190;
  --lively-violet: 176, 144, 255;
}

[data-accent="teal"] {
  --accent-rgb: 108, 184, 190;
  --accent-secondary-rgb: 176, 144, 255;
}

[data-accent="purple"] {
  --accent-rgb: 176, 144, 255;
  --accent-secondary-rgb: 108, 184, 190;
}

[data-accent="gold"] {
  --accent-rgb: 245, 196, 94;
  --accent-secondary-rgb: 108, 184, 190;
}

/* Replaces the old question marks with clean connector lines. */
.knowledge-diagram {
  gap: 0.7rem;
}

.diagram-connector {
  position: relative;
  display: block;
  width: 100%;
  height: 1.15rem;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.diagram-connector::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0.05rem;
  bottom: 0.2rem;
  width: 1px;
  transform: translateX(-50%);
  background: linear-gradient(
    180deg,
    rgba(var(--lively-violet), 0.62),
    rgba(var(--lively-cyan), 0.52)
  );
  box-shadow:
    0 0 10px rgba(var(--lively-violet), 0.22),
    0 0 14px rgba(var(--lively-cyan), 0.15);
}

.diagram-connector::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0.02rem;
  width: 0.5rem;
  height: 0.5rem;
  transform: translateX(-50%) rotate(45deg);
  border-right: 1px solid rgba(var(--lively-cyan), 0.7);
  border-bottom: 1px solid rgba(var(--lively-cyan), 0.7);
}

.knowledge-diagram > .diagram-connector {
  padding: 0;
  background: transparent;
  border-radius: 0;
  text-align: initial;
}

/* Balance purple and softened teal in the title gradient. */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .lively-title,
  .section-heading h2 {
    color: transparent;
    background-image: linear-gradient(
      90deg,
      #ffffff 0%,
      #ffffff 28%,
      rgb(var(--lively-violet)) 42%,
      rgb(var(--lively-cyan)) 55%,
      rgb(var(--lively-gold)) 67%,
      rgba(var(--lively-violet), 0.96) 80%,
      #ffffff 92%,
      #ffffff 100%
    );
    background-size: 220% auto;
    -webkit-background-clip: text;
    background-clip: text;
  }
}

.hero-background::before {
  background: linear-gradient(180deg, rgba(0,0,0,0.16) 0%, rgba(0,0,0,0.35) 44%, rgba(0,0,0,0.64) 100%),
    radial-gradient(circle at 16% 24%, rgba(245,196,94,0.13), transparent 28%),
    radial-gradient(circle at 80% 28%, rgba(var(--lively-violet), 0.14), transparent 25%),
    radial-gradient(circle at 74% 76%, rgba(var(--lively-cyan), 0.08), transparent 24%);
}

.hero-cinematic {
  background: radial-gradient(circle at 50% 28%, rgba(var(--lively-gold), 0.10), transparent 36%),
    radial-gradient(circle at 76% 38%, rgba(var(--lively-violet), 0.15), transparent 30%),
    radial-gradient(circle at 20% 62%, rgba(var(--lively-cyan), 0.07), transparent 30%),
    #020202;
}

.hero-background::after {
  background-image: radial-gradient(circle at 18% 22%, rgba(255,255,255,0.26) 0 1px, transparent 1.7px),
    radial-gradient(circle at 76% 18%, rgba(var(--lively-gold),0.30) 0 1px, transparent 1.8px),
    radial-gradient(circle at 88% 62%, rgba(var(--lively-violet),0.24) 0 1px, transparent 1.7px),
    radial-gradient(circle at 36% 72%, rgba(var(--lively-cyan),0.18) 0 1px, transparent 1.6px);
  opacity: 0.38;
}

.hero-scanline {
  background: linear-gradient(105deg, transparent 0 34%, rgba(255,255,255,0.045) 45%, rgba(var(--lively-violet),0.05) 50%, transparent 64%),
    linear-gradient(180deg, transparent, rgba(var(--lively-cyan),0.02), transparent);
  opacity: 0.52;
}

.glass-panel::before,
.nav-shell::before,
.metric-chip::before {
  background: linear-gradient(
    140deg,
    rgba(255,255,255,0.32),
    rgba(255,255,255,0.055) 34%,
    rgba(var(--accent-secondary-rgb,108,184,190),0.12) 62%,
    rgba(var(--accent-rgb,176,144,255),0.34)
  );
}

.glass-panel::after,
.metric-chip::after {
  background: radial-gradient(circle at 16% 0%, rgba(var(--accent-rgb,176,144,255),0.18), transparent 34%),
    radial-gradient(circle at 100% 100%, rgba(var(--accent-secondary-rgb,108,184,190),0.11), transparent 42%);
}

#live-demo .assistant-demo > .glass-panel,
#outcomes .feature-card,
#plans .plan-card {
  background: radial-gradient(circle at 12% 0%, rgba(var(--accent-rgb,176,144,255),0.15), transparent 38%),
    radial-gradient(circle at 96% 88%, rgba(var(--accent-secondary-rgb,108,184,190),0.11), transparent 42%),
    rgba(255,255,255,0.052);
}

#live-demo .assistant-demo > .glass-panel:hover,
#outcomes .feature-card:hover,
#plans .plan-card:hover {
  background: radial-gradient(circle at 12% 0%, rgba(var(--accent-rgb,176,144,255),0.22), transparent 40%),
    radial-gradient(circle at 96% 88%, rgba(var(--accent-secondary-rgb,108,184,190),0.15), transparent 44%),
    rgba(255,255,255,0.07);
}

.section-dark::before {
  background: radial-gradient(circle at 15% 12%, rgba(var(--lively-violet), 0.08), transparent 32%),
    radial-gradient(circle at 88% 28%, rgba(var(--lively-cyan), 0.07), transparent 34%),
    radial-gradient(circle at 60% 10%, rgba(var(--lively-gold), 0.05), transparent 30%);
}

.success-card {
  background: linear-gradient(
    135deg,
    rgba(var(--lively-violet), 0.08),
    rgba(var(--lively-cyan), 0.06)
  );
  border-color: rgba(var(--lively-violet), 0.18);
}

.success-card strong {
  color: var(--purple-300);
}

/* Section and responsive refinements */

/* Knowledge-system layout */
#knowledge-system .knowledge-layout {
  align-items: stretch;
}

#knowledge-system .knowledge-sidebar,
#knowledge-system .knowledge-panels,
#knowledge-system .knowledge-panel {
  min-width: 0;
}

#knowledge-system .knowledge-sidebar,
#knowledge-system .knowledge-panel {
  height: 100%;
}

#knowledge-system .knowledge-step {
  margin: 0 0 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.04em;
}

#knowledge-system .diagram-output-row {
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

#knowledge-system .diagram-output-row span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 4.4rem;
  padding: 0.8rem 0.65rem;
  text-align: center;
}

#knowledge-system .info-grid {
  column-gap: 1.25rem;
  row-gap: 1.2rem;
}

#knowledge-system .output-list {
  display: grid;
  gap: 1.2rem;
  margin-top: 1rem;
}

#knowledge-system .output-list li {
  padding-left: 0.15rem;
}

#knowledge-system .output-list strong {
  color: var(--gold-300);
  font-weight: 700;
}

/* Content demonstration */
#content-demo {
  padding-top: clamp(4.5rem, 7vw, 6rem);
  padding-bottom: clamp(4.5rem, 7vw, 6rem);
}

#content-demo .section-heading {
  max-width: 58rem;
}

#content-demo .section-heading h2 {
  font-size: clamp(2.2rem, 4.6vw, 3.55rem);
  max-width: 56rem;
}

#content-demo .content-demo-layout {
  align-items: stretch;
}

#content-demo .content-form,
#content-demo .content-result {
  min-width: 0;
  height: 100%;
}

#content-demo .content-form {
  align-content: start;
  gap: 1.35rem;
}

#content-demo .content-result {
  grid-template-rows: auto minmax(20rem, 1fr) auto;
  align-content: stretch;
  gap: 1.2rem;
}

#content-demo .demo-badge {
  width: fit-content;
  min-height: 0;
  align-self: start;
  padding: 0.55rem 0.85rem;
  line-height: 1.2;
}

#content-demo .form-grid,
#content-demo .field-group {
  min-width: 0;
}

#content-demo .field-group input,
#content-demo .field-group select {
  min-width: 0;
  min-height: 3.65rem;
}

#content-demo .result-box {
  min-height: 20rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 1rem;
  padding: clamp(1.15rem, 2vw, 1.5rem);
  text-align: left;
  white-space: pre-wrap;
}

#content-demo .result-box > * {
  width: 100%;
  text-align: left;
}

#content-demo .result-box .label {
  margin: 0;
}

#content-demo .result-actions {
  align-items: center;
}

#content-demo .helper-text:empty {
  display: none;
}

/* Switch to the compact navigation on tablets before the desktop links wrap. */
@media (max-width: 80rem) {
  .site-header .site-nav {
    display: none !important;
  }

  .site-header .nav-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }

  .mobile-site-nav {
    position: fixed;
    top: calc(env(safe-area-inset-top, 0px) + 6.6rem);
    right: clamp(1rem, 4vw, 2rem);
    left: clamp(1rem, 4vw, 2rem);
    z-index: 10010;
    display: none;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 1.25rem;
    background: rgba(6, 8, 18, 0.97);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }

  body.mobile-menu-open .mobile-site-nav {
    display: flex;
  }

  .mobile-site-nav a {
    display: block;
    padding: 0.9rem 1rem;
    border-radius: 0.9rem;
    color: inherit;
    text-decoration: none;
  }

  .mobile-site-nav a:not(.button):hover,
  .mobile-site-nav a:not(.button):focus-visible {
    background: rgba(255, 255, 255, 0.07);
  }

  .mobile-site-nav .nav-cta {
    margin-top: 0.35rem;
    text-align: center;
  }
}

@media (min-width: 64rem) {
  #knowledge-system .knowledge-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  }

  #knowledge-system .knowledge-panels {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #knowledge-system .info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 63.99rem) {
  #knowledge-system .knowledge-layout,
  #knowledge-system .knowledge-panels {
    grid-template-columns: 1fr;
  }

  #content-demo .content-demo-layout {
    grid-template-columns: 1fr;
  }

  #content-demo .content-result {
    grid-template-rows: auto auto auto;
  }

  #content-demo .result-box {
    min-height: 16rem;
  }
}

@media (max-width: 47.99rem) {
  #content-demo {
    padding-top: var(--space-9);
    padding-bottom: var(--space-9);
  }

  #content-demo .section-heading h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  #content-demo .two-column {
    grid-template-columns: 1fr;
  }

  #content-demo .content-form,
  #content-demo .content-result {
    padding: 1.25rem;
  }
}

@media (max-width: 35rem) {
  #knowledge-system .diagram-output-row,
  #knowledge-system .info-grid {
    grid-template-columns: 1fr;
  }

  #knowledge-system .diagram-output-row span {
    min-height: 3.75rem;
  }
}

#content-demo #content-result {
  display: block !important;
  text-align: left !important;
  white-space: normal !important;
}

#content-demo #content-result,
#content-demo #content-result * {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  text-align: left !important;
  justify-self: stretch !important;
  align-self: stretch !important;
}

/* Industry examples */
#examples .industry-panel,
#examples .industry-visual,
#examples .industry-content {
  min-width: 0;
}

#examples .industry-visual {
  min-height: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

#examples .industry-visual img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
  filter: brightness(1) contrast(1.04) saturate(0.94);
  transform: scale(1.001);
}

#examples .industry-panel[data-active-industry="retail"] .industry-visual img {
  filter: brightness(1.09) contrast(1.03) saturate(0.96);
}

#examples .industry-visual,
#examples .industry-content {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 180ms ease,
    transform 220ms ease;
}

#examples .industry-panel.is-switching .industry-visual,
#examples .industry-panel.is-switching .industry-content {
  opacity: 0.16;
  transform: translateY(4px);
}

@media (prefers-reduced-motion: reduce) {
  #examples .industry-visual,
  #examples .industry-content {
    transition: none;
  }

  #examples .industry-panel.is-switching .industry-visual,
  #examples .industry-panel.is-switching .industry-content {
    opacity: 1;
    transform: none;
  }
}

/* Plans and pricing */

#plans .card-grid-three {
  align-items: stretch;
}

#plans .plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  min-width: 0;
  height: 100%;
}

#plans .plan-card-header {
  display: grid;
  gap: 0.85rem;
}

#plans .plan-card h3 {
  min-height: 3.6rem;
}

#plans .plan-price {
  display: grid;
  gap: 0.3rem;
  padding-top: 0.25rem;
}

#plans .plan-price-main {
  display: flex;
  align-items: flex-end;
  gap: 0.2rem;
  color: #fff;
  font-family: var(--font-heading);
}

#plans .plan-currency {
  align-self: flex-start;
  margin-top: 0.55rem;
  color: var(--gold-300);
  font-size: 1.2rem;
  font-weight: 700;
}

#plans .plan-amount {
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.05em;
}

#plans .plan-period {
  padding-bottom: 0.35rem;
  color: var(--text-dim);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
}

#plans .plan-setup {
  color: var(--text-dim);
  font-size: 0.9rem;
}

#plans .plan-features {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  color: var(--text-soft);
}

#plans .plan-card .button {
  width: 100%;
  margin-top: auto;
}

#plans .plan-card-featured {
  border-color: rgba(245, 196, 94, 0.4);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 30px 80px -50px rgba(245, 196, 94, 0.7);
}

#plans .plan-popular-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.4rem 0.65rem;
  border: 1px solid rgba(245, 196, 94, 0.34);
  border-radius: var(--radius-pill);
  background: rgba(245, 196, 94, 0.12);
  color: var(--gold-300);
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

#plans .plan-card-featured .plan-card-header {
  padding-top: 1.4rem;
}

#plans .plan-note {
  max-width: 58rem;
  margin: 0 auto;
  text-align: center;
}

#plans .plan-note p {
  color: var(--text-dim);
  font-size: 0.92rem;
}

@media (max-width: 47.99rem) {
  #plans .plan-card h3 {
    min-height: 0;
  }

  #plans .plan-popular-badge {
    position: static;
    width: fit-content;
    order: -1;
  }

  #plans .plan-card-featured .plan-card-header {
    padding-top: 0;
  }
}

/* Extra spacing above the How It Works section */
#how-it-works {
  padding-top: clamp(7.5rem, 10vw, 9rem);
  scroll-margin-top: 7rem;
}

@media (max-width: 47.99rem) {
  #how-it-works {
    padding-top: 5.5rem;
  }
}

/* Contact form summary refinements */

#contact .lead-layout {
  align-items: start;
}

#contact .lead-summary {
  align-self: start;
  min-height: 0;
  height: auto;
  gap: 1.4rem;
}

#contact .lead-summary-intro {
  margin-bottom: 0.8rem;
  color: var(--text-soft);
}

#contact .lead-summary-checklist {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding-left: 1.2rem;
  color: var(--text-soft);
}

#contact .lead-summary-checklist li::marker {
  color: var(--gold-300);
}

/* =========================================================
   25. Shared homepage production additions
   These rules are scoped to .index-page so the hosting page
   retains its existing appearance while both pages use this file.
   ========================================================= */


.index-page .home-hero h1 {
  max-width: 12ch;
}

.index-page .hero-support-text {
  max-width: 42rem;
  color: var(--text-dim);
  font-size: 0.95rem;
}

.index-page .image-slot-wide {
  aspect-ratio: 16 / 9;
  min-height: 28rem;
}

.index-page .image-slot-knowledge {
  aspect-ratio: 4 / 3;
  min-height: 24rem;
  border: 1px solid var(--line);
  border-radius: 24px;
}

.index-page .image-slot-industry {
  aspect-ratio: 4 / 3;
  min-height: 26rem;
}

.index-page .image-slot-human {
  aspect-ratio: 3 / 2;
  min-height: 25rem;
}

.index-page .image-slot-wide img,
.index-page .image-slot-knowledge img,
.index-page .image-slot-industry img,
.index-page .image-slot-human img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hero system fallback */
.index-page .home-hero-fallback {
  align-content: space-between;
}

.index-page .system-hero-diagram {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 0;
  min-height: 22rem;
}

.index-page .system-source-card,
.index-page .system-core-card {
  display: grid;
  justify-items: center;
  gap: 0.42rem;
  width: min(100%, 24rem);
  padding: 1rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 20px;
  background: rgba(7, 8, 12, 0.86);
  text-align: center;
}

.index-page .system-source-card small,
.index-page .system-core-card small {
  color: var(--text-dim);
  font-size: 0.75rem;
}

.index-page .system-source-card strong,
.index-page .system-core-card strong {
  font-size: 0.92rem;
}

.index-page .system-core-card {
  width: min(100%, 20rem);
  border-color: rgba(var(--purple-rgb), 0.3);
  background:
    linear-gradient(145deg, rgba(var(--purple-rgb), 0.13), rgba(var(--teal-rgb), 0.07)),
    rgba(7, 8, 12, 0.9);
}

.index-page .system-core-mark {
  display: grid;
  place-items: center;
  width: 2.7rem;
  height: 2.7rem;
  border: 1px solid rgba(var(--gold-rgb), 0.3);
  border-radius: 50%;
  background: rgba(var(--gold-rgb), 0.1);
  color: var(--gold-300);
  font-family: var(--font-heading);
  font-weight: 800;
}

.index-page .system-flow-line {
  position: relative;
  width: 1px;
  height: 2rem;
  background: linear-gradient(to bottom, rgba(var(--gold-rgb), 0.75), rgba(255, 255, 255, 0.08));
}

.index-page .system-flow-line::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 7px;
  height: 7px;
  border-right: 1px solid rgba(var(--gold-rgb), 0.8);
  border-bottom: 1px solid rgba(var(--gold-rgb), 0.8);
  transform: translateX(-50%) rotate(45deg);
}

.index-page .system-output-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  width: min(100%, 25rem);
}

.index-page .system-output-grid span {
  display: grid;
  place-items: center;
  min-height: 3.4rem;
  padding: 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
}

/* Question-to-response fallback */
.index-page .question-flow-fallback {
  align-content: space-between;
}

.index-page .question-flow-diagram {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  min-height: 19rem;
}

.index-page .question-flow-stage {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 0.55rem;
  min-height: 10.5rem;
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background: rgba(8, 9, 13, 0.82);
  text-align: center;
}

.index-page .question-flow-stage-core {
  border-color: rgba(var(--teal-rgb), 0.28);
  background:
    linear-gradient(145deg, rgba(var(--teal-rgb), 0.12), rgba(var(--purple-rgb), 0.07)),
    rgba(8, 9, 13, 0.9);
}

.index-page .flow-step {
  display: grid;
  place-items: center;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 12px;
  background: rgba(var(--gold-rgb), 0.1);
  color: var(--gold-300);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
}

.index-page .question-flow-stage strong {
  font-family: var(--font-heading);
  font-size: 1rem;
}

.index-page .question-flow-stage small {
  color: var(--text-dim);
  line-height: 1.45;
}

.index-page .flow-arrow {
  position: relative;
  width: 3.5rem;
  height: 1px;
  background: linear-gradient(to right, rgba(var(--gold-rgb), 0.75), rgba(255, 255, 255, 0.08));
}

.index-page .flow-arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 7px;
  height: 7px;
  border-top: 1px solid rgba(var(--gold-rgb), 0.8);
  border-right: 1px solid rgba(var(--gold-rgb), 0.8);
  transform: translateY(-50%) rotate(45deg);
}

/* Knowledge-system fallback */
.index-page .knowledge-slot-fallback {
  align-content: space-between;
  padding: 1.2rem;
}

.index-page .knowledge-fallback-diagram {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 0;
  min-height: 17rem;
}

.index-page .knowledge-source-row,
.index-page .knowledge-output-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  width: 100%;
}

.index-page .knowledge-source-row span,
.index-page .knowledge-output-row span {
  display: grid;
  place-items: center;
  min-height: 2.8rem;
  padding: 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
}

.index-page .knowledge-fallback-core {
  display: grid;
  justify-items: center;
  gap: 0.32rem;
  width: 100%;
  padding: 0.9rem;
  border: 1px solid rgba(var(--gold-rgb), 0.26);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(var(--gold-rgb), 0.1), rgba(var(--purple-rgb), 0.06)),
    rgba(7, 8, 12, 0.88);
  text-align: center;
}

.index-page .knowledge-fallback-core strong {
  font-size: 0.85rem;
}

.index-page .knowledge-fallback-core small {
  color: var(--text-dim);
  font-size: 0.7rem;
}

.index-page .knowledge-fallback-connector {
  width: 1px;
  height: 1.35rem;
  background: linear-gradient(to bottom, rgba(var(--gold-rgb), 0.75), transparent);
}

/* Industry mockup fallback */
.index-page .industry-fallback-screen {
  position: relative;
  display: grid;
  align-content: start;
  min-height: 18rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background:
    radial-gradient(circle at 80% 20%, rgba(var(--purple-rgb), 0.12), transparent 28%),
    rgba(5, 6, 9, 0.88);
}

.index-page .industry-browser-bar {
  display: flex;
  gap: 0.35rem;
  padding: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.index-page .industry-browser-bar span {
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.index-page .industry-screen-copy {
  display: grid;
  gap: 0.7rem;
  width: 70%;
  padding: 2rem 1.4rem;
}

.index-page .industry-screen-copy small {
  color: var(--gold-300);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.index-page .industry-screen-copy strong {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  line-height: 1.15;
}

.index-page .industry-screen-copy > span {
  width: 80%;
  height: 0.7rem;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
}

.index-page .industry-screen-copy > span:nth-last-child(1) {
  width: 48%;
}

.index-page .industry-phone-card {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  display: grid;
  gap: 0.35rem;
  width: 9rem;
  padding: 1rem;
  border: 1px solid rgba(var(--teal-rgb), 0.25);
  border-radius: 20px;
  background: rgba(9, 11, 15, 0.94);
  box-shadow: var(--shadow);
}

.index-page .industry-phone-card small {
  color: var(--teal-300);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
}

.index-page .industry-phone-card strong {
  font-size: 0.82rem;
}

.index-page #examples .industry-panel {
  transition: opacity 220ms ease, transform 220ms ease;
}

.index-page #examples .industry-panel.is-switching {
  opacity: 0.7;
  transform: translateY(4px);
}

/* Business-owner fallback */
.index-page .owner-scene-fallback {
  display: grid;
  grid-template-columns: minmax(7rem, 0.7fr) minmax(0, 1.3fr);
  align-items: end;
  gap: 1.2rem;
  min-height: 19rem;
  padding: 1rem;
}

.index-page .owner-avatar {
  position: relative;
  min-height: 15rem;
}

.index-page .owner-avatar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 4.6rem;
  height: 4.6rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(var(--gold-rgb), 0.18), rgba(var(--purple-rgb), 0.08));
  transform: translateX(-50%);
}

.index-page .owner-avatar::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 10rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50% 50% 20px 20px;
  background: rgba(255, 255, 255, 0.045);
}

.index-page .owner-workspace {
  position: relative;
  display: grid;
  align-content: end;
  min-height: 17rem;
}

.index-page .owner-laptop {
  display: grid;
  gap: 0.5rem;
  min-height: 10.5rem;
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 20px 20px 8px 8px;
  background:
    radial-gradient(circle at 86% 14%, rgba(var(--teal-rgb), 0.13), transparent 32%),
    rgba(7, 8, 12, 0.9);
}

.index-page .owner-laptop span {
  color: var(--gold-300);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.index-page .owner-laptop strong {
  font-family: var(--font-heading);
  font-size: 1.05rem;
}

.index-page .owner-notification {
  position: absolute;
  right: -0.5rem;
  bottom: -0.5rem;
  display: grid;
  gap: 0.25rem;
  width: 11rem;
  padding: 0.9rem;
  border: 1px solid rgba(var(--purple-rgb), 0.25);
  border-radius: 16px;
  background: rgba(10, 11, 16, 0.95);
  box-shadow: var(--shadow);
}

.index-page .owner-notification small {
  color: var(--purple-300);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
}

.index-page .owner-notification strong {
  font-size: 0.78rem;
  line-height: 1.35;
}

/* Homepage form and utility refinements shared by the existing interactive code */
.index-page .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.index-page .assistant-panel,
.index-page .demo-intro,
.index-page .knowledge-sidebar,
.index-page .knowledge-panel,
.index-page .content-form,
.index-page .content-result,
.index-page .industry-panel,
.index-page .plan-card,
.index-page .lead-form,
.index-page .lead-summary {
  padding: clamp(1.35rem, 2.5vw, 2rem);
}

.index-page .assistant-demo,
.index-page .content-demo-layout,
.index-page .lead-layout,
.index-page .knowledge-layout,
.index-page .knowledge-panels {
  display: grid;
  gap: 1.25rem;
}

.index-page .card-grid,
.index-page .examples-shell {
  display: grid;
  gap: 1.25rem;
}

.index-page .card-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.index-page .grid-two,
.index-page .assistant-demo,
.index-page .content-demo-layout,
.index-page .lead-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.index-page .knowledge-layout {
  grid-template-columns: minmax(18rem, 0.82fr) minmax(0, 1.18fr);
}

.index-page .knowledge-panels {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.index-page .two-column {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.index-page .form-grid {
  display: grid;
  gap: 1rem;
}

.index-page .form-actions,
.index-page .result-actions,
.index-page .assistant-form-actions,
.index-page .suggested-prompts,
.index-page .segmented-control,
.index-page .industry-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.index-page .panel-head,
.index-page .content-form,
.index-page .content-result,
.index-page .lead-form,
.index-page .lead-summary,
.index-page .demo-intro,
.index-page .assistant-form {
  display: grid;
  gap: 1rem;
}

.index-page .field-group {
  display: grid;
  gap: 0.5rem;
}

.index-page .field-group label {
  color: #fff;
  font-weight: 600;
}

.index-page .field-group input,
.index-page .field-group select,
.index-page .field-group textarea,
.index-page .assistant-form input {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}

.index-page .field-group textarea {
  resize: vertical;
}

.index-page .field-error {
  min-height: 1.2rem;
  margin: 0;
  color: #ffb8b8;
  font-size: 0.86rem;
}

.index-page .helper-text {
  min-height: 1.2rem;
  color: var(--text-dim);
  font-size: 0.9rem;
}

.index-page .pill-button,
.index-page .segmented-button,
.index-page .industry-tab {
  padding: 0.78rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-soft);
}

.index-page .pill-button:hover,
.index-page .segmented-button:hover,
.index-page .industry-tab:hover,
.index-page .segmented-button.is-active,
.index-page .industry-tab.is-active {
  border-color: rgba(var(--gold-rgb), 0.34);
  background: rgba(var(--gold-rgb), 0.1);
  color: #fff;
}

.index-page .label,
.index-page .demo-badge,
.index-page .message-label,
.index-page .knowledge-step {
  color: var(--gold-300);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.index-page .demo-badge {
  width: fit-content;
  padding: 0.52rem 0.75rem;
  border: 1px solid rgba(var(--gold-rgb), 0.24);
  border-radius: var(--radius-pill);
  background: rgba(var(--gold-rgb), 0.08);
}

.index-page .chat-shell,
.index-page .chat-thread {
  display: grid;
  gap: 0.85rem;
}

.index-page .chat-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--text-dim);
}

.index-page .chat-thread {
  max-height: 24rem;
  overflow: auto;
}

.index-page .message {
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
}

.index-page .message-user {
  margin-left: auto;
  background: rgba(var(--gold-rgb), 0.1);
}

.index-page .mini-ui {
  min-height: 5rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  background: rgba(6, 7, 10, 0.48);
}

.index-page .mini-ui-chat {
  display: grid;
  gap: 0.65rem;
}

.index-page .mini-ui-chat span {
  height: 0.68rem;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.11);
}

.index-page .mini-ui-chat span:nth-child(1) { width: 78%; }
.index-page .mini-ui-chat span:nth-child(2) { width: 55%; }
.index-page .mini-ui-chat span:nth-child(3) { width: 68%; }

.index-page .mini-ui-lead,
.index-page .mini-ui-content {
  display: grid;
  gap: 0.35rem;
}

.index-page .feature-card ul,
.index-page .plan-card ul,
.index-page .output-list {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  color: var(--text-soft);
}

.index-page .info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
}

.index-page .info-grid dt {
  margin-bottom: 0.25rem;
  color: var(--gold-300);
  font-weight: 700;
}

.index-page .info-grid dd {
  margin: 0;
  color: var(--text-soft);
}

.index-page .result-box {
  min-height: 15rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background: rgba(5, 6, 9, 0.5);
  white-space: pre-wrap;
}

.index-page .industry-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: 1.5rem;
}

.index-page .industry-content,
.index-page .industry-copy-block {
  display: grid;
  gap: 1rem;
}

.index-page .industry-data-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.index-page .process-timeline {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.index-page .process-timeline li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.035);
}

.index-page .process-timeline li > strong {
  color: var(--gold-300);
  font-family: var(--font-heading);
}

.index-page .lead-summary-checklist {
  display: grid;
  gap: 0.7rem;
  color: var(--text-soft);
}

@media (max-width: 1100px) {
  .index-page .knowledge-layout,
  .index-page .knowledge-panels {
    grid-template-columns: 1fr;
  }

  .index-page .card-grid-three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .index-page .grid-two,
  .index-page .assistant-demo,
  .index-page .content-demo-layout,
  .index-page .lead-layout,
  .index-page .industry-panel {
    grid-template-columns: 1fr;
  }

  .index-page .image-slot-wide {
    min-height: 24rem;
  }

  .index-page .question-flow-diagram {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .index-page .flow-arrow {
    width: 1px;
    height: 2rem;
    background: linear-gradient(to bottom, rgba(var(--gold-rgb), 0.75), rgba(255, 255, 255, 0.08));
  }

  .index-page .flow-arrow::after {
    top: auto;
    right: auto;
    bottom: 0;
    left: 50%;
    border-top: 0;
    border-right: 1px solid rgba(var(--gold-rgb), 0.8);
    border-bottom: 1px solid rgba(var(--gold-rgb), 0.8);
    transform: translateX(-50%) rotate(45deg);
  }

  .index-page .question-flow-stage {
    min-height: 7rem;
  }
}

@media (max-width: 700px) {
  .index-page .card-grid-three,
  .index-page .two-column,
  .index-page .info-grid,
  .index-page .industry-data-grid {
    grid-template-columns: 1fr;
  }

  .index-page .image-slot-wide,
  .index-page .image-slot-knowledge,
  .index-page .image-slot-industry,
  .index-page .image-slot-human {
    min-height: 0;
  }

  .index-page .image-slot-wide {
    aspect-ratio: 4 / 5;
  }

  .index-page .image-slot-human {
    aspect-ratio: 5 / 6;
  }

  .index-page .owner-scene-fallback {
    grid-template-columns: 0.7fr 1.3fr;
    min-height: 23rem;
    padding: 0;
  }

  .index-page .system-output-grid,
  .index-page .knowledge-source-row,
  .index-page .knowledge-output-row {
    grid-template-columns: 1fr;
  }

  .index-page .process-timeline li {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .index-page .image-slot-hero {
    aspect-ratio: 5 / 7;
  }

  .index-page .system-hero-diagram {
    min-height: 27rem;
  }

  .index-page .owner-notification {
    right: 0;
    width: 9.5rem;
  }

  .index-page .assistant-form-actions,
  .index-page .form-actions,
  .index-page .result-actions {
    display: grid;
  }

  .index-page .assistant-form-actions .button,
  .index-page .form-actions .button,
  .index-page .result-actions .button,
  .index-page .pill-button,
  .index-page .segmented-button,
  .index-page .industry-tab {
    width: 100%;
  }
}

/* =========================================================
   26. Final homepage hero composition
   Dedicated IMG-8 background with separate desktop and mobile tuning
   ========================================================= */

body.index-page {
  background:
    radial-gradient(circle at 12% 8%, rgba(var(--gold-rgb), 0.055), transparent 24%),
    radial-gradient(circle at 88% 14%, rgba(var(--purple-rgb), 0.05), transparent 28%),
    #020204;
}

/* Header integration and visible navigation CTA */
.index-page .site-header {
  background: transparent;
}

.index-page .nav-shell {
  border-color: rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(90deg, rgba(39, 30, 53, 0.38), rgba(8, 12, 17, 0.62)),
    rgba(7, 8, 12, 0.64);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    0 24px 70px -46px rgba(0, 0, 0, 0.95);
}

.index-page .site-nav .nav-cta,
.index-page .mobile-site-nav .nav-cta {
  border-color: rgba(var(--gold-rgb), 0.48);
  background:
    linear-gradient(180deg, rgba(var(--gold-rgb), 0.12), rgba(var(--gold-rgb), 0.055)),
    rgba(8, 9, 12, 0.82);
  color: var(--gold-300);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 18px 42px -28px rgba(var(--gold-rgb), 0.72);
}

/* Hero canvas */
.index-page .home-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(690px, calc(100svh - 82px), 850px);
  padding: clamp(2.25rem, 4.5vw, 4.25rem) 0 clamp(3.5rem, 5.5vw, 5.25rem);
  overflow: hidden;
  background: #020307;
}

.index-page .home-hero .hero-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: #020307;
}

.index-page .home-hero .hero-background-art {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
}

.index-page .home-hero .hero-background-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  opacity: 0.9;
  filter: saturate(1.03) contrast(1.05) brightness(0.82);
  transform: scale(1.015);
}

.index-page .home-hero .hero-background-vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* IMG-8 already contains subtle geometry. */
.index-page .home-hero .hero-grid,
.index-page .home-hero .hero-orb {
  display: none;
}

/* Desktop composition */
.index-page .home-hero .hero-layout {
  position: relative;
  z-index: 3;
  width: min(calc(100% - 4rem), 1320px);
  display: grid;
  grid-template-columns: minmax(0, 0.93fr) minmax(31rem, 1.07fr);
  align-items: center;
  gap: clamp(2.5rem, 4vw, 4.5rem);
}

.index-page .home-hero .hero-copy {
  display: grid;
  align-content: center;
  gap: 1.2rem;
  min-width: 0;
  padding-top: 0.25rem;
}

.index-page .home-hero .hero-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(var(--gold-rgb), 0.27);
  border-radius: var(--radius-pill);
  background:
    linear-gradient(135deg, rgba(var(--gold-rgb), 0.14), rgba(var(--purple-rgb), 0.075)),
    rgba(7, 8, 12, 0.78);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 18px 42px -30px rgba(var(--gold-rgb), 0.68);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.index-page .home-hero .hero-badge-label {
  display: inline-flex;
  align-items: center;
  min-height: auto;
  padding: 0.7rem 1.05rem;
  border-radius: inherit;
  background: transparent;
  color: var(--gold-300);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.index-page .home-hero .hero-badge > span:last-child {
  display: none;
}

.index-page .home-hero .hero-title {
  width: 100%;
  max-width: none;
  margin: 0.35rem 0 0;
  font-size: clamp(3.5rem, 4.55vw, 5rem);
  font-weight: 800;
  line-height: 0.97;
  letter-spacing: -0.058em;
}

.index-page .home-hero .hero-title-desktop {
  display: grid;
  gap: 0.03em;
}

.index-page .home-hero .hero-title-desktop > span {
  display: block;
  width: fit-content;
  padding-bottom: 0.075em;
  white-space: nowrap;
  background:
    linear-gradient(
      105deg,
      #ffffff 0%,
      #ffffff 20%,
      #eadcff 39%,
      #bc9fff 58%,
      #8caaf5 77%,
      #70d9d4 100%
    );
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.index-page .home-hero .hero-title-mobile {
  display: none;
}

.index-page .home-hero .hero-text {
  max-width: 40rem;
  margin-top: 0.05rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.02rem, 1.32vw, 1.15rem);
  line-height: 1.7;
}

.index-page .home-hero .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.95rem;
  margin-top: 0.35rem;
}

.index-page .home-hero .hero-actions .button {
  min-height: 3.75rem;
  padding: 1rem 1.4rem;
  font-size: 1rem;
}

.index-page .home-hero .hero-actions .button-primary {
  min-width: 18rem;
  border-color: rgba(var(--gold-rgb), 0.48);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.045)),
    rgba(11, 11, 13, 0.82);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 0 0 1px rgba(var(--gold-rgb), 0.08),
    0 20px 45px -28px rgba(var(--gold-rgb), 0.76);
}

.index-page .home-hero .hero-actions .button-primary::before {
  content: "✦";
  margin-right: 0.15rem;
  color: var(--gold-300);
  font-size: 1.05rem;
  line-height: 1;
  text-shadow: 0 0 14px rgba(var(--gold-rgb), 0.62);
}

.index-page .home-hero .hero-actions .button-secondary {
  min-width: 15rem;
  border-color: rgba(113, 217, 212, 0.28);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
    rgba(7, 9, 13, 0.68);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 18px 42px -30px rgba(113, 217, 212, 0.46);
}

.index-page .home-hero .button-play-icon {
  display: inline-block;
  width: 0;
  height: 0;
  margin-right: 0.2rem;
  border-top: 0.42rem solid transparent;
  border-bottom: 0.42rem solid transparent;
  border-left: 0.7rem solid #79d9d4;
  filter: drop-shadow(0 0 8px rgba(121, 217, 212, 0.56));
}

.index-page .home-hero .hero-support-text {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  max-width: 40rem;
  margin-top: 0.05rem;
  color: rgba(255, 255, 255, 0.61);
  font-size: 0.9rem;
  line-height: 1.5;
}

.index-page .home-hero .hero-support-icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 1.55rem;
  height: 1.7rem;
  border: 1px solid rgba(var(--gold-rgb), 0.5);
  border-radius: 48% 48% 58% 58% / 36% 36% 64% 64%;
  background: rgba(var(--gold-rgb), 0.075);
  color: var(--gold-300);
  font-size: 0.68rem;
  font-weight: 800;
  box-shadow: 0 0 18px -10px rgba(var(--gold-rgb), 0.75);
}

/* Foreground system image */
.index-page .home-hero .hero-visual {
  position: relative;
  z-index: 4;
  min-width: 0;
  width: 100%;
}

.index-page .home-hero .image-slot-hero {
  position: relative;
  width: 100%;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  margin: 0;
  padding: 0.22rem;
  overflow: hidden;
  border: 1px solid rgba(var(--purple-rgb), 0.42);
  border-radius: 2rem;
  background:
    linear-gradient(145deg, rgba(var(--gold-rgb), 0.05), rgba(var(--purple-rgb), 0.08) 58%, rgba(var(--teal-rgb), 0.055)),
    rgba(4, 6, 11, 0.78);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 38px 90px -48px rgba(0, 0, 0, 1),
    0 0 72px -36px rgba(var(--purple-rgb), 0.82),
    0 0 52px -38px rgba(var(--teal-rgb), 0.62);
}

.index-page .home-hero .image-slot-hero picture,
.index-page .home-hero .image-slot-hero img {
  display: block;
  width: 100%;
}

.index-page .home-hero .image-slot-hero img {
  height: auto;
  border-radius: calc(2rem - 0.22rem);
  object-fit: contain;
  filter: saturate(1.03) contrast(1.025) brightness(0.98);
}

@media (max-width: 1180px) {
  .index-page .home-hero .hero-layout {
    width: min(calc(100% - 3rem), 1160px);
    grid-template-columns: minmax(0, 0.98fr) minmax(27rem, 1.02fr);
    gap: 2.5rem;
  }

  .index-page .home-hero .hero-title {
    font-size: clamp(3.15rem, 5vw, 4.45rem);
  }

  .index-page .home-hero .hero-actions .button-primary {
    min-width: 16rem;
  }

  .index-page .home-hero .hero-actions .button-secondary {
    min-width: 13.5rem;
  }
}

@media (max-width: 900px) {
  .index-page .home-hero {
    min-height: auto;
    padding-top: 2.7rem;
    padding-bottom: 3.25rem;
  }

  .index-page .home-hero .hero-layout {
    width: min(calc(100% - 3rem), 760px);
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .index-page .home-hero .hero-copy {
    max-width: 44rem;
  }

  .index-page .home-hero .hero-visual {
    width: min(100%, 46rem);
  }

  .index-page .home-hero .hero-background-vignette {
    background:
      linear-gradient(
        180deg,
        rgba(2, 3, 7, 0.64) 0%,
        rgba(2, 3, 7, 0.28) 36%,
        rgba(2, 3, 7, 0.16) 68%,
        rgba(2, 3, 7, 0.42) 100%
      );
  }
}

/* Mobile mockup composition */
@media (max-width: 700px) {
  .index-page .home-hero {
    min-height: auto;
    padding-top: 1.55rem;
    padding-bottom: 0;
  }

  .index-page .home-hero .hero-layout {
    display: flex;
    flex-direction: column;
    width: min(calc(100% - 1.5rem), 34rem);
    gap: 0;
  }

  .index-page .home-hero .hero-copy {
    position: relative;
    z-index: 5;
    display: grid;
    justify-items: center;
    gap: 0.95rem;
    width: 100%;
    max-width: none;
    padding-top: 0;
    text-align: center;
  }

  .index-page .home-hero .hero-background-art img {
    object-position: center bottom;
    opacity: 0.68;
    filter: saturate(1.06) contrast(1.04) brightness(0.68);
    transform: scale(1.03);
  }

  .index-page .home-hero .hero-background-vignette {
    background:
      linear-gradient(
        180deg,
        rgba(2, 3, 7, 0.62) 0%,
        rgba(2, 3, 7, 0.35) 26%,
        rgba(2, 3, 7, 0.2) 50%,
        rgba(2, 3, 7, 0.18) 72%,
        rgba(2, 3, 7, 0.38) 100%
      ),
      linear-gradient(
        90deg,
        rgba(2, 3, 7, 0.26),
        rgba(2, 3, 7, 0.04),
        rgba(2, 3, 7, 0.26)
      );
  }

  .index-page .home-hero .hero-badge-label {
    padding: 0.66rem 1rem;
    font-size: 0.71rem;
  }

  .index-page .home-hero .hero-title {
    width: 100%;
    max-width: 22rem;
    margin: 0.3rem auto 0;
    font-size: clamp(2.85rem, 12.1vw, 3.55rem);
    line-height: 0.975;
    letter-spacing: -0.055em;
  }

  .index-page .home-hero .hero-title-desktop {
    display: none;
  }

  .index-page .home-hero .hero-title-mobile {
    display: grid;
    gap: 0.02em;
  }

  .index-page .home-hero .hero-title-mobile > span {
    display: block;
    width: 100%;
    padding-bottom: 0.06em;
    white-space: nowrap;
    background:
      linear-gradient(
        105deg,
        #ffffff 0%,
        #ffffff 20%,
        #eadcff 40%,
        #bc9fff 59%,
        #8daaf5 78%,
        #71d8d4 100%
      );
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  .index-page .home-hero .hero-text {
    max-width: 23rem;
    margin-top: 0.1rem;
    color: rgba(255, 255, 255, 0.79);
    font-size: 0.98rem;
    line-height: 1.58;
  }

  .index-page .home-hero .hero-actions {
    display: grid;
    gap: 0.68rem;
    width: 100%;
    margin-top: 0.3rem;
  }

  .index-page .home-hero .hero-actions .button,
  .index-page .home-hero .hero-actions .button-primary,
  .index-page .home-hero .hero-actions .button-secondary {
    width: 100%;
    min-width: 0;
    min-height: 3.6rem;
    padding: 0.95rem 1.1rem;
    font-size: 0.99rem;
  }

  .index-page .home-hero .hero-support-text {
    display: none;
  }

  .index-page .home-hero .hero-visual {
    position: relative;
    z-index: 3;
    width: calc(100% + 1.5rem);
    margin-top: -0.5rem;
    margin-right: -0.75rem;
    margin-left: -0.75rem;
  }

  .index-page .home-hero .image-slot-hero {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .index-page .home-hero .image-slot-hero::before,
  .index-page .home-hero .image-slot-hero::after {
    display: none;
  }

  .index-page .home-hero .image-slot-hero picture {
    display: block;
    width: 100%;
  }

  .index-page .home-hero .image-slot-hero img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 0;
    object-fit: contain;
    object-position: center top;
    filter: saturate(1.04) contrast(1.025) brightness(0.92);
    -webkit-mask-image:
      linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0, 0, 0, 0.78) 3.5%,
        #000 9%,
        #000 95%,
        transparent 100%
      );
    mask-image:
      linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0, 0, 0, 0.78) 3.5%,
        #000 9%,
        #000 95%,
        transparent 100%
      );
  }
}

@media (max-width: 430px) {
  .index-page .home-hero {
    padding-top: 1.35rem;
  }

  .index-page .home-hero .hero-layout {
    width: min(calc(100% - 1.15rem), 32rem);
  }

  .index-page .home-hero .hero-title {
    max-width: 21rem;
    font-size: clamp(2.7rem, 12.5vw, 3.35rem);
  }

  .index-page .home-hero .hero-text {
    max-width: 22rem;
    font-size: 0.96rem;
  }

  .index-page .home-hero .hero-visual {
    width: calc(100% + 1.15rem);
    margin-right: -0.575rem;
    margin-left: -0.575rem;
  }
}

/* =========================================================
   27. Hero background visibility and desktop spacing fix
   ========================================================= */

/*
  Use IMG-8 directly from the stylesheet. Because this stylesheet
  lives in /css, the correct relative path is ../media/IMG-8.png.
*/
.index-page .home-hero .hero-background {
  background-color: #020307 !important;
  background-image: url("../media/IMG_8.png?v=20260715-1") !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  background-position: center bottom !important;
}

/* Prevent earlier hero overlays from darkening the new artwork. */
.index-page .home-hero .hero-background::before,
.index-page .home-hero .hero-background::after {
  content: none !important;
  display: none !important;
}

/* The CSS background above replaces the duplicate HTML background layer. */
.index-page .home-hero .hero-background-art {
  display: none !important;
}

/* Make the energy artwork visible while protecting text contrast. */
.index-page .home-hero .hero-background-vignette {
  background: linear-gradient(
      90deg,
      rgba(2, 3, 7, 0.74) 0%,
      rgba(2, 3, 7, 0.58) 31%,
      rgba(2, 3, 7, 0.22) 55%,
      rgba(2, 3, 7, 0.06) 75%,
      rgba(2, 3, 7, 0.17) 100%
    ),
    linear-gradient(
      180deg,
      rgba(2, 3, 7, 0.18) 0%,
      rgba(2, 3, 7, 0.02) 44%,
      rgba(2, 3, 7, 0.08) 72%,
      rgba(2, 3, 7, 0.24) 100%
    ) !important;
}

/* Give the desktop headline more room between the two columns. */
@media (min-width: 901px) {
  .index-page .home-hero .hero-layout {
    width: min(calc(100% - 4rem), 1360px);
    grid-template-columns: minmax(0, 1.03fr) minmax(30rem, 0.97fr);
    gap: clamp(3.25rem, 4.5vw, 5rem);
  }

  .index-page .home-hero .hero-copy {
    padding-right: 0.5rem;
  }

  .index-page .home-hero .hero-title {
    font-size: clamp(3.25rem, 4.15vw, 4.65rem);
    letter-spacing: -0.052em;
  }

  .index-page .home-hero .hero-title-desktop > span {
    max-width: 100%;
  }

  .index-page .home-hero .hero-visual {
    justify-self: end;
    width: min(100%, 42rem);
  }
}

/* Keep the mobile layout, but expose more of the new background artwork. */
@media (max-width: 700px) {
  .index-page .home-hero .hero-background {
    background-size: auto 58rem !important;
    background-position: 46% 5rem !important;
    background-color: #020307 !important;
  }

  .index-page .home-hero .hero-background-vignette {
    background:
      linear-gradient(
        180deg,
        rgba(2, 3, 7, 0.46) 0%,
        rgba(2, 3, 7, 0.24) 28%,
        rgba(2, 3, 7, 0.1) 53%,
        rgba(2, 3, 7, 0.12) 74%,
        rgba(2, 3, 7, 0.3) 100%
      ),
      linear-gradient(
        90deg,
        rgba(2, 3, 7, 0.2),
        rgba(2, 3, 7, 0.02),
        rgba(2, 3, 7, 0.2)
      ) !important;
  }
}

/* =========================================================
   28. Final hero polish: headline motion, clipping, and dust
   ========================================================= */

.index-page .home-hero .hero-particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.66;
  mix-blend-mode: screen;
}

.index-page .home-hero .hero-title,
.index-page .home-hero .hero-title-desktop,
.index-page .home-hero .hero-title-mobile,
.index-page .home-hero .hero-title-desktop > span,
.index-page .home-hero .hero-title-mobile > span {
  overflow: visible;
}

.index-page .home-hero .hero-title-desktop > span,
.index-page .home-hero .hero-title-mobile > span {
  padding-inline-end: 0.2em;
  margin-inline-end: -0.2em;
  background-size: 230% 100%;
  background-repeat: no-repeat;
  animation: webstingHeroGradient 12s ease-in-out infinite;
  will-change: background-position;
}

.index-page .home-hero .hero-title-desktop > span:nth-child(2),
.index-page .home-hero .hero-title-mobile > span:nth-child(2) {
  animation-delay: -3.5s;
}

.index-page .home-hero .hero-title-mobile > span:nth-child(3) {
  animation-delay: -7s;
}

@keyframes webstingHeroGradient {
  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

@media (min-width: 901px) {
  .index-page .home-hero .hero-layout {
    width: min(calc(100% - 4rem), 1380px);
    grid-template-columns: minmax(0, 1.08fr) minmax(29rem, 0.92fr);
    gap: clamp(3.5rem, 4.8vw, 5.25rem);
  }

  .index-page .home-hero .hero-copy {
    min-width: 0;
    padding-right: 1rem;
    overflow: visible;
  }

  .index-page .home-hero .hero-title {
    max-width: none;
    font-size: clamp(3.15rem, 3.85vw, 4.4rem);
    line-height: 0.985;
    letter-spacing: -0.049em;
  }

  .index-page .home-hero .hero-title-desktop > span {
    width: max-content;
    max-width: none;
  }

  .index-page .home-hero .hero-visual {
    justify-self: end;
    width: min(100%, 40.5rem);
  }
}

@media (max-width: 700px) {
  .index-page .home-hero .hero-particles {
    opacity: 0.48;
  }
}

@media (prefers-reduced-motion: reduce) {
  .index-page .home-hero .hero-title-desktop > span,
  .index-page .home-hero .hero-title-mobile > span {
    animation: none;
    background-position: 50% 50%;
  }

  .index-page .home-hero .hero-particles {
    opacity: 0.38;
  }
}

/* =========================================================
   Desktop hero spacing and particle visibility refinement
   ========================================================= */

@media (min-width: 901px) {
  .index-page .home-hero {
    min-height: 650px;
    align-items: start;
    padding-top: 1.5rem;
    padding-bottom: 3rem;
  }

  .index-page .home-hero .hero-layout {
    align-items: center;
    padding-top: 1.25rem;
  }

  .index-page .home-hero .hero-background {
    background-position: center 58% !important;
  }

  .index-page .home-hero .hero-background-vignette {
    background:
      linear-gradient(
        90deg,
        rgba(2, 3, 7, 0.7) 0%,
        rgba(2, 3, 7, 0.48) 30%,
        rgba(2, 3, 7, 0.16) 56%,
        rgba(2, 3, 7, 0.04) 76%,
        rgba(2, 3, 7, 0.12) 100%
      ),
      linear-gradient(
        180deg,
        rgba(2, 3, 7, 0.1) 0%,
        rgba(2, 3, 7, 0.01) 50%,
        rgba(2, 3, 7, 0.16) 100%
      ) !important;
  }

  .index-page .home-hero .hero-particles {
    opacity: 0.9;
    filter: brightness(1.2);
  }
}

/* =========================================================
   Desktop hero bottom blend
   ========================================================= */

@media (min-width: 901px) {
  .index-page .home-hero {
    min-height: 690px;
    padding-bottom: 4.5rem;
  }

  .index-page .home-hero::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    height: 8rem;
    pointer-events: none;
    background:
      linear-gradient(
        to bottom,
        rgba(2, 3, 7, 0) 0%,
        rgba(2, 3, 7, 0.18) 38%,
        rgba(2, 3, 7, 0.72) 78%,
        #020204 100%
      );
  }

  .index-page .home-hero .hero-layout {
    z-index: 4;
  }

  .index-page .home-hero .hero-particles {
    z-index: 2;
  }
}

/* =========================================================
   29. Final desktop and mobile hero alignment
   Desktop content lowered slightly.
   Mobile uses IMG-9 and receives the final spacing refinements.
   ========================================================= */

/* Lower the desktop composition slightly without changing the background crop. */
@media (min-width: 901px) {
  .index-page .home-hero {
    padding-top: 2.1rem;
  }

  .index-page .home-hero .hero-layout {
    padding-top: 1.5rem;
  }
}

/* Final mobile composition */
@media (max-width: 700px) {
  /* Reduce the open area between the navigation and hero badge. */
  .index-page .home-hero {
    padding-top: 0.35rem;
  }

  /*
    Use the portrait background through the copy and CTA area.
    A fixed height preserves the colored edges instead of cropping
    the portrait artwork down to its dark center.
  */
  .index-page .home-hero .hero-background {
    background-color: #020307 !important;
    background-image: url("../media/IMG_9.png?v=20260715-1") !important;
    background-repeat: no-repeat !important;
    background-size: auto 72rem !important;
    background-position: center top !important;
  }

  .index-page .home-hero .hero-background-vignette {
    background:
      linear-gradient(
        180deg,
        rgba(2, 3, 7, 0.34) 0%,
        rgba(2, 3, 7, 0.18) 24%,
        rgba(2, 3, 7, 0.08) 50%,
        rgba(2, 3, 7, 0.14) 72%,
        rgba(2, 3, 7, 0.34) 100%
      ),
      linear-gradient(
        90deg,
        rgba(2, 3, 7, 0.08) 0%,
        rgba(2, 3, 7, 0.01) 20%,
        rgba(2, 3, 7, 0.01) 80%,
        rgba(2, 3, 7, 0.08) 100%
      ) !important;
  }

  .index-page .home-hero .hero-copy {
    gap: 0.88rem;
  }

  /* Reduce the headline by roughly four percent for safer edge spacing. */
  .index-page .home-hero .hero-title {
    max-width: 21.5rem;
    font-size: clamp(2.7rem, 11.6vw, 3.4rem);
    line-height: 0.985;
  }

  .index-page .home-hero .hero-text {
    max-width: 22.5rem;
    font-size: 0.97rem;
    line-height: 1.56;
  }

  .index-page .home-hero .hero-actions {
    gap: 0.65rem;
    margin-top: 0.2rem;
  }

  /*
    Bring the foreground diagram into the first composition and
    soften its top edge so it feels connected to the hero.
  */
  .index-page .home-hero .hero-visual {
    margin-top: -1.2rem;
  }

  .index-page .home-hero .image-slot-hero img {
    -webkit-mask-image:
      linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0, 0, 0, 0.54) 2.5%,
        #000 7%,
        #000 95%,
        transparent 100%
      );
    mask-image:
      linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0, 0, 0, 0.54) 2.5%,
        #000 7%,
        #000 95%,
        transparent 100%
      );
  }

  /*
    Prevent hero artwork from showing through the sticky navigation
    after the user begins scrolling.
  */
  .index-page .site-header.is-scrolled {
    background: rgba(2, 3, 6, 0.94);
    box-shadow: 0 18px 38px -30px rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }

  .index-page .site-header.is-scrolled .nav-shell {
    border-color: rgba(255, 255, 255, 0.18);
    background:
      linear-gradient(
        90deg,
        rgba(34, 26, 46, 0.88),
        rgba(6, 9, 13, 0.94)
      ),
      rgba(5, 6, 9, 0.96);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.1),
      0 20px 48px -34px rgba(0, 0, 0, 1);
  }
}

@media (max-width: 430px) {
  .index-page .home-hero .hero-title {
    max-width: 20.75rem;
    font-size: clamp(2.58rem, 11.8vw, 3.2rem);
  }
}


@media (max-width: 480px) {
  .brand-mark-image {
    flex-basis: 2.5rem;
    width: 2.5rem;
    height: 2.5rem;
  }
}

/* =========================================================
   30. Live demo system layout
   The explainer now receives its own full-width row. Service
   highlights sit below it instead of covering the artwork.
   ========================================================= */

.index-page #live-demo .live-demo-system {
  display: grid;
  gap: clamp(1.15rem, 2vw, 1.6rem);
  min-width: 0;
}

.index-page #live-demo .system-visual {
  width: 100%;
  max-width: 72rem;
  min-height: 0;
  margin: 0 auto;
  aspect-ratio: auto;
  border-radius: clamp(1.35rem, 2.5vw, 2rem);
  background: rgba(3, 5, 10, 0.82);
}

.index-page #live-demo .system-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
}

.index-page #live-demo .system-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.index-page #live-demo .system-benefits .metric-chip {
  display: grid;
  align-content: start;
  gap: 0.38rem;
  min-width: 0;
  min-height: 100%;
  padding: clamp(1.05rem, 2vw, 1.35rem);
  border-radius: 1.4rem;
}

.index-page #live-demo .system-benefits .metric-chip strong {
  margin: 0;
  font-family: var(--font-heading);
  line-height: 1.25;
}

.index-page #live-demo .system-benefits .metric-chip span {
  line-height: 1.55;
}

@media (max-width: 900px) {
  .index-page #live-demo .system-benefits {
    grid-template-columns: 1fr;
  }

  .index-page #live-demo .system-benefits .metric-chip {
    min-height: 0;
  }
}

@media (max-width: 700px) {
  .index-page #live-demo .system-visual {
    width: calc(100% + 0.5rem);
    margin-left: -0.25rem;
    border-radius: 1.15rem;
  }

  .index-page #live-demo .system-benefits {
    gap: 0.8rem;
  }

  .index-page #live-demo .assistant-demo {
    gap: 1rem;
  }
}

/* =========================================================
   31. Live demo final layout correction
   ========================================================= */
.index-page #live-demo {
  padding-bottom: clamp(5.5rem, 8vw, 7.5rem);
}

.index-page #live-demo .section-stack {
  gap: clamp(1.75rem, 3vw, 2.75rem);
}

.index-page #live-demo .live-demo-system {
  display: grid;
  gap: clamp(1.25rem, 2.25vw, 1.9rem);
  min-width: 0;
}

.index-page #live-demo .system-visual {
  display: block;
  width: 100%;
  max-width: 74rem;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 auto;
  aspect-ratio: auto !important;
  overflow: hidden;
  border-radius: clamp(1.3rem, 2.2vw, 2rem);
  background: #050810;
}

.index-page #live-demo .system-visual picture {
  display: block;
  width: 100%;
  height: auto;
}

.index-page #live-demo .system-visual img {
  display: block;
  width: 100%;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center;
}

.index-page #live-demo .system-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 1.8vw, 1.35rem);
  align-items: stretch;
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
}

.index-page #live-demo .system-benefits .metric-chip {
  display: grid;
  align-content: start;
  gap: 0.55rem;
  min-width: 0;
  min-height: 100%;
  padding: clamp(1.2rem, 2vw, 1.55rem);
  border-radius: 1.45rem;
  border-color: rgba(var(--accent-rgb, 245, 196, 94), 0.18);
  background:
    radial-gradient(circle at 8% 0%, rgba(var(--accent-rgb,245,196,94),0.12), transparent 42%),
    radial-gradient(circle at 100% 100%, rgba(var(--accent-secondary-rgb,108,184,190),0.08), transparent 46%),
    rgba(255,255,255,0.05);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.1),
    0 20px 48px -38px rgba(var(--accent-rgb,245,196,94),0.34);
}

.index-page #live-demo .metric-chip-kicker {
  margin: 0;
  color: rgba(var(--accent-rgb,245,196,94),0.95);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}

.index-page #live-demo .system-benefits .metric-chip strong {
  margin: 0;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: clamp(1.14rem, 1.45vw, 1.35rem);
  line-height: 1.25;
}

.index-page #live-demo .system-benefits .metric-chip span {
  display: block;
  color: rgba(255,255,255,0.72);
  font-size: 0.97rem;
  line-height: 1.58;
}

.index-page #live-demo .assistant-demo {
  margin-top: clamp(0.25rem, 1vw, 0.75rem);
  gap: clamp(1rem, 2vw, 1.4rem);
}

@media (max-width: 1100px) {
  .index-page #live-demo .system-benefits {
    grid-template-columns: 1fr;
  }

  .index-page #live-demo .system-benefits .metric-chip {
    min-height: 0;
  }
}

@media (max-width: 700px) {
  .index-page #live-demo {
    padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
  }

  .index-page #live-demo .section-stack {
    gap: 1.5rem;
  }

  .index-page #live-demo .live-demo-system {
    gap: 1rem;
  }

  .index-page #live-demo .system-visual {
    width: 100%;
    margin: 0;
    border-radius: 1.2rem;
  }

  .index-page #live-demo .system-benefits {
    gap: 0.85rem;
  }

  .index-page #live-demo .system-benefits .metric-chip {
    padding: 1.1rem 1.15rem 1.2rem;
    border-radius: 1.25rem;
  }

  .index-page #live-demo .assistant-demo {
    margin-top: 0.5rem;
  }
}

/* =========================================================
   32. Consistent homepage section rhythm
   Normalizes the top and bottom spacing of each main content
   section so one-off section rules do not create uneven gaps.
   The hero and final CTA keep their purpose-built layouts.
   ========================================================= */

.index-page {
  --home-section-spacing: clamp(5.25rem, 7vw, 6rem);
}

.index-page main > .section:not(.home-hero):not(.final-cta) {
  padding-top: var(--home-section-spacing);
  padding-bottom: var(--home-section-spacing);
}

/*
  Explicitly override earlier one-off spacing rules for these
  sections. This removes the larger gap below the live demo and
  the extra space previously added above How It Works.
*/
.index-page #live-demo,
.index-page #content-demo,
.index-page #how-it-works {
  padding-top: var(--home-section-spacing);
  padding-bottom: var(--home-section-spacing);
}

@media (max-width: 47.99rem) {
  .index-page {
    --home-section-spacing: 4rem;
  }
}

@media (max-width: 30rem) {
  .index-page {
    --home-section-spacing: 3.5rem;
  }
}

/* =========================================================
   33. Knowledge-system presentation refinements
   Keeps the full system graphic visible, shortens the first
   card, and makes the changing business example unmistakable.
   ========================================================= */

.index-page #knowledge-system .knowledge-sidebar,
.index-page #knowledge-system .knowledge-panel {
  align-content: start;
}

.index-page #knowledge-system .knowledge-step {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 1.8rem;
  margin: 0;
  padding: 0.34rem 0.62rem;
  border: 1px solid rgba(var(--accent-rgb, 245, 196, 94), 0.24);
  border-radius: var(--radius-pill);
  background: rgba(var(--accent-rgb, 245, 196, 94), 0.09);
  color: rgba(var(--accent-rgb, 245, 196, 94), 0.98);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1;
  text-transform: uppercase;
}

.index-page #knowledge-system .knowledge-step::before {
  content: "Step ";
}

/* Keep the complete 4:3 diagram inside the first card. */
.index-page #knowledge-system .image-slot-knowledge {
  width: 100%;
  min-height: 0 !important;
  aspect-ratio: 4 / 3;
  margin-top: 0.25rem;
  padding: 0.35rem;
  border-color: rgba(var(--gold-rgb), 0.2);
  border-radius: 1.35rem;
  background:
    radial-gradient(circle at 12% 8%, rgba(var(--gold-rgb), 0.08), transparent 35%),
    radial-gradient(circle at 88% 92%, rgba(var(--purple-rgb), 0.07), transparent 38%),
    rgba(3, 5, 10, 0.74);
}

.index-page #knowledge-system .image-slot-knowledge img {
  display: block;
  width: 100%;
  height: 100% !important;
  max-height: none !important;
  aspect-ratio: 4 / 3;
  border-radius: calc(1.35rem - 0.35rem);
  object-fit: contain !important;
  object-position: center !important;
}

/* Make it obvious which company is currently driving the example. */
.index-page #knowledge-system .knowledge-business-example {
  position: relative;
  display: grid;
  gap: 0.24rem;
  margin-top: 0.15rem;
  padding: 0.82rem 0.95rem 0.86rem 1.05rem;
  overflow: hidden;
  border: 1px solid rgba(var(--teal-rgb), 0.2);
  border-radius: 1rem;
  background:
    linear-gradient(
      135deg,
      rgba(var(--teal-rgb), 0.11),
      rgba(var(--purple-rgb), 0.055)
    ),
    rgba(255, 255, 255, 0.025);
}

.index-page #knowledge-system .knowledge-business-example::before {
  content: "";
  position: absolute;
  top: 0.7rem;
  bottom: 0.7rem;
  left: 0;
  width: 3px;
  border-radius: 99px;
  background: linear-gradient(
    to bottom,
    rgba(var(--teal-rgb), 0.95),
    rgba(var(--purple-rgb), 0.8)
  );
  box-shadow: 0 0 16px rgba(var(--teal-rgb), 0.3);
}

.index-page #knowledge-system .knowledge-business-label {
  margin: 0;
  color: var(--teal-300);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.index-page #knowledge-system .knowledge-business-name {
  margin: 0;
  color: var(--text);
  font-family: var(--font-heading);
  font-size: clamp(1.02rem, 1.55vw, 1.2rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.index-page #knowledge-system .segmented-button.is-active {
  font-weight: 700;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 12px 30px -24px rgba(var(--gold-rgb), 0.75);
}

/*
  Once the image is no longer forced to 24rem tall, the first
  card becomes shorter and the two information cards no longer
  carry a large unused area at the bottom.
*/
@media (min-width: 64rem) {
  .index-page #knowledge-system .knowledge-layout {
    align-items: stretch;
  }

  .index-page #knowledge-system .knowledge-sidebar,
  .index-page #knowledge-system .knowledge-panel {
    height: 100%;
  }
}

@media (max-width: 63.99rem) {
  .index-page #knowledge-system .image-slot-knowledge {
    width: min(100%, 42rem);
  }
}

@media (max-width: 35rem) {
  .index-page #knowledge-system .knowledge-business-example {
    padding-right: 0.8rem;
  }

  .index-page #knowledge-system .knowledge-business-name {
    font-size: 1rem;
  }
}

/* =========================================================
   31. Working project inquiry form
   ========================================================= */

.index-page #contact .form-trap {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.index-page #contact .lead-form[aria-busy="true"] {
  cursor: wait;
}

.index-page #contact .button:disabled,
.index-page #contact .button[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.64;
  transform: none;
}

.index-page #contact #lead-form-status {
  display: grid;
  gap: 1rem;
}

.index-page #contact .inquiry-status-card,
.index-page #contact .success-card {
  display: grid;
  gap: 0.75rem;
  padding: 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background: rgba(5, 6, 9, 0.42);
}

.index-page #contact .inquiry-status-card > strong,
.index-page #contact .success-card > strong {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.05rem;
}

.index-page #contact .inquiry-status-loading {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  border-color: rgba(var(--purple-rgb), 0.24);
}

.index-page #contact .inquiry-status-loading > div {
  display: grid;
  gap: 0.35rem;
}

.index-page #contact .inquiry-status-spinner {
  width: 2rem;
  height: 2rem;
  border: 3px solid rgba(255, 255, 255, 0.14);
  border-top-color: var(--purple-300);
  border-radius: 50%;
  animation: webstingInquirySpin 800ms linear infinite;
}

.index-page #contact .inquiry-status-error {
  border-color: rgba(255, 146, 146, 0.36);
  background: rgba(102, 24, 34, 0.13);
}

.index-page #contact .inquiry-status-error > strong {
  color: #ffc1c1;
}

.index-page #contact .inquiry-status-success {
  border-color: rgba(var(--teal-rgb), 0.3);
  background:
    linear-gradient(135deg, rgba(var(--purple-rgb), 0.08), rgba(var(--teal-rgb), 0.08)),
    rgba(5, 6, 9, 0.42);
}

.index-page #contact .inquiry-status-success > strong {
  color: var(--teal-300);
}

.index-page #contact .inquiry-follow-up-note {
  padding-top: 0.2rem;
  color: var(--text-dim);
  font-size: 0.92rem;
}

.index-page #contact .summary-list {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding-left: 1.15rem;
}

.index-page #contact .summary-list li::marker {
  color: var(--gold-300);
}

@keyframes webstingInquirySpin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .index-page #contact .inquiry-status-spinner {
    animation: none;
    border-top-color: rgba(255, 255, 255, 0.14);
    border-right-color: var(--purple-300);
  }
}


/* =========================================================
   32. Pickaxe project inquiry review
   ========================================================= */

.index-page #contact .inquiry-review-card {
  gap: 1rem;
}

.index-page #contact .inquiry-review-section {
  display: grid;
  gap: 0.45rem;
  padding-top: 0.95rem;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.index-page #contact .inquiry-review-section h4 {
  color: var(--gold-300);
  font-family: var(--font-heading);
  font-size: 0.88rem;
  letter-spacing: 0.04em;
}

.index-page #contact .inquiry-plan-fit {
  display: grid;
  gap: 0.25rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(var(--purple-rgb), 0.24);
  border-radius: 18px;
  background: rgba(var(--purple-rgb), 0.07);
}

.index-page #contact .inquiry-plan-fit span {
  color: var(--text-dim);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.index-page #contact .inquiry-plan-fit strong {
  color: var(--purple-300);
  font-family: var(--font-heading);
  font-size: 1rem;
}

.index-page #contact .inquiry-contact-summary {
  padding-top: 0.95rem;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

/* =========================================================
   34. Compact project inquiry form
   Tightens the contact form to match the Interactive Content
   section while preserving comfortable touch targets.
   ========================================================= */

.index-page #contact .lead-form {
  gap: 0.85rem;
  padding: clamp(1.25rem, 2vw, 1.65rem);
}

.index-page #contact .lead-form .form-grid {
  gap: 0.85rem;
}

.index-page #contact .lead-form .two-column {
  column-gap: 0.9rem;
  row-gap: 0.85rem;
}

.index-page #contact .lead-form .field-group {
  gap: 0.38rem;
}

.index-page #contact .lead-form .field-group label {
  line-height: 1.35;
}

.index-page #contact .lead-form .field-group input,
.index-page #contact .lead-form .field-group select {
  min-height: 3.35rem;
  padding: 0.78rem 0.95rem;
}

.index-page #contact .lead-form .field-group textarea {
  min-height: 8.25rem;
  padding: 0.82rem 0.95rem;
}

.index-page #contact .lead-form .field-error {
  min-height: 0;
  line-height: 1.3;
}

.index-page #contact .lead-form .field-error:empty {
  display: none;
}

.index-page #contact .lead-form .form-actions {
  margin-top: 0.2rem;
}

.index-page #contact .lead-summary {
  padding: clamp(1.35rem, 2vw, 1.75rem);
  gap: 1.05rem;
}

.index-page #contact .lead-summary-intro {
  margin-bottom: 0.35rem;
}

.index-page #contact .lead-summary-checklist {
  gap: 0.6rem;
}

/* Keep the spam-protection field available to bots but invisible to visitors. */
.index-page #contact .form-trap {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

@media (max-width: 700px) {
  .index-page #contact .lead-form,
  .index-page #contact .lead-summary {
    padding: 1.2rem;
  }

  .index-page #contact .lead-form {
    gap: 0.8rem;
  }

  .index-page #contact .lead-form .form-grid,
  .index-page #contact .lead-form .two-column {
    gap: 0.8rem;
  }

  .index-page #contact .lead-form .field-group input,
  .index-page #contact .lead-form .field-group select {
    min-height: 3.25rem;
  }

  .index-page #contact .lead-form .field-group textarea {
    min-height: 7.5rem;
  }
}


/* =========================================================
   35. Hosting page layout and image corrections
   ========================================================= */

/* Keep lazy-loaded images eligible to load while their fallback is visible. */
.image-slot.image-missing > img {
  display: block;
  opacity: 0;
  pointer-events: none;
}

.image-slot:not(.image-missing) > img {
  opacity: 1;
}

.hosting-page {
  --hosting-section-spacing: clamp(5.25rem, 7vw, 6rem);
}

.hosting-page main > .section:not(.page-hero):not(.final-cta) {
  padding-top: var(--hosting-section-spacing);
  padding-bottom: var(--hosting-section-spacing);
}

.hosting-page .section-stack {
  gap: clamp(2rem, 3vw, 3rem);
}

/* Match the visual height and rhythm of the homepage hero. */
.hosting-page .page-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: 690px;
  padding: 2.1rem 0 4.5rem;
  overflow: hidden;
}

.hosting-page .page-hero .hero-layout {
  position: relative;
  z-index: 3;
  width: min(calc(100% - 4rem), 1380px);
  grid-template-columns: minmax(0, 1.02fr) minmax(29rem, 0.98fr);
  align-items: center;
  gap: clamp(3rem, 4.5vw, 5rem);
}

.hosting-page .page-hero .hero-copy {
  gap: 1.15rem;
  min-width: 0;
}

.hosting-page .page-hero h1 {
  font-size: clamp(3.15rem, 4.1vw, 4.55rem);
  line-height: 0.99;
  letter-spacing: -0.052em;
}

.hosting-page .page-hero .hero-visual {
  justify-self: end;
  width: min(100%, 40.5rem);
}

.hosting-page .image-slot-hero,
.hosting-page .image-slot-managed {
  width: 100%;
  min-height: 0;
  aspect-ratio: 4 / 3;
  padding: 0.22rem;
  border-radius: 2rem;
}

.hosting-page .image-slot-hero img,
.hosting-page .image-slot-managed img {
  width: 100%;
  height: 100%;
  border-radius: calc(2rem - 0.22rem);
  object-fit: cover;
}

/* Hosting grids */
.hosting-page .audience-grid,
.hosting-page .builder-grid,
.hosting-page .included-grid,
.hosting-page .path-grid,
.hosting-page .managed-feature-grid,
.hosting-page .pricing-layout,
.hosting-page .managed-layout {
  display: grid;
  gap: clamp(1.15rem, 2vw, 1.5rem);
}

.hosting-page .audience-grid,
.hosting-page .builder-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.hosting-page .path-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hosting-page .managed-layout,
.hosting-page .pricing-layout {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
}

.hosting-page .managed-feature-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hosting-page .scope-column,
.hosting-page .faq-list {
  display: grid;
  gap: 1rem;
}

/* Restore comfortable internal spacing across all hosting cards. */
.hosting-page .feature-card,
.hosting-page .builder-card-body,
.hosting-page .notice-panel,
.hosting-page .included-card,
.hosting-page .pricing-card,
.hosting-page .scope-card,
.hosting-page .path-card,
.hosting-page .details-panel,
.hosting-page .final-cta-panel {
  padding: clamp(1.35rem, 2.4vw, 2rem);
}

.hosting-page .feature-card,
.hosting-page .included-card,
.hosting-page .pricing-card,
.hosting-page .scope-card,
.hosting-page .path-card,
.hosting-page .builder-card-body {
  display: grid;
  align-content: start;
  gap: 1rem;
}

.hosting-page .builder-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}

.hosting-page .image-slot-builder {
  width: 100%;
  min-height: 0;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-panel) var(--radius-panel) 0 0;
  background: rgba(4, 6, 10, 0.72);
}

.hosting-page .image-slot-builder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hosting-page .builder-card-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.hosting-page .builder-tag {
  flex: 0 0 auto;
  padding: 0.45rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-pill);
  color: var(--text-soft);
  font-size: 0.72rem;
  line-height: 1.2;
}

.hosting-page .check-list,
.hosting-page .plain-list {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding-left: 1.15rem;
  color: var(--text-soft);
}

.hosting-page .managed-feature-grid article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  padding: 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, 0.035);
}

.hosting-page .managed-feature-grid article > span {
  color: var(--gold-300);
  font-family: var(--font-heading);
  font-weight: 700;
}

.hosting-page .managed-feature-grid article div {
  display: grid;
  gap: 0.35rem;
}

.hosting-page .price-line {
  display: flex;
  align-items: flex-end;
  gap: 0.55rem;
}

.hosting-page .price-line strong {
  color: #fff;
  font-family: var(--font-heading);
  font-size: clamp(3rem, 6vw, 4.75rem);
  line-height: 0.9;
}

.hosting-page .price-line span {
  padding-bottom: 0.45rem;
  color: var(--text-dim);
}

.hosting-page .button-wide {
  width: 100%;
}

.hosting-page .details-panel summary {
  list-style-position: outside;
}

.hosting-page .details-panel > div {
  padding-top: 1rem;
}

@media (max-width: 1100px) {
  .hosting-page .page-hero .hero-layout,
  .hosting-page .managed-layout,
  .hosting-page .pricing-layout {
    grid-template-columns: 1fr;
  }

  .hosting-page .page-hero {
    min-height: auto;
    padding: 3rem 0 4rem;
  }

  .hosting-page .page-hero .hero-layout {
    width: min(calc(100% - 3rem), 760px);
    gap: 2.5rem;
  }

  .hosting-page .page-hero .hero-visual {
    justify-self: start;
    width: min(100%, 46rem);
  }

  .hosting-page .audience-grid,
  .hosting-page .builder-grid,
  .hosting-page .included-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .hosting-page {
    --hosting-section-spacing: 4rem;
  }

  .hosting-page .page-hero {
    padding: 1.25rem 0 3.5rem;
  }

  .hosting-page .page-hero .hero-layout {
    width: min(calc(100% - 1.5rem), 34rem);
    gap: 2rem;
  }

  .hosting-page .page-hero h1 {
    font-size: clamp(2.7rem, 11.8vw, 3.45rem);
  }

  .hosting-page .hero-metrics,
  .hosting-page .audience-grid,
  .hosting-page .builder-grid,
  .hosting-page .included-grid,
  .hosting-page .path-grid,
  .hosting-page .managed-feature-grid {
    grid-template-columns: 1fr;
  }

  .hosting-page .builder-card-heading {
    display: grid;
  }

  .hosting-page .builder-tag {
    width: fit-content;
  }

  .hosting-page .feature-card,
  .hosting-page .builder-card-body,
  .hosting-page .notice-panel,
  .hosting-page .included-card,
  .hosting-page .pricing-card,
  .hosting-page .scope-card,
  .hosting-page .path-card,
  .hosting-page .details-panel,
  .hosting-page .final-cta-panel {
    padding: 1.2rem;
  }
}


/* =========================================================
   31. Homepage Project Start form
   Saves a short project profile and continues to project-intake.php.
   ========================================================= */
.index-page #contact .project-start-layout {
  align-items: start;
}

.index-page #contact .project-start-form,
.index-page #contact .project-start-summary {
  height: auto;
}

.index-page #contact .project-start-form {
  gap: 1.25rem;
}

.index-page #contact .project-start-interest-field {
  grid-column: 1 / -1;
}

.index-page #contact .field-optional {
  margin-left: 0.35rem;
  color: var(--text-dim);
  font-size: 0.78rem;
  font-weight: 500;
}

.index-page #contact .project-start-storage-note {
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
}

.index-page #contact .project-start-steps {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: project-start-step;
}

.index-page #contact .project-start-steps li {
  position: relative;
  display: grid;
  gap: 0.25rem;
  min-height: 4.6rem;
  padding: 1rem 1rem 1rem 4rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
  counter-increment: project-start-step;
}

.index-page #contact .project-start-steps li::before {
  content: counter(project-start-step);
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  border: 1px solid rgba(var(--gold-rgb), 0.28);
  border-radius: 50%;
  background: rgba(var(--gold-rgb), 0.09);
  color: var(--gold-300);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 800;
}

.index-page #contact .project-start-steps strong {
  color: var(--text);
}

.index-page #contact .project-start-steps span {
  color: var(--text-soft);
  font-size: 0.92rem;
  line-height: 1.5;
}

html[data-theme="light"] .index-page #contact .project-start-storage-note,
html[data-theme="light"] .index-page #contact .project-start-steps li {
  border-color: rgba(34, 37, 53, 0.11);
  background: rgba(255, 255, 255, 0.62);
}

@media (max-width: 47.99rem) {
  .index-page #contact .project-start-interest-field {
    grid-column: auto;
  }
}

/* Production visibility fallback */
html.js-enabled .reveal {
  opacity: 1;
  transform: none;
}


/* Shared mobile navigation state */
@media (max-width: 80rem) {
  body.mobile-menu-open {
    overflow: hidden;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(0.36rem) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-0.36rem) rotate(-45deg);
  }

  .nav-toggle span {
    transition: transform 180ms ease, opacity 180ms ease;
  }
}
