:root {
  --ink: #f7fff8;
  --muted: rgba(235, 255, 251, 0.9);
  --cyan: #31fff0;
  --mint: #a8ff56;
  --lime: #e8ff71;
  --pink: #ff73df;
  --violet: #9d7cff;
  --deep: #020916;
  --glass: rgba(15, 31, 67, 0.46);
  --line: rgba(186, 255, 233, 0.52);
  --text-gradient: linear-gradient(96deg, #b9ffaf 4%, #efffc3 35%, #f7e9ff 64%, #ff7be6 96%);
  --neon-gradient: linear-gradient(96deg, #e8ff71 0%, #9eff5d 25%, #37f8cd 68%, #78fff7 100%);
  color-scheme: dark;
}

@font-face {
  font-family: "Gilroy";
  src: url("./assets/fonts/Gilroy-Medium.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 500;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  overflow-x: hidden;
}

body {
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  background: var(--deep);
  color: var(--ink);
  font-family: "Gilroy", "Segoe UI", Arial, sans-serif;
  font-weight: 500;
  letter-spacing: 0;
}

img {
  display: block;
  max-width: 100%;
}

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

main {
  min-height: 100svh;
}

.screen {
  position: relative;
  display: grid;
  height: 100svh;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

.hero-screen {
  place-items: end start;
  padding: clamp(24px, 3vw, 44px) clamp(18px, 4vw, 64px) clamp(22px, 2.6vw, 38px) clamp(48px, 7vw, 126px);
  background-image:
    radial-gradient(circle at 48% 42%, rgba(113, 255, 217, 0.14), transparent 27%),
    linear-gradient(180deg, rgba(4, 8, 19, 0.16) 0%, rgba(4, 8, 19, 0.33) 34%, rgba(2, 8, 22, 0.68) 71%, rgba(1, 8, 24, 0.93) 100%),
    linear-gradient(90deg, rgba(1, 8, 24, 0.74) 0%, rgba(1, 8, 24, 0.3) 34%, rgba(1, 8, 24, 0.16) 64%, rgba(1, 8, 24, 0.34) 100%),
    url("./assets/unlocked-bg-desktop.jpg");
  background-position: center, center, center, center;
  background-size: cover, cover, cover, cover;
  animation: scene-drift 32s ease-in-out infinite alternate;
}

.hero-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 50% 73%, rgba(23, 255, 203, 0.28), transparent 23%),
    radial-gradient(ellipse at 52% 65%, rgba(255, 99, 220, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(2, 6, 18, 0) 0%, rgba(2, 6, 18, 0.36) 56%, rgba(0, 5, 21, 0.94) 100%);
  animation: light-breathe 14s ease-in-out infinite;
  pointer-events: none;
}

.hero-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 82px 82px;
  mask-image: linear-gradient(180deg, transparent 0%, black 48%, transparent 100%);
  opacity: 0.28;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  z-index: -1;
  width: min(50vw, 560px);
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(26px);
  opacity: 0.52;
  animation: ambient-glow 16s ease-in-out infinite;
  pointer-events: none;
}

.hero-glow-left {
  left: -16%;
  bottom: 6%;
  background: radial-gradient(circle, rgba(92, 255, 203, 0.42), transparent 62%);
}

.hero-glow-right {
  right: -18%;
  bottom: 11%;
  background: radial-gradient(circle, rgba(255, 112, 224, 0.42), transparent 62%);
  animation-delay: -7s;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(920px, 100%);
  justify-items: start;
  padding-bottom: clamp(132px, 15svh, 156px);
  text-align: left;
}

.lock-stage {
  position: relative;
  width: clamp(128px, 11.5vw, 166px);
  margin-bottom: clamp(8px, 1vw, 14px);
  animation: lock-float 5.6s ease-in-out infinite;
}

.lock-stage::before,
.lock-stage::after {
  content: "";
  position: absolute;
  inset: 11% 8% 7%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(54, 255, 211, 0.5), rgba(255, 115, 223, 0.2) 36%, transparent 68%);
  filter: blur(18px);
  animation: lock-aura 6s ease-in-out infinite;
}

.lock-stage::after {
  inset: 24% -10% -4%;
  background: radial-gradient(ellipse, rgba(232, 255, 113, 0.26), transparent 64%);
  filter: blur(22px);
  animation-delay: -2.2s;
}

.lock-image {
  width: 100%;
  height: auto;
  filter:
    drop-shadow(0 0 14px rgba(73, 255, 224, 0.58))
    drop-shadow(0 0 32px rgba(255, 115, 223, 0.35))
    drop-shadow(0 20px 42px rgba(0, 0, 0, 0.48));
}

h1 {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: clamp(2px, 0.32vw, 6px);
  max-width: 920px;
  margin: 0;
  font-size: clamp(42px, 5.55vw, 78px);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: 0;
  text-transform: none;
  text-wrap: balance;
}

h1::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -0.18em -0.28em -0.14em;
  border-radius: 28px;
  background:
    radial-gradient(ellipse at 30% 42%, rgba(2, 10, 29, 0.72), transparent 62%),
    radial-gradient(ellipse at 66% 55%, rgba(2, 10, 29, 0.62), transparent 64%),
    linear-gradient(90deg, rgba(1, 8, 24, 0.78), rgba(1, 8, 24, 0.32) 76%, transparent);
  filter: blur(8px);
  transform: translateZ(0);
  pointer-events: none;
}

