﻿:root {
  --bg: #f6f2ea;
  --surface: #ffffff;
  --surface-strong: #2f3030;
  --surface-muted: #ebe4d8;
  --text: #2c2b29;
  --muted: #6f6a62;
  --line: #d8cfc2;
  --steel: #3a3936;
  --accent: #d29a58;
  --accent-dark: #9a6837;
  --blue: #536f79;
  --green: #5d715f;
  --shadow: 0 22px 55px rgba(47, 48, 48, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

.anchor-target {
  display: block;
  scroll-margin-top: 82px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border-bottom: 1px solid rgba(47, 48, 48, 0.12);
  background: rgba(246, 242, 234, 0.92);
  padding: 14px clamp(18px, 4vw, 56px);
  backdrop-filter: blur(14px);
  width: 100%;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 40px;
  border: 1px solid rgba(47, 48, 48, 0.18);
  border-radius: 6px;
  background: #fff;
  color: var(--text);
  cursor: pointer;
  font-weight: 900;
  padding: 9px;
}

.menu-toggle span:not(.visually-hidden) {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
}

.menu-toggle span:not(.visually-hidden) + span:not(.visually-hidden) {
  margin-top: 6px;
}

.brand,
.main-nav,
.hero-actions,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 900;
  min-width: 0;
  flex: 0 0 auto;
}

.brand-logo {
  display: block;
  width: 184px;
  height: auto;
}

.company-logo {
  width: 184px;
}

.brand-mark {
  display: inline-grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border-radius: 6px;
  background: var(--surface-strong);
  color: var(--accent);
  font-weight: 900;
}

.main-nav {
  flex: 1 1 auto;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px;
  min-width: 0;
}

.nav-group {
  position: relative;
}

.main-nav a,
.header-action {
  border-radius: 6px;
  color: #4d4a45;
  font-size: 0.92rem;
  font-weight: 800;
  padding: 9px 11px;
}

.main-nav a:hover,
.header-action:hover {
  background: rgba(47, 48, 48, 0.08);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  display: grid;
  width: 280px;
  gap: 4px;
  border: 1px solid rgba(47, 48, 48, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 45px rgba(47, 48, 48, 0.14);
  opacity: 0;
  padding: 8px;
  pointer-events: none;
  transform: translateY(-6px);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.nav-group:hover .nav-dropdown,
.nav-group:focus-within .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-dropdown a {
  display: grid;
  gap: 3px;
  padding: 10px 11px;
}

.nav-dropdown small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.35;
}

.header-action {
  border: 1px solid rgba(47, 48, 48, 0.18);
  white-space: nowrap;
}

.hero-section {
  position: relative;
  display: grid;
  min-height: calc(100vh - 64px);
  grid-template-columns: minmax(0, 0.94fr) minmax(420px, 0.9fr);
  align-items: center;
  gap: clamp(28px, 5vw, 74px);
  overflow: hidden;
  padding: clamp(54px, 8vw, 104px) clamp(18px, 5vw, 72px) 44px;
}

.hero-background {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(47, 48, 48, 0.97), rgba(58, 57, 54, 0.9) 54%, rgba(95, 82, 64, 0.72)),
    linear-gradient(90deg, #2f3030, #3a3936 58%, #8b6a43);
}

.site-lines {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.16) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 74px 74px;
}

.beam {
  position: absolute;
  width: 34vw;
  height: 1px;
  background: rgba(210, 154, 88, 0.6);
  transform: rotate(-18deg);
}

.beam-one {
  right: -9vw;
  top: 18%;
}

.beam-two {
  right: 6vw;
  bottom: 16%;
  width: 30vw;
  background: rgba(255, 255, 255, 0.18);
}

.hero-content,
.hero-product {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.hero-content {
  max-width: 790px;
  color: #fff;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 880px;
  margin-bottom: 22px;
  font-size: clamp(2.45rem, 6vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: 0;
  overflow-wrap: normal;
}

h1 span {
  display: block;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
}

.hero-copy {
  max-width: 690px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.02rem, 1.8vw, 1.22rem);
  line-height: 1.65;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 900;
  padding: 0 18px;
  text-align: center;
}

.button-primary {
  background: var(--accent);
  color: #2c2b29;
}

.button-primary:hover {
  background: #e0aa68;
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.36);
  color: #fff;
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
}

.hero-showcase {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  min-width: 0;
}

.hero-product {
  align-self: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-product-main {
  position: relative;
}

.app-preview {
  min-height: 452px;
  background: #faf8f3;
}

.hero-rag-card {
  justify-self: end;
  width: min(330px, 88%);
  margin-top: -38px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
  padding: 18px;
}

.hero-rag-card strong {
  display: block;
  color: var(--text);
  font-size: 1.05rem;
}

.hero-rag-card p {
  margin: 10px 0 14px;
  color: var(--muted);
  line-height: 1.5;
}

.mini-source {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-radius: 6px;
  background: #eee9df;
  color: #4d4a45;
  font-size: 0.84rem;
  font-weight: 850;
  padding: 10px;
}

.mini-source small {
  border-radius: 999px;
  background: #f6ead6;
  color: #805b32;
  font-weight: 950;
  padding: 5px 8px;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.trust-strip span {
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.78rem;
  font-weight: 900;
  padding: 8px 10px;
}

.window-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  background: #2f3030;
  color: #fff;
  padding: 12px;
}

.window-dots {
  display: flex;
  gap: 7px;
}

.window-bar strong {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
}

.window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #9b948a;
}

.app-layout {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  min-height: 410px;
}

.app-sidebar {
  display: grid;
  align-content: start;
  gap: 8px;
  background: #3a3936;
  color: rgba(255, 255, 255, 0.72);
  padding: 18px 14px;
}

.app-sidebar strong {
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 0.9rem;
}

.app-sidebar span {
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 850;
  padding: 10px;
}

.app-sidebar .active {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.app-canvas {
  min-width: 0;
  padding: 18px;
}

.product-topline {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 0 0 16px;
}

.product-topline small {
  display: block;
  color: var(--muted);
  font-weight: 800;
}

.status-pill,
.ai-note {
  border-radius: 999px;
  background: #e6eee6;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  padding: 7px 10px;
  white-space: nowrap;
}

.document-preview {
  display: grid;
  gap: 13px;
  border: 1px solid #ded6cc;
  border-radius: 8px;
  background: #fff;
  padding: 14px;
}

.app-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.app-stats div {
  border: 1px solid #ded6cc;
  border-radius: 8px;
  background: #fff;
  padding: 13px;
}

.app-stats span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
}

.app-stats strong {
  font-size: 1.1rem;
}

.doc-line {
  height: 10px;
  width: 58%;
  border-radius: 999px;
  background: #d8d2c8;
}

.doc-line.wide {
  width: 82%;
}

.doc-grid,
.doc-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr 0.8fr;
  gap: 10px;
  align-items: center;
}

.doc-grid {
  border-radius: 6px;
  background: #eee9df;
  color: #6f6a62;
  font-size: 0.76rem;
  font-weight: 900;
  padding: 9px;
  text-transform: uppercase;
}

.doc-row {
  border-bottom: 1px solid #e6ded4;
  color: #3d3a35;
  font-size: 0.88rem;
  padding: 6px 2px 12px;
}

.ai-note {
  justify-self: start;
  border-radius: 6px;
  background: #f6ead6;
  color: #805b32;
}

.intro-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.intro-band div {
  display: grid;
  gap: 4px;
  background: #fff;
  padding: 24px clamp(18px, 4vw, 54px);
}

.metric-value {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 950;
}

.metric-label {
  color: var(--muted);
  font-weight: 750;
}

.section,
.product-section,
.contact-section {
  padding: clamp(58px, 8vw, 104px) clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 830px;
  margin-bottom: 34px;
}

.section-heading p,
.product-copy p,
.split-section p,
.contact-copy p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.feature-card,
.pilot-box,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.feature-card {
  min-height: 230px;
  padding: 22px;
}

.why-card {
  position: relative;
  overflow: hidden;
}

.feature-card:nth-child(1),
.feature-card:nth-child(5) {
  background: #2f3030;
  color: #fff;
}

.feature-card:nth-child(1) p,
.feature-card:nth-child(5) p {
  color: rgba(255, 255, 255, 0.72);
}

.feature-card p {
  color: var(--muted);
  line-height: 1.6;
}

.icon-box {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 6px;
  background: var(--steel);
  color: var(--accent);
  font-weight: 950;
}

.product-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.82fr);
  align-items: start;
  gap: clamp(28px, 5vw, 70px);
  background: #fff;
}

.product-section-alt {
  background: #f6f2ea;
}

.comparison-grid,
.faq-grid,
.pricing-grid,
.why-grid,
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.comparison-card,
.faq-grid article,
.pricing-card,
.why-card,
.roadmap-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 24px;
}

.comparison-card {
  position: relative;
  overflow: hidden;
}

.comparison-card::before {
  display: block;
  width: 44px;
  height: 4px;
  margin-bottom: 20px;
  border-radius: 999px;
  background: var(--accent);
  content: "";
}

.product-tour-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.solution-entry-section {
  padding: clamp(42px, 6vw, 74px) clamp(18px, 5vw, 72px);
  background: #fff;
}

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

.solution-entry-card {
  display: block;
  border: 1px solid var(--line);
  border-radius: 10px;
  background:
    radial-gradient(circle at 90% 12%, rgba(53, 111, 128, 0.16), transparent 15rem),
    var(--bg);
  color: var(--text);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: 0 16px 42px rgba(35, 37, 36, 0.08);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.solution-entry-card:hover {
  border-color: rgba(227, 162, 63, 0.65);
  box-shadow: 0 22px 52px rgba(35, 37, 36, 0.13);
  transform: translateY(-3px);
}

.solution-entry-card p {
  color: var(--muted);
  line-height: 1.65;
}

.solution-entry-arrow {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--accent);
  color: #242522;
  font-size: 1.5rem;
  font-weight: 950;
  transition: transform 180ms ease;
}

.solution-entry-card:hover .solution-entry-arrow {
  transform: translateX(4px);
}

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

.about-person {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 22px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 26px;
}

.person-mark {
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  border-radius: 50%;
  background: var(--surface-strong);
  color: var(--accent);
  font-size: 1.3rem;
  font-weight: 950;
}

