:root{
  --bg:#050505;
  --bg-soft:#0b0b0b;
  --panel:#101010;
  --fg:#f5f7f4;
  --muted:#b7b7b7;
  --line:rgba(255,255,255,.10);
  --line-strong:rgba(255,255,255,.16);

  --gold:#d9b95b;
  --gold-2:#f2d36a;
  --green:#19d278;
  --green-2:#0b6b45;

  --shadow:0 16px 40px rgba(0,0,0,.32);
  --container:1200px;
  --font:Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  --h1:clamp(2.2rem, 4.2vw, 3.2rem);
  --h2:clamp(1.45rem, 2.4vw, 2.25rem);
  --h3:clamp(1.08rem, 1.8vw, 1.3rem);
}

html{
  box-sizing:border-box;
  font-size:16px;
  -webkit-text-size-adjust:100%;
  scroll-behavior:smooth;
}

*, *::before, *::after{
  box-sizing:inherit;
}

body{
  margin:0;
  background:
    radial-gradient(circle at 12% 0%, rgba(25,210,120,.08), transparent 24%),
    radial-gradient(circle at 88% 8%, rgba(217,185,91,.08), transparent 22%),
    linear-gradient(180deg, #050505 0%, #090909 46%, #050505 100%);
  color:var(--fg);
  font-family:var(--font);
  line-height:1.6;
  overflow-x:hidden;
}

img, svg, video, canvas{
  display:block;
  max-width:100%;
  height:auto;
}

a{
  color:inherit;
  text-decoration:none;
}

button, input, textarea, select{
  font:inherit;
}

button{
  cursor:pointer;
}

p, h1, h2, h3, h4, h5, h6{
  margin:0;
}

::selection{
  background:rgba(217,185,91,.26);
  color:#fff;
}

/* =========================================================
   LAYOUT
========================================================= */

.wrap{
  width:min(var(--container), calc(100% - 32px));
  margin:0 auto;
}

.hidden{
  display:none !important;
}

/* =========================================================
   TYPE
========================================================= */

h1{
  font-size:var(--h1);
  line-height:1.08;
  font-weight:850;
  letter-spacing:-.03em;
  color:var(--gold);
}

h2{
  font-size:var(--h2);
  line-height:1.12;
  font-weight:820;
  letter-spacing:-.02em;
  color:var(--gold);
}

h3{
  font-size:var(--h3);
  line-height:1.2;
  font-weight:780;
  color:var(--gold);
}

h4{
  color:var(--gold);
}

p{
  color:#d9d9d9;
}

/* =========================================================
   HEADER / NAV
========================================================= */

.site-header{
  position:sticky;
  top:0;
  z-index:1000;
  width:100%;
  background:rgba(0,0,0,.88);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  border-bottom:1px solid var(--line);
}

.header-inner{
  padding:12px 0 10px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:12px;
}

.brand{
  display:inline-flex;
  align-items:center;
  gap:10px;
  min-width:0;
  max-width:100%;
}

.brand-stack{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  min-width:0;
}

.brand-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:6px 10px;
  min-height:34px;
  border-radius:999px;
  background:rgba(11,107,69,.18);
  border:1px solid rgba(11,107,69,.6);
  color:var(--gold);
  font-weight:950;
  font-size:.82rem;
  line-height:1;
  letter-spacing:.08em;
  white-space:nowrap;
}

.brand-name{
  color:var(--fg);
  font-weight:780;
  font-size:.94rem;
  line-height:1.2;
  white-space:nowrap;
}

.nav{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  flex-wrap:wrap;
  gap:10px;
  width:100%;
  margin:0;
  padding:0 0 4px;
  list-style:none;
}

.nav-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:36px;
  padding:6px 9px;
  border-radius:12px;
  position:relative;
  color:var(--gold);
  background:transparent;
  font-size:.95rem;
  line-height:1.2;
  white-space:nowrap;
  opacity:.94;
  transition:
    color .25s ease,
    opacity .25s ease,
    background .25s ease,
    transform .25s ease;
}

.nav-link:hover{
  color:var(--gold-2);
  opacity:1;
  background:rgba(255,255,255,.03);
  transform:translateY(-1px);
}