h1 span {
  position: relative;
  z-index: 1;
  display: block;
  background: var(--text-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
  text-shadow:
    0 4px 22px rgba(1, 7, 22, 0.82),
    0 0 16px rgba(130, 255, 213, 0.18),
    0 0 34px rgba(255, 115, 223, 0.14);
}

h1 .title-main {
  font-size: 1.08em;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 span:not(.title-main) {
  font-size: 0.88em;
}

.hero-lead {
  display: grid;
  gap: 2px;
  max-width: 620px;
  margin: clamp(18px, 2.2vw, 26px) 0 0;
  color: var(--muted);
  font-size: clamp(22px, 2.05vw, 30px);
  font-weight: 500;
  line-height: 1.24;
  text-shadow: 0 3px 24px rgba(2, 6, 20, 0.9);
}

.hero-lead span {
  display: block;
  white-space: nowrap;
}

.primary-button {
  position: relative;
  display: inline-flex;
  overflow: hidden;
  min-width: min(560px, 100%);
  min-height: clamp(72px, 6.5vw, 92px);
  align-items: center;
  justify-content: center;
  margin-top: clamp(24px, 2.8vw, 34px);
  padding: 0 clamp(30px, 5vw, 70px);
  border: 1px solid rgba(242, 255, 200, 0.86);
  border-radius: 999px;
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.92), transparent 18%),
    var(--neon-gradient);
  box-shadow:
    0 0 0 2px rgba(66, 255, 214, 0.26),
    0 0 22px rgba(78, 255, 215, 0.72),
    0 0 60px rgba(169, 255, 91, 0.5),
    0 18px 62px rgba(0, 0, 0, 0.5);
  color: rgba(4, 35, 19, 0.94);
  font-size: clamp(26px, 2.9vw, 42px);
  font-weight: 500;
  line-height: 1;
  text-align: center;
  transition: transform 180ms ease, filter 180ms ease;
  animation: button-pulse 4.2s ease-in-out infinite;
}

.primary-button::before {
  content: none;
}

.primary-button::after {
  content: "";
  position: absolute;
  inset: -60% -30%;
  z-index: 1;
  background: linear-gradient(105deg, transparent 34%, rgba(255, 255, 255, 0.5) 48%, transparent 62%);
  opacity: 0.34;
  transform: translateX(-82%) rotate(5deg);
  animation: button-sheen 7.6s ease-in-out infinite;
  pointer-events: none;
}

.primary-button:hover {
  filter: saturate(1.08) brightness(1.04);
  transform: translateY(-2px);
}

.under-note {
  width: min(560px, 100%);
  margin: clamp(12px, 1.6vw, 18px) 0 0;
  color: rgba(218, 255, 242, 0.82);
  font-size: clamp(14px, 1.45vw, 21px);
  font-weight: 500;
  line-height: 1.35;
  text-align: center;
  text-shadow: 0 2px 18px rgba(1, 8, 24, 0.82);
}

.marquee-zone {
  position: absolute;
  right: 0;
  bottom: 8px;
  left: 0;
  z-index: 3;
  display: grid;
  gap: 8px;
  overflow: hidden;
  padding: 0;
  pointer-events: none;
}

.marquee-row {
  position: relative;
  width: 100%;
  overflow: hidden;
  contain: paint;
  transform: translateZ(0);
}

