/* Noetfield Systems — AI product studio landing */

:root {
  --bg: #060608;
  --bg-alt: #0a0a0e;
  --surface: #101014;
  --surface-2: #16161c;
  --surface-3: #1c1c24;
  --surface-hover: #1a1a22;
  --border: rgba(255, 255, 255, 0.07);
  --border-hover: rgba(255, 255, 255, 0.14);
  --border-strong: rgba(99, 102, 241, 0.45);
  --text: #f4f4f5;
  --text-muted: #a1a1aa;
  --text-dim: #71717a;
  --accent: #6366f1;
  --accent-hover: #818cf8;
  --accent-dim: rgba(99, 102, 241, 0.1);
  --accent-glow: rgba(99, 102, 241, 0.22);
  --success: #22c55e;
  --success-dim: rgba(34, 197, 94, 0.12);
  --warn: #eab308;
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 32px 80px rgba(0, 0, 0, 0.55);
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --nav-h: 68px;
  --shell: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --grid-line: rgba(255, 255, 255, 0.03);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 1rem); }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 20%, transparent 70%);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.2s; }
button, input, select, textarea { font: inherit; }
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 9999;
  padding: 0.75rem 1rem; background: var(--accent); color: #fff;
}
.skip:focus { left: 1rem; top: 1rem; }

.shell { width: min(100% - 2rem, var(--shell)); margin-inline: auto; position: relative; z-index: 1; }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto; height: var(--nav-h); z-index: 100;
  border-bottom: 1px solid transparent;
  transition: height 0.3s var(--ease), background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
}
.nav.is-scrolled {
  height: 60px;
  background: rgba(6, 6, 8, 0.88);
  backdrop-filter: blur(24px) saturate(1.4);
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.nav__inner { height: 100%; display: flex; align-items: center; gap: 1.25rem; }
.nav__brand {
  display: flex; align-items: center; gap: 0.6rem;
  font-weight: 600; font-size: 0.95rem; letter-spacing: -0.02em;
}
.nav__brand-sub { color: var(--text-muted); font-weight: 500; }
.nav__mark {
  width: 26px; height: 26px; border-radius: 7px;
  background: linear-gradient(145deg, var(--accent), #4338ca);
  box-shadow: 0 0 20px var(--accent-glow);
}
.nav__links { display: none; gap: 1.75rem; margin-left: auto; }
.nav__links a { color: var(--text-muted); font-size: 0.875rem; font-weight: 500; }
.nav__links a:hover { color: var(--text); }
.nav__cta { margin-left: auto; }
.nav__toggle {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 0.5rem;
}
.nav__toggle span {
  display: block; width: 20px; height: 2px; background: var(--text); border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 900px) {
  .nav__links { display: flex; }
  .nav__cta { margin-left: 0; }
  .nav__toggle { display: none; }
}
.nav__links.is-open {
  display: flex; flex-direction: column; position: absolute;
  top: var(--nav-h); left: 0; right: 0; padding: 1.25rem;
  background: rgba(15, 15, 18, 0.98); border-bottom: 1px solid var(--border);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.75rem 1.35rem; border-radius: 8px; border: 1px solid transparent;
  font-size: 0.9rem; font-weight: 600; cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s, background 0.2s, border-color 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 1px 2px rgba(0,0,0,0.3), 0 8px 28px var(--accent-glow); }
.btn--primary:hover { background: var(--accent-hover); color: #fff; box-shadow: 0 1px 2px rgba(0,0,0,0.3), 0 12px 36px var(--accent-glow); }
.btn--ghost { background: rgba(255,255,255,0.02); border-color: var(--border); color: var(--text); }
.btn--ghost:hover { border-color: var(--border-hover); background: rgba(255,255,255,0.04); color: var(--text); }
.btn--sm { padding: 0.5rem 0.95rem; font-size: 0.82rem; }
.btn--lg { padding: 0.95rem 1.6rem; font-size: 0.95rem; }
.btn--block { width: 100%; }

/* Typography */
.kicker {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent-hover); margin-bottom: 0.75rem;
}
.section__head { max-width: 640px; margin-bottom: 3rem; }
.section__head--row {
  max-width: none;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 900px) {
  .section__head--row {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
  .section__head--row .section__lede { margin-bottom: 0; }
}
.section__head h2 {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 700; letter-spacing: -0.035em; line-height: 1.1; margin-bottom: 1rem;
}
.section__lede { color: var(--text-muted); font-size: 1.05rem; max-width: 52ch; line-height: 1.65; }

/* Hero */
.hero {
  position: relative; padding: calc(var(--nav-h) + 3.5rem) 0 3rem; overflow: hidden;
}
.hero__atmosphere {
  position: absolute; inset: -30% -20% auto; height: 80%; pointer-events: none;
  background:
    radial-gradient(ellipse 45% 50% at 15% 15%, rgba(99, 102, 241, 0.1), transparent 55%),
    radial-gradient(ellipse 35% 40% at 85% 5%, rgba(99, 102, 241, 0.06), transparent 50%);
}
.hero__grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .hero__grid { grid-template-columns: 1fr 1.1fr; gap: 4rem; } }
.hero__centered { text-align: center; max-width: 52rem; margin-inline: auto; }
.hero__centered .hero__lede { margin-inline: auto; }
.hero__centered .hero__actions { justify-content: center; }
.hero__funnel {
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--border);
}
.funnel-step {
  padding: 0.65rem 1.25rem; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); min-width: min(100%, 280px);
}
.funnel-step--accent {
  background: var(--accent-dim); border-color: var(--border-strong);
  box-shadow: 0 0 24px var(--accent-glow);
}
.funnel-step--success { border-color: rgba(34, 197, 94, 0.35); }
.funnel-step__label {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--text-muted);
}
.funnel-step--accent .funnel-step__label { color: var(--accent-hover); }
.funnel-step--success .funnel-step__label { color: var(--success); }
.funnel-arrow { font-size: 1rem; color: var(--text-dim); line-height: 1; }