.nav-link::after{
  content:"";
  position:absolute;
  left:8px;
  right:8px;
  bottom:-4px;
  height:2px;
  background:currentColor;
  transform:scaleX(0);
  transform-origin:left center;
  transition:transform .25s ease;
}

.nav-link:hover::after,
.nav-link[aria-current="page"]::after{
  transform:scaleX(1);
}

.nav-link[aria-current="page"]{
  color:var(--green);
  opacity:1;
  background:rgba(25,210,120,.08);
}

/* =========================================================
   SECTIONS
========================================================= */

.section,
.seo-section{
  position:relative;
  padding:56px 0;
}

.section .wrap,
.seo-section .wrap{
  max-width:1180px;
  padding-left:clamp(24px, 6vw, 96px);
  padding-right:clamp(24px, 6vw, 96px);
}

.seo-section + .seo-section::before,
.section + .seo-section::before,
.seo-section + .section::before,
.section + .section::before{
  content:"";
  position:absolute;
  top:0;
  left:50%;
  transform:translateX(-50%);
  width:min(1120px, calc(100% - 56px));
  height:1px;
  background:linear-gradient(
    90deg,
    rgba(255,255,255,0),
    rgba(217,185,91,.14),
    rgba(255,255,255,0)
  );
}

.seo-section h2,
.section h2{
  margin:0 0 20px;
  line-height:1.15;
}

.seo-section p,
.section p{
  margin:0 0 18px;
  line-height:1.75;
}

.signal-label{
  display:inline-flex;
  align-items:center;
  gap:10px;
  margin-bottom:18px;
  padding:6px 12px;
  min-height:34px;
  border:1px solid rgba(11,107,69,.55);
  background:rgba(11,107,69,.16);
  border-radius:999px;
  color:var(--gold-2);
  font-size:.82rem;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.signal-label::before{
  content:"";
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--green);
  box-shadow:0 0 0 6px rgba(25,210,120,.12);
}

.hero-sub{
  max-width:72ch;
  color:#dddddd;
  font-size:clamp(1rem, 1.35vw, 1.08rem);
}

.gold-callout{
  margin-top:24px;
  padding:20px 22px;
  border:1px solid rgba(217,185,91,.22);
  border-radius:18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.018)),
    rgba(0,0,0,.22);
  box-shadow:
    0 18px 38px rgba(0,0,0,.24),
    inset 0 1px 0 rgba(255,255,255,.03);
}

.gold-callout p:last-child{
  margin-bottom:0;
}

.gold-callout strong{
  color:#f2d36a;
}

.armory-subline{
  margin-top:6px;
  color:#efd78a;
  font-size:1rem;
  font-weight:600;
  line-height:1.65;
  letter-spacing:.01em;
}

.armory-image-placeholder{
  margin:40px auto;
  max-width:1200px;
  min-height:300px;
  border:1px dashed rgba(212,175,55,.4);
  display:flex;
  align-items:center;
  justify-content:center;
  color:#aaa;
  font-size:1rem;
  letter-spacing:.5px;
  border-radius:14px;
  background:rgba(255,255,255,.02);
  text-align:center;
  padding:24px;
}

/* =========================================================
   ARSENAL ARMORY — CANONICAL
========================================================= */

.armory-intro{
  position:relative;
}

.apdd-core-statement{
  max-width:900px;
  margin:40px auto 28px;
  text-align:center;
  padding:0 20px;
}

.apdd-core-statement .core-line{
  font-size:clamp(1.75rem, 3vw, 2.35rem);
  font-weight:800;
  letter-spacing:.02em;
  color:#f2f7f3;
  margin-bottom:12px;
  line-height:1.4;
  text-shadow:0 0 22px rgba(25,210,120,.08);
}

.apdd-core-statement .core-subline{
  font-size:clamp(1rem, 1.45vw, 1.14rem);
  color:#d7c680;
  line-height:1.5;
  max-width:64ch;
  margin:0 auto;
}

#armory-intro-title{
  margin:10px 0 18px;
  text-shadow:0 0 24px rgba(217,185,91,.08);
}

