/* Technology page - aligned with leadership / about lite design language */

.tp-page {
  --tp-brand: #3384fc;
  --tp-ink: #0f172a;
  --tp-muted: #64748b;
  --tp-line: #e2e8f0;
  color: var(--tp-ink);
}

.tp-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #f1f5f9;
}

.tp-hero-bg {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 100% 0%, rgba(51, 132, 252, 0.12), transparent 55%),
    radial-gradient(ellipse 50% 45% at 0% 100%, rgba(124, 58, 237, 0.08), transparent 50%),
    linear-gradient(180deg, #f8fafc, #fff);
}

.tp-hero-inner {
  position: relative;
  padding: 6.5rem 0 3.25rem;
  max-width: 52rem;
}

.tp-hero-shell {
  position: relative;
  padding-top: 6.5rem;
  padding-bottom: 3.5rem;
}

@media (min-width: 768px) {
  .tp-hero-shell {
    padding-top: 7.5rem;
    padding-bottom: 4.5rem;
  }
}

.tp-hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .tp-hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.tp-hero-visual {
  position: relative;
}

.tp-stamp-glow {
  position: absolute;
  inset: -1rem;
  border-radius: 1.75rem;
  background: linear-gradient(135deg, rgba(51, 132, 252, 0.2), rgba(124, 58, 237, 0.12));
  filter: blur(28px);
}

.tp-stamp {
  position: relative;
  overflow: hidden;
  border-radius: 1.25rem;
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: #fff;
  box-shadow: 0 24px 60px -24px rgba(51, 132, 252, 0.22);
}

.tp-stamp-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid #f1f5f9;
  background: linear-gradient(180deg, #f8fafc, #fff);
  padding: 0.75rem 1rem;
}

.tp-stamp-dot {
  height: 0.625rem;
  width: 0.625rem;
  border-radius: 9999px;
}

.tp-stamp-url {
  margin-left: 0.25rem;
  flex: 1;
  text-align: center;
  font-family: ui-monospace, monospace;
  font-size: 0.6875rem;
  color: #94a3b8;
}

.tp-stamp-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.tp-stamp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.75rem 1rem;
  border-top: 1px solid #f1f5f9;
  background: linear-gradient(180deg, #fff, #f8fafc);
}

.tp-stamp-tags span {
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  border: 1px solid rgba(51, 132, 252, 0.2);
  background: rgba(239, 246, 255, 0.9);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #1d4ed8;
}

.tp-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
  font-size: 0.8125rem;
  color: #94a3b8;
}

.tp-crumb a {
  color: #64748b;
  transition: color 0.15s;
}

.tp-crumb a:hover {
  color: var(--tp-brand);
}

.tp-eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #2563eb;
}

.tp-title {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.15rem);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.tp-lead {
  margin: 1.1rem 0 0;
  font-size: 1.05rem;
  line-height: 1.75;
  color: #475569;
}

.tp-lead strong {
  font-weight: 650;
  color: #1e3a8a;
}

.tp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.tp-hero-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 640px) {
  .tp-hero-highlights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.tp-hero-highlights li {
  padding: 0.9rem 1rem;
  border: 1px solid rgba(51, 132, 252, 0.16);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.85);
}

.tp-hero-highlights strong {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--tp-ink);
  line-height: 1.35;
}

.tp-hero-highlights span {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0284c7;
}

/* .NET featured band */
.tp-dotnet {
  padding: 3.5rem 0 1rem;
}

.tp-dotnet-panel {
  display: grid;
  gap: 2rem;
  padding: 1.75rem;
  border: 1px solid rgba(51, 132, 252, 0.2);
  border-radius: 1.5rem;
  background:
    linear-gradient(135deg, rgba(239, 246, 255, 0.98), rgba(255, 255, 255, 0.95) 42%, rgba(245, 243, 255, 0.9));
  box-shadow: 0 24px 60px -40px rgba(15, 23, 42, 0.35);
}

@media (min-width: 960px) {
  .tp-dotnet-panel {
    grid-template-columns: 1.4fr 0.85fr;
    gap: 2.5rem;
    padding: 2.25rem;
  }
}

.tp-dotnet-copy h2,
.tp-section-head h2,
.tp-cta h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.tp-section-lead,
.tp-dotnet-points p,
.tp-category-head p,
.tp-tech-card p,
.tp-section-head p,
.tp-principle p,
.tp-principles-note,
.tp-cta p {
  margin: 0 0 1rem;
  color: #475569;
  line-height: 1.75;
}

