/* Evolva ERP — marketing site. Palette matches the app (paper / rust). */
:root {
  --ink: #1a1714;
  --ink-soft: #3b342c;
  --paper: #efe6d6;
  --paper-deep: #e4d8c3;
  --card: #fbf7ef;
  --line: #d8ccb6;
  --muted: #6d6458;
  --rust: #c2410c;
  --rust-deep: #9a3412;
  --rust-soft: #f3d5c4;
  --ok: #276749;
  --ok-soft: #d8efe0;
  --wa: #128c7e;
  --wa-soft: #e7f6ed;
  --dark: #15120e;
  --radius: 16px;
  --shadow: 0 18px 40px rgba(28, 22, 14, 0.08);
  --max: 1160px;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: Figtree, "Segoe UI", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img,
svg {
  max-width: 100%;
  display: block;
}
a {
  color: var(--rust);
  text-decoration: none;
}
a:hover {
  color: var(--rust-deep);
}
h1,
h2,
h3 {
  line-height: 1.15;
  margin: 0 0 0.5em;
}
h1,
h2 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: 0.2px;
}
h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
}
h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
}
h3 {
  font-size: 1.15rem;
  font-weight: 700;
}
p {
  margin: 0 0 1em;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  padding: 84px 0;
}
.section-tight {
  padding: 56px 0;
}
.section-alt {
  background: var(--card);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-dark {
  background: var(--dark);
  color: #f5efe4;
}
.section-dark p {
  color: #cfc5b5;
}
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 10px;
}
.lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 640px;
}
.center {
  text-align: center;
}
.center .lead {
  margin-left: auto;
  margin-right: auto;
}
.muted {
  color: var(--muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.12s,
    background 0.15s;
  font-family: var(--body);
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-primary {
  background: var(--rust);
  color: #fff;
}
.btn-primary:hover {
  background: var(--rust-deep);
  color: #fff;
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: #c4b59a;
}
.btn-ghost:hover {
  background: var(--card);
  color: var(--ink);
}
.btn-light {
  background: #fff;
  color: var(--ink);
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  font-size: 1.15rem;
}
.brand:hover {
  color: var(--ink);
}
.brand img {
  width: 32px;
  height: 32px;
}
.brand small {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.4px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  display: block;
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.95rem;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--rust);
  background: var(--card);
}
.nav-cta {
  display: flex;
  gap: 10px;
}
.nav-cta .btn {
  padding: 10px 16px;
  font-size: 0.92rem;
}
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  width: 42px;
  height: 42px;
  cursor: pointer;
  color: var(--ink);
}
.nav-toggle svg {
  margin: auto;
}

@media (max-width: 920px) {
  .nav-toggle {
    display: grid;
    place-items: center;
  }
  .nav-menu {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 68px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 12px 20px 20px;
  }
  .nav-menu.open {
    display: block;
  }
  .nav-links {
    flex-direction: column;
    align-items: stretch;
  }
  .nav-cta {
    margin-top: 12px;
    flex-direction: column;
  }
}
@media (min-width: 921px) {
  .nav-menu {
    display: flex;
    align-items: center;
    gap: 18px;
  }
}

/* Hero */
.hero {
  padding: 72px 0 64px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.hero h1 span {
  color: var(--rust);
}
.hero .lead {
  margin-bottom: 28px;
}
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 22px;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.92rem;
}
.hero-points li::before {
  content: "✓";
  color: var(--ok);
  font-weight: 800;
  margin-right: 6px;
}
@media (max-width: 920px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

/* Mock app preview (pure CSS) */
.mock {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.mock-bar {
  display: flex;
  gap: 6px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--paper-deep);
}
.mock-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #c4b59a;
}
.mock-body {
  padding: 18px;
  display: grid;
  gap: 14px;
}
.mock-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.mock-kpi {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
}
.mock-kpi span {
  display: block;
  font-size: 0.7rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.mock-kpi b {
  font-size: 1.05rem;
}
.mock-table {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  font-size: 0.85rem;
}
.mock-row {
  display: grid;
  grid-template-columns: 1.2fr 1.4fr 1fr 0.9fr;
  gap: 8px;
  padding: 9px 12px;
  border-top: 1px solid #eee6d8;
  align-items: center;
}
.mock-row:first-child {
  border-top: 0;
  background: var(--paper-deep);
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--muted);
}
.pill {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
}
.pill-ok {
  background: var(--ok-soft);
  color: var(--ok);
}
.pill-warn {
  background: #fde8c8;
  color: #b45309;
}
.pill-rust {
  background: var(--rust-soft);
  color: var(--rust-deep);
}
.mock-wa {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: var(--wa-soft);
  border: 1px solid #b7e0cc;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 0.82rem;
  color: #0b4f45;
}
.mock-wa b {
  display: block;
}