.about-person p {
  color: var(--muted);
  line-height: 1.65;
}

.contact-channel {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
}

.honeypot-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form-status {
  min-height: 1.4em;
  margin: 0;
  font-size: 0.9rem;
  font-weight: 750;
}

.form-status.is-success {
  color: #267044;
}

.form-status.is-error {
  color: #a13434;
}

.contact-form button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.pilot-contact-form {
  min-width: min(100%, 420px);
}

.product-tour-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(47, 48, 48, 0.08);
}

.product-tour-image {
  aspect-ratio: 16 / 8.5;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--surface-strong);
}

.product-tour-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
}

.product-tour-copy {
  padding: 26px;
}

.tour-steps {
  display: grid;
  gap: 14px;
  margin: 22px 0 26px;
  padding: 0;
  list-style: none;
  counter-reset: tour-step;
}

.tour-steps li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 2px 12px;
  counter-increment: tour-step;
}

.tour-steps li::before {
  grid-row: span 2;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 6px;
  background: var(--surface-strong);
  color: var(--accent);
  content: counter(tour-step);
  font-weight: 950;
}

.tour-steps span {
  color: var(--muted);
  line-height: 1.5;
}

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

.pilot-showcase {
  align-self: center;
}

.pilot-roadmap {
  position: relative;
  display: grid;
  gap: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 12px;
  background:
    radial-gradient(circle at 88% 10%, rgba(227, 162, 63, 0.2), transparent 16rem),
    rgba(255, 255, 255, 0.08);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.28);
  padding: clamp(24px, 4vw, 38px);
  backdrop-filter: blur(14px);
}

.pilot-roadmap::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  content: "";
}

.pilot-roadmap > * {
  position: relative;
  z-index: 1;
}

.pilot-roadmap-head h2 {
  margin: 12px 0 10px;
  color: #fff;
  font-size: clamp(1.55rem, 3vw, 2.3rem);
}

.pilot-roadmap-head p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.6;
}

.pilot-roadmap-list {
  position: relative;
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pilot-roadmap-list::before {
  position: absolute;
  top: 25px;
  bottom: 25px;
  left: 24px;
  width: 2px;
  background: linear-gradient(var(--accent), rgba(255, 255, 255, 0.2));
  content: "";
}

.pilot-roadmap-list li {
  position: relative;
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 12px 0;
}

.pilot-roadmap-list li > span {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 50%;
  background: #292e2f;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 950;
  box-shadow: 0 0 0 7px rgba(31, 35, 36, 0.72);
}

.pilot-roadmap-list div {
  display: grid;
  gap: 4px;
}

.pilot-roadmap-list strong {
  color: #fff;
  font-size: 1.05rem;
}

.pilot-roadmap-list small {
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.45;
}

.pilot-roadmap-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pilot-roadmap-facts span {
  border: 1px solid rgba(227, 162, 63, 0.34);
  border-radius: 999px;
  background: rgba(227, 162, 63, 0.12);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.78rem;
  font-weight: 900;
  padding: 8px 10px;
}

.pilot-intro-band .metric-value {
  color: var(--accent-dark);
}

.pilot-choice-section {
  background:
    radial-gradient(circle at 92% 16%, rgba(53, 111, 128, 0.1), transparent 22rem),
    #fff;
}

.pilot-choice-section .comparison-card {
  min-height: 330px;
}

.pilot-support-section {
  background:
    radial-gradient(circle at 8% 18%, rgba(227, 162, 63, 0.1), transparent 20rem),
    var(--bg);
}

.pilot-timeline-section .pilot-box {
  position: relative;
  overflow: hidden;
  border-color: rgba(227, 162, 63, 0.42);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(248, 244, 235, 0.94)),
    #fff;
}

.pilot-timeline-section .plain-list {
  display: grid;
  gap: 18px;
}

.pilot-timeline-section .plain-list li {
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}

.pilot-timeline-section .plain-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.pilot-framework-section {
  background: #fff;
}

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

.pilot-outcome-section {
  background:
    linear-gradient(135deg, rgba(31, 35, 36, 0.98), rgba(51, 56, 57, 0.98)),
    var(--surface-strong);
  color: #fff;
}

.pilot-outcome-section .section-heading p {
  color: rgba(255, 255, 255, 0.7);
}

.pilot-outcome-section .section-heading .eyebrow {
  color: var(--accent);
}

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

.pilot-outcome-grid article {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  padding: 24px;
}

.pilot-outcome-grid span {
  color: var(--accent);
  font-size: 1.3rem;
  font-weight: 950;
}

.pilot-outcome-grid p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.65;
}

.pilot-summary,
.pilot-cta {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: clamp(24px, 4vw, 42px);
  box-shadow: var(--shadow);
}

.pilot-summary {
  color: var(--text);
}

.pilot-summary h2,
.pilot-summary li {
  color: var(--text);
}

.pilot-process {
  background: #fff;
}

.pilot-process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.pilot-process-grid article {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  padding: 24px;
}

.pilot-process-grid article::after {
  position: absolute;
  inset: auto -28px -38px auto;
  width: 110px;
  height: 110px;
  border: 1px solid rgba(53, 111, 128, 0.13);
  border-radius: 50%;
  content: "";
}

.pilot-process-grid article:hover {
  border-color: rgba(227, 162, 63, 0.58);
  box-shadow: 0 22px 54px rgba(35, 37, 36, 0.1);
  transform: translateY(-4px);
}

.pilot-process-grid span {
  color: var(--accent-dark);
  font-size: 1.35rem;
  font-weight: 950;
}

.pilot-process-grid p,
.pilot-summary p,
.pilot-cta p {
  color: var(--muted);
  line-height: 1.65;
}

.pilot-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  margin: clamp(40px, 7vw, 90px) clamp(18px, 5vw, 72px);
  background: var(--surface-strong);
  color: #fff;
}

.pilot-cta p {
  color: rgba(255, 255, 255, 0.72);
}

.pilot-cta .contact-form {
  color: var(--text);
}

.product-view-steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 28px;
}

.product-view-flow-heading {
  margin-top: 30px;
}

.product-view-flow-heading h3 {
  margin-bottom: 0;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
}

.product-view-steps li {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 18px;
}

@media (max-width: 980px) {
  .product-tour-grid,
  .pilot-process-grid,
  .about-team-grid,
  .product-view-steps,
  .pilot-framework-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pilot-outcome-grid {
    grid-template-columns: 1fr;
  }

  .pilot-cta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .pilot-roadmap {
    padding: 22px 18px;
  }

  .solution-entry-grid {
    grid-template-columns: 1fr;
  }

  .about-person {
    grid-template-columns: 1fr;
  }

  .product-tour-grid,
  .pilot-process-grid,
  .about-team-grid,
  .product-view-steps,
  .pilot-framework-grid {
    grid-template-columns: 1fr;
  }

  .product-tour-copy {
    padding: 20px;
  }
}

.faq-grid article {
  border-width: 0 0 1px;
  border-radius: 0;
  background: transparent;
  padding: 0 0 22px;
}

.comparison-card p,
.faq-grid p,
.pricing-card p,
.why-card p,
.roadmap-grid p {
  color: var(--muted);
  line-height: 1.65;
}

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

.pricing-card h3,
.why-card h3,
.roadmap-grid h3 {
  margin-bottom: 12px;
}

.comparison-card a {
  display: inline-flex;
  margin-top: 8px;
  color: var(--blue);
  font-weight: 900;
}

.roadmap-grid a {
  display: inline-flex;
  margin-top: 8px;
  color: var(--blue);
  font-weight: 900;
}

.clickable-card {
  position: relative;
  cursor: pointer;
  min-height: 220px;
  padding-bottom: 76px;
}

.clickable-card::before {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(227, 162, 63, 0.42);
  border-radius: 50%;
  background:
    linear-gradient(135deg, rgba(227, 162, 63, 0.92), rgba(227, 162, 63, 0.58)),
    var(--accent);
  color: var(--surface-strong);
  content: "→";
  font-size: 1.15rem;
  font-weight: 950;
  line-height: 1;
  box-shadow: 0 14px 34px rgba(227, 162, 63, 0.24);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.clickable-card::after {
  opacity: 1;
}

.clickable-card .card-link {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.clickable-card:focus-visible {
  border-color: var(--accent);
  box-shadow:
    0 0 0 4px rgba(227, 162, 63, 0.2),
    0 24px 64px rgba(35, 37, 36, 0.12);
  outline: 0;
}

.clickable-card:hover::before,
.clickable-card:focus-visible::before {
  background: #fff;
  box-shadow:
    0 18px 44px rgba(227, 162, 63, 0.34),
    0 0 0 7px rgba(227, 162, 63, 0.13);
  transform: translate(4px, -4px);
}

.clickable-card h3 {
  padding-right: 0;
}

.clickable-card:hover h3,
.clickable-card:focus-visible h3 {
  color: var(--accent-dark);
}

.product-label {
  display: inline-flex;
  margin-bottom: 18px;
  border-radius: 999px;
  background: #f6ead6;
  color: #805b32;
  font-size: 0.78rem;
  font-weight: 950;
  padding: 7px 10px;
}

.check-list,
.plain-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.plain-list li {
  position: relative;
  padding-left: 28px;
}

.check-list li::before,
.plain-list li::before {
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-dark);
  content: "✓";
  font-weight: 950;
}

.workflow-panel {
  display: grid;
  gap: 12px;
  border-radius: 8px;
  background: var(--surface-strong);
  color: #fff;
  padding: 18px;
}

.rag-panel {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  min-height: 410px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(47, 48, 48, 0.1);
}

.rag-sidebar {
  display: grid;
  align-content: start;
  gap: 10px;
  border-right: 1px solid var(--line);
  background: #2f3030;
  color: #fff;
  padding: 20px;
}

.rag-sidebar strong {
  margin-bottom: 12px;
  color: var(--accent);
}

.rag-sidebar span {
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  font-weight: 800;
  padding: 11px;
}

.rag-chat {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 22px;
}

.question {
  justify-self: end;
  max-width: 82%;
  border-radius: 8px 8px 2px 8px;
  background: var(--blue);
  color: #fff;
  font-weight: 850;
  padding: 13px 15px;
}

.answer {
  border: 1px solid #dbe0e5;
  border-radius: 8px;
  background: #faf8f3;
  padding: 16px;
}

.answer p {
  margin: 8px 0 14px;
  color: var(--muted);
  line-height: 1.55;
}

.source-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid #dfe3e7;
  color: #4d4a45;
  font-size: 0.88rem;
  font-weight: 850;
  padding: 10px 0 0;
}

