/* ============================================================
   OrchEcomm — Landing Page Styles
   Design system: light theme, near-black foreground,
   emerald accent, Geist / Geist Mono typography.
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --background: oklch(0.99 0 0);
  --foreground: oklch(0.15 0 0);
  --card: oklch(1 0 0);
  --card-foreground: oklch(0.15 0 0);
  --primary: oklch(0.15 0 0);
  --primary-foreground: oklch(0.99 0 0);
  --secondary: oklch(0.97 0 0);
  --secondary-foreground: oklch(0.15 0 0);
  --muted: oklch(0.94 0 0);
  --muted-foreground: oklch(0.45 0 0);
  --accent: oklch(0.65 0.18 145);
  --accent-strong: oklch(0.58 0.18 145);
  --accent-foreground: oklch(0.99 0 0);
  --border: oklch(0.92 0 0);
  --ring: oklch(0.15 0 0);
  --radius: 0.5rem;

  --font-sans: "Geist", system-ui, -apple-system, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", monospace;

  --container: 72rem;
}

/* Inverted (dark) sections */
.section-dark {
  --background: oklch(0.15 0 0);
  --foreground: oklch(0.99 0 0);
  --card: oklch(0.18 0 0);
  --card-foreground: oklch(0.99 0 0);
  --primary: oklch(0.99 0 0);
  --primary-foreground: oklch(0.15 0 0);
  --secondary: oklch(0.25 0 0);
  --muted: oklch(0.25 0 0);
  --muted-foreground: oklch(0.6 0 0);
  --border: oklch(0.25 0 0);
  background-color: var(--background);
  color: var(--foreground);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul, ol { list-style: none; }

::selection { background: oklch(0.65 0.18 145 / 0.25); }

/* ---------- Layout primitives ---------- */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.section { padding-block: 5rem; }
@media (min-width: 768px) { .section { padding-block: 7rem; } }

.section-muted { background-color: oklch(0.94 0 0 / 0.3); }
.border-y { border-block: 1px solid oklch(0.92 0 0 / 0.6); }
.border-t { border-top: 1px solid oklch(0.92 0 0 / 0.4); }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.eyebrow::before {
  content: "";
  width: 1.5rem;
  height: 1px;
  background: var(--accent);
}

h1, h2, h3 { font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }

.h1 {
  font-size: clamp(2.75rem, 6.5vw, 4.75rem);
  font-weight: 650;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  text-wrap: balance;
}

.h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); }

.dot { color: var(--accent); }

.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: var(--muted-foreground);
  max-width: 42rem;
  text-wrap: pretty;
}

.mono {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
}

.section-head { max-width: 46rem; margin-bottom: 3.5rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lead { margin-inline: auto; }
.section-head .lead { margin-top: 1.25rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 2.75rem;
  padding-inline: 1.375rem;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: background-color 0.18s ease, border-color 0.18s ease,
              color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.btn:active { transform: translateY(1px); }

.btn-accent {
  background: var(--accent);
  color: var(--accent-foreground);
}
.btn-accent:hover { background: var(--accent-strong); }

.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
}
.btn-primary:hover { opacity: 0.9; }

.btn-outline {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--foreground);
}
.btn-outline:hover { background: var(--secondary); border-color: var(--muted-foreground); }

.btn-ghost { color: var(--muted-foreground); padding-inline: 0.875rem; }
.btn-ghost:hover { color: var(--foreground); }

.btn-lg { height: 3.125rem; padding-inline: 1.75rem; font-size: 1rem; }

.btn .arrow { transition: transform 0.18s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: oklch(1 0 0 / 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: oklch(0.92 0 0 / 0.6);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.25rem;
}
.nav-links {
  display: none;
  align-items: center;
  gap: 0.25rem;
}
.nav-links a {
  padding: 0.5rem 0.875rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted-foreground);
  border-radius: var(--radius);
  transition: color 0.15s ease, background-color 0.15s ease;
}
.nav-links a:hover { color: var(--foreground); background: var(--secondary); }
.nav-actions { display: none; align-items: center; gap: 0.625rem; }

@media (min-width: 900px) {
  .nav-links, .nav-actions { display: inline-flex; }
  .nav .nav-burger { display: none; }
}