/* Industries ("Built for") */
.industries {
  padding-top: 24px;
}
.industries-head {
  text-align: center;
  margin-bottom: 28px;
}
.industries-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0;
}
.industry-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
@media (max-width: 1020px) {
  .industry-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 560px) {
  .industry-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}
.industry {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 14px 18px;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}
.industry:hover {
  transform: translateY(-3px);
  border-color: var(--rust);
  box-shadow: var(--shadow);
}
.industry-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--rust-soft);
  color: var(--rust-deep);
  margin-bottom: 10px;
  transition:
    background 0.18s ease,
    color 0.18s ease;
}
.industry:hover .industry-icon {
  background: var(--rust);
  color: #fff;
}
.industry-icon svg {
  width: 26px;
  height: 26px;
}
.industry b {
  font-size: 0.98rem;
  line-height: 1.25;
}
.industry span:last-child {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.35;
}

.industry-grid > li {
  display: flex;
}
.industry-grid > li > .industry {
  flex: 1;
}
a.industry {
  color: var(--ink);
}
a.industry:hover {
  color: var(--ink);
}
.industry-grid-5 {
  grid-template-columns: repeat(5, 1fr);
}
@media (max-width: 1020px) {
  .industry-grid-5 {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 560px) {
  .industry-grid-5 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Industry pages */
.crumb {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 14px;
}
.crumb:hover {
  color: var(--rust);
}
.industry-hero {
  padding-bottom: 56px;
}
.industry-badge {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 32px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.industry-badge::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: var(--rust-soft);
  opacity: 0.6;
}
.industry-badge > * {
  position: relative;
  z-index: 1;
}
.industry-badge-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: var(--rust);
  color: #fff;
  margin-bottom: 16px;
}
.industry-badge-icon svg {
  width: 36px;
  height: 36px;
}
.industry-badge b {
  display: block;
  font-family: var(--display);
  font-size: 1.8rem;
  margin-bottom: 12px;
}
.industry-badge ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.industry-badge li {
  padding-left: 26px;
  position: relative;
  color: var(--ink-soft);
  font-weight: 600;
}
.industry-badge li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--ok);
  font-weight: 800;
}
.icon-warn {
  background: #fde8c8;
  color: #b45309;
}
.section-dark .step h3 {
  color: #fff;
}

/* Industries overview list */
.solution-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 1020px) {
  .solution-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .solution-list {
    grid-template-columns: 1fr;
  }
}
.solution {
  --accent: var(--rust);
  --accent-soft: var(--rust-soft);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 26px 24px 22px;
  color: var(--ink);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.solution::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.solution::after {
  content: "";
  position: absolute;
  right: -70px;
  top: -70px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: var(--accent-soft);
  opacity: 0.55;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}
.solution > * {
  position: relative;
  z-index: 1;
}
.solution:hover {
  color: var(--ink);
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 22px 44px rgba(28, 22, 14, 0.12);
}
.solution:hover::before {
  transform: scaleX(1);
}
.solution:hover::after {
  transform: scale(1.15);
  opacity: 0.8;
}
.solution-top {
  display: flex;
  align-items: center;
  gap: 14px;
}
.solution-icon {
  flex: none;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}
.solution-icon svg {
  width: 28px;
  height: 28px;
}
.solution:hover .solution-icon {
  background: var(--accent);
  color: #fff;
  transform: rotate(-4deg);
}
.solution-kicker {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2px;
}
.solution h3 {
  margin: 0;
  font-size: 1.22rem;
  line-height: 1.2;
}
.solution p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
  line-height: 1.55;
  flex: 1;
}
.solution-tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.solution-tags li {
  font-size: 0.76rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink-soft);
}
.solution-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--accent);
}
.solution-arrow {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 1rem;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}
.solution:hover .solution-arrow {
  transform: translateX(4px);
  background: var(--accent);
  color: #fff;
}

/* Logos / trust strip */
.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  justify-content: center;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
}

/* Cards & grids */
.grid {
  display: grid;
  gap: 20px;
}
.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 920px) {
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 620px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
}
.card h3 {
  margin-top: 12px;
}
.card p {
  color: var(--ink-soft);
  margin: 0;
  font-size: 0.97rem;
}
.icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--rust-soft);
  color: var(--rust-deep);
}
.icon svg {
  width: 22px;
  height: 22px;
}
.icon-wa {
  background: var(--wa-soft);
  color: var(--wa);
}
.icon-ok {
  background: var(--ok-soft);
  color: var(--ok);
}

.section-head {
  margin-bottom: 40px;
}

a.card-link {
  display: block;
  color: var(--ink);
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}
a.card-link:hover {
  color: var(--ink);
  transform: translateY(-3px);
  border-color: var(--rust);
  box-shadow: var(--shadow);
}

