/* ============================================================
   DAAT MARKETING — landing page & marketing page styles
   Loaded after daat-public.css on all public marketing pages
   ============================================================ */

/* ============================================================
   HOME: HERO
   ============================================================ */

.home-page { background: #f7f8f6; }

.home-hero {
  padding: 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(17,20,17,0.09);
}

.home-hero-inner {
  width: min(1200px, calc(100% - 80px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(480px, 0.95fr);
  gap: 0;
  align-items: stretch;
  min-height: calc(100svh - 60px);
  max-height: 860px;
}

.hero-text-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 64px 80px 0;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 26px;
  padding: 0 10px;
  border-radius: 5px;
  border: 1px solid rgba(40,176,110,0.28);
  background: rgba(40,176,110,0.07);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1a5c39;
}

.hero-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #28b06e;
  flex-shrink: 0;
}

.hero-headline {
  margin-top: 20px;
  font-size: clamp(36px, 4.4vw, 60px);
  font-weight: 740;
  line-height: 1.02;
  letter-spacing: -0.015em;
  color: #111311;
}

.hero-sub {
  margin-top: 20px;
  font-size: 17px;
  line-height: 1.65;
  color: #3c413c;
  max-width: 480px;
}

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 22px;
  border-radius: 8px;
  background: #111311;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid #111311;
  transition: background 140ms, transform 100ms, box-shadow 140ms;
}

.btn-primary:hover {
  background: #000;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(17,20,17,0.2);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 22px;
  border-radius: 8px;
  background: transparent;
  color: #111311;
  font-size: 14px;
  font-weight: 600;
  border: 1.5px solid #111311;
  transition: background 140ms, transform 100ms;
}

.btn-secondary:hover {
  background: rgba(17,20,17,0.06);
  transform: translateY(-1px);
}

.hero-sources-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 36px;
}

.hero-sources-label {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9da39d;
  margin-right: 4px;
  flex-basis: 100%;
  margin-bottom: 2px;
}

.source-badge {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 9px;
  border-radius: 5px;
  border: 1px solid rgba(17,20,17,0.13);
  background: #fff;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6b716b;
}

/* ============================================================
   HERO MOCKUP
   ============================================================ */

.hero-mockup-col {
  background: transparent;
  position: relative;
  overflow: hidden;
}

.hero-mockup {
  position: absolute;
  width: 390px;
  top: 56px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 12px;
  border: 1px solid rgba(17,20,17,0.14);
  background: #ffffff;
  box-shadow: 0 8px 40px rgba(17,20,17,0.13), 0 1px 0 rgba(17,20,17,0.06);
  overflow: hidden;
  z-index: 1;
  will-change: transform;
}