.eyebrow {
  display: inline-block;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text-dim); margin-bottom: 1.25rem;
}
.hero h1 {
  font-size: clamp(2.25rem, 5.5vw, 3.5rem);
  font-weight: 700; letter-spacing: -0.04em; line-height: 1.05;
  text-transform: uppercase; margin-bottom: 1.25rem;
}
.hero__lede { color: var(--text-muted); font-size: 1.1rem; max-width: 46ch; margin-bottom: 1.75rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.5rem; }
.hero__cred { font-size: 0.85rem; color: var(--text-dim); }

/* Workspace mockup */
.workspace {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg);
  position: relative;
}
.workspace::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(99,102,241,0.25), transparent 40%, transparent 60%, rgba(99,102,241,0.1));
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
}
.workspace__chrome {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1rem; background: var(--surface-2); border-bottom: 1px solid var(--border);
  font-size: 0.75rem;
}
.workspace__dot { width: 10px; height: 10px; border-radius: 50%; }
.workspace__dot--r { background: #ef4444; }
.workspace__dot--y { background: #eab308; }
.workspace__dot--g { background: #22c55e; }
.workspace__title { margin-left: 0.5rem; color: var(--text-muted); font-family: var(--mono); font-size: 0.7rem; }
.workspace__status {
  margin-left: auto; display: flex; align-items: center; gap: 0.4rem;
  color: var(--success); font-size: 0.7rem; font-weight: 500;
}
.status-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--success);
  animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.workspace__body { padding: 1.25rem; }
.workspace__panel {
  padding: 0.85rem 1rem; background: var(--surface-3); border-radius: var(--radius-sm);
  border: 1px solid var(--border); margin-bottom: 1rem;
}
.panel-label {
  display: block; font-size: 0.65rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-dim); margin-bottom: 0.35rem;
}
.workspace__panel p { font-size: 0.85rem; color: var(--text-muted); }

.workspace__flow {
  display: flex; align-items: center; flex-wrap: wrap; gap: 0.25rem;
  margin-bottom: 1rem; padding: 0.75rem; background: var(--bg-alt);
  border-radius: var(--radius-sm); border: 1px solid var(--border);
}
.flow-node {
  padding: 0.35rem 0.6rem; border-radius: 6px; font-size: 0.68rem; font-weight: 500;
  background: var(--surface-2); border: 1px solid var(--border); color: var(--text-dim);
  transition: all 0.4s var(--ease);
}
.flow-node.is-active {
  background: var(--accent-dim); border-color: var(--border-strong); color: var(--accent-hover);
  box-shadow: 0 0 16px var(--accent-glow);
}
.flow-connector {
  width: 12px; height: 1px; background: var(--border); position: relative;
}
.flow-connector::after {
  content: ""; position: absolute; right: 0; top: -3px;
  border: 4px solid transparent; border-left-color: var(--text-dim);
}

.workspace__metrics {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; margin-bottom: 1rem;
}
.metric {
  padding: 0.75rem; background: var(--surface-2); border-radius: var(--radius-sm);
  border: 1px solid var(--border); text-align: center;
}
.metric__label { display: block; font-size: 0.65rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.06em; }
.metric__value { display: block; font-size: 1.25rem; font-weight: 700; font-variant-numeric: tabular-nums; margin-top: 0.2rem; }

.workspace__events {
  font-family: var(--mono); font-size: 0.68rem; color: var(--text-dim);
  max-height: 72px; overflow: hidden;
}
.workspace__events .event-line {
  padding: 0.25rem 0; border-bottom: 1px solid var(--border);
  animation: fadeIn 0.4s var(--ease);
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* Trust strip */
.trust-strip {
  border-block: 1px solid var(--border); background: var(--bg-alt); padding: 1.5rem 0;
}
.trust-strip__inner { text-align: center; }
.trust-strip__ownership {
  font-size: clamp(1rem, 2.5vw, 1.2rem); font-weight: 600; letter-spacing: -0.02em;
  color: var(--text); margin-bottom: 1rem;
}
.trust-strip__tags {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 1.5rem;
  list-style: none; margin-bottom: 0.75rem;
}
.trust-strip__tags li {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-dim);
}
.trust-strip__line { font-size: 0.9rem; color: var(--text-muted); }

/* Sections */
.section { padding: 5rem 0; position: relative; }
.section--alt { background: var(--bg-alt); }
.section--systems { padding-top: 3rem; }
.section--contact { padding-bottom: 6rem; }

/* Systems showcase */
.systems-layout { display: grid; gap: 1.5rem; }
@media (min-width: 1024px) {
  .systems-layout { grid-template-columns: 1.4fr 1fr; gap: 1.25rem; align-items: stretch; }
}
.systems-preview { min-width: 0; }
.systems-cards { display: flex; flex-direction: column; gap: 0.75rem; }
.system-card {
  display: flex; flex-direction: column; text-align: left; width: 100%;
  padding: 0; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; cursor: pointer;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
  font-family: inherit; color: inherit;
}
.system-card:hover { border-color: var(--border-hover); transform: translateY(-1px); }
.system-card.is-active {
  border-color: var(--border-strong); box-shadow: 0 0 32px var(--accent-glow);
}
.system-card__preview {
  height: 72px; overflow: hidden; background: var(--bg-alt); border-bottom: 1px solid var(--border);
}
.system-card__preview .ui-svg { width: 100%; height: 100%; object-fit: cover; }
.system-card__body { padding: 1rem 1.1rem 1.15rem; }
.system-card__body h3 { font-size: 0.95rem; font-weight: 600; margin-bottom: 0.35rem; }
.system-card__flow {
  font-size: 0.78rem; color: var(--text-muted); font-family: var(--mono); line-height: 1.45;
}
.system-card__link {
  display: inline-block; margin-top: 0.6rem; font-size: 0.78rem; font-weight: 600;
  color: var(--accent-hover); text-decoration: none;
}
.system-card__link:hover { text-decoration: underline; }
.systems-live-cta { margin-bottom: 1.5rem; }

/* Problem viz */
.problem-viz {
  display: grid; gap: 2rem; align-items: center;
}
@media (min-width: 768px) { .problem-viz { grid-template-columns: 1fr auto 1fr; } }
.problem-viz__chaos {
  position: relative; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.6rem;
  padding: 1.5rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
}
.chaos-node {
  padding: 0.6rem 0.75rem; background: var(--surface-2); border: 1px dashed var(--border);
  border-radius: var(--radius-sm); font-size: 0.8rem; color: var(--text-muted); text-align: center;
}
.chaos-label {
  position: absolute; bottom: -0.75rem; left: 50%; transform: translateX(-50%);
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: #ef4444; background: var(--bg-alt); padding: 0.2rem 0.75rem; border-radius: 999px;
}
.problem-viz__arrow {
  font-size: 2rem; color: var(--accent); text-align: center;
}
.problem-viz__solution { display: flex; justify-content: center; }
.solution-core {
  padding: 2rem; background: var(--surface); border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg); text-align: center; box-shadow: 0 0 40px var(--accent-glow);
}
.solution-core__label {
  display: block; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--accent-hover); margin-bottom: 1rem;
}
.solution-core__layers {
  display: flex; flex-direction: column; gap: 0.4rem;
}
.solution-core__layers span {
  padding: 0.5rem 1rem; background: var(--accent-dim); border-radius: var(--radius-sm);
  font-size: 0.8rem; font-weight: 500; color: var(--text-muted);
}

