/* ForgeAcumen static site styles */
:root {
  --background: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --border: #e2e8f0;
  --accent: #0f766e;
  --accent-hover: #115e59;
  --surface: #f8fafc;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.06);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

a:hover {
  color: var(--accent);
}

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

.nav,
.section,
.footer-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0;
}

.brand span:first-child {
  color: var(--text);
}

.brand span:last-child {
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.section {
  padding: 88px 0;
}

.section-alt-bg {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.hero {
  width: 100%;
  min-height: calc(100vh - 72px);
  padding: 0;
}

.automation-showcase {
  width: 100%;
  min-width: 0;
  padding: 24px 0 0;
  background: #ffffff;
}

.showcase-header {
  width: min(1640px, calc(100% - 40px));
  margin: 0 auto 18px;
  text-align: center;
}

.showcase-header h2 {
  max-width: none;
  margin-bottom: 0;
  font-size: clamp(1.65rem, 2.7vw, 2.85rem);
  line-height: 1.05;
  white-space: nowrap;
}

.showcase-viewport {
  width: 100%;
  overflow: hidden;
}

.showcase-track {
  display: flex;
  animation: showcase-carousel 12s infinite;
}

.showcase-slide {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 100vw;
  margin: 0;
  overflow: hidden;
  height: max(420px, calc(100vh - 72px - 118px));
  background: #ffffff;
}

.showcase-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  max-width: 100%;
  height: 100%;
}

.showcase-media img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  margin: 0 auto;
}

.showcase-media figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 10px 13px;
  background: rgba(15, 23, 42, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 800;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.18);
}

@keyframes showcase-carousel {
  0%, 20% {
    transform: translateX(0);
  }

  25%, 45% {
    transform: translateX(-100vw);
  }

  50%, 70% {
    transform: translateX(-200vw);
  }

  75%, 95% {
    transform: translateX(-300vw);
  }

  100% {
    transform: translateX(0);
  }
}

.mock-window {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.1);
}

.mock-bar {
  display: flex;
  gap: 5px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
}

.mock-bar span {
  width: 7px;
  height: 7px;
  background: #cbd5e1;
  border-radius: 999px;
}

.mock-title {
  margin-bottom: 14px;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 850;
}

.scene-catalog,
.scene-assistant {
  position: relative;
}

.catalog-site {
  width: 78%;
  min-height: 260px;
  padding-bottom: 18px;
}

.catalog-nav,
.catalog-hero,
.product-grid {
  margin: 14px 16px 0;
}

.catalog-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.8rem;
}

.catalog-hero {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  background: rgba(15, 118, 110, 0.07);
  border-radius: 8px;
}

.catalog-hero small,
.admin-row span,
.kanban small {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
}

.catalog-hero button,
.workbench-top button,
.import-control button {
  border: 0;
  border-radius: 7px;
  background: var(--accent);
  color: #ffffff;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
}

