:root{
  --bg:#050816;
  --bg2:#080d1f;
  --panel:#0b1024;
  --panel2:#101735;
  --line:#1f2a44;
  --text:#eef6ff;
  --muted:#9fb3c8;
  --cyan:#29d3ff;
  --blue:#3b82f6;
  --violet:#8b5cf6;
}

*{
  box-sizing:border-box;
}

html,
body{
  width:100%;
  max-width:100%;
  margin:0;
  overflow-x:hidden;
}

body{
  color:var(--text);
  font-family:Arial,Helvetica,sans-serif;
  background:
    radial-gradient(circle at 68% 28%, rgba(0,130,210,.18), transparent 34%),
    radial-gradient(circle at 32% 68%, rgba(15,76,140,.12), transparent 38%),
    linear-gradient(180deg,#050816 0%,#041021 52%,#030611 100%);
}

body::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:-3;
  pointer-events:none;
  background:
    radial-gradient(circle at 8% 16%, rgba(41,211,255,.16) 0 2px, transparent 9px),
    radial-gradient(circle at 18% 52%, rgba(41,211,255,.11) 0 2px, transparent 12px),
    radial-gradient(circle at 31% 29%, rgba(139,92,246,.10) 0 2px, transparent 11px),
    radial-gradient(circle at 43% 75%, rgba(41,211,255,.12) 0 2px, transparent 12px),
    radial-gradient(circle at 56% 44%, rgba(41,211,255,.10) 0 2px, transparent 10px),
    radial-gradient(circle at 69% 72%, rgba(139,92,246,.11) 0 2px, transparent 12px),
    radial-gradient(circle at 82% 61%, rgba(41,211,255,.12) 0 2px, transparent 12px),
    radial-gradient(circle at 94% 21%, rgba(41,211,255,.14) 0 2px, transparent 11px),
    radial-gradient(circle at 14% 88%, rgba(41,211,255,.10) 0 2px, transparent 12px),
    linear-gradient(115deg, transparent 0 18%, rgba(41,211,255,.030) 18.10%, transparent 18.35% 100%),
    linear-gradient(38deg, transparent 0 42%, rgba(41,211,255,.026) 42.10%, transparent 42.35% 100%),
    linear-gradient(150deg, transparent 0 63%, rgba(139,92,246,.024) 63.10%, transparent 63.35% 100%);
  filter:blur(1.2px);
  opacity:.78;
}

body::after{
  content:"";
  position:fixed;
  inset:0;
  z-index:-2;
  pointer-events:none;
  background:
    radial-gradient(circle at 74% 15%, rgba(41,211,255,.48) 0 1.8px, transparent 3px),
    radial-gradient(circle at 81% 19%, rgba(41,211,255,.54) 0 2px, transparent 3.2px),
    radial-gradient(circle at 89% 15%, rgba(41,211,255,.46) 0 1.7px, transparent 3px),
    radial-gradient(circle at 95% 24%, rgba(139,92,246,.42) 0 1.7px, transparent 3px),
    radial-gradient(circle at 77% 31%, rgba(41,211,255,.42) 0 1.7px, transparent 3px),
    radial-gradient(circle at 86% 34%, rgba(41,211,255,.50) 0 1.9px, transparent 3.1px),
    radial-gradient(circle at 93% 41%, rgba(41,211,255,.39) 0 1.6px, transparent 3px),
    radial-gradient(circle at 12% 24%, rgba(41,211,255,.22) 0 1.1px, transparent 2.4px),
    radial-gradient(circle at 25% 36%, rgba(41,211,255,.20) 0 1px, transparent 2.4px),
    radial-gradient(circle at 40% 19%, rgba(41,211,255,.18) 0 1px, transparent 2.4px),
    radial-gradient(circle at 55% 55%, rgba(41,211,255,.18) 0 1px, transparent 2.4px),
    radial-gradient(circle at 66% 82%, rgba(139,92,246,.18) 0 1px, transparent 2.4px),
    radial-gradient(circle at 34% 84%, rgba(41,211,255,.17) 0 1px, transparent 2.4px),
    linear-gradient(20deg, transparent 0 70.0%, rgba(41,211,255,.145) 70.12%, transparent 70.36%),
    linear-gradient(155deg, transparent 0 72.0%, rgba(41,211,255,.130) 72.12%, transparent 72.36%),
    linear-gradient(62deg, transparent 0 76.0%, rgba(41,211,255,.115) 76.12%, transparent 76.36%),
    linear-gradient(114deg, transparent 0 80.0%, rgba(139,92,246,.105) 80.12%, transparent 80.36%),
    linear-gradient(34deg, transparent 0 84.0%, rgba(41,211,255,.100) 84.12%, transparent 84.36%),
    linear-gradient(142deg, transparent 0 88.0%, rgba(41,211,255,.085) 88.12%, transparent 88.36%),
    linear-gradient(25deg, transparent 0 32%, rgba(41,211,255,.040) 32.08%, transparent 32.23%),
    linear-gradient(148deg, transparent 0 46%, rgba(41,211,255,.035) 46.08%, transparent 46.23%),
    linear-gradient(70deg, transparent 0 58%, rgba(41,211,255,.030) 58.08%, transparent 58.23%),
    linear-gradient(118deg, transparent 0 64%, rgba(139,92,246,.028) 64.08%, transparent 64.23%);
  opacity:.86;
}