/* Coming soon cards */
.soon-card {
  position: relative;
  border-style: dashed;
  border-width: 2px;
}
.soon-card .checklist li::before {
  background-color: var(--rust-soft);
}
.soon-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--rust);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}

/* Feature detail rows */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 48px 0;
  border-top: 1px solid var(--line);
}
.feature-block:first-of-type {
  border-top: 0;
}
.feature-block.reverse > :first-child {
  order: 2;
}
@media (max-width: 860px) {
  .feature-block {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .feature-block.reverse > :first-child {
    order: 0;
  }
}
.checklist {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  gap: 10px;
}
.checklist li {
  position: relative;
  padding-left: 28px;
  color: var(--ink-soft);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--ok-soft)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23276749' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L19 8'/%3E%3C/svg%3E")
    center/12px no-repeat;
}
.feature-visual {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow);
}
.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--paper-deep);
  color: var(--ink-soft);
  margin-left: 6px;
  vertical-align: middle;
}

/* Steps */
.steps {
  counter-reset: step;
}
.step {
  position: relative;
  padding-left: 0;
}
.step-num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--rust);
  color: #fff;
  font-weight: 800;
  margin-bottom: 10px;
}

/* Pricing */
.price-toggle {
  display: inline-flex;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  margin: 0 auto 36px;
}
.price-toggle button {
  border: 0;
  background: none;
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  color: var(--ink-soft);
  font-family: var(--body);
}
.price-toggle button.active {
  background: var(--rust);
  color: #fff;
}
.save-badge {
  font-size: 0.72rem;
  background: var(--ok-soft);
  color: var(--ok);
  border-radius: 999px;
  padding: 2px 8px;
  margin-left: 4px;
}
.plans {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: stretch;
}
@media (max-width: 1020px) {
  .plans {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 620px) {
  .plans {
    grid-template-columns: 1fr;
  }
}
.plan {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px;
  position: relative;
}
.plan.featured {
  border: 2px solid var(--rust);
  box-shadow: var(--shadow);
}
.plan-badge {
  position: absolute;
  top: -12px;
  left: 26px;
  background: var(--rust);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}
.plan h3 {
  font-size: 1.25rem;
  margin: 0;
}
.plan .desc {
  color: var(--muted);
  font-size: 0.92rem;
  min-height: 44px;
  margin: 6px 0 14px;
}
.price {
  font-family: var(--display);
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
}
.price small {
  font-family: var(--body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
}
.plan .billed {
  font-size: 0.82rem;
  color: var(--muted);
  min-height: 20px;
  margin: 6px 0 18px;
}
.plan ul {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: grid;
  gap: 9px;
  font-size: 0.94rem;
  flex: 1;
}
.plan li {
  padding-left: 24px;
  position: relative;
  color: var(--ink-soft);
}
.plan li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--ok);
  font-weight: 800;
}
.plan li.no {
  color: #a39886;
}
.plan li.no::before {
  content: "–";
  color: #a39886;
}
.plan .btn {
  width: 100%;
}

.compare {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 0.94rem;
}
.compare th,
.compare td {
  padding: 12px 14px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.compare th:first-child,
.compare td:first-child {
  text-align: left;
}
.compare thead th {
  background: var(--paper-deep);
  border-top: 0;
  font-size: 0.85rem;
}
.compare .yes {
  color: var(--ok);
  font-weight: 800;
}
.compare .no {
  color: #a39886;
}
.table-scroll {
  overflow-x: auto;
}

/* FAQ */
.faq {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}
.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 20px;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.faq summary::after {
  content: "+";
  color: var(--rust);
  font-size: 1.3rem;
  line-height: 1;
}
.faq details[open] summary::after {
  content: "–";
}
.faq details p {
  margin: 12px 0 0;
  color: var(--ink-soft);
}

/* CTA band */
.cta-band {
  background: var(--rust);
  color: #fff;
  border-radius: 24px;
  padding: 48px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}
.cta-band h2 {
  margin: 0 0 6px;
}
.cta-band p {
  margin: 0;
  color: #ffe7da;
}
@media (max-width: 620px) {
  .cta-band {
    padding: 32px 24px;
  }
}

/* Features page banner */
.features-hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  background: var(--dark);
  color: #f5efe4;
  padding: 84px 0 56px;
}
.features-hero::before {
  /* faint grid */
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(
    ellipse at center,
    #000 30%,
    transparent 75%
  );
}
.features-hero::after {
  /* rust glow */
  content: "";
  position: absolute;
  left: 50%;
  top: -220px;
  width: 760px;
  height: 460px;
  transform: translateX(-50%);
  background: radial-gradient(
    closest-side,
    rgba(194, 65, 12, 0.45),
    transparent
  );
  pointer-events: none;
}
.features-hero .container {
  position: relative;
  z-index: 1;
}
.features-hero h1 {
  max-width: 880px;
  margin: 0 auto 18px;
  color: #fff;
}
.features-hero h1 span {
  background: linear-gradient(90deg, #f59e6b, var(--rust) 60%, #e08a68);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.features-hero .lead {
  color: #cfc5b5;
  margin: 0 auto;
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #e9e0d1;
}
.hero-pill i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.18);
}
.hero-btns {
  justify-content: center;
  margin-top: 28px;
}
.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.feature-jump {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 10px;
  margin: 52px auto 0;
  max-width: 1080px;
}
@media (max-width: 1020px) {
  .feature-jump {
    grid-template-columns: repeat(5, 1fr);
  }
}
@media (max-width: 620px) {
  .feature-jump {
    grid-template-columns: repeat(3, 1fr);
  }
}
.feature-jump a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 6px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e9e0d1;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.2;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease;
}
.feature-jump a:hover {
  background: rgba(194, 65, 12, 0.18);
  border-color: rgba(194, 65, 12, 0.6);
  color: #fff;
  transform: translateY(-2px);
}
.feature-jump a > span {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: rgba(194, 65, 12, 0.2);
  color: #f59e6b;
}
.feature-jump a > span svg {
  width: 20px;
  height: 20px;
}
.feature-jump a.is-soon {
  border-style: dashed;
}