.nav-burger {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  padding: 0.625rem;
}
.nav-burger span {
  width: 1.25rem;
  height: 1.5px;
  background: var(--foreground);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  inset: 4.25rem 0 auto 0;
  z-index: 49;
  background: oklch(1 0 0 / 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.5rem 1.5rem;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  padding: 0.875rem 0.25rem;
  font-size: 1.05rem;
  font-weight: 500;
  border-bottom: 1px solid oklch(0.92 0 0 / 0.5);
}
.mobile-menu .btn { width: 100%; margin-top: 1rem; }

/* ---------- Brand ---------- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-weight: 650;
  font-size: 1.0625rem;
  letter-spacing: -0.02em;
}
.brand svg { flex-shrink: 0; }
.brand-logo { height: 2.375rem; width: auto; }
.brand-logo-footer { height: 2.125rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-block: 8rem 4rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 45% at 50% 0%, oklch(0.65 0.18 145 / 0.07), transparent 70%),
    oklch(0 0 0 / 0.04);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(oklch(0.15 0 0 / 0.035) 1px, transparent 1px),
    linear-gradient(90deg, oklch(0.15 0 0 / 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 75% 65% at 50% 40%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 40%, black 30%, transparent 75%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  text-align: center;
  max-width: 56rem;
  margin-inline: auto;
  padding-inline: 1.5rem;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.375rem 0.875rem 0.375rem 0.5rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: oklch(1 0 0 / 0.7);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
}
.hero-badge .pill {
  padding: 0.125rem 0.5rem;
  border-radius: 999px;
  background: oklch(0.65 0.18 145 / 0.12);
  color: var(--accent-strong);
  font-weight: 600;
}
.hero .lead { margin: 1.75rem auto 2.5rem; max-width: 38rem; }
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.875rem;
}
.hero-note {
  margin-top: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted-foreground);
}
.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 2rem;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}
.hero-scroll svg { animation: bob 1.8s ease-in-out infinite; }
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

/* ---------- Stats strip ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  padding-block: 3rem;
}
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { text-align: center; }
.stat-value {
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 2.6vw, 2.125rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.stat-value em { color: var(--accent); font-style: normal; }
.stat-label {
  margin-top: 0.375rem;
  font-size: 0.8125rem;
  color: var(--muted-foreground);
}

/* ---------- Marquee ---------- */
.marquee-section { padding-block: 3rem 3.5rem; overflow: hidden; }
.marquee-title {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  margin-bottom: 1.75rem;
}
.marquee {
  display: flex;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
}
.marquee-track {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 1rem;
  padding-right: 1rem;
  animation: marquee 36s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee {
  to { transform: translateX(-100%); }
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.125rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--card);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  white-space: nowrap;
}
.chip::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
  opacity: 0.7;
}

/* ---------- Video placeholder ---------- */
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: calc(var(--radius) * 2);
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 90% at 50% 110%, oklch(0.65 0.18 145 / 0.18), transparent 60%),
    oklch(0.17 0 0);
  border: 1px solid oklch(0.92 0 0 / 0.8);
  box-shadow: 0 24px 60px -24px oklch(0.15 0 0 / 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-frame .play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 999px;
  background: oklch(1 0 0 / 0.1);
  border: 1px solid oklch(1 0 0 / 0.25);
  backdrop-filter: blur(6px);
  color: white;
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.video-frame .play:hover { transform: scale(1.06); background: oklch(0.65 0.18 145 / 0.9); }
.video-frame .video-caption {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: oklch(1 0 0 / 0.55);
  white-space: nowrap;
}

/* ---------- Problem grid ---------- */
.problem-grid {
  display: grid;
  gap: 1px;
  background: oklch(0.92 0 0 / 0.8);
  border: 1px solid oklch(0.92 0 0 / 0.8);
  border-radius: calc(var(--radius) * 2);
  overflow: hidden;
}
@media (min-width: 768px) { .problem-grid { grid-template-columns: 1fr 1fr; } }
.problem {
  background: var(--background);
  padding: 2.25rem 2rem;
}
.problem-num {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--accent);
  margin-bottom: 1rem;
}
.problem h3 { font-size: 1.2rem; margin-bottom: 0.625rem; letter-spacing: -0.02em; }
.problem p { font-size: 0.9375rem; color: var(--muted-foreground); }