.armory-case-shell{
  position:relative;
  margin-top:44px;
  border:1px solid rgba(217,185,91,.16);
  border-radius:24px;
  padding:34px 30px;
  background:
    radial-gradient(circle at top center, rgba(217,185,91,.06), transparent 28%),
    radial-gradient(circle at bottom center, rgba(25,210,120,.06), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015)),
    rgba(255,255,255,.02);
  backdrop-filter:blur(6px);
  -webkit-backdrop-filter:blur(6px);
  box-shadow:
    0 26px 64px rgba(0,0,0,.42),
    inset 0 1px 0 rgba(255,255,255,.03);
  overflow:hidden;
}

.armory-case-shell::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:24px;
  pointer-events:none;
  background:
    radial-gradient(circle at top center, rgba(212,175,55,.10), transparent 34%),
    radial-gradient(circle at bottom center, rgba(11,107,69,.12), transparent 32%);
}

.armory-case{
  width:100%;
  border:0;
  background:transparent;
  padding:0;
  text-align:left;
  cursor:pointer;
  position:relative;
  z-index:1;
}

.armory-case-topbar{
  display:block;
  width:min(100%,1120px);
  height:26px;
  margin:0 auto 12px;
  border-radius:10px 10px 0 0;
  background:linear-gradient(135deg, #b98a11, #e0bf55);
  box-shadow:
    0 16px 34px rgba(0,0,0,.34),
    inset 0 1px 0 rgba(255,255,255,.18);
}

.armory-drawers{
  width:min(100%,1120px);
  margin:0 auto;
  display:grid;
  gap:14px;
  padding:16px 22px 26px;
  background:linear-gradient(180deg, #166542 0%, #114e33 100%);
  border:4px solid #d4af37;
  border-radius:24px;
  box-shadow:0 24px 52px rgba(0,0,0,.36);
}

.armory-drawer-front{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
  align-items:center;
  min-height:152px;
  padding:0 42px;
  border-radius:16px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.015)),
    linear-gradient(180deg, #176b43 0%, #115534 100%);
  border:2px solid rgba(0,0,0,.18);
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,.06),
    inset 0 -12px 20px rgba(0,0,0,.11);
  overflow:visible;
  transition:transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.armory-case:hover .armory-drawer-front{
  transform:translateY(-2px);
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,.06),
    inset 0 -12px 20px rgba(0,0,0,.11),
    0 10px 20px rgba(0,0,0,.18);
}

.armory-drawer-label{
  display:block;
  color:#ffffff;
  position:relative;
  z-index:2;
  font-weight:900;
  font-size:clamp(2.1rem, 3vw, 3rem);
  line-height:1.05;
  letter-spacing:.01em;
  white-space:nowrap;
  text-shadow:0 4px 12px rgba(0,0,0,.45);
}

.armory-drawer-label.left{
  text-align:left;
  padding-right:40px;
}

.armory-drawer-label.right{
  text-align:right;
  padding-left:40px;
}

.armory-handle{
  display:block;
  width:min(340px,42%);
  height:24px;
  border-radius:999px;
  background:linear-gradient(180deg, #f4f4f4, #dcdcdc);
  position:relative;
  box-shadow:0 2px 8px rgba(0,0,0,.16);
  transition:transform .25s ease, box-shadow .25s ease;
}

.armory-case:hover .armory-handle{
  transform:scaleX(1.02);
  box-shadow:0 0 12px rgba(232,232,232,.12);
}

.armory-handle::before,
.armory-handle::after{
  content:"";
  position:absolute;
  top:50%;
  width:10px;
  height:10px;
  border-radius:50%;
  background:#d4af37;
  transform:translateY(-50%);
}

.armory-handle::before{
  left:10px;
}

.armory-handle::after{
  right:10px;
}

.armory-drawer-front--signal{
  grid-template-columns:1fr;
  padding:0 28px;
}

.armory-drawer-signal{
  display:block;
  text-align:center;
  color:#f2d36a;
  position:relative;
  z-index:2;
  font-weight:900;
  font-size:clamp(1.4rem, 2vw, 2rem);
  letter-spacing:.03em;
  line-height:1.2;
  text-shadow:0 2px 4px rgba(0,0,0,.6);
}

.armory-case-caption{
  display:block;
  text-align:center;
  margin-top:26px;
  color:#f4f4f4;
  font-size:clamp(1.7rem, 3vw, 2.6rem);
  font-weight:850;
  line-height:1.15;
  letter-spacing:.01em;
  text-shadow:0 0 18px rgba(255,255,255,.04);
  transition:color .3s ease, text-shadow .3s ease;
}

.armory-case.is-open .armory-case-caption,
.armory-case[aria-expanded="true"] .armory-case-caption{
  color:var(--gold-2);
  text-shadow:0 0 22px rgba(217,185,91,.16);
}

.armory-tools-visual,
.armory-drawer-panel{
  width:min(100%,1120px);
  margin-left:auto;
  margin-right:auto;
  opacity:0;
  transform:translateY(-10px);
  max-height:0;
  overflow:hidden;
  pointer-events:none;
  transition:
    opacity .35s ease,
    transform .35s ease,
    max-height .45s ease,
    margin-top .35s ease;
}

.armory-tools-visual{
  display:flex;
  margin-top:0;
}

.armory-drawer-panel{
  margin-top:0;
  border-radius:20px;
  border:1px solid rgba(217,185,91,.24);
  background:
    radial-gradient(circle at top center, rgba(217,185,91,.05), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.018)),
    #090909;
  box-shadow:
    0 24px 54px rgba(0,0,0,.38),
    inset 0 1px 0 rgba(255,255,255,.03);
}