a{
  color:inherit;
  text-decoration:none;
}

img{
  max-width:100%;
  height:auto;
  font-size:0;
}

/* =========================
   HEADER / NAVIGATION
   ========================= */

header{
  position:sticky;
  top:0;
  z-index:20;
  width:100%;
  background:rgba(5,8,22,.92);
  backdrop-filter:blur(14px);
  border-bottom:1px solid var(--line);
}

.nav{
  width:100%;
  max-width:1540px;
  margin:0 auto;
  padding:14px 28px;

  display:grid;
  grid-template-columns:220px minmax(0,1fr) auto;
  align-items:center;
  gap:18px;
}

.brand{
  justify-self:start;
  font-weight:900;
  letter-spacing:.14em;
  color:white;
  white-space:nowrap;
}

.menu{
  justify-self:center;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:nowrap;
  gap:8px;
  min-width:0;
}

.menu a{
  color:#b9d2ea;
  border:1px solid rgba(41,211,255,.14);
  border-radius:10px;
  padding:6px 9px;
  background:rgba(255,255,255,.012);
  transition:.2s ease;
  white-space:nowrap;
  font-size:14px;
  line-height:1.2;
}

.menu a:hover{
  color:var(--cyan);
  border-color:rgba(41,211,255,.65);
  background:rgba(41,211,255,.08);
  box-shadow:
    0 0 0 1px rgba(41,211,255,.12),
    0 0 22px rgba(41,211,255,.20);
}

.menu a.active,
.menu a[aria-current="page"]{
  color:#e7fbff;
  border-color:rgba(41,211,255,.62);
  background:rgba(41,211,255,.10);
  box-shadow:0 0 18px rgba(41,211,255,.18);
}

.menu a::before,
.menu a::after{
  content:none;
  display:none;
}

.lang{
  justify-self:end;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  white-space:nowrap;
}

.lang a{
  color:#5f7894;
  border:1px solid rgba(41,211,255,.18);
  border-radius:10px;
  padding:6px 9px;
  background:rgba(255,255,255,.015);
  transition:.2s ease;
  font-size:14px;
  line-height:1.2;
}

.lang a.active{
  color:#e7fbff;
  border-color:rgba(41,211,255,.55);
  background:rgba(41,211,255,.09);
  box-shadow:0 0 18px rgba(41,211,255,.16);
}

.lang a:hover{
  color:var(--cyan);
  border-color:rgba(41,211,255,.75);
  background:rgba(41,211,255,.10);
  box-shadow:
    0 0 0 1px rgba(41,211,255,.14),
    0 0 24px rgba(41,211,255,.24);
}

/* =========================
   MAIN LAYOUT
   ========================= */

main{
  max-width:1240px;
  margin:auto;
  padding:38px 24px 72px;
  position:relative;
}

.hero{
  padding:18px 0 78px;
  position:relative;
}

.hero > *{
  position:relative;
  z-index:2;
}

h1{
  font-size:68px;
  line-height:1;
  margin:24px 0 18px;
  letter-spacing:.08em;
}

h2{
  font-size:36px;
  line-height:1.16;
  margin:0 0 18px;
}

h3{
  margin:0 0 12px;
  color:white;
}

p,
li{
  color:var(--muted);
  font-size:17px;
  line-height:1.72;
}

.section{
  position:relative;
  border-top:1px solid var(--line);
  padding:58px 0;
}

.badge{
  display:inline-block;
  color:var(--cyan);
  border:1px solid var(--line);
  background:rgba(41,211,255,.08);
  padding:8px 13px;
  border-radius:999px;
  font-size:14px;
  box-shadow:0 0 24px rgba(41,211,255,.12);
}

.grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:18px;
}

.card{
  display:flex;
  flex-direction:column;
  background:rgba(12,21,36,.58);
  border:1px solid var(--line);
  border-radius:18px;
  padding:22px;
  backdrop-filter:blur(14px);
  box-shadow:
    0 0 0 1px rgba(41,211,255,.04),
    0 18px 55px rgba(0,0,0,.18);
}

.card:hover{
  box-shadow:
    0 0 0 1px rgba(41,211,255,.18),
    0 20px 70px rgba(41,211,255,.08);
}

.card .btn,
.card .btn.secondary{
  margin-top:auto;
  align-self:flex-start;
}

.notice{
  margin-top:26px;
  padding:16px 18px;
  border-left:3px solid var(--cyan);
  border-radius:12px;
  background:rgba(41,211,255,.07);
  backdrop-filter:blur(10px);
  box-shadow:
    0 0 0 1px rgba(41,211,255,.04),
    0 18px 55px rgba(0,0,0,.18);
}

.btn{
  display:inline-block;
  margin:12px 12px 12px 0;
  padding:14px 22px;
  border-radius:12px;
  background:linear-gradient(135deg,var(--cyan),var(--violet));
  color:#020617;
  font-weight:800;
  box-shadow:0 0 26px rgba(41,211,255,.18);
}

.btn.secondary{
  color:var(--text);
  background:transparent;
  border:1px solid var(--line);
}