/* ---------- Orchestration layer diagram ---------- */
.split {
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 4.5rem; }
  .split.reverse > :first-child { order: 2; }
}
.split .lead { margin-top: 1.25rem; }
.feature-list { margin-top: 2rem; display: grid; gap: 1rem; }
.feature-list li {
  display: flex;
  gap: 0.875rem;
  font-size: 0.9375rem;
  color: var(--muted-foreground);
}
.feature-list li strong { color: var(--foreground); font-weight: 550; }
.feature-list .tick {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.2rem;
  border-radius: 999px;
  background: oklch(0.65 0.18 145 / 0.12);
  color: var(--accent-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.placeholder-panel {
  position: relative;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 2);
  background:
    linear-gradient(oklch(0.15 0 0 / 0.03) 1px, transparent 1px),
    linear-gradient(90deg, oklch(0.15 0 0 / 0.03) 1px, transparent 1px),
    var(--card);
  background-size: 24px 24px, 24px 24px, auto;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 40px -20px oklch(0.15 0 0 / 0.18);
}
.placeholder-panel .tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  border: 1px dashed var(--border);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: var(--background);
}

/* ---------- Pillars ---------- */
.pillars {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 900px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillar {
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 2);
  background: var(--card);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.pillar:hover {
  border-color: oklch(0.65 0.18 145 / 0.45);
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -24px oklch(0.15 0 0 / 0.25);
}
.pillar-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius);
  background: oklch(0.65 0.18 145 / 0.1);
  color: var(--accent-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.pillar p { font-size: 0.9375rem; color: var(--muted-foreground); flex-grow: 1; }
.pillar-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pillar-chips span {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted-foreground);
}

/* ---------- Audience ---------- */
.audience-list { border-top: 1px solid var(--border); }
.audience-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: baseline;
  padding: 1.75rem 0.5rem;
  border-bottom: 1px solid var(--border);
  transition: background-color 0.15s ease;
}
@media (min-width: 768px) {
  .audience-row { grid-template-columns: 6rem 1fr 1.2fr; gap: 2.5rem; }
}
.audience-row:hover { background: oklch(0.94 0 0 / 0.3); }
.audience-row .idx { font-family: var(--font-mono); font-size: 0.8125rem; color: var(--accent); }
.audience-row h3 { font-size: 1.25rem; letter-spacing: -0.02em; }
.audience-row p { font-size: 0.9375rem; color: var(--muted-foreground); grid-column: 2; }
@media (min-width: 768px) { .audience-row p { grid-column: auto; } }

/* ---------- Story (dark) ---------- */
.story-quote {
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.35;
  max-width: 52rem;
  text-wrap: balance;
}
.story-quote em { color: var(--accent); font-style: normal; }
.story-byline {
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.avatar {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  background: oklch(0.65 0.18 145 / 0.2);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.story-byline .who { font-size: 0.9rem; }
.story-byline .who span { display: block; color: var(--muted-foreground); font-size: 0.8125rem; }

/* ---------- Developer / code ---------- */
.code-window {
  border-radius: calc(var(--radius) * 2);
  overflow: hidden;
  border: 1px solid oklch(0.25 0 0);
  background: oklch(0.13 0 0);
  color: oklch(0.85 0 0);
  box-shadow: 0 24px 60px -28px oklch(0.15 0 0 / 0.5);
}
.code-titlebar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid oklch(0.25 0 0);
}
.code-titlebar i {
  width: 0.6875rem;
  height: 0.6875rem;
  border-radius: 999px;
  background: oklch(0.35 0 0);
}
.code-titlebar .file {
  margin-left: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: oklch(0.55 0 0);
}
.code-window pre {
  padding: 1.375rem 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  line-height: 1.7;
  overflow-x: auto;
}
.tok-kw { color: oklch(0.75 0.12 145); }
.tok-str { color: oklch(0.8 0.1 85); }
.tok-fn { color: oklch(0.78 0.1 250); }
.tok-cm { color: oklch(0.5 0 0); }

/* ---------- Testimonials ---------- */
.testimonial-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 700px) { .testimonial-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .testimonial-grid { grid-template-columns: repeat(3, 1fr); } }
.testimonial {
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 2);
  background: var(--card);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.375rem;
}
.testimonial blockquote {
  font-size: 0.9375rem;
  color: var(--foreground);
  flex-grow: 1;
}
.testimonial footer { display: flex; align-items: center; gap: 0.875rem; }
.testimonial .who { font-size: 0.875rem; font-weight: 550; }
.testimonial .who span { display: block; font-weight: 400; font-size: 0.8125rem; color: var(--muted-foreground); }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }
.plan {
  position: relative;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 2);
  background: var(--card);
  padding: 2rem;
  display: flex;
  flex-direction: column;
}
.plan.featured {
  border-color: oklch(0.65 0.18 145 / 0.55);
  box-shadow: 0 24px 48px -28px oklch(0.65 0.18 145 / 0.35);
}
.plan-badge {
  position: absolute;
  top: -0.8125rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--accent-foreground);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.875rem;
  border-radius: 999px;
}
.plan-name { font-size: 1.05rem; font-weight: 600; }
.plan-desc { font-size: 0.875rem; color: var(--muted-foreground); margin-top: 0.375rem; }
.plan-price {
  margin-block: 1.5rem 0.25rem;
  font-size: 2.5rem;
  font-weight: 650;
  letter-spacing: -0.03em;
}
.plan-price small {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--muted-foreground);
  letter-spacing: 0;
}
.plan-period { font-family: var(--font-mono); font-size: 0.75rem; color: var(--muted-foreground); }
.plan ul { margin-block: 1.75rem; display: grid; gap: 0.75rem; flex-grow: 1; }
.plan li {
  display: flex;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}
