:root {
  --ink: #11131a;
  --muted: #626977;
  --line: #dfe3ea;
  --paper: #fbfbf8;
  --soft: #f3f5f8;
  --green: #1b7f6d;
  --green-dark: #11131a;
  --blue: #d79a2b;
  --cyan: #62d8e8;
  --gold: #d79a2b;
  --ember: #f2b84b;
  --signal: #172132;
  --white: #ffffff;
  --shadow: 0 18px 55px rgba(17, 19, 26, 0.12);
  --crisp-shadow: 0 1px 0 rgba(17, 19, 26, 0.05), 0 24px 70px rgba(17, 19, 26, 0.14);
  --dot: rgba(17, 19, 26, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 12%, rgba(215, 154, 43, 0.1), transparent 26%),
    linear-gradient(180deg, #fbfbf8 0%, #f6f4ee 58%, #fbfbf8 100%);
  line-height: 1.5;
  overflow-x: hidden;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
  width: 100%;
  max-width: 100vw;
  padding: 16px clamp(18px, 5vw, 72px);
  color: var(--ink);
  background: rgba(251, 251, 248, 0.88);
  border-bottom: 1px solid rgba(17, 19, 26, 0.1);
  backdrop-filter: blur(18px);
}

.brand,
.site-header nav,
.trust-row,
.hero-actions,
.footer-inner {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  font-size: 1.12rem;
}

.brand-logo {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
}

.site-header nav {
  gap: 22px;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-header nav a:hover {
  color: var(--ink);
}

.header-cta {
  min-height: 58px;
  padding: 17px 28px;
  color: var(--white);
  background: linear-gradient(135deg, #151820, #2b2216);
  border: 1px solid rgba(215, 154, 43, 0.32);
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(17, 19, 26, 0.16);
  font-weight: 700;
  font-size: 1.05rem;
}

.plain-site-header {
  position: sticky;
  top: 0;
  inset: auto;
}

.site-header a,
.button,
.hero-roi-teaser,
.card,
.step,
.demo-window,
details {
  transition:
    color 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.button:hover,
.button:focus-visible,
.header-cta:hover,
.header-cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 22px 58px rgba(17, 19, 26, 0.2);
}

.hero-roi-teaser:hover,
.hero-roi-teaser:focus-within {
  transform: translateY(-3px);
  border-color: rgba(215, 154, 43, 0.72);
  box-shadow: 0 24px 60px rgba(17, 19, 26, 0.14);
}

.hero {
  position: relative;
  min-height: 100vh;
  padding: 150px clamp(18px, 5vw, 72px) 70px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(34px, 5vw, 86px);
  align-items: center;
  color: var(--ink);
  width: 100%;
  max-width: 100vw;
  background:
    radial-gradient(circle at 78% 22%, rgba(215, 154, 43, 0.14), transparent 30%),
    linear-gradient(135deg, #fbfbf8 0%, #f7f5ef 58%, #ece9df 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle, var(--dot) 1.2px, transparent 1.4px);
  background-size: 18px 18px;
  mask-image: linear-gradient(90deg, black 0 70%, transparent 100%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 78px 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(31, 111, 235, 0.18), transparent);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  min-width: 0;
  max-width: 720px;
  padding: clamp(18px, 3vw, 30px) 0;
}

.hero-visual {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.demo-window {
  overflow: hidden;
  color: #f8fafc;
  background:
    linear-gradient(145deg, rgba(17, 19, 26, 0.98), rgba(10, 11, 15, 0.98)),
    radial-gradient(circle at 18% 12%, rgba(215, 154, 43, 0.18), transparent 28%);
  border: 1px solid rgba(215, 154, 43, 0.24);
  border-radius: 8px;
  box-shadow: 0 34px 90px rgba(17, 19, 26, 0.24);
  contain: layout paint;
}

.demo-topbar,
.demo-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 58px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.demo-topbar strong {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
}

.demo-topbar strong span {
  width: 12px;
  height: 12px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 8px rgba(215, 154, 43, 0.12);
  animation: demoPulse 1.8s ease-in-out infinite;
}

.demo-topbar small {
  padding: 5px 8px;
  color: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.demo-body {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 16px;
  height: 468px;
  padding: 18px;
  overflow: hidden;
}

.demo-chat {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 372px;
  overflow: hidden;
}

.demo-card {
  padding: 18px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

.demo-step {
  flex: 0 0 auto;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transform: translateY(10px) scale(0.98);
  transition: opacity 280ms ease, max-height 320ms ease, border-color 240ms ease, box-shadow 240ms ease, transform 280ms ease, background 240ms ease;
}

.demo-step.is-active {
  opacity: 1;
  max-height: 240px;
  transform: translateY(-2px);
  border-color: rgba(215, 154, 43, 0.62);
  box-shadow: 0 0 0 1px rgba(215, 154, 43, 0.18), 0 18px 46px rgba(0, 0, 0, 0.18);
}

.demo-step.is-complete {
  opacity: 0.92;
  max-height: 240px;
  transform: translateY(0) scale(1);
}

.demo-step.is-history {
  opacity: 0;
  max-height: 0;
  transform: translateY(-8px) scale(0.98);
}

.demo-card blockquote,
.demo-card p {
  margin: 0;
}

.chat-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: end;
}

.chat-row.agent {
  grid-template-columns: minmax(0, 1fr) 34px;
}

.chat-row.agent .chat-avatar {
  grid-column: 2;
  grid-row: 1;
  background: rgba(215, 154, 43, 0.16);
  border-color: rgba(215, 154, 43, 0.34);
}

.chat-row.agent .chat-bubble {
  grid-column: 1;
  justify-self: end;
  color: #151820;
  background: linear-gradient(135deg, #f8fafc, #f6e5bf);
  border-color: rgba(215, 154, 43, 0.38);
}

.chat-avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  font-size: 0.74rem;
  font-weight: 950;
}

.chat-bubble {
  width: fit-content;
  max-width: min(620px, 100%);
  padding: 15px 16px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.chat-bubble p:last-child {
  margin: 0;
  font-size: clamp(0.95rem, 1.4vw, 1.08rem);
  line-height: 1.42;
}

.demo-output {
  padding: 15px;
  background: rgba(215, 154, 43, 0.07);
  border: 1px solid rgba(215, 154, 43, 0.22);
  border-radius: 8px;
}

.demo-step.is-active .chat-bubble,
.demo-step.is-active.demo-output,
.demo-step.is-active.demo-card {
  animation: chatPop 280ms ease both;
}

.demo-card blockquote {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
  line-height: 1.38;
}

.demo-meta {
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.reply {
  border-left: 3px solid var(--gold);
}

.reply p:last-child {
  color: rgba(255, 255, 255, 0.86);
  font-size: 1rem;
}

.demo-tags,
.demo-status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.demo-tags span,
.demo-status span {
  padding: 8px 10px;
  color: #f2b84b;
  background: rgba(215, 154, 43, 0.09);
  border: 1px solid rgba(215, 154, 43, 0.22);
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 800;
}

.demo-status span {
  color: rgba(255, 255, 255, 0.82);
  background: transparent;
  border-color: transparent;
  padding-left: 0;
}

.demo-status span:first-child {
  color: #f2b84b;
  background: rgba(215, 154, 43, 0.08);
  border-color: rgba(215, 154, 43, 0.22);
  padding-left: 10px;
}

@keyframes chatPop {
  0% {
    transform: translateY(8px) scale(0.98);
  }

  100% {
    transform: translateY(0) scale(1);
  }
}

.demo-footer {
  justify-content: flex-start;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.035);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 0;
  font-weight: 800;
}

@keyframes demoPulse {
  0%,
  100% {
    box-shadow: 0 0 0 8px rgba(215, 154, 43, 0.12);
  }

  50% {
    box-shadow: 0 0 0 12px rgba(215, 154, 43, 0.04);
  }
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.22;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.04;
  letter-spacing: 0;
}

h1 {
  max-width: 15.5ch;
  font-size: 3.55rem;
}

h1 span {
  color: #b8751d;
}

h2 {
  font-size: 3.35rem;
}

h3 {
  font-size: 1.25rem;
}

.hero-copy {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.16rem;
}

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

.hero-roi-teaser {
  position: relative;
  display: grid;
  gap: 4px;
  width: min(520px, 100%);
  margin-top: 18px;
  padding: 16px 18px 16px 58px;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.68)),
    radial-gradient(circle at 100% 0%, rgba(215, 154, 43, 0.16), transparent 34%);
  border: 1px solid rgba(215, 154, 43, 0.34);
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(17, 19, 26, 0.1);
}

.hero-roi-teaser::before {
  content: "$";
  position: absolute;
  left: 18px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  color: #8f5f16;
  background: rgba(215, 154, 43, 0.12);
  border: 1px solid rgba(215, 154, 43, 0.72);
  border-radius: 50%;
  font-size: 0.92rem;
  font-weight: 950;
  transform: translateY(-50%);
}

.hero-roi-teaser span {
  color: #8f5f16;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-roi-teaser strong {
  font-size: 1.02rem;
  line-height: 1.22;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 15px 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.15;
  cursor: pointer;
}

.button.primary {
  color: var(--white);
  background: linear-gradient(135deg, #11131a, #2c2418);
  border-color: rgba(215, 154, 43, 0.38);
  box-shadow: 0 18px 46px rgba(17, 19, 26, 0.18);
}

.button.primary:hover,
.header-cta:hover {
  background: linear-gradient(135deg, #1c202b, #3a2b16);
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  border-color: var(--line);
}

.trust-row {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.trust-row span {
  padding: 8px 11px;
  color: var(--ink);
  background: rgba(243, 245, 248, 0.92);
  border: 1px solid rgba(223, 227, 234, 0.92);
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 700;
}

.offer-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  width: min(680px, 100%);
  margin-top: 24px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--crisp-shadow);
}

.offer-strip strong,
.offer-strip span {
  min-height: 50px;
  display: flex;
  align-items: center;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  font-weight: 850;
}

.offer-strip strong {
  grid-column: 1 / -1;
  color: var(--white);
  background: linear-gradient(135deg, #11131a, #3a2b16);
}

.section,
.band,
.cta-section {
  padding: clamp(64px, 9vw, 112px) clamp(18px, 5vw, 72px);
}

.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.intro {
  min-height: auto;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 92% 20%, rgba(215, 154, 43, 0.12), transparent 28%),
    linear-gradient(135deg, #11131a, #1f1b14);
  color: var(--white);
  text-align: left;
}

.intro .eyebrow {
  color: #f2b84b;
}

.intro-grid,
.split,
.outcome-grid,
.cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: start;
}

.intro-grid {
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  max-width: 1180px;
  padding: 34px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035)),
    radial-gradient(circle, rgba(255, 255, 255, 0.14) 1px, transparent 1.2px);
  background-size: auto, 20px 20px;
  border: 1px solid rgba(215, 154, 43, 0.2);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.2);
}

.intro-grid h2 {
  font-size: clamp(2.1rem, 4vw, 3.2rem);
}

.intro-grid p:last-child,
.outcome-grid p,
.cta-grid p {
  margin: 0;
  color: currentColor;
  font-size: 1.12rem;
}

.intro-grid p:last-child {
  color: rgba(255, 255, 255, 0.72);
}

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

.cards,
.steps {
  display: grid;
  gap: 16px;
}

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

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

.card,
.step,
details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.card {
  position: relative;
  min-height: 280px;
  padding: 26px;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(23, 33, 29, 0.03);
}

.interactive-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background:
    radial-gradient(circle at 78% 18%, rgba(215, 154, 43, 0.16), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0), rgba(17, 19, 26, 0.03));
  transition: opacity 220ms ease;
  pointer-events: none;
}

.interactive-card::after {
  content: "";
  position: absolute;
  right: 24px;
  bottom: 22px;
  width: 72px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0.35);
  transform-origin: right;
  transition: transform 220ms ease, opacity 220ms ease;
  opacity: 0.5;
}

