/* =========================================================================
   Conjure Marketing Site
   Warm, light, product-aligned landing page
   ========================================================================= */

:root {
  --bg: #FAF7F2;
  --bg-warm: #F7F2ED;
  --surface: #FFFFFF;
  --surface-soft: #FFFDF9;
  --ink: #1C1915;
  --ink-soft: #59544D;
  --muted: #7A7470;
  --muted-light: #9C938B;
  --accent: #4DA666;
  --accent-soft: rgba(77, 166, 102, 0.12);
  --accent-mid: rgba(77, 166, 102, 0.28);
  --taupe: #C7BDB3;
  --taupe-soft: rgba(199, 189, 179, 0.32);
  --taupe-line: rgba(199, 189, 179, 0.48);
  --red: #B73527;
  --gold: #C9AD6A;
  --cream-shadow: rgba(89, 84, 77, 0.10);
  --shadow-xs: 0 1px 2px rgba(89, 84, 77, 0.06);
  --shadow-sm: 0 8px 24px rgba(89, 84, 77, 0.08);
  --shadow-md: 0 18px 50px rgba(89, 84, 77, 0.11);
  --shadow-lg: 0 30px 90px rgba(89, 84, 77, 0.14);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 34px;
  --radius-full: 999px;
  --nav-height: 68px;
  --max-width: 1180px;
  --section-y: clamp(64px, 8vw, 108px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-width: 320px;
  background:
    radial-gradient(circle at 18% 0%, rgba(77, 166, 102, 0.10), transparent 30rem),
    linear-gradient(180deg, var(--bg) 0%, var(--surface-soft) 48%, var(--bg-warm) 100%);
  color: var(--ink);
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}

:focus-visible {
  outline: 2px solid rgba(77, 166, 102, 0.48);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 2000;
  transform: translateY(-180%);
  border-radius: var(--radius-full);
  background: var(--ink);
  color: white;
  padding: 10px 14px;
  font-size: 0.9rem;
  font-weight: 700;
  transition: transform 0.2s var(--ease);
}

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

.section-shell {
  position: relative;
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto;
  padding: var(--section-y) 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.section-heading-wide {
  max-width: 900px;
}

.section-heading h2,
.visual-system-copy h2,
.quality-copy h2,
.launch-copy h2 {
  color: var(--ink);
  font-size: clamp(2.15rem, 4.6vw, 4rem);
  font-weight: 760;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.section-heading p:not(.eyebrow),
.visual-system-copy p:not(.eyebrow),
.quality-copy p:not(.eyebrow),
.launch-copy p {
  max-width: 640px;
  margin-top: 18px;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.12rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  border-radius: var(--radius-full);
  background: var(--accent);
  opacity: 0.55;
}

/* =========================================================================
   Navigation
   ========================================================================= */

.nav {
  position: fixed;
  top: 14px;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  pointer-events: none;
}

.nav-inner {
  width: min(var(--max-width), calc(100% - 32px));
  height: 100%;
  margin: 0 auto;
  padding: 10px 12px 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid var(--taupe-line);
  border-radius: var(--radius-full);
  background: rgba(250, 247, 242, 0.86);
  box-shadow: 0 12px 42px rgba(89, 84, 77, 0.10);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  pointer-events: auto;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.nav.scrolled .nav-inner {
  background: rgba(255, 253, 249, 0.94);
  border-color: rgba(199, 189, 179, 0.66);
  box-shadow: 0 10px 32px rgba(89, 84, 77, 0.12);
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 4px 8px 4px 4px;
  border-radius: var(--radius-full);
  color: var(--ink);
  font-size: 1.06rem;
  font-weight: 850;
  letter-spacing: -0.045em;
}

.nav-logo-icon {
  border-radius: 11px;
  box-shadow: var(--shadow-xs);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-link {
  border-radius: var(--radius-full);
  color: var(--muted);
  padding: 9px 12px;
  font-size: 0.86rem;
  font-weight: 760;
  transition: color 0.18s var(--ease), background 0.18s var(--ease);
}

.nav-link:hover {
  background: rgba(199, 189, 179, 0.18);
  color: var(--ink-soft);
}

.nav-link-cta {
  margin-left: 8px;
  background: var(--ink-soft);
  color: white;
  box-shadow: var(--shadow-xs);
}

.nav-link-cta:hover {
  background: var(--ink);
  color: white;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--taupe-line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  border-radius: 2px;
  background: var(--ink-soft);
  transition: transform 0.24s var(--ease), opacity 0.24s var(--ease);
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =========================================================================
   Buttons and reveals
   ========================================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 14px;
  padding: 13px 21px;
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.18s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 10px 24px rgba(77, 166, 102, 0.22), var(--shadow-xs);
}

.btn-primary:hover {
  background: #438f59;
  box-shadow: 0 12px 30px rgba(77, 166, 102, 0.27), var(--shadow-xs);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.74);
  border-color: var(--taupe-line);
  color: var(--ink-soft);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  background: white;
  border-color: rgba(199, 189, 179, 0.78);
}

.btn-lg {
  min-height: 52px;
  padding-inline: 26px;
  font-size: 1rem;
}

.js-enabled .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.76s var(--ease), transform 0.76s var(--ease);
}

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

.js-enabled .reveal-delay-1 { transition-delay: 0.08s; }
.js-enabled .reveal-delay-2 { transition-delay: 0.16s; }
.js-enabled .reveal-delay-3 { transition-delay: 0.24s; }

/* =========================================================================
   Hero
   ========================================================================= */

.hero {
  padding-top: clamp(112px, 11vw, 150px);
  padding-bottom: clamp(56px, 7vw, 98px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(500px, 1.1fr);
  align-items: center;
  gap: clamp(36px, 6vw, 76px);
}

.hero-title {
  max-width: 740px;
  color: var(--ink);
  font-size: clamp(3.1rem, 6.1vw, 5.9rem);
  font-weight: 820;
  line-height: 0.92;
  letter-spacing: -0.055em;
}

.hero-subtitle {
  max-width: 610px;
  margin-top: 24px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.22rem);
  line-height: 1.58;
}

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

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 610px;
  margin-top: 34px;
}

.hero-proof div {
  border: 1px solid var(--taupe-soft);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.58);
  padding: 15px 16px;
  box-shadow: var(--shadow-xs);
}

.hero-proof dt {
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-proof dd {
  margin-top: 5px;
  color: var(--ink-soft);
  font-size: 0.91rem;
  font-weight: 780;
  line-height: 1.25;
}

/* Warm product mockup */

.product-card {
  overflow: hidden;
  border: 1px solid var(--taupe-line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 86% 12%, rgba(77, 166, 102, 0.11), transparent 18rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(250, 247, 242, 0.84));
  box-shadow: var(--shadow-lg);
}

.product-topbar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid var(--taupe-soft);
  background: rgba(255, 255, 255, 0.62);
  padding: 16px 18px;
}

.window-controls {
  display: flex;
  gap: 6px;
}

.window-controls span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #E37B66;
}