.marquee-row::before,
.marquee-row::after {
  content: "";
  position: absolute;
  top: 50%;
  width: clamp(48px, 10vw, 180px);
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(166, 255, 238, 0.8), rgba(255, 129, 228, 0.86));
  box-shadow: 0 0 12px rgba(86, 255, 226, 0.7);
  transform: translateY(-50%);
}

.marquee-row::before {
  left: 3vw;
}

.marquee-row::after {
  right: 3vw;
  transform: translateY(-50%) rotate(180deg);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: clamp(10px, 1.25vw, 18px);
  padding-inline: 6vw;
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.marquee-row-forward .marquee-track {
  animation: marquee-forward 58s linear infinite;
}

.marquee-row-backward .marquee-track {
  animation: marquee-backward 64s linear infinite;
}

.pill {
  display: inline-flex;
  min-height: clamp(34px, 2.7vw, 38px);
  align-items: center;
  justify-content: center;
  padding: 0 clamp(16px, 1.8vw, 26px);
  border: 1px solid var(--line);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255, 203, 105, 0.18), rgba(55, 255, 205, 0.18) 45%, rgba(255, 116, 224, 0.2)),
    rgba(15, 31, 67, 0.66);
  box-shadow:
    inset 0 0 10px rgba(255, 255, 255, 0.1),
    0 0 10px rgba(76, 255, 222, 0.18);
  color: rgba(246, 255, 253, 0.96);
  font-size: clamp(13px, 1.05vw, 16px);
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  text-shadow: 0 1px 8px rgba(44, 255, 220, 0.18);
  transform: translateZ(0);
}

@keyframes scene-drift {
  0% {
    background-position: center, center, center, 50% 50%;
  }
  100% {
    background-position: center, center, center, 51.5% 49%;
  }
}

@keyframes light-breathe {
  0%,
  100% {
    opacity: 0.84;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.025);
  }
}

@keyframes ambient-glow {
  0%,
  100% {
    opacity: 0.38;
    transform: translate3d(0, 0, 0) scale(0.98);
  }
  50% {
    opacity: 0.62;
    transform: translate3d(2.2vw, -1.4vw, 0) scale(1.07);
  }
}

@keyframes button-sheen {
  0%,
  58% {
    transform: translateX(-82%) rotate(5deg);
  }
  100% {
    transform: translateX(82%) rotate(5deg);
  }
}

@keyframes lock-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-0.7deg);
  }
  50% {
    transform: translate3d(0, -14px, 0) rotate(0.8deg);
  }
}

