.tech-page {
  --tech-gold: #e9ad22;
  --tech-bright: #ffd266;
  --tech-navy: #0a1426;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(233, 173, 34, .12), transparent 42%),
    linear-gradient(180deg, #07060c 0%, var(--tech-navy) 28%, #050403 100%);
  color: #f5ebd5;
}

.tech-page a { color: inherit; }

.tech-crumb {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 18px max(22px, 6vw) 0;
  color: #8d8168;
  font-size: 12px;
}

.tech-crumb a { color: var(--tech-gold); font-weight: 700; }

.tech-eyebrow {
  margin: 0 0 12px;
  color: var(--tech-gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.tech-hero {
  position: relative;
  padding: clamp(36px, 6vw, 84px) max(22px, 6vw) 36px;
}

.tech-hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 18% 20%, rgba(18, 48, 92, .35), transparent 28%),
    radial-gradient(ellipse at 82% 10%, rgba(233, 173, 34, .12), transparent 26%);
}

.tech-hero h1,
.tech-hero .tech-subtitle,
.tech-hero .tech-lead,
.tech-jump {
  position: relative;
  z-index: 1;
}

.tech-page h1,
.tech-page h2,
.tech-page h3 {
  color: #fff1c9;
  letter-spacing: -.03em;
}

.tech-page h1 {
  margin: 0 0 16px;
  max-width: 16ch;
  font-size: clamp(2.2rem, 6vw, 4.4rem);
  line-height: .96;
  text-transform: uppercase;
  background: linear-gradient(180deg, #fff6d2 0%, #ffd266 32%, #e9ad22 58%, #c88914 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tech-subtitle {
  margin: 0 0 18px;
  max-width: 22em;
  color: #f0e2b6;
  font-size: clamp(1.05rem, 2.2vw, 1.45rem);
  line-height: 1.4;
}

.tech-lead,
.tech-section-copy p,
.tech-note p {
  max-width: 46em;
  color: #c2b8a6;
  font-size: 16px;
  line-height: 1.7;
}

.tech-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.tech-jump a,
.tech-note-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(233, 173, 34, .45);
  border-radius: 999px;
  color: #ffd266;
  font-size: 13px;
  font-weight: 700;
}

.tech-section {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr);
  gap: 36px;
  align-items: start;
  width: min(1480px, calc(100% - 40px));
  margin: 0 auto;
  padding: 42px 0;
  border-top: 1px solid rgba(233, 173, 34, .16);
}

.tech-section:nth-of-type(odd) {
  grid-template-columns: minmax(260px, .85fr) minmax(0, 1.15fr);
}

.tech-section:nth-of-type(odd) .tech-section-visual { order: -1; }

.tech-section h2 {
  margin: 0 0 14px;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.tech-section h3 {
  margin: 22px 0 10px;
  color: var(--tech-bright);
  font-size: 14px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.tech-section-copy a {
  color: var(--tech-gold);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tech-section-lead {
  color: #e8d7a4 !important;
}

.tech-section ul {
  margin: 0;
  padding-left: 18px;
  color: #c2b8a6;
  line-height: 1.65;
}

.tech-apps {
  display: grid;
  gap: 6px;
}

.tech-section-visual {
  position: sticky;
  top: 96px;
  min-height: 220px;
  padding: 22px;
  border: 1px solid rgba(214, 164, 40, .4);
  border-radius: 22px;
  background: linear-gradient(165deg, #12100c 0%, #07080f 100%);
  box-shadow: 0 0 26px rgba(201, 132, 8, .12);
}

.tech-diagram {
  display: block;
  width: 100%;
  height: auto;
}

.tech-diagram-grid,
.tech-diagram-wave,
.tech-diagram-cut {
  fill: none;
  stroke: #e9ad22;
  stroke-width: 1.4;
}

.tech-diagram-grid { opacity: .35; }
.tech-diagram-wave { stroke-width: 1.8; }
.tech-diagram-cut { stroke-dasharray: 4 4; opacity: .8; }
.tech-diagram-node,
.tech-diagram-hub { fill: #ffd266; }
.tech-diagram-hub { fill: none; stroke: #ffd266; stroke-width: 2; }
.tech-diagram-box {
  fill: rgba(233, 173, 34, .08);
  stroke: #e9ad22;
}

.tech-diagram text {
  fill: #c2b8a6;
  font-size: 11px;
}

.tech-note {
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto 64px;
  padding: 32px 28px;
  border: 1px solid rgba(233, 173, 34, .28);
  border-radius: 22px;
  background: rgba(10, 8, 6, .7);
}

.tech-note h2 {
  margin: 0 0 12px;
  font-size: 1.7rem;
}

.tech-note-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.tech-note-actions a:last-child {
  background: transparent;
  color: #e8d7a4;
}

.tech-faq {
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto 64px;
}

.tech-faq h2 {
  margin: 0 0 18px;
  font-size: 1.7rem;
}

.tech-faq details {
  padding: 14px 0;
  border-bottom: 1px solid rgba(233, 173, 34, .2);
}

.tech-faq summary {
  cursor: pointer;
  font-weight: 700;
  color: #fff6dc;
}

.tech-faq details p {
  margin: 10px 0 0;
  color: #d8cba8;
  line-height: 1.65;
}

@media (max-width: 980px) {
  .tech-section,
  .tech-section:nth-of-type(odd) {
    grid-template-columns: 1fr;
    width: calc(100% - 36px);
  }

  .tech-section:nth-of-type(odd) .tech-section-visual { order: 0; }

  .tech-section-visual { position: static; }
}

@media (max-width: 768px) {
  .tech-hero,
  .tech-crumb {
    padding-left: 18px;
    padding-right: 18px;
  }

  .tech-page h1 { max-width: none; }

  .tech-jump a,
  .tech-note-actions a {
    width: 100%;
    justify-content: center;
  }

  .tech-note {
    width: calc(100% - 36px);
    padding: 24px 18px;
    margin-bottom: 36px;
  }
}

@media (max-width: 390px) {
  .tech-section { padding: 28px 0; }
}