.window-controls span:nth-child(2) {
  background: #D5B85D;
}

.window-controls span:nth-child(3) {
  background: var(--accent);
}

.product-url {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--taupe-soft);
  border-radius: var(--radius-full);
  background: rgba(250, 247, 242, 0.92);
  color: var(--muted);
  padding: 8px 13px;
  font-size: 0.82rem;
  font-weight: 720;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-status {
  border: 1px solid rgba(77, 166, 102, 0.20);
  border-radius: 12px;
  background: var(--accent-soft);
  color: #347044;
  padding: 8px 10px;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-body {
  display: grid;
  grid-template-columns: 78px 1fr;
  min-height: 500px;
}

.product-sidebar {
  border-right: 1px solid var(--taupe-soft);
  background: rgba(247, 242, 237, 0.56);
  padding: 22px 18px;
}

.sidebar-mark {
  display: block;
  width: 40px;
  height: 40px;
  margin-bottom: 28px;
  border-radius: 14px;
  background: var(--accent);
  box-shadow: 0 12px 26px rgba(77, 166, 102, 0.24);
}

.sidebar-line {
  display: block;
  height: 10px;
  margin-top: 14px;
  border-radius: var(--radius-full);
  background: rgba(89, 84, 77, 0.12);
}

.sidebar-line.active {
  background: rgba(77, 166, 102, 0.45);
}

.sidebar-line.short {
  width: 68%;
}

.product-main {
  padding: clamp(24px, 4vw, 40px);
}

.product-chat {
  max-width: 540px;
  border: 1px solid var(--taupe-soft);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.panel-label,
.zone-label,
.composition-kicker {
  display: inline-flex;
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-chat p {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 1.05rem;
  font-weight: 760;
  line-height: 1.4;
}

.product-plan {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 600px;
  margin-top: 16px;
  border: 1px solid var(--taupe-soft);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.74);
  padding: 17px;
  box-shadow: var(--shadow-xs);
}

.product-plan strong {
  display: block;
  margin-top: 5px;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.mini-button {
  flex: 0 0 auto;
  border-radius: 12px;
  background: var(--ink-soft);
  color: white;
  padding: 9px 14px;
  font-size: 0.80rem;
  font-weight: 850;
}

.product-progress {
  max-width: 600px;
  height: 10px;
  margin-top: 22px;
  overflow: hidden;
  border-radius: var(--radius-full);
  background: rgba(199, 189, 179, 0.28);
}

.product-progress span {
  display: block;
  width: 72%;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
}

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

.mini-surface {
  min-height: 128px;
  overflow: hidden;
  border: 1px solid var(--taupe-soft);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.66);
  padding: 14px;
}

.mini-surface > span {
  display: block;
  margin-bottom: 16px;
  color: var(--ink-soft);
  font-size: 0.75rem;
  font-weight: 900;
}

.mini-chart {
  display: flex;
  align-items: end;
  gap: 7px;
  height: 64px;
}

.mini-chart i,
.mini-layers i,
.mini-page i,
.mini-page span {
  display: block;
  border-radius: 8px;
  background: rgba(77, 166, 102, 0.24);
}

.mini-chart i {
  flex: 1;
}

.mini-chart i:nth-child(1) { height: 44%; }
.mini-chart i:nth-child(2) { height: 80%; background: rgba(201, 173, 106, 0.54); }
.mini-chart i:nth-child(3) { height: 56%; }
.mini-chart i:nth-child(4) { height: 92%; background: var(--accent); }

.mini-layers {
  display: grid;
  gap: 8px;
}

.mini-layers i {
  height: 14px;
}

.mini-layers i:nth-child(1) { width: 95%; }
.mini-layers i:nth-child(2) { width: 78%; }
.mini-layers i:nth-child(3) { width: 58%; }

.mini-page {
  display: grid;
  gap: 8px;
}

.mini-page i {
  height: 46px;
  background: linear-gradient(90deg, rgba(77, 166, 102, 0.28), rgba(199, 189, 179, 0.28));
}

.mini-page span {
  height: 10px;
}

.mini-page span:nth-child(2) { width: 82%; }
.mini-page span:nth-child(3) { width: 58%; }

/* =========================================================================
   Examples
   ========================================================================= */

.examples {
  border-top: 1px solid rgba(199, 189, 179, 0.26);
  border-bottom: 1px solid rgba(199, 189, 179, 0.26);
}

.example-gallery {
  display: grid;
  grid-template-columns: 1.08fr 1fr 0.96fr;
  gap: 16px;
}

.example-card {
  position: relative;
  display: flex;
  min-height: 500px;
  flex-direction: column;
  overflow: hidden;
  border-radius: 30px;
  padding: clamp(22px, 3vw, 30px);
  box-shadow: var(--shadow-md);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}

.example-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.example-card-red {
  background:
    radial-gradient(circle at 84% 12%, rgba(183, 53, 39, 0.22), transparent 17rem),
    linear-gradient(145deg, #181512, #0E0C0A);
  color: #FFF8EA;
}

.example-card-green {
  background:
    radial-gradient(circle at 16% 12%, rgba(77, 166, 102, 0.22), transparent 17rem),
    linear-gradient(145deg, #171610, #0F0E0A);
  color: #F7F2ED;
}

.example-card-cream {
  border: 1px solid var(--taupe-soft);
  background:
    radial-gradient(circle at 82% 16%, rgba(199, 189, 179, 0.25), transparent 17rem),
    linear-gradient(145deg, #FFFFFF, #F2ECE3);
  color: var(--ink);
}

.example-kicker {
  position: relative;
  z-index: 1;
  color: currentColor;
  opacity: 0.68;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.example-card h3 {
  position: relative;
  z-index: 1;
  max-width: 440px;
  margin-top: 16px;
  font-size: clamp(1.65rem, 2.8vw, 2.35rem);
  font-weight: 760;
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.example-card p {
  position: relative;
  z-index: 1;
  max-width: 410px;
  margin-top: 13px;
  color: currentColor;
  font-size: 0.96rem;
  line-height: 1.5;
  opacity: 0.70;
}

.example-visual {
  position: relative;
  z-index: 1;
  min-height: 210px;
  margin-top: auto;
  border-radius: 24px;
}

.stat-board {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.055);
  padding: 16px;
}

.stat-topline {
  display: flex;
  gap: 8px;
}

.stat-topline span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 11px;
  background: rgba(201, 173, 106, 0.18);
  color: #F4D981;
  font-size: 0.72rem;
  font-weight: 900;
}

.stat-topline span:nth-child(2),
.stat-topline span:nth-child(5) {
  background: rgba(183, 53, 39, 0.22);
  color: #FFB8AB;
}

.stat-bars,
.score-rail {
  display: flex;
  align-items: end;
  gap: 11px;
  height: 112px;
  margin-top: 24px;
}

.stat-bars i,
.score-rail i {
  flex: 1;
  height: calc(var(--target, 0.6) * 100%);
  transform: scaleY(0);
  transform-origin: bottom center;
  border-radius: 10px 10px 4px 4px;
  background: linear-gradient(180deg, #E7CD73, var(--red));
  transition: transform 0.78s var(--ease);
}

.stat-bars.is-visible i,
.score-rail.is-visible i {
  transform: scaleY(1);
}

.stat-bars i:nth-child(1) { --target: 0.48; }
.stat-bars i:nth-child(2) { --target: 0.84; background: linear-gradient(180deg, var(--gold), #7D2A22); }
.stat-bars i:nth-child(3) { --target: 0.60; }
.stat-bars i:nth-child(4) { --target: 0.96; background: linear-gradient(180deg, #F3DF9C, var(--gold)); }
.stat-bars i:nth-child(5) { --target: 0.72; }

.stat-bars i:nth-child(1),
.score-rail i:nth-child(1) { transition-delay: 0.02s; }
.stat-bars i:nth-child(2),
.score-rail i:nth-child(2) { transition-delay: 0.08s; }
.stat-bars i:nth-child(3),
.score-rail i:nth-child(3) { transition-delay: 0.14s; }
.stat-bars i:nth-child(4),
.score-rail i:nth-child(4) { transition-delay: 0.20s; }
.stat-bars i:nth-child(5),
.score-rail i:nth-child(5) { transition-delay: 0.26s; }

.stat-caption {
  margin-top: 15px;
  color: rgba(255, 248, 234, 0.62);
  font-size: 0.80rem;
  font-weight: 780;
}

.intelligence-stack {
  display: grid;
  align-content: end;
  gap: 11px;
}

.intelligence-stack span {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(77, 166, 102, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.055);
  color: rgba(247, 242, 237, 0.86);
  padding: 13px 15px;
  font-size: 0.85rem;
  font-weight: 850;
}

.intelligence-stack span::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  width: var(--w, 54px);
  height: 6px;
  border-radius: var(--radius-full);
  background: rgba(77, 166, 102, 0.34);
  transform: translateY(-50%) scaleX(0);
  transform-origin: left center;
  transition: transform 0.72s var(--ease);
}

.intelligence-stack.is-visible span::after {
  transform: translateY(-50%) scaleX(1);
}

.intelligence-stack span:nth-child(1)::after { --w: 46px; transition-delay: 0.04s; }
.intelligence-stack span:nth-child(2)::after { --w: 58px; transition-delay: 0.12s; }
.intelligence-stack span:nth-child(3)::after { --w: 72px; transition-delay: 0.20s; }
.intelligence-stack span:nth-child(4)::after { --w: 88px; transition-delay: 0.28s; }

.app-console {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 10px;
  border: 1px solid var(--taupe-soft);
  background: rgba(255, 255, 255, 0.58);
  padding: 14px;
}

.app-console div,
.app-console span {
  border-radius: 16px;
  background: rgba(199, 189, 179, 0.20);
  box-shadow: inset 0 0 0 1px rgba(199, 189, 179, 0.18);
}

.app-console div:nth-child(1) { min-height: 154px; background: rgba(77, 166, 102, 0.16); }
.app-console div:nth-child(2) { min-height: 72px; background: rgba(201, 173, 106, 0.17); }
.app-console div:nth-child(3) { min-height: 72px; }
.app-console span { grid-column: span 2; min-height: 24px; background: var(--accent); opacity: 0.74; }

/* =========================================================================
   Visual system
   ========================================================================= */

.visual-system-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(540px, 1.14fr);
  gap: clamp(34px, 6vw, 76px);
  align-items: center;
}

.visual-system-points {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 26px;
}

.visual-system-points span {
  border-left: 2px solid rgba(77, 166, 102, 0.36);
  color: var(--ink-soft);
  padding: 4px 0 4px 11px;
  font-size: 0.82rem;
  font-weight: 800;
}

.visual-lab {
  overflow: hidden;
  border: 1px solid var(--taupe-line);
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.90), rgba(247, 242, 237, 0.78));
  box-shadow: var(--shadow-lg);
}

.visual-lab-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid var(--taupe-soft);
  background: rgba(255, 255, 255, 0.62);
  padding: 15px 18px;
}

.visual-lab-header b {
  border: 1px solid rgba(77, 166, 102, 0.20);
  border-radius: 11px;
  background: var(--accent-soft);
  color: #347044;
  padding: 7px 10px;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.director-canvas {
  display: grid;
  grid-template-columns: minmax(250px, 0.92fr) minmax(0, 1.08fr);
  gap: 18px;
  padding: 22px;
}

.director-orbit {
  position: relative;
  min-height: 430px;
  border: 1px solid var(--taupe-soft);
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 50%, rgba(77, 166, 102, 0.12), transparent 45%),
    rgba(255, 255, 255, 0.58);
  overflow: hidden;
}

.director-orbit::before,
.director-orbit::after {
  content: "";
  position: absolute;
  border: 1px dashed rgba(89, 84, 77, 0.18);
  border-radius: 50%;
  pointer-events: none;
}

.director-orbit::before {
  inset: 58px 34px;
}

.director-orbit::after {
  inset: 104px 72px;
}

.orbit-core,
.orbit-node {
  position: absolute;
  display: grid;
  place-items: center;
  border-radius: var(--radius-full);
  font-weight: 850;
  box-shadow: var(--shadow-sm);
}

.orbit-core {
  left: 50%;
  top: 50%;
  width: 86px;
  height: 86px;
  background: var(--ink-soft);
  color: white;
  transform: translate(-50%, -50%);
}

.orbit-node {
  width: 70px;
  height: 70px;
  border: 1px solid var(--taupe-soft);
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink-soft);
  font-size: 0.76rem;
}

.node-one { left: 13%; top: 17%; }
.node-two { right: 11%; top: 19%; }
.node-three { right: 16%; bottom: 15%; }
.node-four { left: 11%; bottom: 17%; }

.director-stack {
  display: grid;
  gap: 12px;
  align-content: center;
}

.direction-card {
  border: 1px solid var(--taupe-soft);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.74);
  padding: 18px;
  box-shadow: var(--shadow-xs);
  transition: border-color 0.24s var(--ease), box-shadow 0.24s var(--ease), transform 0.24s var(--ease);
}

.direction-card:hover,
.direction-card:focus-visible,
.direction-card.is-active {
  border-color: rgba(77, 166, 102, 0.30);
  box-shadow: var(--shadow-sm);
  transform: translateX(-3px);
}

.direction-card strong {
  display: block;
  margin-top: 7px;
  color: var(--ink);
  font-size: 1.12rem;
  letter-spacing: -0.02em;
}

.direction-card p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

/* =========================================================================
   Pipeline
   ========================================================================= */

.pipeline-console {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--taupe-line);
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.90), rgba(247, 242, 237, 0.78));
  padding: clamp(20px, 3vw, 32px);
  box-shadow: var(--shadow-lg);
}