.catalog-hero button {
  align-self: center;
  padding: 8px 10px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.product-grid span {
  padding: 28px 8px 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 750;
}

.catalog-admin {
  position: absolute;
  right: 18px;
  bottom: 24px;
  width: 44%;
  min-width: 230px;
  padding: 18px;
}

.admin-row {
  display: grid;
  gap: 2px;
  padding: 10px 0;
  border-top: 1px solid var(--border);
}

.import-control {
  position: relative;
  margin-top: 8px;
}

.import-control button {
  padding: 9px 12px;
  background: var(--accent-hover);
}

.import-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  display: grid;
  width: 126px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.import-menu span {
  padding: 8px 10px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.import-menu span:hover,
.import-menu span:first-child {
  background: rgba(15, 118, 110, 0.08);
  color: var(--accent-hover);
}

.cursor {
  position: absolute;
  top: 22px;
  left: 92px;
  z-index: 2;
  width: 16px;
  height: 16px;
  background: var(--text);
  clip-path: polygon(0 0, 0 100%, 35% 72%, 55% 100%, 72% 91%, 52% 64%, 100% 64%);
}

.inquiry-sources {
  display: grid;
  gap: 14px;
}

.inquiry-form,
.inquiry-email {
  padding: 16px;
}

.inquiry-form label {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
}

.field-line {
  display: block;
  height: 11px;
  margin-top: 5px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
}

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

.email-head {
  display: grid;
  gap: 4px;
  margin-bottom: 10px;
  font-size: 0.76rem;
}

.email-head span,
.inquiry-email p {
  color: var(--muted);
}

.inquiry-email p {
  margin-bottom: 0;
  font-size: 0.78rem;
}

.connector-lines {
  position: absolute;
  top: 50%;
  left: 36%;
  width: 52px;
  height: 112px;
  border-top: 2px solid rgba(15, 118, 110, 0.25);
  border-bottom: 2px solid rgba(15, 118, 110, 0.25);
  border-right: 2px solid rgba(15, 118, 110, 0.25);
  transform: translateY(-50%);
}

.inquiry-workbench {
  overflow: hidden;
}

.workbench-shell {
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr);
  min-height: 270px;
}

.workbench-shell aside {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 16px 12px;
  background: var(--text);
  color: #cbd5e1;
  font-size: 0.72rem;
  font-weight: 750;
}

.workbench-shell aside b {
  color: #ffffff;
}

.workbench-shell main {
  padding: 16px;
}

.workbench-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.workbench-top button {
  padding: 8px 10px;
}

.kanban {
  display: grid;
  gap: 10px;
}

.kanban div {
  display: grid;
  gap: 5px;
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.kanban span {
  font-size: 0.78rem;
  font-weight: 800;
}

.knowledge-base {
  width: 66%;
  min-height: 280px;
  padding: 18px;
}

.tree-item {
  margin-top: 8px;
  padding: 10px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.tree-item.open {
  color: var(--accent-hover);
  background: rgba(15, 118, 110, 0.08);
}

.tree-item.indent {
  margin-left: 22px;
}

.tree-item.nested {
  margin-left: 44px;
}

.assistant-chat {
  position: absolute;
  right: 20px;
  bottom: 22px;
  width: 47%;
  min-width: 250px;
  padding: 18px;
}

.chat-bubble {
  max-width: 92%;
  margin-bottom: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.78rem;
}

.chat-bubble.customer {
  margin-left: auto;
  background: var(--text);
  color: #ffffff;
}

.chat-bubble.assistant {
  background: rgba(15, 118, 110, 0.08);
  color: var(--accent-hover);
}

.source-pill {
  display: inline-flex;
  padding: 6px 9px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
}

.alert-panel,
.analytics-panel {
  padding: 18px;
}

.alert-row {
  display: grid;
  gap: 3px;
  margin-top: 10px;
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.alert-row.high {
  background: rgba(15, 118, 110, 0.08);
  border-color: rgba(15, 118, 110, 0.25);
}

.alert-row span,
.metric-grid span {
  color: var(--muted);
  font-size: 0.76rem;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 22px;
}

.metric-grid span {
  display: grid;
  gap: 2px;
  min-height: 74px;
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.metric-grid b {
  color: var(--text);
  font-size: 1rem;
}

.bar-chart {
  display: flex;
  align-items: end;
  gap: 10px;
  height: 142px;
  padding: 16px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 10px;
}

.bar-chart span {
  flex: 1;
  min-width: 16px;
  background: var(--accent);
  border-radius: 999px 999px 4px 4px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 1120px;
  margin-bottom: 18px;
  font-size: clamp(2rem, 4.1vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  font-weight: 800;
}

h2 {
  max-width: 640px;
  margin-bottom: 16px;
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  line-height: 1.2;
  letter-spacing: -0.005em;
  font-weight: 800;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
  font-weight: 750;
  line-height: 1.3;
}

.hero-text,
.section-heading p,
.card p,
.solution-list p,
.about-copy p,
.contact p,
.legal-page p {
  color: var(--muted);
}

.hero-text {
  max-width: 980px;
  margin-bottom: 24px;
  font-size: 1.04rem;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-weight: 750;
}

.button.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

.button.primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #ffffff;
}

.button.secondary:hover {
  border-color: var(--accent);
}

.panel-label {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-heading {
  margin-bottom: 34px;
}

.card-grid {
  display: grid;
  gap: 18px;
}

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

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

.card {
  min-height: 220px;
  padding: 24px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
  background: rgba(15, 118, 110, 0.08);
  border-radius: 8px;
  color: var(--accent);
}

.card-icon svg {
  width: 20px;
  height: 20px;
}

.card.compact {
  min-height: 170px;
}

.solution-list {
  display: grid;
  border-top: 1px solid var(--border);
}

.solution-list article {
  display: grid;
  grid-template-columns: 56px minmax(180px, 0.32fr) minmax(0, 0.68fr);
  align-items: start;
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--border);
}

.solution-list .index {
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}

.solution-list h3,
.solution-list p {
  margin-bottom: 0;
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 64px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about-copy {
  font-size: 1.05rem;
}

.founder-note {
  padding-left: 18px;
  border-left: 3px solid var(--accent);
  color: var(--text) !important;
  font-weight: 700;
}

.contact {
  text-align: center;
}

.contact h2 {
  margin-right: auto;
  margin-left: auto;
}

.contact a,
.legal-page a,
.footer-meta a {
  color: var(--accent);
  font-weight: 750;
}

.site-footer {
  background: var(--text);
  color: #ffffff;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 34px 0;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 20px;
  color: #cbd5e1;
  font-size: 0.92rem;
}

.footer-meta a {
  color: #c7fffb;
}

.legal-page {
  min-height: calc(100vh - 220px);
}

.legal-page h1 {
  font-size: clamp(2.25rem, 4vw, 3.75rem);
}

.legal-page p {
  max-width: 720px;
  font-size: 1.06rem;
}

@media (max-width: 920px) {
  .about {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

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

@media (max-width: 640px) {
  .nav,
  .section,
  .footer-inner {
    width: min(100% - 28px, 1120px);
  }

  .nav {
    min-height: 64px;
  }

  .nav-links {
    gap: 14px;
    font-size: 0.88rem;
  }

  .section {
    padding: 64px 0;
  }

  .hero {
    padding-top: 0;
  }

  .automation-showcase {
    padding-top: 20px;
  }

  .showcase-header {
    width: min(100% - 28px, 1120px);
    margin-bottom: 16px;
  }

  .showcase-header h2 {
    font-size: clamp(1.75rem, 9vw, 2.4rem);
    white-space: normal;
  }

  .showcase-slide {
    height: max(360px, calc(100vh - 64px - 118px));
  }

  .showcase-media figcaption {
    right: 14px;
    bottom: 12px;
    font-size: 0.78rem;
  }

  .card-grid.four,
  .card-grid.three {
    grid-template-columns: 1fr;
  }

  .solution-list article {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .solution-list .index {
    display: none;
  }

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

  .footer-meta {
    justify-content: flex-start;
  }
}
