/* ============================================================
   Verachi Landing — Premium Midnight Theme
   Calm motion · sculpted surfaces · responsive first
   ============================================================ */

:root {
  --bg-0: #030815;
  --bg-1: #07101d;
  --bg-2: #0c1628;
  --bg-3: #101d31;

  --surface-0: rgba(9, 16, 28, 0.76);
  --surface-1: rgba(11, 20, 35, 0.9);
  --surface-2: rgba(16, 29, 49, 0.98);

  --ink-0: #f5f7fb;
  --ink-1: #c9d3e4;
  --ink-2: #aab7cb;
  --ink-3: #75839c;

  --line-0: rgba(171, 194, 229, 0.14);
  --line-1: rgba(171, 194, 229, 0.22);
  --line-2: rgba(171, 194, 229, 0.3);

  --accent: #8fd9ff;
  --accent-strong: #55c4ff;
  --accent-soft: rgba(143, 217, 255, 0.16);

  --mint: #84f1d4;
  --mint-soft: rgba(132, 241, 212, 0.14);

  --gold: #f6cf93;
  --gold-soft: rgba(246, 207, 147, 0.14);

  --shadow-sm: 0 18px 48px rgba(0, 0, 0, 0.22);
  --shadow-lg: 0 34px 120px rgba(0, 0, 0, 0.42);

  --radius-sm: 16px;
  --radius-md: 24px;
  --radius-lg: 32px;
  --radius-pill: 999px;

  --max-w: 1180px;

  --ease-standard: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-gentle: cubic-bezier(0.2, 0.8, 0.2, 1);
  --dur-fast: 180ms;
  --dur: 280ms;
  --dur-slow: 720ms;

  --font-sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  background: var(--bg-0);
}

body {
  position: relative;
  margin: 0;
  min-width: 320px;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-0);
  background:
    radial-gradient(900px 480px at 12% 0%, rgba(85, 196, 255, 0.16), transparent 58%),
    radial-gradient(820px 420px at 88% 12%, rgba(246, 207, 147, 0.12), transparent 52%),
    radial-gradient(680px 320px at 72% 34%, rgba(132, 241, 212, 0.08), transparent 52%),
    linear-gradient(180deg, #030815 0%, #040b15 32%, #06101d 64%, #040913 100%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 132px 132px;
  mask-image: radial-gradient(circle at 50% 12%, black 0%, black 36%, transparent 78%);
  opacity: 0.3;
}

body[data-menu-open="true"] {
  overflow: hidden;
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote {
  margin: 0;
}

main {
  position: relative;
  z-index: 0;
}

:where(section[id], main[id]) {
  scroll-margin-top: 124px;
}

:where(a, button) {
  -webkit-tap-highlight-color: rgba(143, 217, 255, 0.14);
  touch-action: manipulation;
}

:where(a, button):focus-visible {
  outline: none;
  box-shadow:
    0 0 0 1px rgba(3, 8, 21, 0.95),
    0 0 0 4px rgba(85, 196, 255, 0.34);
}

.skip-link {
  position: fixed;
  top: 18px;
  left: 18px;
  z-index: 200;
  padding: 12px 16px;
  border-radius: var(--radius-pill);
  background: rgba(7, 12, 21, 0.96);
  border: 1px solid var(--line-1);
  color: var(--ink-0);
  transform: translateY(-140%);
  transition: transform var(--dur-fast) var(--ease-standard);
}

.skip-link:focus-visible {
  transform: translateY(0);
}

.container {
  width: min(var(--max-w), calc(100% - 48px));
  margin: 0 auto;
}

.display-title,
.section-title,
.cta-title {
  text-wrap: balance;
}

.display-title {
  max-width: 10ch;
  font-size: clamp(3.35rem, 7.2vw, 6rem);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.055em;
  color: var(--ink-0);
}

.title-emphasis {
  background: linear-gradient(135deg, #f4f7fb 0%, #9adfff 48%, #f6cf93 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 22px rgba(85, 196, 255, 0.18);
}

.section-head {
  max-width: 760px;
  margin-bottom: 48px;
}

.section-head-centered {
  margin-inline: auto;
  text-align: center;
}

.section-head-centered .section-title,
.section-head-centered .section-subtitle {
  margin-inline: auto;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-0);
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--gold));
  box-shadow: 0 0 14px rgba(85, 196, 255, 0.24);
}

.section-title {
  max-width: 14ch;
  font-size: clamp(2.15rem, 4.2vw, 3.55rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--ink-0);
  margin-bottom: 16px;
}

.section-subtitle {
  max-width: 56ch;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink-1);
  text-wrap: pretty;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 0;
  height: 52px;
  padding: 0 26px;
  border-radius: var(--radius-pill);
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition:
    transform var(--dur) var(--ease-standard),
    background-color var(--dur) var(--ease-standard),
    border-color var(--dur) var(--ease-standard),
    color var(--dur) var(--ease-standard),
    box-shadow var(--dur) var(--ease-standard),
    opacity var(--dur-fast) var(--ease-standard);
}

.button svg {
  flex: none;
}

.button-primary-hero,
.button-solid {
  background: linear-gradient(135deg, #ffffff 0%, #ddf0ff 52%, #f6d39d 100%);
  color: #04111d;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 18px 40px rgba(20, 108, 171, 0.22);
}

.button-primary-hero:hover,
.button-solid:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 24px 54px rgba(20, 108, 171, 0.32);
}

.button-outline {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-1);
  color: var(--ink-0);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.button-outline:hover {
  transform: translateY(-2px);
  border-color: var(--line-2);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow-sm);
}

.button-compact {
  height: 44px;
  padding: 0 18px;
  font-size: 0.84rem;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding: calc(18px + env(safe-area-inset-top)) 20px 0;
}

.header-inner {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 12px 18px;
  border-radius: 24px;
  background: rgba(6, 10, 18, 0.62);
  border: 1px solid var(--line-0);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  transition:
    background-color var(--dur) var(--ease-standard),
    border-color var(--dur) var(--ease-standard),
    box-shadow var(--dur) var(--ease-standard),
    transform var(--dur) var(--ease-standard);
}

