/* ==========================================================
   Radztech ERP page — builds on styles.css and feature.css
   ========================================================== */

/* ---------- Cobalt identity ----------
   Radztech ERP is the flagship: cobalt (the app's cobalt theme, #1565c0)
   replaces the site's orange on this page. */

:root {
  --accent: #1565c0;
  --accent-ink: #0d47a1;
}

.pill {
  background: #e3f2fd;
}

/* ---------- Hero ---------- */

.erp-hero {
  background: linear-gradient(160deg, #0a2a5e 0%, #0d47a1 55%, #1565c0 100%);
  color: #fff;
}

.erp-hero .eyebrow {
  color: rgba(255, 255, 255, 0.85);
}

.erp-hero .dot {
  background: #90caf9;
}

.erp-hero .muted {
  color: rgba(255, 255, 255, 0.62);
}

.erp-hero .hero__lede {
  color: rgba(255, 255, 255, 0.85);
}

/* the flagship's spec sheet */

.spec {
  width: 100%;
  max-width: 460px;
  justify-self: end;
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.55);
}

.spec__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}

.spec__head b {
  font-size: 18px;
  letter-spacing: -0.015em;
}

.spec__head span {
  font-size: 12.5px;
  color: var(--muted);
}

.spec__rows div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 24px;
  border-bottom: 1px solid var(--line);
}

.spec__rows div:last-child {
  border-bottom: 0;
}

.spec__rows dt {
  font-size: 14px;
  color: var(--ink-2);
}

.spec__rows dd {
  font-size: 14.5px;
  font-weight: 600;
  white-space: nowrap;
}

.excl {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: #0d47a1;
  background: #e3f2fd;
}

/* ---------- Pillars ---------- */

.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 56px;
}

.pillar {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.pillar__big {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #e3f2fd;
  color: #0d47a1;
  font-size: 24px;
  line-height: 1;
}

.pillar h3 {
  margin-top: 20px;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.pillar p {
  margin-top: 10px;
  font-size: 15px;
  color: var(--ink-2);
}

/* ---------- Compare ---------- */

.engine--page {
  margin-top: 56px;
  background: #fff;
}

.engine--page .link {
  margin-top: 20px;
}

/* ---------- Tables in mocks ---------- */

.tbl {
  width: 100%;
  margin-top: 16px;
  border-collapse: collapse;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.tbl th,
.tbl td {
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  text-align: right;
  white-space: nowrap;
}

.tbl th + th,
.tbl td + td {
  padding-left: 12px;
}

.tbl th:first-child,
.tbl td:first-child {
  text-align: left;
  white-space: normal;
}

.tbl th {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}

.tbl tfoot td {
  border-bottom: 0;
  font-weight: 600;
}

.tbl--fs .sub td {
  font-weight: 600;
}

.tbl--fs th:last-child,
.tbl--fs td:last-child {
  color: #0d47a1;
  font-weight: 600;
}

.select {
  display: inline-block;
  padding: 2px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
}

/* ---------- Exclusive ---------- */

.excls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 56px;
}

.excl-card {
  display: flex;
  flex-direction: column;
  padding: 32px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  background: #fff;
}

.excl-card h3 {
  font-size: 22px;
  letter-spacing: -0.02em;
}

.excl-card > p {
  margin-top: 10px;
  font-size: 15px;
  color: var(--ink-2);
}

.excl-card .mock {
  margin-top: 28px;
  box-shadow: none;
  background: var(--bg-alt);
}

.links {
  display: grid;
  margin-top: 12px;
}

.links li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.links li:last-child {
  border-bottom: 0;
}

.links__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #e3f2fd;
  color: #0d47a1;
  font-size: 13px;
  font-weight: 600;
}

.links div {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.links em {
  font-style: normal;
  font-size: 12.5px;
  color: var(--muted);
}

/* ---------- Run it your way ---------- */

.ways {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 56px;
}

.way {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.way__tag {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-ink);
}

.way h3 {
  margin-top: 10px;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.way > p:not(.way__tag) {
  margin-top: 10px;
  font-size: 15px;
  color: var(--ink-2);
}

.way .link {
  margin-top: auto;
  padding-top: 20px;
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .spec {
    justify-self: center;
  }

  .pillars,
  .excls,
  .ways {
    grid-template-columns: minmax(0, 1fr);
  }

  .pillars,
  .ways {
    max-width: 640px;
  }
}

@media (max-width: 600px) {
  .pillars,
  .excls,
  .ways {
    margin-top: 40px;
  }

  .pillar,
  .excl-card,
  .way {
    padding: 24px;
  }

  .excl-card .mock {
    padding: 14px;
  }

  .spec__head,
  .spec__rows div {
    padding-left: 18px;
    padding-right: 18px;
  }

  .tbl {
    font-size: 12px;
  }

  .tbl th + th,
  .tbl td + td {
    padding-left: 8px;
  }
}