.armory-tools-visual.is-open{
  opacity:1;
  transform:translateY(0);
  max-height:560px;
  margin-top:26px;
  pointer-events:auto;
}

.armory-drawer-panel.is-open{
  opacity:1;
  transform:translateY(0);
  max-height:2400px;
  margin-top:30px;
  pointer-events:auto;
}

.armory-drawer-panel-inner{
  padding:36px 30px;
}

.armory-drawer-panel-inner > h3{
  margin-bottom:10px;
}

.armory-drawer-panel-inner > p strong{
  color:#f2d36a;
}

.armory-tool-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:24px;
  margin-top:26px;
}

.armory-tool-card{
  position:relative;
  overflow:hidden;
  padding:24px 20px 22px;
  border-radius:18px;
  border:1px solid rgba(217,185,91,.18);
  background:
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02)),
    rgba(255,255,255,.02);
  box-shadow:
    0 14px 30px rgba(0,0,0,.18),
    inset 0 1px 0 rgba(255,255,255,.03);
  transition:
    transform .25s ease,
    border-color .25s ease,
    box-shadow .25s ease,
    background .25s ease;
}

.armory-tool-card::before{
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:4px;
  background:linear-gradient(180deg, var(--gold), var(--green));
  opacity:.85;
}

.armory-tool-card:hover{
  transform:translateY(-4px);
  border-color:rgba(217,185,91,.32);
  box-shadow:
    0 22px 34px rgba(0,0,0,.24),
    inset 0 1px 0 rgba(255,255,255,.03);
}

.armory-tool-card h4{
  margin:0 0 12px;
  color:var(--gold);
  font-size:1.14rem;
  letter-spacing:.01em;
}

.armory-tool-card p{
  margin:0;
  color:#dfdfdf;
  line-height:1.68;
}

.armory-panel-note{
  margin-top:28px;
  padding-top:8px;
  border-top:1px solid rgba(255,255,255,.06);
  color:#ececec;
}

/* =========================================================
   SYSTEM INTERFACE VISUAL
========================================================= */

.armory-system-visual{
  margin:46px auto 8px;
  padding:42px 24px 34px;
  border-radius:22px;
  border:1px solid rgba(217,185,91,.18);
  background:
    radial-gradient(circle at center, rgba(25,210,120,.05), transparent 44%),
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015)),
    rgba(0,0,0,.48);
  text-align:center;
  box-shadow:
    0 22px 54px rgba(0,0,0,.34),
    inset 0 1px 0 rgba(255,255,255,.03);
}

.system-core{
  font-size:clamp(1.28rem, 2vw, 1.7rem);
  font-weight:900;
  color:var(--gold);
  margin-bottom:24px;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.system-lanes{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:14px;
}

.system-lanes span{
  padding:11px 18px;
  border-radius:999px;
  font-size:.85rem;
  font-weight:700;
  color:#fff;
  border:1px solid rgba(255,255,255,.10);
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.025));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.03);
  transition:all .2s ease;
}

.system-lanes span:hover{
  border-color:var(--gold);
  color:var(--gold);
  transform:translateY(-2px);
  box-shadow:0 10px 24px rgba(0,0,0,.18);
}

/* =========================================================
   MEDIA BLOCK
========================================================= */