.site-header[data-scrolled="true"] .header-inner,
.site-header[data-menu-open="true"] .header-inner {
  background: rgba(7, 12, 21, 0.82);
  border-color: var(--line-1);
  box-shadow: var(--shadow-sm);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--ink-0);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(143, 217, 255, 0.08);
  border: 1px solid rgba(143, 217, 255, 0.12);
  color: var(--accent);
}

.brand-word {
  font-size: 0.82rem;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-self: center;
  gap: 8px;
  min-width: 0;
}

.site-nav a {
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  color: var(--ink-2);
  font-size: 0.84rem;
  font-weight: 600;
  transition:
    color var(--dur-fast) var(--ease-standard),
    background-color var(--dur-fast) var(--ease-standard),
    transform var(--dur-fast) var(--ease-standard);
}

.site-nav a:hover {
  color: var(--ink-0);
  background: rgba(255, 255, 255, 0.06);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 12px;
}

.header-link {
  padding: 10px 12px;
  border-radius: var(--radius-pill);
  color: var(--ink-2);
  font-size: 0.84rem;
  font-weight: 600;
  transition:
    color var(--dur-fast) var(--ease-standard),
    background-color var(--dur-fast) var(--ease-standard);
}

.header-link:hover {
  color: var(--ink-0);
  background: rgba(255, 255, 255, 0.05);
}

.header-actions .button-compact {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-1);
  color: var(--ink-0);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.header-actions .button-compact:hover {
  border-color: var(--line-2);
  background: rgba(255, 255, 255, 0.1);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-1);
  color: var(--ink-0);
  transition:
    transform var(--dur-fast) var(--ease-standard),
    background-color var(--dur-fast) var(--ease-standard),
    border-color var(--dur-fast) var(--ease-standard);
}

.menu-toggle:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--line-2);
}

.hero {
  position: relative;
  padding: clamp(144px, 16vw, 180px) 0 108px;
  overflow: clip;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.92;
}

.hero-glow-primary {
  top: -12%;
  left: 4%;
  width: min(52vw, 760px);
  height: min(52vw, 760px);
  background: radial-gradient(circle, rgba(85, 196, 255, 0.18), transparent 72%);
}

.hero-glow-secondary {
  top: 12%;
  right: 0;
  width: min(42vw, 520px);
  height: min(42vw, 520px);
  background: radial-gradient(circle, rgba(246, 207, 147, 0.14), transparent 74%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: radial-gradient(circle at 50% 18%, black 0%, black 38%, transparent 74%);
  opacity: 0.36;
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(40px, 6vw, 84px);
  align-items: center;
  min-height: clamp(580px, 82vh, 760px);
}

.hero-content,
.hero-visual,
.workflow-card,
.feature-card,
.testimonial-card,
.plan-card {
  min-width: 0;
}

.hero-content {
  max-width: 590px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  margin-bottom: 28px;
  border-radius: var(--radius-pill);
  background: rgba(143, 217, 255, 0.09);
  border: 1px solid rgba(143, 217, 255, 0.14);
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 16px rgba(143, 217, 255, 0.34);
}

.hero-intro {
  max-width: 41ch;
  margin-top: 28px;
  color: var(--ink-1);
  font-size: 1.08rem;
  line-height: 1.78;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 38px;
}

.hero-note {
  margin-top: 16px;
  color: var(--ink-2);
  font-size: 0.86rem;
  line-height: 1.7;
}

.hero-note a {
  color: var(--accent);
  font-weight: 700;
}

.hero-note a:hover {
  color: var(--ink-0);
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.hero-proof-card {
  padding: 16px 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(12, 21, 36, 0.76), rgba(9, 16, 29, 0.94));
  border: 1px solid var(--line-0);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  color: var(--ink-2);
  font-size: 0.84rem;
  line-height: 1.55;
}

.hero-proof-card span {
  display: block;
  margin-bottom: 6px;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 560px;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 92px 48px 24px;
  border-radius: 40px;
  background:
    radial-gradient(circle at top, rgba(85, 196, 255, 0.16), transparent 46%),
    linear-gradient(180deg, rgba(8, 14, 24, 0.48), rgba(8, 14, 24, 0.08));
  border: 1px solid rgba(171, 194, 229, 0.08);
}

.preview-float {
  position: absolute;
  z-index: 2;
  padding: 12px 16px;
  border-radius: var(--radius-pill);
  background: rgba(8, 14, 25, 0.78);
  border: 1px solid rgba(171, 194, 229, 0.16);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow-sm);
  color: var(--ink-1);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.preview-float-top {
  top: 58px;
  left: -4px;
}

.preview-float-bottom {
  right: -12px;
  bottom: 48px;
}

.product-preview {
  position: relative;
  width: min(100%, 540px);
  border-radius: 28px;
  border: 1px solid rgba(171, 194, 229, 0.16);
  background: linear-gradient(180deg, rgba(11, 20, 35, 0.98), rgba(8, 15, 27, 0.98));
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.02),
    0 16px 40px rgba(0, 0, 0, 0.32),
    0 34px 120px rgba(0, 0, 0, 0.38);
}

.product-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(143, 217, 255, 0.12), transparent 42%, rgba(246, 207, 147, 0.08));
  pointer-events: none;
}

.preview-chrome {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 22px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--line-0);
}

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

.chrome-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  opacity: 0.78;
}

.chrome-dots span:nth-child(1) {
  background: var(--gold);
}

.chrome-dots span:nth-child(2) {
  background: var(--accent);
}

.chrome-dots span:nth-child(3) {
  background: var(--mint);
}

.chrome-bar {
  flex: 1;
  min-width: 0;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-3);
  text-transform: lowercase;
}

.preview-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px;
}

