/* PROGRESS */
#rbar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--teal);
  z-index: 300;
  width: 0;
  transition: width 0.08s linear;
  box-shadow: 0 0 10px rgba(37, 99, 235, 0.7);
}

/* UTILS */
.container {
  max-width: 1240px;
  margin: 0 auto;
}
.slabel {
  font-family: var(--fm);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 500;
}
.slabel::before {
  content: "";
  display: block;
  width: 2rem;
  height: 1px;
  background: var(--teal);
}
.stitle {
  font-family: var(--fd);
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  line-height: 1.1;
  font-weight: 400;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}
.stitle em {
  font-style: italic;
  color: var(--teal);
}
.bp {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--teal);
  color: var(--black);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.85rem 1.6rem;
  border: none;
  border-radius: 2px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  letter-spacing: 0.02em;
}
.bp:hover {
  background: var(--teal-dark);
  transform: translateY(-1px);
}
.bg {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--white);
  font-weight: 500;
  font-size: 0.85rem;
  padding: 0.85rem 1.6rem;
  border: 1px solid rgba(245, 244, 240, 0.18);
  border-radius: 2px;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.bg:hover {
  border-color: var(--teal);
  background: var(--teal-glow);
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.f1 {
  animation: fadeUp 0.7s ease both;
}
.f2 {
  animation: fadeUp 0.7s ease 0.1s both;
}
.f3 {
  animation: fadeUp 0.7s ease 0.2s both;
}
.f4 {
  animation: fadeUp 0.7s ease 0.32s both;
}
.f5 {
  animation: fadeUp 0.7s ease 0.44s both;
}

/* BREADCRUMB */
.breadcrumb {
  padding: 5.5rem 4vw 0;
  background: var(--ink);
}
.crumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  font-family: var(--fm);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.crumbs a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.crumbs a:hover {
  color: var(--teal);
}
.crumbs .sep {
  opacity: 0.3;
}
.crumbs .cur {
  color: rgba(245, 244, 240, 0.45);
}

/* ARTICLE HERO */
#ahero {
  padding: 2.5rem 4vw 0;
  background: var(--ink);
  position: relative;
  overflow: hidden;
}
.hero-grid-bg {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 52%;
  background-image: linear-gradient(
      rgba(37, 99, 235, 0.045) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(37, 99, 235, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 40%,
    black 90%,
    transparent 100%
  );
  pointer-events: none;
}
.hero-tint {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 55% 55% at 80% 40%,
    rgba(37, 99, 235, 0.08) 0%,
    transparent 70%
  );
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 355px;
  gap: 4rem;
  align-items: start;
}
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* Kicker */
.kicker-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
}
.ktag {
  font-family: var(--fm);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 0.22rem 0.65rem;
  border-radius: 2px;
}
.kt-press {
  background: rgba(37, 99, 235, 0.14);
  color: var(--teal);
  border: 1px solid rgba(37, 99, 235, 0.3);
}
.kt-launch {
  background: rgba(212, 136, 42, 0.12);
  color: var(--amber);
  border: 1px solid rgba(212, 136, 42, 0.3);
}
.kt-event {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(245, 244, 240, 0.6);
  border: 1px solid var(--border);
}

/* Headline */
.art-headline {
  font-family: var(--fd);
  font-size: clamp(1.85rem, 4vw, 3.1rem);
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 1.2rem;
  color: var(--white);
}
.art-headline em {
  font-style: italic;
  color: var(--teal);
}
.art-deck {
  font-size: clamp(0.92rem, 1.3vw, 1.1rem);
  color: rgba(245, 244, 240, 0.65);
  line-height: 1.75;
  font-weight: 300;
  margin-bottom: 2rem;
  max-width: 56ch;
}

/* Byline */
.byline {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  padding: 1.2rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.byl-av {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.25),
    rgba(37, 99, 235, 0.05)
  );
  border: 1px solid rgba(37, 99, 235, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}