/* Capability cards */
.capability-grid {
  display: grid; gap: 1.25rem;
}
@media (min-width: 768px) { .capability-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .capability-grid { grid-template-columns: repeat(4, 1fr); } }

.cap-card {
  padding: 1.5rem; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); transition: border-color 0.35s, transform 0.35s var(--ease), box-shadow 0.35s;
  position: relative; overflow: hidden;
}
.cap-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, rgba(99,102,241,0.06), transparent 60%);
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}
.cap-card:hover { border-color: var(--border-hover); transform: translateY(-3px); box-shadow: var(--shadow); }
.cap-card:hover::before { opacity: 1; }
.cap-card__num {
  font-family: var(--mono); font-size: 0.7rem; color: var(--accent); font-weight: 500;
  margin-bottom: 1rem; display: block;
}
.cap-card__preview {
  height: 96px; margin-bottom: 1.25rem; background: var(--bg-alt); border-radius: var(--radius-sm);
  border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.cap-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 0.5rem; letter-spacing: -0.02em; }
.cap-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.55; }

/* Mini UI previews */
.mini-ui { width: 80%; }
.mini-ui__bar { height: 4px; background: var(--surface-3); border-radius: 2px; margin-bottom: 6px; width: 40%; }
.mini-ui__row { display: flex; gap: 4px; margin-bottom: 6px; }
.mini-ui__row span { flex: 1; height: 8px; background: var(--surface-3); border-radius: 2px; }
.mini-ui__chart { height: 28px; background: linear-gradient(180deg, var(--accent-dim), transparent); border-radius: 4px; border: 1px solid var(--border); }

