/* =========================================================
   LiVeritas — Products
   Clean White Product Cards
   ========================================================= */

#products {
  background: #eaf4ff;

}

#products .wrap {
  width: min(1500px, calc(100% - 80px));
  margin: 0 auto;
}


/* =========================================================
   SECTION HEADING
   ========================================================= */

#products .head {
  max-width: 1050px;
  margin: 0;
  color: #10283b;
}


/* =========================================================
   FEATURED PRODUCTS
   ========================================================= */

.prod-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}


/* =========================================================
   PRODUCT CARD
   ========================================================= */

.prod-card {
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;

  border: 1px solid rgba(1, 78, 138, .08);

  box-shadow:
    0 10px 30px rgba(1, 53, 96, .10);

  transition:
    transform .4s cubic-bezier(.22, 1, .36, 1),
    box-shadow .4s cubic-bezier(.22, 1, .36, 1);
}

.prod-card:hover {
  transform: translateY(-6px);

  box-shadow:
    0 18px 40px rgba(1, 53, 96, .14);
}


/* =========================================================
   PRODUCT HEADER
   ========================================================= */

.prod-head {
  position: relative;
  overflow: hidden;

  padding: 32px 34px 30px;

  background: #ffffff;

  border-bottom: 1px solid rgba(1, 78, 138, .10);
}


/* very subtle scientific glow */
.prod-head::after {
  content: "";

  position: absolute;
  inset: 0;

  pointer-events: none;

  background:
    radial-gradient(
      circle at 92% 8%,
      rgba(127, 166, 218, .12),
      transparent 48%
    );
}


/* =========================================================
   STATUS BADGE
   ========================================================= */

.prod-badge {
  position: relative;
  z-index: 1;

  display: inline-flex;
  align-items: center;
  gap: 8px;

  background: #f1f7fd;

  border: 1px solid rgba(1, 78, 138, .18);

  color: #014e8a;

  font-family:
    "Inter Tight",
    "Inter",
    Arial,
    sans-serif;

  font-size: 11px;
  font-weight: 600;

  letter-spacing: .02em;

  padding: 6px 13px;

  border-radius: 20px;
}


/* status diamond */
.mark-sm {
  width: 6px;
  height: 6px;

  display: inline-block;

  background: #2f6fc4;

  transform: rotate(45deg);

  flex-shrink: 0;
}


/* =========================================================
   PRODUCT NAME
   ========================================================= */

.product-name {
  position: relative;
  z-index: 1;

  font-family:
    "Inter Tight",
    "Inter",
    Arial,
    sans-serif;

  font-weight: 700;

  line-height: .95;
  letter-spacing: -.025em;

  display: flex;
  flex-direction: column;
  align-items: flex-start;

  gap: 4px;

  margin: 18px 0 0;
}


/* LiVeritas master brand */
.product-master {
  display: block;

  font-family:
    "Inter Tight",
    "Inter",
    Arial,
    sans-serif;

  font-size: 13px;
  font-weight: 700;

  line-height: 1;

  letter-spacing: .02em;

  color: #014e8a;
}


/* Featured product names */

.product-sylvia,
.product-petra {
  display: block;

  font-family:
    "Inter Tight",
    "Inter",
    Arial,
    sans-serif;

  font-size: 36px;
  font-weight: 700;

  line-height: 1;
}


/* Sylvia */
.product-sylvia {
  color: #00a8b8;
}


/* Petra */
.product-petra {
  color: #6c3bf2;
}


/* =========================================================
   PRODUCT ROLE
   ========================================================= */

.prod-head .role {
  position: relative;
  z-index: 1;

  color: #5d7287;

  font-size: 14px;
  font-weight: 500;

  margin-top: 9px;

  font-family:
    "Inter Tight",
    "Inter",
    Arial,
    sans-serif;
}


/* =========================================================
   PRODUCT DESCRIPTION
   ========================================================= */

.prod-body {
  padding: 28px 34px 34px;

  background: #ffffff;
}

.prod-body p {
  margin: 0;

  color: #68798a;

  font-family:
    "IBM Plex Sans",
    Arial,
    sans-serif;

  font-size: 15.5px;

  line-height: 1.65;

  max-width: 680px;
}


/* =========================================================
   ROADMAP
   ========================================================= */

.roadmap {
  margin-top: 42px;

  padding-top: 42px;

  border-top: 1px solid rgba(1, 78, 138, .15);
}


/* roadmap heading */
.roadmap h4 {
  margin: 0 0 26px;

  color: #014e8a;

  font-family:
    "IBM Plex Sans",
    Arial,
    sans-serif;

  font-size: 14px;
  font-weight: 600;

  letter-spacing: .025em;
}


/* =========================================================
   DEVELOPMENT PRODUCT GRID
   ========================================================= */

.wip-grid {
  display: grid;

  grid-template-columns:
    repeat(4, minmax(0, 1fr));

  gap: 16px;
}


/* individual development card */
.wip-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;

  min-height: 140px;

  padding: 22px 20px;

  background: rgba(255, 255, 255, .62);

  border: 1px dashed rgba(1, 78, 138, .20);

  border-radius: 8px;

  transition:
    background .3s ease,
    border-color .3s ease,
    transform .3s ease;
}

.wip-item:hover {
  background: #ffffff;

  border-color: rgba(1, 78, 138, .30);

  transform: translateY(-3px);
}


/* smaller LiVeritas above product */
.wip-item .product-master {
  font-size: 11px;

  margin-bottom: 9px;
}


/* development product name */
.wip-item strong {
  display: block;

  font-family:
    "Inter Tight",
    "Inter",
    Arial,
    sans-serif;

  font-size: 25px;
  font-weight: 700;

  line-height: 1;

  letter-spacing: -.02em;
}


/* descriptions */
.wip-item small {
  margin-top: 8px;

  color: #64778a;

  font-family:
    "IBM Plex Sans",
    Arial,
    sans-serif;

  font-size: 12.5px;

  line-height: 1.4;
}


/* development label */
.wip-item em {
  margin-top: auto;
  padding-top: 15px;

  font-family:
    "IBM Plex Mono",
    monospace;

  font-size: 9px;
  font-style: normal;

  letter-spacing: .10em;

  color: #263f57;
}


/* =========================================================
   DEVELOPMENT PRODUCT COLORS
   ========================================================= */

.wip-irma {
  color: #ff5a4f;
}

.wip-desmond {
  color: #0072ce;
}

.wip-gian {
  color: #16a34a;
}

.wip-indie {
  color: #6c3bf2;
}


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

@media (max-width: 900px) {

  #products {
    padding: 72px 0;
  }

  #products .wrap {
    width: min(100% - 40px, 700px);
  }

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

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


@media (max-width: 560px) {

  #products {
    padding: 60px 0;
  }

  #products .wrap {
    width: min(100% - 32px, 500px);
  }

  .prod-grid {
    gap: 18px;
  }

  .prod-head {
    padding: 26px 24px 24px;
  }

  .prod-body {
    padding: 24px;
  }

  .product-sylvia,
  .product-petra {
    font-size: 32px;
  }

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

  .wip-item {
    min-height: 125px;
  }
}