:root {
  --ink: #151716;
  --muted: #5d6562;
  --paper: #ffffff;
  --soft: #f5f7f2;
  --mist: #e9f0ec;
  --line: #d9e1dc;
  --teal: #087b83;
  --green: #4d9a66;
  --coral: #de6048;
  --amber: #d99b19;
  --charcoal: #222726;
  --shadow: 0 18px 45px rgba(21, 23, 22, 0.1);
  --section-space: 84px;
  --section-space-compact: 64px;
  --card-gap: 22px;
  --card-padding: 26px;
  --panel-padding: 34px;
  --intro-gap: 16px;
  --intro-bottom: 46px;
}

.btn-chevron {
  width: 0.7em;
  height: 0.7em;
  flex: none;
  vertical-align: -0.05em;
}

.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--teal);
  font-weight: 800;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

body,
button,
input,
select,
textarea {
  letter-spacing: 0;
}

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

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 14px 0;
  border-bottom: 1px solid rgba(217, 225, 220, 0.8);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 142px;
  min-width: 128px;
}

.brand img {
  width: 142px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.94rem;
  color: var(--muted);
}

.site-nav > a,
.nav-details > summary {
  border-radius: 8px;
  padding: 10px 12px;
}

.site-nav > a:hover,
.nav-details > summary:hover,
.site-nav > a:focus-visible,
.nav-details > summary:focus-visible {
  background: var(--soft);
  color: var(--ink);
  outline: none;
}

.nav-details {
  position: relative;
}

.nav-details summary {
  cursor: pointer;
  list-style: none;
}

.nav-details summary::-webkit-details-marker {
  display: none;
}

.nav-popover {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  display: grid;
  min-width: 230px;
  gap: 4px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.nav-popover a {
  border-radius: 8px;
  padding: 10px 12px;
}

.nav-popover a:hover,
.nav-popover a:focus-visible {
  background: var(--soft);
  outline: none;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 12px 18px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

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

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

.button-secondary {
  border-color: var(--line);
  background: var(--paper);
  color: var(--ink);
}

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

.hero-section,
.page-hero,
.content-section,
.content-band,
.case-study,
.final-cta {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
}

.hero-section,
.page-hero {
  width: min(1160px, calc(100% - 48px));
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(48px, 5vw, 80px);
  align-items: center;
  padding: 64px 0 56px;
}

.hero-copy {
  display: grid;
  max-width: 560px;
}

.hero-copy .eyebrow {
  margin-bottom: 24px;
}

.hero-copy h1 {
  margin-bottom: 32px;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 540px;
}

.eyebrow {
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.4px;
}

h1 {
  max-width: 820px;
  font-size: 4rem;
  line-height: 1.02;
  font-weight: 850;
  text-wrap: balance;
}

h2 {
  font-size: 2.45rem;
  line-height: 1.1;
  font-weight: 820;
  text-wrap: balance;
}

h3 {
  font-size: 1.14rem;
  line-height: 1.25;
  font-weight: 780;
}

.hero-copy > p:not(.eyebrow),
.page-hero > div > p:not(.eyebrow),
.section-intro > p:not(.eyebrow),
.final-cta p,
.ai-panel p,
.split-panel p {
  color: var(--muted);
  font-size: 1.12rem;
  text-wrap: pretty;
}

.hero-support,
.support-note,
.small-note {
  color: var(--muted);
}

.hero-support {
  margin-top: 32px;
  border-left: 4px solid var(--teal);
  padding: 10px 0 10px 12px;
  font-weight: 650;
}

.small-note {
  font-size: 0.92rem;
}

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

.hero-visual {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 0;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.hero-showcase {
  justify-self: end;
  display: grid;
  width: min(100%, 680px);
  min-width: 0;
  gap: 20px;
}

.showcase-frame {
  position: relative;
  overflow: hidden;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.showcase-frame:focus-visible {
  outline: 3px solid rgba(8, 123, 131, 0.3);
  outline-offset: 4px;
}

.showcase-slides {
  position: relative;
  aspect-ratio: 16 / 10;
}

.showcase-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.985);
  transition:
    opacity 760ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 760ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.showcase-slide.is-active {
  opacity: 1;
  transform: translateX(0);
}

.showcase-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
}

.showcase-slide-contain {
  background: #050505;
}

.showcase-slide-contain img {
  object-fit: contain;
  object-position: center;
}

.showcase-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(217, 225, 220, 0.9);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--teal);
  cursor: pointer;
  font-size: 1.7rem;
  line-height: 1;
  box-shadow: 0 12px 28px rgba(21, 23, 22, 0.12);
  transform: translateY(-50%);
}