.form input,
.form textarea,
.form select{
  width:100%;
  margin:8px 0;
  padding:14px;
  border-radius:10px;
  border:1px solid var(--line);
  background:#080d1f;
  color:white;
}

.footer{
  max-width:1240px;
  margin:auto;
  padding:36px 24px;
  border-top:1px solid var(--line);
}

.logo-placeholder{
  border:1px dashed var(--line);
  padding:14px;
  border-radius:14px;
  color:var(--muted);
  font-size:14px;
}

.brand-logo{
  width:160px;
  height:auto;
  display:block;
  margin:0 0 18px;
}

.module-logo{
  width:76px;
  height:84px;
  object-fit:contain;
  display:block;
  margin:0 0 16px;
}

/* =========================
   MODULES / DEEP PAGES
   ========================= */

.module-group{
  background:rgba(12,21,36,.58);
  backdrop-filter:blur(14px);
  box-shadow:
    inset 0 0 0 1px rgba(41,211,255,.035),
    0 20px 70px rgba(0,0,0,.20);
}

.module-card{
  background:rgba(16,26,42,.54);
  backdrop-filter:blur(12px);
  border-color:rgba(43,61,92,.82);
}

.module-link:hover .module-card{
  background:rgba(20,34,55,.66);
}

.module-group h2{
  color:#8feaff;
  text-shadow:0 0 18px rgba(41,211,255,.16);
}

.module-deep-hero{
  display:grid;
  grid-template-columns:180px 1fr;
  gap:34px;
  align-items:center;
}

.module-deep-logo{
  width:170px;
  max-width:100%;
  filter:drop-shadow(0 0 26px rgba(41,211,255,.18));
}

.module-meta{
  color:#8feaff;
  letter-spacing:.08em;
  text-transform:uppercase;
  font-size:13px;
}

.module-detail-grid,
.deep-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:18px;
}

.module-detail-card,
.deep-card{
  background:rgba(11,16,36,.58);
  border:1px solid rgba(41,211,255,.16);
  border-radius:18px;
  padding:22px;
  backdrop-filter:blur(12px);
}

.module-detail-card h3,
.deep-card h3{
  margin-top:0;
  color:#e9fbff;
}

.module-detail-card li{
  margin-bottom:8px;
}

.deep-note{
  border:1px solid rgba(41,211,255,.16);
  border-radius:18px;
  padding:22px;
  background:rgba(11,16,36,.56);
  backdrop-filter:blur(12px);
}

.flow,
.pipeline,
.core-sequence,
.integration-flow,
.stack-flow{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:22px;
}

.flow span,
.pipeline span,
.core-sequence span,
.integration-flow span,
.stack-flow span{
  border:1px solid rgba(41,211,255,.22);
  background:rgba(41,211,255,.08);
  border-radius:999px;
  padding:10px 14px;
  color:#e8fcff;
}

/* =========================
   PAGE-SPECIFIC GRIDS
   ========================= */

.arch-grid,
.core-grid,
.tech-grid,
.investor-grid,
.industry-grid,
.integration-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:18px;
}

.industry-grid{
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:20px;
}

.arch-card,
.core-card,
.tech-card,
.investor-card,
.industry-card,
.integration-card{
  background:rgba(11,16,36,.58);
  border:1px solid rgba(41,211,255,.16);
  border-radius:18px;
  padding:24px;
  backdrop-filter:blur(12px);
}

.arch-card h3,
.core-card h3,
.tech-card h3,
.investor-card h3,
.industry-card h3,
.integration-card h3{
  margin-top:0;
  color:#ecfbff;
}

.arch-highlight,
.core-highlight,
.tech-highlight,
.investor-highlight,
.industry-highlight,
.integration-highlight{
  background:rgba(12,22,44,.68);
  border-left:4px solid rgba(41,211,255,.72);
  border-radius:18px;
  padding:24px;
  margin-top:26px;
}

.arch-highlight strong{
  color:#9befff;
}

.system-layer,
.truth-layer,
.audit-layer{
  position:relative;
  padding-left:26px;
  margin-bottom:28px;
}

.system-layer::before,
.truth-layer::before,
.audit-layer::before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width:2px;
  background:linear-gradient(180deg,rgba(41,211,255,.55),rgba(41,211,255,.05));
}

.arch-note{
  background:rgba(15,26,45,.62);
  backdrop-filter:blur(14px);
  border:1px solid rgba(41,211,255,.18);
  box-shadow:0 20px 70px rgba(0,0,0,.22);
}

.arch-note p{
  margin:12px 0;
}

.dot-separator{
  color:#6b86a3;
  padding:0 14px;
}

#nda-review{
  scroll-margin-top:110px;
}

/* =========================
   TABLE / CODE SAFETY
   ========================= */

table{
  width:100%;
  border-collapse:collapse;
}

pre,
code{
  max-width:100%;
}

/* =========================
   RESPONSIVE HEADER
   ========================= */

@media(max-width:1180px){

  .nav{
    grid-template-columns:1fr;
    justify-items:center;
    padding:18px 24px;
  }

  .brand,
  .menu,
  .lang{
    justify-self:center;
  }

  .menu{
    flex-wrap:wrap;
  }
}