.interactive-card:hover,
.interactive-card:focus-within {
  transform: translateY(-8px);
  border-color: rgba(215, 154, 43, 0.58);
  box-shadow: 0 28px 70px rgba(17, 19, 26, 0.13);
}

.interactive-card:hover::before,
.interactive-card:focus-within::before {
  opacity: 1;
}

.interactive-card:hover::after,
.interactive-card:focus-within::after {
  transform: scaleX(1);
  opacity: 1;
}

.interactive-card:hover .icon,
.interactive-card:focus-within .icon {
  transform: translateY(-4px);
  color: #b8751d;
}

.interactive-card:hover a,
.interactive-card:focus-within a {
  transform: translateX(6px);
}

.card a {
  display: inline-flex;
  margin-top: 20px;
  color: #8f5f16;
  font-weight: 900;
  transition: color 180ms ease, transform 220ms ease;
}

.icon {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--blue);
  font-weight: 900;
  transition: color 180ms ease, transform 220ms ease;
}

.card p,
.step p,
.proof-list p,
.faq p,
.site-footer p {
  color: var(--muted);
}

.muted {
  background: var(--soft);
}

.proof-band {
  padding: 28px clamp(18px, 5vw, 72px);
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.proof-grid div {
  min-height: 148px;
  padding: 22px;
  background: var(--white);
}

.proof-grid strong {
  display: block;
  color: #b8751d;
  font-size: 3.4rem;
  line-height: 0.94;
}

.proof-grid p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.proof-list {
  display: grid;
  gap: 18px;
}

.proof-list div {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(23, 33, 29, 0.12);
}

.proof-list p {
  margin: 6px 0 0;
}

.steps {
  grid-template-columns: repeat(3, minmax(280px, 1fr));
  counter-reset: step;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x mandatory;
}

.step {
  position: relative;
  min-height: 420px;
  padding: 30px;
  overflow: hidden;
  scroll-snap-align: start;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, rgba(17, 19, 26, 0.18), rgba(215, 154, 43, 0.34)) border-box;
  border-color: transparent;
  box-shadow: 0 18px 55px rgba(17, 19, 26, 0.08);
}

