.regions-hero{
  position:relative;
  overflow:hidden;
  padding:var(--am-space-10) 0 var(--am-space-12);
  background:var(--am-color-ink);
}
.regions-hero::before{
  position:absolute;
  inset:-30% -10% auto 28%;
  width:70%;
  height:130%;
  max-width:100%;
  border-radius:50%;
  background:var(--am-gradient-brand);
  opacity:.16;
  filter:blur(90px);
  content:"";
  pointer-events:none;
}
.regions-hero__grid{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,.92fr);
  gap:var(--am-space-8);
  align-items:center;
}
.regions-hero__grid>*{min-width:0}
.regions-hero__copy h1{max-width:720px;margin-top:var(--am-space-2)}
.regions-hero__copy .am-lead{margin-top:var(--am-space-3);color:var(--am-color-muted)}
.regions-hero__actions{display:flex;flex-wrap:wrap;gap:var(--am-space-2);margin-top:var(--am-space-4)}
.regions-hero__visual{min-width:0}
.regions-map{
  position:relative;
  min-height:430px;
  overflow:hidden;
  border:1px solid var(--am-color-line);
  border-radius:var(--am-radius-lg);
  background:var(--am-gradient-surface);
}
.regions-map::before{
  position:absolute;
  inset:58px 0 0;
  background-image:linear-gradient(var(--am-color-line) 1px,transparent 1px),linear-gradient(90deg,var(--am-color-line) 1px,transparent 1px);
  background-size:48px 48px;
  opacity:.35;
  content:"";
}
.regions-map__head{
  position:relative;
  z-index:2;
  display:flex;
  justify-content:space-between;
  gap:var(--am-space-2);
  padding:var(--am-space-2) var(--am-space-3);
  border-bottom:1px solid var(--am-color-line);
  color:var(--am-color-muted);
  font-family:var(--am-font-mono);
  font-size:var(--am-text-xs);
}
.regions-map__live{display:flex;align-items:center;gap:var(--am-space-1)}
.regions-map__live i{
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--am-color-success);
}
.regions-map__lines{
  position:absolute;
  inset:64px 0 auto;
  width:100%;
  height:360px;
  color:var(--am-color-accent);
  opacity:.65;
}
.regions-map__node{
  position:absolute;
  z-index:3;
  display:grid;
  grid-template-columns:auto 1fr;
  align-items:center;
  column-gap:.5rem;
  color:var(--am-color-white);
}
.regions-map__node span{
  grid-row:1/3;
  width:15px;
  height:15px;
  border:4px solid var(--am-color-primary);
  border-radius:50%;
  background:var(--am-color-white);
  box-shadow:0 0 0 6px rgba(166,18,244,.18);
}
.regions-map__node b{
  font-family:var(--am-font-mono);
  font-size:var(--am-text-sm);
  line-height:1.2;
}
.regions-map__node small{color:var(--am-color-muted);line-height:1.2}
.regions-map__node--us{left:11%;top:47%}
.regions-map__node--sg{left:45%;top:59%}
.regions-map__node--hk{left:66%;top:41%}
.regions-map__node--kr{left:74%;top:33%}
.regions-map__node--jp{right:8%;top:24%}

.am-section-head{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,.8fr);
  gap:var(--am-space-6);
  align-items:end;
  margin-bottom:var(--am-space-6);
}
.am-section-head>*{min-width:0}
.am-section-head h2{margin-top:var(--am-space-1)}
.am-section-head>p{color:var(--am-color-muted)}

.regions-overview{grid-template-columns:repeat(5,minmax(0,1fr))}
.region-card{display:flex;min-height:300px;flex-direction:column}
.region-card__code{
  width:56px;
  height:56px;
  display:grid;
  place-items:center;
  margin-bottom:var(--am-space-3);
  border:1px solid var(--am-color-line-strong);
  border-radius:var(--am-radius-md);
  background:var(--am-color-surface-raised);
  color:var(--am-color-accent);
  font-family:var(--am-font-mono);
  font-weight:700;
}
.region-card p{margin-top:var(--am-space-2);color:var(--am-color-muted)}
.region-card .c-badge{align-self:flex-start;margin-top:auto}