@keyframes lock-aura {
  0%,
  100% {
    opacity: 0.7;
    transform: scale(0.96);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

@keyframes button-pulse {
  0%,
  100% {
    box-shadow:
      0 0 0 2px rgba(66, 255, 214, 0.2),
      0 0 18px rgba(78, 255, 215, 0.58),
      0 0 48px rgba(169, 255, 91, 0.38),
      0 18px 62px rgba(0, 0, 0, 0.5);
  }
  50% {
    box-shadow:
      0 0 0 3px rgba(232, 255, 113, 0.28),
      0 0 34px rgba(78, 255, 215, 0.86),
      0 0 86px rgba(255, 116, 224, 0.48),
      0 18px 62px rgba(0, 0, 0, 0.5);
  }
}

@keyframes marquee-forward {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@keyframes marquee-backward {
  from {
    transform: translate3d(-50%, 0, 0);
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}

@media (max-width: 820px) {
  .hero-screen {
    place-items: end center;
    padding: 18px 18px 22px;
    animation: none;
    background-image:
      radial-gradient(circle at 50% 35%, rgba(113, 255, 217, 0.16), transparent 28%),
      linear-gradient(180deg, rgba(4, 8, 19, 0.1) 0%, rgba(4, 8, 19, 0.3) 34%, rgba(2, 8, 22, 0.7) 72%, rgba(1, 8, 24, 0.96) 100%),
      url("./assets/unlocked-bg-mobile.jpg");
    background-position: center, center, center;
    background-size: cover, cover, cover;
  }

  .hero-screen::before {
    background:
      radial-gradient(ellipse at 50% 58%, rgba(23, 255, 203, 0.3), transparent 28%),
      radial-gradient(ellipse at 50% 62%, rgba(255, 99, 220, 0.17), transparent 32%),
      linear-gradient(180deg, rgba(2, 6, 18, 0) 0%, rgba(2, 6, 18, 0.42) 54%, rgba(0, 5, 21, 0.98) 100%);
  }

  .hero-content {
    width: min(1020px, 100%);
    justify-items: center;
    padding-bottom: clamp(134px, 24svh, 188px);
    text-align: center;
  }

  .lock-stage {
    width: clamp(138px, 39vw, 188px);
    margin-bottom: 12px;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(39px, 10vw, 64px);
    line-height: 0.98;
  }

  h1::before {
    inset: -0.16em -0.2em -0.12em;
    border-radius: 20px;
    background:
      radial-gradient(ellipse at 50% 48%, rgba(2, 10, 29, 0.78), transparent 68%),
      linear-gradient(90deg, transparent, rgba(1, 8, 24, 0.58) 18%, rgba(1, 8, 24, 0.58) 82%, transparent);
    filter: blur(7px);
  }

  .hero-lead {
    max-width: 92vw;
    margin-top: 18px;
    font-size: clamp(19px, 5.15vw, 23px);
    line-height: 1.24;
  }

  .primary-button {
    min-width: min(100%, 640px);
    min-height: clamp(70px, 17vw, 88px);
    margin-top: 24px;
    font-size: clamp(25px, 7vw, 37px);
  }

  .under-note {
    margin-top: 12px;
    font-size: clamp(13px, 3.6vw, 17px);
  }

  .marquee-zone {
    bottom: 16px;
    gap: 12px;
  }

  .marquee-track {
    gap: 10px;
    padding-inline: 14px;
  }

  .pill {
    min-height: 46px;
    padding: 0 18px;
    font-size: 14px;
    box-shadow:
      inset 0 0 8px rgba(255, 255, 255, 0.1),
      0 0 7px rgba(76, 255, 222, 0.14);
  }

  .marquee-row::before,
  .marquee-row::after {
    content: none;
  }
}

@media (max-width: 430px) {
  .hero-screen {
    padding-inline: 14px;
  }

  .hero-content {
    padding-bottom: 132px;
  }

  .lock-stage {
    width: min(38vw, 150px);
  }

  h1 {
    font-size: clamp(36px, 10.5vw, 47px);
  }

  .hero-lead span {
    display: block;
  }

  .primary-button {
    min-height: 68px;
    padding-inline: 22px;
    font-size: clamp(24px, 6.8vw, 30px);
  }

  .pill {
    min-height: 42px;
    padding: 0 16px;
    font-size: 13px;
  }
}

.blog-body {
  position: relative;
  min-height: 100%;
  background:
    radial-gradient(circle at 12% 4%, rgba(253, 75, 171, 0.24), transparent 28rem),
    radial-gradient(circle at 90% 14%, rgba(49, 255, 240, 0.18), transparent 30rem),
    linear-gradient(180deg, #020916 0%, #061126 44%, #040813 100%);
}

.blog-body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(2, 9, 22, 0.2), rgba(2, 9, 22, 0.82)),
    url("./assets/unlocked-bg-desktop.jpg") center top / cover no-repeat;
  opacity: 0.38;
  pointer-events: none;
}

.blog-body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 86px 86px;
  mask-image: linear-gradient(180deg, black 0%, transparent 76%);
  opacity: 0.24;
  pointer-events: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 5vw, 72px);
  border-bottom: 1px solid rgba(126, 255, 235, 0.18);
  background:
    linear-gradient(90deg, rgba(253, 75, 171, 0.12), transparent 38%, rgba(49, 255, 240, 0.1)),
    rgba(2, 9, 22, 0.82);
  backdrop-filter: blur(18px);
}

.site-logo {
  background: var(--text-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0;
  text-shadow: 0 0 28px rgba(126, 255, 235, 0.2);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 24px);
  color: rgba(238, 255, 249, 0.86);
  font-size: 15px;
}

.site-nav a {
  padding: 8px 0;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: #ffffff;
}

.blog-shell,
.article-layout {
  width: min(1280px, calc(100% - 36px));
  margin: 0 auto;
}

.blog-shell {
  padding: clamp(36px, 7vw, 86px) 0 80px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 860px) 300px;
  gap: clamp(28px, 4vw, 56px);
  padding: clamp(24px, 5vw, 60px) 0 96px;
}