.apdd-media{
  margin:54px auto 22px;
  text-align:center;
}

.apdd-media img{
  width:100%;
  max-width:1100px;
  display:block;
  margin:0 auto;
  height:auto;
  border-radius:20px;
  border:1px solid rgba(255,255,255,.08);
  box-shadow:
    0 26px 60px rgba(0,0,0,.42),
    0 0 0 1px rgba(217,185,91,.08);
}

.apdd-caption{
  margin-top:14px;
  font-size:.92rem;
  color:#c8c8c8;
  letter-spacing:.02em;
}

/* =========================================================
   APDD 9-DOT PUZZLE
========================================================= */

.apdd-puzzle-wrap{
  margin:32px auto 0;
  max-width:980px;
}

.apdd-puzzle-stage{
  width:100%;
  max-width:860px;
  margin:0 auto;
  border:1px solid rgba(212,175,55,.24);
  border-radius:18px;
  overflow:hidden;
  background:#000;
  box-shadow:0 18px 44px rgba(0,0,0,.38);
}

.apdd-puzzle-svg{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:1 / 1;
  background:#000;
}

.apdd-puzzle-dot{
  fill:#d4af37;
}

.apdd-puzzle-line{
  stroke:#ffffff;
  stroke-width:16;
  stroke-linecap:round;
}

.apdd-puzzle-preview{
  stroke:rgba(255,255,255,.55);
  stroke-width:12;
  stroke-linecap:round;
  stroke-dasharray:18 14;
}

.apdd-puzzle-check{
  fill:none;
  stroke:#19d278;
  stroke-width:16;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.apdd-puzzle-meta{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin:16px auto 0;
  max-width:860px;
  color:#d9d9d9;
}

.apdd-puzzle-status{
  color:#d9d9d9;
}

.apdd-puzzle-timer{
  color:var(--gold);
  font-weight:800;
}

.apdd-puzzle-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:14px;
}

.apdd-puzzle-actions .btn{
  min-width:120px;
}

.apdd-puzzle-hint,
.apdd-puzzle-reveal-message{
  margin-top:14px;
  color:#bbb;
}

.apdd-puzzle-reveal-message.show,
.apdd-puzzle-reveal-message.active{
  display:block;
}

/* =========================================================
   INTEGRATION
========================================================= */

.armory-integration{
  padding:84px 0;
}

.integration-grid{
  display:grid;
  gap:22px;
  margin-top:34px;
  grid-template-columns:repeat(auto-fit, minmax(260px,1fr));
}

.integration-card{
  padding:24px 22px;
  border:1px solid rgba(217,185,91,.18);
  border-radius:16px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.02)),
    rgba(255,255,255,.015);
  box-shadow:
    0 14px 30px rgba(0,0,0,.18),
    inset 0 1px 0 rgba(255,255,255,.03);
  transition:
    transform .25s ease,
    border-color .25s ease,
    box-shadow .25s ease;
}

.integration-card:hover{
  transform:translateY(-4px);
  border-color:rgba(217,185,91,.3);
  box-shadow:
    0 20px 36px rgba(0,0,0,.24),
    inset 0 1px 0 rgba(255,255,255,.03);
}

.integration-card h3{
  margin-bottom:12px;
}

.integration-card p{
  margin:0;
  color:#dddddd;
}

/* =========================================================
   GENERIC BUTTONS / HERO UTILS
========================================================= */

.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:24px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:10px 16px;
  border-radius:12px;
  border:1px solid rgba(217,185,91,.22);
  transition:transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}

.btn:hover{
  transform:translateY(-1px);
}

.btn-primary{
  background:linear-gradient(135deg, rgba(217,185,91,.18), rgba(11,107,69,.22));
  color:var(--fg);
}

.btn-primary:hover{
  border-color:rgba(217,185,91,.42);
  background:linear-gradient(135deg, rgba(217,185,91,.26), rgba(11,107,69,.28));
}

.btn-ghost{
  background:rgba(255,255,255,.03);
  color:var(--gold);
}

.btn-ghost:hover{
  border-color:rgba(217,185,91,.42);
  background:rgba(255,255,255,.06);
}

.apdd-hero{
  position:relative;
  padding:88px 0 72px;
}