.regions-method{background:var(--am-color-ink-deep)}
.regions-method__grid{list-style:none}
.method-card{display:flex;min-height:340px;flex-direction:column}
.method-card__number{
  color:var(--am-color-accent);
  font-family:var(--am-font-mono);
  font-size:var(--am-text-sm);
}
.method-card h3{margin-top:var(--am-space-4)}
.method-card p{margin-top:var(--am-space-2);color:var(--am-color-muted)}
.method-card strong{
  display:block;
  margin-top:auto;
  padding-top:var(--am-space-3);
  border-top:1px solid var(--am-color-line);
  color:var(--am-color-light);
  font-size:var(--am-text-sm);
}
.regions-method__alert{margin-top:var(--am-space-4)}
.regions-method__alert svg{width:24px;height:24px}
.regions-method__alert p{margin-top:.35rem;color:var(--am-color-muted)}

.region-inventory__toolbar{
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  gap:var(--am-space-2);
  margin-bottom:var(--am-space-2);
}
.region-inventory__toolbar>p{color:var(--am-color-muted);font-size:var(--am-text-xs)}
.region-status-legend{display:flex;flex-wrap:wrap;gap:var(--am-space-2);color:var(--am-color-muted);font-size:var(--am-text-sm)}
.region-status-legend span{display:flex;align-items:center;gap:.45rem}
.inventory-dot,.inventory-status i{
  width:8px;
  height:8px;
  flex:none;
  border-radius:50%;
}
.inventory-dot--available,.inventory-status--available i{background:var(--am-color-success)}
.inventory-dot--loading,.inventory-status--loading i,.inventory-status--unknown i{background:var(--am-color-muted-dark)}
.region-matrix{min-width:980px}
.region-matrix th:not(:first-child),.region-matrix td:not(:first-child){text-align:center}
.region-matrix thead span{color:var(--am-color-muted-dark)}
.region-matrix tbody th strong{display:block;color:var(--am-color-white);font-family:var(--am-font-heading);font-size:var(--am-text-lg)}
.region-matrix tbody th small{display:block;margin-top:.25rem;color:var(--am-color-muted)}
.inventory-status{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.5rem;
  min-width:82px;
  padding:.45rem .65rem;
  border:1px solid var(--am-color-line);
  border-radius:var(--am-radius-pill);
  color:var(--am-color-muted);
  font-size:var(--am-text-sm);
}
.inventory-status--available{color:var(--am-color-success)}
.region-inventory__notice{
  margin-top:var(--am-space-2);
  padding:var(--am-space-2);
  border:1px solid var(--am-color-line);
  border-radius:var(--am-radius-md);
  color:var(--am-color-muted);
  background:var(--am-color-surface);
}
.region-inventory__action{display:flex;justify-content:flex-end;margin-top:var(--am-space-3)}

.apac-grid{gap:var(--am-space-3)}
.region-detail{min-height:400px}
.region-detail__head{display:flex;align-items:center;gap:var(--am-space-2)}
.region-detail__head>div{min-width:0}
.region-detail__head p{color:var(--am-color-muted);font-size:var(--am-text-sm)}
.region-detail__code{
  width:62px;
  height:62px;
  display:grid;
  flex:none;
  place-items:center;
  border:1px solid var(--am-color-line-strong);
  border-radius:var(--am-radius-md);
  background:var(--am-color-surface-raised);
  color:var(--am-color-accent);
  font-family:var(--am-font-mono);
  font-weight:700;
}
.region-detail>p{margin-top:var(--am-space-3);color:var(--am-color-muted)}
.region-detail ul{display:grid;gap:var(--am-space-1);margin-top:var(--am-space-3);padding-left:1.25rem;color:var(--am-color-light)}