.step::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.42;
  background:
    linear-gradient(90deg, rgba(17, 19, 26, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(17, 19, 26, 0.05) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(135deg, transparent 0 35%, black 58%, transparent 100%);
  pointer-events: none;
}

.step::after {
  content: "";
  position: absolute;
  right: 22px;
  bottom: 20px;
  width: 78px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(215, 154, 43, 0.9), transparent);
}

.phase-label {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.step span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 34px;
  color: var(--white);
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: 50%;
  font-weight: 800;
}

.phase-diagram {
  position: relative;
  height: 196px;
  margin: 0 0 32px;
  border: 1px solid rgba(215, 154, 43, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(17, 19, 26, 0.9), rgba(36, 28, 18, 0.7)),
    url("/assets/prismpilot-hero-cinematic.jpg") center / cover no-repeat;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.phase-diagram::before,
.phase-diagram::after,
.phase-diagram i {
  content: "";
  position: absolute;
  display: block;
}

.phase-diagram::before {
  inset: 0;
  background:
    radial-gradient(circle at 78% 38%, rgba(215, 154, 43, 0.42), transparent 22%),
    radial-gradient(circle, rgba(255, 255, 255, 0.18) 1px, transparent 1.2px);
  background-size: auto, 18px 18px;
  opacity: 0.85;
}

.phase-diagram::after {
  left: 24px;
  bottom: 22px;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.22rem, 2vw, 1.6rem);
  font-weight: 900;
  letter-spacing: 0;
}

