/* Phase 2: reader-facing new mechanisms and implementation guides. */
.phase2-mechanisms{background:linear-gradient(180deg,#172535 0,#203448 25%,#edf2f2 25%,#f7f3eb 100%);color:#152131}
.phase2-head{padding-top:.6rem;color:#fff}
.phase2-head .eyebrow{color:#f1b49e}
.phase2-head h2{color:#fff}
.phase2-head>p{color:#dbe5eb}
.mechanism-distinction{display:grid;grid-template-columns:auto minmax(0,1fr);gap:.75rem 1.1rem;align-items:start;margin:1.35rem 0 1.6rem;padding:1rem 1.2rem;border:1px solid rgba(255,255,255,.22);border-radius:13px;background:rgba(255,255,255,.08);color:#f3f6f8}
.mechanism-distinction strong{color:#f1b49e;text-transform:uppercase;letter-spacing:.07em;font-size:.77rem}
.mechanism-distinction p{margin:0;color:#e2e9ed}
.mechanism-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.2rem}
.mechanism-card{scroll-margin-top:6.5rem;display:flex;flex-direction:column;border:1px solid #cbd6dc;border-radius:18px;background:#fff;box-shadow:0 16px 38px rgba(15,27,39,.11);overflow:hidden}
.mechanism-card:target,.phase2-guide:target{outline:4px solid rgba(221,104,66,.32);outline-offset:4px}
.mechanism-head{display:grid;grid-template-columns:auto minmax(0,1fr);gap:.55rem 1rem;padding:1.3rem 1.35rem .95rem;border-bottom:1px solid #dce3e7;background:linear-gradient(145deg,#f8fbfc,#eef4f6)}
.mechanism-number{grid-row:1/3;width:2.65rem;height:2.65rem;display:grid;place-items:center;border-radius:50%;background:#203d55;color:#fff;font:800 .87rem/1 var(--sans,system-ui,sans-serif);letter-spacing:.05em}
.mechanism-title-block h3{margin:.12rem 0 .5rem;font-family:var(--serif,Georgia,serif);font-size:clamp(1.32rem,2vw,1.82rem);line-height:1.08;color:#142434}
.mechanism-kicker{margin:0;color:#a6422a;font-size:.72rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase}
.mechanism-question{margin:0;color:#526171;font-style:italic}
.mechanism-status{grid-column:2;justify-self:start;border-radius:999px;padding:.34rem .62rem;background:#e4edf1;color:#29465d;font-size:.7rem;font-weight:800}
.mechanism-status--future_code{background:#e8edf7;color:#354c75}
.mechanism-summary{margin:0;padding:1rem 1.35rem;border-bottom:1px solid #e3e8eb;background:#fff9f4;color:#26394b}
.mechanism-body{display:grid;flex:1}
.mechanism-body>section,.mechanism-caution{padding:1.05rem 1.35rem;border-bottom:1px solid #e2e7e9}
.mechanism-body h4{margin:0 0 .7rem;color:#203d55;font-size:.93rem;text-transform:uppercase;letter-spacing:.055em}
.mechanism-process ol{margin:0;padding-left:1.35rem;counter-reset:mechanism-step}
.mechanism-process li{margin:.55rem 0;color:#3e5060}
.mechanism-impact{background:#f4f8f9}
.mechanism-impact-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.6rem}
.mechanism-impact-grid article{padding:.75rem;border:1px solid #d7e1e5;border-radius:9px;background:#fff}
.mechanism-impact-grid h5{margin:0 0 .35rem;color:#203d55;font-size:.84rem}
.mechanism-impact-grid p{margin:0;color:#526171;font-size:.84rem;line-height:1.45}
.mechanism-limits{background:#fff7f1}
.mechanism-limits ul{margin:0;padding-left:1.2rem}
.mechanism-limits li{margin:.42rem 0;color:#59483f}
.mechanism-caution{border-left:5px solid #bd4b2b;background:#fff0e8}
.mechanism-caution strong{color:#8b321c}
.mechanism-caution p{margin:.35rem 0 0;color:#59483f}
.mechanism-footer{display:grid;gap:.72rem;margin-top:auto;padding:1rem 1.35rem;background:#f9faf9}
.mechanism-basis,.mechanism-sources,.mechanism-related{display:flex;flex-wrap:wrap;align-items:center;gap:.38rem .65rem}
.mechanism-basis strong,.mechanism-sources strong,.mechanism-related strong{color:#60717e;font-size:.72rem;text-transform:uppercase;letter-spacing:.06em}
.mechanism-basis span{font-size:.8rem;color:#384c5c}
.mechanism-sources a,.mechanism-related a{font-size:.82rem}
.mechanism-footer small{color:#6f7d88}
.phase2-guides{margin-top:2rem;padding-top:1.7rem;border-top:1px solid #c8d4d9}
.phase2-guides-head{max-width:78ch;margin-bottom:1.15rem}
.phase2-guides-head h3{margin:.1rem 0 .6rem;font-family:var(--serif,Georgia,serif);font-size:clamp(1.6rem,3vw,2.4rem)}
.phase2-guides-head>p:last-child{color:#526171}
.phase2-guide{border-color:#b9cbd3}
.phase2-guide-blocks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-top:1px solid #d8e1e5}
.phase2-guide-block{padding:1.15rem 1.35rem;border-right:1px solid #d8e1e5;border-bottom:1px solid #d8e1e5}
.phase2-guide-block:nth-child(even){border-right:0}
.phase2-guide-block h4{margin:0 0 .7rem;color:#203d55}
.phase2-guide-block ul{margin:.4rem 0 0;padding-left:1.2rem}
.phase2-guide-block li{margin:.42rem 0;color:#425462}
.phase2-guide-block--limitation,.phase2-guide-block--safety{background:#fff7f1}
.phase2-guide-block--reader_checklist,.phase2-guide-block--process{background:#f4f9fa}
.phase2-guide-block--status_table,.phase2-guide-block--routes{grid-column:1/-1}
.digital-status-table{display:grid;border:1px solid #cfdae0;border-radius:11px;overflow:hidden}
.digital-status-row{display:grid;grid-template-columns:minmax(9rem,.72fr) minmax(12rem,1fr) minmax(12rem,1.25fr)}
.digital-status-row>*{padding:.72rem .8rem;border-right:1px solid #dce4e7;border-bottom:1px solid #dce4e7}
.digital-status-row>*:last-child{border-right:0}
.digital-status-row:last-child>*{border-bottom:0}
.digital-status-head{background:#203d55;color:#fff;font-size:.75rem;font-weight:800;text-transform:uppercase;letter-spacing:.04em}
.digital-status-row:not(.digital-status-head)>strong{background:#f4f8f9;color:#203d55}
.digital-state--existent_partial{border-left:4px solid #36855d}
.digital-state--future_unverified{border-left:4px solid #c35d37;background:#fff8f3}
.neighbourhood-routes{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.55rem}
.neighbourhood-routes a{display:flex;flex-direction:column;gap:.35rem;padding:.8rem;border:1px solid #d2dde1;border-radius:10px;background:#fff;text-decoration:none}
.neighbourhood-routes a:hover,.neighbourhood-routes a:focus-visible{border-color:#c84e2a;box-shadow:0 5px 16px rgba(21,33,49,.08)}
.neighbourhood-routes strong{color:#203d55;font-size:.88rem}
.neighbourhood-routes span{color:#526171;font-size:.8rem;line-height:1.42}
.phase2-continuation{margin:1.5rem 0 0;padding:1rem 1.2rem;border:1px solid #c9d6dc;border-radius:12px;background:#fff}
.phase2-continuation a{font-weight:800}
@media (max-width:980px){
  .mechanism-impact-grid{grid-template-columns:1fr}
  .neighbourhood-routes{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:760px){
  .phase2-mechanisms{background:linear-gradient(180deg,#172535 0,#203448 18rem,#edf2f2 18rem,#f7f3eb 100%)}
  .mechanism-distinction{grid-template-columns:1fr}
  .mechanism-grid{grid-template-columns:1fr}
  .mechanism-head{grid-template-columns:auto minmax(0,1fr)}
  .mechanism-status{grid-column:1/-1}
  .phase2-guide-blocks{grid-template-columns:1fr}
  .phase2-guide-block,.phase2-guide-block:nth-child(even){border-right:0}
  .digital-status-table{display:block;border:0}
  .digital-status-head{display:none}
  .digital-status-row{display:grid;grid-template-columns:1fr;margin:.7rem 0;border:1px solid #cfdae0;border-radius:9px;overflow:hidden}
  .digital-status-row>*{border-right:0;border-bottom:1px solid #dce4e7}
  .digital-status-row>*:last-child{border-bottom:0}
  .neighbourhood-routes{grid-template-columns:1fr}
}
@media (max-width:390px){
  .mechanism-head,.mechanism-summary,.mechanism-body>section,.mechanism-caution,.mechanism-footer,.phase2-guide-block{padding-left:1rem;padding-right:1rem}
}
@media (min-width:981px) and (max-width:1080px){
  .site-header{gap:.55rem;padding-inline:1rem}
  .primary-nav{gap:.45rem}
  .primary-nav a{font-size:.73rem}
  .lang-switch a{padding:.3rem .42rem}
}
/* Nested editorial footers must not inherit the white link colour of the site footer. */
.mechanism-footer,.guide-footer{color:#152131}
.mechanism-footer a,.guide-footer a{color:#204461;font-weight:750}