.apdd-hero-overlay{
  max-width:1180px;
  padding-left:clamp(24px, 6vw, 96px);
  padding-right:clamp(24px, 6vw, 96px);
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:10px;
  margin-bottom:18px;
  padding:6px 12px;
  border-radius:999px;
  border:1px solid rgba(11,107,69,.55);
  background:rgba(11,107,69,.16);
  color:var(--gold-2);
  font-size:.82rem;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.hero-title{
  max-width:16ch;
}

.hero-accent{
  display:block;
  color:var(--fg);
}

.h2-gold{
  color:var(--gold);
}

.h2-green{
  color:var(--green);
}

.section-tight{
  padding-top:42px;
  padding-bottom:42px;
}

.diagram-block{
  display:flex;
  justify-content:center;
}

.doctrine-diagram{
  width:100%;
  max-width:1100px;
  border-radius:16px;
  box-shadow:0 20px 50px rgba(0,0,0,.34);
}

.hero-divider-band{
  width:100%;
  height:1px;
  margin:8px 0 0;
  background:linear-gradient(90deg, transparent, rgba(217,185,91,.28), transparent);
}

.skip-link{
  position:absolute;
  left:-9999px;
  top:auto;
  width:1px;
  height:1px;
  overflow:hidden;
}

.skip-link:focus{
  left:16px;
  top:16px;
  width:auto;
  height:auto;
  padding:10px 14px;
  border-radius:10px;
  background:#000;
  color:#fff;
  z-index:2000;
}

/* =========================================================
   FINAL SECTION EMPHASIS
========================================================= */

#armory-final-title + .gold-callout{
  margin-top:22px;
}

#armory-final-title + .gold-callout + p{
  max-width:72ch;
}

/* =========================================================
   FOOTER
========================================================= */

.site-footer{
  border-top:1px solid var(--line);
  background:rgba(0,0,0,.40);
  margin-top:50px;
}

.footer-inner{
  padding:28px 0 40px;
}

.footer-bottom{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  justify-content:space-between;
  align-items:center;
  color:var(--muted);
  font-size:.94rem;
}

/* =========================================================
   BACK TO TOP
========================================================= */

.back-to-top{
  position:fixed;
  right:18px;
  bottom:18px;
  width:46px;
  height:46px;
  display:grid;
  place-items:center;
  border-radius:999px;
  background:rgba(0,0,0,.88);
  border:1px solid rgba(217,185,91,.32);
  color:var(--gold);
  box-shadow:0 14px 30px rgba(0,0,0,.28);
  opacity:0;
  pointer-events:none;
  transform:translateY(10px);
  transition:opacity .25s ease, transform .25s ease;
  z-index:1000;
}

.back-to-top.show{
  opacity:1;
  pointer-events:auto;
  transform:translateY(0);
}

.back-to-top:hover{
  transform:translateY(-2px);
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width:900px){
  .section,
  .seo-section{
    padding-top:44px;
    padding-bottom:44px;
  }

  .section .wrap,
  .seo-section .wrap{
    padding-left:20px;
    padding-right:20px;
  }

  .hero-actions{
    gap:10px;
  }

  .apdd-hero{
    padding:72px 0 58px;
  }

  .apdd-core-statement{
    margin:28px auto 24px;
  }

  .comparison-card{
    padding:18px 16px;
  }

  .armory-case-shell{
    padding:24px 18px;
    border-radius:20px;
  }

  .armory-drawers{
    padding:14px 14px 20px;
    border-radius:20px;
  }

  .armory-drawer-front{
    grid-template-columns:1fr;
    gap:12px;
    padding:16px 18px;
    min-height:94px;
    text-align:center;
    border-radius:14px;
  }

  .armory-drawer-label{
    font-size:clamp(1.35rem, 5vw, 1.95rem);
    white-space:normal;
  }

  .armory-drawer-label.left,
  .armory-drawer-label.right{
    text-align:center;
    padding-left:0;
    padding-right:0;
  }

  .armory-handle{
    margin:0 auto;
    width:min(260px,70vw);
  }

  .armory-case-caption{
    font-size:1.7rem;
  }

  .armory-drawer-panel-inner{
    padding:26px 18px;
  }

  .armory-tool-grid{
    grid-template-columns:1fr;
  }

  .apdd-media{
    margin:42px auto 18px;
  }

  .apdd-media img{
    border-radius:16px;
  }

  .integration-card,
  .armory-tool-card,
  .gold-callout{
    border-radius:16px;
  }
}