.source-row + .source-row {
  margin-top: 9px;
}

.source-row small {
  border-radius: 999px;
  background: #f6ead6;
  color: #805b32;
  font-weight: 950;
  padding: 5px 8px;
  white-space: nowrap;
}

.product-screenshot,
.wide-screenshot {
  margin: 0;
}

.product-screenshot {
  align-self: start;
}

.product-screenshot img,
.wide-screenshot img {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(47, 48, 48, 0.1);
}

.product-section-alt .product-screenshot img {
  height: auto;
  aspect-ratio: 1914 / 918;
  object-fit: contain;
}

.product-screenshot figcaption,
.wide-screenshot figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

.wide-screenshot {
  margin-bottom: 24px;
}

.screenshot-gallery {
  display: grid;
  gap: 22px;
  margin-bottom: 24px;
}

.screenshot-gallery .wide-screenshot {
  margin-bottom: 0;
}

.workflow-step {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  padding: 15px;
}

.workflow-step.active {
  background: rgba(210, 154, 88, 0.16);
  border-color: rgba(210, 154, 88, 0.46);
}

.workflow-step span {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 6px;
  background: var(--accent);
  color: #2c2b29;
  font-weight: 950;
}

.workflow-step small {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.7);
}

.split-section,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.75fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.pilot-box {
  padding: 24px;
}

.contact-section {
  background: #2f3030;
  color: #fff;
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.contact-steps {
  display: grid;
  gap: 10px;
  margin: 26px 0;
}

.contact-steps div {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 2px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  padding: 14px;
}

.contact-steps span {
  display: grid;
  width: 30px;
  height: 30px;
  grid-row: span 2;
  place-items: center;
  border-radius: 6px;
  background: var(--accent);
  color: #2c2b29;
  font-weight: 950;
}

.contact-steps strong {
  color: #fff;
}

.contact-steps small {
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.5;
}

.contact-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 8px;
}

.contact-facts div {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  padding: 14px;
}

.contact-facts strong,
.contact-facts span {
  display: block;
}

.contact-facts strong {
  margin-bottom: 4px;
  color: #fff;
  font-size: 0.86rem;
}

.contact-facts span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
  line-height: 1.45;
}

.mail-link {
  display: inline-flex;
  margin-top: 14px;
  color: var(--accent);
  font-weight: 900;
}

.contact-form {
  display: grid;
  gap: 14px;
  background: #fff;
  color: var(--text);
  padding: 22px;
}

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

.interest-card {
  display: block;
  cursor: pointer;
}

.interest-card input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
}

.interest-card span {
  display: grid;
  min-height: 44px;
  place-items: center;
  border: 1px solid #d1c7ba;
  border-radius: 6px;
  background: #fff;
  color: #59544c;
  font-size: 0.86rem;
  font-weight: 950;
  text-align: center;
  padding: 8px;
}

.interest-card input:checked + span {
  border-color: var(--accent);
  background: #f6ead6;
  color: #6f4b00;
}

label {
  display: grid;
  gap: 7px;
  color: #59544c;
  font-size: 0.9rem;
  font-weight: 850;
}

input,
textarea {
  width: 100%;
  border: 1px solid #d1c7ba;
  border-radius: 6px;
  background: #fff;
  color: var(--text);
  padding: 11px 12px;
}

textarea {
  resize: vertical;
}

.contact-form .button {
  width: 100%;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

.site-footer {
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding: 24px clamp(18px, 5vw, 72px);
}

.site-footer span:first-child {
  color: var(--text);
  font-weight: 950;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer a {
  color: #4d4a45;
  font-weight: 850;
}

.legal-page {
  padding: clamp(54px, 8vw, 94px) clamp(18px, 5vw, 72px);
}

.detail-page {
  background: var(--bg);
}

.detail-hero {
  padding: clamp(58px, 8vw, 104px) clamp(18px, 5vw, 72px);
  background: #2f3030;
  color: #fff;
}

.product-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(420px, 0.86fr);
  align-items: center;
  gap: clamp(28px, 5vw, 70px);
}

.detail-hero h1 {
  max-width: 980px;
}

.detail-hero p {
  max-width: 780px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.08rem;
  line-height: 1.7;
}

.detail-hero-copy {
  min-width: 0;
}

.kb-dashboard,
.kb-offer-preview {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: #faf8f3;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.kb-dashboard-body {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  min-height: 430px;
}

.kb-sidebar {
  display: grid;
  align-content: start;
  gap: 8px;
  background: #3a3936;
  color: rgba(255, 255, 255, 0.72);
  padding: 18px 14px;
}

.kb-sidebar strong {
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 0.9rem;
}

.kb-sidebar span {
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 850;
  padding: 10px;
}

.kb-sidebar .active {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.kb-main {
  min-width: 0;
  padding: 18px;
}

.kb-topline {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.kb-topline small,
.kb-stat-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
}

.kb-topline strong {
  display: block;
  margin-top: 4px;
  color: var(--text);
  font-size: 1.3rem;
}

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

.kb-stat-grid div {
  border: 1px solid #ded6cc;
  border-radius: 8px;
  background: #fff;
  padding: 13px;
}

.kb-stat-grid strong {
  display: block;
  margin-top: 6px;
  color: var(--text);
  font-size: 1.32rem;
}

.kb-list {
  overflow: hidden;
  border: 1px solid #ded6cc;
  border-radius: 8px;
  background: #fff;
}

.kb-list-head,
.kb-list-row {
  display: grid;
  grid-template-columns: 1fr 1fr 0.8fr;
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
}

.kb-list-head {
  background: #eee9df;
  color: #59636f;
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.kb-list-row {
  color: #2d3740;
  font-size: 0.88rem;
}

.kb-list-row + .kb-list-row {
  border-top: 1px solid #e6ded4;
}

.kb-list-row strong {
  text-align: right;
}

.kb-benefits article:first-child {
  background: #2f3030;
  color: #fff;
}

.kb-benefits article:first-child p {
  color: rgba(255, 255, 255, 0.72);
}

.kb-workflow-section {
  background: #fff;
}

.kb-workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.kb-workflow-grid article {
  border-top: 4px solid var(--accent);
  background: #faf8f3;
  padding: 22px;
}

.kb-workflow-grid span {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 6px;
  background: #2f3030;
  color: var(--accent);
  font-weight: 950;
}

.kb-workflow-grid p {
  color: var(--muted);
  line-height: 1.65;
}

.kb-offer-section {
  background: #f6f2ea;
}

.kb-offer-preview {
  border-color: var(--line);
  box-shadow: 0 18px 45px rgba(47, 48, 48, 0.12);
  padding: 20px;
}

.kb-document {
  border: 1px solid #ded6cc;
  border-radius: 8px;
  background: #fff;
  padding: 22px;
}

.kb-document-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.kb-document-head span {
  color: var(--muted);
  font-weight: 850;
}

.kb-document-head strong {
  text-align: right;
}

.kb-document-line {
  width: 58%;
  height: 10px;
  margin-bottom: 10px;
  border-radius: 999px;
  background: #d8d2c8;
}

.kb-document-line.wide {
  width: 82%;
}

.kb-document-table {
  display: grid;
  gap: 8px;
  margin: 20px 0;
}

.kb-document-table div {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 90px;
  gap: 10px;
  align-items: center;
  border-bottom: 1px solid #e6ded4;
  padding: 10px 0;
}

.kb-document-table span {
  color: var(--muted);
  font-weight: 850;
}

.kb-document-table em {
  color: var(--text);
  font-style: normal;
  font-weight: 900;
  text-align: right;
}

.kb-ai-box {
  border-radius: 8px;
  background: #f6ead6;
  color: #805b32;
  padding: 14px;
}

.kb-ai-box p {
  margin: 6px 0 0;
  line-height: 1.55;
}

.rag-hero-preview {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: #faf8f3;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.rag-hero-body {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  min-height: 430px;
}

.rag-hero-shot {
  position: relative;
  display: block;
  width: 100%;
  border: 0;
  overflow: hidden;
  background: #111719;
  cursor: zoom-in;
  padding: 0;
}

.rag-hero-shot img {
  display: block;
  width: 100%;
  height: clamp(320px, 36vw, 500px);
  object-fit: contain;
  object-position: center;
  transition:
    height 220ms ease,
    transform 220ms ease;
}

.pdf-rag-hero-shot img {
  height: clamp(300px, 30vw, 430px);
}

.kill-bill-hero-shot {
  background: #f3f5f7;
}

.kill-bill-hero-shot img {
  height: clamp(320px, 32vw, 470px);
  object-fit: contain;
  object-position: left top;
}

.rag-hero-shot::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.14), transparent 28%, transparent 74%, rgba(227, 162, 63, 0.1)),
    linear-gradient(180deg, transparent 64%, rgba(17, 23, 25, 0.16));
  content: "";
}

.rag-hero-shot::before {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  border-radius: 999px;
  background: rgba(17, 23, 25, 0.82);
  color: #fff;
  content: "Klicken zum Vergrößern";
  font-size: 0.72rem;
  font-weight: 850;
  padding: 7px 10px;
  pointer-events: none;
}

.shot-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 54px);
}

.shot-lightbox[hidden] {
  display: none;
}

.shot-lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(13, 16, 17, 0.78);
  backdrop-filter: blur(10px);
  cursor: zoom-out;
}

.shot-lightbox-content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  width: min(96vw, 1380px);
  max-height: 92vh;
  border: 0;
  background: transparent;
  cursor: zoom-out;
  padding: 0;
  animation: lightbox-pop 180ms ease both;
}

.shot-lightbox-content img {
  display: block;
  width: 100%;
  max-height: 86vh;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: #111719;
  box-shadow: 0 42px 120px rgba(0, 0, 0, 0.45);
  object-fit: contain;
}

.shot-lightbox-content span {
  justify-self: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.8rem;
  font-weight: 850;
  padding: 8px 12px;
}