.preview-search {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid var(--line-1);
  background: rgba(12, 21, 35, 0.88);
  color: var(--ink-2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.preview-typing {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
}

.typed-query {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--ink-0);
  font-size: 0.98rem;
}

.cursor-blink {
  display: inline-block;
  width: 2px;
  height: 1em;
  border-radius: 999px;
  background: var(--accent-strong);
}

.preview-result {
  opacity: 0;
  transform: translateY(12px);
  padding: 20px 22px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(17, 28, 46, 0.92), rgba(12, 21, 36, 0.94));
  border: 1px solid var(--line-0);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.preview-result p {
  color: var(--ink-1);
  font-size: 0.95rem;
  line-height: 1.8;
  text-wrap: pretty;
}

.preview-result strong {
  color: var(--ink-0);
  font-weight: 700;
}

.preview-citation {
  opacity: 0;
  transform: translateY(12px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.cite-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  background: rgba(9, 52, 52, 0.44);
  border: 1px solid rgba(132, 241, 212, 0.18);
  color: var(--mint);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.cite-dot {
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 16px rgba(132, 241, 212, 0.36);
}

.cite-confidence {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-2);
  font-size: 0.76rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.confidence-bar {
  width: 84px;
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(171, 194, 229, 0.16);
}

.confidence-fill {
  display: block;
  width: 94%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--mint));
}

.result-delay-1 {
  animation: previewReveal var(--dur-slow) var(--ease-standard) 380ms both;
}

.result-delay-2 {
  animation: previewReveal var(--dur-slow) var(--ease-standard) 560ms both;
}

/* ---- Hero Carousel ---- */

.hero-carousel {
  position: relative;
  width: 100%;
}

.hero-slides {
  position: relative;
  min-height: 440px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(16px) scale(0.97);
  pointer-events: none;
  transition:
    opacity 620ms var(--ease-standard),
    transform 620ms var(--ease-standard);
}

.hero-slide.is-active {
  position: relative;
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Slide content wrappers */
.slide-connect,
.slide-graph,
.slide-query {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.slide-query .product-preview {
  width: min(100%, 480px);
}

.slide-label {
  text-align: center;
  color: var(--ink-2);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* ---- Connect Slide SVG ---- */

.connect-svg,
.graph-svg {
  width: min(100%, 420px);
  height: auto;
  font-family: var(--font-sans);
}

.connect-line {
  stroke: rgba(143, 217, 255, 0.28);
  stroke-width: 1.5;
  stroke-dasharray: 6 4;
  stroke-linecap: round;
}

/* Animate lines when slide is active */
.hero-slide.is-active .connect-line {
  animation: dashFlow 2.4s linear infinite;
}

.hero-slide.is-active .cl-2 {
  animation-delay: 0.3s;
}

.hero-slide.is-active .cl-3 {
  animation-delay: 0.6s;
}

.hero-slide.is-active .cl-4 {
  animation-delay: 0.9s;
}

.tool-node {
  opacity: 0;
  transform-origin: center;
}

.hero-slide.is-active .tool-node {
  animation: nodeAppear 500ms var(--ease-standard) both;
}

.hero-slide.is-active .tn-1 {
  animation-delay: 100ms;
}

.hero-slide.is-active .tn-2 {
  animation-delay: 250ms;
}

.hero-slide.is-active .tn-3 {
  animation-delay: 400ms;
}

.hero-slide.is-active .tn-4 {
  animation-delay: 550ms;
}

.center-glow {
  opacity: 0;
}

.hero-slide.is-active .center-glow {
  animation: glowPulse 3s var(--ease-gentle) 600ms infinite alternate;
}

.center-icon {
  opacity: 0;
}

.hero-slide.is-active .center-icon {
  animation: nodeAppear 500ms var(--ease-standard) 500ms both;
}

/* ---- Graph Slide SVG ---- */

.graph-edge {
  stroke: rgba(171, 194, 229, 0.14);
  stroke-width: 1;
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  stroke-linecap: round;
}

.hero-slide.is-active .graph-edge {
  animation: edgeDraw 800ms var(--ease-standard) both;
}

.hero-slide.is-active .ge-1 {
  animation-delay: 200ms;
}

.hero-slide.is-active .ge-2 {
  animation-delay: 350ms;
}

.hero-slide.is-active .ge-3 {
  animation-delay: 500ms;
}

.hero-slide.is-active .ge-4 {
  animation-delay: 600ms;
}

.hero-slide.is-active .ge-5 {
  animation-delay: 700ms;
}

.hero-slide.is-active .ge-6 {
  animation-delay: 800ms;
}

.hero-slide.is-active .ge-7 {
  animation-delay: 450ms;
}

.graph-node {
  opacity: 0;
}

.hero-slide.is-active .graph-node {
  animation: nodeAppear 500ms var(--ease-standard) both;
}

.hero-slide.is-active .gn-1 {
  animation-delay: 100ms;
}

.hero-slide.is-active .gn-2 {
  animation-delay: 400ms;
}

.hero-slide.is-active .gn-3 {
  animation-delay: 550ms;
}

.hero-slide.is-active .gn-4 {
  animation-delay: 700ms;
}

.hero-slide.is-active .gn-5 {
  animation-delay: 850ms;
}

/* ---- Query Slide (overrides for carousel context) ---- */

.slide-query .preview-result,
.slide-query .preview-citation {
  opacity: 0;
  transform: translateY(12px);
}

.hero-slide.is-active .slide-result-1 {
  animation: previewReveal var(--dur-slow) var(--ease-standard) 380ms both;
}

.hero-slide.is-active .slide-result-2 {
  animation: previewReveal var(--dur-slow) var(--ease-standard) 560ms both;
}

/* ---- Carousel Dots ---- */

.carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 28px;
}

.carousel-dot {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: none;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink-3);
  cursor: pointer;
  transition:
    background-color var(--dur) var(--ease-standard),
    color var(--dur) var(--ease-standard),
    box-shadow var(--dur) var(--ease-standard);
}

.carousel-dot::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink-3);
  transition:
    background-color var(--dur) var(--ease-standard),
    box-shadow var(--dur) var(--ease-standard);
}