.showcase-arrow:hover,
.showcase-arrow:focus-visible {
  background: var(--paper);
  color: var(--ink);
}

.showcase-arrow.previous {
  left: 10px;
}

.showcase-arrow.next {
  right: 10px;
}

.showcase-caption {
  display: grid;
  min-height: 104px;
  padding: 0 4px;
}

.showcase-copy {
  grid-area: 1 / 1;
  display: grid;
  gap: 5px;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition:
    opacity 520ms ease,
    transform 520ms ease,
    visibility 520ms ease;
}

.showcase-copy.is-active {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.showcase-kicker {
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.showcase-title {
  color: var(--ink);
  font-size: 1.12rem;
  font-weight: 820;
  line-height: 1.2;
}

.showcase-copy p:last-child {
  max-width: 620px;
  color: var(--muted);
}

.showcase-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: center;
}

.showcase-dot {
  position: relative;
  width: 28px;
  height: 20px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
}

.showcase-dot::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--line);
  content: "";
  transform: translate(-50%, -50%);
  transition:
    width 220ms ease,
    background 220ms ease;
}

.showcase-dot.is-active::before {
  width: 20px;
  background: var(--teal);
}

.showcase-dot:focus-visible {
  outline: 3px solid rgba(8, 123, 131, 0.3);
  outline-offset: 2px;
}

.trust-strip {
  display: grid;
  gap: 18px;
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto 56px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-strip p {
  color: var(--muted);
  font-weight: 700;
}

.trust-strip div,
.control-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-strip span,
.control-list span {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  padding: 9px 12px;
  color: var(--charcoal);
  font-weight: 700;
  font-size: 0.92rem;
}

.trust-strip .client-logos {
  align-items: center;
  gap: clamp(28px, 5vw, 56px);
}

.trust-strip .client-logo {
  border: 0;
  background: none;
  padding: 0;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.2px;
  color: var(--muted);
  opacity: 0.72;
  filter: grayscale(1);
}

.trust-strip .client-logos img {
  height: 30px;
  width: auto;
  filter: grayscale(1);
  opacity: 0.72;
}

.content-section {
  padding: var(--section-space) 0;
}

.content-band {
  width: 100%;
  max-width: none;
  padding: var(--section-space) max(24px, calc((100% - 1160px) / 2));
  background: var(--soft);
}

.content-band > * {
  width: min(1160px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.content-band.compact {
  padding-top: var(--section-space-compact);
  padding-bottom: var(--section-space-compact);
}

.section-intro {
  display: grid;
  max-width: 780px;
  gap: var(--intro-gap);
  margin-bottom: var(--intro-bottom);
}

.section-intro.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

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

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

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

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

.info-card,
.module-card,
.solution-card,
.resource-card,
.pricing-card,
.stage-card,
.case-grid article,
.demo-note,
.mini-report,
.visual-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: var(--card-padding);
}

.resource-card {
  display: grid;
  gap: 12px;
  align-content: start;
}

.info-card p,
.module-card p,
.solution-card p,
.resource-card p,
.pricing-card p,
.stage-card p,
.case-grid p,
.mini-report p,
.visual-card p {
  margin-top: 10px;
  color: var(--muted);
}

.resource-card p {
  margin-top: 0;
}

.status-card {
  display: grid;
  gap: 12px;
  align-content: start;
}

.status-card p {
  margin-top: 0;
}

.status-card a {
  color: var(--teal);
  font-weight: 800;
}

.status-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border: 1px solid rgba(8, 123, 131, 0.22);
  border-radius: 999px;
  background: var(--mist);
  padding: 5px 12px;
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  line-height: 1.35;
}

.intelligence-panel + .card-grid,
.mcp-panel + .card-grid,
.ai-panel + .card-grid,
.split-panel + .card-grid {
  margin-top: 32px;
}

.section-title-row {
  display: grid;
  gap: 12px;
}

.visual-card {
  display: grid;
  gap: 18px;
  padding: 0;
  overflow: hidden;
}

.visual-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-bottom: 1px solid var(--line);
  object-fit: cover;
  object-position: top left;
}