.article-shell {
  display: contents;
  min-width: 0;
}

.blog-hero,
.article-hero,
.article-toc,
.article-content,
.related-articles,
.cluster-grid,
.stage-list {
  position: relative;
}

.blog-hero {
  display: grid;
  gap: 18px;
  max-width: 820px;
  margin-bottom: 44px;
}

.blog-hero-compact {
  padding: clamp(24px, 5vw, 48px);
  border: 1px solid rgba(142, 255, 232, 0.22);
  border-radius: 8px;
  background:
    radial-gradient(circle at 16% 12%, rgba(253, 75, 171, 0.2), transparent 18rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04) inset, 0 24px 80px rgba(0, 0, 0, 0.28);
}

.blog-eyebrow,
.card-kicker,
.author-role {
  margin: 0;
  color: #7effeb;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(126, 255, 235, 0.36);
}

.blog-hero h1,
.article-hero h1 {
  display: block;
  max-width: 860px;
  background: var(--text-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(34px, 4.6vw, 62px);
  line-height: 1.02;
  text-wrap: balance;
  text-shadow: 0 12px 46px rgba(1, 8, 24, 0.72);
}

.blog-hero h1::before,
.article-hero h1::before {
  content: none;
}

.blog-hero p,
.article-lead,
.article-content p,
.article-content li,
.related-card p,
.stage-grid p {
  color: rgba(239, 255, 251, 0.86);
  font-size: 18px;
  line-height: 1.66;
}

.blog-hero p,
.article-lead {
  margin: 0;
  max-width: 760px;
  font-size: clamp(18px, 2vw, 22px);
}

.breadcrumbs {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  color: rgba(232, 255, 248, 0.64);
  font-size: 14px;
  line-height: 1.4;
}

.breadcrumbs a {
  color: rgba(232, 255, 248, 0.84);
  text-decoration: underline;
  text-decoration-color: rgba(126, 255, 235, 0.28);
  text-underline-offset: 3px;
}

.article-hero {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.8fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  min-width: 0;
  min-height: clamp(600px, 72svh, 760px);
  margin-bottom: 12px;
  overflow: hidden;
  padding: clamp(28px, 6vw, 76px);
  border: 1px solid rgba(142, 255, 232, 0.24);
  border-radius: 8px;
  background:
    radial-gradient(circle at 82% 48%, rgba(49, 255, 240, 0.26), transparent 24rem),
    radial-gradient(circle at 20% 18%, rgba(253, 75, 171, 0.2), transparent 23rem),
    linear-gradient(120deg, rgba(2, 9, 22, 0.82), rgba(3, 14, 36, 0.64)),
    url("./assets/unlocked-bg-desktop.jpg") center / cover;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 30px 120px rgba(0, 0, 0, 0.42);
  isolation: isolate;
}

.article-hero::before,
.article-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.article-hero::before {
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 72% 52%, rgba(255, 115, 223, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(2, 9, 22, 0.08), rgba(2, 9, 22, 0.72));
}

.article-hero::after {
  right: -90px;
  bottom: -90px;
  width: 360px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(126, 255, 235, 0.34), transparent 68%);
  filter: blur(18px);
  opacity: 0.8;
}

.article-hero-copy {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 18px;
  min-width: 0;
}

.article-visual {
  position: relative;
  z-index: 2;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid rgba(142, 255, 232, 0.28);
  border-radius: 8px;
  background: rgba(2, 9, 22, 0.46);
  box-shadow:
    0 0 44px rgba(49, 255, 240, 0.18),
    0 28px 88px rgba(0, 0, 0, 0.48);
}

.article-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.96;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: rgba(238, 255, 249, 0.66);
  font-size: 14px;
  line-height: 1.45;
}

.article-meta span,
.article-meta time {
  display: inline-flex;
}

.article-button {
  display: inline-flex;
  width: fit-content;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.9), transparent 18%),
    linear-gradient(100deg, #fd4bab 0%, #903be3 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.18) inset,
    0 0 28px rgba(253, 75, 171, 0.38),
    0 18px 46px rgba(92, 29, 171, 0.42);
  color: #ffffff;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  white-space: normal;
  transition: transform 160ms ease, filter 160ms ease;
}