.phase-diagram i {
  display: none;
}

.map-diagram,
.score-diagram,
.pilot-diagram {
  background-position: center;
}

.map-diagram::after {
  content: "MAP THE PROBLEM";
}

.score-diagram::after {
  content: "SCORE THE FIT";
}

.pilot-diagram::after {
  content: "CHOOSE THE PILOT";
}

.map-diagram::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 19, 26, 0.78), rgba(17, 19, 26, 0.18)),
    radial-gradient(circle at 72% 44%, rgba(215, 154, 43, 0.4), transparent 20%);
}

.map-diagram i {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid #11131a;
}

.map-diagram i:nth-child(1) {
  left: 24px;
  top: 56px;
}

.map-diagram i:nth-child(2) {
  left: 46%;
  top: 28px;
}

.map-diagram i:nth-child(3) {
  right: 28px;
  bottom: 24px;
  border-color: var(--gold);
}

.score-diagram::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 19, 26, 0.74), rgba(17, 19, 26, 0.12)),
    linear-gradient(115deg, transparent 30%, rgba(98, 216, 232, 0.22) 46%, rgba(215, 154, 43, 0.24) 62%, transparent 72%);
}

.score-diagram i {
  left: 138px;
  width: 44%;
  height: 2px;
  background: rgba(17, 19, 26, 0.55);
}

.score-diagram i:nth-child(1) {
  top: 42px;
  transform: rotate(-10deg);
}

.score-diagram i:nth-child(2) {
  top: 64px;
}

