/* ERP-vs-Custom decision landing page — dark/amber theme.
   Inherits CSS variables from main.css (loaded before this file). */

/* ── Hero with inline email capture ─────────────────────────────────────── */
.evc-hero {
  background: radial-gradient(ellipse 80% 60% at 50% 0%, #1e1a0e 0%, var(--bg) 70%);
  border-bottom: 1px solid var(--border);
  padding: clamp(60px, 9vw, 96px) 0 clamp(48px, 7vw, 80px);
}
.evc-hero__inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}
.evc-hero__eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.evc-hero__headline {
  font-size: clamp(1.7rem, 3.6vw, 2.4rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 16px;
}
.evc-hero__sub {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 620px;
  margin: 0 auto 32px;
}
.evc-hero__form {
  max-width: 640px;
  margin: 0 auto;
}
.evc-hero__form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: stretch;
}
.evc-hero__input {
  flex: 1 1 180px;
  min-width: 0;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--bg-surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  outline: none;
  transition: border-color 0.15s;
}
.evc-hero__input:focus {
  border-color: var(--accent);
}
.evc-hero__input--email { flex: 1 1 240px; }
.evc-hero__form .btn { flex: 0 0 auto; }
.evc-hero__confirm {
  margin-top: 14px;
  font-size: 0.9rem;
  min-height: 1.2em;
  color: var(--text-muted);
}
.evc-hero__confirm--success { color: var(--success); }
.evc-hero__confirm--error { color: var(--danger); }

/* ── Three-column comparison ───────────────────────────────────────────── */
.evc-cols {
  padding: clamp(56px, 8vw, 88px) 0;
  background: var(--bg);
}
.evc-cols__heading {
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  font-weight: 700;
  color: var(--text);
  text-align: center;
  margin-bottom: 36px;
}
.evc-cols__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.evc-col {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-left-width: 4px;
  border-radius: var(--radius);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.evc-col--erp    { border-left-color: var(--text-muted); }
.evc-col--custom { border-left-color: var(--accent); }
.evc-col--cbs    { border-left-color: var(--accent-dark); }
.evc-col__title {
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.25;
}
.evc-col__sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: -6px;
  margin-bottom: 4px;
}
.evc-col__heading {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 6px;
}
.evc-col__pros,
.evc-col__cons {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-muted);
}
.evc-col__pros li,
.evc-col__cons li {
  padding: 4px 0;
  padding-left: 18px;
  position: relative;
}
.evc-col__pros li::before {
  content: '+';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}
.evc-col__cons li::before {
  content: '−';
  position: absolute;
  left: 0;
  color: var(--danger);
  font-weight: 700;
}
.evc-col__verdict {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg-elevated);
  border-radius: var(--radius);
  padding: 12px 14px;
  margin-top: auto;
}
.evc-col__verdict strong { color: var(--accent); }

/* ── Third-path band ───────────────────────────────────────────────────── */
.evc-third-path {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: clamp(56px, 8vw, 80px) 0;
}
.evc-third-path__heading {
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 16px;
}
.evc-third-path .section-inner { max-width: 760px; }
.evc-third-path__lead {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.evc-third-path__list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  font-size: 0.96rem;
  line-height: 1.6;
  color: var(--text);
}
.evc-third-path__list li {
  padding: 6px 0 6px 22px;
  position: relative;
  color: var(--text-muted);
}
.evc-third-path__list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* ── Walkthrough CTA band ──────────────────────────────────────────────── */
.evc-cta-band {
  background: radial-gradient(ellipse 70% 60% at 50% 100%, #1e1a0e 0%, var(--bg) 70%);
  padding: clamp(48px, 7vw, 72px) 0;
}
.evc-cta-band__inner {
  text-align: center;
}
.evc-cta-band__lead {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

/* ── Case-study link ───────────────────────────────────────────────────── */
.evc-case-link-section {
  padding: 32px 0 56px;
}
.evc-case-link-section__inner { text-align: center; }
.evc-case-link {
  font-size: 0.92rem;
  color: var(--text-muted);
}
.evc-case-link__a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
  margin-left: 4px;
}
.evc-case-link__a:hover { color: var(--accent-dark); }

/* ── Narrow viewport ───────────────────────────────────────────────────── */
@media (max-width: 700px) {
  .evc-hero__form-row { flex-direction: column; }
  .evc-hero__input,
  .evc-hero__input--email,
  .evc-hero__form .btn { flex: 1 1 auto; width: 100%; }
  .evc-col { padding: 22px 18px; }
}