.mockup-chrome {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #f3f4f1;
  border-bottom: 1px solid rgba(17,20,17,0.09);
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.mockup-chrome:active {
  cursor: grabbing;
}

.chrome-dots {
  display: flex;
  gap: 5px;
}

.chrome-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.chrome-dot:nth-child(1) { background: #ff5f57; }
.chrome-dot:nth-child(2) { background: #febc2e; }
.chrome-dot:nth-child(3) { background: #28c840; }

.chrome-label {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9da39d;
  margin-left: 6px;
}

.mockup-body {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
}

.mockup-sidebar {
  border-right: 1px solid rgba(17,20,17,0.09);
  padding: 12px 10px;
  background: #f9faf7;
}

.sidebar-group { margin-bottom: 18px; }

.sidebar-group-label {
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9da39d;
  padding: 0 6px;
  margin-bottom: 6px;
}

.sidebar-source {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px 6px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 500;
  color: #3c413c;
  margin-bottom: 1px;
}

.sidebar-source:hover { background: rgba(17,20,17,0.05); }

.src-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.src-dot.on { background: #28b06e; box-shadow: 0 0 0 2px rgba(40,176,110,0.2); }
.src-dot.off { background: #9da39d; }

.sidebar-stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 6px;
  font-size: 10.5px;
  color: #6b716b;
}

.sidebar-stat-num {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  color: #111311;
}

.mockup-main {
  padding: 10px;
  display: grid;
  gap: 7px;
}

.inbox-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(17,20,17,0.09);
  margin-bottom: 2px;
}

.inbox-label {
  font-size: 11.5px;
  font-weight: 650;
  color: #111311;
}

.inbox-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #28b06e;
  color: #fff;
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 600;
}

.finding {
  border: 1px solid rgba(17,20,17,0.1);
  border-radius: 7px;
  padding: 9px 10px;
  background: #fff;
}

.finding.flagged {
  border-color: rgba(245,158,11,0.3);
  background: rgba(255,251,235,0.7);
}

.finding-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.finding-src {
  font-family: var(--mono);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9da39d;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 18px;
  padding: 0 7px;
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.status-pill::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-pill.review { background: rgba(245,158,11,0.14); color: #a16207; }
.status-pill.review::before { background: #f59e0b; }
.status-pill.done { background: rgba(40,176,110,0.12); color: #1a5c39; }
.status-pill.done::before { background: #28b06e; }
.status-pill.processing { background: rgba(59,130,246,0.1); color: #1d4ed8; }
.status-pill.processing::before { background: #3b82f6; }

.finding-text {
  font-size: 11px;
  line-height: 1.5;
  color: #3c413c;
  margin-bottom: 7px;
}

.finding-btns {
  display: flex;
  gap: 5px;
}

.finding-btn {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 9px;
  border-radius: 5px;
  font-size: 9.5px;
  font-weight: 600;
  border: 1px solid;
  cursor: pointer;
  font-family: inherit;
  transition: background 100ms;
}

.finding-btn.prim { background: #111311; color: #fff; border-color: #111311; }
.finding-btn.sec { background: transparent; color: #3c413c; border-color: rgba(17,20,17,0.18); }

/* ============================================================
   SECTION SHARED
   ============================================================ */

.mkt-section { padding: 96px 0; }

.mkt-container {
  width: min(1160px, calc(100% - 80px));
  margin: 0 auto;
}

.mkt-eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #6b716b;
}

.mkt-eyebrow.green { color: #1a5c39; }

.mkt-h2 {
  margin-top: 16px;
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 720;
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: #111311;
}

.mkt-sub {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.68;
  color: #3c413c;
  max-width: 560px;
}

/* ============================================================
   PROBLEM SECTION
   ============================================================ */

.problem-section {
  background: #0c100e;
  padding: 96px 0;
}

.problem-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 80px;
  align-items: start;
}

.problem-left { padding-top: 4px; }

.problem-headline {
  margin-top: 20px;
  font-size: clamp(26px, 3.2vw, 42px);
  font-weight: 720;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: #f0f2ef;
}

.problem-sub {
  margin-top: 20px;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(240,242,239,0.52);
}

.problem-list {
  border-top: 1px solid rgba(240,242,239,0.1);
}

.problem-item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(240,242,239,0.1);
  align-items: start;
}

.problem-num {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #28b06e;
  padding-top: 3px;
}

.problem-item-title {
  font-size: 18px;
  font-weight: 640;
  color: #f0f2ef;
  line-height: 1.2;
  margin-bottom: 8px;
}

.problem-item-body {
  font-size: 13.5px;
  line-height: 1.65;
  color: rgba(240,242,239,0.5);
}

/* ============================================================
   SOLUTION SECTION
   ============================================================ */

.solution-section { background: #f7f8f6; }

.solution-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 60px;
  align-items: start;
  margin-bottom: 64px;
}

.solution-headline {
  font-size: clamp(28px, 3.4vw, 46px);
  font-weight: 720;
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: #111311;
  margin-top: 16px;
}

.solution-sub {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.68;
  color: #3c413c;
  padding-top: 36px;
}

/* Core loop */
.core-loop {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border: 1px solid rgba(17,20,17,0.14);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 20px rgba(17,20,17,0.07), 0 0 0 1px rgba(17,20,17,0.06);
}

.loop-step {
  position: relative;
  padding: 22px 16px 24px;
  border-left: 1px solid rgba(17,20,17,0.09);
}

.loop-step:first-child { border-left: none; }

.loop-step::after {
  content: '';
  position: absolute;
  right: -8px;
  top: 26px;
  z-index: 2;
  width: 14px;
  height: 14px;
  background: #fff;
  border-top: 1px solid rgba(17,20,17,0.14);
  border-right: 1px solid rgba(17,20,17,0.14);
  transform: rotate(45deg);
}

.loop-step:last-child::after { display: none; }

.loop-step-num {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #28b06e;
}

.loop-step-name {
  margin-top: 28px;
  font-size: 12.5px;
  font-weight: 660;
  line-height: 1.3;
  color: #111311;
}

.loop-step-desc {
  margin-top: 6px;
  font-size: 11px;
  line-height: 1.55;
  color: #6b716b;
}

/* ============================================================
   VERTICALS / DEPLOYMENT SECTION
   ============================================================ */

.verticals-section { background: #eff1ee; }

.verticals-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 52px;
}

.vertical-card {
  display: flex;
  flex-direction: column;
  padding: 32px;
  border: 1px solid rgba(17,20,17,0.12);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(17,20,17,0.06);
  transition: transform 160ms, box-shadow 160ms;
}

.vertical-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(17,20,17,0.1);
}

.vertical-tag {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1a5c39;
}

.vertical-title {
  margin-top: 14px;
  font-size: 20px;
  font-weight: 660;
  line-height: 1.2;
  color: #111311;
}

.vertical-desc {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.65;
  color: #6b716b;
}

.vertical-examples {
  margin-top: auto;
  padding-top: 24px;
  display: grid;
  gap: 7px;
}

.vertical-ex {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 12.5px;
  line-height: 1.45;
  color: #6b716b;
}

.vertical-ex::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #28b06e;
  flex-shrink: 0;
  margin-top: 6px;
}

/* ============================================================
   CAPABILITIES SECTION
   ============================================================ */

.capabilities-section { background: #f7f8f6; }

.capabilities-grid {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  background: rgba(17,20,17,0.12);
  border: 1px solid rgba(17,20,17,0.12);
  border-radius: 12px;
  overflow: hidden;
}

.cap-card {
  padding: 26px 22px;
  background: #fff;
  transition: background 140ms;
}

.cap-card:hover { background: #f7f8f6; }

.cap-icon {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background: rgba(40,176,110,0.1);
  border: 1px solid rgba(40,176,110,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  font-size: 14px;
}

.cap-title {
  font-size: 13.5px;
  font-weight: 660;
  line-height: 1.3;
  color: #111311;
  margin-bottom: 7px;
}

.cap-desc {
  font-size: 12px;
  line-height: 1.58;
  color: #6b716b;
}

/* ============================================================
   HOW IT WORKS SECTION
   ============================================================ */

.how-section { background: #eff1ee; }

.how-steps {
  margin-top: 52px;
  border: 1px solid rgba(17,20,17,0.13);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 16px rgba(17,20,17,0.07);
}

.how-step {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  border-bottom: 1px solid rgba(17,20,17,0.09);
  min-height: 88px;
  transition: background 140ms;
}

.how-step:last-child { border-bottom: none; }
.how-step:hover { background: #f7f8f6; }

.how-step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid rgba(17,20,17,0.09);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #9da39d;
  background: #f9faf7;
}

.how-step-content { padding: 22px 28px; }

.how-step-title {
  font-size: 15px;
  font-weight: 660;
  color: #111311;
  line-height: 1.3;
}

.how-step-desc {
  margin-top: 5px;
  font-size: 13.5px;
  line-height: 1.6;
  color: #6b716b;
}

/* ============================================================
   TRUST SECTION
   ============================================================ */

.trust-section { background: #f7f8f6; }

.trust-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 80px;
  align-items: start;
}

.trust-headline {
  margin-top: 16px;
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 720;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: #111311;
}

.trust-sub {
  margin-top: 18px;
  font-size: 15px;
  line-height: 1.68;
  color: #3c413c;
}

.trust-checklist {
  border: 1px solid rgba(17,20,17,0.12);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 8px rgba(17,20,17,0.05);
}

.trust-check {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(17,20,17,0.08);
}

.trust-check:last-child { border-bottom: none; }

.check-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(40,176,110,0.1);
  border: 1px solid rgba(40,176,110,0.22);
  flex-shrink: 0;
  margin-top: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
}

.trust-check-text {
  font-size: 14px;
  font-weight: 500;
  color: #3c413c;
  line-height: 1.5;
}

/* ============================================================
   FINAL CTA
   ============================================================ */

.final-cta {
  background: #0c100e;
  padding: 112px 0;
  text-align: center;
}

.final-cta-inner {
  max-width: 680px;
  margin: 0 auto;
}

.final-cta .mkt-eyebrow { color: rgba(240,242,239,0.35); }

.final-cta-headline {
  margin-top: 20px;
  font-size: clamp(32px, 4.2vw, 56px);
  font-weight: 740;
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: #f0f2ef;
}

.final-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 36px;
}

.final-cta-actions .btn-primary {
  background: #28b06e;
  border-color: #28b06e;
  color: #fff;
}

.final-cta-actions .btn-primary:hover { background: #22a065; }

.final-cta-actions .btn-secondary {
  background: transparent;
  border-color: #f0f2ef;
  color: #f0f2ef;
}

.final-cta-actions .btn-secondary:hover {
  background: rgba(240,242,239,0.1);
}

/* ============================================================
   INNER PAGE STYLES (solutions, engine, careers)
   ============================================================ */

.inner-hero {
  padding: 72px 0 64px;
  border-bottom: 1px solid rgba(17,20,17,0.09);
}

.inner-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr);
  gap: 72px;
  align-items: end;
}

.page-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6b716b;
  margin-bottom: 20px;
  transition: color 140ms;
}

.page-back:hover { color: #111311; }

.mkt-page-title {
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 740;
  line-height: 0.98;
  letter-spacing: -0.015em;
  color: #111311;
}

.mkt-page-lede {
  margin-top: 20px;
  font-size: 18px;
  line-height: 1.6;
  color: #3c413c;
  max-width: 640px;
}

.inner-aside {
  padding-left: 20px;
  border-left: 2px solid rgba(17,20,17,0.16);
  font-size: 14px;
  line-height: 1.68;
  color: #6b716b;
  position: relative;
}

.inner-aside::before {
  content: '';
  position: absolute;
  left: -5px;
  top: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #28b06e;
  box-shadow: 0 0 0 4px rgba(40,176,110,0.15);
}

.inner-section {
  padding: 60px 0;
  border-top: 1px solid rgba(17,20,17,0.09);
}

.inner-section-grid {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 60px;
}

.section-label-cell {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #6b716b;
  padding-top: 3px;
}

.mkt-prose {
  font-size: 15.5px;
  line-height: 1.7;
  color: #3c413c;
}

.mkt-prose p + p { margin-top: 16px; }
.mkt-prose strong { color: #111311; font-weight: 640; }
.mkt-prose ul { padding-left: 18px; }
.mkt-prose li { padding-left: 4px; margin-bottom: 10px; }

.inner-cta {
  padding: 76px 0 92px;
  border-top: 1px solid rgba(17,20,17,0.09);
  background: #eff1ee;
}

.inner-cta h2 {
  max-width: 780px;
  font-size: clamp(28px, 3.6vw, 48px);
  font-weight: 720;
  line-height: 1.04;
  letter-spacing: -0.01em;
  color: #111311;
}

.mkt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

/* Solutions page — process flow */
.mkt-process-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid rgba(17,20,17,0.13);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(17,20,17,0.06);
  overflow: hidden;
}

.mkt-process-step {
  padding: 22px 18px 26px;
  border-left: 1px solid rgba(17,20,17,0.09);
  position: relative;
  min-height: 220px;
}

.mkt-process-step:first-child { border-left: none; }

.mkt-process-step::after {
  content: '';
  position: absolute;
  right: -7px;
  top: 30px;
  z-index: 1;
  width: 12px;
  height: 12px;
  background: #fff;
  border-top: 1px solid rgba(17,20,17,0.13);
  border-right: 1px solid rgba(17,20,17,0.13);
  transform: rotate(45deg);
}

.mkt-process-step:last-child::after { display: none; }

.mkt-step-num {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #28b06e;
}

.mkt-process-step h3 {
  margin-top: 18px;
  font-size: 14.5px;
  font-weight: 660;
  line-height: 1.3;
  color: #111311;
}

.mkt-process-step p {
  margin-top: 9px;
  font-size: 12.5px;
  line-height: 1.55;
  color: #6b716b;
}

/* Engine page */
.engine-signal-box {
  padding: 14px;
  border: 1px solid rgba(17,20,17,0.13);
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(17,20,17,0.06);
  display: grid;
  gap: 6px;
}

.sig-node {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  border: 1px solid rgba(17,20,17,0.1);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6b716b;
}

.sig-node.engine {
  background: rgba(40,176,110,0.09);
  border-color: rgba(40,176,110,0.22);
  color: #1a5c39;
}

.mkt-engine-stack {
  border: 1px solid rgba(17,20,17,0.12);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 8px rgba(17,20,17,0.06);
}

.engine-layer-row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 18px;
  padding: 20px 22px;
  border-bottom: 1px solid rgba(17,20,17,0.09);
  align-items: start;
}

.engine-layer-row:last-child { border-bottom: none; }

.engine-layer-num {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #28b06e;
  padding-top: 3px;
}

.engine-layer-text {
  font-size: 14.5px;
  line-height: 1.6;
  color: #3c413c;
}

.engine-dark-band {
  background: #0c100e;
  padding: 64px 0;
  border-top: 1px solid rgba(240,242,239,0.06);
  border-bottom: 1px solid rgba(240,242,239,0.06);
}

.engine-dark-band p {
  font-size: clamp(20px, 2.6vw, 33px);
  font-weight: 560;
  line-height: 1.24;
  color: rgba(240,242,239,0.78);
  max-width: 920px;
}

.mkt-loop-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid rgba(17,20,17,0.12);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 16px rgba(17,20,17,0.07);
}

.loop-grid-step {
  padding: 22px 18px;
  border-left: 1px solid rgba(17,20,17,0.09);
  min-height: 160px;
  position: relative;
}

.loop-grid-step:first-child { border-left: none; }

.loop-grid-step::after {
  content: '';
  position: absolute;
  right: -7px;
  top: 26px;
  z-index: 1;
  width: 12px;
  height: 12px;
  background: #fff;
  border-top: 1px solid rgba(17,20,17,0.12);
  border-right: 1px solid rgba(17,20,17,0.12);
  transform: rotate(45deg);
}

.loop-grid-step:last-child::after { display: none; }

.loop-step-word {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #28b06e;
}

.loop-grid-step p {
  margin-top: 18px;
  font-size: 13px;
  line-height: 1.55;
  color: #6b716b;
}

/* Careers page */
.mkt-job-list { display: grid; gap: 14px; }

.mkt-job-card {
  border: 1px solid rgba(17,20,17,0.12);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(17,20,17,0.06);
  padding: 30px;
  transition: transform 160ms, box-shadow 160ms;
}

.mkt-job-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(17,20,17,0.1);
}

.mkt-job-dept {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1a5c39;
}

.mkt-job-card h2 {
  margin-top: 10px;
  font-size: 22px;
  font-weight: 700;
  color: #111311;
  line-height: 1.2;
}

.mkt-job-card p {
  margin-top: 9px;
  font-size: 14.5px;
  line-height: 1.62;
  color: #3c413c;
  max-width: 640px;
}

.mkt-job-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
}

.mkt-job-tag {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border-radius: 5px;
  border: 1px solid rgba(17,20,17,0.12);
  background: #f7f8f6;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #6b716b;
}

.mkt-job-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

/* Demos page tweaks */
.demos-page .nav-right .nav-cta {
  background: rgba(240,242,239,0.1);
  border-color: rgba(240,242,239,0.2);
  color: #f0f2ef;
}

.demos-page .nav-right .nav-cta:hover {
  background: rgba(240,242,239,0.18);
}

.demos-page .nav-right .nav-signin {
  color: rgba(240,242,239,0.45);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* ============================================================
   HOMEPAGE FOOTER V2
   ============================================================ */

.footer-v2 {
  padding: 72px 40px 48px;
  background: #0c100e;
  border-top: none;
}

.footer-inner-v2 {
  display: flex;
  flex-direction: column;
  gap: 64px;
  max-width: 1120px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 80px;
  align-items: start;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 320px;
}

.footer-brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f0f2ef;
}

.footer-brand-mark img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.footer-tagline {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(240, 242, 239, 0.42);
  font-family: var(--sans);
}

.footer-email-v2 {
  font-size: 14px;
  font-family: var(--sans);
  color: rgba(240, 242, 239, 0.5);
  transition: color 140ms;
}

.footer-email-v2:hover {
  color: #f0f2ef;
}

.footer-link-cols {
  display: flex;
  gap: 64px;
}

.footer-link-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-col-label {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(240, 242, 239, 0.28);
  margin-bottom: 4px;
}

.footer-link-col a {
  font-size: 14px;
  font-family: var(--sans);
  font-weight: 500;
  color: rgba(240, 242, 239, 0.62);
  transition: color 140ms;
  white-space: nowrap;
}

.footer-link-col a:hover {
  color: #f0f2ef;
}

.footer-base-row {
  padding-top: 28px;
  border-top: 1px solid rgba(240, 242, 239, 0.08);
}

.footer-copy-line {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: rgba(240, 242, 239, 0.28);
  font-family: var(--sans);
}

.footer-copy-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #28b06e;
  box-shadow: 0 0 0 3px rgba(40, 176, 110, 0.2);
  flex-shrink: 0;
}

@media (max-width: 720px) {
  .footer-v2 { padding: 56px 24px 40px; }
  .footer-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-link-cols { gap: 40px; }
}

@media (max-width: 1024px) {
  .home-hero-inner {
    grid-template-columns: 1fr;
    max-height: none;
    min-height: auto;
  }

  .hero-text-col { padding: 64px 0; }

  .hero-mockup-col {
    min-height: 360px;
    border-top: 1px solid rgba(17,20,17,0.09);
  }

  .hero-mockup { width: 320px; }

  .solution-header { grid-template-columns: 1fr; }
  .solution-sub { padding-top: 0; }

  .problem-inner { grid-template-columns: 1fr; gap: 48px; }

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

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

  .trust-inner { grid-template-columns: 1fr; gap: 48px; }

  .inner-hero-grid { grid-template-columns: 1fr; }
  .inner-aside { display: none; }
  .inner-section-grid { grid-template-columns: 1fr; gap: 24px; }

  .mkt-process-flow { grid-template-columns: 1fr; }
  .mkt-process-step { border-left: none; border-top: 1px solid rgba(17,20,17,0.09); min-height: auto; }
  .mkt-process-step:first-child { border-top: none; }
  .mkt-process-step::after { display: none; }

  .mkt-loop-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .loop-grid-step:nth-child(2)::after { display: none; }
  .loop-grid-step:nth-child(3) { border-left: none; }
}

@media (max-width: 720px) {
  .mkt-section { padding: 72px 0; }
  .mkt-container { width: calc(100% - 40px); }
  .home-hero-inner { width: calc(100% - 40px); }

  .core-loop { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .loop-step:nth-child(3)::after { display: none; }

  .verticals-grid { grid-template-columns: 1fr; }

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

  .mkt-loop-grid { grid-template-columns: 1fr; }
  .loop-grid-step { border-left: none; border-top: 1px solid rgba(17,20,17,0.09); }
  .loop-grid-step:first-child { border-top: none; }
  .loop-grid-step::after { display: none; }

  .engine-dark-band { padding: 56px 0; }
}

@media (max-width: 540px) {
  .core-loop { grid-template-columns: 1fr; }
  .loop-step::after { display: none; }
  .capabilities-grid { grid-template-columns: 1fr; }
  .final-cta { padding: 80px 0; }
}