.byl-name {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--white);
}
.byl-role {
  font-family: var(--fm);
  font-size: 0.6rem;
  color: var(--muted);
  letter-spacing: 0.05em;
  margin-top: 0.1rem;
}
.byl-sep {
  width: 1px;
  height: 26px;
  background: var(--border);
  flex-shrink: 0;
}
.byl-meta {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  font-family: var(--fm);
  font-size: 0.62rem;
  color: var(--muted);
  letter-spacing: 0.05em;
}
.byl-meta span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.byl-meta a {
  color: var(--muted);
  text-decoration: none;
}
.byl-meta a:hover {
  color: var(--teal);
}

/* Share row */
.share-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.2rem;
  flex-wrap: wrap;
}
.sr-lbl {
  font-family: var(--fm);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.shr {
  display: flex;
  align-items: center;
  gap: 0.32rem;
  font-family: var(--fm);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: transparent;
  color: rgba(245, 244, 240, 0.5);
  border: 1px solid var(--border);
  padding: 0.3rem 0.72rem;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.2s;
}
.shr:hover {
  border-color: var(--teal);
  color: var(--teal);
}
.shr.fill {
  background: var(--teal);
  color: var(--black);
  border-color: var(--teal);
}
.shr.fill:hover {
  background: var(--teal-dark);
}

/* Right card */
.hero-rcard {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 4px;
  overflow: hidden;
  position: sticky;
  top: 88px;
}
.hrc-img {
  height: 195px;
  background: linear-gradient(
    135deg,
    var(--slate) 0%,
    #0b1420 55%,
    #0f1f2e 100%
  );
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hrc-ecg {
  position: absolute;
  inset: 0;
  opacity: 0.28;
}
.hrc-ov {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 35%,
    rgba(13, 17, 23, 0.92) 100%
  );
}
.hrc-badge {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  font-family: var(--fm);
  font-size: 0.55rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--teal);
  color: var(--black);
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
  font-weight: 600;
}
.hrc-body {
  padding: 1.35rem;
}
.hrc-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
  margin-bottom: 1.2rem;
}
.hrc-stat .sl {
  font-family: var(--fm);
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 0.18rem;
}
.hrc-stat .sv {
  font-family: var(--fd);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--white);
}
.hrc-stat .sv.t {
  color: var(--teal);
}
.hdiv {
  height: 1px;
  background: var(--border);
  margin-bottom: 1.2rem;
}
.hbtn {
  width: 100%;
  padding: 0.74rem;
  border-radius: 2px;
  font-family: var(--fb);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin-bottom: 0.45rem;
}
.hbtn.pri {
  background: var(--teal);
  color: var(--black);
  border: none;
}
.hbtn.pri:hover {
  background: var(--teal-dark);
}
.hbtn.sec {
  background: transparent;
  color: rgba(245, 244, 240, 0.55);
  border: 1px solid var(--border);
}
.hbtn.sec:hover {
  border-color: var(--teal);
  color: var(--teal);
}

