/* Shared presentation for the function-first OC hubs. */
:root {
  --hub-accent: #246fa5;
  --hub-soft: #e8f2f8;
  --hub-accent-deep: #173e67;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background: #f6f7f9;
  color: #172033;
  font: 14px/1.5 ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body[data-hub="sales"] {
  --hub-accent: #217a4a;
  --hub-soft: #e9f7ee;
  --hub-accent-deep: #14532d;
}

body[data-hub="operations"] {
  --hub-accent: #b85c00;
  --hub-soft: #fff3e6;
  --hub-accent-deep: #7c3c00;
}

body[data-hub="marketing"] {
  --hub-accent: #087f78;
  --hub-soft: #e5f6f3;
  --hub-accent-deep: #075f5a;
}

body[data-hub="creative"] {
  --hub-accent: #6e48a8;
  --hub-soft: #f2ecfa;
  --hub-accent-deep: #4c2d7d;
}

main {
  max-width: 980px;
  margin: 0 auto;
  padding: 48px 24px 72px;
}

.hub-eyebrow {
  margin: 0 0 8px;
  color: var(--hub-accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 7px;
  font-size: clamp(27px, 4vw, 34px);
  letter-spacing: -.035em;
  line-height: 1.08;
}

.hub-subtitle {
  max-width: 720px;
  margin: 0 0 30px;
  color: #667085;
  font-size: 15px;
}

.section-title {
  margin: 30px 0 9px;
  color: #344054;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.section-note {
  margin: 0 0 13px;
  color: #667085;
  font-size: 13px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}

.card {
  display: block;
  min-height: 152px;
  border: 1px solid #d7dde8;
  border-top: 4px solid var(--hub-accent);
  border-radius: 10px;
  background: #fff;
  padding: 18px 20px 19px;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(16, 24, 40, .06);
}

a.card:hover {
  border-color: #afbdcd;
  box-shadow: 0 8px 20px rgba(16, 24, 40, .10);
  transform: translateY(-1px);
  transition: border-color .18s, box-shadow .18s, transform .18s;
}

.card.reference {
  min-height: 0;
  border-top-color: #b8c2ce;
  border-style: dashed;
  background: #fbfcfd;
  box-shadow: none;
}

.card.reserved {
  border-top-color: #c4cbd5;
  background: #f8fafc;
  color: #667085;
  box-shadow: none;
}

.title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 7px;
}

.title {
  font-size: 17px;
  font-weight: 780;
  letter-spacing: -.015em;
  line-height: 1.22;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  border: 1px solid color-mix(in srgb, var(--hub-accent) 28%, #ffffff);
  border-radius: 999px;
  background: var(--hub-soft);
  padding: 2px 8px;
  color: var(--hub-accent-deep);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .02em;
  line-height: 1;
  white-space: nowrap;
}

.reference .badge,
.reserved .badge {
  border-color: #d7dde8;
  background: #f1f4f7;
  color: #667085;
}

.desc {
  display: block;
  color: #667085;
  font-size: 13px;
  line-height: 1.5;
}

.card-link {
  display: block;
  margin-top: 13px;
  color: var(--hub-accent-deep);
  font-size: 12px;
  font-weight: 800;
}

.reference .card-link { color: #4b5d70; }

footer {
  margin-top: 33px;
  color: #8993a4;
  font-size: 12px;
}

@media (max-width: 720px) {
  main { padding: 34px 16px 54px; }
  .grid { grid-template-columns: 1fr; }
  .card { min-height: 0; }
}