body.lightbox-open {
  overflow: hidden;
}

@keyframes lightbox-pop {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(12px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.rag-live-demo {
  position: relative;
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) 180px;
  min-height: 476px;
  overflow: hidden;
  background:
    radial-gradient(circle at 56% 18%, rgba(227, 162, 63, 0.12), transparent 18rem),
    #f8f5ee;
}

.demo-ribbon {
  position: absolute;
  top: 12px;
  left: 50%;
  z-index: 5;
  border: 1px solid rgba(227, 162, 63, 0.42);
  border-radius: 999px;
  background: rgba(255, 253, 250, 0.88);
  color: #805b32;
  font-size: 0.72rem;
  font-weight: 950;
  padding: 7px 11px;
  transform: translateX(-50%);
  white-space: nowrap;
  backdrop-filter: blur(10px);
}

.demo-docs,
.demo-source-view {
  display: grid;
  align-content: start;
  gap: 9px;
  padding: 44px 12px 14px;
}

.demo-docs {
  background: #252b2d;
}

.demo-docs button,
.demo-question-bar button,
.demo-sources button,
.demo-input button {
  border: 0;
  cursor: pointer;
  text-align: left;
}

.demo-docs button {
  display: grid;
  gap: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.82);
  padding: 10px;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.demo-docs button:hover,
.demo-docs button.active {
  border-color: rgba(227, 162, 63, 0.46);
  background: rgba(227, 162, 63, 0.16);
  transform: translateX(2px);
}

.demo-docs span,
.demo-sources span {
  font-size: 0.8rem;
  font-weight: 950;
}

.demo-docs small,
.demo-sources small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.69rem;
  font-weight: 800;
}

.demo-docs .demo-locked {
  margin-top: 8px;
  border-style: dashed;
  color: rgba(255, 255, 255, 0.68);
}

.demo-chat {
  display: grid;
  align-content: center;
  gap: 13px;
  min-width: 0;
  padding: 50px 16px 16px;
}

.demo-question-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.demo-question-bar button {
  flex: 1 1 142px;
  border-radius: 999px;
  background: #ebe4d8;
  color: #5b5650;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.25;
  padding: 9px 10px;
  text-align: center;
}

.demo-question-bar button:hover,
.demo-question-bar button.active {
  background: #f6dfb6;
  color: #805b32;
}

.demo-answer {
  border: 1px solid #ded6cc;
  border-radius: 8px;
  background: rgba(255, 253, 250, 0.92);
  box-shadow: 0 16px 44px rgba(35, 37, 36, 0.1);
  padding: 16px;
}

.demo-badge {
  display: inline-flex;
  margin-bottom: 11px;
  border-radius: 999px;
  background: #e7efe8;
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 950;
  padding: 6px 9px;
}

.demo-answer p {
  margin: 0 0 14px;
  color: #3c3a36;
  line-height: 1.55;
}

.demo-sources {
  display: grid;
  gap: 8px;
}

.demo-sources button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid #ded6cc;
  border-radius: 7px;
  background: #fff;
  color: #3c3a36;
  padding: 9px 10px;
}

.demo-sources button small {
  border-radius: 999px;
  background: #f6ead6;
  color: #805b32;
  padding: 5px 8px;
  white-space: nowrap;
}

.demo-sources button:hover,
.demo-sources button.active {
  border-color: rgba(227, 162, 63, 0.64);
  box-shadow: 0 10px 24px rgba(227, 162, 63, 0.14);
}