@media(max-width:900px){

  header{
    position:relative;
    background:
      radial-gradient(circle at 20% 0%,rgba(41,211,255,.14),transparent 30%),
      radial-gradient(circle at 80% 10%,rgba(139,92,246,.14),transparent 34%),
      linear-gradient(180deg,#050816,#030611);
    border-bottom:1px solid rgba(41,211,255,.14);
  }

  .nav{
    width:100%;
    max-width:none;
    margin:0;
    padding:28px 18px 24px;

    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:flex-start;

    gap:18px;
  }

  .brand{
    order:1;
    width:100%;
    display:block;
    text-align:center;

    margin:0;
    padding:0;

    font-size:clamp(32px,10vw,48px);
    line-height:1.1;
    letter-spacing:.22em;
    white-space:nowrap;
  }

  .lang{
    order:2;
    width:100%;
    max-width:360px;

    display:flex;
    flex-direction:row;
    align-items:center;
    justify-content:center;

    gap:10px;
    margin:0 auto;
    padding:0;
  }

  .lang a{
    width:auto;
    min-width:74px;
    height:46px;

    display:inline-flex;
    align-items:center;
    justify-content:center;

    padding:0 18px;
    margin:0;

    font-size:16px;
    line-height:1;
    text-align:center;
    white-space:nowrap;

    border-radius:14px;
  }

  .menu{
    order:3;
    width:100%;
    max-width:360px;

    display:flex;
    flex-direction:column;
    align-items:stretch;
    justify-content:flex-start;

    gap:10px;
    margin:0 auto;
    padding:0;
  }

  .menu a{
    width:100%;
    max-width:100%;
    min-height:48px;

    display:flex;
    align-items:center;
    justify-content:center;

    padding:11px 16px;
    margin:0;

    font-size:17px;
    line-height:1.18;
    text-align:center;
    white-space:normal;
    overflow-wrap:normal;
    word-break:normal;

    border-radius:14px;
  }

  main{
    width:100%;
    max-width:100%;
    margin:0 auto;
    padding:32px 18px 56px;
  }

  .hero{
    padding:30px 0 34px;
  }

  h1,
  .hero h1{
    font-size:clamp(34px,10vw,46px);
    line-height:1.05;
    letter-spacing:.08em;
  }

  h2,
  .hero h2{
    font-size:28px;
    line-height:1.2;
  }

  p,
  li,
  .hero p{
    font-size:16px;
    line-height:1.65;
  }

  .section{
    padding:42px 0;
  }

  .section h2{
    font-size:30px;
    line-height:1.15;
  }

  .grid,
  .core-grid,
  .arch-grid,
  .industry-grid,
  .integration-grid,
  .investor-grid,
  .tech-grid,
  .deep-grid,
  .module-detail-grid,
  .module-grid,
  .contact-layout{
    grid-template-columns:1fr;
  }

  .card,
  .core-card,
  .arch-card,
  .industry-card,
  .integration-card,
  .investor-card,
  .tech-card,
  .deep-card,
  .module-card,
  .module-detail-card,
  .contact-panel{
    width:100%;
  }

  .btn{
    display:block;
    width:100%;
    text-align:center;
    margin:10px 0;
  }

  .pipeline,
  .flow,
  .core-sequence,
  .integration-flow,
  .stack-flow{
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:10px;
  }

  .pipeline span,
  .flow span,
  .core-sequence span,
  .integration-flow span,
  .stack-flow span{
    width:100%;
    text-align:center;
  }

  .module-deep-hero{
    grid-template-columns:1fr;
    gap:24px;
    align-items:flex-start;
    text-align:left;
  }

  .module-deep-logo,
  .module-logo,
  .brand-logo{
    max-width:120px;
  }

  table{
    display:block;
    width:100%;
    overflow-x:auto;
  }

  pre,
  code{
    white-space:pre-wrap;
    word-break:break-word;
  }
}

@media(max-width:520px){

  .nav{
    padding:24px 14px 22px;
    gap:16px;
  }

  .brand{
    font-size:clamp(30px,9.4vw,42px);
    letter-spacing:.18em;
  }

  .lang{
    max-width:320px;
    gap:8px;
  }

  .lang a{
    min-width:68px;
    height:44px;
    padding:0 14px;
    font-size:15px;
  }

  .menu{
    max-width:320px;
    gap:9px;
  }

  .menu a{
    min-height:46px;
    padding:10px 14px;
    font-size:16px;
  }

  main{
    padding-left:16px;
    padding-right:16px;
  }

  h1,
  .hero h1{
    font-size:34px;
  }

  h2,
  .hero h2{
    font-size:24px;
  }

  .section h2{
    font-size:26px;
  }

  .badge{
    font-size:12px;
    max-width:100%;
  }

  .card,
  .core-card,
  .arch-card,
  .industry-card,
  .integration-card,
  .investor-card,
  .tech-card,
  .deep-card,
  .module-card,
  .module-detail-card{
    padding:18px;
  }

  .footer{
    padding-left:20px;
    padding-right:20px;
  }
}

/* =========================================================
   SP4 DIAGRAM SYSTEM - ARAMION website-native architecture diagrams
   ========================================================= */

.sp4-diagram-section{
  border-top:1px solid rgba(41,211,255,.16);
  padding:58px 0;
}

.sp4-diagram-shell{
  background:linear-gradient(180deg,rgba(12,21,36,.72),rgba(8,13,31,.62));
  border:1px solid rgba(41,211,255,.18);
  border-radius:24px;
  padding:26px;
  box-shadow:0 24px 80px rgba(0,0,0,.24), inset 0 0 0 1px rgba(255,255,255,.025);
  backdrop-filter:blur(16px);
}

.sp4-diagram-kicker{
  color:var(--cyan);
  text-transform:uppercase;
  letter-spacing:.12em;
  font-size:12px;
  margin:0 0 10px;
}

.sp4-diagram-shell h2{
  margin:0 0 12px;
}

.sp4-diagram-lead{
  max-width:880px;
  margin:0 0 24px;
}

.sp4-flow,
.sp4-map,
.sp4-two,
.sp4-lifecycle{
  display:grid;
  gap:14px;
}

.sp4-flow{
  grid-template-columns:repeat(5,minmax(0,1fr));
  align-items:stretch;
}

.sp4-map{
  grid-template-columns:repeat(5,minmax(0,1fr));
}

.sp4-two{
  grid-template-columns:1fr 1fr;
  align-items:stretch;
}

.sp4-lifecycle{
  grid-template-columns:repeat(4,minmax(0,1fr));
}

.sp4-node,
.sp4-group,
.sp4-authority,
.sp4-signal{
  position:relative;
  min-height:116px;
  border:1px solid rgba(41,211,255,.18);
  border-radius:18px;
  padding:18px;
  background:rgba(8,13,31,.72);
  box-shadow:0 0 0 1px rgba(41,211,255,.035), 0 16px 45px rgba(0,0,0,.18);
}

.sp4-node strong,
.sp4-group strong,
.sp4-authority strong,
.sp4-signal strong{
  display:block;
  color:#eef6ff;
  margin-bottom:8px;
}

.sp4-node span,
.sp4-group span,
.sp4-authority span,
.sp4-signal span{
  display:block;
  color:var(--muted);
  font-size:14px;
  line-height:1.48;
}

.sp4-node::after{
  content:"";
  position:absolute;
  top:50%;
  right:-15px;
  width:15px;
  height:1px;
  background:linear-gradient(90deg,rgba(41,211,255,.7),rgba(41,211,255,.1));
}

.sp4-node:last-child::after{
  display:none;
}

.sp4-core{
  border-color:rgba(41,211,255,.55);
  background:linear-gradient(180deg,rgba(41,211,255,.13),rgba(8,13,31,.72));
}

.sp4-guard{
  border-color:rgba(139,92,246,.42);
}

.sp4-authority{
  border-color:rgba(41,211,255,.55);
  background:linear-gradient(180deg,rgba(41,211,255,.12),rgba(8,13,31,.75));
}

.sp4-signal{
  border-color:rgba(139,92,246,.36);
}

.sp4-rule{
  margin-top:16px;
  border-left:3px solid rgba(41,211,255,.75);
  background:rgba(41,211,255,.07);
  border-radius:14px;
  padding:14px 16px;
  color:#dff7ff;
  line-height:1.55;
}

.sp4-group ul{
  list-style:none;
  margin:10px 0 0;
  padding:0;
}

.sp4-group li{
  font-size:14px;
  line-height:1.45;
  color:#b9d2ea;
  margin:5px 0;
}

.sp4-group li::before{
  content:"";
  display:inline-block;
  width:6px;
  height:6px;
  border-radius:50%;
  background:var(--cyan);
  margin-right:8px;
  box-shadow:0 0 12px rgba(41,211,255,.5);
  vertical-align:middle;
}

.sp4-mini-label{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:#8feaff;
  border:1px solid rgba(41,211,255,.18);
  border-radius:999px;
  padding:7px 11px;
  margin:6px 6px 0 0;
  background:rgba(41,211,255,.055);
  font-size:13px;
}

.sp4-note-small{
  margin-top:14px;
  color:#9fb3c8;
  font-size:14px;
  line-height:1.55;
}

@media(max-width:1180px){
  .sp4-flow,
  .sp4-map{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .sp4-node::after{
    display:none;
  }
}

@media(max-width:780px){
  .sp4-diagram-section{
    padding:42px 0;
  }
  .sp4-diagram-shell{
    padding:18px;
    border-radius:20px;
  }
  .sp4-flow,
  .sp4-map,
  .sp4-two,
  .sp4-lifecycle{
    grid-template-columns:1fr;
  }
}

/* =========================================================
   ARAMION SP5 ARCHITECTURE PAGE
   ========================================================= */

.architecture-hero p,
.architecture-note{
  max-width:860px;
}

.architecture-section h2{
  margin-bottom:22px;
}

.architecture-map,
.architecture-split,
.architecture-module-grid,
.architecture-boundary{
  background:rgba(11,16,36,.52);
  border:1px solid rgba(41,211,255,.16);
  border-radius:22px;
  padding:22px;
  backdrop-filter:blur(12px);
  box-shadow:0 20px 70px rgba(0,0,0,.20);
}

.architecture-flow-map{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.architecture-node,
.architecture-panel{
  border:1px solid rgba(41,211,255,.20);
  background:linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.018));
  border-radius:18px;
  padding:18px;
  color:#eaf8ff;
}

.architecture-node{
  flex:1 1 0;
  min-height:82px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  font-weight:800;
}

.architecture-core,
.architecture-core-panel{
  border-color:rgba(41,211,255,.55);
  background:rgba(41,211,255,.09);
  box-shadow:0 0 28px rgba(41,211,255,.12);
}

.architecture-arrow,
.architecture-equals{
  color:#8feaff;
  font-size:12px;
  letter-spacing:.12em;
  text-transform:uppercase;
  opacity:.88;
}

.architecture-split{
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  gap:18px;
}

.architecture-panel h3{
  margin-top:0;
  color:#ecfbff;
}

.architecture-module-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(230px,1fr));
  gap:16px;
}