.article-route {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.article-route span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(126, 255, 235, 0.35);
  border-radius: 999px;
  background: rgba(15, 31, 67, 0.58);
  box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.08), 0 0 12px rgba(76, 255, 222, 0.16);
  color: rgba(246, 255, 253, 0.92);
  font-size: 13px;
  line-height: 1;
}

.article-button:hover {
  filter: brightness(1.06) saturate(1.04);
  transform: translateY(-1px);
}

.article-button:focus-visible,
.sticky-close:focus-visible,
.article-toc a:focus-visible,
.faq-section summary:focus-visible {
  outline: 3px solid rgba(126, 255, 235, 0.72);
  outline-offset: 4px;
}

.article-toc {
  grid-column: 1;
  display: grid;
  gap: 10px;
  margin-bottom: 34px;
  padding: 20px;
  border: 1px solid rgba(126, 255, 235, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(253, 75, 171, 0.08), rgba(49, 255, 240, 0.06)),
    rgba(255, 255, 255, 0.045);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.2);
}

.article-toc h2,
.cluster-grid h2,
.stage-list h2,
.related-articles h2 {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 24px;
  line-height: 1.2;
}

.article-toc a {
  color: rgba(239, 255, 251, 0.86);
  text-decoration: underline;
  text-decoration-color: rgba(126, 255, 235, 0.26);
  text-underline-offset: 4px;
}

.article-content {
  grid-column: 1;
  max-width: 780px;
}

.article-content section {
  margin: 42px 0;
}

.article-content h2 {
  margin: 0 0 16px;
  background: linear-gradient(96deg, #ffffff 0%, #e8ff71 42%, #7effeb 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(27px, 3vw, 38px);
  line-height: 1.14;
}

.article-content h3 {
  margin: 28px 0 10px;
  color: #ffffff;
  font-size: clamp(21px, 2vw, 26px);
  line-height: 1.25;
}

.article-content p {
  margin: 0 0 16px;
}

.article-content ul {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding-left: 22px;
}

.article-content li::marker {
  color: #fd4bab;
}

.article-cta {
  display: grid;
  gap: 14px;
  margin: 38px 0;
  padding: clamp(20px, 4vw, 32px);
  overflow: hidden;
  border: 1px solid rgba(253, 75, 171, 0.38);
  border-radius: 8px;
  background:
    radial-gradient(circle at 8% 16%, rgba(253, 75, 171, 0.3), transparent 16rem),
    radial-gradient(circle at 92% 16%, rgba(49, 255, 240, 0.16), transparent 14rem),
    linear-gradient(135deg, rgba(144, 59, 227, 0.26), rgba(3, 14, 36, 0.72));
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05) inset,
    0 0 44px rgba(253, 75, 171, 0.13);
}

.article-cta h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
}

.article-cta p {
  margin: 0;
}

.table-scroll {
  max-width: 100%;
  overflow-x: auto;
  margin-top: 16px;
  border: 1px solid rgba(142, 255, 232, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(49, 255, 240, 0.06), rgba(253, 75, 171, 0.06)),
    rgba(255, 255, 255, 0.045);
  box-shadow: 0 16px 46px rgba(0, 0, 0, 0.18);
}

.table-scroll table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.table-scroll th,
.table-scroll td {
  padding: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  color: rgba(239, 255, 251, 0.86);
  font-size: 15px;
  line-height: 1.45;
  text-align: left;
  vertical-align: top;
}

.table-scroll thead th {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
}

.table-scroll tbody th {
  color: #ffffff;
  font-weight: 700;
}

.faq-section {
  display: grid;
  gap: 12px;
}