.score-diagram i:nth-child(3) {
  top: 86px;
  background: var(--gold);
  transform: rotate(10deg);
}

.pilot-diagram::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 19, 26, 0.76), rgba(17, 19, 26, 0.14)),
    radial-gradient(circle at 68% 34%, rgba(242, 184, 75, 0.42), transparent 24%);
}

.signal-section {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(17, 19, 26, 0.94), rgba(34, 25, 14, 0.92)),
    url("/assets/prismpilot-hero-cinematic.jpg") center / cover no-repeat,
    #11131a;
}

.signal-section::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto auto;
  width: min(48vw, 620px);
  aspect-ratio: 1;
  background:
    linear-gradient(135deg, rgba(98, 216, 232, 0.14), transparent 52%),
    linear-gradient(45deg, rgba(215, 154, 43, 0.22), transparent 58%);
  clip-path: polygon(50% 0, 100% 42%, 62% 100%, 0 78%, 12% 22%);
  opacity: 0.9;
}

.signal-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(340px, 1.14fr);
  gap: clamp(30px, 6vw, 86px);
  align-items: center;
}

.signal-copy {
  max-width: 590px;
}

.signal-copy .eyebrow {
  color: #f2b84b;
}

.signal-copy p:last-child {
  margin: 22px 0 0;
  color: #dbe4f4;
  font-size: 1.14rem;
}

.prism-panel {
  position: relative;
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 24px;
  align-items: center;
  min-height: 360px;
  padding: clamp(22px, 4vw, 40px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(223, 227, 234, 0.22);
  border-radius: 8px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.22);
}

.prism-mark {
  position: relative;
  width: min(210px, 100%);
  aspect-ratio: 1;
  margin: 0 auto;
}

.prism-mark::before {
  content: "";
  position: absolute;
  inset: 10%;
  background: linear-gradient(135deg, #f8fafc, #f2b84b 44%, #62d8e8);
  clip-path: polygon(50% 0, 92% 34%, 72% 88%, 22% 88%, 8% 34%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35) inset;
}

.prism-mark::after {
  content: "";
  position: absolute;
  inset: 32% 20% 30% 30%;
  background: #11131a;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.prism-mark span {
  position: absolute;
  left: 66%;
  width: 42%;
  height: 6px;
  border-radius: 999px;
  transform-origin: left center;
}

.prism-mark span:nth-child(1) {
  top: 34%;
  background: #62d8e8;
  transform: rotate(-22deg);
}

.prism-mark span:nth-child(2) {
  top: 50%;
  background: #f8fafc;
}

.prism-mark span:nth-child(3) {
  top: 66%;
  background: #d79a2b;
  transform: rotate(22deg);
}

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

.lens-list li {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(219, 228, 223, 0.18);
}

.lens-list li:last-child {
  border-bottom: 0;
}

.lens-list strong {
  color: #f8fafc;
}

.lens-list span {
  color: #dbe4f4;
}

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

.check-list li {
  position: relative;
  padding: 16px 18px 16px 46px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 700;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 20px;
  width: 10px;
  height: 10px;
  background: var(--gold);
  border-radius: 50%;
}

.roi-section {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(17, 19, 26, 0.94), rgba(35, 27, 18, 0.9)),
    radial-gradient(circle at 80% 20%, rgba(215, 154, 43, 0.24), transparent 28%),
    #11131a;
}

.roi-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16) 1px, transparent 1.2px);
  background-size: 18px 18px;
  mask-image: linear-gradient(90deg, black, transparent 82%);
  pointer-events: none;
}

.roi-section .section-inner {
  position: relative;
}

.roi-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: start;
}

.roi-grid > div:first-child p:last-child {
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.08rem;
}

.roi-calculator {
  display: grid;
  gap: 16px;
  padding: 24px;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.9)),
    radial-gradient(circle at 100% 0, rgba(215, 154, 43, 0.18), transparent 32%);
  border: 1px solid rgba(215, 154, 43, 0.3);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.roi-calculator input[type="range"] {
  padding: 0;
  accent-color: var(--blue);
}

.range-value {
  color: var(--muted);
  font-size: 0.92rem;
}

.range-value strong {
  color: #b8751d;
}

.roi-results {
  display: grid;
  gap: 1px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.roi-results div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 14px 16px;
  background: #f8fafc;
}

.roi-results span {
  color: var(--muted);
  font-size: 0.92rem;
}