.demo-input {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.demo-input input {
  min-width: 0;
  border-color: #ded6cc;
  background: #fff;
}

.demo-input button {
  border-radius: 6px;
  background: var(--accent);
  color: #2c2b29;
  font-weight: 950;
  padding: 0 13px;
}

.demo-source-view {
  border-left: 1px solid #ded6cc;
  background: #fffdfa;
}

.demo-source-view span {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  background: #f6ead6;
  color: #805b32;
  font-size: 0.72rem;
  font-weight: 950;
  padding: 7px 9px;
}

.demo-source-view p {
  margin: 4px 0 8px;
  border-left: 3px solid var(--accent);
  background: #f8f1e4;
  color: #4f4940;
  font-size: 0.86rem;
  line-height: 1.55;
  padding: 12px;
}

.demo-source-view a {
  display: inline-flex;
  justify-content: center;
  border-radius: 6px;
  background: #252b2d;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 950;
  padding: 10px 12px;
}

.app-demo {
  grid-template-columns: 256px minmax(0, 1fr) minmax(260px, 32%);
  min-height: 560px;
  background: #fff;
  color: #18181b;
  font-family:
    system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

.app-demo-sidebar {
  display: flex;
  min-width: 0;
  flex-direction: column;
  border-right: 1px solid #e4e4e7;
  background: #fff;
}

.app-demo-brand,
.app-demo-source-head {
  display: flex;
  height: 48px;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #e4e4e7;
  padding: 0 16px;
}

.app-demo-brand strong,
.app-demo-source-head strong {
  color: #18181b;
  font-size: 0.88rem;
  letter-spacing: -0.02em;
}

.app-demo-brand span {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #22c55e;
}

.app-demo-section {
  border-bottom: 1px solid #ededf0;
  padding: 14px 8px 12px;
}

.app-demo-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 8px 7px;
}

.app-demo-section-title span {
  color: #a1a1aa;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.app-demo-section-title button,
.app-demo-row,
.app-demo-file,
.app-demo-source-list button,
.app-demo-composer button {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.app-demo-section-title button {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 5px;
  background: transparent;
  color: #a1a1aa;
  font-weight: 800;
}

.app-demo-section-title button:hover {
  background: #f4f4f5;
  color: #3f3f46;
}

.app-demo-row,
.app-demo-file {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-radius: 6px;
  background: transparent;
  color: #3f3f46;
  padding: 7px 8px;
  text-align: left;
}

.app-demo-row span,
.app-demo-file span {
  min-width: 0;
  overflow: hidden;
  font-size: 0.78rem;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-demo-row small,
.app-demo-file small {
  flex: 0 0 auto;
  color: #a1a1aa;
  font-size: 0.65rem;
}

.app-demo-row:hover,
.app-demo-file:hover {
  background: #f4f4f5;
}

.app-demo-row.active {
  background: #18181b;
  color: #fff;
}

.app-demo-row.active small {
  color: #a1a1aa;
}

.app-demo-file::before {
  width: 12px;
  height: 14px;
  flex: 0 0 auto;
  border: 1px solid #d4d4d8;
  border-radius: 2px;
  background: #fff;
  content: "";
}

.app-demo-file.active {
  background: #f4f4f5;
}

.app-demo-file.active::before {
  border-color: #18181b;
  background: linear-gradient(180deg, #fff, #e4e4e7);
}

.app-demo-notice {
  margin: auto 16px 12px;
  display: flex;
  gap: 6px;
  color: #a1a1aa;
  font-size: 0.68rem;
  line-height: 1.35;
}

.app-demo-chat {
  display: flex;
  min-width: 0;
  flex-direction: column;
  background: #fff;
}

.app-demo-status {
  margin: 12px 16px 0;
  border: 1px solid #e4e4e7;
  border-radius: 7px;
  background: #fafafa;
  color: #71717a;
  font-size: 0.74rem;
  padding: 9px 11px;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

.app-demo-status.notice {
  border-color: #f0bd64;
  background: #fff7e8;
  color: #805b32;
}

.app-demo-messages {
  display: grid;
  align-content: center;
  flex: 1 1 auto;
  gap: 14px;
  padding: 22px min(5vw, 52px);
}

.app-demo-bubble {
  max-width: 82%;
  border-radius: 12px;
  font-size: 0.86rem;
  line-height: 1.55;
  padding: 13px 15px;
}

.app-demo-bubble-user {
  justify-self: end;
  background: #18181b;
  color: #fff;
}

.app-demo-bubble-assistant {
  justify-self: start;
  border: 1px solid #e4e4e7;
  background: #fff;
  box-shadow: 0 10px 26px rgba(24, 24, 27, 0.08);
  color: #27272a;
}

.app-demo-bubble-assistant span {
  display: block;
  margin-bottom: 6px;
  color: #a1a1aa;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.app-demo-bubble p {
  margin: 0;
}

.app-demo-composer {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
  border-top: 1px solid #e4e4e7;
  padding: 16px min(5vw, 52px);
}

.app-demo-composer span {
  flex: 1 1 auto;
  border: 1px solid #e4e4e7;
  border-radius: 12px;
  background: #fafafa;
  color: #a1a1aa;
  font-size: 0.82rem;
  padding: 13px 14px;
}

.app-demo-composer button {
  flex: 0 0 auto;
  border-radius: 9px;
  background: #18181b;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 850;
  padding: 12px 14px;
}

.app-demo-composer a {
  flex: 0 0 auto;
  border-radius: 9px;
  background: #18181b;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 850;
  padding: 12px 14px;
  white-space: nowrap;
}

.app-demo-sources {
  display: flex;
  min-width: 0;
  flex-direction: column;
  border-left: 1px solid #e4e4e7;
  background: #fff;
}

.app-demo-source-head span {
  margin-left: auto;
  color: #a1a1aa;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.7rem;
}

.app-demo-source-list {
  display: grid;
  gap: 14px;
  padding: 14px 12px;
}

.app-demo-source-group {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  color: #9ca3af;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}

.app-demo-source-group::before,
.app-demo-source-group::after {
  height: 1px;
  background: #e5e7eb;
  content: "";
}

.app-demo-source-list button {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  gap: 7px 8px;
  align-items: start;
  border: 1px solid #d4d4d8;
  border-radius: 7px;
  background: #fff;
  color: #27272a;
  padding: 13px 12px 12px;
  text-align: left;
}

.app-demo-source-list button:hover,
.app-demo-source-list button.active {
  border-color: #18181b;
  background: #fff;
  box-shadow: 0 10px 22px rgba(24, 24, 27, 0.06);
}

.app-demo-source-list button.active {
  box-shadow: 0 10px 22px rgba(24, 24, 27, 0.08);
}

.app-demo-source-list button > span {
  border-radius: 4px;
  background: #18181b;
  color: #fff;
  font-size: 0.6rem;
  font-weight: 900;
  line-height: 1;
  padding: 4px 5px;
}

.app-demo-source-list strong {
  min-width: 0;
  overflow: hidden;
  color: #9ca3af;
  font-size: 0.63rem;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-demo-source-list small {
  color: #64748b;
  font-size: 0.64rem;
  font-weight: 800;
  white-space: nowrap;
}

.app-demo-source-list i {
  color: #a1a1aa;
  font-size: 0.7rem;
  font-style: normal;
  letter-spacing: 0.16em;
  white-space: nowrap;
}

.app-demo-source-list p {
  grid-column: 1 / -1;
  margin: 2px 0 0;
  background: transparent;
  color: #3f3f46;
  font-size: 0.77rem;
  line-height: 1.58;
  padding: 0;
}

.app-demo-source-preview {
  margin: auto 12px 12px;
  border: 1px solid #e4e4e7;
  border-radius: 9px;
  background:
    linear-gradient(180deg, #fff, #fafafa);
  box-shadow: 0 12px 28px rgba(24, 24, 27, 0.06);
  padding: 14px;
}

.app-demo-source-preview span {
  display: block;
  margin-bottom: 8px;
  color: #18181b;
  font-size: 0.7rem;
  font-weight: 800;
}

.app-demo-source-preview p {
  margin: 0;
  border-left: 3px solid #18181b;
  color: #27272a;
  font-size: 0.8rem;
  line-height: 1.55;
  padding-left: 10px;
}

.app-demo-real {
  grid-template-columns: 252px minmax(620px, 1fr) 360px;
  min-height: 760px;
  overflow: hidden;
  background: #fff;
}

.app-demo-real .app-demo-sidebar {
  background: #fff;
}

.app-demo-real .app-demo-brand {
  height: 46px;
}

.app-demo-real .app-demo-brand strong {
  font-size: 0.86rem;
  font-weight: 700;
}

.app-demo-real .app-demo-section {
  padding: 18px 7px 14px;
}

.app-demo-real .app-demo-section-title {
  margin-bottom: 9px;
}

.app-demo-real .app-demo-section-title span {
  color: #98a1b2;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
}

.app-demo-real .app-demo-row {
  min-height: 32px;
  border-radius: 5px;
  padding: 7px 8px;
}

.app-demo-real .app-demo-row span {
  font-size: 0.86rem;
  font-weight: 650;
}

.app-demo-real .app-demo-row.active {
  background: #18181b;
}

.app-demo-real .app-demo-file {
  justify-content: flex-start;
  gap: 8px;
  padding: 6px 8px;
}

.app-demo-real .app-demo-file small {
  margin-left: auto;
}

.app-demo-check {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin: 8px 7px 0;
  color: #596174;
  font-size: 0.73rem;
  line-height: 1.25;
}

.app-demo-check input {
  width: 13px;
  height: 13px;
  margin-top: 1px;
  accent-color: #18181b;
}

.app-demo-real .app-demo-chat {
  position: relative;
  background: #fff;
}

.app-demo-real .app-demo-status {
  position: static;
  z-index: 2;
  margin: 12px 16px 0;
  max-width: none;
  transform: none;
  text-align: center;
}

.app-demo-real .app-demo-messages {
  align-content: start;
  gap: 16px;
  padding: 20px clamp(42px, 8vw, 210px) 130px;
}

.app-demo-real .app-demo-bubble-user {
  justify-self: end;
  width: min(390px, 78%);
  margin-top: 0;
  border-radius: 10px;
  background: #18181b;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 750;
  padding: 18px 16px;
}

.app-demo-real .app-demo-bubble-user::before {
  display: block;
  margin-bottom: 10px;
  color: #9ca3af;
  content: "SIE";
  font-size: 0.58rem;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.app-demo-real .app-demo-bubble-assistant {
  position: relative;
  width: min(512px, 88%);
  max-width: none;
  margin-top: 0;
  border-radius: 10px;
  border-color: #e1e4ea;
  box-shadow: 0 8px 20px rgba(24, 24, 27, 0.05);
  font-size: 0.84rem;
  line-height: 1.72;
  padding: 18px;
}

.app-demo-book {
  position: absolute;
  top: 4px;
  right: -42px;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid #e1e4ea;
  border-radius: 7px;
  background: #fff;
  color: #475569;
  cursor: pointer;
}

.app-demo-real .app-demo-composer {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  justify-content: center;
  border-top: 1px solid #e4e4e7;
  background: #fff;
  padding: 16px 24px 24px;
}

.app-demo-real .app-demo-composer span {
  max-width: 674px;
  border-radius: 11px;
  color: #9ca3af;
  padding: 15px 16px;
}

.app-demo-real .app-demo-composer button,
.app-demo-real .app-demo-composer a {
  border-radius: 9px;
  background: #18181b;
  color: #fff;
  padding: 12px 14px;
}

.app-demo-real .app-demo-sources {
  background: #fff;
}

.app-demo-real .app-demo-source-head {
  height: 46px;
}

.app-demo-real .app-demo-source-list {
  max-height: 650px;
  overflow-y: auto;
  padding: 18px 12px 12px;
}

.app-demo-real .app-demo-source-list button {
  border-radius: 7px;
  padding: 12px;
}

.app-demo-real .app-demo-source-list p {
  font-size: 0.72rem;
  line-height: 1.65;
}

.app-demo-real .app-demo-source-preview {
  display: none;
}

.app-demo-file-dialog[hidden] {
  display: none;
}

.app-demo-file-dialog {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: grid;
  place-items: center;
}

.app-demo-dialog-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(4px);
}

.app-demo-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: min(1120px, calc(100% - 72px));
  height: min(760px, calc(100% - 80px));
  overflow: hidden;
  border: 1px solid #d8dbe2;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
}

.app-demo-dialog-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 16px;
  align-items: start;
  border-bottom: 1px solid #e5e7eb;
  padding: 18px 20px;
}

.app-demo-dialog-head strong {
  display: block;
  color: #111827;
  font-size: 1rem;
}

.app-demo-dialog-head p,
.app-demo-dialog-head span,
.app-demo-dialog-foot {
  margin: 4px 0 0;
  color: #6b7280;
  font-size: 0.78rem;
}

.app-demo-dialog-head button {
  border: 0;
  background: transparent;
  color: #9ca3af;
  cursor: pointer;
  font-size: 1.25rem;
}

.app-demo-dialog-body {
  display: grid;
  grid-template-columns: 284px minmax(0, 1fr);
  min-height: 0;
}

.app-demo-dialog-body aside {
  border-right: 1px solid #e5e7eb;
  background: #fbfbfc;
  padding: 12px;
}

.app-demo-dialog-body aside button {
  display: flex;
  width: 100%;
  justify-content: space-between;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #4b5563;
  cursor: pointer;
  padding: 9px 10px;
}

.app-demo-dialog-body aside .active {
  background: #18181b;
  color: #fff;
}

.app-demo-file-table {
  min-width: 0;
  padding: 14px 16px;
}

.app-demo-file-tools {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) repeat(4, auto) auto;
  gap: 8px;
  margin-bottom: 12px;
}

.app-demo-file-tools span,
.app-demo-file-tools button {
  border: 1px solid #d8dbe2;
  border-radius: 6px;
  background: #fff;
  color: #6b7280;
  font-size: 0.76rem;
  padding: 8px 10px;
}

.app-demo-file-tools button.active,
.app-demo-file-tools button.dark {
  border-color: #18181b;
  background: #18181b;
  color: #fff;
}

.app-demo-file-row {
  display: grid;
  grid-template-columns: 24px minmax(240px, 1fr) 90px 76px 150px 96px;
  gap: 10px;
  align-items: center;
  border-bottom: 1px solid #edf0f4;
  color: #4b5563;
  font-size: 0.74rem;
  padding: 11px 0;
}

.app-demo-file-row strong {
  color: #374151;
  font-size: 0.78rem;
}

.app-demo-file-row small {
  color: #047857;
}

.app-demo-file-row button {
  border: 1px solid #d8dbe2;
  border-radius: 5px;
  background: #fff;
  color: #4b5563;
  padding: 6px 8px;
  text-align: left;
}

.app-demo-file-row i {
  color: #9ca3af;
  font-style: normal;
  letter-spacing: 0.18em;
}

.app-demo-dialog-foot {
  display: flex;
  gap: 20px;
  border-top: 1px solid #e5e7eb;
  padding: 12px 16px;
}

.demo-preview-frame,
.demo-gallery .rag-hero-preview {
  transform: none;
  animation: none;
  box-shadow: 0 24px 70px rgba(35, 37, 36, 0.14);
}

.demo-preview-frame::before {
  display: none;
}

.rag-workflow-section {
  background: #fff;
}

.rag-workflow-grid article:nth-child(2),
.rag-workflow-grid article:nth-child(4) {
  background: #2f3030;
  color: #fff;
}

.rag-workflow-grid article:nth-child(2) p,
.rag-workflow-grid article:nth-child(4) p {
  color: rgba(255, 255, 255, 0.72);
}

.rag-assurance-section {
  background: #f6f2ea;
}

.rag-source-stack {
  display: grid;
  gap: 12px;
}

.rag-source-stack article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 18px;
}

.rag-source-stack span {
  display: inline-flex;
  margin-bottom: 12px;
  border-radius: 999px;
  background: #f6ead6;
  color: #805b32;
  font-size: 0.78rem;
  font-weight: 950;
  padding: 7px 10px;
}

.rag-source-stack strong {
  display: block;
  margin-bottom: 8px;
}

.rag-source-stack p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: clamp(42px, 6vw, 72px) clamp(18px, 5vw, 72px);
}

.detail-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 24px;
}

.detail-grid h2 {
  font-size: 1.35rem;
}

.detail-grid p {
  color: var(--muted);
  line-height: 1.65;
}

.legal-content {
  max-width: 880px;
}

.legal-content h1 {
  color: var(--text);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
}

.legal-content h2 {
  margin-top: 34px;
  font-size: 1.35rem;
}

.legal-content p {
  color: var(--muted);
  line-height: 1.75;
}

.legal-list {
  display: grid;
  gap: 10px;
  margin: 12px 0 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.7;
}

.legal-content a {
  color: var(--blue);
  font-weight: 850;
}

.legal-warning {
  border-left: 4px solid var(--accent);
  background: #fff;
  padding: 16px 18px;
}

@media (max-width: 980px) {
  .hero-section,
  .product-section,
  .split-section,
  .contact-section,
  .product-detail-hero {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: auto;
  }

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

  .comparison-grid,
  .faq-grid,
  .pricing-grid,
  .why-grid,
  .roadmap-grid,
  .detail-grid,
  .kb-workflow-grid {
    grid-template-columns: 1fr;
  }

  .rag-panel {
    grid-template-columns: 1fr;
  }

  .rag-sidebar {
    border-right: 0;
  }
}

@media (max-width: 720px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .site-header {
    position: static;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    max-width: 100vw;
    overflow: hidden;
    padding-inline: 18px;
  }

  .brand {
    flex: 0 0 auto;
  }

  .brand-logo {
    width: 142px;
  }

  .company-logo {
    width: 144px;
  }

  .menu-toggle {
    position: static;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex: 0 0 auto;
    margin-left: 12px;
  }

  .main-nav {
    display: none;
    flex: 1 0 100%;
    width: 100%;
    justify-content: flex-start;
  }

  .main-nav.is-open {
    display: flex;
  }

  .nav-group {
    display: grid;
    flex: 1 0 100%;
    gap: 6px;
    width: 100%;
  }

  .nav-dropdown {
    position: static;
    display: grid;
    width: 100%;
    border: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    padding: 0 0 0 12px;
    pointer-events: auto;
    transform: none;
  }

  .main-nav a {
    background: rgba(47, 48, 48, 0.06);
  }

  .header-action {
    display: none;
  }

  .hero-section {
    padding-top: 46px;
    max-width: 100vw;
    padding-right: 24px;
    padding-left: 24px;
  }

  .hero-content,
  .hero-showcase,
  .detail-hero h1,
  .detail-hero p,
  .detail-grid,
  .section-heading,
  .screenshot-gallery,
  .roadmap-grid {
    width: 100%;
    max-width: min(100%, 342px);
  }

  .detail-hero {
    padding-right: 24px;
    padding-left: 24px;
  }

  .detail-grid,
  .section {
    padding-right: 24px;
    padding-left: 24px;
  }

  .product-detail-hero {
    padding-right: 24px;
    padding-left: 24px;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(1.62rem, 7.1vw, 1.9rem);
    line-height: 1.06;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  h2 {
    font-size: clamp(1.8rem, 10vw, 2.7rem);
  }

  .eyebrow {
    font-size: 0.7rem;
    line-height: 1.45;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .hero-copy {
    max-width: 100%;
    font-size: 1rem;
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .hero-rag-card {
    justify-self: stretch;
    width: 100%;
    margin-top: 0;
  }

  .app-preview {
    min-height: auto;
  }

  .app-layout {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .app-sidebar {
    display: none;
  }

  .app-canvas {
    padding: 14px;
  }

  .app-stats {
    grid-template-columns: 1fr;
  }

  .kb-dashboard {
    max-width: 100%;
  }

  .rag-hero-preview {
    max-width: 100%;
  }

  .kb-dashboard-body {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .kb-sidebar {
    display: none;
  }

  .kb-main {
    padding: 14px;
  }

  .kb-stat-grid,
  .kb-list-head,
  .kb-list-row,
  .kb-document-table div {
    grid-template-columns: 1fr;
  }

  .kb-list-row strong,
  .kb-document-head strong,
  .kb-document-table em {
    text-align: left;
  }

  .kb-document-head {
    display: grid;
  }

  .hero-product,
  .product-screenshot,
  .wide-screenshot {
    max-width: 100%;
  }

  .product-topline {
    align-items: flex-start;
    gap: 12px;
  }

  .status-pill {
    white-space: normal;
    text-align: center;
  }

  .trust-strip {
    justify-content: flex-start;
  }

  .interest-cards {
    grid-template-columns: 1fr;
  }

  .intro-band,
  .feature-grid,
  .contact-facts {
    grid-template-columns: 1fr;
  }

  .doc-grid,
  .doc-row {
    grid-template-columns: 1fr;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Visual refresh layer */
:root {
  --bg: #f4f0e7;
  --surface: #fffdfa;
  --surface-strong: #242729;
  --surface-muted: #e9dfd0;
  --text: #232524;
  --muted: #68645e;
  --line: #d8c9b7;
  --steel: #31383b;
  --accent: #e3a23f;
  --accent-dark: #976018;
  --blue: #356f80;
  --green: #58745d;
  --shadow: 0 26px 70px rgba(27, 30, 29, 0.18);
  --shadow-strong: 0 38px 110px rgba(17, 20, 20, 0.34);
}

body {
  background:
    radial-gradient(circle at 18% 9%, rgba(227, 162, 63, 0.16), transparent 28rem),
    radial-gradient(circle at 87% 28%, rgba(53, 111, 128, 0.14), transparent 24rem),
    var(--bg);
}

.site-header {
  border-bottom-color: rgba(35, 37, 36, 0.1);
  background: rgba(244, 240, 231, 0.78);
  box-shadow: 0 12px 40px rgba(35, 37, 36, 0.08);
}

.main-nav a,
.header-action {
  transition:
    background 170ms ease,
    color 170ms ease,
    transform 170ms ease;
}

.main-nav a:hover,
.header-action:hover {
  color: var(--text);
  transform: translateY(-1px);
}

.header-action {
  position: relative;
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 0;
  background: linear-gradient(135deg, #f0bd64, var(--accent));
  color: #2c2b29;
  box-shadow: 0 15px 36px rgba(227, 162, 63, 0.28);
  padding: 0 18px;
}

.header-action:hover {
  background: linear-gradient(135deg, #f4c772, #e7a847);
  transform: translateY(-2px);
}

.hero-section {
  isolation: isolate;
  min-height: calc(100vh - 54px);
  padding-bottom: clamp(58px, 7vw, 86px);
}

.hero-section::after,
.detail-hero::after,
.contact-section::after {
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  pointer-events: none;
  content: "";
}

.hero-section::after {
  z-index: 0;
  background: linear-gradient(180deg, transparent, rgba(244, 240, 231, 0.1) 55%, rgba(244, 240, 231, 0.2));
}

.hero-background {
  background:
    linear-gradient(120deg, rgba(19, 23, 24, 0.98), rgba(39, 45, 45, 0.92) 48%, rgba(91, 70, 42, 0.82)),
    radial-gradient(circle at 70% 34%, rgba(227, 162, 63, 0.34), transparent 18rem),
    radial-gradient(circle at 88% 68%, rgba(53, 111, 128, 0.36), transparent 22rem),
    #202426;
}

.site-lines {
  opacity: 0.24;
  mask-image: linear-gradient(90deg, transparent, #000 22%, #000 86%, transparent);
}

.beam {
  box-shadow: 0 0 34px rgba(227, 162, 63, 0.28);
}

.hero-content {
  position: relative;
}

.hero-content::before,
.detail-hero-copy::before {
  display: block;
  width: 72px;
  height: 6px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), rgba(255, 255, 255, 0.34));
  content: "";
}

h1 {
  text-wrap: balance;
}

h2 {
  text-wrap: balance;
}

.hero-copy,
.section-heading p,
.product-copy p,
.split-section p,
.contact-copy p,
.detail-hero p,
.legal-content p {
  text-wrap: pretty;
}

.button,
.nav-dropdown,
.feature-card,
.comparison-card,
.pricing-card,
.roadmap-grid article,
.detail-grid article,
.pilot-box,
.contact-form,
.product-screenshot img,
.wide-screenshot img,
.kb-dashboard,
.kb-offer-preview,
.rag-hero-preview,
.rag-source-stack article,
.workflow-panel,
.rag-panel {
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.button {
  box-shadow: 0 10px 26px rgba(17, 20, 20, 0.12);
}

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

.button-primary {
  background: linear-gradient(135deg, #f0bd64, var(--accent));
  box-shadow: 0 15px 36px rgba(227, 162, 63, 0.28);
}

.button-primary:hover {
  background: linear-gradient(135deg, #f4c772, #e7a847);
}

.hero-product,
.kb-dashboard,
.rag-hero-preview {
  position: relative;
  transform: perspective(1200px) rotateX(2deg) rotateY(-4deg);
  box-shadow: var(--shadow-strong);
}

.hero-product::before,
.kb-dashboard::before,
.rag-hero-preview::before {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.22), transparent 34%, transparent 72%, rgba(227, 162, 63, 0.12));
  content: "";
}

.hero-showcase:hover .hero-product,
.product-detail-hero:hover .kb-dashboard,
.product-detail-hero:hover .rag-hero-preview {
  transform: perspective(1200px) rotateX(0deg) rotateY(-2deg) translateY(-3px);
}

.hero-rag-card {
  position: relative;
  z-index: 4;
  border-color: rgba(255, 255, 255, 0.46);
  box-shadow: 0 24px 70px rgba(17, 20, 20, 0.24);
}

.trust-strip span {
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
}

.intro-band {
  position: relative;
  z-index: 2;
  box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.14);
}

.intro-band div {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 253, 250, 0.84)),
    var(--surface);
}

.metric-value {
  color: var(--surface-strong);
}

.section,
.product-section,
.contact-section,
.detail-hero,
.legal-page {
  position: relative;
}

.section:nth-of-type(even) {
  background:
    radial-gradient(circle at 92% 14%, rgba(53, 111, 128, 0.08), transparent 20rem),
    var(--bg);
}

.feature-card,
.comparison-card,
.pricing-card,
.why-card,
.roadmap-grid article,
.detail-grid article,
.pilot-box,
.contact-form,
.rag-source-stack article {
  box-shadow: 0 14px 40px rgba(35, 37, 36, 0.06);
}

.feature-card:hover,
.comparison-card:hover,
.pricing-card:hover,
.why-card:hover,
.roadmap-grid article:hover,
.detail-grid article:hover,
.rag-source-stack article:hover {
  border-color: rgba(227, 162, 63, 0.55);
  box-shadow: 0 24px 64px rgba(35, 37, 36, 0.12);
  transform: translateY(-4px);
}

.feature-card {
  position: relative;
  overflow: hidden;
}

.feature-card::after,
.comparison-card::after,
.pricing-card::after,
.why-card::after,
.roadmap-grid article::after,
.detail-grid article::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(227, 162, 63, 0.1), transparent 36%);
  opacity: 0;
  transition: opacity 180ms ease;
  content: "";
}

.feature-card:hover::after,
.comparison-card:hover::after,
.pricing-card:hover::after,
.why-card:hover::after,
.roadmap-grid article:hover::after,
.detail-grid article:hover::after {
  opacity: 1;
}

.icon-box,
.kb-workflow-grid span,
.workflow-step span,
.contact-steps span {
  box-shadow: 0 12px 28px rgba(227, 162, 63, 0.22);
}

.icon-box {
  width: auto;
  min-width: 52px;
  padding: 0 12px;
  background: linear-gradient(135deg, var(--surface-strong), #3e4648);
}

.product-section {
  overflow: hidden;
}

.product-section::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(227, 162, 63, 0.08), transparent 36%),
    radial-gradient(circle at 88% 18%, rgba(53, 111, 128, 0.12), transparent 22rem);
  content: "";
}

.product-section > * {
  position: relative;
  z-index: 1;
}

.workflow-panel {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, #202426, #32383a),
    var(--surface-strong);
  box-shadow: var(--shadow);
}

.workflow-panel::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.26;
  content: "";
}

.workflow-step {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(8px);
}

.workflow-step:hover {
  border-color: rgba(227, 162, 63, 0.58);
  transform: translateX(3px);
}

.product-screenshot,
.wide-screenshot,
.kb-offer-preview {
  position: relative;
}

.product-screenshot::before,
.wide-screenshot::before,
.kb-offer-preview::before {
  position: absolute;
  inset: -14px;
  z-index: -1;
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(227, 162, 63, 0.18), transparent 42%),
    linear-gradient(315deg, rgba(53, 111, 128, 0.16), transparent 44%);
  content: "";
}

.split-section {
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.72), rgba(255, 253, 250, 0.32)),
    var(--bg);
}

.contact-section {
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 18%, rgba(227, 162, 63, 0.25), transparent 18rem),
    radial-gradient(circle at 16% 86%, rgba(53, 111, 128, 0.24), transparent 24rem),
    linear-gradient(135deg, #1e2223, #303637);
}

.contact-section::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 66px 66px;
  opacity: 0.28;
  content: "";
}

.contact-section > * {
  position: relative;
  z-index: 1;
}

.contact-form {
  border-color: rgba(255, 255, 255, 0.32);
  box-shadow: var(--shadow-strong);
}

input:focus,
textarea:focus,
.interest-card input:focus-visible + span {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(227, 162, 63, 0.18);
  outline: 0;
}

.detail-hero {
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 24%, rgba(227, 162, 63, 0.24), transparent 20rem),
    radial-gradient(circle at 12% 76%, rgba(53, 111, 128, 0.24), transparent 23rem),
    linear-gradient(135deg, #1f2324, #333839);
}

.detail-hero::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 70px 70px;
  opacity: 0.28;
  content: "";
}