.faq-section details {
  border: 1px solid rgba(126, 255, 235, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.faq-section summary {
  cursor: pointer;
  padding: 18px 20px;
  color: #ffffff;
  font-size: 18px;
  line-height: 1.4;
}

.faq-section details p {
  margin: 0;
  padding: 0 20px 20px;
}

.author-box {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin: 42px 0 0;
  padding: 24px;
  border: 1px solid rgba(142, 255, 232, 0.22);
  border-radius: 8px;
  background:
    radial-gradient(circle at 8% 20%, rgba(253, 75, 171, 0.16), transparent 14rem),
    rgba(255, 255, 255, 0.055);
}

.author-mark {
  display: grid;
  width: 86px;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 25%, rgba(255, 255, 255, 0.9), transparent 18%),
    linear-gradient(135deg, #fd4bab, #903be3 58%, #31fff0);
  color: #ffffff;
  font-size: 28px;
  font-weight: 800;
}

.author-box h2 {
  margin-bottom: 6px;
}

.author-box p {
  margin-bottom: 8px;
}

.related-articles {
  grid-column: 2;
  grid-row: 3 / span 2;
  align-self: start;
  position: sticky;
  top: 92px;
  display: grid;
  gap: 14px;
}

.related-card,
.stage-grid article {
  padding: 20px;
  border: 1px solid rgba(142, 255, 232, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.035)),
    rgba(2, 9, 22, 0.48);
  box-shadow: 0 16px 46px rgba(0, 0, 0, 0.18);
}

.related-card h3,
.stage-grid h3 {
  margin: 8px 0 10px;
  color: #ffffff;
  font-size: 21px;
  line-height: 1.25;
}

.related-card h3 a,
.stage-grid h3 a {
  text-decoration: underline;
  text-decoration-color: rgba(126, 255, 235, 0.32);
  text-underline-offset: 4px;
}

.related-card p,
.stage-grid p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
}

.featured-card {
  max-width: 560px;
}

.cluster-grid,
.stage-list {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

.stage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.sticky-cta {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 30;
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(2, 9, 22, 0.86);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(16px);
}

.sticky-cta.is-visible {
  display: flex;
}

.sticky-cta .article-button {
  min-height: 44px;
  padding: 0 18px;
  font-size: 15px;
}

.sticky-close {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-size: 20px;
  line-height: 1;
}

@media (max-width: 980px) {
  .article-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .breadcrumbs,
  .article-hero,
  .article-toc,
  .article-content,
  .related-articles {
    grid-column: 1;
    grid-row: auto;
    min-width: 0;
    width: 100%;
  }

  .related-articles {
    position: static;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .article-hero {
    grid-template-columns: minmax(0, 1fr);
    min-height: auto;
  }

  .article-visual {
    min-height: auto;
    aspect-ratio: 1200 / 676;
  }

  .article-hero-image {
    right: auto;
    width: 100%;
    max-width: none;
    transform: none;
  }

  .stage-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-header {
    position: relative;
    min-height: auto;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 18px;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
    gap: 14px;
    font-size: 14px;
  }

  .blog-shell,
  .article-layout {
    width: min(100% - 32px, 1180px);
  }

  .article-layout {
    padding-top: 22px;
    padding-bottom: 112px;
  }

  .article-hero {
    gap: 24px;
    padding: 22px;
    background:
      radial-gradient(circle at 50% 42%, rgba(49, 255, 240, 0.24), transparent 16rem),
      radial-gradient(circle at 18% 10%, rgba(253, 75, 171, 0.22), transparent 15rem),
      linear-gradient(180deg, rgba(2, 9, 22, 0.54), rgba(2, 9, 22, 0.84)),
      url("./assets/unlocked-bg-mobile.jpg") center / cover;
  }

  .article-visual {
    min-height: auto;
    aspect-ratio: 1200 / 676;
    margin-top: 8px;
  }

  .article-hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.86;
    transform: none;
  }

  .blog-hero-compact,
  .article-hero,
  .article-toc,
  .article-cta,
  .author-box,
  .related-card,
  .stage-grid article {
    border-radius: 8px;
  }

  .blog-hero h1,
  .article-hero h1 {
    font-size: clamp(32px, 9.2vw, 48px);
  }

  .article-content h2 {
    font-size: clamp(25px, 7vw, 34px);
  }

  .blog-hero p,
  .article-lead,
  .article-content p,
  .article-content li {
    font-size: 17px;
    line-height: 1.62;
  }

  .article-button {
    width: 100%;
    min-height: 52px;
  }

  .article-meta {
    gap: 7px 10px;
  }

  .article-toc {
    max-height: none;
  }

  .table-scroll {
    margin-right: -16px;
    padding-bottom: 2px;
    border-right: 0;
    border-radius: 8px 0 0 8px;
  }

  .related-articles,
  .stage-grid {
    grid-template-columns: 1fr;
  }

  .author-box {
    grid-template-columns: 1fr;
  }

  .sticky-cta {
    right: 10px;
    bottom: 10px;
    left: 10px;
  }
}

@media (max-width: 430px) {
  .article-hero {
    padding: 18px;
  }

  .article-visual {
    min-height: auto;
  }

  .article-hero-image {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
