/* ========================================
   SHARED SECTION PRIMITIVES + SHARED BLOCKS
   Used by Home, Platform, Customers, Resources, Product detail
   ======================================== */

.section {
  padding: 120px 0;
  position: relative;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 64px;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.section-head h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ink);
}

.section-head h2 p { margin: 0; }

.section-lead {
  margin-top: 20px;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--ink-light);
}

/* --- chips --- */
.chip {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid var(--paper-border);
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ink-light);
  background: var(--white);
}

/* ========================================
   PLATFORM DIAGRAM (3-tier)
   ======================================== */
.arch-stack {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.arch-layer {
  padding: 28px 32px;
  border: 1px solid var(--paper-border);
  border-radius: 6px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.arch-layer--highlight {
  border-color: var(--accent);
  background: linear-gradient(180deg, var(--accent-light), var(--white));
  box-shadow: 0 20px 50px -30px rgba(250, 74, 52, 0.5);
}

.arch-layer__label {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--ink);
}

.arch-layer--highlight .arch-layer__label { color: var(--accent); }

.arch-layer__desc {
  font-size: 0.9375rem;
  color: var(--ink-light);
}

/* ========================================
   PRODUCTS GRID (3 cards)
   ======================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.product-tile {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 36px 32px;
  border: 1px solid var(--paper-border);
  border-radius: 6px;
  background: var(--white);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.product-tile:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 24px 50px -30px rgba(0, 0, 0, 0.3);
}

.product-tile__label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.product-tile__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
}

.product-tile__desc {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--ink-light);
}

/* ========================================
   UNSTRUCTURED CALLOUT
   ======================================== */
.unstructured-callout .callout-card {
  text-align: center;
  padding: 72px 56px;
  border-radius: 10px;
  background: var(--paper-dark);
  border: 1px solid var(--paper-border);
}

.callout-card h2 {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.callout-chips {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 900px) {
  .products-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 80px 0; }
  .section-head { margin-bottom: 44px; }
  .unstructured-callout .callout-card { padding: 48px 28px; }
}