.visual-card > div {
  display: grid;
  gap: 10px;
  padding: 0 var(--card-padding) var(--card-padding);
}

.stage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--card-gap);
}

.stage-card span,
.resource-card-badge {
  display: inline-flex;
  margin-bottom: 18px;
  border-radius: 8px;
  background: var(--mist);
  padding: 7px 10px;
  color: var(--teal);
  font-weight: 800;
  font-size: 0.86rem;
}

.resource-card-badge {
  margin-bottom: 2px;
  border: 1px solid rgba(8, 123, 131, 0.14);
}

.resource-card-action {
  display: inline-flex;
  width: fit-content;
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  padding: 10px 12px;
  color: var(--muted);
  font-weight: 800;
  font-size: 0.92rem;
}

.answer-box {
  display: grid;
  width: min(1160px, calc(100% - 48px));
  grid-template-columns: 1.05fr 0.95fr;
  gap: 34px;
  align-items: start;
  margin: 60px auto;
  border: 1px solid var(--line);
  border-left: 6px solid var(--teal);
  border-radius: 8px;
  background: var(--paper);
  padding: var(--panel-padding);
  box-shadow: var(--shadow);
}

.answer-box > div {
  display: grid;
  gap: 14px;
}

.answer-box p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.12rem;
}

.answer-box ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.answer-box li {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  padding: 12px 14px;
  color: var(--charcoal);
  font-weight: 700;
}

.ai-panel {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 36px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: var(--panel-padding);
  background: var(--charcoal);
  color: white;
}

.ai-panel .eyebrow {
  color: #75d5d2;
}

.ai-panel p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
}

.question-stack {
  display: grid;
  gap: 10px;
}

.question {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  padding: 14px 16px;
  color: white;
  font-weight: 700;
}

.intelligence-panel {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 36px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--charcoal);
  color: white;
  padding: var(--panel-padding);
}

.intelligence-panel .eyebrow {
  color: #75d5d2;
}

.intelligence-panel > div:first-child {
  display: grid;
  gap: 14px;
}

.intelligence-panel p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.12rem;
}

.memory-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.memory-list span {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  padding: 12px 14px;
  color: white;
  font-weight: 750;
}

.faq-list {
  display: grid;
  max-width: 900px;
  gap: 14px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 22px 24px;
}

.faq-list summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 800;
}

.faq-list p {
  margin-top: 12px;
  color: var(--muted);
}

.intent-card {
  min-height: 250px;
}

.control-list {
  margin-top: 34px;
}

.solution-card {
  display: grid;
  gap: 10px;
  min-height: 230px;
  align-content: start;
  transition:
    transform 160ms ease,
    border-color 160ms ease;
}

.solution-card:hover,
.solution-card:focus-visible {
  transform: translateY(-2px);
  border-color: var(--teal);
  outline: none;
}

.solution-card span {
  margin-top: auto;
  color: var(--teal);
  font-weight: 800;
}

.case-study {
  display: grid;
  grid-template-columns: 0.55fr 1fr;
  gap: 30px;
  align-items: start;
  padding: var(--section-space) 0;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--card-gap);
}

.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 16px;
  margin-bottom: var(--section-space);
  border-radius: 8px;
  background: var(--mist);
  padding: 40px;
}

.final-cta.slim {
  margin-top: 0;
  margin-bottom: 0;
}

.final-cta p:not(.eyebrow) {
  max-width: 680px;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(48px, 6vw, 96px);
  align-items: center;
  padding: 80px 0 56px;
}