.us-west-section{background:var(--am-color-ink-deep)}
.us-west-panel{
  display:grid;
  grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);
  gap:var(--am-space-8);
  padding:var(--am-space-6);
  border:1px solid var(--am-color-line);
  border-radius:var(--am-radius-lg);
  background:var(--am-gradient-surface);
}
.us-west-panel>*{min-width:0}
.us-west-panel__summary .am-eyebrow{margin-top:var(--am-space-4)}
.us-west-panel__summary h2{margin-top:var(--am-space-1)}
.us-west-panel__summary .am-lead{margin-top:var(--am-space-3);color:var(--am-color-muted)}
.us-west-panel__checks{padding-left:var(--am-space-6);border-left:1px solid var(--am-color-line)}
.us-west-panel__checks ol{display:grid;gap:var(--am-space-3);margin-top:var(--am-space-3);list-style:none}
.us-west-panel__checks li{display:grid;grid-template-columns:auto minmax(0,1fr);gap:var(--am-space-2)}
.us-west-panel__checks li>span{
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border:1px solid var(--am-color-line-strong);
  border-radius:50%;
  color:var(--am-color-accent);
  font-family:var(--am-font-mono);
}
.us-west-panel__checks p{margin-top:.25rem;color:var(--am-color-muted)}

.inventory-rules__label{color:var(--am-color-accent);font-family:var(--am-font-mono);font-size:var(--am-text-xs)}
.inventory-rules h3{margin-top:var(--am-space-1)}
.inventory-rules dl{margin-top:var(--am-space-3);padding-block:var(--am-space-2);border-block:1px solid var(--am-color-line)}
.inventory-rules dl div{display:flex;justify-content:space-between;gap:var(--am-space-2);padding:.35rem 0}
.inventory-rules dt{color:var(--am-color-muted)}
.inventory-rules dd{font-family:var(--am-font-mono);font-variant-numeric:tabular-nums}
.inventory-rules article>p{margin-top:var(--am-space-3);color:var(--am-color-muted)}
.inventory-boundary{
  margin-top:var(--am-space-4);
  padding:var(--am-space-4);
  border:1px solid var(--am-color-line);
  border-radius:var(--am-radius-lg);
  background:var(--am-color-surface);
}
.inventory-boundary ol{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:var(--am-space-3);
  margin-top:var(--am-space-3);
  list-style:none;
  counter-reset:boundary;
}
.inventory-boundary li{min-width:0;padding-left:var(--am-space-2);border-left:1px solid var(--am-color-line-strong)}
.inventory-boundary span{font-weight:700}
.inventory-boundary p{margin-top:.35rem;color:var(--am-color-muted);font-size:var(--am-text-sm)}

.data-location{background:var(--am-color-ink-deep)}
.data-location__grid{
  display:grid;
  grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);
  gap:var(--am-space-8);
  align-items:start;
}
.data-location__grid>*{min-width:0}
.data-location h2{margin-top:var(--am-space-1)}
.data-location .am-lead{margin-top:var(--am-space-3);color:var(--am-color-muted)}
.data-location__checklist{
  padding:var(--am-space-4);
  border:1px solid var(--am-color-line);
  border-radius:var(--am-radius-lg);
  background:var(--am-color-surface);
}
.data-location__checklist ul{display:grid;gap:var(--am-space-2);margin-top:var(--am-space-3);list-style:none}
.data-location__checklist li{display:grid;grid-template-columns:auto minmax(0,1fr);gap:var(--am-space-1);color:var(--am-color-muted)}
.data-location__checklist svg{width:22px;height:22px;color:var(--am-color-accent)}
.data-location__checklist strong{color:var(--am-color-white)}