.carousel-dot.is-active {
  background: rgba(143, 217, 255, 0.1);
  color: var(--accent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.carousel-dot.is-active::before {
  background: var(--accent);
  box-shadow: 0 0 12px rgba(143, 217, 255, 0.36);
}

.carousel-dot:hover:not(.is-active) {
  background: rgba(255, 255, 255, 0.07);
  color: var(--ink-1);
}

.dot-label {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ---- Carousel progress bar (inside active dot) ---- */

.carousel-dot.is-active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 8px;
  right: 8px;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
  transform-origin: left;
  animation: dotProgress 4.5s linear both;
}

/* ---- Carousel keyframes ---- */

@keyframes dashFlow {
  to {
    stroke-dashoffset: -20;
  }
}

@keyframes nodeAppear {
  from {
    opacity: 0;
    transform: scale(0.6);
  }

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

@keyframes glowPulse {
  from {
    opacity: 0.3;
  }

  to {
    opacity: 0.8;
  }
}

@keyframes edgeDraw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes dotProgress {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}


.section {
  position: relative;
  padding: 112px 0;
}

.section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent 22%, transparent 78%, rgba(255, 255, 255, 0.015));
}

.section-tight {
  padding-top: 88px;
}

#how-it-works::after,
#plans::after {
  content: "";
  position: absolute;
  inset: auto auto 18% -10%;
  width: min(34vw, 460px);
  height: min(34vw, 460px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(85, 196, 255, 0.08), transparent 74%);
  filter: blur(30px);
  pointer-events: none;
}

.workflow-container {
  max-width: var(--max-w);
}

.proof-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(280px, 0.72fr);
  gap: 22px;
  align-items: stretch;
}

.proof-record,
.proof-note,
.launch-card,
.trust-card,
.trust-callout {
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(12, 22, 38, 0.82), rgba(9, 16, 29, 0.96));
  border: 1px solid var(--line-0);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  transition:
    transform var(--dur) var(--ease-standard),
    border-color var(--dur) var(--ease-standard),
    box-shadow var(--dur) var(--ease-standard);
}

.proof-record:hover,
.proof-note:hover,
.launch-card:hover,
.trust-card:hover,
.trust-callout:hover {
  transform: translateY(-4px);
  border-color: var(--line-2);
  box-shadow: var(--shadow-sm);
}

.proof-record {
  padding: 30px;
}

.proof-record-top {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.proof-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  background: rgba(143, 217, 255, 0.1);
  border: 1px solid rgba(143, 217, 255, 0.14);
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.proof-chip-muted {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-0);
  color: var(--ink-2);
}

.proof-chip-accent {
  background: rgba(132, 241, 212, 0.1);
  border-color: rgba(132, 241, 212, 0.18);
  color: var(--mint);
}

.proof-record h3,
.proof-note h3,
.launch-card h3,
.trust-card h3,
.trust-callout h3 {
  color: var(--ink-0);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.proof-summary,
.proof-note p,
.launch-card p,
.trust-card p,
.trust-callout p,
.trust-callout li {
  color: var(--ink-1);
  font-size: 0.96rem;
  line-height: 1.78;
  text-wrap: pretty;
}

.proof-summary {
  margin-top: 16px;
}

.proof-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.proof-block {
  padding: 20px 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-0);
}

.proof-block h4 {
  margin-bottom: 12px;
  color: var(--ink-0);
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.proof-list,
.proof-links,
.launch-list,
.trust-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.proof-list li,
.proof-links li,
.launch-list li,
.trust-list li {
  position: relative;
  padding-left: 18px;
  color: var(--ink-1);
  font-size: 0.9rem;
  line-height: 1.7;
}

.proof-list li::before,
.proof-links li::before,
.launch-list li::before,
.trust-list li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--gold));
  box-shadow: 0 0 12px rgba(85, 196, 255, 0.26);
}

.proof-links span {
  color: var(--ink-0);
  font-weight: 700;
}

.proof-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line-0);
  color: var(--ink-2);
  font-size: 0.82rem;
  line-height: 1.65;
}

.proof-footer a,
.trust-callout a,
.trust-meta a {
  color: var(--accent);
  font-weight: 700;
}

.proof-footer a:hover,
.trust-callout a:hover,
.trust-meta a:hover {
  color: var(--ink-0);
}

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

.proof-note {
  padding: 24px;
}

.proof-note-eyebrow,
.launch-card-eyebrow,
.trust-card-eyebrow {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

.launch-card {
  display: flex;
  flex-direction: column;
  padding: 30px 28px;
}

.launch-card-featured {
  background:
    radial-gradient(circle at top right, rgba(85, 196, 255, 0.14), transparent 36%),
    linear-gradient(180deg, rgba(16, 29, 49, 0.96), rgba(11, 20, 35, 0.98));
  border-color: rgba(143, 217, 255, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 24px 72px rgba(10, 54, 86, 0.2);
}

.launch-card h3,
.trust-callout h3 {
  margin-bottom: 12px;
}

.launch-card p,
.trust-callout p {
  margin-bottom: 18px;
}

.launch-card .button {
  width: 100%;
  margin-top: auto;
}

.evaluation-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.evaluation-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-0);
  color: var(--ink-1);
  font-size: 0.84rem;
  font-weight: 700;
  transition:
    background-color var(--dur-fast) var(--ease-standard),
    border-color var(--dur-fast) var(--ease-standard),
    color var(--dur-fast) var(--ease-standard),
    transform var(--dur-fast) var(--ease-standard);
}

.evaluation-link:hover {
  color: var(--ink-0);
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--line-2);
  transform: translateY(-1px);
}

.trust-hero {
  padding-bottom: 84px;
  min-height: auto;
}

.trust-hero .hero-content {
  max-width: 720px;
}

.trust-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-top: 22px;
  color: var(--ink-2);
  font-size: 0.84rem;
}

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

.trust-card {
  padding: 28px;
}

.trust-matrix {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(12, 22, 38, 0.82), rgba(9, 16, 29, 0.96));
  border: 1px solid var(--line-0);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.trust-matrix thead th {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line-0);
  color: var(--ink-0);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: left;
  text-transform: uppercase;
}

.trust-matrix tbody td {
  padding: 18px 20px;
  border-top: 1px solid var(--line-0);
  color: var(--ink-1);
  font-size: 0.92rem;
  line-height: 1.7;
  vertical-align: top;
}

.trust-matrix tbody td:first-child {
  color: var(--ink-0);
  font-weight: 700;
}