.page-hero > div:first-child {
  display: grid;
  max-width: 650px;
  gap: 24px;
}

.page-hero-aside {
  justify-self: stretch;
  min-width: 0;
}

.screenshot-frame {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--charcoal);
  box-shadow: var(--shadow);
}

.screenshot-frame img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.screenshot-frame figcaption {
  padding: 12px 14px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.86rem;
}

.hero-screenshot-frame figcaption {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-screenshot-frame figcaption span {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 6px 8px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 750;
}

.hero-visual-card {
  display: grid;
  min-height: 320px;
  align-content: center;
  gap: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  padding: 32px;
  box-shadow: var(--shadow);
}

.hero-visual-title {
  color: var(--teal);
  font-size: 0.9rem;
  font-weight: 850;
}

.hero-flow {
  display: grid;
  gap: 8px;
  justify-items: center;
}

.hero-flow-step,
.assistant-row span,
.branch-row span,
.plan-factor-list span {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 10px 14px;
  color: var(--ink);
  font-weight: 800;
}

.hero-flow-step {
  width: min(100%, 320px);
}

.hero-flow-primary {
  border-color: rgba(8, 123, 131, 0.24);
  background: var(--mist);
  color: var(--teal);
}

.hero-flow-connector {
  color: var(--muted);
  font-weight: 850;
  line-height: 1;
}

.hero-visual-footer {
  color: var(--muted);
  font-weight: 700;
}

.guide-visual {
  min-height: 360px;
}

.guide-cover-stack {
  position: relative;
  min-height: 250px;
}

.guide-cover {
  position: absolute;
  top: 8px;
  left: 50%;
  display: grid;
  width: 210px;
  min-height: 240px;
  align-content: space-between;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 24px;
  box-shadow: 0 16px 32px rgba(21, 23, 22, 0.08);
}

.guide-cover span {
  width: fit-content;
  border-radius: 8px;
  background: var(--mist);
  padding: 6px 8px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 850;
}

.guide-cover h3 {
  font-size: 1rem;
}

.guide-cover-1 {
  transform: translateX(-92%) rotate(-4deg);
}

.guide-cover-2 {
  transform: translateX(-50%);
}

.guide-cover-3 {
  transform: translateX(-8%) rotate(4deg);
}

.plan-factor-list,
.assistant-row,
.branch-row {
  display: grid;
  gap: 8px;
}

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

.plan-outcome {
  border-radius: 8px;
  background: var(--charcoal);
  padding: 18px;
  color: white;
  font-weight: 850;
  text-align: center;
}

.mcp-hero-visual,
.branch-visual,
.plan-visual {
  justify-items: stretch;
  text-align: center;
}

.split-panel {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 34px;
  align-items: center;
  margin-top: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: var(--panel-padding);
}

.split-panel > div {
  display: grid;
  gap: 12px;
}

.mcp-panel {
  align-items: stretch;
}

.mcp-panel .button {
  width: fit-content;
}

.mcp-diagram {
  display: grid;
  gap: 12px;
  align-content: center;
}

.mcp-diagram div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  padding: 18px;
  color: var(--charcoal);
  font-weight: 800;
  text-align: center;
}

.diagram-connector {
  color: var(--teal);
  font-size: 1.4rem;
  font-weight: 900;
  line-height: 1;
  text-align: center;
}

.split-panel img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 18px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--card-gap);
}

.pricing-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.pricing-card .button {
  margin-top: auto;
}

.pricing-price {
  display: grid;
  gap: 4px;
}

.price-main {
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.price-amount {
  font-size: 2.1rem;
  line-height: 1;
  font-weight: 850;
  letter-spacing: -0.5px;
  color: var(--ink);
}

.price-period {
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted);
}

.pricing-card .price-note {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.pricing-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pricing-card li {
  position: relative;
  padding-left: 22px;
  color: var(--charcoal);
}

.pricing-card li::before,
.hero-checklist span::before {
  position: absolute;
  left: 0;
  color: var(--green);
  content: "+";
  font-weight: 900;
}

.demo-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 900px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  padding: 30px;
}

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