.pipeline-map {
  position: absolute;
  left: 32px;
  right: 32px;
  top: 46px;
  height: 142px;
  opacity: 0.72;
  pointer-events: none;
}

.pipeline-map svg {
  width: 100%;
  height: 100%;
}

.pipeline-map path {
  fill: none;
  stroke-linecap: round;
  stroke-width: 4;
}

.pipeline-line-muted {
  stroke: rgba(199, 189, 179, 0.54);
}

.pipeline-line-active {
  stroke: var(--accent);
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  transition: stroke-dashoffset 1.35s var(--ease);
}

.pipeline-console.is-visible .pipeline-line-active {
  stroke-dashoffset: 0;
}

.pipeline-stages {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.pipeline-stage {
  position: relative;
  display: flex;
  min-height: 300px;
  flex-direction: column;
  border: 1px solid var(--taupe-soft);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  padding: 16px;
  box-shadow: var(--shadow-xs);
  transition: border-color 0.24s var(--ease), box-shadow 0.24s var(--ease), transform 0.24s var(--ease);
}

.pipeline-stage::before {
  content: "";
  width: 15px;
  height: 15px;
  margin-bottom: 18px;
  border: 3px solid white;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(77, 166, 102, 0.16);
}

.pipeline-stage.is-active,
.pipeline-stage:hover {
  border-color: rgba(77, 166, 102, 0.32);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.stage-index {
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.pipeline-stage h3 {
  margin-top: 7px;
  color: var(--ink);
  font-size: 1.08rem;
  letter-spacing: -0.03em;
}

.pipeline-stage p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.44;
}

.stage-artifact {
  display: flex;
  min-height: 82px;
  margin-top: auto;
  border-radius: 16px;
  background: rgba(247, 242, 237, 0.78);
  color: var(--ink-soft);
  padding: 12px;
  font-size: 0.78rem;
  font-weight: 800;
}

.chat-artifact {
  align-items: center;
}

.checklist-artifact,
.files-artifact,
.qa-artifact {
  flex-direction: column;
  justify-content: center;
  gap: 7px;
}

.checklist-artifact span {
  display: block;
  height: 8px;
  border-radius: var(--radius-full);
  background: rgba(89, 84, 77, 0.13);
}

.checklist-artifact span:nth-child(2) { width: 74%; }
.checklist-artifact span:nth-child(3) { width: 56%; }

.files-artifact span {
  border-left: 2px solid var(--accent);
  padding-left: 8px;
}

.qa-artifact span {
  border: 1px solid var(--taupe-soft);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.70);
  padding: 5px 7px;
}

.url-artifact {
  align-items: center;
  color: #347044;
  overflow-wrap: anywhere;
}

/* =========================================================================
   Quality and launch
   ========================================================================= */

.quality-board {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(520px, 1.16fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  overflow: hidden;
  border: 1px solid var(--taupe-line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 18% 18%, rgba(77, 166, 102, 0.10), transparent 24rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(247, 242, 237, 0.84));
  padding: clamp(28px, 5vw, 54px);
  box-shadow: var(--shadow-lg);
}

.quality-matrix {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.quality-matrix article {
  min-height: 210px;
  border: 1px solid var(--taupe-soft);
  border-radius: 23px;
  background: rgba(255, 255, 255, 0.70);
  padding: 20px;
  box-shadow: var(--shadow-xs);
}

.quality-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  border: 1px solid rgba(77, 166, 102, 0.20);
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
}

.quality-matrix span {
  color: var(--accent);
  font-size: 0.70rem;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.quality-matrix h3 {
  margin-top: 20px;
  color: var(--ink);
  font-size: 1.18rem;
  letter-spacing: -0.02em;
}

.quality-matrix p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.91rem;
  line-height: 1.5;
}

.launch {
  padding-bottom: clamp(56px, 7vw, 98px);
}

.launch-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.52fr);
  gap: clamp(24px, 5vw, 60px);
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--taupe-line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 82% 18%, rgba(77, 166, 102, 0.14), transparent 25rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.90), rgba(247, 242, 237, 0.86));
  padding: clamp(28px, 6vw, 60px);
  box-shadow: var(--shadow-lg);
}