.trust-callout {
  padding: 28px;
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

/* ---- Triptych: 3 sliced panels ---- */

.triptych-strip {
  display: flex;
  gap: 3px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(143, 217, 255, 0.06);
  box-shadow:
    0 0 0 1px var(--line-0),
    0 32px 80px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.triptych-panel {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0 0 28px;
  background: linear-gradient(180deg, rgba(8, 14, 26, 0.92), rgba(5, 10, 20, 0.98));
  overflow: hidden;
  transition:
    transform var(--dur) var(--ease-standard),
    background-color var(--dur) var(--ease-standard),
    box-shadow var(--dur) var(--ease-standard);
}

.triptych-panel:hover {
  background: linear-gradient(180deg, rgba(12, 20, 36, 0.96), rgba(8, 14, 28, 0.99));
  box-shadow: inset 0 0 60px rgba(143, 217, 255, 0.04);
  z-index: 1;
}

/* Shared top accent line across all panels */
.triptych-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(143, 217, 255, 0.3), transparent);
}

/* Badge overlay */
.triptych-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(143, 217, 255, 0.1);
  border: 1px solid rgba(143, 217, 255, 0.16);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  backdrop-filter: blur(8px);
}

/* Scene area for SVG illustration */
.triptych-scene {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 12px 8px;
  min-height: 260px;
}

.triptych-svg {
  width: 100%;
  height: auto;
  max-height: 280px;
  font-family: var(--font-sans);
}

/* Label area below scene */
.triptych-label {
  padding: 0 24px;
}

.triptych-label h3 {
  margin-bottom: 6px;
  color: var(--ink-0);
  font-size: 1.14rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.triptych-label p {
  color: var(--ink-2);
  font-size: 0.88rem;
  line-height: 1.6;
  text-wrap: pretty;
}

/* ---- Panel 1: Connection lines ---- */

.tp-line {
  stroke: rgba(143, 217, 255, 0.22);
  stroke-width: 1.5;
  stroke-dasharray: 6 4;
  stroke-linecap: round;
  animation: dashFlow 2.4s linear infinite;
}

.tpl-2 {
  animation-delay: 0.3s;
}

.tpl-3 {
  animation-delay: 0.6s;
}

.tpl-4 {
  animation-delay: 0.9s;
}

.tp-node {
  opacity: 0;
  animation: nodeAppear 600ms var(--ease-standard) both;
}

.tp-n1 {
  animation-delay: 200ms;
}

.tp-n2 {
  animation-delay: 400ms;
}

.tp-n3 {
  animation-delay: 600ms;
}

.tp-n4 {
  animation-delay: 800ms;
}

.tp-glow {
  animation: glowPulse 3s var(--ease-gentle) 600ms infinite alternate;
}

.tp-center-icon {
  opacity: 0;
  animation: nodeAppear 500ms var(--ease-standard) 700ms both;
}

/* ---- Panel 2: Pipeline + particles ---- */

.tp-pipe {
  fill: rgba(143, 217, 255, 0.04);
  stroke: rgba(143, 217, 255, 0.1);
  stroke-width: 1;
}

.tp-particle {
  animation: particleFlow 3s linear infinite;
}

.tp-p1 {
  animation-delay: 0s;
}

.tp-p2 {
  animation-delay: 0.6s;
}

.tp-p3 {
  animation-delay: 1.2s;
}

.tp-p4 {
  animation-delay: 1.8s;
}

.tp-p5 {
  animation-delay: 2.4s;
}

.tp-stage {
  opacity: 0;
  animation: nodeAppear 500ms var(--ease-standard) both;
}

.tp-s1 {
  animation-delay: 300ms;
}

.tp-s2 {
  animation-delay: 500ms;
}

.tp-s3 {
  animation-delay: 700ms;
}

.tp-s4 {
  animation-delay: 900ms;
}

.tp-s5 {
  animation-delay: 1100ms;
}

/* ---- Panel 3: Mind map web ---- */

.tp-web {
  stroke: rgba(171, 194, 229, 0.12);
  stroke-width: 1;
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: edgeDraw 1s var(--ease-standard) both;
}

.tw-1 {
  animation-delay: 200ms;
}

.tw-2 {
  animation-delay: 300ms;
}

.tw-3 {
  animation-delay: 400ms;
}

.tw-4 {
  animation-delay: 500ms;
}

.tw-5 {
  animation-delay: 600ms;
}

.tw-6 {
  animation-delay: 700ms;
}

.tw-7 {
  animation-delay: 350ms;
}

.tw-8 {
  animation-delay: 550ms;
}

.tw-9 {
  animation-delay: 750ms;
}

.tw-10 {
  animation-delay: 450ms;
}

.tp-mind {
  opacity: 0;
  animation: nodeAppear 500ms var(--ease-standard) both;
}

.tp-m1 {
  animation-delay: 100ms;
}

.tp-m2 {
  animation-delay: 400ms;
}

.tp-m3 {
  animation-delay: 600ms;
}

.tp-m4 {
  animation-delay: 800ms;
}

.tp-m5 {
  animation-delay: 1000ms;
}

/* ---- Particle animation ---- */

@keyframes particleFlow {
  0% {
    transform: translateX(-60px);
    opacity: 0;
  }

  10% {
    opacity: 0.8;
  }

  90% {
    opacity: 0.8;
  }

  100% {
    transform: translateX(60px);
    opacity: 0;
  }
}

/* ---- Reduced motion ---- */

@media (prefers-reduced-motion: reduce) {

  .tp-line,
  .tp-particle,
  .tp-glow,
  .tp-web {
    animation: none;
  }

  .tp-node,
  .tp-center-icon,
  .tp-stage,
  .tp-mind {
    opacity: 1;
    animation: none;
  }

  .tp-web {
    stroke-dasharray: none;
    stroke-dashoffset: 0;
  }
}


.workflow-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 32px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(11, 20, 35, 0.78), rgba(9, 16, 28, 0.94));
  border: 1px solid var(--line-0);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  transition:
    transform var(--dur) var(--ease-standard),
    border-color var(--dur) var(--ease-standard),
    box-shadow var(--dur) var(--ease-standard),
    background-color var(--dur) var(--ease-standard);
}