.architecture-boundary{
  border-left:4px solid rgba(41,211,255,.72);
}

.architecture-cta{
  margin-top:26px;
}

.architecture-cta .card{
  border-color:rgba(41,211,255,.20);
}

@media(max-width:900px){
  .architecture-flow-map,
  .architecture-split{
    display:flex;
    flex-direction:column;
    align-items:stretch;
  }

  .architecture-node{
    min-height:auto;
  }

  .architecture-arrow,
  .architecture-equals{
    text-align:center;
    padding:2px 0;
  }
}

/* =========================
   SP6A ACCENT INITIALS
   Brand-level cyan initials for headings and logo.
   Navigation remains unchanged.
   ========================= */

.accent-initial{
  color:var(--cyan);
  text-shadow:
    0 0 6px rgba(41,211,255,.45),
    0 0 14px rgba(41,211,255,.22);
}

.brand .accent-initial{
  color:var(--cyan);
  text-shadow:
    0 0 8px rgba(41,211,255,.55),
    0 0 18px rgba(41,211,255,.28),
    0 0 26px rgba(41,211,255,.16);
}

/* Keep menu neutral: do not accent navigation initials. */
.menu .accent-initial,
.lang .accent-initial,
.footer .accent-initial{
  color:inherit;
  text-shadow:none;
}