.detail-hero > * {
  position: relative;
  z-index: 1;
}

.detail-grid {
  background:
    linear-gradient(180deg, rgba(255, 253, 250, 0.62), rgba(244, 240, 231, 0)),
    var(--bg);
}

.kb-workflow-grid article {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(216, 201, 183, 0.8);
  border-top: 4px solid var(--accent);
  border-radius: 8px;
  box-shadow: 0 14px 40px rgba(35, 37, 36, 0.06);
}

.kb-workflow-grid article:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 64px rgba(35, 37, 36, 0.12);
}

.rag-source-stack article:nth-child(2) {
  transform: translateX(24px);
}

.rag-source-stack article:nth-child(3) {
  transform: translateX(48px);
}

.rag-source-stack article:hover {
  transform: translateY(-3px);
}

.rag-source-stack article:nth-child(2):hover {
  transform: translateX(24px) translateY(-3px);
}

.rag-source-stack article:nth-child(3):hover {
  transform: translateX(48px) translateY(-3px);
}

.legal-page {
  background:
    radial-gradient(circle at 82% 14%, rgba(227, 162, 63, 0.12), transparent 22rem),
    var(--bg);
}

.legal-content {
  position: relative;
  border: 1px solid rgba(216, 201, 183, 0.85);
  border-radius: 8px;
  background: rgba(255, 253, 250, 0.78);
  box-shadow: 0 18px 54px rgba(35, 37, 36, 0.08);
  padding: clamp(24px, 5vw, 52px);
}