@media (max-width:720px){
  .brand-name{
    white-space:normal;
    font-size:.92rem;
  }

  .nav{
    gap:8px;
  }

  .nav-link{
    font-size:.92rem;
    padding:6px 8px;
    min-height:34px;
  }

  .footer-bottom{
    justify-content:flex-start;
  }
}

@media (prefers-reduced-motion: reduce){
  *,
  *::before,
  *::after{
    scroll-behavior:auto !important;
    animation:none !important;
    transition:none !important;
  }
}


/* ===== APDD FINAL POLISH — CONTROLLED LAYER ===== */

.seo-section .wrap > * + *,
.section .wrap > * + *{
  margin-top:18px;
}

h2{
  position:relative;
}

h2::after{
  content:"";
  display:block;
  width:80px;
  height:3px;
  margin-top:12px;
  border-radius:999px;
  background:linear-gradient(90deg, var(--gold), var(--green));
  box-shadow:0 0 16px rgba(217,185,91,.2);
}

.armory-case{
  transition:transform .25s ease;
}

.armory-case:active{
  transform:scale(.995);
}

.system-lanes span{
  transition:all .2s ease;
}

.system-lanes span:hover{
  color:var(--gold);
  border-color:var(--gold);
  transform:translateY(-2px);
}

.hero-sub{
  line-height:1.8;
}
/* =========================================================
   HOME PAGE — INTRO SPACING / READABILITY FIX
========================================================= */

.apdd-home-intro{
  padding: 56px 0 78px;
}

.apdd-home-intro .container{
  width: min(1100px, calc(100% - 48px));
  margin: 0 auto;
}

.apdd-home-intro .signal-label{
  margin-bottom: 20px;
}

.hero-seo-signals-static{
  display: grid;
  gap: 10px;
  margin-bottom: 30px;
}

.hero-seo-signals-static .signal-row{
  color: #d7c680;
  font-size: clamp(.95rem, 1.15vw, 1.02rem);
  line-height: 1.7;
  letter-spacing: .02em;
}

.apdd-home-intro .hero-title{
  max-width: 14ch;
  margin: 0 0 14px;
  line-height: 1.04;
}

.apdd-home-intro .hero-accent{
  display: block;
  margin: 0 0 22px;
  color: var(--green);
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  line-height: 1.2;
  font-weight: 800;
}

.apdd-home-intro .hero-sub{
  max-width: 62ch;
  margin: 0;
  font-size: clamp(1rem, 1.3vw, 1.08rem);
  line-height: 1.9;
  color: #dddddd;
}

@media (max-width: 720px){
  .apdd-home-intro{
    padding: 42px 0 60px;
  }

  .hero-seo-signals-static{
    gap: 8px;
    margin-bottom: 24px;
  }

  .apdd-home-intro .hero-title{
    margin-bottom: 12px;
  }

.apdd-home-intro .hero-accent{
  margin-bottom: 18px;
}

  .apdd-home-intro .hero-sub{
    line-height: 1.8;
  }
}

/* =========================================================
   GOVERNANCE PAGE (INTEGRATED FROM INLINE CSS)
========================================================= */

/* Governance layout adjustments */

.apdd-media-featured{
  margin:52px auto;
  text-align:center;
}

.apdd-media-featured img{
  width:100%;
  max-width:680px;
  border-radius:18px;
  box-shadow:0 20px 50px rgba(0,0,0,.45);
  margin:0 auto;
}

/* Governance spacing refinement */

.seo-section .seo-list{
  margin:0;
  padding-left:20px;
}

.seo-list li + li{
  margin-top:8px;
}

/* Governance hero eyebrow */

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:10px;
  margin-bottom:18px;
  padding:6px 12px;
  border-radius:999px;
  border:1px solid rgba(11,107,69,.55);
  background:rgba(11,107,69,.16);
  color:var(--gold-2);
  font-size:.82rem;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}
/* Governance / Hero Alignment Fix */

.apdd-hero-overlay{
  max-width:1180px;
  margin:0 auto;
  padding-left:clamp(24px, 6vw, 96px);
  padding-right:clamp(24px, 6vw, 96px);
}