.roi-results strong {
  color: var(--ink);
  font-size: 1.35rem;
}

.roi-button {
  width: 100%;
}

.cta-section {
  color: var(--white);
  background:
    linear-gradient(135deg, #11131a 0%, #161820 58%, #211b12 100%);
}

.cta-section .eyebrow {
  color: #f2b84b;
}

.cta-grid {
  grid-template-columns: minmax(0, 0.72fr) minmax(420px, 0.92fr);
  align-items: start;
}

.cta-grid h2 {
  font-size: clamp(2.35rem, 5vw, 4.2rem);
}

.lead-form {
  display: grid;
  gap: 12px;
  padding: 20px;
  color: var(--ink);
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

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

.compact-form label:nth-child(4),
.compact-form label:nth-child(6),
.compact-form label:nth-child(7),
.compact-form .form-button,
.compact-form .form-note {
  grid-column: 1 / -1;
}

label {
  display: grid;
  gap: 6px;
  color: #303746;
  font-size: 0.82rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 42px;
  padding: 9px 11px;
  color: var(--ink);
  background: #f8fafc;
  border: 1px solid #cfd6e3;
  border-radius: 8px;
  font: inherit;
}

textarea {
  resize: vertical;
  min-height: 96px;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(215, 154, 43, 0.22);
  border-color: var(--blue);
}

.form-button {
  width: 100%;
  margin-top: 4px;
  font-size: 0.98rem;
}

.brief-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(251, 251, 248, 0.96), rgba(245, 243, 237, 0.96)),
    radial-gradient(circle at 82% 16%, rgba(98, 216, 232, 0.12), transparent 30%);
}

.brief-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 19, 26, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(17, 19, 26, 0.04) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(90deg, transparent, black 28%, transparent 100%);
  pointer-events: none;
}

.brief-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(420px, 1.22fr);
  gap: clamp(28px, 6vw, 82px);
  align-items: start;
}

.brief-grid > div:first-child p:last-of-type {
  color: var(--muted);
  font-size: 1.08rem;
}

.brief-grid .button {
  margin-top: 22px;
}

.brief-card {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 4vw, 34px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(17, 19, 26, 0.95), rgba(33, 25, 17, 0.94)),
    url("/assets/prismpilot-hero-cinematic.jpg") center / cover no-repeat;
  border: 1px solid rgba(215, 154, 43, 0.32);
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(17, 19, 26, 0.2);
}

.brief-card::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  pointer-events: none;
}

.brief-card::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -90px;
  width: 240px;
  aspect-ratio: 1;
  background: linear-gradient(135deg, rgba(98, 216, 232, 0.26), rgba(215, 154, 43, 0.44));
  clip-path: polygon(50% 0, 100% 42%, 62% 100%, 0 78%, 12% 22%);
  opacity: 0.76;
}

.brief-card-header,
.brief-row {
  position: relative;
  z-index: 1;
}

.brief-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.brief-card-header strong {
  font-size: 0.9rem;
  text-transform: uppercase;
}

.brief-card-header span {
  padding: 5px 9px;
  color: #1d160b;
  background: var(--gold);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
}

.brief-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.brief-row:last-child {
  border-bottom: 0;
}