/* Cover image */
.art-cover {
  margin: 3rem 0 0;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: linear-gradient(
    135deg,
    var(--slate) 0%,
    #0a1520 55%,
    #0e1e2d 100%
  );
  height: 490px;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 860px) {
  .art-cover {
    height: 250px;
  }
}
.cov-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      rgba(37, 99, 235, 0.055) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(37, 99, 235, 0.055) 1px, transparent 1px);
  background-size: 52px 52px;
}
.cov-ecg {
  position: absolute;
  inset: 0;
  opacity: 0.22;
}
.cov-ov {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 10, 10, 0.4) 0%,
    transparent 55%,
    rgba(10, 10, 10, 0.45) 100%
  );
}
.cov-cnt {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
}
.cov-cnt svg {
  opacity: 0.45;
  display: block;
  margin: 0 auto 1.25rem;
}
.cov-ey {
  font-family: var(--fm);
  font-size: 0.63rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(37, 99, 235, 0.8);
  margin-bottom: 0.45rem;
}
.cov-ttl {
  font-family: var(--fd);
  font-size: clamp(1.1rem, 2.2vw, 1.75rem);
  font-weight: 400;
  color: rgba(245, 244, 240, 0.72);
  font-style: italic;
}
.cov-cap {
  position: absolute;
  bottom: 1.25rem;
  right: 1.75rem;
  font-family: var(--fm);
  font-size: 0.58rem;
  color: rgba(245, 244, 240, 0.22);
  letter-spacing: 0.06em;
}
.cov-ev {
  position: absolute;
  top: 1.5rem;
  left: 1.75rem;
  font-family: var(--fm);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.cov-ev::before {
  content: "";
  width: 1.5rem;
  height: 1px;
  background: var(--teal);
}

/* ARTICLE BODY */
#abody {
  padding: 5rem 4vw 6rem;
  background: var(--ink);
  border-top: 1px solid var(--border);
}
.abody-wrap {
  display: grid;
  grid-template-columns: 1fr 295px;
  gap: 5rem;
  align-items: start;
}
@media (max-width: 1100px) {
  .abody-wrap {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
}

/* PROSE */
.prose {
  max-width: 70ch;
}
.prose h2 {
  font-family: var(--fd);
  font-size: clamp(1.4rem, 2.3vw, 1.95rem);
  font-weight: 400;
  line-height: 1.2;
  margin: 3.25rem 0 1rem;
  letter-spacing: -0.01em;
  color: var(--white);
}
.prose h2 em {
  font-style: italic;
  color: var(--teal);
}
.prose h3 {
  font-family: var(--fd);
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  font-weight: 400;
  line-height: 1.3;
  margin: 2rem 0 0.7rem;
  color: rgba(245, 244, 240, 0.88);
}
.prose p {
  font-size: 1.02rem;
  color: rgba(245, 244, 240, 0.72);
  line-height: 1.85;
  margin-bottom: 1.4rem;
  font-weight: 300;
}
.prose strong {
  color: var(--white);
  font-weight: 500;
}
.prose a {
  color: var(--teal);
  text-decoration: none;
  border-bottom: 1px solid rgba(37, 99, 235, 0.3);
  transition: border-color 0.2s;
}
.prose a:hover {
  border-bottom-color: var(--teal);
}
.art-hero-img img {
  height: 100%;
  width: 100%;
}

/* Pull quote */
.pq {
  margin: 2.75rem 0;
  padding: 1.9rem 2.2rem;
  border-left: 3px solid var(--teal);
  background: rgba(37, 99, 235, 0.05);
  border-radius: 0 4px 4px 0;
  position: relative;
}
.pq::before {
  content: '"';
  position: absolute;
  top: -0.6rem;
  left: 1.4rem;
  font-family: var(--fd);
  font-size: 5rem;
  color: rgba(37, 99, 235, 0.12);
  line-height: 1;
}
.pq blockquote {
  font-family: var(--fd);
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.45;
  color: var(--white);
  position: relative;
  z-index: 1;
}
.pq cite {
  display: block;
  margin-top: 0.8rem;
  font-family: var(--fm);
  font-size: 0.63rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-style: normal;
}

/* Stat row */
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  margin: 2.5rem 0;
}
@media (max-width: 680px) {
  .stat-row {
    grid-template-columns: repeat(2, 1fr);
  }
}
.sri {
  padding: 1.2rem;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border);
  border-radius: 3px;
  text-align: center;
  transition: border-color 0.2s;
}
.sri:hover {
  border-color: rgba(37, 99, 235, 0.3);
}
.sn {
  font-family: var(--fd);
  font-size: 1.85rem;
  font-weight: 400;
  color: var(--white);
  display: block;
  line-height: 1;
}
.sn.t {
  color: var(--teal);
}
.sl {
  font-family: var(--fm);
  font-size: 0.57rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-top: 0.35rem;
  line-height: 1.4;
}

/* Highlight / info boxes */
.hbox {
  margin: 2.5rem 0;
  padding: 1.5rem 1.85rem;
  background: rgba(212, 136, 42, 0.05);
  border-left: 3px solid var(--amber);
  border-radius: 0 4px 4px 0;
}
.hbox .hb-lbl {
  font-family: var(--fm);
  font-size: 0.58rem;
  color: var(--amber);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
  font-weight: 500;
}
.hbox p {
  font-size: 0.92rem;
  color: rgba(245, 244, 240, 0.68);
  line-height: 1.72;
  margin: 0;
}
.hbox strong {
  color: var(--amber);
}
.ibox {
  margin: 2.5rem 0;
  padding: 1.5rem 1.85rem;
  background: rgba(37, 99, 235, 0.06);
  border-left: 3px solid var(--teal);
  border-radius: 0 4px 4px 0;
}
.ibox p {
  font-size: 0.92rem;
  color: rgba(245, 244, 240, 0.68);
  line-height: 1.72;
  margin: 0;
}
.ibox strong {
  color: var(--teal);
}