.regions-final{padding-top:var(--am-space-8)}
.regions-cta{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:var(--am-space-6);
  align-items:center;
  padding:var(--am-space-6);
  overflow:hidden;
  border:1px solid var(--am-color-line-strong);
  border-radius:var(--am-radius-lg);
  background:var(--am-gradient-brand);
}
.regions-cta>*{min-width:0}
.regions-cta h2{margin-top:var(--am-space-1)}
.regions-cta p{max-width:780px;margin-top:var(--am-space-2);color:var(--am-color-light)}
.regions-cta .am-eyebrow{color:var(--am-color-white)}
.regions-cta__note{font-size:var(--am-text-sm)}
.regions-cta__actions{display:flex;flex-direction:column;gap:var(--am-space-1);min-width:220px}
.regions-cta__actions .c-btn--ghost{align-self:center}

@media(max-width:1100px){
  .regions-overview{grid-template-columns:repeat(3,minmax(0,1fr))}
  .regions-hero__grid{gap:var(--am-space-4)}
  .regions-cta{grid-template-columns:1fr}
  .regions-cta__actions{flex-direction:row;flex-wrap:wrap}
}
@media(max-width:900px){
  .regions-hero__grid,.us-west-panel,.data-location__grid{grid-template-columns:1fr}
  .regions-hero__visual{max-width:680px;width:100%;margin-inline:auto}
  .am-section-head{grid-template-columns:1fr;gap:var(--am-space-2)}
  .us-west-panel__checks{padding-top:var(--am-space-4);padding-left:0;border-top:1px solid var(--am-color-line);border-left:0}
  .inventory-boundary ol{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:680px){
  .regions-hero{padding-top:var(--am-space-6)}
  .regions-hero__actions{flex-direction:column}
  .regions-map{min-height:360px}
  .regions-map__lines{top:40px}
  .regions-map__head{align-items:flex-start}
  .regions-map__node small{display:none}
  .regions-map__node--us{left:7%;top:48%}
  .regions-map__node--sg{left:42%;top:63%}
  .regions-map__node--hk{left:62%;top:43%}
  .regions-map__node--kr{left:71%;top:34%}
  .regions-map__node--jp{right:5%;top:24%}
  .regions-overview{grid-template-columns:1fr}
  .region-card{min-height:0}
  .region-card .c-badge{margin-top:var(--am-space-3)}
  .method-card,.region-detail{min-height:0}
  .method-card strong{margin-top:var(--am-space-3)}
  .region-inventory__action{display:block}
  .us-west-panel,.data-location__checklist,.inventory-boundary,.regions-cta{padding:var(--am-space-3)}
  .inventory-boundary ol{grid-template-columns:1fr}
  .regions-cta__actions{flex-direction:column;min-width:0}
  .regions-cta__actions .c-btn--ghost{align-self:stretch}
}
@media(max-width:390px){
  .regions-map{min-height:320px}
  .regions-map__head{font-size:.68rem}
  .regions-map__node span{width:12px;height:12px;border-width:3px}
  .regions-map__node b{font-size:var(--am-text-xs)}
  .region-detail__head{align-items:flex-start}
  .region-detail__code{width:50px;height:50px}
}
@media(prefers-reduced-motion:no-preference){
  .regions-hero::before{animation:regions-glow 14s var(--am-ease) infinite alternate}
  .regions-map__node span{animation:regions-pulse 2.8s var(--am-ease) infinite}
  .regions-map__node:nth-of-type(2) span{animation-delay:.35s}
  .regions-map__node:nth-of-type(3) span{animation-delay:.7s}
  .regions-map__node:nth-of-type(4) span{animation-delay:1.05s}
  .regions-map__node:nth-of-type(5) span{animation-delay:1.4s}
}
@keyframes regions-glow{
  from{transform:translate3d(-4%,0,0) scale(.95)}
  to{transform:translate3d(6%,5%,0) scale(1.08)}
}
@keyframes regions-pulse{
  0%,100%{box-shadow:0 0 0 4px rgba(166,18,244,.14)}
  50%{box-shadow:0 0 0 9px rgba(166,18,244,.22)}
}