/* ===== SP7 CONTACT AND MODULE STYLE ===== */

.module-group h2{
  color:#eaf8ff !important;
  text-shadow:
    0 0 12px rgba(41,211,255,.14),
    0 0 24px rgba(41,211,255,.08) !important;
  border-bottom:1px solid rgba(41,211,255,.18);
  padding-bottom:14px;
  margin-bottom:22px;
}

.contact-form select{
  width:100%;
  box-sizing:border-box;
  border:1px solid #2b3d5c;
  border-radius:14px;
  background:#0c1524;
  color:#ffffff;
  padding:14px 16px;
  font:inherit;
  outline:none;
}

.contact-form select:focus{
  border-color:var(--cyan);
  box-shadow:0 0 0 1px rgba(41,211,255,.18);
}

.contact-confidentiality-notice{
  border-left-color:rgba(41,211,255,.82);
  background:rgba(41,211,255,.06);
}

/* ===== END SP7 CONTACT AND MODULE STYLE ===== */
/* ===== SP9A TRADEMARK NOTICE START ===== */
.trademark-notice{
  color:var(--muted);
  font-size:14px;
  line-height:1.6;
  margin:12px 0;
}
.footer .trademark-notice{
  max-width:860px;
}
/* ===== SP9A TRADEMARK NOTICE END ===== */
/* ===== SP9C FOOTER AND LEGAL ACCENT FIX ===== */
.footer{
  text-align:center;
}

.footer p{
  margin:8px 0;
}

.footer-architecture-link{
  margin-bottom:12px !important;
}

.footer-architecture-link a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:#eaf8ff;
  font-weight:800;
  letter-spacing:.045em;
  border:1px solid rgba(41,211,255,.32);
  border-radius:999px;
  padding:8px 16px;
  background:rgba(41,211,255,.065);
  box-shadow:0 0 18px rgba(41,211,255,.12);
}

.footer-architecture-link a:hover{
  color:var(--cyan);
  border-color:rgba(41,211,255,.68);
  background:rgba(41,211,255,.10);
  box-shadow:0 0 0 1px rgba(41,211,255,.12),0 0 24px rgba(41,211,255,.22);
}

.legal-links{
  color:#6b86a3;
}

.legal-links a{
  color:#9fb3c8;
}

.legal-links a:hover{
  color:var(--cyan);
}

.trademark-notice{
  color:#8ea5bd;
  font-size:14px;
  line-height:1.55;
  max-width:820px;
  margin-left:auto !important;
  margin-right:auto !important;
}
/* ===== END SP9C FOOTER AND LEGAL ACCENT FIX ===== */

/* ARAMION SP9D HEADER LOGO PATCH */
.brand{
  display:inline-flex;
  align-items:center;
  gap:10px;
}

.brand-mark{
  width:34px;
  height:34px;
  flex:0 0 auto;
  object-fit:contain;
  filter:
    drop-shadow(0 0 8px rgba(41,211,255,.42))
    drop-shadow(0 0 18px rgba(41,211,255,.20));
}

