@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

:root {
  /* Langchain design system: dark nav + teal primary */
  --bg: #ffffff;
  --bg-strong: #f8f9fa;
  --surface: #ffffff;
  --surface-strong: #ffffff;
  --line: #e5e7eb;
  --line-strong: #d1d5db;
  --text: #111827;
  --muted: #6b7280;
  --cyan: #2563eb;
  --cyan-deep: #1d4ed8;
  --blue: #2563eb;
  --navy: #1a1a1a;
  --shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  --radius-lg: 12px;
  --radius-md: 8px;
  --radius-sm: 6px;
  --container: min(1180px, calc(100vw - 2.4rem));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background:
    linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
  min-height: 100vh;
}

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

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

button {
  font: inherit;
}

.site-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 14%, rgba(37, 99, 235, 0.03), transparent 14rem),
    radial-gradient(circle at 88% 10%, rgba(37, 99, 235, 0.02), transparent 16rem);
  z-index: -1;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.section {
  padding: 4.25rem 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: var(--navy);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-wrap {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.25rem;
  min-height: 3.95rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brand-image {
  gap: 0;
  letter-spacing: 0;
}

.brand-logo {
  width: auto;
  height: 1.75rem;
  max-width: min(14rem, 48vw);
}

.brand-mark {
  width: 2rem;
  height: 2rem;
  border-radius: 0.8rem;
  background:
    linear-gradient(135deg, rgba(17, 211, 243, 1) 0%, rgba(11, 99, 206, 1) 100%);
  box-shadow: 0 8px 24px rgba(10, 97, 206, 0.25);
  position: relative;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 0.28rem;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 0.5rem;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.15rem;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.88rem;
}

.site-nav a {
  transition: color 180ms ease;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--blue);
}

.nav-item {
  position: relative;
}

.nav-cluster {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1.5rem;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: auto;
}

.site-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: #d1d5db;
}

.site-nav-link.is-active {
  color: #3b82f6;
}

.nav-caret {
  font-size: 0.72rem;
  line-height: 1;
  color: #7b8799;
}

.nav-item-has-menu:hover .nav-dropdown,
.nav-item-has-menu:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.nav-dropdown {
  /* top sits flush at 100% (no gap) so the hoverable box is contiguous with
     the trigger link — the visual spacing below comes from padding-top
     instead. A positioned gap here means the mouse crosses dead space with
     no hoverable element under it while moving from the link into the menu,
     which drops :hover and — since pointer-events isn't itself animated —
     makes the menu close (and become unclickable) before it can be reached. */
  position: absolute;
  top: 100%;
  left: 50%;
  min-width: 13.5rem;
  display: grid;
  gap: 0.2rem;
  padding: 1.5rem 0.55rem 0.55rem;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 0.95rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(0.4rem);
  pointer-events: none;
  transition:
    opacity 160ms ease,
    transform 160ms ease,
    visibility 160ms ease;
  z-index: 40;
}

.nav-dropdown-link {
  display: block;
  padding: 0.72rem 0.8rem;
  border-radius: 0.75rem;
  color: #334155;
  font-size: 0.9rem;
  font-weight: 600;
}

.nav-dropdown-link:hover,
.nav-dropdown-link:focus-visible {
  background: #f4f7fc;
  color: var(--blue);
}

.nav-secondary-link {
  color: #d1d5db;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
}

.nav-secondary-link:hover,
.nav-secondary-link:focus-visible {
  color: #2563eb;
}

.nav-cta {
  min-height: 2.45rem;
  padding: 0.68rem 1.12rem;
  font-size: 0.88rem;
  border-radius: 0.75rem;
  box-shadow: 0 8px 18px rgba(46, 107, 255, 0.16);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface-strong);
  color: var(--navy);
  border-radius: 999px;
  padding: 0.7rem 1rem;
}

.hero {
  padding-top: 5.5rem;
}

.hero-grid,
.showcase,
.use-case-grid,
.profile-grid,
.incubation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  align-items: center;
}

.hero-copy h1,
.page-hero h1 {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.065em;
  margin: 0 0 1.2rem;
  max-width: 11ch;
  font-weight: 700;
}

.lead {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 58ch;
}

.eyebrow {
  margin: 0 0 0.95rem;
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 2rem 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.8rem 1.3rem;
  border-radius: 999px;
  font-weight: 600;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  color: white;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.25);
}

.button-secondary {
  color: var(--navy);
  background: var(--surface-strong);
  border: 1px solid var(--line);
}

.text-link {
  display: inline-flex;
  align-items: center;
  color: var(--blue);
  font-weight: 800;
  margin-top: 0.2rem;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--cyan-deep);
}

.platform-pill-row {
  margin-top: 1rem;
}

.platform-pill-row .chip {
  background: #f4f7fc;
  color: #334155;
  border: 1px solid var(--line);
}

.hero-points,
.panel-stack,
.flow-list,
.timeline-grid {
  display: grid;
  gap: 1rem;
}

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

.point-card,
.mini-panel,
.metric-card,
.product-card,
.info-card,
.flow-step,
.timeline-card,
.quote-panel,
.founder-summary,
.comparison-table,
.partners-cta,
.founder-panel,
.incubation-copy,
.incubation-visual,
.profile-card {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: var(--radius-lg);
}

.point-card,
.mini-panel,
.metric-card,
.product-card,
.info-card,
.flow-step,
.timeline-card,
.founder-summary,
.quote-panel,
.incubation-copy,
.incubation-visual,
.profile-card {
  padding: 1.35rem;
}

.point-card strong,
.panel-title,
.metric-number,
.timeline-number {
  display: block;
}

.point-card span,
.metric-label,
.section-head p,
.product-card p,
.feature-list,
.flow-step span,
.timeline-card p,
.footer-wrap p,
.founder-summary p,
.quote-panel p,
.incubation-copy p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-visual,
.showcase-media,
.use-case-media {
  position: relative;
}