.launch-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.launch-card {
  border: 1px solid var(--taupe-soft);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.launch-status {
  display: inline-flex;
  border: 1px solid rgba(77, 166, 102, 0.20);
  border-radius: 11px;
  background: var(--accent-soft);
  color: #347044;
  padding: 7px 10px;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.launch-card strong {
  display: block;
  margin-top: 16px;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 1.18rem;
  letter-spacing: -0.035em;
}

.launch-card p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.92rem;
}

.launch-meter {
  height: 8px;
  margin-top: 18px;
  overflow: hidden;
  border-radius: var(--radius-full);
  background: rgba(199, 189, 179, 0.34);
}

.launch-meter span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
}

.launch-sparkline {
  display: flex;
  align-items: end;
  gap: 6px;
  height: 46px;
  margin-top: 16px;
}

.launch-sparkline i {
  flex: 1;
  border-radius: 7px 7px 3px 3px;
  background: rgba(77, 166, 102, 0.40);
}

.launch-sparkline i:nth-child(1) { height: 30%; }
.launch-sparkline i:nth-child(2) { height: 58%; }
.launch-sparkline i:nth-child(3) { height: 44%; background: rgba(201, 173, 106, 0.58); }
.launch-sparkline i:nth-child(4) { height: 80%; background: var(--accent); }
.launch-sparkline i:nth-child(5) { height: 64%; }