.brand-word{
  display:inline-block;
}

.hero .brand-logo{
  display:none !important;
}

@media(max-width:900px){
  .brand{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:10px !important;
    width:100% !important;
  }

  .brand-mark{
    width:36px;
    height:36px;
  }
}

@media(max-width:520px){
  .brand-mark{
    width:32px;
    height:32px;
  }
}
/* END ARAMION SP9D HEADER LOGO PATCH */


/* ===== ARAMION SP10 SAFE LANGUAGE BUTTON SIZE START =====
   Target: only the real language block: .lang and .lang a
   No global selectors. No JS. No HTML style injection. No backup files.
   ===== */

.lang{
  gap:6px;
}

.lang a{
  min-width:0;
  height:30px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 8px;
  border-radius:9px;
  font-size:13px;
  line-height:1;
}

/* Mobile: language switcher becomes a small service control on the right */
@media(max-width:900px){
  .lang{
    order:2;
    align-self:flex-end;
    width:auto;
    max-width:none;
    justify-content:flex-end;
    gap:6px;
    margin:-4px 8px 0 auto;
    padding:0;
  }

  .lang a{
    width:42px;
    min-width:42px;
    height:28px;
    min-height:28px;
    padding:0 6px;
    border-radius:10px;
    font-size:12px;
    letter-spacing:.04em;
  }
}

/* Very small phones */
@media(max-width:520px){
  .lang{
    gap:5px;
    margin-right:6px;
  }

  .lang a{
    width:38px;
    min-width:38px;
    height:26px;
    min-height:26px;
    padding:0 5px;
    border-radius:9px;
    font-size:11px;
  }
}
/* ===== ARAMION SP10 SAFE LANGUAGE BUTTON SIZE END ===== */


/* ===== ARAMION SP11 SAFE MOBILE NAV STRIP START =====
   Purpose:
   On phones, replace the tall vertical menu with a compact horizontal nav strip.
   Scope:
   Only mobile header/nav/menu rules. Does not touch logo paths, backups, JS, or content.
   ===== */

@media(max-width:900px){

  header{
    position:sticky;
    top:0;
    z-index:50;
  }

  .nav{
    padding:16px 14px 12px;
    gap:10px;
  }

  .brand{
    font-size:clamp(28px,8.2vw,40px);
    line-height:1.05;
    letter-spacing:.17em;
  }

  .brand-mark{
    width:30px;
    height:30px;
  }

  .menu{
    order:3;

    width:100%;
    max-width:100%;

    display:flex;
    flex-direction:row;
    align-items:center;
    justify-content:flex-start;
    flex-wrap:nowrap;

    gap:8px;
    margin:0;
    padding:4px 4px 8px;

    overflow-x:auto;
    overflow-y:hidden;
    -webkit-overflow-scrolling:touch;
    scroll-snap-type:x proximity;

    border-top:1px solid rgba(41,211,255,.10);
    border-bottom:1px solid rgba(41,211,255,.10);
  }

  .menu::-webkit-scrollbar{
    height:0;
  }

  .menu{
    scrollbar-width:none;
  }

  .menu a{
    flex:0 0 auto;
    width:auto;
    max-width:none;
    min-width:auto;
    min-height:34px;

    display:inline-flex;
    align-items:center;
    justify-content:center;

    padding:0 13px;
    margin:0;

    font-size:13px;
    line-height:1;
    text-align:center;
    white-space:nowrap;

    border-radius:999px;
    scroll-snap-align:start;
  }

  .menu a.active,
  .menu a[aria-current="page"]{
    box-shadow:
      0 0 0 1px rgba(41,211,255,.16),
      0 0 16px rgba(41,211,255,.18);
  }

  main{
    padding-top:24px;
  }
}

@media(max-width:520px){

  .nav{
    padding:14px 12px 10px;
    gap:9px;
  }

  .brand{
    font-size:clamp(26px,7.6vw,36px);
    letter-spacing:.15em;
  }

  .brand-mark{
    width:28px;
    height:28px;
  }

  .menu{
    gap:7px;
    padding:3px 2px 7px;
  }

  .menu a{
    min-height:32px;
    padding:0 11px;
    font-size:12px;
    border-radius:999px;
  }

  main{
    padding-top:22px;
  }
}
/* ===== ARAMION SP11 SAFE MOBILE NAV STRIP END ===== */


/* ===== ARAMION SP12 SAFE MOBILE FIXED HEADER START =====
   Adds:
   1) elegant right-edge fade cue for horizontally scrollable mobile menu;
   2) fixed mobile header so logo/language/menu remain visible while scrolling.
   Scope: mobile header/menu only.
   ===== */