.plan li .tick {
  flex-shrink: 0;
  color: var(--accent-strong);
  margin-top: 0.1rem;
}

/* ---------- Final CTA ---------- */
.cta-final {
  background: var(--primary);
  color: var(--primary-foreground);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 60% at 50% 115%, oklch(0.65 0.18 145 / 0.25), transparent 65%);
  pointer-events: none;
}
.cta-final .container { position: relative; }
.cta-final .lead { color: oklch(0.99 0 0 / 0.65); margin: 1.5rem auto 2.5rem; }
.cta-final .hero-ctas .btn-outline {
  border-color: oklch(1 0 0 / 0.25);
  color: oklch(0.99 0 0);
}
.cta-final .hero-ctas .btn-outline:hover { background: oklch(1 0 0 / 0.08); border-color: oklch(1 0 0 / 0.5); }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  padding-block: 4rem 2.5rem;
  background: var(--background);
}
.footer-grid {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.footer-tag { margin-top: 1rem; font-size: 0.875rem; color: var(--muted-foreground); max-width: 18rem; }
.footer h3 {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  margin-bottom: 1.125rem;
}
.footer-col ul { display: grid; gap: 0.75rem; }
.footer-col a { font-size: 0.9rem; color: var(--foreground); opacity: 0.8; transition: opacity 0.15s ease; }
.footer-col a:hover { opacity: 1; }
.footer-bottom {
  margin-top: 3.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: var(--muted-foreground);
}
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a:hover { color: var(--foreground); }

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   PART 2 — Icons, modules, flows, imagery & ambient lighting
   ============================================================ */

/* ---------- Pixel icons (Streamline Pixel, tinted via CSS mask) ---------- */
.pi {
  display: inline-block;
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  background-color: currentColor;
  -webkit-mask: var(--pi) center / contain no-repeat;
  mask: var(--pi) center / contain no-repeat;
}
.pi-supply    { --pi: url(../assets/icons/box-usd-solid.svg); }
.pi-marketing { --pi: url(../assets/icons/bullhorn-solid.svg); }
.pi-support   { --pi: url(../assets/icons/user-headset-solid.svg); }
.pi-payments  { --pi: url(../assets/icons/credit-card-solid.svg); }
.pi-builder   { --pi: url(../assets/icons/viewblocks.svg); }
.pi-refund    { --pi: url(../assets/icons/receipt-solid.svg); }
.pi-check     { --pi: url(../assets/icons/check-solid.svg); }
.pi-bolt      { --pi: url(../assets/icons/bolt-solid.svg); }
.pi-cog       { --pi: url(../assets/icons/cog-solid.svg); }
.pi-coins     { --pi: url(../assets/icons/coins-solid.svg); }

/* pixel-check used as a list tick — override the old .tick circle */
.feature-list .pi.tick,
.plan .pi.tick {
  width: 1.05rem;
  height: 1.05rem;
  margin-top: 0.22rem;
  border-radius: 0;
  background-color: var(--accent-strong);
}

/* ---------- Word glow / "radiation" ---------- */
.glow {
  color: var(--accent-strong);
  text-shadow: 0 0 24px oklch(0.65 0.18 145 / 0.35);
  animation: glowPulse 4s ease-in-out infinite;
}
.section-dark .glow { color: oklch(0.72 0.17 150); }
@keyframes glowPulse {
  0%, 100% { text-shadow: 0 0 20px oklch(0.65 0.18 145 / 0.28); }
  50%      { text-shadow: 0 0 36px oklch(0.65 0.18 145 / 0.55); }
}

/* ---------- Ambient background lighting ---------- */
.has-ambient { position: relative; isolation: isolate; }
.has-ambient > .container,
.has-ambient > .hero-inner { position: relative; z-index: 1; }
.ambient-blobs { position: absolute; inset: 0; overflow: hidden; z-index: 0; pointer-events: none; }
.ambient-blobs span,
.has-ambient::before,
.has-ambient::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}
.has-ambient::before {
  width: 34rem; height: 34rem;
  left: -10rem; top: -8rem;
  background: radial-gradient(circle, oklch(0.65 0.18 145 / 0.20), transparent 70%);
  animation: drift1 18s ease-in-out infinite;
}
.has-ambient::after {
  width: 30rem; height: 30rem;
  right: -8rem; bottom: -10rem;
  background: radial-gradient(circle, oklch(0.65 0.18 145 / 0.14), transparent 70%);
  animation: drift2 22s ease-in-out infinite;
}
.section-dark.has-ambient::before { background: radial-gradient(circle, oklch(0.65 0.18 145 / 0.28), transparent 70%); }
.section-dark.has-ambient::after  { background: radial-gradient(circle, oklch(0.55 0.16 150 / 0.22), transparent 70%); }
@keyframes drift1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(4rem, 3rem) scale(1.12); }
}
@keyframes drift2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(-3rem, -3rem) scale(1.1); }
}

