/* Zqm_edits · Technology · 2026-11-20. The engine diagrams retain editable HTML. */
.tech-figma .wrap{max-width:1280px}
.tech-figma main{padding-top:0}
.tech-figma main [id]{scroll-margin-top:calc(var(--hd) + 24px)}
.tech-architecture{background:#f5f2ee;padding:80px 0 100px}
.tech-architecture h1{font-size:clamp(34px,4vw,52px);line-height:1.16;font-weight:900;letter-spacing:-.025em;color:#8e0238;margin-bottom:88px}
.tech-stack{display:grid;gap:36px}
.tech-layer{display:grid;grid-template-columns:180px minmax(0,1fr);gap:24px;position:relative}
.tech-layer+.tech-layer:before{content:"";position:absolute;left:0;right:0;top:-19px;border-top:1px dashed #d7d3ce}
.tech-layer-label{font-size:20px;line-height:1.25;font-weight:700;color:#8c8883;padding-top:4px}
.tech-services,.tech-engines{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.tech-service{display:flex;align-items:center;min-height:74px;padding:22px 32px;border-radius:20px;background:#fff;font-size:20px;font-weight:700;line-height:1.3}
.tech-engine{position:relative;display:flex;flex-direction:column;min-width:0;min-height:198px;background:#8e0238;color:#fff;border-radius:20px;padding:24px 32px;transition:box-shadow .2s}
.tech-engine.game{background:#000}
.tech-engine:before,.tech-foundation>div:nth-child(-n+3):before{content:"↑";position:absolute;left:50%;top:-34px;color:#a84657;font-size:26px;line-height:32px;font-weight:300}
.tech-engine:hover{box-shadow:0 8px 24px #67002924}
.tech-engine:focus-visible{outline:3px solid #1b3a50;outline-offset:5px}
.tech-engine h2{font-size:clamp(26px,2.78vw,40px);font-weight:700;line-height:1;letter-spacing:-.01em;margin-bottom:24px}
.tech-engine p{font-size:16px;line-height:22px;margin-top:auto}
.tech-engine small{font-size:11px;font-weight:800;letter-spacing:.05em;line-height:1.6;margin-top:6px}
.tech-foundation{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.tech-foundation>div{position:relative;background:#e6daca;border-radius:20px;padding:20px 28px;min-height:84px}
.tech-foundation h3{font-size:20px;line-height:1.2;font-weight:700;letter-spacing:-.02em}
.tech-foundation p{font-size:12px;line-height:1.5;margin-top:6px}
.tech-architecture-note{font-size:20px;line-height:30px;font-weight:300;margin-top:50px;color:#111}
.tech-figma .rd-poster{padding:100px 0 120px;background:#670029;color:#fff}
.tech-figma .rd-poster.w{background:#000}
.tech-figma .rd-poster:before{display:none}
.tech-figma .rd-poster .sh{margin-bottom:42px}
.tech-figma .rd-poster .h2{font-size:40px;line-height:1.05;letter-spacing:-.01em;font-weight:700}
.tech-figma .rd-poster .lede{font-size:20px;line-height:30px;font-weight:300;color:#fff;max-width:none;margin-top:18px}
.tech-figma .rd-board{background:#fff;color:var(--ink);border:0;box-shadow:none;border-radius:28px;padding:36px}
.tech-figma .rd-mod,.tech-figma .rd-stage{min-width:0}
.tech-team-cta{background:#f5f2ee;padding:96px 0 88px;text-align:center}
.tech-team-cta h2{font-size:clamp(28px,3.6vw,52px);line-height:1.2;font-weight:900;letter-spacing:-.025em;color:#1b3a50}
.tech-team-cta .lnk{margin-top:30px;color:#111}
.tech-team-cta .mobile-only{display:none}
@media(min-width:1101px){
  .tech-figma .rd-pipe{grid-template-columns:80px repeat(3,minmax(0,1fr));gap:12px}
  .tech-figma .rd-sh{font-size:13px;padding:12px}
  .tech-figma .rd-stage .cap{font-size:11px;padding-left:12px;padding-right:12px}
  .tech-figma .rd-sb{padding:14px 12px 18px}
  .tech-figma .rd-tile{padding:8px}
  .tech-figma .rd-icons{gap:3px}
  .tech-figma .rd-icons img{width:27px;height:30px}
  .tech-figma .rd-code{font-size:9px;padding:8px 6px}
  .tech-figma .rd-games>span{font-size:11px}
}
@media(max-width:1100px){
  .tech-layer{grid-template-columns:140px minmax(0,1fr);gap:20px}
  .tech-engine{padding:24px}
  .tech-foundation>div{padding:20px}
  .tech-foundation h3{font-size:18px}
}
@media(max-width:900px){
  .tech-architecture{padding:64px 0 72px}
  .tech-architecture h1{margin-bottom:50px}
  .tech-layer{grid-template-columns:1fr;gap:16px}
  .tech-layer-label{font-size:16px}
  .tech-engine:before,.tech-foundation>div:nth-child(-n+3):before{display:none}
  .tech-engine h2{font-size:30px}
  .tech-figma .rd-poster{padding:72px 0 80px}
  .tech-figma .rd-poster .h2{font-size:34px}
  .tech-figma .rd-poster .lede{font-size:18px;line-height:1.6}
  .tech-team-cta{padding:72px 0}
}
@media(max-width:640px){
  .tech-figma .wrap{padding-left:20px;padding-right:20px}
  .tech-architecture{padding:48px 0 56px}
  .tech-architecture h1{font-size:34px;line-height:1.14;margin-bottom:40px}
  .tech-stack{gap:32px}
  .tech-services{gap:10px}
  .tech-service{padding:18px;font-size:16px;min-height:86px;border-radius:16px}
  .tech-engines{grid-template-columns:1fr;gap:14px}
  .tech-engine{padding:26px;min-height:190px;border-radius:18px}
  .tech-engine h2{font-size:32px;line-height:1.05}
  .tech-foundation{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .tech-foundation>div{padding:18px 14px;border-radius:16px;min-height:110px}
  .tech-foundation h3{font-size:17px}
  .tech-foundation p{font-size:12px}
  .tech-architecture-note{font-size:17px;line-height:1.7;margin-top:36px}
  .tech-figma .rd-poster{padding:56px 0 60px}
  .tech-figma .rd-poster .h2{font-size:30px;line-height:1.17}
  .tech-figma .rd-poster .lede{font-size:16px;line-height:1.7}
  .tech-figma .rd-poster .sh{margin-bottom:28px}
  .tech-figma .rd-board{padding:22px 16px;border-radius:20px}
  .tech-figma .rd-bh h3{font-size:18px}
  .tech-figma .rd-mod{padding:18px 14px}
  .tech-figma .rd-mod .vis.rd-persona{grid-template-columns:80px minmax(0,1fr)}
  .tech-figma .rd-persona img{width:80px;height:80px}
  .tech-figma .rd-persona li{font-size:12px;padding:7px}
  .tech-figma .rd-persona li small{font-size:11px}
  .tech-figma .rd-motto:before,.tech-figma .rd-motto:after{display:none}
  .tech-team-cta{padding:64px 0}
  .tech-team-cta h2{font-size:30px;line-height:1.25}
  .tech-team-cta .mobile-only{display:block}
}
@media(prefers-reduced-motion:reduce){
  .tech-engine{transition:none}
}