/* Keep jumped-to sections clear of the sticky header */
.feature-block[id],
#coming-soon {
  scroll-margin-top: 84px;
}

/* Page hero (inner pages) */
.page-hero {
  padding: 64px 0 40px;
}
.page-hero .lead {
  margin-bottom: 0;
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.stat b {
  display: block;
  font-family: var(--display);
  font-size: 2.4rem;
  color: var(--rust);
  line-height: 1.1;
}
.stat span {
  color: var(--muted);
  font-size: 0.92rem;
}
@media (max-width: 720px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Contact */
.form {
  display: grid;
  gap: 14px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 620px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}
.field label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #c4b59a;
  border-radius: 12px;
  background: #fff;
  font: inherit;
  color: var(--ink);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--rust-soft);
  border-color: var(--rust);
}
.field textarea {
  min-height: 130px;
  resize: vertical;
}
.form-note {
  font-size: 0.85rem;
  color: var(--muted);
}
.form-status {
  font-weight: 600;
  color: var(--ok);
}
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 18px;
}
.contact-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.contact-list b {
  display: block;
}

/* Legal pages */
.legal {
  max-width: 820px;
}
.legal h2 {
  font-family: var(--body);
  font-size: 1.3rem;
  font-weight: 800;
  margin-top: 2em;
}
.legal h3 {
  margin-top: 1.4em;
}
.legal p,
.legal li {
  color: var(--ink-soft);
}
.legal ul {
  padding-left: 22px;
}
.legal li {
  margin-bottom: 6px;
}
.legal .updated {
  color: var(--muted);
  font-size: 0.92rem;
}
.toc {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 22px;
  margin: 24px 0;
}
.toc ol {
  margin: 8px 0 0;
  padding-left: 20px;
  columns: 2;
  column-gap: 32px;
}
@media (max-width: 620px) {
  .toc ol {
    columns: 1;
  }
}

/* Footer */
.site-footer {
  background: var(--dark);
  color: #cfc5b5;
  padding: 64px 0 28px;
  margin-top: 0;
}
.site-footer a {
  color: #e9e0d1;
}
.site-footer a:hover {
  color: #fff;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
}
@media (max-width: 820px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.footer-grid h4 {
  color: #fff;
  font-size: 0.82rem;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 9px;
  font-size: 0.94rem;
}
.footer-brand {
  color: #fff;
  font-weight: 800;
  font-size: 1.15rem;
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
}
.footer-brand img {
  width: 30px;
  height: 30px;
}
.footer-bottom {
  border-top: 1px solid #2c2721;
  margin-top: 40px;
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: 0.86rem;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: grid;
  gap: 6px;
  font-size: 0.92rem;
}
.card-highlight {
  border: 2px solid var(--rust);
  background: #fff7f1;
}

/* Mobile header: Book a demo next to the menu button */
.nav-demo-mobile {
  display: none;
}
@media (max-width: 920px) {
  .nav-demo-mobile {
    display: inline-flex;
    margin-left: auto;
    padding: 9px 14px;
    font-size: 0.88rem;
    border-radius: 10px;
    white-space: nowrap;
  }
}
@media (max-width: 380px) {
  .nav-demo-mobile {
    padding: 8px 11px;
    font-size: 0.82rem;
  }
  .brand {
    font-size: 1.02rem;
  }
  .brand img {
    width: 28px;
    height: 28px;
  }
}
@media (max-width: 920px) {
  .nav-cta .btn-primary {
    display: none;
  }
}