.brief-row span {
  color: #f2b84b;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.brief-row p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

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

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.faq {
  max-width: 880px;
}

details {
  padding: 20px 22px;
  margin-top: 12px;
}

summary {
  cursor: pointer;
  font-weight: 900;
}

details p {
  margin: 12px 0 0;
}

.site-footer {
  padding: 34px clamp(18px, 5vw, 72px);
  background: var(--ink);
  color: var(--white);
}

.footer-inner,
.footer-links {
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.footer-links {
  width: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
}

.site-footer p {
  margin: 6px 0 0;
  color: #c9d5cf;
}

.site-footer a {
  color: #a9d8bf;
  font-weight: 800;
}

.plain-page {
  min-height: 100vh;
  background: var(--soft);
}

.plain-content {
  width: min(760px, calc(100% - 36px));
  margin: 0 auto;
  padding: 56px 0;
}

.plain-content .brand {
  margin-bottom: 64px;
}

.plain-content h1 {
  margin-bottom: 24px;
  font-size: 4.2rem;
}

.plain-content p {
  color: var(--muted);
  font-size: 1.08rem;
}

.plain-content .button {
  margin-top: 22px;
}

.location-page {
  background:
    linear-gradient(135deg, rgba(251, 251, 248, 0.94), rgba(245, 243, 237, 0.96)),
    radial-gradient(circle at 86% 12%, rgba(215, 154, 43, 0.15), transparent 26%);
}

.location-page .plain-content {
  width: min(900px, calc(100% - 36px));
}

.location-page .plain-content h1 {
  max-width: 12ch;
}

.location-list {
  margin: 30px 0 0;
}

.demo-window:hover,
.demo-window:focus-within {
  transform: translateY(-3px);
  border-color: rgba(215, 154, 43, 0.5);
  box-shadow: 0 32px 86px rgba(17, 19, 26, 0.22);
}

.report-preview {
  margin: 24px 0;
  padding: 22px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 1px 0 rgba(23, 33, 29, 0.03);
}

.booking-popup[hidden] {
  display: none;
}

.booking-popup {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(18, 23, 28, 0.34);
  backdrop-filter: blur(2px);
}

.booking-popup-panel {
  position: relative;
  width: min(620px, 100%);
  padding: 32px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(17, 19, 26, 0.94), rgba(48, 34, 17, 0.9)),
    url("/assets/prismpilot-hero-cinematic.jpg") center / cover no-repeat;
  border: 1px solid rgba(215, 154, 43, 0.32);
  border-radius: 8px;
  box-shadow: 0 30px 100px rgba(17, 19, 26, 0.38);
}

.booking-popup-panel h2 {
  max-width: 15ch;
  font-size: 2.9rem;
}

.booking-popup-panel p:not(.eyebrow) {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--muted);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.popup-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-top: 22px;
}

.popup-actions .button.primary {
  min-height: 58px;
  font-size: 1.05rem;
}

@media (max-width: 900px) {
  .site-header nav {
    display: none;
  }

  .hero {
    min-height: 94vh;
    grid-template-columns: 1fr;
    background:
      radial-gradient(circle at 82% 20%, rgba(215, 154, 43, 0.14), transparent 30%),
      linear-gradient(135deg, #fbfbf8 0%, #f7f5ef 58%, #ece9df 100%);
  }

  h1 {
    max-width: 14ch;
    font-size: 3rem;
  }

  h2 {
    font-size: 2.85rem;
  }

  .hero-copy {
    font-size: 1.08rem;
  }

  .proof-grid strong {
    font-size: 3rem;
  }

  .intro-grid,
  .split,
  .outcome-grid,
  .cta-grid,
  .roi-grid,
  .signal-grid,
  .brief-grid,
  .proof-grid,
  .three,
  .service-cards,
  .steps {
    grid-template-columns: 1fr;
  }

  .intro-grid {
    padding: 24px;
  }

  .compact-form {
    grid-template-columns: 1fr;
  }

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

  .prism-mark {
    width: min(190px, 64vw);
  }

  .card,
  .step {
    min-height: auto;
  }

  .icon,
  .step span {
    margin-bottom: 24px;
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 66px;
    gap: 12px;
  }

  .brand span:last-child {
    max-width: 118px;
    line-height: 1.05;
  }

  .header-cta {
    display: none;
  }

  .hero-content,
  .hero-roi-teaser,
  .offer-strip {
    width: 100%;
    max-width: 100%;
  }

  .hero .eyebrow {
    max-width: 32ch;
    font-size: 0.68rem;
  }

  .hero {
    min-height: 95vh;
    padding-top: 116px;
    padding-right: 24px;
    padding-left: 24px;
  }

  .demo-body {
    height: 430px;
    padding: 14px;
  }

  .demo-chat {
    height: 334px;
  }

  h1 {
    font-size: 2.08rem;
    max-width: 16ch;
  }

  h2 {
    font-size: 2.08rem;
  }

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

  .offer-strip {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 342px;
  }

  .button {
    width: 100%;
    max-width: 342px;
  }

  .booking-popup {
    place-items: center;
    padding: 12px;
  }

  .booking-popup-panel {
    padding: 22px;
  }

  .booking-popup-panel h2,
  .plain-content h1 {
    font-size: 2.25rem;
  }

  .popup-actions {
    grid-template-columns: 1fr;
  }

  .trust-row span {
    width: 100%;
  }

  .lens-list li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .brief-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

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

  .footer-links {
    justify-content: flex-start;
  }
}