.legal-content::before {
  display: block;
  width: 72px;
  height: 6px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), rgba(53, 111, 128, 0.55));
  content: "";
}

.article-page .legal-content {
  max-width: 940px;
}

.legal-warning {
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(227, 162, 63, 0.2);
}

.site-footer {
  background: rgba(255, 253, 250, 0.7);
  backdrop-filter: blur(10px);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 520ms ease,
    transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .hero-product,
  .kb-dashboard,
  .rag-hero-preview,
  .rag-source-stack article,
  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .hero-product,
  .kb-dashboard,
  .rag-hero-preview,
  .hero-showcase:hover .hero-product,
  .product-detail-hero:hover .kb-dashboard,
  .product-detail-hero:hover .rag-hero-preview {
    transform: none;
  }

  .rag-source-stack article,
  .rag-source-stack article:nth-child(2),
  .rag-source-stack article:nth-child(3),
  .rag-source-stack article:hover,
  .rag-source-stack article:nth-child(2):hover {
    transform: none;
  }
}

@media (max-width: 720px) {
  .site-header {
    background: rgba(244, 240, 231, 0.96);
  }

  .hero-section {
    padding-bottom: 48px;
  }

  .hero-content::before,
  .detail-hero-copy::before,
  .legal-content::before {
    width: 52px;
    margin-bottom: 16px;
  }

  .legal-content {
    padding: 22px;
  }

  .feature-card:hover,
  .comparison-card:hover,
  .pricing-card:hover,
  .roadmap-grid article:hover,
  .detail-grid article:hover,
  .kb-workflow-grid article:hover,
  .button:hover,
  .workflow-step:hover {
    transform: none;
  }
}

/* Award pass: kinetic premium layer */
:root {
  --pointer-x: 50%;
  --pointer-y: 28%;
  --scroll-ratio: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at var(--pointer-x) var(--pointer-y), rgba(227, 162, 63, 0.16), transparent 18rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.28), transparent 16rem);
  content: "";
  transition: background 180ms ease;
}

.site-header::before {
  position: absolute;
  inset: auto 0 -1px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), rgba(53, 111, 128, 0.82), var(--accent));
  content: "";
  opacity: 0.9;
  transform: scaleX(var(--scroll-ratio));
  transform-origin: left;
}

.hero-background {
  perspective: 1000px;
}

.hero-aurora {
  position: absolute;
  width: 44vw;
  height: 44vw;
  border-radius: 999px;
  filter: blur(42px);
  mix-blend-mode: screen;
  opacity: 0.46;
  transform: translate3d(0, 0, 0);
  animation: aurora-drift 14s ease-in-out infinite alternate;
}

.hero-aurora-one {
  right: 4vw;
  top: 4vh;
  background:
    radial-gradient(circle, rgba(227, 162, 63, 0.92), transparent 58%),
    radial-gradient(circle at 72% 42%, rgba(255, 255, 255, 0.35), transparent 34%);
}

.hero-aurora-two {
  right: 28vw;
  bottom: -22vw;
  background:
    radial-gradient(circle, rgba(53, 111, 128, 0.82), transparent 56%),
    radial-gradient(circle at 30% 22%, rgba(227, 162, 63, 0.42), transparent 32%);
  animation-delay: -5s;
}

.hero-orbit {
  position: absolute;
  right: clamp(22px, 7vw, 120px);
  top: 50%;
  width: min(42vw, 540px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  opacity: 0.72;
  transform: translateY(-50%) rotateX(64deg) rotateZ(-18deg);
  animation: orbit-turn 28s linear infinite;
}

.hero-orbit::before,
.hero-orbit::after {
  position: absolute;
  inset: 16%;
  border: 1px solid rgba(227, 162, 63, 0.18);
  border-radius: inherit;
  content: "";
}

.hero-orbit::after {
  inset: 31%;
  border-color: rgba(255, 255, 255, 0.14);
}

.hero-orbit span {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 28px rgba(227, 162, 63, 0.9);
}

.hero-orbit span:nth-child(1) {
  left: 9%;
  top: 31%;
}

.hero-orbit span:nth-child(2) {
  right: 18%;
  top: 11%;
  background: var(--accent);
}

.hero-orbit span:nth-child(3) {
  right: 28%;
  bottom: 16%;
  background: #8cc8d6;
}

.hero-content {
  animation: hero-enter 760ms cubic-bezier(0.19, 1, 0.22, 1) both;
}

.hero-showcase {
  animation: showcase-enter 900ms cubic-bezier(0.19, 1, 0.22, 1) 120ms both;
}

.hero-product,
.kb-dashboard,
.rag-hero-preview {
  animation: product-float 7s ease-in-out infinite;
}

.hero-showcase:hover .hero-product,
.product-detail-hero:hover .kb-dashboard,
.product-detail-hero:hover .rag-hero-preview {
  animation-play-state: paused;
}

.window-bar {
  position: relative;
  overflow: hidden;
}

.window-bar::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 8%, rgba(255, 255, 255, 0.18) 18%, transparent 28%);
  content: "";
  transform: translateX(-120%);
  animation: sheen 5.8s ease-in-out infinite;
}

.document-preview,
.kb-list,
.answer,
.kb-document {
  position: relative;
  overflow: hidden;
}

.scan-line {
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 2;
  width: 2px;
  background: linear-gradient(180deg, transparent, rgba(227, 162, 63, 0.9), transparent);
  box-shadow: 0 0 22px rgba(227, 162, 63, 0.55);
  opacity: 0.82;
  animation: scan-document 4.8s ease-in-out infinite;
}

.doc-row,
.kb-list-row,
.source-row,
.workflow-step {
  transition:
    background 180ms ease,
    transform 180ms ease,
    color 180ms ease;
}

.document-preview:hover .doc-row,
.kb-list:hover .kb-list-row,
.answer:hover .source-row {
  background: rgba(227, 162, 63, 0.07);
}

.document-preview:hover .doc-row:nth-child(odd),
.kb-list:hover .kb-list-row:nth-child(odd) {
  transform: translateX(3px);
}