/* Bullet list */
.plist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin: 1.2rem 0 1.5rem;
}
.plist li {
  display: flex;
  align-items: flex-start;
  gap: 0.82rem;
  font-size: 0.95rem;
  color: rgba(245, 244, 240, 0.7);
  line-height: 1.7;
}
.plist li::before {
  content: "";
  flex-shrink: 0;
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 6px rgba(37, 99, 235, 0.5);
  margin-top: 0.58rem;
}
.plist li strong {
  color: var(--white);
  font-weight: 500;
}

/* Inline arch diagram */
.arch-inline {
  margin: 2.75rem 0;
  background: rgba(37, 99, 235, 0.04);
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 4px;
  overflow: hidden;
}
.ai-hdr {
  padding: 1rem 1.4rem;
  border-bottom: 1px solid rgba(37, 99, 235, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ai-hdr h4 {
  font-family: var(--fm);
  font-size: 0.63rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 500;
}
.ai-hdr span {
  font-family: var(--fm);
  font-size: 0.58rem;
  color: var(--muted);
}
.ai-layers {
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.ail {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 0.85rem;
  align-items: center;
  padding: 0.85rem 0.95rem;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid var(--border);
  border-radius: 3px;
  transition: border-color 0.2s;
}
.ail:hover {
  border-color: rgba(37, 99, 235, 0.3);
}
.ail-code {
  font-family: var(--fm);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 500;
}
.ail-name {
  font-family: var(--fd);
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 0.15rem;
}
.ail-desc {
  font-size: 0.76rem;
  color: rgba(245, 244, 240, 0.48);
  line-height: 1.55;
}
.ail-conn {
  height: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.ail-conn::before {
  content: "";
  display: block;
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, var(--teal), transparent);
  opacity: 0.4;
}

/* Deployment grid */
.dep-wrap {
  margin: 2.75rem 0;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.dep-hdr {
  padding: 1rem 1.4rem;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.dep-hdr h4 {
  font-family: var(--fm);
  font-size: 0.63rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 500;
}
.dep-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.dep-col {
  padding: 1.65rem;
  border-right: 1px solid var(--border);
  text-align: center;
}
.dep-col:last-child {
  border-right: none;
}
@media (max-width: 580px) {
  .dep-grid {
    grid-template-columns: 1fr;
  }
  .dep-col {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .dep-col:last-child {
    border-bottom: none;
  }
}
.dep-flag {
  font-size: 1.85rem;
  margin-bottom: 0.65rem;
  display: block;
}
.dep-name {
  font-family: var(--fd);
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 0.4rem;
}
.dep-stat {
  font-family: var(--fm);
  font-size: 0.62rem;
  color: var(--muted);
  letter-spacing: 0.05em;
  margin-bottom: 0.18rem;
}
.dep-stat strong {
  color: var(--teal);
}
.dep-badge {
  display: inline-block;
  margin-top: 0.55rem;
  font-family: var(--fm);
  font-size: 0.54rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.17rem 0.48rem;
  border-radius: 2px;
  font-weight: 500;
}
.db-a {
  background: rgba(37, 99, 235, 0.14);
  color: var(--teal);
  border: 1px solid rgba(37, 99, 235, 0.28);
}
.db-p {
  background: rgba(212, 136, 42, 0.1);
  color: var(--amber);
  border: 1px solid rgba(212, 136, 42, 0.25);
}

/* Article tags */
.art-tags {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}
.t-lbl {
  font-family: var(--fm);
  font-size: 0.58rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-right: 0.3rem;
}
.tchip {
  font-family: var(--fm);
  font-size: 0.57rem;
  color: rgba(245, 244, 240, 0.45);
  border: 1px solid var(--border);
  padding: 0.18rem 0.6rem;
  border-radius: 2px;
  letter-spacing: 0.05em;
  cursor: pointer;
  background: transparent;
  transition: color 0.2s, border-color 0.2s;
}
.tchip:hover {
  color: var(--teal);
  border-color: rgba(37, 99, 235, 0.3);
}

/* Article footer */
.art-foot {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.af-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.af-src {
  font-size: 0.82rem;
  color: rgba(245, 244, 240, 0.5);
  line-height: 1.6;
}
.af-src strong {
  color: rgba(245, 244, 240, 0.72);
  display: block;
  margin-bottom: 0.22rem;
  font-weight: 500;
}
.af-src a {
  color: var(--teal);
  text-decoration: none;
}
.af-shr {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  align-items: flex-end;
}
@media (max-width: 580px) {
  .af-shr {
    align-items: flex-start;
  }
}
.af-shr-lbl {
  font-family: var(--fm);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.shr-btns {
  display: flex;
  gap: 0.38rem;
  flex-wrap: wrap;
}

/* SIDEBAR */
.sidebar {
  position: sticky;
  top: 88px;
}
.sb-s {
  margin-bottom: 2rem;
}
.sb-lbl {
  font-family: var(--fm);
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.8rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.sb-lbl::before {
  content: "";
  display: block;
  width: 1.2rem;
  height: 1px;
  background: var(--teal);
}
.toc-nav {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.toc-nav a {
  display: block;
  font-size: 0.79rem;
  color: rgba(245, 244, 240, 0.47);
  text-decoration: none;
  padding: 0.4rem 0.78rem;
  border-left: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  line-height: 1.5;
  border-radius: 0 3px 3px 0;
}
.toc-nav a:hover,
.toc-nav a.active {
  color: var(--teal);
  border-left-color: var(--teal);
  background: rgba(37, 99, 235, 0.06);
}

/* Author card */
.ac {
  padding: 1.35rem;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border);
  border-radius: 4px;
}
.ac-av {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.25),
    rgba(37, 99, 235, 0.05)
  );
  border: 1px solid rgba(37, 99, 235, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.8rem;
}
.ac-name {
  font-family: var(--fd);
  font-size: 0.98rem;
  font-weight: 400;
  margin-bottom: 0.15rem;
}
.ac-role {
  font-family: var(--fm);
  font-size: 0.57rem;
  color: var(--muted);
  letter-spacing: 0.05em;
  margin-bottom: 0.7rem;
}
.ac-bio {
  font-size: 0.78rem;
  color: rgba(245, 244, 240, 0.5);
  line-height: 1.62;
}
.ac-aw {
  margin-top: 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.ac-aw span {
  font-family: var(--fm);
  font-size: 0.57rem;
  color: rgba(37, 99, 235, 0.7);
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 0.38rem;
}
.ac-aw span::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}

/* Related mini */
.rml {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.rmi {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  text-decoration: none;
  padding: 0.6rem;
  border-radius: 3px;
  border: 1px solid transparent;
  transition: border-color 0.2s, background 0.2s;
}
.rmi:hover {
  border-color: rgba(37, 99, 235, 0.2);
  background: rgba(37, 99, 235, 0.04);
}
.rmi-th {
  width: 46px;
  height: 46px;
  border-radius: 3px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--slate), #0f1922);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}
.rmi-th svg {
  opacity: 0.38;
}
.rmi-date {
  font-family: var(--fm);
  font-size: 0.55rem;
  color: var(--muted);
  letter-spacing: 0.05em;
  margin-bottom: 0.2rem;
}
.rmi-ttl {
  font-size: 0.77rem;
  color: rgba(245, 244, 240, 0.7);
  line-height: 1.42;
  font-weight: 500;
}

/* Sidebar CTA */
.sb-cta {
  padding: 1.35rem;
  background: rgba(37, 99, 235, 0.07);
  border: 1px solid rgba(37, 99, 235, 0.17);
  border-radius: 4px;
}
.sb-cta h4 {
  font-family: var(--fd);
  font-size: 0.95rem;
  font-weight: 400;
  margin-bottom: 0.45rem;
}
.sb-cta p {
  font-size: 0.78rem;
  color: rgba(245, 244, 240, 0.58);
  line-height: 1.6;
  margin-bottom: 0.9rem;
}
.sb-btn {
  width: 100%;
  background: var(--teal);
  color: var(--black);
  font-family: var(--fb);
  font-weight: 600;
  font-size: 0.8rem;
  padding: 0.7rem;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s;
  letter-spacing: 0.01em;
}
.sb-btn:hover {
  background: var(--teal-dark);
}
.sb-btn2 {
  width: 100%;
  background: transparent;
  color: rgba(245, 244, 240, 0.55);
  font-family: var(--fb);
  font-weight: 500;
  font-size: 0.78rem;
  padding: 0.6rem;
  border: 1px solid var(--border);
  border-radius: 2px;
  cursor: pointer;
  margin-top: 0.4rem;
  transition: all 0.2s;
}
.sb-btn2:hover {
  border-color: var(--teal);
  color: var(--teal);
}

/* RELATED ARTICLES */
#related {
  padding: 6rem 4vw;
  background: var(--slate);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.rel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
@media (max-width: 900px) {
  .rel-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 540px) {
  .rel-grid {
    grid-template-columns: 1fr;
  }
}
.rel-card {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, transform 0.2s;
}
.rel-card:hover {
  border-color: rgba(37, 99, 235, 0.35);
  transform: translateY(-3px);
}
.rc-th {
  height: 160px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.rc-th::before {
  content: "";
  position: absolute;
  height: 100%;
  width: 100%;
  background: linear-gradient(135deg, #161c266e 0%, #0f1922de 100%);
}
.rc-th svg {
  opacity: 0.12;
}
.rc-bdg {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  font-family: var(--fm);
  font-size: 0.53rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.17rem 0.46rem;
  border-radius: 2px;
  font-weight: 600;
}
.rbt {
  background: rgba(37, 99, 235, 0.14);
  color: var(--teal);
  border: 1px solid rgba(37, 99, 235, 0.3);
}
.rba {
  background: rgba(212, 136, 42, 0.12);
  color: var(--amber);
  border: 1px solid rgba(212, 136, 42, 0.3);
}
.rbr {
  background: rgba(224, 82, 82, 0.1);
  color: var(--red);
  border: 1px solid rgba(224, 82, 82, 0.25);
}
.rc-body {
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.rc-meta {
  display: flex;
  align-items: center;
  gap: 0.72rem;
  margin-bottom: 0.62rem;
  font-family: var(--fm);
  font-size: 0.58rem;
  color: var(--muted);
  letter-spacing: 0.05em;
}
.rc-body h3 {
  font-family: var(--fd);
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.35;
  margin-bottom: 0.58rem;
  color: var(--white);
}
.rc-body p {
  font-size: 0.78rem;
  color: rgba(245, 244, 240, 0.5);
  line-height: 1.6;
  flex: 1;
}
.rc-more {
  margin-top: 1rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-family: var(--fm);
  font-size: 0.62rem;
  color: var(--teal);
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 0.32rem;
  transition: gap 0.2s;
}
.rel-card:hover .rc-more {
  gap: 0.6rem;
}

/* NEWSLETTER */
#newsletter {
  padding: 5rem 4vw;
  background: var(--ink);
}
.nl-wrap {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 2.75rem;
  background: rgba(37, 99, 235, 0.05);
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 4px;
}
@media (max-width: 860px) {
  .nl-wrap {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem;
  }
}
.nl-title {
  font-family: var(--fd);
  font-size: clamp(1.4rem, 2.6vw, 1.95rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 0.6rem;
}
.nl-title em {
  font-style: italic;
  color: var(--teal);
}
.nl-sub {
  font-size: 0.9rem;
  color: rgba(245, 244, 240, 0.58);
  line-height: 1.7;
}
.nl-form {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.nl-row {
  display: flex;
  gap: 0.45rem;
}
@media (max-width: 480px) {
  .nl-row {
    flex-direction: column;
  }
}
.nl-inp {
  flex: 1;
  padding: 0.72rem 0.95rem;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--white);
  font-family: var(--fb);
  font-size: 0.88rem;
  transition: border-color 0.2s;
}
.nl-inp:focus {
  outline: none;
  border-color: var(--teal);
  background: rgba(37, 99, 235, 0.05);
}
.nl-inp::placeholder {
  color: rgba(245, 244, 240, 0.28);
}
.nl-sub-btn {
  background: var(--teal);
  color: var(--black);
  font-family: var(--fb);
  font-weight: 600;
  font-size: 0.84rem;
  padding: 0.72rem 1.35rem;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}
.nl-sub-btn:hover {
  background: var(--teal-dark);
}
.nl-note {
  font-family: var(--fm);
  font-size: 0.58rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* CTA STRIP */
#cta-strip {
  padding: 6rem 4vw;
  background: linear-gradient(
    135deg,
    #0d1117 0%,
    rgba(37, 99, 235, 0.1) 50%,
    #0d1117 100%
  );
  text-align: center;
  position: relative;
  overflow: hidden;
}
#cta-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      rgba(37, 99, 235, 0.04) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(37, 99, 235, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  pointer-events: none;
}
#cta-strip .container {
  position: relative;
  z-index: 1;
}
.cta-acts {
  display: flex;
  gap: 0.85rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* MODALS */
.mov {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.mov.open {
  display: flex;
  animation: fadeUp 0.25s ease;
}
.modal {
  background: var(--ink);
  border: 1px solid rgba(37, 99, 235, 0.25);
  border-radius: 4px;
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}
.mx {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 1.5rem;
  cursor: pointer;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: color 0.2s, background 0.2s;
}
.mx:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
}
.mbd {
  padding: 2.5rem;
}
.mey {
  font-family: var(--fm);
  font-size: 0.68rem;
  color: var(--teal);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
}
.mey::before {
  content: "";
  display: block;
  width: 2rem;
  height: 1px;
  background: var(--teal);
}
.mbd h2 {
  font-family: var(--fd);
  font-size: 1.52rem;
  font-weight: 400;
  margin-bottom: 0.62rem;
  line-height: 1.2;
}
.mbd .md {
  font-size: 0.87rem;
  color: rgba(245, 244, 240, 0.6);
  line-height: 1.65;
  margin-bottom: 1.35rem;
}
.fr {
  display: flex;
  flex-direction: column;
  gap: 0.36rem;
  margin-bottom: 0.85rem;
}
.fr label {
  font-family: var(--fm);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245, 244, 240, 0.6);
  font-weight: 500;
}
.fr input,
.fr select,
.fr textarea {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 0.66rem 0.85rem;
  color: var(--white);
  font-family: var(--fb);
  font-size: 0.88rem;
  transition: border-color 0.2s, background 0.2s;
  width: 100%;
}
.fr input:focus,
.fr select:focus,
.fr textarea:focus {
  outline: none;
  border-color: var(--teal);
  background: rgba(37, 99, 235, 0.05);
}
.fr textarea {
  min-height: 4.5rem;
  resize: vertical;
  font-family: var(--fb);
}
.fr select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%236b7280'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: calc(100% - 0.75rem) center;
}
.fr2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  margin-bottom: 0.85rem;
}
.fr2 .fr {
  margin-bottom: 0;
}
.msub {
  width: 100%;
  background: var(--teal);
  color: var(--black);
  font-family: var(--fb);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.85rem;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  margin-top: 0.4rem;
  transition: background 0.2s;
}
.msub:hover {
  background: var(--teal-dark);
}
.mnote {
  font-size: 0.68rem;
  color: var(--muted);
  margin-top: 0.82rem;
  line-height: 1.6;
  text-align: center;
}

/* TOAST */
#toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(0.75rem);
  background: var(--teal);
  color: var(--black);
  font-family: var(--fm);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 0.52rem 1.3rem;
  border-radius: 2px;
  z-index: 600;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
}
#toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* PRINT */
@media print {
  #rbar,
  nav,
  .mobile-menu,
  .hero-rcard,
  .sidebar,
  .share-row,
  .hbtn,
  #related,
  #newsletter,
  #cta-strip,
  .af-shr,
  footer,
  .fn-bar,
  .mov,
  #toast {
    display: none !important;
  }
  body {
    background: #fff;
    color: #000;
  }
  .art-headline,
  .prose h2,
  .prose h3 {
    color: #000;
  }
  .art-deck,
  .prose p {
    color: #333;
  }
  a {
    color: #1d4ed8;
  }
  .pq {
    border-left: 3px solid #1d4ed8;
    background: #f0f4ff;
  }
  .pq blockquote {
    color: #000;
  }
  #abody {
    background: #fff;
    border-top: none;
  }
}