.mini-kanban { display: flex; gap: 4px; width: 90%; }
.mini-kanban__col { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.mini-kanban__col span { height: 12px; background: var(--surface-3); border-radius: 3px; }
.mini-kanban__col span:first-child { height: 6px; background: var(--accent-dim); }

.mini-flow { display: flex; align-items: center; gap: 4px; font-size: 0.65rem; color: var(--text-dim); }
.mini-flow__arrow { color: var(--accent); }

.mini-dash { display: flex; gap: 6px; width: 85%; }
.mini-dash__stat { flex: 1; height: 36px; background: var(--surface-3); border-radius: 4px; border: 1px solid var(--border); }

/* Build showcase */
.section--build {
  position: relative;
  overflow: hidden;
}
.section--build::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.06), transparent 70%);
  pointer-events: none;
}

.build-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
}
.build-filter {
  padding: 0.45rem 0.95rem;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--text-dim);
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s, background 0.2s, box-shadow 0.2s;
}
.build-filter:hover { color: var(--text-muted); }
.build-filter.is-active {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 2px 12px var(--accent-glow);
}

.build-showcase {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(12, 1fr);
}
@media (max-width: 899px) {
  .build-showcase { grid-template-columns: 1fr; }
}

.build-card {
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.build-card--wide { grid-column: span 6; }
@media (max-width: 899px) {
  .build-card, .build-card--wide { grid-column: span 1; }
}
.build-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.build-card__preview {
  position: relative;
  height: 140px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-alt) 0%, var(--surface) 100%);
  border-bottom: 1px solid var(--border);
}
.build-card__preview .ui-svg {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.build-card__shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.03) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.6s var(--ease);
  pointer-events: none;
}
.build-card:hover .build-card__shine {
  transform: translateX(100%);
}
.build-card__body {
  padding: 1.35rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.build-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.65rem;
}
.build-card__cat {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-hover);
}
.build-card__level {
  font-size: 0.65rem;
  font-weight: 500;
  font-family: var(--mono);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  background: var(--surface-3);
  color: var(--text-dim);
}
.build-card__level--high {
  background: rgba(99, 102, 241, 0.12);
  color: var(--accent-hover);
}
.build-card__level--med {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
}
.build-card__level--low {
  background: var(--success-dim);
  color: var(--success);
}
.build-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  margin-bottom: 0.4rem;
  line-height: 1.3;
}
.build-card p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-top: auto;
}