.demo-form .full,
.demo-form button,
.form-note {
  grid-column: 1 / -1;
}

label {
  color: var(--charcoal);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 13px 14px;
  color: var(--ink);
  font: inherit;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--teal);
  outline: 3px solid rgba(8, 123, 131, 0.14);
}

.demo-form button {
  width: fit-content;
  cursor: pointer;
  font: inherit;
}

.form-note {
  color: var(--muted);
  font-size: 0.9rem;
}

.form-note a {
  color: var(--teal);
  font-weight: 700;
}

.form-status {
  grid-column: 1 / -1;
  margin: 0;
  padding: 14px 16px;
  border-radius: 8px;
  font-weight: 600;
}

.form-status[data-state="success"] {
  background: rgba(77, 154, 102, 0.14);
  border: 1px solid var(--green);
  color: #256b3c;
}

.form-status[data-state="error"] {
  background: rgba(222, 96, 72, 0.12);
  border: 1px solid var(--coral);
  color: #a53a26;
}

.demo-note,
.hero-checklist {
  display: grid;
  gap: 12px;
}

.demo-note span,
.hero-checklist span {
  color: var(--muted);
}

.hero-checklist span {
  position: relative;
  padding-left: 24px;
}

.mini-report {
  background: var(--charcoal);
  color: white;
}

.mini-report span {
  color: #75d5d2;
  font-weight: 800;
}

.mini-report p {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--soft);
  padding: 56px 48px 34px;
}

.footer-inner {
  display: grid;
  width: min(1160px, 100%);
  grid-template-columns: 1.2fr repeat(3, 0.7fr);
  gap: 34px;
  margin: 0 auto;
}

.footer-logo {
  width: 138px;
  margin-bottom: 18px;
}

.footer-brand p {
  max-width: 320px;
}

.footer-contact {
  margin-top: 18px;
}

.footer-social {
  margin-top: 8px;
}

.site-footer h2 {
  margin-bottom: 14px;
  font-size: 1rem;
}

.site-footer p,
.site-footer a,
.footer-small {
  color: var(--muted);
}

.site-footer a {
  display: block;
  margin: 9px 0;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--ink);
  outline: none;
}

.footer-small {
  width: min(1160px, 100%);
  margin: 34px auto 0;
  font-size: 0.9rem;
}

