/* Architecture final art direction — coherent executive palette.
   Ink/navy + cobalt + teal; amber is a controlled accent, not a background. */
:root{--ax-ink:#10263b;--ax-navy:#15384f;--ax-cobalt:#244f8f;--ax-blue:#315f9f;--ax-teal:#0e7f88;--ax-cyan:#14b8c9;--ax-amber:#f2bd3f;--ax-paper:#f6f9fa;--ax-muted:#526879;--ax-line:#d8e2e7}
body.architecture-page{background:#f7f9fa!important;color:var(--ax-ink)!important}
body.architecture-page .architecture-hero{background:radial-gradient(circle at 86% 13%,rgba(20,184,201,.14),transparent 25%),radial-gradient(circle at 96% 76%,rgba(36,79,143,.12),transparent 27%),linear-gradient(135deg,#ffffff 0%,#f1f6f8 60%,#e8f0f4 100%)!important}
body.architecture-page .architecture-hero::after{background:var(--ax-cobalt)!important;box-shadow:105px 0 0 var(--ax-teal),52px 25px 0 var(--ax-amber)!important}
body.architecture-page .architecture-hero .kicker{background:var(--ax-ink)!important;color:#86e9ee!important}
body.architecture-page .arch-scope article{background:rgba(255,255,255,.94)!important;border-color:rgba(16,38,59,.11)!important;box-shadow:0 16px 38px rgba(16,38,59,.07)!important}
body.architecture-page .arch-scope article::before{background:var(--ax-teal)!important}body.architecture-page .arch-scope article:nth-child(2)::before{background:var(--ax-cobalt)!important}body.architecture-page .arch-scope article:nth-child(3)::before{background:var(--ax-blue)!important}body.architecture-page .arch-scope article:nth-child(4)::before{background:var(--ax-amber)!important}
body.architecture-page .arch-jump{background:rgba(247,249,250,.93)!important}body.architecture-page .arch-jump a:hover,body.architecture-page .arch-jump a:focus-visible{background:var(--ax-ink)!important;color:#fff!important}
body.architecture-page .arch-section.alt{background:linear-gradient(180deg,#eef3f5,#f8fafb)!important}body.architecture-page .arch-head .kicker{color:var(--ax-teal)!important}
body.architecture-page .arch-method article{background:#fff!important;border-color:rgba(16,38,59,.11)!important}body.architecture-page .arch-method article:before{background:var(--ax-ink)!important;color:#86e9ee!important}body.architecture-page .arch-method article:nth-child(2):before,body.architecture-page .arch-method article:nth-child(4):before{background:var(--ax-cobalt)!important;color:#fff!important}
body.architecture-page .arch-case{border-color:rgba(16,38,59,.11)!important;box-shadow:0 18px 46px rgba(16,38,59,.075)!important}
body.architecture-page .arch-case:nth-child(1) .arch-case-top{background:linear-gradient(135deg,#10263b,#17465c)!important;color:#fff!important}
body.architecture-page .arch-case:nth-child(2) .arch-case-top{background:linear-gradient(135deg,#244f8f,#173f70 60%,#102f4a)!important;color:#fff!important}
body.architecture-page .arch-case:nth-child(3) .arch-case-top{background:linear-gradient(135deg,#17606b,#123f4d 60%,#102f3d)!important;color:#fff!important}
body.architecture-page .arch-case .arch-case-top p{color:rgba(255,255,255,.76)!important}body.architecture-page .arch-case .arch-case-index{color:#86e9ee!important}body.architecture-page .arch-case:nth-child(2) .arch-case-index{color:#f6cf70!important}
body.architecture-page .arch-decision-grid article::before{background:var(--ax-teal)!important}body.architecture-page .arch-decision-grid article:nth-child(2)::before{background:var(--ax-cobalt)!important}body.architecture-page .arch-decision-grid article:nth-child(3)::before{background:var(--ax-blue)!important}body.architecture-page .arch-decision-grid article:nth-child(4)::before{background:#397d62!important}
body.architecture-page .arch-evidence{background:#edf4f5!important;border-top-color:#d5e4e7!important}body.architecture-page .arch-evidence a:hover{background:var(--ax-ink)!important;border-color:var(--ax-ink)!important;color:#fff!important}
/* CASE 01 · MEDIQ — flagship treatment: deeper hierarchy, richer surface, restrained premium accents. */
body.architecture-page .case-stack .arch-case:first-child{position:relative;border:1px solid rgba(20,184,201,.22)!important;box-shadow:0 28px 70px rgba(16,38,59,.13)!important}
body.architecture-page .case-stack .arch-case:first-child::before{content:"FLAGSHIP ARCHITECTURE CASE";position:absolute;z-index:3;right:26px;top:24px;padding:8px 11px;border:1px solid rgba(255,255,255,.18);border-radius:999px;background:rgba(255,255,255,.08);color:#d9f7f8;font:800 9px/1 var(--mono);letter-spacing:.11em;backdrop-filter:blur(8px)}
body.architecture-page .case-stack .arch-case:first-child .arch-case-top{position:relative;overflow:hidden;padding-top:42px;padding-bottom:38px;background:radial-gradient(circle at 88% 12%,rgba(20,184,201,.22),transparent 30%),radial-gradient(circle at 70% 120%,rgba(36,79,143,.34),transparent 38%),linear-gradient(135deg,#0d2636 0%,#123d52 52%,#174f63 100%)!important}
body.architecture-page .case-stack .arch-case:first-child .arch-case-top::after{content:"01";position:absolute;right:20px;bottom:-38px;color:rgba(255,255,255,.045);font:900 180px/.8 Inter,"Segoe UI",Arial,sans-serif;letter-spacing:-.08em;pointer-events:none}
body.architecture-page .case-stack .arch-case:first-child .arch-case-index{display:inline-flex;align-items:center;width:max-content;padding:8px 11px;border-radius:999px;background:var(--ax-amber)!important;color:var(--ax-ink)!important;letter-spacing:.1em;box-shadow:0 8px 22px rgba(242,189,63,.16)}
body.architecture-page .case-stack .arch-case:first-child .arch-case-top h3{position:relative;z-index:1;color:#fff!important;font-size:clamp(32px,3.5vw,48px)!important;max-width:15ch}
body.architecture-page .case-stack .arch-case:first-child .arch-case-top p{position:relative;z-index:1;color:#d7e5ea!important;font-size:15px;max-width:68ch}
body.architecture-page .case-stack .arch-case:first-child .arch-decision-grid{background:linear-gradient(180deg,#fff 0%,#f7fafb 100%)!important}
body.architecture-page .case-stack .arch-case:first-child .arch-decision-grid article{padding-top:31px!important;padding-bottom:31px!important}
body.architecture-page .case-stack .arch-case:first-child .arch-decision-grid article::before{height:4px!important;width:34px!important}
body.architecture-page .case-stack .arch-case:first-child .arch-decision-grid article:nth-child(1)::before{background:var(--ax-teal)!important}body.architecture-page .case-stack .arch-case:first-child .arch-decision-grid article:nth-child(2)::before{background:var(--ax-cobalt)!important}body.architecture-page .case-stack .arch-case:first-child .arch-decision-grid article:nth-child(3)::before{background:#315f9f!important}body.architecture-page .case-stack .arch-case:first-child .arch-decision-grid article:nth-child(4)::before{background:#397d62!important}
body.architecture-page .case-stack .arch-case:first-child .arch-decision-grid small{color:var(--ax-teal)!important}body.architecture-page .case-stack .arch-case:first-child .arch-decision-grid b{color:var(--ax-ink)!important;font-size:16px!important}
body.architecture-page .case-stack .arch-case:first-child .arch-evidence{padding:20px 25px!important;background:linear-gradient(90deg,#e7f3f4,#eef3f8)!important;border-top-color:#d2e3e7!important}body.architecture-page .case-stack .arch-case:first-child .arch-evidence>span{color:var(--ax-teal)!important}body.architecture-page .case-stack .arch-case:first-child .arch-evidence a{border-color:#bdd4dc!important;background:rgba(255,255,255,.9)!important}body.architecture-page .case-stack .arch-case:first-child .arch-evidence a:hover{background:var(--ax-ink)!important;color:#fff!important;border-color:var(--ax-ink)!important}
body.architecture-page .interop-chain,body.architecture-page .interop-proof{border-color:rgba(16,38,59,.11)!important;box-shadow:0 16px 38px rgba(16,38,59,.06)!important}body.architecture-page .interop-node{background:#eef5f5!important;border-color:#d5e5e6!important}body.architecture-page .interop-node:nth-of-type(3){background:#e2eaf4!important;border-color:#c7d5e7!important}body.architecture-page .interop-arrow{color:var(--ax-cobalt)!important}body.architecture-page .interop-proof li::marker{color:var(--ax-teal)!important}
body.architecture-page .gov-grid article{background:#fff!important;border-color:rgba(16,38,59,.11)!important}body.architecture-page .gov-grid small{background:var(--ax-ink)!important;color:#86e9ee!important}body.architecture-page .gov-grid article:nth-child(2) small,body.architecture-page .gov-grid article:nth-child(4) small{background:var(--ax-cobalt)!important;color:#fff!important}
body.architecture-page .arch-map-preview{background:radial-gradient(circle at 88% 10%,rgba(20,184,201,.16),transparent 28%),linear-gradient(135deg,#10263b 0%,#17465c 55%,#244f8f 100%)!important;color:#fff!important}
body.architecture-page .arch-map-preview .kicker{color:#86e9ee!important}body.architecture-page .arch-map-preview h2{color:#fff!important;text-shadow:0 2px 18px rgba(0,0,0,.12)!important}body.architecture-page .arch-map-preview p{color:#d7e5ea!important}body.architecture-page .arch-map-preview .btn{background:var(--ax-amber)!important;color:var(--ax-ink)!important;border-color:var(--ax-amber)!important}body.architecture-page .arch-map-preview .btn:hover,body.architecture-page .arch-map-preview .btn:focus-visible{background:#ffd86b!important;color:var(--ax-ink)!important;border-color:#ffd86b!important}
@media(max-width:720px){body.architecture-page .case-stack .arch-case:first-child::before{position:relative;display:inline-flex;right:auto;top:auto;margin:18px 20px -2px;background:var(--ax-ink);color:#fff}body.architecture-page .case-stack .arch-case:first-child .arch-case-top{padding-top:28px}body.architecture-page .case-stack .arch-case:first-child .arch-case-top::after{font-size:110px}}

/* 2026-09 architecture visual refinement */
body.architecture-page .architecture-hero{min-height:650px;display:flex;align-items:center;background:radial-gradient(circle at 85% 14%,rgba(14,127,136,.16),transparent 24%),radial-gradient(circle at 94% 78%,rgba(36,79,143,.13),transparent 26%),linear-gradient(135deg,#fff 0%,#eef5f6 58%,#e8eef2 100%)!important}
body.architecture-page .architecture-hero::before{color:rgba(16,38,59,.045)!important}
body.architecture-page .arch-scope article,body.architecture-page .arch-method article,body.architecture-page .gov-grid article{border-radius:18px!important}
body.architecture-page .arch-case{border-radius:20px!important}
body.architecture-page .interop-chain,body.architecture-page .interop-proof{border-radius:20px!important}
body.architecture-page .arch-map-preview{border-radius:20px!important}
body.architecture-page .arch-map-preview{background:radial-gradient(circle at 88% 10%,rgba(14,127,136,.24),transparent 28%),linear-gradient(135deg,#0d2636,#17465c)!important}
@media(max-width:680px){body.architecture-page .architecture-hero{min-height:auto}}

/* 2026 joyful architecture pass — clearer hierarchy, brighter site-native palette */
:root{--ax-joy-cyan:#0fa9b5;--ax-joy-blue:#4e86d6;--ax-joy-amber:#e8b33e;--ax-joy-coral:#ed735f}
body.architecture-page .architecture-hero{min-height:auto!important;padding:clamp(88px,10vw,132px) 0 74px!important;background:radial-gradient(circle at 86% 16%,rgba(15,169,181,.20),transparent 24%),radial-gradient(circle at 95% 78%,rgba(78,134,214,.13),transparent 26%),radial-gradient(circle at 8% 92%,rgba(232,179,62,.11),transparent 24%),linear-gradient(135deg,#fffefa 0%,#f3fbfa 58%,#eef5ff 100%)!important}
body.architecture-page .architecture-hero::after{background:var(--ax-joy-cyan)!important;box-shadow:105px 0 0 var(--ax-joy-blue),52px 25px 0 var(--ax-joy-amber)!important}
body.architecture-page .architecture-hero .kicker{background:#10263b!important;color:#fff!important}
body.architecture-page .arch-scope{gap:14px!important}
body.architecture-page .arch-scope article{min-height:150px!important;border-radius:24px!important;background:#fff!important;box-shadow:0 16px 38px rgba(16,38,59,.065)!important}
body.architecture-page .arch-scope article:nth-child(1){background:linear-gradient(145deg,#e7f8f7,#fff)!important}body.architecture-page .arch-scope article:nth-child(2){background:linear-gradient(145deg,#edf3ff,#fff)!important}body.architecture-page .arch-scope article:nth-child(3){background:linear-gradient(145deg,#fff4d8,#fff)!important}body.architecture-page .arch-scope article:nth-child(4){background:linear-gradient(145deg,#fff0eb,#fff)!important}
body.architecture-page .arch-scope article:nth-child(1)::before{background:var(--ax-joy-cyan)!important}body.architecture-page .arch-scope article:nth-child(2)::before{background:var(--ax-joy-blue)!important}body.architecture-page .arch-scope article:nth-child(3)::before{background:var(--ax-joy-amber)!important}body.architecture-page .arch-scope article:nth-child(4)::before{background:var(--ax-joy-coral)!important}
body.architecture-page .arch-section.alt{background:linear-gradient(180deg,#f5fbfa,#fff 88%)!important}
body.architecture-page .arch-method{gap:14px!important}
body.architecture-page .arch-method article{border-radius:24px!important;box-shadow:0 12px 30px rgba(16,38,59,.05)!important}
body.architecture-page .arch-method article:nth-child(1){background:#f0fbfa!important}body.architecture-page .arch-method article:nth-child(2){background:#f1f5fd!important}body.architecture-page .arch-method article:nth-child(3){background:#fff9e9!important}body.architecture-page .arch-method article:nth-child(4){background:#fff3ef!important}body.architecture-page .arch-method article:nth-child(5){background:#f3f8fc!important}
body.architecture-page .arch-method article:before{border-radius:999px!important;background:#10263b!important;color:#fff!important}body.architecture-page .arch-method article:nth-child(2):before{background:var(--ax-joy-blue)!important}body.architecture-page .arch-method article:nth-child(3):before{background:var(--ax-joy-amber)!important;color:#10263b!important}body.architecture-page .arch-method article:nth-child(4):before{background:var(--ax-joy-coral)!important}body.architecture-page .arch-method article:nth-child(5):before{background:var(--ax-joy-cyan)!important}
body.architecture-page .arch-case{border-radius:28px!important;box-shadow:0 18px 48px rgba(16,38,59,.07)!important}
body.architecture-page .arch-case:nth-child(1) .arch-case-top{background:radial-gradient(circle at 88% 12%,rgba(15,169,181,.25),transparent 28%),linear-gradient(135deg,#10263b,#155a68)!important}
body.architecture-page .arch-case:nth-child(2) .arch-case-top{background:linear-gradient(135deg,#315f9f,#4e86d6)!important}
body.architecture-page .arch-case:nth-child(3) .arch-case-top{background:linear-gradient(135deg,#0d7882,#0fa9b5)!important}
body.architecture-page .arch-decision-grid article:nth-child(1)::before{background:var(--ax-joy-cyan)!important}body.architecture-page .arch-decision-grid article:nth-child(2)::before{background:var(--ax-joy-blue)!important}body.architecture-page .arch-decision-grid article:nth-child(3)::before{background:var(--ax-joy-amber)!important}body.architecture-page .arch-decision-grid article:nth-child(4)::before{background:var(--ax-joy-coral)!important}
body.architecture-page .arch-evidence{background:linear-gradient(90deg,#edf9f8,#f2f6fd)!important}
body.architecture-page .interop-chain{background:linear-gradient(145deg,#f0fbfa,#fff)!important}body.architecture-page .interop-proof{background:linear-gradient(145deg,#f1f5fd,#fff)!important}
body.architecture-page .interop-node{background:#fff!important}body.architecture-page .interop-node:nth-of-type(3){background:#fff5d9!important;border-color:#ead49b!important}
body.architecture-page .interop-arrow{color:var(--ax-joy-coral)!important}
body.architecture-page .gov-grid{gap:14px!important}
body.architecture-page .gov-grid article{border-radius:24px!important}
body.architecture-page .gov-grid article:nth-child(1){background:linear-gradient(145deg,#e7f8f7,#fff)!important}body.architecture-page .gov-grid article:nth-child(2){background:linear-gradient(145deg,#edf3ff,#fff)!important}body.architecture-page .gov-grid article:nth-child(3){background:linear-gradient(145deg,#fff4d8,#fff)!important}body.architecture-page .gov-grid article:nth-child(4){background:linear-gradient(145deg,#fff0eb,#fff)!important}
body.architecture-page .gov-grid small{background:#10263b!important;color:#fff!important}body.architecture-page .gov-grid article:nth-child(2) small{background:var(--ax-joy-blue)!important}body.architecture-page .gov-grid article:nth-child(3) small{background:var(--ax-joy-amber)!important;color:#10263b!important}body.architecture-page .gov-grid article:nth-child(4) small{background:var(--ax-joy-coral)!important}
body.architecture-page .arch-map-preview{background:radial-gradient(circle at 88% 12%,rgba(15,169,181,.28),transparent 28%),linear-gradient(135deg,#10263b 0%,#17465c 52%,#315f9f 100%)!important;border-radius:28px!important}
body.architecture-page .arch-map-preview .btn{background:#fff!important;color:#10263b!important;border-color:#fff!important;box-shadow:none!important}
body.architecture-page .arch-map-preview .btn:hover{background:#dff7f7!important;border-color:#dff7f7!important}
body.architecture-page .arch-scope article,body.architecture-page .arch-method article,body.architecture-page .arch-case,body.architecture-page .gov-grid article{opacity:1!important;visibility:visible!important}


/* Governance cards — keep all four visible in one desktop row. */
@media (min-width: 1101px){
  body.architecture-page #governance .gov-grid{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
  }
  body.architecture-page #governance .gov-grid article{
    min-width:0!important;
  }
}
@media (min-width: 681px) and (max-width: 1100px){
  body.architecture-page #governance .gov-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}
@media (max-width: 680px){
  body.architecture-page #governance .gov-grid{
    grid-template-columns:1fr!important;
  }
}
