.tech-preview-banner { display: none; }
.tech-preview-enabled .tech-preview-banner { position: sticky; top: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; gap: 18px; min-height: 38px; padding: 6px 18px; color: #dce8f2; background: #06101b; border-bottom: 1px solid rgba(255,255,255,.14); font-size: 12px; }
.tech-preview-banner strong { color: #fff; }
.tech-preview-banner span { color: #8fa4b6; }
.tech-preview-banner a { color: #70c6f4; text-decoration: none; }
.tech-preview-enabled .site-header { top: 38px; }

.tech-hub-preview { position: relative; padding: 80px 0; overflow: hidden; color: #eef5fa; background: transparent; }
.tech-hub-preview::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: rgba(88,185,236,.24); }
.tech-hub-head { display: grid; grid-template-columns: minmax(0,1fr) minmax(280px,470px); gap: 48px; align-items: end; margin-bottom: 30px; }
.tech-hub-head h2 { margin: 7px 0 0; color: #f4f8fb; font-size: clamp(34px,4.5vw,54px); line-height: 1.08; letter-spacing: 0; }
.tech-hub-head>div>p:first-child,
.project-entry-title>p { margin: 0; color: #2b6eaa; font-size: 11px; font-weight: 900; text-transform: uppercase; }
.tech-hub-intro { margin: 0; color: #aebdcc; font-size: 16px; line-height: 1.75; }

.tech-path { display: flex; align-items: center; gap: 13px; margin: 0 0 28px; padding: 16px 20px; color: #dce9f3; background: #10283c; font-size: 12px; font-weight: 800; }
.tech-path span { white-space: nowrap; }
.tech-path i { display: block; width: 100%; height: 1px; background: #476176; }

.tech-hub-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-top: 1px solid #2b3d4d; border-left: 1px solid #2b3d4d; }
.tech-guide { display: flex; flex-direction: column; min-height: 255px; padding: 27px; color: #eef5fa; background: #101e2b; border-right: 1px solid #2b3d4d; border-bottom: 1px solid #2b3d4d; text-decoration: none; transition: transform .2s,box-shadow .2s,background .2s; }
.tech-guide:hover,
.tech-guide:focus-visible { position: relative; z-index: 2; transform: translateY(-3px); background: #14283a; box-shadow: 0 18px 42px rgba(0,0,0,.28); }
.tech-guide-priority { border-top: 3px solid #1f4e79; }
.tech-guide span { color: #2b6eaa; font-size: 11px; font-weight: 900; }
.tech-guide h3 { margin: 18px 0 9px; color: #f4f8fb; font-size: 21px; line-height: 1.28; letter-spacing: 0; }
.tech-guide p { margin: 0; color: #a9b9c7; font-size: 14px; line-height: 1.72; }
.tech-guide strong { margin-top: auto; padding-top: 20px; color: #69c8f5; font-size: 13px; }

.project-entry { display: grid; grid-template-columns: 230px 1fr; gap: 34px; align-items: start; margin-top: 38px; padding: 26px 0; border-top: 1px solid #2b3d4d; border-bottom: 1px solid #2b3d4d; }
.project-entry h3 { margin: 7px 0 0; color: #f4f8fb; font-size: 25px; line-height: 1.2; letter-spacing: 0; }
.project-entry-title a { display: inline-block; margin-top: 13px; color: #69c8f5; font-size: 12px; font-weight: 800; text-decoration: none; }
.project-entry ol { counter-reset: entry; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin: 0; padding: 0; list-style: none; }
.project-entry li { counter-increment: entry; position: relative; min-height: 86px; padding: 4px 15px 0 44px; border-left: 1px solid #314453; }
.project-entry li::before { content: counter(entry,decimal-leading-zero); position: absolute; top: 3px; left: 14px; color: #e15e25; font-size: 12px; font-weight: 900; }
.project-entry b,
.project-entry span { display: block; }
.project-entry b { margin-bottom: 7px; color: #eef5fa; font-size: 15px; }
.project-entry span { color: #9fafbd; font-size: 12px; line-height: 1.6; }

.tech-hub-footer { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; margin-top: 30px; padding: 25px 28px; color: #fff; background: #07111b; border: 1px solid #263a4a; }
.tech-hub-footer h3 { margin: 0 0 5px; font-size: 21px; letter-spacing: 0; }
.tech-hub-footer p { max-width: 760px; margin: 0; color: #b7c6d4; font-size: 13px; line-height: 1.6; }
.tech-hub-actions { display: flex; gap: 10px; }
.tech-hub-actions a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 19px; border-radius: 6px; color: #fff; background: #e86b2d; font-weight: 800; text-decoration: none; white-space: nowrap; }
.tech-hub-actions .tech-action-secondary { background: transparent; border: 1px solid #70869a; }
.site-nav a[href="#technical-guides"] { color: #74c5f3; }

@media (max-width: 980px) {
  .tech-hub-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .tech-hub-head { grid-template-columns: 1fr; }
  .tech-path { overflow-x: auto; }
  .project-entry { grid-template-columns: 1fr; }
  .project-entry ol { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .tech-hub-footer { grid-template-columns: 1fr; }
  .tech-hub-actions { justify-content: flex-start; }
}

@media (max-width: 640px) {
  .tech-preview-enabled .tech-preview-banner { justify-content: space-between; font-size: 11px; }
  .tech-preview-banner span { display: none; }
  .tech-preview-enabled .site-header { top: 38px; }
  .tech-hub-preview { padding: 60px 0; }
  .tech-hub-head { gap: 18px; }
  .tech-hub-head h2 { font-size: 34px; }
  .tech-path { margin-right: -20px; padding-left: 18px; }
  .tech-path i { min-width: 22px; }
  .tech-hub-grid { grid-template-columns: 1fr; }
  .tech-guide { min-height: 224px; padding: 23px; }
  .project-entry { gap: 22px; }
  .project-entry ol { grid-template-columns: 1fr; }
  .project-entry li { min-height: auto; padding-bottom: 20px; }
  .tech-hub-actions { flex-direction: column; }
  .tech-hub-actions,
  .tech-hub-actions a { width: 100%; }
}