.command-card {
  background: linear-gradient(180deg, #121a2e 0%, #0f172a 100%);
  color: rgba(232, 249, 255, 0.9);
  border: 1px solid rgba(99, 116, 143, 0.18);
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 26px 64px rgba(15, 23, 42, 0.16);
}

.command-card.large {
  margin-bottom: 1.2rem;
}

.command-top {
  display: flex;
  gap: 0.45rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.command-dot {
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 50%;
  background: rgba(96, 165, 250, 0.85);
}

.command-body {
  padding: 1rem 1.15rem 1.2rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92rem;
  line-height: 1.7;
}

.command-body p {
  margin: 0;
}

.command-line {
  color: white;
}

.command-success {
  color: var(--cyan);
}

.hero-image {
  margin-top: 1rem;
}

.metrics-grid,
.cards-grid,
.dual-card-grid {
  display: grid;
  gap: 1rem;
}

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

.metric-card {
  min-height: 8.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.metric-number {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(1.8rem, 3.2vw, 2.9rem);
  line-height: 1;
  color: var(--navy);
}

.section-head {
  margin-bottom: 2rem;
}

.section-head h2,
.showcase-copy h2,
.use-case-copy h2,
.founder-summary h2,
.incubation-copy h2,
.partners-cta h2 {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin: 0 0 1rem;
}

.section-head.narrow {
  max-width: 50rem;
}

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

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

.product-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
  padding: 1.55rem;
}

.product-card img {
  border-radius: 1rem;
  border: 1px solid #edf2f8;
}

.product-card h3,
.info-card h3,
.timeline-card h3 {
  margin: 0;
  font-size: 1.15rem;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: auto;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.78rem;
  border-radius: 999px;
  background: #f4f7fc;
  border: 1px solid var(--line);
  color: #425066;
  font-size: 0.82rem;
  font-weight: 600;
}

.showcase,
.use-case-grid,
.founder-panel,
.partners-cta {
  padding: 2rem;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 1.75rem;
  box-shadow: var(--shadow);
}

.showcase.reverse {
  direction: rtl;
}

.showcase.reverse > * {
  direction: ltr;
}

.feature-list {
  margin: 1.4rem 0 0;
  padding-left: 1.2rem;
}

.feature-list li + li {
  margin-top: 0.65rem;
}

.panel-stack {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 1rem;
}

.mini-panel strong {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1.7rem;
  margin-top: 0.35rem;
}

.dual-card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1.4rem;
}

.flow-list {
  margin-top: 1.4rem;
}

.flow-step strong {
  margin-bottom: 0.4rem;
}

.comparison-section .table-wrap {
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
}

.comparison-table th,
.comparison-table td {
  padding: 1rem 1.1rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.comparison-table th {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #4b5e81;
}

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

.timeline-number {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--cyan-deep);
  font-size: 2rem;
  margin-bottom: 0.8rem;
}

.page-hero {
  padding-top: 4.5rem;
}

.forecast-page {
  background:
    radial-gradient(circle at 8% 10%, rgba(46, 107, 255, 0.06), transparent 22rem),
    radial-gradient(circle at 92% 10%, rgba(46, 107, 255, 0.05), transparent 22rem),
    linear-gradient(180deg, #fcfdff 0%, #f7f9fc 52%, #ffffff 100%);
}

.forecast-hero {
  padding-top: 4.7rem;
}

.forecast-hero-grid,
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  align-items: center;
}

.forecast-shell,
.forecast-cta,
.forecast-proof-wrap {
  padding: 2rem;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 1.75rem;
  box-shadow: var(--shadow);
}

.forecast-floating {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.signal-pill {
  padding: 0.95rem 1rem;
  border-radius: 1.2rem;
  border: 1px solid var(--line);
  background: #f8fbff;
}

.signal-pill span {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
}

.signal-pill strong {
  display: block;
  margin-top: 0.2rem;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1.25rem;
}

.forecast-frame {
  padding: 1rem;
  background: #fbfdff;
  border: 1px solid var(--line);
  border-radius: 1.7rem;
}

.forecast-frame img {
  width: 100%;
  border-radius: 1.2rem;
  border: 1px solid #edf2f8;
}

.forecast-stat-grid,
.forecast-feature-grid,
.forecast-proof-grid,
.forecast-mini-grid {
  display: grid;
  gap: 1rem;
}

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

.forecast-proof-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.forecast-mini-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1.5rem;
}

.forecast-stat-card,
.forecast-feature-card,
.forecast-mini-card {
  padding: 1.35rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.forecast-stat-card strong {
  display: block;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 0.55rem;
}

.forecast-stat-card span,
.forecast-feature-card p,
.forecast-mini-card p,
.forecast-cta p,
.forecast-proof-wrap p {
  color: var(--muted);
  line-height: 1.7;
}

.forecast-feature-card h3,
.forecast-mini-card h3 {
  margin: 0 0 0.7rem;
  font-size: 1.08rem;
}

.forecast-proof-wrap {
  padding-bottom: 1.2rem;
}

.forecast-proof-grid .product-card {
  min-height: 100%;
}

.logo-badge {
  width: 4.6rem;
  height: 4.6rem;
  border-radius: 1.35rem;
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  flex: 0 0 auto;
}

.logo-badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.forecast-cta {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.2rem;
  align-items: center;
}

.forecast-cta-copy h2 {
  margin: 0 0 0.55rem;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.forecast-kicker {
  display: inline-flex;
  align-items: center;
  padding: 0.42rem 0.78rem;
  border-radius: 999px;
  background: #eef4ff;
  color: var(--blue);
  font-size: 0.84rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.workflow-grid .command-card {
  margin-bottom: 1rem;
}

.forecast-actions {
  margin-bottom: 0;
}

.founder-panel {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 1.2rem;
}

.quote-panel {
  display: flex;
  align-items: center;
}

.quote-panel p {
  font-size: 1.1rem;
}

.site-footer {
  padding: 1rem 0 2rem;
}

.footer-wrap {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 1.2rem;
  align-items: end;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  color: var(--muted);
}

.footer-copy {
  text-align: right;
}

.sales-chatbot {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}

.sales-chatbot-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 3.25rem;
  padding: 0.85rem 1.1rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #1f56ff 0%, #3a7bff 100%);
  color: #ffffff;
  box-shadow: 0 16px 34px rgba(46, 107, 255, 0.24);
  font-weight: 700;
  cursor: pointer;
}

.sales-chatbot-toggle-badge {
  width: 1.75rem;
  height: 1.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  font-size: 1rem;
}

.sales-chatbot-panel {
  width: min(23rem, calc(100vw - 2rem));
  padding: 1rem;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.14);
}

.sales-chatbot-panel[hidden] {
  display: none;
}

.sales-chatbot-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.sales-chatbot-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.18rem;
  font-weight: 700;
  color: var(--navy);
}

.sales-chatbot-status {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 5px rgba(34, 197, 94, 0.12);
}

.sales-chatbot-subtitle,
.sales-chatbot-copy,
.sales-chatbot-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.9rem;
}

.sales-chatbot-close {
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--muted);
  border-radius: 999px;
  cursor: pointer;
}

.sales-chatbot-copy {
  margin-bottom: 0.85rem;
}

.sales-chatbot-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 0.85rem;
}

.sales-chatbot-topic {
  padding: 0.5rem 0.72rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f8fbff;
  color: #334155;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
}

.sales-chatbot-topic:hover,
.sales-chatbot-topic:focus-visible {
  border-color: #bfd0f4;
  color: var(--blue);
}

.sales-chatbot-input {
  width: 100%;
  min-height: 6.5rem;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  resize: vertical;
  font: inherit;
  color: var(--text);
  background: #fbfdff;
  margin-bottom: 0.85rem;
}

.sales-chatbot-input:focus-visible {
  outline: 2px solid rgba(46, 107, 255, 0.18);
  border-color: #bfd0f4;
}

.sales-chatbot-actions {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.sales-chatbot-actions .button {
  flex: 1 1 0;
}

.sales-chatbot-note {
  font-size: 0.8rem;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 500ms ease,
    transform 500ms ease;
}

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

@media (max-width: 1080px) {
  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .hero-copy h1,
  .page-hero h1 {
    max-width: none;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-cluster {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% + 0.8rem);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    border-radius: 1.25rem;
    border: 1px solid var(--line);
    background: var(--surface-strong);
    box-shadow: var(--shadow);
  }

  .nav-cluster.is-open {
    display: flex;
  }

  .site-nav {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
  }

  .nav-item {
    width: 100%;
  }

  .nav-item-has-menu:hover .nav-dropdown,
  .nav-item-has-menu:focus-within .nav-dropdown {
    transform: none;
  }

  .nav-dropdown {
    position: static;
    left: auto;
    top: auto;
    min-width: 0;
    margin-top: 0.45rem;
    padding: 0.35rem 0 0 0.85rem;
    background: transparent;
    border: 0;
    border-left: 1px solid var(--line);
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }

  .nav-dropdown-link {
    padding: 0.55rem 0.2rem;
    border-radius: 0;
    font-size: 0.88rem;
  }

  .nav-dropdown-link:hover,
  .nav-dropdown-link:focus-visible {
    background: transparent;
  }

  .nav-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    margin-left: 0;
    padding-top: 0.75rem;
    border-top: 1px solid var(--line);
  }

  .nav-secondary-link,
  .nav-cta {
    justify-content: flex-start;
  }

  .hero-grid,
  .showcase,
  .use-case-grid,
  .profile-grid,
  .incubation-grid,
  .founder-panel,
  .forecast-hero-grid,
  .workflow-grid,
  .footer-wrap {
    grid-template-columns: 1fr;
  }

  .hero-points,
  .panel-stack,
  .dual-card-grid,
  .forecast-stat-grid,
  .forecast-feature-grid,
  .forecast-mini-grid {
    grid-template-columns: 1fr;
  }

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

  .forecast-floating,
  .forecast-cta {
    grid-template-columns: 1fr;
  }

  .footer-copy {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 2.7rem 0;
  }

  .hero {
    padding-top: 3.6rem;
  }

  .metrics-grid,
  .cards-grid,
  .cards-grid-three,
  .timeline-grid,
  .forecast-proof-grid {
    grid-template-columns: 1fr;
  }

  .showcase,
  .use-case-grid,
  .founder-panel,
  .partners-cta,
  .forecast-shell,
  .forecast-cta,
  .forecast-proof-wrap {
    padding: 1.3rem;
    border-radius: 1.5rem;
  }

  .hero-copy h1,
  .page-hero h1 {
    font-size: clamp(2.3rem, 11vw, 3.2rem);
  }

  .sales-chatbot {
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    align-items: stretch;
  }

  .sales-chatbot-toggle {
    justify-content: center;
  }

  .sales-chatbot-actions {
    flex-direction: column;
  }

  .section-head h2,
  .showcase-copy h2,
  .use-case-copy h2,
  .founder-summary h2,
  .incubation-copy h2,
  .partners-cta h2 {
    font-size: clamp(1.8rem, 9vw, 2.5rem);
  }
}