/* Pipeline */
.pipeline { position: relative; }
.pipeline__track {
  display: none;
}
@media (min-width: 900px) {
  .pipeline__track {
    display: block; position: absolute; top: 28px; left: 0; right: 0; height: 2px;
    background: var(--border); border-radius: 2px;
  }
  .pipeline__progress {
    height: 100%; width: 0; background: var(--accent); border-radius: 2px;
    transition: width 0.6s var(--ease);
  }
}
.pipeline__steps {
  display: grid; gap: 1.5rem; list-style: none;
}
@media (min-width: 900px) {
  .pipeline__steps { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
}
@media (min-width: 1200px) {
  .pipeline__steps { grid-template-columns: repeat(6, 1fr); }
}
.pipeline-step {
  padding: 1.25rem; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); transition: border-color 0.4s, box-shadow 0.4s;
}
.pipeline-step.is-active { border-color: var(--border-strong); box-shadow: 0 0 24px var(--accent-glow); }
.pipeline-step__num {
  font-family: var(--mono); font-size: 0.7rem; color: var(--accent); font-weight: 500;
  margin-bottom: 0.75rem; display: block;
}
.pipeline-step h3 { font-size: 0.95rem; font-weight: 600; margin-bottom: 0.4rem; }
.pipeline-step p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.5; }

/* Pillars */
.pillar-grid {
  display: grid; gap: 1.25rem;
}
@media (min-width: 768px) { .pillar-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pillar-grid { grid-template-columns: repeat(4, 1fr); } }
.pillar {
  padding: 1.5rem; border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: var(--surface);
}
.pillar h3 { font-size: 0.95rem; font-weight: 600; margin-bottom: 0.5rem; letter-spacing: -0.01em; }
.pillar p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.55; }
.about-note { margin-top: 2.5rem; font-size: 0.9rem; color: var(--text-dim); text-align: center; }