.workflow-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-2);
  box-shadow: var(--shadow-sm);
}

.workflow-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(143, 217, 255, 0.28), transparent);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.workflow-card-content h3 {
  margin-bottom: 10px;
  color: var(--ink-0);
  font-size: 1.24rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.workflow-card-content p {
  color: var(--ink-1);
  font-size: 0.95rem;
  line-height: 1.75;
  text-wrap: pretty;
}

.workflow-demo {
  margin-top: auto;
}

.slack-mockup-mini {
  max-width: 100%;
  padding: 18px;
  border-radius: 22px;
  background: rgba(12, 21, 35, 0.82);
  border: 1px solid var(--line-0);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.slack-msg-mini {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.slack-avatar-mini {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: linear-gradient(135deg, #ff9f7a, #ff6f91);
  box-shadow: 0 10px 24px rgba(255, 111, 145, 0.2);
}

.slack-user-mini {
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: var(--ink-0);
  font-size: 0.86rem;
  font-weight: 700;
}

.slack-user-mini span {
  color: var(--ink-3);
  font-size: 0.72rem;
  font-weight: 500;
}

.slack-text-mini {
  margin-top: 4px;
  color: var(--ink-1);
  font-size: 0.86rem;
  line-height: 1.58;
  text-wrap: pretty;
}

.slack-reaction-mini {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(143, 217, 255, 0.12);
  border: 1px solid rgba(143, 217, 255, 0.14);
  font-size: 0.78rem;
}

.reaction-count-mini {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
}

.feature-layout {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 20px;
}

.feature-primary {
  min-height: 100%;
}

.feature-card {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(12, 22, 38, 0.82), rgba(9, 16, 29, 0.96));
  border: 1px solid var(--line-0);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  transition:
    transform var(--dur) var(--ease-standard),
    border-color var(--dur) var(--ease-standard),
    box-shadow var(--dur) var(--ease-standard);
}

.feature-card::before {
  content: "";
  position: absolute;
  top: -42px;
  left: -24px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(85, 196, 255, 0.14), transparent 74%);
  pointer-events: none;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-2);
  box-shadow: var(--shadow-sm);
}

.feature-card h3 {
  margin-bottom: 12px;
  color: var(--ink-0);
  font-size: 1.26rem;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.feature-card p {
  max-width: 38ch;
  color: var(--ink-1);
  font-size: 0.98rem;
  line-height: 1.75;
  text-wrap: pretty;
}

.feat-visual {
  position: relative;
  display: grid;
  place-items: center;
  height: 220px;
  margin-bottom: 30px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(85, 196, 255, 0.2), transparent 36%),
    linear-gradient(180deg, rgba(10, 18, 32, 0.95), rgba(6, 12, 22, 0.92));
  border: 1px solid var(--line-0);
  overflow: hidden;
}

.feat-visual::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(246, 207, 147, 0.18), transparent 68%);
  pointer-events: none;
}

.mock-doc {
  width: min(68%, 320px);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.m-line {
  height: 8px;
  border-radius: 999px;
  background: rgba(171, 194, 229, 0.16);
}

.w-full {
  width: 100%;
}

.w-3\/4 {
  width: 75%;
}

.w-1\/2 {
  width: 50%;
}

.m-highlight {
  position: relative;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(85, 196, 255, 0.12);
  border: 1px solid rgba(85, 196, 255, 0.14);
}

.m-tooltip {
  position: absolute;
  top: -16px;
  right: -8px;
  padding: 5px 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--gold));
  color: #04111d;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  box-shadow: 0 12px 24px rgba(14, 74, 108, 0.24);
}

.section-dark {
  position: relative;
}

.section-dark::after {
  content: "";
  position: absolute;
  inset: auto -8% 10% auto;
  width: min(36vw, 460px);
  height: min(36vw, 460px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(132, 241, 212, 0.08), transparent 74%);
  filter: blur(24px);
  pointer-events: none;
}

.testimonial-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 20px;
}

.testimonial-card {
  position: relative;
  padding: 28px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(12, 22, 38, 0.82), rgba(9, 16, 29, 0.96));
  border: 1px solid var(--line-0);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  transition:
    transform var(--dur) var(--ease-standard),
    border-color var(--dur) var(--ease-standard),
    box-shadow var(--dur) var(--ease-standard);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-2);
  box-shadow: var(--shadow-sm);
}

.testimonial-card::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 28px;
  width: 38px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0.75;
}

.testimonial-quote {
  display: flex;
  flex: 1;
  margin-bottom: 22px;
  padding-top: 18px;
  color: var(--ink-1);
  font-size: 0.95rem;
  line-height: 1.8;
  text-wrap: pretty;
}

.testimonial-featured .testimonial-quote {
  font-size: 1.02rem;
}

.testimonial-person {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line-0);
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
}

.testimonial-name {
  color: var(--ink-0);
  font-size: 0.88rem;
  font-weight: 700;
}

.testimonial-role {
  margin-top: 2px;
  color: var(--ink-2);
  font-size: 0.75rem;
  font-weight: 600;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(12, 22, 38, 0.82), rgba(9, 16, 29, 0.96));
  border: 1px solid var(--line-0);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  transition:
    transform var(--dur) var(--ease-standard),
    border-color var(--dur) var(--ease-standard),
    box-shadow var(--dur) var(--ease-standard);
}

.plan-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-2);
  box-shadow: var(--shadow-sm);
}

.plan-featured {
  background:
    radial-gradient(circle at top right, rgba(85, 196, 255, 0.14), transparent 36%),
    linear-gradient(180deg, rgba(16, 29, 49, 0.96), rgba(11, 20, 35, 0.98));
  border-color: rgba(143, 217, 255, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 24px 72px rgba(10, 54, 86, 0.2);
}

.plan-featured:hover {
  border-color: rgba(143, 217, 255, 0.6);
}

.plan-badge {
  position: absolute;
  top: -12px;
  left: 24px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--accent), var(--gold));
  color: #04111d;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 14px 30px rgba(20, 108, 171, 0.2);
}

.plan-card-head {
  margin-bottom: 24px;
}

.plan-name {
  margin-bottom: 10px;
  color: var(--ink-0);
  font-size: 1.16rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
}