/* =========================================================================
   Footer
   ========================================================================= */

.footer {
  border-top: 1px solid var(--taupe-soft);
  background: rgba(250, 247, 242, 0.72);
  padding: 36px 24px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(var(--max-width), 100%);
  margin: 0 auto;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 380px;
}

.footer-logo {
  border-radius: 9px;
}

.footer-name {
  display: block;
  color: var(--ink);
  font-weight: 850;
}

.footer-brand p {
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.footer-link {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 760;
}

.footer-link:hover {
  color: var(--ink-soft);
}

.footer-copy {
  color: var(--muted-light);
  font-size: 0.82rem;
}

/* =========================================================================
   Responsive
   ========================================================================= */

@media (max-width: 1120px) {
  .hero-grid,
  .visual-system-grid,
  .director-canvas,
  .quality-board {
    grid-template-columns: 1fr;
  }

  .product-card,
  .visual-lab {
    max-width: 840px;
    margin: 0 auto;
  }

  .example-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .example-card-cream {
    grid-column: span 2;
    min-height: 400px;
  }

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

  .pipeline-map {
    display: none;
  }

  .quality-matrix {
    grid-template-columns: repeat(4, minmax(200px, 1fr));
    overflow-x: auto;
    padding-bottom: 6px;
  }
}

@media (max-width: 1080px) {
  .nav-inner {
    width: calc(100% - 20px);
  }

  .nav-links {
    position: fixed;
    top: calc(var(--nav-height) + 18px);
    left: 10px;
    right: 10px;
    display: grid;
    gap: 4px;
    border: 1px solid var(--taupe-line);
    border-radius: 22px;
    background: rgba(255, 253, 249, 0.98);
    box-shadow: var(--shadow-md);
    padding: 10px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s var(--ease);
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
  }

  .nav-link {
    display: block;
    padding: 12px 14px;
  }

  .nav-link-cta {
    margin-left: 0;
    text-align: center;
  }

  .nav-toggle {
    display: flex;
  }
}

@media (max-width: 860px) {
  .section-shell {
    width: min(100% - 32px, var(--max-width));
  }

  .hero-proof,
  .example-gallery,
  .quality-matrix,
  .launch-panel {
    grid-template-columns: 1fr;
  }

  .example-card,
  .example-card-cream {
    grid-column: span 1;
    min-height: 420px;
  }

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

  .product-sidebar {
    display: none;
  }

  .product-output-grid {
    grid-template-columns: 1fr;
  }

  .pipeline-stages {
    grid-template-columns: 1fr;
  }

  .pipeline-stage {
    min-height: 0;
  }

  .director-orbit {
    min-height: 330px;
  }

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

@media (max-width: 620px) {
  :root {
    --nav-height: 64px;
  }

  .section-shell {
    width: min(100% - 28px, var(--max-width));
  }

  .hero {
    padding-top: 100px;
  }

  .hero-title {
    font-size: clamp(2.8rem, 13vw, 4rem);
    line-height: 0.96;
  }

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

  .btn {
    width: 100%;
  }

  .product-card,
  .example-card,
  .visual-lab,
  .pipeline-console,
  .quality-board,
  .launch-panel {
    border-radius: 24px;
  }

  .product-topbar {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .product-status {
    display: none;
  }

  .product-plan {
    align-items: flex-start;
    flex-direction: column;
  }

  .orbit-node {
    width: 60px;
    height: 60px;
    font-size: 0.68rem;
  }

  .orbit-core {
    width: 76px;
    height: 76px;
  }
}

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

  .pipeline-line-active {
    stroke-dashoffset: 0;
  }

  .stat-bars i,
  .score-rail i,
  .intelligence-stack span::after {
    transform: none !important;
  }
}