/* Architecture */
.arch-layout {
  display: grid; gap: 2.5rem;
}
@media (min-width: 900px) { .arch-layout { grid-template-columns: 1fr 1fr; align-items: start; } }
.arch-stack { display: flex; flex-direction: column; align-items: center; gap: 0; }
.arch-layer {
  width: 100%; max-width: 280px; padding: 0.65rem 1rem; text-align: center;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-size: 0.8rem; font-weight: 500; color: var(--text-muted);
  transition: all 0.4s var(--ease);
}
.arch-layer.is-active {
  border-color: var(--border-strong); background: var(--accent-dim); color: var(--accent-hover);
  box-shadow: 0 0 20px var(--accent-glow);
}
.arch-connector {
  width: 1px; height: 12px; background: var(--border);
}
.arch-tech { display: flex; flex-direction: column; gap: 0.75rem; }
.tech-card {
  padding: 1rem 1.25rem; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius);
}
.tech-card__label {
  display: block; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent-hover); margin-bottom: 0.25rem;
}
.tech-card p { font-size: 0.85rem; color: var(--text-muted); }

/* Split sections */
.split-section {
  display: grid; gap: 3rem; align-items: center;
}
@media (min-width: 900px) { .split-section { grid-template-columns: 1fr 1.1fr; } }
.split-section--reverse .split-section__copy { order: 2; }
.split-section--reverse .split-section__visual { order: 1; }
@media (min-width: 900px) {
  .split-section--reverse .split-section__copy { order: 1; }
  .split-section--reverse .split-section__visual { order: 2; }
}
.feature-list {
  list-style: none; margin-top: 1.5rem;
}
.feature-list li {
  padding: 0.5rem 0 0.5rem 1.25rem; position: relative;
  font-size: 0.9rem; color: var(--text-muted);
}
.feature-list li::before {
  content: ""; position: absolute; left: 0; top: 0.85rem;
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
}

/* CRM mock */
.crm-mock {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow);
}
.crm-mock__nav {
  display: flex; gap: 1rem; padding: 0.75rem 1rem; background: var(--surface-2);
  border-bottom: 1px solid var(--border); font-size: 0.75rem; color: var(--text-dim);
}
.crm-mock__nav .is-active { color: var(--text); font-weight: 600; }
.crm-mock__toolbar {
  display: flex; justify-content: space-between; padding: 0.6rem 1rem;
  font-size: 0.7rem; color: var(--text-dim); border-bottom: 1px solid var(--border);
}
.crm-mock__view { font-family: var(--mono); }
.crm-mock__board {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.5rem; padding: 0.75rem;
  overflow-x: auto;
}
.crm-col header {
  font-size: 0.65rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--text-dim); margin-bottom: 0.5rem; display: flex; justify-content: space-between;
}
.crm-col header span { color: var(--text-muted); }
.crm-card {
  padding: 0.5rem; background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 6px; margin-bottom: 0.4rem;
}
.crm-card strong { display: block; font-size: 0.7rem; font-weight: 600; margin-bottom: 0.15rem; }
.crm-card small { font-size: 0.6rem; color: var(--text-dim); }
.crm-card--hot { border-color: rgba(34, 197, 94, 0.4); }

/* SaaS pipeline */
.saas-pipeline {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.5rem;
}
.saas-step {
  padding: 0.75rem 0.5rem; text-align: center; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-size: 0.72rem; font-weight: 500; color: var(--text-muted);
  transition: all 0.3s var(--ease);
}
.saas-step:hover { border-color: var(--border-strong); background: var(--accent-dim); }
.saas-step--final {
  grid-column: span 4; background: var(--accent-dim); border-color: var(--border-strong);
  color: var(--accent-hover); font-weight: 600;
}

/* Use cases */
.usecase-grid {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
.usecase-card {
  padding: 1.75rem; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); transition: border-color 0.35s, transform 0.35s var(--ease), box-shadow 0.35s;
}
.usecase-card:hover { border-color: var(--border-hover); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.usecase-card__industry {
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent-hover); margin-bottom: 0.5rem;
}
.usecase-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 0.5rem; }
.usecase-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.55; }