/* extra emerald glow layer inside the hero */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 40% 30% at 50% 42%, oklch(0.65 0.18 145 / 0.12), transparent 70%);
}
.hero .hero-inner { position: relative; z-index: 2; }
.hero .ambient-blobs { z-index: 0; }
.hero .ambient-blobs span:first-child {
  width: 26rem; height: 26rem; left: 8%; top: 18%;
  background: radial-gradient(circle, oklch(0.65 0.18 145 / 0.14), transparent 70%);
  animation: drift1 20s ease-in-out infinite;
}
.hero .ambient-blobs span:last-child {
  width: 22rem; height: 22rem; right: 6%; bottom: 12%;
  background: radial-gradient(circle, oklch(0.60 0.17 150 / 0.12), transparent 70%);
  animation: drift2 24s ease-in-out infinite;
}

/* ---------- Framed media panels (generated imagery) ---------- */
.media-panel {
  position: relative;
  border-radius: calc(var(--radius) * 2);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 4 / 3;
  background: oklch(0.17 0 0);
  box-shadow: 0 24px 60px -28px oklch(0.15 0 0 / 0.4);
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), box-shadow 0.4s ease;
}
.media-panel img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-panel::after {
  content: "";
  position: absolute; inset: 0;
  box-shadow: inset 0 0 0 1px oklch(1 0 0 / 0.05), inset 0 -60px 60px -40px oklch(0.65 0.18 145 / 0.25);
  pointer-events: none;
}
.media-panel:hover {
  transform: translateY(-4px);
  box-shadow: 0 34px 70px -30px oklch(0.65 0.18 145 / 0.35);
}

/* ---------- Modules grid ---------- */
.modules-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .modules-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .modules-grid { grid-template-columns: repeat(3, 1fr); } }
.module-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 2);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.module-card::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(120% 80% at 100% 0%, oklch(0.65 0.18 145 / 0.08), transparent 55%);
  opacity: 0; transition: opacity 0.3s ease; pointer-events: none;
}
.module-card:hover {
  transform: translateY(-4px);
  border-color: oklch(0.65 0.18 145 / 0.45);
  box-shadow: 0 24px 48px -30px oklch(0.15 0 0 / 0.35);
}
.module-card:hover::before { opacity: 1; }
.module-card.featured { border-color: oklch(0.65 0.18 145 / 0.5); box-shadow: 0 24px 48px -30px oklch(0.65 0.18 145 / 0.3); }
.module-flag {
  position: absolute; top: 1rem; right: 1rem;
  font-family: var(--font-mono); font-size: 0.625rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent-strong);
  background: oklch(0.65 0.18 145 / 0.12);
  padding: 0.25rem 0.55rem; border-radius: 999px;
}
.module-icon {
  width: 3.25rem; height: 3.25rem;
  border-radius: 0.875rem;
  display: inline-flex; align-items: center; justify-content: center;
  background: oklch(0.65 0.18 145 / 0.1);
  color: var(--accent-strong);
  border: 1px solid oklch(0.65 0.18 145 / 0.2);
}
.module-icon .pi { width: 1.6rem; height: 1.6rem; }
.module-name { font-size: 1.2rem; letter-spacing: -0.02em; }
.module-card p { font-size: 0.925rem; color: var(--muted-foreground); flex-grow: 1; }
.module-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.module-tags span {
  font-family: var(--font-mono); font-size: 0.6875rem;
  padding: 0.28rem 0.6rem; border-radius: 999px;
  border: 1px solid var(--border); color: var(--muted-foreground);
}