.tp-dotnet-points {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

@media (min-width: 640px) {
  .tp-dotnet-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.tp-dotnet-points article {
  padding: 1rem 1.05rem;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.75);
}

.tp-dotnet-points h3,
.tp-tech-card h4,
.tp-principle h3 {
  margin: 0 0 0.45rem;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.tp-dotnet-aside {
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
  border-radius: 1.15rem;
  border: 1px solid rgba(51, 132, 252, 0.22);
  background: #0f172a;
  color: #e2e8f0;
}

.tp-aside-label {
  margin: 0 0 1rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #93c5fd;
}

.tp-aside-note {
  margin: 1.1rem 0 0;
  font-size: 0.875rem;
  color: #94a3b8;
}

.tp-aside-note p {
  margin: 0 0 0.85rem;
  line-height: 1.7;
  color: #94a3b8;
}

.tp-aside-note p:last-child {
  margin-bottom: 0;
}

.tp-tag-list,
.tp-inventory-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tp-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.85rem;
  border-radius: 9999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #334155;
}

.tp-dotnet-aside .tp-tag {
  border-color: rgba(148, 163, 184, 0.28);
  background: rgba(15, 23, 42, 0.35);
  color: #e2e8f0;
}

.tp-tag--featured {
  border-color: rgba(51, 132, 252, 0.45);
  background: linear-gradient(135deg, #eff6ff, #f5f3ff);
  color: #1d4ed8;
}

.tp-dotnet-aside .tp-tag--featured {
  border-color: rgba(96, 165, 250, 0.45);
  background: rgba(51, 132, 252, 0.18);
  color: #bfdbfe;
}

/* Categories */
.tp-aeo {
  padding: 2rem 0 0;
}

.tp-aeo-panel {
  max-width: 52rem;
  margin: 0 auto;
  padding: 1.35rem 1.5rem;
  border: 1px solid rgba(51, 132, 252, 0.2);
  border-radius: 1.15rem;
  background: linear-gradient(135deg, rgba(239, 246, 255, 0.95), rgba(255, 255, 255, 0.98));
}

.tp-aeo-panel h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.tp-aeo-panel p {
  margin: 0;
  color: #475569;
  line-height: 1.75;
}

.tp-aeo-panel strong {
  font-weight: 650;
  color: #1e3a8a;
}

.tp-categories {
  padding: 3.5rem 0 1rem;
}

.tp-section-head {
  max-width: 46rem;
  margin: 0 auto 2.25rem;
  text-align: center;
}

.tp-category-list {
  display: grid;
  gap: 2.5rem;
}

.tp-category {
  padding: 1.5rem;
  border: 1px solid var(--tp-line);
  border-radius: 1.35rem;
  background: #fff;
}

.tp-category-head {
  max-width: 44rem;
  margin-bottom: 1.25rem;
}

.tp-category-head h3 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.2rem, 2.4vw, 1.45rem);
  letter-spacing: -0.025em;
}

.tp-tech-grid {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 720px) {
  .tp-tech-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .tp-tech-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.tp-tech-card {
  padding: 1.05rem 1.1rem;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 1rem;
  background: #f8fafc;
}

.tp-tech-card--featured {
  border-color: rgba(51, 132, 252, 0.35);
  background: linear-gradient(180deg, #eff6ff, #fff);
}

.tp-badge {
  display: inline-flex;
  margin-left: 0.5rem;
  padding: 0.15rem 0.5rem;
  border-radius: 9999px;
  background: rgba(37, 99, 235, 0.1);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1d4ed8;
  vertical-align: middle;
}

.tp-tech-card p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

/* Full inventory */
.tp-inventory {
  padding: 3.5rem 0;
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(51, 132, 252, 0.06), transparent 60%),
    #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.tp-inventory-tags {
  justify-content: center;
  max-width: 58rem;
  margin: 0 auto;
}

/* Principles */
.tp-principles {
  padding: 3.5rem 0 2rem;
}

.tp-principle-grid {
  display: grid;
  gap: 0.9rem;
}

@media (min-width: 768px) {
  .tp-principle-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.tp-principle {
  padding: 1.2rem 1.25rem;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 1.1rem;
  background: #fff;
}

.tp-principle p {
  margin-bottom: 0;
}

.tp-principles-note {
  margin-top: 1.5rem;
  text-align: center;
}

.tp-principles-note a {
  color: #0369a1;
  font-weight: 600;
}

/* CTA */
.tp-cta {
  padding: 0 0 4.5rem;
}

.tp-cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.5rem 1.6rem;
  border: 1px solid rgba(51, 132, 252, 0.18);
  border-radius: 1.25rem;
  background: linear-gradient(135deg, rgba(239, 246, 255, 0.95), rgba(245, 243, 255, 0.9));
}

.tp-cta-inner h2,
.tp-cta-inner p {
  margin-bottom: 0.4rem;
}

.tp-cta-inner p {
  max-width: 36rem;
}

.tp-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@media (max-width: 640px) {
  .tp-dotnet,
  .tp-categories,
  .tp-inventory,
  .tp-principles {
    padding-top: 2.75rem;
    padding-bottom: 1.5rem;
  }

  .tp-category {
    padding: 1.15rem;
  }
}