/* Engagement */
.engage-grid {
  display: grid; gap: 1.25rem;
}
@media (min-width: 768px) { .engage-grid { grid-template-columns: repeat(3, 1fr); } }
.engage-card {
  padding: 1.75rem; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); transition: border-color 0.35s, transform 0.35s var(--ease);
}
.engage-card:hover { border-color: var(--border-hover); }
.engage-card--featured {
  border-color: var(--border-strong);
  background: linear-gradient(165deg, rgba(99,102,241,0.08) 0%, var(--surface) 45%);
  box-shadow: 0 0 48px var(--accent-glow), var(--shadow);
  transform: scale(1.02);
}
.engage-card h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.35rem; }
.engage-card__for { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.engage-card__scope {
  display: inline-block; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--accent-hover); margin-bottom: 1.25rem;
}
.engage-card ul { list-style: none; }
.engage-card li {
  padding: 0.4rem 0 0.4rem 1rem; position: relative;
  font-size: 0.85rem; color: var(--text-muted);
}
.engage-card li::before {
  content: "—"; position: absolute; left: 0; color: var(--text-dim);
}
.engage-card__link {
  display: inline-block; margin-top: 0.85rem; font-size: 0.85rem; font-weight: 600;
  color: var(--accent-hover); text-decoration: none;
}
.engage-card__link:hover { text-decoration: underline; }
.engage-cta { text-align: center; margin-top: 2.5rem; }

/* Contact form */
.contact-layout {
  display: grid; gap: 3rem;
}
@media (min-width: 900px) { .contact-layout { grid-template-columns: 1fr 1.1fr; align-items: start; } }
.contact-form {
  padding: 2rem; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-xl); box-shadow: var(--shadow);
}
.form-row { margin-bottom: 1.25rem; }
.form-row label {
  display: block; font-size: 0.8rem; font-weight: 500; color: var(--text-muted); margin-bottom: 0.4rem;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%; padding: 0.7rem 0.85rem; background: var(--bg);
  border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none; border-color: var(--border-strong); box-shadow: 0 0 0 3px var(--accent-dim);
}
.form-row textarea { resize: vertical; min-height: 100px; }
.form-row--half { display: grid; gap: 1rem; }
@media (min-width: 500px) { .form-row--half { grid-template-columns: 1fr 1fr; } }
.form-status { margin-top: 1rem; font-size: 0.85rem; text-align: center; min-height: 1.25rem; }
.form-status.is-success { color: var(--success); }
.form-status.is-error { color: #ef4444; }

/* Footer */
.footer {
  border-top: 1px solid var(--border); padding: 3rem 0 2rem; background: var(--bg-alt);
}
.footer__grid {
  display: grid; gap: 2rem;
  grid-template-columns: 1.5fr repeat(3, 1fr);
}
@media (max-width: 768px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
.footer__brand p { margin-top: 0.75rem; font-size: 0.85rem; color: var(--text-dim); max-width: 28ch; }
.footer__col h4 {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text-dim); margin-bottom: 0.75rem;
}
.footer__col ul { list-style: none; }
.footer__col li { margin-bottom: 0.4rem; }
.footer__col a { font-size: 0.85rem; color: var(--text-muted); }
.footer__col a:hover { color: var(--text); }
.footer__bottom {
  margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border);
  font-size: 0.8rem; color: var(--text-dim);
}

/* Error page */
.error-page {
  min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center;
}
.error-page h1 { font-size: 2rem; margin: 0.5rem 0 1rem; }
.error-page p { color: var(--text-muted); margin-bottom: 1.5rem; }

/* Reveal animations */
.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal--delay { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }
.reveal--delay-4 { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .status-dot, .flow-node { animation: none; }
}