.plan-price .amount {
  color: var(--ink-0);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.plan-price .period {
  color: var(--ink-2);
  font-size: 0.84rem;
  font-weight: 700;
}

.plan-desc {
  color: var(--ink-1);
  font-size: 0.9rem;
  line-height: 1.7;
  text-wrap: pretty;
}

.plan-features {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0;
  margin-bottom: 26px;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-0);
  color: var(--ink-1);
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.55;
}

.plan-features li:last-child {
  border-bottom: none;
}

.plan-features li::before {
  content: "✓";
  width: 16px;
  flex: none;
  color: var(--mint);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.7;
}

.plan-features li.is-excluded {
  color: var(--ink-3);
}

.plan-features li.is-excluded::before {
  content: "—";
  color: var(--ink-3);
}

.plan-card>.button {
  width: 100%;
}

.section-cta {
  padding-top: 44px;
  padding-bottom: 120px;
}

.cta-panel {
  position: relative;
  overflow: hidden;
  padding: 60px;
  border-radius: 36px;
  background: linear-gradient(135deg, rgba(12, 22, 38, 0.94), rgba(8, 15, 27, 0.98));
  border: 1px solid rgba(171, 194, 229, 0.16);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.cta-panel::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 50%;
  width: 580px;
  height: 260px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(85, 196, 255, 0.16), transparent 68%);
  pointer-events: none;
}

.cta-panel::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -120px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(246, 207, 147, 0.16), transparent 70%);
  pointer-events: none;
}

.cta-title {
  position: relative;
  z-index: 1;
  max-width: 12ch;
  margin: 0 auto 16px;
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.045em;
  color: var(--ink-0);
}

.cta-sub {
  position: relative;
  z-index: 1;
  max-width: 46ch;
  margin: 0 auto 34px;
  color: var(--ink-1);
  font-size: 1.04rem;
  line-height: 1.75;
  text-wrap: pretty;
}

.section-cta .button {
  position: relative;
  z-index: 1;
}

.site-footer {
  position: relative;
  padding: 44px 0 40px;
  background: rgba(4, 8, 15, 0.84);
  border-top: 1px solid var(--line-0);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}

.footer-blurb {
  max-width: 32ch;
  margin-top: 14px;
  color: var(--ink-2);
  font-size: 0.88rem;
  line-height: 1.7;
  text-wrap: pretty;
}

.footer-col h4 {
  margin-bottom: 16px;
  color: var(--ink-0);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  width: fit-content;
  margin-bottom: 12px;
  padding: 4px 0;
  color: var(--ink-2);
  font-size: 0.86rem;
  font-weight: 600;
  transition:
    color var(--dur-fast) var(--ease-standard),
    transform var(--dur-fast) var(--ease-standard);
}

.footer-col a:hover {
  color: var(--ink-0);
  transform: translateX(2px);
}

.footer-legal {
  padding-top: 18px;
  border-top: 1px solid var(--line-0);
  color: var(--ink-3);
  font-size: 0.78rem;
  font-weight: 600;
}

.footer-brand .brand {
  color: var(--ink-0);
}

.footer-brand .brand-mark {
  color: var(--accent);
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.16;
  }
}

@keyframes previewReveal {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

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

@keyframes floatTag {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(0, -10px, 0);
  }
}

@keyframes auroraShift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }

  to {
    transform: translate3d(3%, -4%, 0) scale(1.08);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .cursor-blink {
    animation: blink 1.1s steps(1, end) infinite;
  }

  .hero-glow-primary,
  .hero-glow-secondary {
    animation: auroraShift 18s var(--ease-gentle) infinite alternate;
  }

  .preview-float {
    animation: floatTag 8s var(--ease-gentle) infinite alternate;
  }

  .preview-float-bottom {
    animation-delay: -4s;
  }

  .js [data-reveal="fade-up"],
  .js [data-observe="slide-up"],
  .js [data-observe="fade-up"] {
    opacity: 0;
    transform: translateY(24px);
  }

  .js [data-reveal="fade-in"],
  .js [data-observe="fade-in"] {
    opacity: 0;
  }

  .js .is-visible[data-reveal="fade-up"],
  .js .is-visible[data-observe="slide-up"],
  .js .is-visible[data-observe="fade-up"] {
    opacity: 1;
    transform: translateY(0);
    transition:
      opacity 0.8s var(--ease-standard),
      transform 0.8s var(--ease-standard);
  }

  .js .is-visible[data-reveal="fade-in"],
  .js .is-visible[data-observe="fade-in"] {
    opacity: 1;
    transition: opacity 0.8s var(--ease-standard);
  }

  .js [data-reveal],
  .js [data-observe] {
    transition-delay: calc(var(--delay, 0) * 90ms);
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .result-delay-1,
  .result-delay-2 {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1180px) {

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

  .feature-primary,
  .testimonial-featured {
    grid-column: span 2;
  }
}

@media (max-width: 960px) {
  .hero-layout {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-content {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
  }

  .display-title,
  .hero-intro {
    margin-inline: auto;
  }

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

  .hero-proof {
    max-width: 720px;
    margin-inline: auto;
  }

  .hero-visual {
    min-height: auto;
    padding-top: 10px;
  }

  .hero-slides {
    min-height: 380px;
  }

  .connect-svg,
  .graph-svg {
    width: min(100%, 360px);
  }

  .workflow-steps,
  .plans-grid,
  .proof-grid,
  .launch-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workflow-card:first-child,
  .plan-featured {
    grid-column: span 2;
  }

  .triptych-scene {
    min-height: 220px;
  }

  .footer-grid {
    gap: 28px;
  }
}

@media (max-width: 720px) {

  .triptych-strip {
    flex-direction: column;
    gap: 2px;
    border-radius: var(--radius-md);
  }

  .triptych-panel {
    padding-bottom: 24px;
  }

  .triptych-scene {
    min-height: 200px;
    padding: 16px 8px 4px;
  }

  .triptych-svg {
    max-height: 220px;
  }

  .container {
    width: min(var(--max-w), calc(100% - 32px));
  }

  .site-header {
    padding-inline: 14px;
  }

  .header-inner {
    grid-template-columns: auto auto 1fr auto;
    gap: 10px;
    padding: 10px 12px;
  }

  .site-nav {
    position: absolute;
    inset: calc(100% + 12px) 0 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 18px;
    border-radius: 26px;
    background: rgba(6, 10, 18, 0.94);
    border: 1px solid var(--line-1);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.985);
    pointer-events: none;
    transition:
      opacity var(--dur) var(--ease-standard),
      transform var(--dur) var(--ease-standard),
      visibility var(--dur) var(--ease-standard);
  }

  .site-header[data-menu-open="true"] .site-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }

  .site-nav a {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.04);
  }

  .header-link {
    display: none;
  }

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

  .hero {
    padding-top: 124px;
    padding-bottom: 80px;
  }

  .display-title {
    max-width: 9ch;
    font-size: clamp(2.7rem, 14vw, 4.25rem);
  }

  .hero-intro {
    font-size: 1.02rem;
  }

  .hero-proof,
  .workflow-steps,
  .feature-layout,
  .testimonial-layout,
  .plans-grid,
  .footer-grid,
  .proof-grid,
  .launch-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .workflow-card:first-child,
  .feature-primary,
  .testimonial-featured,
  .plan-featured {
    grid-column: auto;
  }

  .preview-float {
    display: none;
  }

  .product-preview,
  .hero-visual::before {
    width: 100%;
  }

  .section,
  .section-tight {
    padding-block: 84px;
  }

  .section-cta {
    padding-top: 20px;
    padding-bottom: 96px;
  }

  .cta-panel {
    padding: 44px 24px;
  }
}