/* ---------- Growth section header (text + media) ---------- */
.growth-head { display: grid; gap: 2.5rem; align-items: center; margin-bottom: 3.5rem; }
@media (min-width: 900px) { .growth-head { grid-template-columns: 1.3fr 1fr; gap: 3.5rem; } }
.growth-head .lead { margin-top: 1.25rem; }
.growth-media {
  border-radius: calc(var(--radius) * 2);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 16 / 10;
  background: oklch(0.15 0 0);
  box-shadow: 0 24px 60px -30px oklch(0.15 0 0 / 0.4);
}
.growth-media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Pricing extras ---------- */
.muted-note { color: var(--accent-strong); font-weight: 500; }
.plan-price small { font-size: 1rem; }

/* ---------- Flow diagrams (React Flow) ---------- */
.flow-wrap { position: relative; z-index: 1; }
.flow-canvas {
  position: relative;
  height: 560px;
  border-radius: calc(var(--radius) * 2);
  border: 1px solid var(--border);
  overflow: hidden;
  background:
    linear-gradient(oklch(0.15 0 0 / 0.03) 1px, transparent 1px),
    linear-gradient(90deg, oklch(0.15 0 0 / 0.03) 1px, transparent 1px),
    var(--card);
  background-size: 26px 26px, 26px 26px, auto;
}
.flow-canvas-dark {
  border-color: oklch(0.3 0 0);
  background:
    linear-gradient(oklch(1 0 0 / 0.03) 1px, transparent 1px),
    linear-gradient(90deg, oklch(1 0 0 / 0.03) 1px, transparent 1px),
    linear-gradient(180deg, oklch(0.16 0 0), oklch(0.13 0 0));
  background-size: 26px 26px, 26px 26px, auto;
}
.flow-loading {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 0.8125rem; color: var(--muted-foreground);
}
.flow-hint {
  margin-top: 1rem; text-align: center;
  font-family: var(--font-mono); font-size: 0.75rem; color: var(--muted-foreground);
}
@media (min-width: 768px) { .flow-canvas { height: 620px; } }