@media(max-width:900px){

  :root{
    --mobile-header-space:154px;
  }

  body{
    padding-top:var(--mobile-header-space);
  }

  header{
    position:fixed;
    top:0;
    left:0;
    right:0;
    z-index:1000;
    width:100%;
    background:
      radial-gradient(circle at 20% 0%,rgba(41,211,255,.14),transparent 30%),
      radial-gradient(circle at 80% 10%,rgba(139,92,246,.14),transparent 34%),
      linear-gradient(180deg,rgba(5,8,22,.97),rgba(3,6,17,.94));
    backdrop-filter:blur(16px);
    -webkit-backdrop-filter:blur(16px);
    border-bottom:1px solid rgba(41,211,255,.18);
    box-shadow:
      0 14px 34px rgba(0,0,0,.28),
      0 0 0 1px rgba(41,211,255,.035);
  }

  main{
    padding-top:18px;
  }

  .menu{
    position:relative;

    /* A refined cue that content continues to the right.
       No visible browser scrollbar, no bulky indicator. */
    -webkit-mask-image:linear-gradient(
      90deg,
      transparent 0,
      #000 14px,
      #000 calc(100% - 42px),
      transparent 100%
    );
    mask-image:linear-gradient(
      90deg,
      transparent 0,
      #000 14px,
      #000 calc(100% - 42px),
      transparent 100%
    );

    box-shadow:
      inset -30px 0 26px -30px rgba(41,211,255,.48),
      inset 30px 0 22px -34px rgba(41,211,255,.30);
  }

  .menu::after{
    content:"";
    flex:0 0 18px;
    width:18px;
    height:1px;
  }
}

@media(max-width:520px){

  :root{
    --mobile-header-space:142px;
  }

  main{
    padding-top:16px;
  }

  .menu{
    -webkit-mask-image:linear-gradient(
      90deg,
      transparent 0,
      #000 10px,
      #000 calc(100% - 34px),
      transparent 100%
    );
    mask-image:linear-gradient(
      90deg,
      transparent 0,
      #000 10px,
      #000 calc(100% - 34px),
      transparent 100%
    );
  }
}

/* ===== ARAMION SP12 SAFE MOBILE FIXED HEADER END ===== */


/* ===== ARAMION SP13 SAFE DESKTOP FIXED HEADER COPYRIGHT START =====
   Adds:
   1) fixed desktop header;
   2) fixed copyright notice at bottom-right on desktop/tablet;
   3) body spacing so content is not hidden under fixed elements.
   Existing SP12 mobile fixed header remains responsible for mobile.
   Scope: header/footer layout only.
   ===== */

@media(min-width:901px){

  :root{
    --desktop-header-space:66px;
    --fixed-copyright-space:42px;
  }

  body{
    padding-top:var(--desktop-header-space);
    padding-bottom:var(--fixed-copyright-space);
  }

  header{
    position:fixed;
    top:0;
    left:0;
    right:0;
    z-index:1000;
    width:100%;
    background:rgba(5,8,22,.94);
    backdrop-filter:blur(14px);
    -webkit-backdrop-filter:blur(14px);
    border-bottom:1px solid var(--line);
    box-shadow:
      0 12px 30px rgba(0,0,0,.22),
      0 0 0 1px rgba(41,211,255,.025);
  }

  .footer p:last-child{
    position:fixed;
    right:18px;
    bottom:12px;
    z-index:1001;

    margin:0;
    padding:7px 12px;

    color:#9fb3c8;
    font-size:12px;
    line-height:1.2;
    white-space:nowrap;

    border:1px solid rgba(41,211,255,.18);
    border-radius:999px;
    background:rgba(5,8,22,.78);
    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);
    box-shadow:
      0 10px 28px rgba(0,0,0,.22),
      0 0 18px rgba(41,211,255,.08);
  }
}

@media(min-width:901px) and (max-width:1180px){
  :root{
    --desktop-header-space:148px;
  }
}

/* Mobile already handled by SP12. Keep fixed copyright non-intrusive on phones. */
@media(max-width:900px){
  .footer p:last-child{
    position:static;
  }
}

/* ===== ARAMION SP13 SAFE DESKTOP FIXED HEADER COPYRIGHT END ===== */


/* ===== ARAMION SP14 SAFE BRAND MARK SPACING START =====
   Purpose:
   Make the shield read as an independent emblem rather than merging with the A.
   Scope:
   Only .brand and .brand-mark.
   No HTML changes except CSS cache-buster.
   ===== */

/* Desktop / wide screens */
.brand{
  gap:16px;
}

.brand-mark{
  width:40px;
  height:40px;
  transform:translateY(1px);
  filter:
    drop-shadow(0 0 6px rgba(41,211,255,.30))
    drop-shadow(0 0 13px rgba(41,211,255,.12));
}

/* Middle layout where header wraps */
@media(max-width:1180px){
  .brand{
    gap:17px;
  }

  .brand-mark{
    width:42px;
    height:42px;
  }
}

/* Phones */
@media(max-width:900px){
  .brand{
    gap:18px !important;
  }

  .brand-mark{
    width:38px;
    height:38px;
    transform:translateY(1px);
    filter:
      drop-shadow(0 0 6px rgba(41,211,255,.28))
      drop-shadow(0 0 12px rgba(41,211,255,.11));
  }
}

/* Small phones */
@media(max-width:520px){
  .brand{
    gap:16px !important;
  }

  .brand-mark{
    width:36px;
    height:36px;
  }
}

/* Very narrow phones */
@media(max-width:390px){
  .brand{
    gap:14px !important;
  }

  .brand-mark{
    width:34px;
    height:34px;
  }
}
/* ===== ARAMION SP14 SAFE BRAND MARK SPACING END ===== */