.hero-rag-card,
.trust-strip span,
.product-label,
.status-pill,
.ai-note {
  animation: soft-pulse 4.8s ease-in-out infinite;
}

.trust-strip span:nth-child(2),
.product-label {
  animation-delay: -1.2s;
}

.trust-strip span:nth-child(3),
.status-pill {
  animation-delay: -2.4s;
}

.feature-grid,
.comparison-grid,
.pricing-grid,
.why-grid,
.roadmap-grid,
.detail-grid,
.kb-workflow-grid {
  transform-style: preserve-3d;
}

.feature-card:hover,
.comparison-card:hover,
.pricing-card:hover,
.why-card:hover,
.roadmap-grid article:hover,
.detail-grid article:hover,
.kb-workflow-grid article:hover {
  transform: translateY(-6px) translateZ(18px);
}

.button-primary,
.header-action {
  position: relative;
  overflow: hidden;
}

.button-primary::after,
.header-action::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 4%, rgba(255, 255, 255, 0.42) 18%, transparent 34%);
  content: "";
  transform: translateX(-120%);
}

.button-primary:hover::after,
.header-action:hover::after {
  animation: button-sweep 780ms ease;
}

.rag-chat .question,
.rag-chat .answer {
  animation: chat-rise 720ms cubic-bezier(0.19, 1, 0.22, 1) both;
}

.rag-chat .answer {
  animation-delay: 180ms;
}

.contact-steps div:hover {
  background: rgba(255, 255, 255, 0.11);
  transform: translateX(4px);
}

.interest-card span:hover {
  border-color: rgba(227, 162, 63, 0.72);
  transform: translateY(-2px);
}

@keyframes aurora-drift {
  0% {
    transform: translate3d(-3%, -2%, 0) scale(0.96) rotate(0deg);
  }

  100% {
    transform: translate3d(5%, 6%, 0) scale(1.08) rotate(12deg);
  }
}

@keyframes orbit-turn {
  to {
    transform: translateY(-50%) rotateX(64deg) rotateZ(342deg);
  }
}

@keyframes hero-enter {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes showcase-enter {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes product-float {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -8px;
  }
}

@keyframes sheen {
  0%,
  58% {
    transform: translateX(-120%);
  }

  78%,
  100% {
    transform: translateX(130%);
  }
}

@keyframes scan-document {
  0%,
  14% {
    transform: translateX(0);
    opacity: 0;
  }

  30%,
  70% {
    opacity: 0.84;
  }

  86%,
  100% {
    transform: translateX(520px);
    opacity: 0;
  }
}

@keyframes soft-pulse {
  0%,
  100% {
    filter: saturate(1);
  }

  50% {
    filter: saturate(1.2) brightness(1.04);
  }
}

@keyframes button-sweep {
  to {
    transform: translateX(130%);
  }
}

@keyframes chat-rise {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  body::before,
  .hero-aurora,
  .hero-orbit,
  .hero-content,
  .hero-showcase,
  .hero-product,
  .kb-dashboard,
  .rag-hero-preview,
  .window-bar::after,
  .scan-line,
  .hero-rag-card,
  .trust-strip span,
  .product-label,
  .status-pill,
  .ai-note,
  .rag-chat .question,
  .rag-chat .answer {
    animation: none !important;
  }
}

@media (max-width: 980px) {
  .hero-orbit {
    right: -18vw;
    width: 70vw;
    opacity: 0.32;
  }

  .hero-aurora {
    width: 78vw;
    height: 78vw;
  }
}

@media (max-width: 720px) {
  .hero-orbit {
    display: none;
  }

  .hero-aurora {
    filter: blur(34px);
    opacity: 0.32;
  }

  .scan-line {
    display: none;
  }

  .feature-card:hover,
  .comparison-card:hover,
  .pricing-card:hover,
  .roadmap-grid article:hover,
  .detail-grid article:hover,
  .kb-workflow-grid article:hover,
  .contact-steps div:hover,
  .interest-card span:hover {
    transform: none;
  }
}

/* Signature wow layer */
.blueprint-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  opacity: 0.9;
  mix-blend-mode: screen;
}

.hero-signature {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  perspective: 1000px;
}

.signature-plane {
  position: absolute;
  right: clamp(-130px, -5vw, -42px);
  display: grid;
  grid-template-columns: repeat(2, minmax(94px, 1fr));
  gap: 12px;
  width: min(36vw, 470px);
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.035)),
    rgba(18, 23, 24, 0.24);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 34px 90px rgba(0, 0, 0, 0.24);
  transform: rotateX(62deg) rotateZ(-21deg);
  transform-style: preserve-3d;
  backdrop-filter: blur(10px);
  animation: signature-drift 12s ease-in-out infinite alternate;
}

.signature-plane-one {
  top: 12%;
}

.signature-plane-two {
  right: clamp(18px, 9vw, 160px);
  bottom: 8%;
  width: min(30vw, 360px);
  grid-template-columns: repeat(3, minmax(72px, 1fr));
  animation-delay: -4s;
  transform: rotateX(64deg) rotateZ(17deg);
}

.signature-plane span {
  display: grid;
  min-height: 64px;
  place-items: center;
  border: 1px solid rgba(227, 162, 63, 0.22);
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(227, 162, 63, 0.22), rgba(53, 111, 128, 0.08)),
    rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 0 20px rgba(227, 162, 63, 0.42);
  transform: translateZ(12px);
  animation: tile-pop 5.4s ease-in-out infinite;
}

.signature-plane span:nth-child(2) {
  animation-delay: -1.1s;
}

.signature-plane span:nth-child(3) {
  animation-delay: -2.2s;
}

.signature-plane span:nth-child(4) {
  animation-delay: -3.3s;
}

.hero-content,
.hero-showcase {
  z-index: 3;
}

.hero-content h1 {
  position: relative;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08),
    0 22px 64px rgba(0, 0, 0, 0.42);
}

.hero-content h1::after {
  display: block;
  width: min(420px, 80%);
  height: 1px;
  margin-top: 24px;
  background: linear-gradient(90deg, rgba(227, 162, 63, 0.95), rgba(255, 255, 255, 0.2), transparent);
  box-shadow: 0 0 26px rgba(227, 162, 63, 0.38);
  content: "";
  transform-origin: left;
  animation: title-line 1.2s cubic-bezier(0.19, 1, 0.22, 1) 420ms both;
}

.hero-product-main {
  box-shadow:
    0 38px 120px rgba(0, 0, 0, 0.36),
    0 0 0 1px rgba(255, 255, 255, 0.18),
    0 0 80px rgba(227, 162, 63, 0.14);
}

.hero-product-main::after {
  position: absolute;
  inset: 14px;
  z-index: 4;
  border: 1px solid rgba(227, 162, 63, 0.28);
  border-radius: 6px;
  pointer-events: none;
  content: "";
  clip-path: polygon(0 0, 34% 0, 34% 1px, 1px 1px, 1px 34%, 0 34%, 0 0, 100% 66%, 100% 100%, 66% 100%, 66% calc(100% - 1px), calc(100% - 1px) calc(100% - 1px), calc(100% - 1px) 66%);
  animation: target-lock 3.2s ease-in-out infinite;
}

@keyframes signature-drift {
  0% {
    translate: 0 0;
    filter: saturate(1);
  }

  100% {
    translate: -18px 24px;
    filter: saturate(1.22) brightness(1.06);
  }
}

@keyframes tile-pop {
  0%,
  100% {
    transform: translateZ(12px);
  }

  50% {
    transform: translateZ(34px);
  }
}

@keyframes title-line {
  from {
    opacity: 0;
    transform: scaleX(0);
  }

  to {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes target-lock {
  0%,
  100% {
    opacity: 0.34;
    transform: scale(1);
  }

  50% {
    opacity: 0.82;
    transform: scale(0.982);
  }
}

@media (prefers-reduced-motion: reduce) {
  .blueprint-canvas,
  .signature-plane,
  .signature-plane span,
  .hero-content h1::after,
  .hero-product-main::after {
    animation: none !important;
  }
}

@media (max-width: 980px) {
  .signature-plane {
    right: -170px;
    width: 520px;
    opacity: 0.42;
  }

  .signature-plane-two {
    right: -90px;
    width: 380px;
  }

  .rag-live-demo {
    grid-template-columns: 1fr;
  }

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

  .demo-docs,
  .demo-source-view {
    padding-top: 46px;
  }

  .demo-source-view {
    border-top: 1px solid #ded6cc;
    border-left: 0;
  }

  .app-demo {
    grid-template-columns: 1fr;
  }

  .app-demo-sidebar {
    max-height: none;
    border-right: 0;
    border-bottom: 1px solid #e4e4e7;
  }

  .app-demo-section {
    padding-bottom: 8px;
  }

  .app-demo-sources {
    border-top: 1px solid #e4e4e7;
    border-left: 0;
  }

  .app-demo-source-preview {
    margin-top: 0;
  }

  .app-demo-real {
    display: block;
    min-height: 720px;
    overflow-x: auto;
  }

  .app-demo-real > .app-demo-sidebar,
  .app-demo-real > .app-demo-chat,
  .app-demo-real > .app-demo-sources {
    float: left;
    height: 720px;
  }

  .app-demo-real > .app-demo-sidebar {
    width: 252px;
  }

  .app-demo-real > .app-demo-chat {
    width: 680px;
  }

  .app-demo-real > .app-demo-sources {
    width: 360px;
  }
}

@media (max-width: 720px) {
  .blueprint-canvas {
    opacity: 0.48;
  }

  .signature-plane {
    display: none;
  }

  .rag-live-demo {
    min-height: 0;
  }

  .demo-docs {
    grid-template-columns: 1fr;
  }

  .demo-question-bar,
  .demo-input {
    display: grid;
    grid-template-columns: 1fr;
  }

  .demo-ribbon {
    max-width: calc(100% - 28px);
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .app-demo {
    min-height: 0;
  }

  .app-demo-brand,
  .app-demo-source-head {
    height: 44px;
  }

  .app-demo-messages,
  .app-demo-composer {
    padding-right: 14px;
    padding-left: 14px;
  }

  .app-demo-composer {
    display: grid;
  }

  .app-demo-bubble {
    max-width: 100%;
  }
}