/* ============================================================
   PLATFORM UPGRADE — App Foundry-led homepage
   Uses existing tokens (--blue, --navy, --text, --muted, --line).
   ============================================================ */

.hero-platform {
  position: relative;
  overflow: hidden;
  padding-top: 3.5rem;
}
.hero-platform::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60rem 30rem at 78% -6%, rgba(37, 99, 235, 0.10), transparent 60%),
    radial-gradient(46rem 26rem at 0% 8%, rgba(17, 211, 243, 0.08), transparent 60%),
    linear-gradient(180deg, #fbfdff 0%, #ffffff 62%);
}
.hero-platform::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(60rem 40rem at 60% 0%, #000 0%, transparent 75%);
}
.hero-grid-platform {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 2.6rem;
}
.hero-grid-platform h1 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0.9rem 0 1rem;
  max-width: 18ch;
}
.grad {
  background: linear-gradient(100deg, #11d3f3 0%, #2563eb 55%, #1d4ed8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.eyebrow-dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--blue);
  margin-right: 0.5rem;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.14);
  vertical-align: middle;
}
.hero-badges {
  list-style: none;
  padding: 0;
  margin: 1.6rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.hero-badges li {
  font-size: 0.8rem;
  font-weight: 600;
  color: #334155;
  background: rgba(37, 99, 235, 0.06);
  border: 1px solid rgba(37, 99, 235, 0.16);
  padding: 0.42rem 0.8rem;
  border-radius: 999px;
}

/* ---- App Foundry product shot ---- */
.af-shot {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 30px 70px -30px rgba(15, 23, 42, 0.35), 0 2px 6px rgba(15, 23, 42, 0.05);
  overflow: hidden;
  transform: perspective(1600px) rotateY(-3deg) rotateX(1.5deg);
  transition: transform 0.4s ease;
}
.af-shot:hover { transform: perspective(1600px) rotateY(0) rotateX(0); }
.af-shot-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: #f8fafc;
}
.af-shot-bar .af-d { width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; }
.af-shot-bar .af-d:nth-child(1) { background: #f87171; }
.af-shot-bar .af-d:nth-child(2) { background: #fbbf24; }
.af-shot-bar .af-d:nth-child(3) { background: #34d399; }
.af-shot-bar em {
  margin-left: 10px;
  font-style: normal;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11px;
  color: var(--muted);
}
.af-shot-body {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  min-height: 340px;
}
.af-shot-left {
  border-right: 1px solid var(--line);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.af-shot-prompt {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px;
  background: #fff;
}
.af-shot-prompt p {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text);
}
.af-shot-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.af-shot-chips .c {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 999px;
}
.c-agent { background: rgba(37, 99, 235, 0.12); color: #1d4ed8; }
.c-flow { background: rgba(99, 102, 241, 0.13); color: #4f46e5; }
.c-llm { background: rgba(16, 185, 129, 0.13); color: #047857; }
.af-shot-gl {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.af-shot-stream { display: flex; flex-direction: column; gap: 7px; }
.af-shot-step {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  color: #334155;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 9px;
  padding: 8px 10px;
  font-family: ui-monospace, Menlo, monospace;
}
.af-shot-step i {
  width: 16px; height: 16px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  font-size: 10px;
  flex: none;
  font-style: normal;
}
.af-shot-step.done i { background: rgba(16, 185, 129, 0.15); color: #059669; }
.af-shot-step.run i.spin {
  border: 2px solid #dbeafe;
  border-top-color: var(--blue);
  animation: af-spin 0.8s linear infinite;
}
.af-shot-step.run { color: var(--blue); border-color: rgba(37,99,235,0.3); }
@keyframes af-spin { to { transform: rotate(360deg); } }

.af-shot-right { padding: 16px; background: #fbfdff; display: flex; flex-direction: column; gap: 12px; }
.af-shot-tabs { display: inline-flex; gap: 4px; background: #eef2f7; border-radius: 8px; padding: 3px; width: fit-content; }
.af-shot-tabs b, .af-shot-tabs span {
  font-size: 11.5px; font-weight: 600; padding: 5px 12px; border-radius: 6px; color: var(--muted);
}
.af-shot-tabs b { background: #fff; color: var(--text); box-shadow: 0 1px 2px rgba(0,0,0,0.06); }
.af-shot-app { border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 14px; display: flex; flex-direction: column; gap: 9px; }
.app-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.app-h strong { font-size: 14px; }
.app-h em { font-style: normal; font-size: 10px; color: #059669; font-weight: 600; }
.app-card { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 9px; padding: 9px 11px; }
.app-ic { width: 28px; height: 28px; border-radius: 7px; display: grid; place-items: center; background: rgba(37,99,235,0.1); color: var(--blue); font-size: 14px; flex: none; }
.app-card b { display: block; font-size: 12.5px; }
.app-card small { color: var(--muted); font-size: 11px; }

/* ---- platform showcase ---- */
.section-sub { color: var(--muted); font-size: 1.02rem; line-height: 1.6; max-width: 58ch; margin: 0.6rem auto 0; }
.platform-section { padding-top: 2.5rem; }
.flow-steps {
  display: flex;
  align-items: stretch;
  gap: 0.75rem;
  margin: 2.4rem 0 2.6rem;
}
.flow-step {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.3rem 1.25rem;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15,23,42,0.04);
}
.flow-step .flow-n {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 0.8rem;
  color: var(--blue);
  font-weight: 700;
}
.flow-step h3 { margin: 0.5rem 0 0.4rem; font-size: 1.12rem; }
.flow-step p { margin: 0; color: var(--muted); font-size: 0.92rem; line-height: 1.55; }
.flow-arrow { align-self: center; color: var(--line-strong); font-size: 1.4rem; }

.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
}
.pillar {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.15rem;
  background: #fff;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.pillar:hover { border-color: rgba(37,99,235,0.35); transform: translateY(-3px); box-shadow: 0 16px 30px -18px rgba(37,99,235,0.4); }
.pillar-ic {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px; border-radius: 11px;
  background: linear-gradient(135deg, rgba(17,211,243,0.16), rgba(37,99,235,0.16));
  font-size: 1.2rem; margin-bottom: 0.7rem;
}
.pillar-ic svg { width: 22px; height: 22px; }
.pillar h4 { margin: 0 0 0.3rem; font-size: 1rem; }
.pillar p { margin: 0; color: var(--muted); font-size: 0.85rem; line-height: 1.5; }

/* ---- beyond a flow builder ---- */
.beyond-section { background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%); }
.vs-table {
  margin-top: 1.8rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}
.vs-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1.3fr;
  align-items: center;
  gap: 1rem;
  padding: 0.95rem 1.4rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.93rem;
}
.vs-row:last-child { border-bottom: none; }
.vs-row > span:first-child { font-weight: 600; color: var(--text); }
.vs-row > span:nth-child(2) { color: var(--muted); }
.vs-head {
  background: #f8fafc;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-weight: 700;
}
.vs-head span { color: var(--muted) !important; font-weight: 700; }
.vs-us { color: var(--text) !important; font-weight: 600; position: relative; }
.vs-row .vs-us::before {
  content: "✓";
  color: var(--blue);
  font-weight: 800;
  margin-right: 0.5rem;
}
.vs-head .vs-us::before { content: none; }
.vs-head .vs-us {
  color: var(--blue) !important;
}
.vs-row:not(.vs-head) { transition: background 0.15s ease; }
.vs-row:not(.vs-head):hover { background: rgba(37,99,235,0.03); }

@media (max-width: 900px) {
  .hero-grid-platform { grid-template-columns: 1fr; gap: 2rem; }
  .af-shot { transform: none; }
  .flow-steps { flex-direction: column; }
  .flow-arrow { transform: rotate(90deg); align-self: center; }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .vs-row { grid-template-columns: 1fr; gap: 0.25rem; }
  .vs-row > span:first-child { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
  .vs-head { display: none; }
}
@media (max-width: 560px) {
  .af-shot-body { grid-template-columns: 1fr; }
  .af-shot-left { border-right: none; border-bottom: 1px solid var(--line); }
  .pillars { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .af-shot-step.run i.spin { animation: none; }
  .af-shot, .pillar { transition: none; }
}

/* ============================================================
   PLATFORM REFRESH v2 — multi-page nav, footer, page kit
   Extends existing tokens; richer navbar + mega menus.
   ============================================================ */
:root {
  --indigo: #4f46e5;
  --cyan-accent: #06b6d4;
  --ink: #0b1120;
  --ink-2: #131c33;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
}

/* announcement bar */
.anno {
  background: linear-gradient(90deg, var(--indigo), var(--blue) 55%, var(--cyan-accent));
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
}
.anno .anno-in {
  width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.5rem 0;
  text-align: center;
}
.anno a { text-decoration: underline; text-underline-offset: 2px; }
.anno .anno-pill { background: rgba(255,255,255,0.2); padding: 1px 8px; border-radius: 999px; font-size: 0.72rem; letter-spacing: 0.04em; }

/* refreshed header — white navbar */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e6e8ee;
  box-shadow: 0 1px 0 rgba(15,23,42,0.02), 0 6px 24px -18px rgba(15,23,42,0.25);
  position: sticky; top: 0; z-index: 50;
}
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan-accent), var(--indigo), transparent);
  opacity: 0.55;
}
.site-nav { color: #334155; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--indigo); }
.site-nav-link { color: #334155; font-weight: 600; }
.site-nav-link:hover { color: var(--indigo); }
.nav-caret { opacity: 0.55; font-size: 0.7em; }
.nav-secondary-link { color: #475569; font-weight: 600; font-size: 0.88rem; }
.nav-secondary-link:hover { color: var(--indigo); }
.nav-cta {
  background: linear-gradient(100deg, var(--indigo), var(--blue)) !important;
  color: #fff !important;
  border: none !important;
  box-shadow: 0 8px 20px -8px rgba(79,70,229,0.55);
}
.brand-word { color:#0b1120; font-weight: 800; letter-spacing: 0.14em; font-size: 1.05rem; }
.brand-word b { background: linear-gradient(100deg,#0891b2,#4f46e5); -webkit-background-clip:text; background-clip:text; color:transparent; }

/* mega dropdown */
.nav-dropdown.mega {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.2rem;
  min-width: 30rem;
  padding: 0.6rem;
}
.mega-item { display: block; padding: 0.6rem 0.7rem; border-radius: 10px; }
.mega-item:hover { background: #f1f5f9; }
.mega-item b { display: block; color: var(--text); font-size: 0.9rem; }
.mega-item span { display: block; color: var(--muted); font-size: 0.78rem; margin-top: 2px; line-height: 1.35; }

/* footer columns */
.site-footer { background: var(--ink); color: var(--slate-300); }
.footer-cols {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 2rem;
  padding: 3.2rem 0 1.4rem;
}
.footer-cols h5 { color: #fff; font-size: 0.82rem; letter-spacing: 0.05em; text-transform: uppercase; margin: 0 0 0.9rem; }
.footer-cols a { display: block; color: var(--slate-400); font-size: 0.88rem; padding: 0.28rem 0; }
.footer-cols a:hover { color: #fff; }
.footer-brand-word { color:#fff; font-weight:800; letter-spacing:0.12em; font-size:1.1rem; }
.footer-lede { color: var(--slate-400); font-size: 0.9rem; line-height: 1.55; margin: 0.8rem 0 0; max-width: 30ch; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.2rem 0; color: var(--slate-500); font-size: 0.82rem;
}
.footer-bottom .fb-badges { display:flex; gap:0.5rem; flex-wrap:wrap; }
.footer-bottom .fb-badges span { border:1px solid rgba(255,255,255,0.12); padding:3px 9px; border-radius:999px; }

/* ---- page hero (interior pages) ---- */
.page-hero { position: relative; padding: 3.4rem 0 2.6rem; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(50rem 26rem at 82% -10%, rgba(79,70,229,0.12), transparent 60%),
    radial-gradient(40rem 22rem at 0% 0%, rgba(6,182,212,0.10), transparent 60%),
    linear-gradient(180deg,#fbfdff,#fff);
}
.kicker {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.76rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--indigo); background: rgba(79,70,229,0.08);
  border: 1px solid rgba(79,70,229,0.18); padding: 0.35rem 0.7rem; border-radius: 999px;
}
.page-hero h1 { font-size: clamp(2rem,4vw,3rem); line-height: 1.08; letter-spacing: -0.025em; margin: 1rem 0 0.9rem; font-weight: 800; max-width: 20ch; }
.page-hero .lead { font-size: 1.1rem; }
.page-hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 2.6rem; align-items: center; }

/* ---- feature split rows ---- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 2.6rem; align-items: center; margin: 2.4rem 0; }
.split.rev .split-copy { order: 2; }
.split-copy h3 { font-size: 1.5rem; letter-spacing: -0.02em; margin: 0.4rem 0 0.7rem; }
.split-copy p { color: var(--muted); line-height: 1.6; }
.checklist { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: 0.55rem; }
.checklist li { position: relative; padding-left: 1.7rem; color: #334155; font-size: 0.95rem; line-height: 1.5; }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: #fff; background: linear-gradient(135deg,var(--indigo),var(--blue));
  width: 1.15rem; height: 1.15rem; border-radius: 50%; font-size: 0.7rem;
  display: grid; place-items: center; font-weight: 800;
}
.split-media {
  border: 1px solid var(--line); border-radius: 16px; background: #fff; overflow: hidden;
  box-shadow: 0 24px 50px -30px rgba(15,23,42,0.4);
}
.hero-illustration img, .split-media > img { display: block; width: 100%; height: auto; }
.media-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; border-bottom: 1px solid var(--line); background: #f8fafc; }
.media-bar i { width: 9px; height: 9px; border-radius: 50%; background: #cbd5e1; }
.media-bar i:nth-child(1){background:#f87171;} .media-bar i:nth-child(2){background:#fbbf24;} .media-bar i:nth-child(3){background:#34d399;}
.media-bar em { margin-left: 8px; font-style: normal; font-family: ui-monospace,Menlo,monospace; font-size: 11px; color: var(--muted); }
.media-body { padding: 16px; }

/* code/terminal block */
.codeblock { font-family: ui-monospace,"SF Mono",Menlo,monospace; font-size: 12.5px; line-height: 1.75; color: #334155; }
.codeblock .k{color:#7c3aed;} .codeblock .s{color:#047857;} .codeblock .c{color:#94a3b8;} .codeblock .f{color:#2563eb;}
.codeblock .row{display:flex;gap:14px;} .codeblock .n{color:#cbd5e1;width:18px;text-align:right;flex:none;}

/* stat / step chips reused from platform (af-shot-step, pillars, flow-steps already defined) */

/* ---- two-screen build flow ---- */
.buildflow { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1rem; align-items: center; margin-top: 2rem; }
.buildflow .flow-arrow { font-size: 1.6rem; }
.screen-card { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 20px 44px -28px rgba(15,23,42,0.4); }
.screen-cap { text-align: center; font-size: 0.85rem; color: var(--muted); margin-top: 0.6rem; font-weight: 600; }

/* ---- harness / deep agent diagram ---- */
.harness {
  border: 1px solid var(--line); border-radius: 18px; background:
   radial-gradient(40rem 20rem at 50% -20%, rgba(79,70,229,0.06), transparent 60%), #fff;
  padding: 1.8rem; margin-top: 1.6rem;
}
.harness-pipe { display: flex; align-items: stretch; gap: 0.7rem; flex-wrap: wrap; justify-content: center; }
.hnode { flex: 1; min-width: 150px; border: 1px solid var(--line); border-radius: 12px; padding: 1rem; background: #fff; text-align: center; }
.hnode .hn-ic { font-size: 1.5rem; }
.hnode b { display: block; margin: 0.4rem 0 0.2rem; font-size: 0.95rem; }
.hnode span { color: var(--muted); font-size: 0.8rem; line-height: 1.45; }
.hnode.lead-node { border-color: rgba(79,70,229,0.4); background: linear-gradient(180deg,rgba(79,70,229,0.05),#fff); }
.harrow { align-self: center; color: var(--line-strong); font-size: 1.3rem; }
.subagents { display:flex; gap:0.5rem; justify-content:center; flex-wrap:wrap; margin-top: 1rem; }
.subagent { font-size: 0.78rem; font-weight:600; color:#4338ca; background: rgba(79,70,229,0.09); border:1px solid rgba(79,70,229,0.2); padding: 0.35rem 0.75rem; border-radius: 999px; }

/* ---- logos strip ---- */
.logos { padding: 2.2rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.logos p { text-align: center; color: var(--muted); font-size: 0.82rem; letter-spacing: 0.05em; text-transform: uppercase; margin: 0 0 1.2rem; font-weight: 600; }
.logos-track { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.4rem 2.4rem; }
.logo-item { display: inline-flex; align-items: center; gap: 0.5rem; color: #475569; font-weight: 700; font-size: 1.02rem; opacity: 0.85; }
.logo-item .lg { width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; color:#fff; font-size: 0.8rem; font-weight: 800; }

/* ---- CTA band ---- */
.cta-band { background: linear-gradient(110deg, var(--ink) 0%, #1a2444 55%, #23306a 100%); color: #fff; border-radius: 22px; padding: 2.6rem; text-align: center; position: relative; overflow: hidden; }
.cta-band::after { content:""; position:absolute; inset:0; background: radial-gradient(30rem 16rem at 80% 0%, rgba(6,182,212,0.25), transparent 60%); }
.cta-band h2 { color: #fff; position: relative; }
.cta-band p { color: var(--slate-300); position: relative; max-width: 52ch; margin: 0.6rem auto 1.4rem; }
.cta-band .cta-actions { position: relative; display: flex; gap: 0.7rem; justify-content: center; flex-wrap: wrap; }
.cta-band .button-secondary { background: rgba(255,255,255,0.08); color: #fff; border-color: rgba(255,255,255,0.2); }

/* ---- blog ---- */
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.3rem; margin-top: 1.8rem; }
.blog-card { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; display: flex; flex-direction: column; transition: transform .18s ease, box-shadow .18s ease; }
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -24px rgba(15,23,42,0.4); }
.blog-thumb { aspect-ratio: 16/9; background: linear-gradient(135deg, var(--indigo), var(--blue)); position: relative; overflow: hidden; }
.blog-thumb.alt2 { background: linear-gradient(135deg, #0891b2, #2563eb); }
.blog-thumb.alt3 { background: linear-gradient(135deg, #7c3aed, #db2777); }
.blog-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.blog-thumb span { position: absolute; left: 14px; bottom: 12px; color: #fff; font-weight: 800; font-size: 1.05rem; text-shadow: 0 2px 8px rgba(0,0,0,0.25); z-index: 1; }
.blog-card .bc-body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.blog-card .bc-tag { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--indigo); }
.blog-card h3 { margin: 0; font-size: 1.08rem; line-height: 1.3; }
.blog-card p { margin: 0; color: var(--muted); font-size: 0.88rem; line-height: 1.5; }
.blog-card .bc-meta { margin-top: auto; color: var(--slate-500); font-size: 0.8rem; }

/* article */
.post { max-width: 720px; margin: 0 auto; }
.post-banner { max-width: 860px; margin: 1.6rem auto 0; border-radius: 20px; overflow: hidden; box-shadow: 0 24px 50px -30px rgba(15,23,42,0.4); }
.post-banner img { display: block; width: 100%; height: auto; }
.post h2 { text-align: left; font-size: 1.5rem; margin: 2rem 0 0.6rem; }
.post p { color: #334155; line-height: 1.75; font-size: 1.02rem; }
.post ul { color: #334155; line-height: 1.7; }
.post .post-meta { color: var(--muted); font-size: 0.9rem; margin-bottom: 1.5rem; }

/* section intro spacing */
.section-head h2 { text-align: center; }
.section-head { margin-bottom: 0.4rem; }

@media (max-width: 900px) {
  .page-hero-grid { grid-template-columns: 1fr; }
  .split, .split.rev .split-copy { grid-template-columns: 1fr; order: 0; }
  .buildflow { grid-template-columns: 1fr; }
  .buildflow .flow-arrow { transform: rotate(90deg); }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .nav-dropdown.mega { grid-template-columns: 1fr; min-width: 16rem; }
}

/* active nav state */
.site-nav .site-nav-link.is-active { color: var(--indigo); }
.site-nav .site-nav-link.is-active::after {
  content: ""; display: block; height: 2px; margin-top: 3px; border-radius: 2px;
  background: linear-gradient(90deg, var(--cyan-accent), var(--indigo));
}

/* ---- book a demo ---- */
.demo-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 3rem; align-items: start; }
.demo-trust { list-style: none; padding: 0; margin: 1.8rem 0 0; display: grid; gap: 1rem; }
.demo-trust li { display: flex; gap: 0.9rem; align-items: flex-start; }
.demo-trust .demo-trust-n {
  flex: none; width: 1.9rem; height: 1.9rem; border-radius: 50%;
  background: linear-gradient(135deg, var(--indigo), var(--blue));
  color: #fff; font-size: 0.82rem; font-weight: 800;
  display: grid; place-items: center;
}
.demo-trust strong { display: block; font-size: 0.98rem; margin-bottom: 0.15rem; }
.demo-trust span { color: var(--muted); font-size: 0.9rem; line-height: 1.55; }
.demo-quote { margin-top: 1.8rem; padding: 1.2rem 1.35rem; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fbfdff; }
.demo-quote p { margin: 0; font-size: 0.92rem; line-height: 1.6; color: #334155; font-style: italic; }
.demo-quote cite { display: block; margin-top: 0.6rem; font-style: normal; font-size: 0.82rem; font-weight: 700; color: var(--slate-500); }

.demo-form-card {
  border: 1px solid var(--line); border-radius: 20px; background: #fff;
  box-shadow: 0 24px 50px -30px rgba(15,23,42,0.4); padding: 1.9rem;
}
.demo-form-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.4rem; }
.demo-form-head h3 { margin: 0; font-size: 1.2rem; }
.demo-form-head span { font-size: 0.78rem; color: var(--muted); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-field { display: flex; flex-direction: column; gap: 0.4rem; margin-top: 1rem; }
.form-field label { font-size: 0.84rem; font-weight: 600; color: #334155; }
.form-field label small { font-weight: 400; color: var(--slate-500); }
.form-field input,
.form-field select,
.form-field textarea {
  font: inherit; color: var(--text); background: #fbfdff;
  border: 1px solid var(--line); border-radius: 0.65rem;
  padding: 0.65rem 0.8rem; width: 100%;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}
.form-field textarea { resize: vertical; min-height: 5.5rem; font-family: inherit; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none; border-color: var(--indigo);
  box-shadow: 0 0 0 3px rgba(79,70,229,0.14);
}
.form-actions { margin-top: 1.5rem; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.form-actions button { border: none; cursor: pointer; }
.form-note { font-size: 0.78rem; color: var(--slate-500); margin: 0.9rem 0 0; line-height: 1.5; }
.form-success {
  display: none; align-items: flex-start; gap: 0.7rem;
  padding: 1rem 1.1rem; border-radius: var(--radius-lg);
  background: rgba(16,185,129,0.08); border: 1px solid rgba(16,185,129,0.28);
  color: #047857; font-size: 0.88rem; line-height: 1.55; margin-top: 1.2rem;
}
.form-success.is-visible { display: flex; }
.form-success i { flex: none; font-style: normal; }

.demo-logos { margin-top: 3.2rem; padding-top: 2.4rem; border-top: 1px solid var(--line); }

@media (max-width: 900px) {
  .demo-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* ===== Energy + AI-builder banner ===== */
.energy-banner {
  background: linear-gradient(115deg, #05221a 0%, #0b3a2c 45%, #0b1120 100%);
  color: #eafaf3;
  padding: 2.6rem 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.energy-banner-in {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
}
.eb-badge {
  display: inline-block;
  background: rgba(17,201,113,0.16);
  color: #6ee7b0;
  border: 1px solid rgba(17,201,113,0.35);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: 999px;
}
.energy-banner-in h2 { color: #fff; margin: 0.4rem 0 0.2rem; font-size: 1.7rem; line-height: 1.2; }
.energy-banner-in p { color: #b8d9cc; margin: 0; max-width: 40rem; }
.eb-domains { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin-top: 0.6rem; }
.eb-dom {
  background: rgba(17,201,113,0.12); color: #7fe8b3; border: 1px solid rgba(17,201,113,0.3);
  font-size: 0.8rem; font-weight: 600; padding: 5px 11px; border-radius: 999px;
}

/* ===== Customers: pilot + testimonial ===== */
.customers-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin-top: 1.6rem; }
.pilot-card, .testimonial-card {
  border: 1px solid var(--line); border-radius: 18px; padding: 1.6rem; background: var(--surface);
}
.pilot-tag {
  display: inline-block; background: #dcfce7; color: #15803d; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px;
}
.pilot-card h3 { margin: 0.8rem 0 0.5rem; font-size: 1.2rem; color: var(--text); }
.pilot-card p { color: var(--muted); margin: 0 0 0.9rem; }
.pilot-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; }
.pilot-facts li { position: relative; padding-left: 1.4rem; color: var(--text); font-size: 0.92rem; }
.pilot-facts li::before { content: "✓"; position: absolute; left: 0; color: #16a34a; font-weight: 700; }
.testimonial-card { background: linear-gradient(160deg, #f8fafc, #eef2ff); position: relative; }
.quote-mark { font-size: 3.4rem; line-height: 1; color: var(--indigo); opacity: 0.35; font-family: Georgia, serif; }
.testimonial-card blockquote { margin: 0.2rem 0 1.2rem; font-size: 1.08rem; line-height: 1.55; color: #1e293b; }
.testimonial-card figcaption { display: flex; align-items: center; gap: 0.8rem; }
.tm-avatar {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  background: linear-gradient(135deg, var(--indigo), var(--cyan-accent)); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.1rem;
}
.tm-meta { display: flex; flex-direction: column; }
.tm-meta b { color: var(--text); }
.tm-meta em { color: var(--muted); font-style: normal; font-size: 0.85rem; }

/* ===== Incubation strip ===== */
.incubation-section { padding-top: 0; }
.incubation-label { text-align: center; color: var(--muted); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 1rem; }
.incubation-strip { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; }
.incub-badge {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  border: 1px solid var(--line); border-radius: 14px; padding: 0.9rem 1.6rem; background: var(--surface); min-width: 190px;
}
.incub-name { font-weight: 800; color: var(--text); font-size: 1.05rem; letter-spacing: 0.01em; }
.incub-sub { color: var(--muted); font-size: 0.8rem; }
.incub-nvidia { border-color: #76b900; box-shadow: 0 6px 20px -14px rgba(118,185,0,0.8); }
.incub-nvidia .incub-name { color: #5a8f00; }

@media (max-width: 760px) {
  .energy-banner-in, .customers-grid { grid-template-columns: 1fr; }
}

/* ===== App Foundry prompt visual — polish ===== */
.af-prompt-label {
  display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: 0.11em;
  text-transform: uppercase; color: var(--indigo); margin-bottom: 6px;
}
.af-shot-prompt {
  background: linear-gradient(180deg, #f7f9ff, #ffffff);
  border-color: #dde5f4 !important;
  box-shadow: inset 0 0 0 1px rgba(79,70,229,0.04);
}
.af-shot-prompt p { font-weight: 500; }
.af-shot-left { background: #fcfdff; }
.af-shot { box-shadow: 0 40px 80px -34px rgba(30,41,120,0.4), 0 2px 6px rgba(15,23,42,0.05); }

/* ============================================================
   MODERN REFRESH  — layered on top of the base styles
   ============================================================ */
:root {
  --shadow-sm: 0 1px 2px rgba(16,24,40,0.04), 0 1px 3px rgba(16,24,40,0.06);
  --shadow-md: 0 6px 16px -6px rgba(16,24,40,0.08), 0 16px 40px -16px rgba(16,24,40,0.14);
  --shadow-lg: 0 30px 70px -28px rgba(30,41,120,0.3);
  --ease-out: cubic-bezier(.2,.7,.3,1);
}

/* More breathing room */
.section { padding: 5.25rem 0; }

/* Frosted-glass sticky nav */
.site-header {
  background: rgba(255,255,255,0.72) !important;
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
}

/* Tighter, more confident headings */
h1 { letter-spacing: -0.025em; }
h2 { letter-spacing: -0.018em; }
.section-head h2 { letter-spacing: -0.02em; }

/* Tactile buttons + accessible focus */
.button {
  transition: transform .18s var(--ease-out), box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.button-primary:hover { box-shadow: 0 18px 38px -12px rgba(37,99,235,0.55); }
.button-secondary:hover { border-color: var(--line-strong); background: #fff; box-shadow: var(--shadow-sm); }
.button:active { transform: translateY(0) scale(0.99); }
.button:focus-visible,
.site-nav-link:focus-visible,
.nav-cta:focus-visible,
a:focus-visible {
  outline: 2px solid rgba(37,99,235,0.55);
  outline-offset: 2px;
  border-radius: 10px;
}

/* Consistent, softer cards with a smooth intuitive lift */
.pillar, .metric-card, .flow-step, .pilot-card, .testimonial-card, .incub-badge, .app-card {
  border-radius: 16px;
  transition: transform .22s var(--ease-out), box-shadow .22s ease, border-color .22s ease;
}
.pillar, .metric-card, .flow-step, .pilot-card, .testimonial-card {
  box-shadow: var(--shadow-sm);
}
.pillar:hover, .metric-card:hover, .flow-step:hover, .pilot-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(37,99,235,0.28);
}

/* Chips feel interactive */
.chip {
  transition: transform .16s var(--ease-out), background .16s ease, color .16s ease, border-color .16s ease;
}
.chip:hover { transform: translateY(-1px); border-color: rgba(37,99,235,0.4); color: var(--blue); }

/* Nav links: animated underline for a modern, legible affordance */
.site-nav-link { position: relative; }
.site-nav-link::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 2px;
  background: linear-gradient(90deg, var(--indigo), var(--cyan-accent));
  border-radius: 2px; transition: right .25s var(--ease-out);
}
.site-nav-link:hover::after { right: 0; }

/* Mega dropdown: softer, floatier */
.nav-dropdown.mega { border-radius: 16px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.mega-item { transition: background .15s ease; }

/* Smooth-scroll offset so anchored sections clear the sticky nav */
:target { scroll-margin-top: 92px; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .button, .pillar, .metric-card, .flow-step, .chip, .site-nav-link::after { transition: none; }
  .pillar:hover, .metric-card:hover, .flow-step:hover, .pilot-card:hover { transform: none; }
}

/* ============================================================
   PAGE PARITY — fold the legacy solution-page components
   (forecasting, energy/licence, grid, etl-ai) into the modern
   design language so every page reads as one coherent product.
   ============================================================ */

/* Kickers: clean editorial label with a leading gradient accent line
   (replaces the old filled-pill treatment). */
.eyebrow,
.forecast-kicker,
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--indigo);
  background: none !important;
  border: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  margin-bottom: 1rem;
}
.eyebrow::before,
.forecast-kicker::before,
.kicker::before {
  content: "";
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--indigo), var(--cyan-accent));
  flex: none;
}
/* The gradient line is the accent now — hide the redundant dot. */
.eyebrow .eyebrow-dot { display: none; }
/* Centered section heads: center the label + its line. */
.section-head.narrow .eyebrow,
.section-head.narrow .kicker,
.section-head[style*="center"] .eyebrow { justify-content: center; }

/* Cards: shared 16px radius + soft layered shadow + smooth hover lift,
   matching the platform pages' pillars/metric cards. */
.product-card,
.info-card,
.timeline-card,
.point-card,
.profile-card,
.forecast-stat-card,
.forecast-feature-card,
.forecast-mini-card,
.forecast-frame {
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s var(--ease-out), box-shadow 0.22s ease,
    border-color 0.22s ease;
}
.product-card:hover,
.info-card:hover,
.timeline-card:hover,
.profile-card:hover,
.forecast-stat-card:hover,
.forecast-feature-card:hover,
.forecast-mini-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(37, 99, 235, 0.28);
}

/* Solution-page hero visual: give the forecast shell real presence so it
   holds the right column as strongly as the product screenshots elsewhere. */
.forecast-shell {
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}
.forecast-frame {
  background: #fff;
}
.signal-pill {
  border-radius: 14px;
}

.forecast-shell,
.forecast-cta,
.forecast-proof-wrap {
  border-radius: 20px;
}

@media (prefers-reduced-motion: reduce) {
  .product-card,
  .info-card,
  .timeline-card,
  .profile-card,
  .forecast-stat-card,
  .forecast-feature-card,
  .forecast-mini-card {
    transition: none;
  }
  .product-card:hover,
  .info-card:hover,
  .timeline-card:hover,
  .profile-card:hover,
  .forecast-stat-card:hover,
  .forecast-feature-card:hover,
  .forecast-mini-card:hover {
    transform: none;
  }
}

/* ============================================================
   PARTNERS — backed-by cards + founder quote attribution
   ============================================================ */
.backed-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
}
.backed-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.22s var(--ease-out), box-shadow 0.22s ease,
    border-color 0.22s ease;
}
.backed-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(37, 99, 235, 0.28);
}
.backed-card > img {
  display: block;
  width: 100%;
  height: auto;
  border-bottom: 1px solid var(--line);
}
.backed-body {
  padding: 1.5rem 1.6rem 1.7rem;
}
.backed-body h3 {
  margin: 0 0 0.6rem;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
}
.backed-body .feature-list {
  margin-top: 1rem;
}
.quote-panel cite {
  display: block;
  margin-top: 1.1rem;
  font-style: normal;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--indigo);
}
@media (max-width: 820px) {
  .backed-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   BLOG ARTICLES — Medium-style reading experience
   ============================================================ */
.article-wrap { padding-top: 3.5rem; }
.article { max-width: 720px; margin: 0 auto; }
.article-head { margin-bottom: 1.2rem; }
.article-title {
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin: 1rem 0 0.9rem;
  color: var(--ink);
}
.article-deck {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
  line-height: 1.5;
  color: #52606d;
  margin: 0 0 1.8rem;
}
.article-byline {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.05rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.byline-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--indigo), var(--cyan-accent));
  color: #fff;
  font-weight: 800;
  font-size: 1.15rem;
  flex: none;
}
.byline-meta { display: flex; flex-direction: column; line-height: 1.35; }
.byline-name { font-weight: 700; color: var(--ink); font-size: 0.98rem; }
.byline-sub { color: var(--muted); font-size: 0.9rem; }
.article-hero {
  margin: 2rem 0 2.4rem;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.article-hero img { display: block; width: 100%; height: auto; }

/* Body: serif reading column, Medium-like */
.article-body { font-family: Georgia, "Times New Roman", serif; color: #242424; }
.article-body p { font-size: 1.22rem; line-height: 1.8; margin: 0 0 1.5rem; }
.article-body > p:first-of-type::first-letter {
  float: left;
  font-weight: 800;
  font-size: 3.6rem;
  line-height: 0.82;
  padding: 0.06em 0.14em 0 0;
  color: var(--indigo);
  font-family: Georgia, serif;
}
.article-body h2 {
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 800;
  font-size: 1.7rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 2.6rem 0 0.9rem;
  color: var(--ink);
}
.article-body h3 {
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  margin: 1.8rem 0 0.6rem;
  color: var(--ink);
}
.article-body ul,
.article-body ol { margin: 0 0 1.5rem; padding-left: 1.35rem; }
.article-body li { font-size: 1.18rem; line-height: 1.7; margin-bottom: 0.55rem; }
.article-body strong,
.article-body b { color: #111; }
.article-body a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.article-body .pullquote {
  font-size: 1.7rem;
  line-height: 1.4;
  font-style: italic;
  color: var(--ink);
  border-left: 4px solid var(--indigo);
  padding: 0.2rem 0 0.2rem 1.4rem;
  margin: 2.2rem 0;
  font-family: Georgia, serif;
}
.article-body blockquote {
  margin: 1.8rem 0;
  padding: 0.4rem 0 0.4rem 1.3rem;
  border-left: 3px solid #cbd5e1;
  color: #52606d;
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.7;
}
.article-body hr { border: 0; text-align: center; margin: 2.6rem 0; }
.article-body hr::before {
  content: "\00B7 \00B7 \00B7";
  color: var(--muted);
  letter-spacing: 0.6em;
  font-size: 1.3rem;
}
.article-body code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.9em;
  background: #f1f5f9;
  padding: 0.12em 0.4em;
  border-radius: 6px;
  color: #0f172a;
}
.article-body pre {
  background: #0b1120;
  color: #e2e8f0;
  border-radius: 14px;
  padding: 1.1rem 1.3rem;
  overflow-x: auto;
  margin: 1.6rem 0;
  font-size: 0.95rem;
  line-height: 1.6;
}
.article-body pre code { background: none; padding: 0; color: inherit; }
.article-body figure { margin: 2rem 0; }
.article-body figure img { width: 100%; border-radius: 14px; border: 1px solid var(--line); }
.article-body figcaption { text-align: center; color: var(--muted); font-size: 0.86rem; margin-top: 0.7rem; }
.article-body .takeaways {
  font-family: "Inter", system-ui, sans-serif;
  background: linear-gradient(180deg, #f8faff, #eef2ff);
  border: 1px solid rgba(79, 70, 229, 0.18);
  border-radius: 16px;
  padding: 1.4rem 1.6rem;
  margin: 2.6rem 0 0;
}
.article-body .takeaways h4 {
  margin: 0 0 0.7rem;
  font-size: 0.95rem;
  color: var(--indigo);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.article-body .takeaways ul { margin: 0; padding-left: 1.2rem; }
.article-body .takeaways li { font-size: 1rem; line-height: 1.6; color: #334155; }
@media (max-width: 720px) {
  .article-body p,
  .article-body li { font-size: 1.1rem; }
  .article-deck { font-size: 1.2rem; }
}

/* ===== Customers page ===== */
.cust-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; margin-top: 1.6rem; }
.cust-stat { border: 1px solid var(--line); border-radius: 16px; padding: 1.1rem 1.3rem; background: var(--surface); box-shadow: var(--shadow-sm); }
.cust-stat strong { display: block; font-size: 1.05rem; color: var(--text); }
.cust-stat span { display: block; color: var(--muted); font-size: 0.9rem; margin-top: 2px; }
.pilot-outcomes { display: grid; grid-template-columns: repeat(3,1fr); gap: 0.8rem; margin-top: 1.2rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.pilot-outcomes strong { display: block; color: var(--blue); font-size: 1rem; }
.pilot-outcomes span { display: block; color: var(--muted); font-size: 0.8rem; }
.serve-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; margin-top: 1.6rem; }
.serve-card { border: 1px solid var(--line); border-radius: 16px; padding: 1.3rem; background: var(--surface); box-shadow: var(--shadow-sm); transition: transform .22s var(--ease-out), box-shadow .22s ease, border-color .22s ease; }
.serve-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(37,99,235,0.28); }
.serve-card h4 { margin: 0 0 0.4rem; font-size: 1rem; color: var(--text); }
.serve-card p { margin: 0; color: var(--muted); font-size: 0.88rem; line-height: 1.5; }
.cust-partner-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-top: 1rem; }
.cust-partner-grid img { width: 100%; height: auto; border-radius: 18px; }
@media (max-width: 860px) {
  .cust-stats, .serve-grid, .pilot-outcomes, .cust-partner-grid { grid-template-columns: 1fr; }
}

/* ===== Proof strip (compact social proof, shared across solution pages) ===== */
.proof-strip {
  margin: 0; border: 1px solid var(--line); border-radius: 18px;
  background: linear-gradient(160deg, #f8fafc, #eef2ff);
  padding: 1.8rem 2rem; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 0.7rem;
}
.proof-strip blockquote { margin: 0; font-size: 1.15rem; line-height: 1.5; color: #1e293b; font-weight: 500; }
.proof-strip figcaption { color: var(--muted); font-size: 0.9rem; }
.proof-strip figcaption b { color: var(--text); }
.proof-strip a { color: var(--indigo); font-weight: 700; white-space: nowrap; }

/* ===== Document-intelligence pilot ===== */
.doc-intel-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 1.4rem; margin-top: 1.6rem; align-items: stretch; }
.doc-intel-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.di-stat {
  border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(160deg,#f8fafc,#eef2ff);
  padding: 1.3rem; display: flex; flex-direction: column; justify-content: center; box-shadow: var(--shadow-sm);
}
.di-stat strong { font-size: 2rem; line-height: 1; color: var(--indigo); letter-spacing: -0.02em; }
.di-stat span { color: var(--muted); font-size: 0.85rem; margin-top: 0.4rem; }
.pilot-facts li b { color: var(--text); font-weight: 700; }
@media (max-width: 860px) { .doc-intel-grid { grid-template-columns: 1fr; } }

/* ===== App Foundry hero visual (shared on index + app-foundry) ===== */
.af-hero-shot {
  width: 100%; height: auto; display: block;
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}

/* ===== Centered hero (DeerFlow-style) ===== */
.hero-centered { position: relative; overflow: hidden; padding-top: 4.5rem; padding-bottom: 2.5rem; text-align: center; }
.hero-glow {
  position: absolute; inset: -20% 0 auto 0; height: 620px; pointer-events: none; z-index: 0;
  background:
    radial-gradient(closest-side at 50% 0%, rgba(37,99,235,0.16), transparent 70%),
    radial-gradient(closest-side at 22% 18%, rgba(6,182,212,0.12), transparent 60%),
    radial-gradient(closest-side at 80% 14%, rgba(79,70,229,0.12), transparent 60%);
}
.hero-centered-in { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; }
.hero-pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.35rem 0.9rem 0.35rem 0.4rem; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  font-size: 0.82rem; font-weight: 600; color: #334155; margin-bottom: 1.4rem;
  transition: transform .18s var(--ease-out), box-shadow .18s ease;
}
.hero-pill:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.hero-pill-tag { background: linear-gradient(100deg, var(--indigo), var(--blue)); color: #fff; font-weight: 800; font-size: 0.66rem; letter-spacing: 0.06em; padding: 3px 8px; border-radius: 999px; }
.hero-pill-arr { color: var(--indigo); }
.hero-centered h1 {
  font-size: clamp(2.4rem, 5.6vw, 4.1rem); line-height: 1.04; letter-spacing: -0.03em;
  font-weight: 800; margin: 0 auto 1.2rem; max-width: 16ch; color: var(--text);
}
.hero-centered .lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 46rem; margin: 0 auto 2rem; line-height: 1.6; }
.hero-actions-center { justify-content: center; }
.hero-badges-center { justify-content: center; margin-top: 1.6rem; }
.hero-showcase { position: relative; z-index: 1; max-width: 1040px; margin: 3rem auto 0; }
.hero-showcase .af-hero-shot { box-shadow: var(--shadow-lg); }
@media (max-width: 720px) {
  .hero-centered h1 { max-width: 100%; }
  .hero-centered { padding-top: 2.5rem; }
}

/* ===== Rotating capability headline ===== */
.hero-rotate-h1 { display: flex; flex-direction: column; align-items: center; gap: 0.1em; }
.hero-rotate-word {
  display: inline-block;
  transition: opacity .32s var(--ease-out), transform .32s var(--ease-out), filter .32s ease;
  will-change: opacity, transform;
}
.hero-rotate-word.is-out { opacity: 0; transform: translateY(-0.4em); filter: blur(3px); }
.hero-rotate-fixed { color: var(--text); }
@media (prefers-reduced-motion: reduce) {
  .hero-rotate-word { transition: opacity .2s ease; }
  .hero-rotate-word.is-out { transform: none; filter: none; }
}

/* ===== Ambient hero motion (drifting + twinkling starfield) ===== */
.hero-stars { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.hero-stars::before, .hero-stars::after {
  content: ""; position: absolute; inset: -12%;
  background-image: radial-gradient(rgba(37,99,235,0.34) 1px, transparent 1.7px);
  background-size: 46px 46px;
  opacity: 0.30;
  animation: starsDrift 30s linear infinite, starsTwinkle 5s ease-in-out infinite;
}
.hero-stars::after {
  background-image: radial-gradient(rgba(6,182,212,0.30) 1px, transparent 1.7px);
  background-size: 74px 74px; opacity: 0.20;
  animation: starsDrift 46s linear infinite reverse, starsTwinkle 7s ease-in-out infinite;
  animation-delay: -3s;
}
@keyframes starsDrift { from { transform: translate3d(0,0,0); } to { transform: translate3d(-46px,-46px,0); } }
@keyframes starsTwinkle { 0%,100% { opacity: 0.30; } 50% { opacity: 0.12; } }
.hero-glow { animation: heroGlowBreathe 10s ease-in-out infinite; }
@keyframes heroGlowBreathe { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.72; transform: scale(1.05); } }
@media (prefers-reduced-motion: reduce) {
  .hero-stars::before, .hero-stars::after, .hero-glow { animation: none; }
}

/* ===== Metric suffix (unit next to the counting number) ===== */
.metric-suffix { font-style: normal; font-size: 0.55em; font-weight: 800; color: var(--indigo); margin-left: 0.06em; letter-spacing: -0.01em; }

/* ===== Brand constellation signature (Vastvic mark behind the hero) ===== */
.hero-mark {
  position: absolute; z-index: 0; pointer-events: none;
  top: 300px; left: 50%;
  width: clamp(340px, 42vw, 600px); aspect-ratio: 500 / 520;
  transform: translate(-50%, -50%);
  background: center / contain no-repeat url("assets/vastvic-constellation.svg");
  opacity: 0.5;
  animation: markFloat 14s ease-in-out infinite, markPulse 8s ease-in-out infinite;
  filter: drop-shadow(0 0 18px rgba(37,99,235,0.18));
}
@keyframes markFloat { 0%,100% { transform: translate(-50%, -50%); } 50% { transform: translate(-50%, calc(-50% - 14px)); } }
@keyframes markPulse { 0%,100% { opacity: 0.5; } 50% { opacity: 0.32; } }
@media (prefers-reduced-motion: reduce) { .hero-mark { animation: none; } }
@media (max-width: 720px) { .hero-mark { opacity: 0.34; width: 300px; } }