@media (max-width: 1040px) {
  :root {
    --section-space: 72px;
    --section-space-compact: 56px;
    --card-gap: 20px;
    --panel-padding: 30px;
    --intro-bottom: 34px;
  }

  .header-inner {
    flex-wrap: wrap;
    justify-content: center;
    width: min(1160px, calc(100% - 32px));
  }

  .site-nav {
    order: 3;
    width: 100%;
    flex-wrap: wrap;
  }

  .hero-section,
  .answer-box,
  .case-study {
    grid-template-columns: 1fr;
  }

  .page-hero {
    grid-template-columns: minmax(0, 0.95fr) minmax(300px, 1fr);
    gap: 40px;
    padding: 64px 0 48px;
  }

  .hero-copy {
    max-width: none;
  }

  .hero-showcase {
    justify-self: center;
    width: min(760px, 100%);
    margin: 0 auto;
  }

  .hero-section {
    gap: 42px;
  }

  .hero-visual-card {
    min-height: 280px;
    padding: 28px;
  }

  h1 {
    font-size: 3.25rem;
  }

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

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

@media (max-width: 760px) {
  :root {
    --section-space: 58px;
    --section-space-compact: 48px;
    --card-gap: 18px;
    --card-padding: 22px;
    --panel-padding: 24px;
    --intro-gap: 12px;
    --intro-bottom: 28px;
  }

  .hero-section,
  .page-hero,
  .answer-box,
  .content-section,
  .case-study,
  .final-cta,
  .trust-strip {
    width: min(100% - 32px, 1160px);
  }

  .hero-section {
    gap: 34px;
    padding-top: 48px;
    padding-bottom: 52px;
  }

  .page-hero {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-top: 56px;
    padding-bottom: 44px;
  }

  .page-hero > div:first-child {
    max-width: none;
  }

  .hero-visual-card {
    min-height: auto;
    padding: 24px;
  }

  .guide-visual {
    min-height: auto;
  }

  .guide-cover-stack {
    display: grid;
    min-height: auto;
    gap: 12px;
  }

  .guide-cover {
    position: static;
    width: 100%;
    min-height: 150px;
    transform: none;
  }

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

  .showcase-caption {
    min-height: 118px;
  }

  .showcase-arrow {
    width: 32px;
    height: 32px;
    font-size: 1.55rem;
  }

  h1 {
    font-size: 2.55rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-copy > p:not(.eyebrow),
  .page-hero > div > p:not(.eyebrow),
  .section-intro > p:not(.eyebrow),
  .final-cta p,
  .ai-panel p,
  .split-panel p {
    font-size: 1rem;
  }

  .card-grid.two,
  .card-grid.three,
  .card-grid.four,
  .stage-grid,
  .case-grid,
  .pricing-grid,
  .ai-panel,
  .intelligence-panel,
  .split-panel,
  .demo-form,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .answer-box {
    gap: 24px;
    margin-top: 40px;
    margin-bottom: 40px;
  }

  .split-panel {
    gap: 24px;
    margin-top: 28px;
  }

  .final-cta {
    display: grid;
    gap: 22px;
    margin-top: 8px;
    margin-bottom: var(--section-space);
    padding: 26px;
  }

  .site-footer {
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (max-width: 520px) {
  .site-header {
    align-items: stretch;
  }

  .brand {
    margin-right: auto;
  }

  .header-inner > .button {
    width: 100%;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .site-nav > a,
  .nav-details > summary {
    padding: 9px 10px;
  }

  .nav-popover {
    left: 0;
    right: auto;
  }

  .hero-actions,
  .hero-actions .button,
  .final-cta .button,
  .demo-form button {
    width: 100%;
  }

  .showcase-arrow {
    display: none;
  }

  .button {
    white-space: normal;
  }
}

.legal {
  width: min(100% - 48px, 820px);
  margin: 0 auto;
  padding-bottom: var(--section-space);
  color: var(--ink);
}

.legal h2 {
  font-size: 1.4rem;
  margin: 36px 0 12px;
}

.legal p {
  color: var(--muted);
  line-height: 1.75;
  margin: 0 0 14px;
}

.legal a {
  color: var(--teal);
  font-weight: 700;
}

.legal-meta {
  color: var(--muted);
  font-weight: 600;
}

.legal-hero {
  width: min(100% - 48px, 820px);
  margin-left: auto;
  margin-right: auto;
  grid-template-columns: 1fr;
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  display: flex;
  justify-content: center;
  padding: 16px;
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-inner {
  width: min(100%, 1000px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--ink);
  color: #fff;
  border-radius: 14px;
  padding: 18px 24px;
  box-shadow: 0 18px 45px rgba(21, 23, 22, 0.28);
  transform: translateY(16px);
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.cookie-banner.is-visible .cookie-inner {
  transform: translateY(0);
  opacity: 1;
}

.cookie-inner p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
}

.cookie-inner a {
  color: #75d5d2;
  font-weight: 700;
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-btn {
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  border-radius: 999px;
  padding: 11px 22px;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: filter 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.cookie-btn-solid {
  background: var(--teal);
  color: #fff;
}

.cookie-btn-solid:hover {
  filter: brightness(1.08);
}

.cookie-btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.cookie-btn-ghost:hover {
  border-color: #fff;
}

@media (max-width: 620px) {
  .cookie-inner {
    flex-direction: column;
    align-items: stretch;
    text-align: left;
    gap: 14px;
    padding: 18px;
  }

  .cookie-actions {
    gap: 12px;
  }

  .cookie-btn {
    flex: 1;
  }
}

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

  .cookie-inner {
    transition: none;
  }

  .showcase-slide,
  .showcase-copy,
  .showcase-dot::before {
    transition: none;
  }
}