@media (max-width: 520px) {
  .container {
    width: calc(100% - 24px);
  }

  .brand-word {
    font-size: 0.78rem;
    letter-spacing: 0.12em;
  }

  .header-actions .button-compact {
    padding: 0 16px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

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

  .hero-proof-card,
  .workflow-card,
  .feature-card,
  .testimonial-card,
  .plan-card,
  .proof-record,
  .proof-note,
  .launch-card,
  .trust-card,
  .trust-callout {
    padding-inline: 22px;
  }

  .preview-body {
    padding: 20px;
  }

  .preview-search {
    padding: 14px 15px;
  }

  .typed-query {
    font-size: 0.92rem;
  }

  .preview-citation {
    align-items: flex-start;
  }

  .confidence-bar {
    width: 68px;
  }

  .cta-title {
    max-width: 10ch;
  }

  .proof-columns,
  .trust-matrix thead,
  .trust-matrix tbody,
  .trust-matrix tr,
  .trust-matrix th,
  .trust-matrix td {
    display: block;
  }

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

  .trust-matrix tr {
    padding: 18px 0;
  }

  .trust-matrix td {
    padding: 8px 20px;
    border-top: none;
  }

  .trust-matrix td:first-child {
    padding-top: 18px;
  }

  .trust-matrix td:last-child {
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line-0);
  }
}

/* ============================================================
   ROI Calculator
   ============================================================ */
.roi-section {
  padding: 112px 0;
}

.roi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3rem;
}

@media (max-width: 900px) {
  .roi-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.roi-controls {
  background: linear-gradient(180deg, rgba(12, 22, 38, 0.82), rgba(9, 16, 29, 0.96));
  border: 1px solid var(--line-0);
  border-radius: 28px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.slider-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
}

.slider-header label {
  color: var(--ink-0);
  font-size: 1rem;
}

.slider-value {
  color: var(--accent);
  font-weight: 700;
  font-size: 1.125rem;
  font-family: var(--font-mono);
}

.slider-val-container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 80px;
}

.slider-input {
  background: rgba(6, 10, 18, 0.62);
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 0.2rem 0.5rem;
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
  width: 80px;
  text-align: right;
  transition: box-shadow 0.2s ease;
  outline: none;
}

.slider-input:focus {
  box-shadow: 0 0 0 2px rgba(143, 217, 255, 0.2);
}

.slider-input::-webkit-outer-spin-button,
.slider-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.slider-input[type=number] {
  -moz-appearance: textfield;
}

.roi-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  outline: none;
}

.roi-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  transition: transform 0.1s;
  box-shadow: 0 0 12px rgba(143, 217, 255, 0.36);
}

.roi-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.roi-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  border: none;
  transition: transform 0.1s;
  box-shadow: 0 0 12px rgba(143, 217, 255, 0.36);
}

.roi-slider::-moz-range-thumb:hover {
  transform: scale(1.2);
}

.roi-results {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.result-card {
  background:
    radial-gradient(circle at top right, rgba(85, 196, 255, 0.14), transparent 36%),
    linear-gradient(180deg, rgba(16, 29, 49, 0.96), rgba(11, 20, 35, 0.98));
  border: 1px solid rgba(143, 217, 255, 0.42);
  border-radius: 28px;
  padding: 2.5rem;
  text-align: center;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 24px 72px rgba(10, 54, 86, 0.2);
}

.result-card.secondary-result {
  background: linear-gradient(180deg, rgba(12, 22, 38, 0.82), rgba(9, 16, 29, 0.96));
  border-color: var(--line-0);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.result-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 0.5rem;
}

.result-number {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--ink-0);
  line-height: 1.1;
  margin-bottom: 0.5rem;
  font-family: var(--font-mono);
  letter-spacing: -0.04em;
}

.result-label {
  color: var(--ink-1);
  font-size: 0.95rem;
}

/* ============================================================
   Contact Form
   ============================================================ */
.contact-section {
  padding: 112px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.contact-benefits {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.contact-benefits li {
  color: var(--ink-0);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
}

.contact-form-wrapper {
  background: linear-gradient(180deg, rgba(12, 22, 38, 0.82), rgba(9, 16, 29, 0.96));
  border: 1px solid var(--line-0);
  border-radius: 28px;
  padding: 2.5rem;
  text-align: left;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-0);
  text-align: left;
}

.form-group input,
.form-group textarea,
.form-group select {
  background: rgba(6, 10, 18, 0.62);
  border: 1px solid var(--line-1);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--ink-0);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(143, 217, 255, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--ink-3);
}
