/* EI-UP content and diagrams, on top of the Luminary template. */

.nav-brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand-mark {
  display: block;
  width: auto;
  height: 36px;
}
.footer-brand { opacity: 1; }
.footer-brand .brand-mark { height: 28px; }

.hero h1 {
  font-size: clamp(2.15rem, 4.4vw, 3.7rem);
  max-width: 16em;
}

.ticker-item { opacity: 0.55; }

.problem-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.issue-list {
  list-style: none;
  margin-top: 28px;
  max-width: 540px;
}
.issue-list li {
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--ivory-muted);
  padding: 12px 0;
  border-bottom: 1px solid rgba(156, 163, 175, 0.08);
  padding-left: 16px;
  position: relative;
}
.issue-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--silver);
}

.diagram {
  margin: 0;
}
.diagram figcaption {
  margin-top: 18px;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.6;
  color: var(--slate-warm);
  text-align: center;
}

.flow {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}
.flow-step {
  display: flex;
  align-items: center;
  flex: 1 1 0;
  min-width: 0;
}
.flow-node {
  flex: 1;
  min-width: 0;
  background: var(--panel-bg);
  border: 1px solid rgba(176, 184, 196, 0.16);
  border-radius: 18px;
  padding: 16px 12px;
  text-align: center;
}
.flow-node strong {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.35;
  color: var(--ivory);
}
.flow-kicker {
  display: block;
  margin-bottom: 6px;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate-warm);
}
.flow-node-core {
  background: linear-gradient(135deg, var(--silver), var(--slate-light));
  border-color: transparent;
}
.flow-node-core strong,
.flow-node-core .flow-kicker { color: var(--base-deep); }

.flow-arrow {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  margin: 0 6px;
  color: var(--silver);
}

.cross {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cross-mid {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  max-width: 100%;
}
.cross-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 168px;
}
.cross-mid .flow-node,
.cross-stack .flow-node {
  width: 168px;
  flex: none;
}
.cross .flow-arrow-down {
  margin: 8px 0;
}

.section-center .diagram { margin-top: 48px; }
.diagram + .diagram { margin-top: 64px; }

.path-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 48px;
  text-align: left;
}
.path-card {
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: 28px;
  padding: 32px 28px 28px;
}
.path-card h3 {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate-warm);
  margin-bottom: 22px;
}
.path-card .flow {
  flex-direction: column;
  align-items: stretch;
}
.path-card .flow-step {
  flex: none;
  width: 100%;
  flex-direction: column;
  align-items: stretch;
}
.path-card .flow-node { flex: none; }
.path-card .flow-arrow {
  transform: rotate(90deg);
  margin: 6px auto;
}

.formula {
  margin: 36px auto 0;
  max-width: 640px;
  padding: 18px 24px;
  border-radius: 100px;
  border: 1px solid rgba(176, 184, 196, 0.2);
  background: rgba(176, 184, 196, 0.06);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ivory);
  text-align: center;
}

.lifecycle {
  list-style: none;
  max-width: 460px;
  margin: 36px auto 0;
  padding: 8px 0 8px 28px;
  border-left: 1px solid rgba(176, 184, 196, 0.35);
  text-align: left;
}
.lifecycle li {
  position: relative;
  padding: 11px 0;
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--ivory-muted);
}
.lifecycle li::before {
  content: '';
  position: absolute;
  left: -33px;
  top: 18px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--base-deep);
  border: 2px solid var(--silver);
}
.lifecycle li strong { color: var(--ivory); font-weight: 600; }

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
  text-align: left;
}
.value-grid .pricing-desc { margin-bottom: 0; }

.horizon-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 56px;
}

.feature-visual {
  height: auto;
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
}
.feature-visual .flow-node strong { font-size: 0.78rem; }

.contact-form {
  max-width: 560px;
  margin: 48px auto 0;
  display: grid;
  gap: 14px;
  text-align: left;
}
.contact-form label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate-warm);
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-top: 8px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(176, 184, 196, 0.16);
  background: var(--panel-bg);
  color: var(--ivory);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 400;
}
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-form input:focus-visible,
.contact-form textarea:focus-visible {
  outline: 2px solid var(--silver);
  outline-offset: 2px;
}
.contact-form .btn-primary { justify-self: center; margin-top: 8px; }
.form-note {
  margin-top: 4px;
  font-size: 0.78rem;
  font-weight: 300;
  line-height: 1.5;
  color: var(--slate-warm);
  text-align: center;
}

@media (min-width: 901px) {
  .flow-step { align-items: stretch; }
  .flow-node {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .flow-arrow { align-self: center; }
}

@media (max-width: 900px) {
  .problem-layout,
  .path-pair,
  .value-grid { grid-template-columns: 1fr; }
  .horizon-grid { grid-template-columns: repeat(2, 1fr); }
  .flow { flex-direction: column; align-items: stretch; }
  .flow-step { flex: none; width: 100%; flex-direction: column; }
  .flow-node { flex: none; }
  .flow-arrow:not(.flow-arrow-down) { transform: rotate(90deg); margin: 8px auto; }
  .cross-mid { flex-direction: column; }
  .path-card .flow-arrow { transform: rotate(90deg); }
  .formula { border-radius: 18px; }
}