/* React Flow node styling */
.flow-canvas .react-flow__node { border: none; background: none; padding: 0; box-shadow: none; font-family: var(--font-sans); }
.flow-canvas .react-flow__handle { opacity: 0; }
.flow-canvas .react-flow__attribution { background: transparent; font-size: 9px; }
.flow-canvas .react-flow__attribution a { color: var(--muted-foreground); }
.orf {
  display: flex; gap: 0.65rem; align-items: center;
  padding: 0.7rem 0.95rem;
  border-radius: 0.85rem;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: 0 12px 30px -20px oklch(0.15 0 0 / 0.5);
  min-width: 140px; max-width: 230px;
}
.orf .orf-ic {
  width: 2rem; height: 2rem; flex-shrink: 0;
  border-radius: 0.55rem;
  display: inline-flex; align-items: center; justify-content: center;
  background: oklch(0.65 0.18 145 / 0.12);
  color: var(--accent-strong);
}
.orf .orf-ic .pi { width: 1.15rem; height: 1.15rem; }
.orf-t { font-size: 0.9rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; }
.orf-s { display: block; font-size: 0.7rem; color: var(--muted-foreground); font-weight: 400; margin-top: 0.1rem; }
.orf-step { font-family: var(--font-mono); font-size: 0.65rem; color: var(--accent-strong); }
.orf.core {
  background: var(--accent);
  border-color: transparent;
  box-shadow: 0 16px 40px -18px oklch(0.65 0.18 145 / 0.7);
}
.orf.core .orf-t, .orf.core .orf-s { color: oklch(0.99 0 0); }
.orf.core .orf-s { color: oklch(0.99 0 0 / 0.8); }
.orf.core .orf-ic { background: oklch(1 0 0 / 0.18); color: #fff; }
/* dark canvas nodes (static fallback) */
#flow-orchmarketing .orf { background: oklch(0.21 0 0); border-color: oklch(0.32 0 0); }
#flow-orchmarketing .orf-t { color: oklch(0.98 0 0); }
#flow-orchmarketing .orf.core { background: var(--accent); border-color: transparent; }

/* ---- custom React Flow nodes ---- */
.flow-canvas .react-flow__node {
  width: auto;
  border: none;
  background: none;
  padding: 0;
  box-shadow: none;
  border-radius: 0;
  font-family: var(--font-sans);
  color: var(--foreground);
}
.flow-canvas .react-flow__node.selected { z-index: 10; }
.flow-canvas .react-flow__handle { opacity: 0; pointer-events: none; }
.flow-canvas .react-flow__edge-textbg { fill: var(--card); }
.flow-canvas .react-flow__edge-text { font-family: var(--font-mono); font-size: 9px; fill: var(--muted-foreground); }
.rf-dark .react-flow__edge-textbg { fill: oklch(0.17 0 0); }
.rf-dark .react-flow__edge-text { fill: oklch(0.78 0 0); }
.flow-canvas .react-flow__attribution { background: transparent; font-size: 9px; }

.onode2 {
  position: relative;
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  width: 196px;
  box-sizing: border-box;
  padding: 0.7rem 0.85rem;
  border-radius: 0.85rem;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: 0 12px 30px -22px oklch(0.15 0 0 / 0.5);
  cursor: grab;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.flow-canvas .react-flow__node:hover .onode2 {
  border-color: oklch(0.65 0.18 145 / 0.55);
  box-shadow: 0 16px 34px -18px oklch(0.65 0.18 145 / 0.5);
  transform: translateY(-1px);
}
.flow-canvas .react-flow__node.selected .onode2 {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px oklch(0.65 0.18 145 / 0.55), 0 16px 34px -18px oklch(0.65 0.18 145 / 0.5);
}
.on-ic {
  width: 2rem; height: 2rem; flex: 0 0 auto;
  border-radius: 0.55rem;
  display: inline-flex; align-items: center; justify-content: center;
  background: oklch(0.65 0.18 145 / 0.12);
  color: var(--accent-strong);
}
.on-body { min-width: 0; }
.on-step {
  position: absolute; top: 0.5rem; right: 0.6rem;
  font-family: var(--font-mono); font-size: 0.6rem; color: var(--accent-strong);
}
.on-title { font-size: 0.86rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; }
.on-sub { font-size: 0.68rem; color: var(--muted-foreground); margin-top: 0.15rem; line-height: 1.3; }
.on-tags { display: flex; flex-wrap: wrap; gap: 0.25rem; margin-top: 0.45rem; }
.on-tags span {
  font-family: var(--font-mono); font-size: 0.55rem;
  padding: 0.12rem 0.4rem; border-radius: 999px;
  border: 1px solid var(--border); color: var(--muted-foreground);
}
/* node kinds */
.onode2.core {
  width: 224px;
  background: var(--accent);
  border-color: transparent;
  box-shadow: 0 18px 44px -18px oklch(0.65 0.18 145 / 0.7);
}
.onode2.core .on-title, .onode2.core .on-sub { color: oklch(0.99 0 0); }
.onode2.core .on-sub { color: oklch(0.99 0 0 / 0.85); }
.onode2.core .on-ic { background: oklch(1 0 0 / 0.2); color: #fff; }
.onode2.core .on-tags span { border-color: oklch(1 0 0 / 0.4); color: #fff; }
.onode2.src { width: 168px; background: var(--secondary); }
.onode2.ctx { border-style: dashed; }
.onode2.out { border-color: oklch(0.65 0.18 145 / 0.6); background: oklch(0.65 0.18 145 / 0.07); }
.onode2.cred { border-color: oklch(0.8 0.14 85 / 0.55); }
.onode2.cred .on-ic { background: oklch(0.85 0.14 85 / 0.16); color: oklch(0.6 0.13 80); }

/* dark canvas variants */
.rf-dark .onode2 { background: oklch(0.22 0 0); border-color: oklch(0.32 0 0); }
.rf-dark .on-title { color: oklch(0.98 0 0); }
.rf-dark .onode2.src { background: oklch(0.26 0 0); }
.rf-dark .onode2.ctx { background: oklch(0.19 0 0); }
.rf-dark .onode2.out { background: oklch(0.65 0.18 145 / 0.16); border-color: var(--accent); }
.rf-dark .onode2.core { background: var(--accent); }
.rf-dark .on-tags span { border-color: oklch(0.4 0 0); color: oklch(0.8 0 0); }

/* controls + minimap */
.flow-canvas .react-flow__controls { box-shadow: 0 8px 24px -12px oklch(0.15 0 0 / 0.4); border-radius: 0.5rem; overflow: hidden; }
.flow-canvas .react-flow__controls-button {
  background: var(--card); border-bottom: 1px solid var(--border);
  color: var(--foreground); width: 26px; height: 26px;
}
.flow-canvas .react-flow__controls-button:hover { background: var(--secondary); }
.flow-canvas .react-flow__controls-button svg { fill: currentColor; }
.rf-dark .react-flow__controls-button { background: oklch(0.22 0 0); border-color: oklch(0.32 0 0); color: oklch(0.9 0 0); }
.rf-dark .react-flow__controls-button:hover { background: oklch(0.28 0 0); }
.flow-canvas .react-flow__minimap { border-radius: 0.5rem; border: 1px solid var(--border); }
.rf-dark .react-flow__minimap { border-color: oklch(0.32 0 0); }

/* static fallback if React Flow can't load */
.flow-static { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.75rem; padding: 2rem; height: 100%; align-content: center; }
.flow-static-arrow { color: var(--accent-strong); font-family: var(--font-mono); font-size: 1.1rem; }

/* ---------- Contact modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: oklch(0.12 0 0 / 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: overlayIn 0.2s ease;
}
.modal-overlay.open { display: flex; }
@keyframes overlayIn { from { opacity: 0; } to { opacity: 1; } }
.modal {
  position: relative;
  width: 100%;
  max-width: 34rem;
  max-height: calc(100dvh - 3rem);
  overflow-y: auto;
  background: var(--card);
  color: var(--foreground);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 2.2);
  padding: 2.25rem;
  box-shadow: 0 40px 90px -30px oklch(0.1 0 0 / 0.5);
  animation: modalIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.25rem;
  height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--muted-foreground);
  transition: background-color 0.15s ease, color 0.15s ease;
}
.modal-close:hover { background: var(--secondary); color: var(--foreground); }
.modal-title { font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -0.03em; margin-top: 0.25rem; }
.modal-sub { color: var(--muted-foreground); margin-top: 0.6rem; font-size: 0.95rem; }
.contact-form { margin-top: 1.5rem; display: grid; gap: 1rem; }
.cf-row { display: grid; gap: 1rem; }
@media (min-width: 520px) { .cf-row { grid-template-columns: 1fr 1fr; } }
.cf-field { display: grid; gap: 0.4rem; min-width: 0; }
.cf-field label { font-size: 0.8rem; font-weight: 550; }
.cf-field input, .cf-field select, .cf-field textarea {
  width: 100%;
  font: inherit;
  font-size: 0.9rem;
  color: var(--foreground);
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.65rem 0.8rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.cf-field textarea { resize: vertical; min-height: 3.5rem; }
.cf-field input:focus, .cf-field select:focus, .cf-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px oklch(0.65 0.18 145 / 0.15);
}
.cf-field input::placeholder, .cf-field textarea::placeholder { color: oklch(0.62 0 0); }
.cf-submit { width: 100%; margin-top: 0.25rem; }
.modal-note { text-align: center; font-family: var(--font-mono); font-size: 0.7rem; color: var(--muted-foreground); }
.modal-success { text-align: center; padding: 1rem 0 0.5rem; }
.success-check {
  width: 3.5rem; height: 3.5rem;
  margin: 0 auto 1.25rem;
  border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  background: oklch(0.65 0.18 145 / 0.14);
  color: var(--accent-strong);
}
.modal-success .modal-sub { margin-bottom: 1.75rem; }

@media (prefers-reduced-motion: reduce) {
  .glow { animation: none; }
  .has-ambient::before, .has-ambient::after,
  .ambient-blobs span { animation: none; }
  .media-panel { transition: none; }
  .modal, .modal-overlay { animation: none; }
}
