:root {
  --bg: #050608;
  --bg-lift: #0a0c10;
  --panel: rgba(15, 17, 23, 0.76);
  --panel-strong: rgba(18, 21, 29, 0.94);
  --panel-soft: rgba(255, 255, 255, 0.045);
  --line: rgba(255, 255, 255, 0.13);
  --line-soft: rgba(255, 255, 255, 0.075);
  --text: #f5f7fb;
  --muted: #9aa6b7;
  --soft: #d6dee9;
  --cyan: #18cbea;
  --green: #28df99;
  --rose: #ff4f7b;
  --amber: #f2c26b;
}

* {
  box-sizing: border-box;
}

html {
  scrollbar-width: none;
  background: var(--bg);
}

::-webkit-scrollbar {
  display: none;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(145deg, #050608 0%, #0a0d12 38%, #06080b 72%, #020304 100%);
  background-size: 42px 42px, 42px 42px, auto;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, rgba(24, 203, 234, 0.16), transparent 28%),
    linear-gradient(245deg, rgba(40, 223, 153, 0.12), transparent 28%),
    linear-gradient(180deg, transparent 62%, rgba(255, 79, 123, 0.08));
  mask-image: linear-gradient(180deg, black, transparent 82%);
}

body.devlog-doc-page,
body:has(.has-doc-reader) {
  background: #000;
  background-image: none;
  background-size: auto;
}

body.devlog-doc-page::before,
body:has(.has-doc-reader)::before {
  display: none;
}

a {
  color: inherit;
}

.site-shell {
  position: relative;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 26px 0 64px;
}

.site-shell.has-doc-reader {
  width: min(1680px, calc(100% - 40px));
  padding-top: 18px;
}

.has-doc-reader .topbar {
  margin-bottom: 18px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 54px;
  margin-bottom: 50px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  overflow: hidden;
  border-radius: 50%;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45), 0 0 0 6px rgba(255, 255, 255, 0.035);
  transition: box-shadow 220ms ease;
}

.brand:hover .brand-mark {
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45), 0 0 32px rgba(24, 203, 234, 0.24);
}

.brand-mark img,
.side-logo img,
.hero-logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(20px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
}

.nav a {
  position: relative;
  padding: 9px 14px;
  color: var(--muted);
  text-decoration: none;
  border-radius: 999px;
  font-size: 0.9rem;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.nav a:hover {
  color: var(--text);
  transform: translateY(-1px);
}

.nav a.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.11);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 344px;
  gap: 34px;
  align-items: stretch;
  margin-bottom: 34px;
}

.hero-copy {
  align-self: end;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 850px;
  font-size: 5.8rem;
  line-height: 0.94;
  letter-spacing: 0;
}

.lede {
  max-width: 690px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.72;
}

.hero-panel {
  position: relative;
  display: grid;
  align-content: end;
  min-height: 330px;
  overflow: hidden;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035)),
    var(--panel);
  backdrop-filter: blur(22px);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.28);
}

.hero-panel::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 46%;
  background: linear-gradient(180deg, transparent, rgba(5, 6, 8, 0.82));
  pointer-events: none;
}

.hero-panel > div:not(.hero-logo-wrap) {
  position: relative;
  z-index: 1;
}

.hero-logo-wrap {
  position: absolute;
  top: 26px;
  left: 50%;
  width: 158px;
  height: 158px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: #000;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16), 0 30px 70px rgba(0, 0, 0, 0.5);
}

.hero-logo-wrap span {
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 1px solid rgba(24, 203, 234, 0.28);
  animation: logoRing 2.8s ease-in-out infinite;
}

.hero-panel strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.hero-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
  font-size: 0.95rem;
}

.feed-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 24px;
}

.feed-tabs a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.03);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.feed-tabs a:hover {
  transform: translateY(-2px) scale(1.03);
  color: var(--text);
  border-color: rgba(24, 203, 234, 0.32);
}

.feed-tabs a.is-active {
  color: var(--text);
  border-color: rgba(24, 203, 234, 0.42);
  background: rgba(24, 203, 234, 0.11);
}

.has-doc-reader .feed-tabs {
  margin-bottom: 16px;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.post-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 292px;
  overflow: hidden;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(130deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.025);
  color: var(--text);
  text-decoration: none;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
  transition-delay: calc(var(--i, 0) * 25ms);
}

.post-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(24, 203, 234, 0.16), transparent 46%, rgba(40, 223, 153, 0.11));
  opacity: 0;
  transition: opacity 220ms ease;
}

.post-card > * {
  position: relative;
}

.post-card:hover {
  transform: translateY(-7px) scale(1.015);
  border-color: rgba(24, 203, 234, 0.44);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
}

.post-card:hover::before {
  opacity: 1;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.82rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 0 9px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  color: var(--soft);
  background: rgba(255, 255, 255, 0.05);
}

.post-card h2 {
  margin: 0 0 12px;
  font-size: 2.02rem;
  line-height: 1.06;
  letter-spacing: 0;
}

.post-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.post-card .spacer {
  flex: 1;
}

body.blog-cinema-page {
  --blog-void: #050009;
  --blog-void-soft: #0a0014;
  --blog-paper: #fff3e8;
  --blog-dim: #cdb8c9;
  --blog-magenta: #ff2079;
  --blog-violet: #7b2ff7;
  --blog-orange: #ff7a3d;
  --blog-cyan: #21e6ff;
  --blog-hue: 0deg;
  --blog-sat: 100%;
  background: #050009;
  color: var(--blog-paper);
  overflow-x: clip;
  filter: hue-rotate(var(--blog-hue)) saturate(var(--blog-sat));
  transition: filter 600ms linear;
}

.blog-cinema-shell {
  width: 100%;
  max-width: none;
  min-height: 100vh;
  padding: 0;
  overflow-x: clip;
  isolation: isolate;
}

.blog-intro-card {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: #050009;
  animation: blogIntroOut 850ms cubic-bezier(.16, .9, .28, 1) 2.15s forwards;
}

.blog-intro-card::before,
.blog-intro-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 12vh;
  background: #000;
}

.blog-intro-card::before { top: 0; }
.blog-intro-card::after { bottom: 0; }

.blog-intro-card span,
.blog-intro-card small {
  font-family: "Space Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.48em;
  text-transform: uppercase;
  color: var(--blog-dim);
  opacity: 0;
  animation: blogFlicker 900ms steps(1) 120ms forwards;
}

.blog-intro-card strong {
  margin-top: 10px;
  font-family: "Anton", sans-serif;
  font-size: clamp(4rem, 12vw, 12rem);
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 0.92;
  text-transform: uppercase;
  background: linear-gradient(115deg, var(--blog-magenta), var(--blog-violet) 54%, var(--blog-cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0;
  animation: blogTitleIn 1.05s cubic-bezier(.16, .9, .28, 1) 420ms forwards;
}

@keyframes blogFlicker {
  0% { opacity: 0; }
  8% { opacity: 1; }
  12% { opacity: 0.2; }
  16%, 100% { opacity: 1; }
}

@keyframes blogTitleIn {
  0% { opacity: 0; letter-spacing: 0.55em; filter: blur(16px); }
  60% { opacity: 1; }
  100% { opacity: 1; letter-spacing: 0.06em; filter: blur(0); }
}

@keyframes blogIntroOut {
  to { opacity: 0; visibility: hidden; pointer-events: none; }
}

.blog-letterbox {
  position: fixed;
  left: 0;
  right: 0;
  height: 5vh;
  z-index: 60;
  pointer-events: none;
  background: #000;
  animation: blogBarsIn 900ms cubic-bezier(.16, .9, .28, 1) 2.05s both;
}

.blog-letterbox.top { top: 0; }
.blog-letterbox.bottom { bottom: 0; }

@keyframes blogBarsIn {
  from { height: 13vh; }
  to { height: 5vh; }
}

.blog-scanlines,
.blog-grain {
  position: fixed;
  inset: 0;
  z-index: 55;
  pointer-events: none;
}

.blog-scanlines {
  opacity: 0.32;
  mix-blend-mode: overlay;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,0.052) 0 1px, transparent 2px 3px);
}

.blog-grain {
  inset: 0;
  z-index: 56;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: blogGrainShift 500ms steps(4) infinite;
}

@keyframes blogGrainShift {
  0% { transform: translate(0, 0); }
  50% { transform: translate(-2%, 1%); }
  100% { transform: translate(1%, -2%); }
}

.blog-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 80;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blog-magenta), var(--blog-violet), var(--blog-cyan));
  box-shadow: 0 0 14px rgba(255, 32, 121, 0.8);
}

.blog-cursor-glow {
  position: fixed;
  z-index: 81;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 32, 121, 0.55), transparent 70%);
  transition: width 180ms ease, height 180ms ease, opacity 180ms ease;
}

.blog-site-header {
  position: sticky;
  top: 0;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 40px;
  background: linear-gradient(180deg, rgba(5, 0, 9, 0.9), rgba(5, 0, 9, 0));
  backdrop-filter: blur(8px);
}

.blog-brand,
.blog-nav,
.blog-header-action {
  position: relative;
  z-index: 2;
}

.blog-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--blog-paper);
  text-decoration: none;
}

.blog-brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #000;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.16), 0 0 24px rgba(255,32,121,0.5);
}

.blog-brand-mark img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.blog-glitch-text,
.blog-glitch-title,
.blog-featured-article h2,
.blog-section-heading h2 {
  font-family: "Anton", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
}

.blog-glitch-text {
  position: relative;
  font-size: 1.45rem;
  letter-spacing: 0.05em;
}

.blog-glitch-text::before,
.blog-glitch-text::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0;
}

.blog-brand:hover .blog-glitch-text::before {
  color: var(--blog-magenta);
  opacity: 0.8;
  clip-path: inset(0 0 55% 0);
  animation: blogGlitchOne 520ms steps(2) infinite;
}

.blog-brand:hover .blog-glitch-text::after {
  color: var(--blog-cyan);
  opacity: 0.8;
  clip-path: inset(55% 0 0 0);
  animation: blogGlitchTwo 520ms steps(2) infinite;
}

@keyframes blogGlitchOne {
  0% { transform: translate(0, 0); }
  50% { transform: translate(-3px, -1px); }
  100% { transform: translate(2px, 1px); }
}

@keyframes blogGlitchTwo {
  0% { transform: translate(0, 0); }
  50% { transform: translate(3px, 1px); }
  100% { transform: translate(-2px, -1px); }
}

.blog-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.blog-nav a,
.blog-header-action,
.blog-primary-button,
.blog-secondary-button,
.blog-text-link,
.blog-footer,
.blog-article-meta {
  font-family: "Space Mono", monospace;
  text-transform: uppercase;
}

.blog-nav a {
  color: var(--blog-dim);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-decoration: none;
  transition: color 180ms ease;
}

.blog-nav a:hover,
.blog-nav a.is-active {
  color: var(--blog-paper);
}

.blog-header-action {
  padding: 10px 18px;
  border: 1px solid var(--blog-magenta);
  border-radius: 3px;
  color: var(--blog-paper);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-decoration: none;
  box-shadow: 0 0 0 rgba(255,32,121,0);
  animation: blogPulseGlow 2.4s ease-in-out infinite;
}

@keyframes blogPulseGlow {
  0%, 100% { box-shadow: 0 0 0 rgba(255,32,121,0); }
  50% { box-shadow: 0 0 22px rgba(255,32,121,0.65); }
}

.blog-hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 92vh;
  overflow: hidden;
  isolation: isolate;
}

.blog-canvas-wrap {
  position: absolute;
  inset: 0;
  z-index: -2;
}

#blogTrailerCanvas {
  display: block;
  width: 100%;
  height: 100%;
}

.blog-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(5,0,9,0.1), rgba(5,0,9,0.48) 62%, #050009 100%);
}

.blog-hero-copy {
  max-width: 980px;
  padding: 0 24px;
  text-align: center;
}

.blog-eyebrow {
  margin: 0;
  color: var(--blog-peach, #ffd39a);
  font-family: "Space Mono", monospace;
  font-size: 0.74rem;
  letter-spacing: 0.48em;
  text-transform: uppercase;
}

.blog-eyebrow span {
  display: inline-block;
  clip-path: inset(0 100% 0 0);
  animation: blogSlashIn 850ms cubic-bezier(.16, .9, .28, 1) 2.7s forwards;
}

@keyframes blogSlashIn {
  to { clip-path: inset(0 0 0 0); }
}

.blog-glitch-title {
  position: relative;
  max-width: 920px;
  margin: 18px auto 20px;
  font-size: clamp(3rem, 7vw, 6.8rem);
  line-height: 0.93;
  letter-spacing: 0.01em;
  background: linear-gradient(100deg, var(--blog-paper) 18%, #ffd39a 45%, var(--blog-magenta) 72%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0;
  transform: translateY(30px);
  animation: blogTitleRise 900ms cubic-bezier(.16, .9, .28, 1) 2.9s forwards;
}

@keyframes blogTitleRise {
  to { opacity: 1; transform: translateY(0); }
}

.blog-hero-text {
  max-width: 650px;
  margin: 0 auto;
  color: var(--blog-dim);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.05rem;
  line-height: 1.65;
  opacity: 0;
  transform: translateY(16px);
  animation: blogFadeUp 740ms cubic-bezier(.16, .9, .28, 1) 3.2s forwards;
}

@keyframes blogFadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.blog-hero-actions {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 34px;
}

.blog-primary-button,
.blog-secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  border-radius: 3px;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-decoration: none;
  opacity: 0;
  transform: translateY(14px);
  animation: blogFadeUp 700ms cubic-bezier(.16, .9, .28, 1) forwards;
}

.blog-primary-button {
  color: #050009;
  background: var(--blog-magenta);
  animation-delay: 3.45s;
}

.blog-secondary-button {
  color: var(--blog-paper);
  border: 1px solid rgba(255,243,232,0.72);
  animation-delay: 3.58s;
}

.blog-primary-button:hover,
.blog-secondary-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 24px rgba(33,230,255,0.45);
}

.blog-scroll-cue {
  position: absolute;
  bottom: 34px;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transform: translateX(-50%);
  color: var(--blog-dim);
  font-family: "Space Mono", monospace;
  font-size: 0.62rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  opacity: 0;
  animation: blogFadeSimple 700ms ease 3.95s forwards;
}

.blog-scroll-cue::after {
  content: "";
  width: 1px;
  height: 34px;
  background: linear-gradient(var(--blog-dim), transparent);
  animation: blogCueRun 1.8s ease-in-out infinite;
}

@keyframes blogFadeSimple { to { opacity: 1; } }

@keyframes blogCueRun {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

.blog-topic-strip {
  overflow: hidden;
  padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: #050009;
  white-space: nowrap;
}

.blog-marquee-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: blogMarquee 22s linear infinite;
}

.blog-marquee-track a {
  color: var(--blog-dim);
  font-family: "Space Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
}

.blog-marquee-track a::after {
  content: "/";
  margin-left: 56px;
  color: var(--blog-violet);
}

.blog-fast-fallback {
  position: relative;
  z-index: 4;
  display: grid;
  gap: 10px;
  width: min(760px, calc(100% - 40px));
  margin: 22px auto 0;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.82);
}

.blog-fast-fallback strong {
  color: #fff;
}

.blog-fast-fallback a {
  color: rgba(226, 232, 240, 0.8);
  text-decoration: none;
}

.blog-fast-fallback a:hover {
  color: #8ddfff;
}

@keyframes blogMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.blog-container {
  width: min(1240px, calc(100% - 64px));
  margin: 0 auto;
}

.blog-featured {
  padding: 118px 0 60px;
}

.blog-featured .blog-container {
  display: grid;
  grid-template-columns: minmax(0, 1.48fr) minmax(300px, 0.82fr);
  gap: 28px;
}

.blog-reveal {
  opacity: 0;
  transform: translateY(40px);
  filter: blur(4px);
  transition: opacity 880ms cubic-bezier(.16, .9, .28, 1), transform 880ms cubic-bezier(.16, .9, .28, 1), filter 880ms cubic-bezier(.16, .9, .28, 1);
}

.blog-reveal.in-view {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.blog-featured-article,
.blog-editor-note,
.blog-post-card,
.blog-newsletter {
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  background: rgba(255,255,255,0.035);
}

.blog-featured-article {
  position: relative;
  overflow: hidden;
  padding: 44px;
  border: 1px solid transparent;
  background-image: linear-gradient(160deg, rgba(123,47,247,0.18), rgba(255,32,121,0.08)), linear-gradient(120deg, var(--blog-magenta), var(--blog-violet), var(--blog-cyan));
  background-origin: border-box;
  background-clip: padding-box, border-box;
}

.blog-article-meta {
  display: block;
  margin: 0 0 16px;
  color: #ffd39a;
  font-size: 0.68rem;
  letter-spacing: 0.24em;
}

.blog-featured-article h2 {
  max-width: 740px;
  margin: 0 0 16px;
  color: var(--blog-paper);
  font-size: clamp(2.3rem, 4.8vw, 4.8rem);
  line-height: 0.96;
}

.blog-featured-article p,
.blog-editor-note p {
  max-width: 580px;
  margin: 0;
  color: var(--blog-dim);
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.65;
}

.blog-text-link,
.blog-editor-note a {
  display: inline-block;
  margin-top: 26px;
  color: var(--blog-cyan);
  font-size: 0.74rem;
  letter-spacing: 0.15em;
  text-decoration: none;
}

.blog-editor-note {
  padding: 34px;
  box-shadow: 0 0 0 rgba(33,230,255,0);
  animation: blogBorderPulse 3s ease-in-out infinite;
}

@keyframes blogBorderPulse {
  0%, 100% { box-shadow: 0 0 0 rgba(33,230,255,0); }
  50% { box-shadow: 0 0 26px rgba(33,230,255,0.22); }
}

.blog-editor-note h3 {
  margin: 0 0 12px;
  color: var(--blog-paper);
  font-size: 1.6rem;
  letter-spacing: 0;
}

.blog-palette {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.blog-palette span {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  opacity: 0;
  animation: blogPopIn 460ms cubic-bezier(.16, .9, .28, 1) forwards;
}

.blog-palette span:nth-child(2) { animation-delay: 80ms; }
.blog-palette span:nth-child(3) { animation-delay: 160ms; }
.blog-palette span:nth-child(4) { animation-delay: 240ms; }
.blog-palette span:nth-child(5) { animation-delay: 320ms; }

@keyframes blogPopIn {
  from { opacity: 0; transform: scale(0.4) rotate(-20deg); }
  to { opacity: 1; transform: scale(1) rotate(0); }
}

.blog-palette .black { background: #0a0014; border: 1px solid rgba(255,255,255,0.18); }
.blog-palette .violet { background: var(--blog-violet); }
.blog-palette .pink { background: var(--blog-magenta); }
.blog-palette .orange { background: var(--blog-orange); }
.blog-palette .cyan { background: var(--blog-cyan); }

.blog-latest {
  padding: 58px 0 128px;
}

.blog-section-heading {
  margin-bottom: 54px;
  text-align: center;
}

.blog-section-heading h2 {
  margin: 12px 0 0;
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  line-height: 0.96;
}

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

.blog-post-card {
  position: relative;
  display: flex;
  min-height: 420px;
  flex-direction: column;
  overflow: hidden;
  color: var(--blog-paper);
  text-decoration: none;
  transform-style: preserve-3d;
  transition: transform 380ms cubic-bezier(.16, .9, .28, 1), box-shadow 380ms ease, border-color 380ms ease;
}

.blog-post-card:hover {
  transform: translateY(-10px) rotateX(3deg) rotateY(-3deg);
  border-color: rgba(33,230,255,0.38);
  box-shadow: 0 30px 62px rgba(0,0,0,0.5);
}

.blog-post-visual {
  position: relative;
  display: block;
  height: 190px;
  overflow: hidden;
  background: radial-gradient(circle at 30% 30%, var(--blog-magenta), #2c0a1f 70%);
}

.blog-post-card.tone-1 .blog-post-visual {
  background: radial-gradient(circle at 70% 30%, var(--blog-violet), #14082c 70%);
}

.blog-post-card.tone-2 .blog-post-visual {
  background: radial-gradient(circle at 50% 70%, var(--blog-orange), #2a1206 70%);
}

.blog-post-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: repeating-linear-gradient(115deg, transparent 0 18px, rgba(255,255,255,0.06) 18px 20px);
  mix-blend-mode: overlay;
  transition: opacity 320ms ease;
}

.blog-post-card:hover .blog-post-visual::after {
  opacity: 1;
}

.blog-post-visual i {
  position: absolute;
  inset: 28px;
  border: 1px solid rgba(255,255,255,0.18);
  transform: skewX(-8deg);
  background:
    linear-gradient(90deg, transparent 48%, rgba(255,255,255,0.14) 49% 51%, transparent 52%),
    linear-gradient(0deg, transparent 48%, rgba(255,255,255,0.12) 49% 51%, transparent 52%);
}

.blog-post-card .blog-article-meta {
  padding: 20px 22px 0;
}

.blog-post-card strong {
  padding: 0 22px;
  color: var(--blog-paper);
  font-size: 1.2rem;
  line-height: 1.25;
}

.blog-post-card p {
  margin: 0;
  padding: 12px 22px 0;
  color: var(--blog-dim);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.92rem;
  line-height: 1.58;
}

.blog-post-card em {
  margin: auto 22px 24px;
  color: var(--blog-cyan);
  font-family: "Space Mono", monospace;
  font-size: 0.72rem;
  font-style: normal;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.blog-discussion {
  padding: 0 0 118px;
}

.blog-discussion .blog-container {
  display: grid;
  gap: 18px;
}

.blog-discussion-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.52fr);
  gap: 22px;
  align-items: end;
}

.blog-discussion-head h2 {
  margin: 12px 0 10px;
  color: var(--blog-paper);
  font-family: "Anton", sans-serif;
  font-size: clamp(2.4rem, 5vw, 5rem);
  font-weight: 400;
  line-height: 0.95;
  text-transform: uppercase;
}

.blog-discussion-head p:not(.blog-eyebrow) {
  max-width: 620px;
  margin: 0;
  color: var(--blog-dim);
  line-height: 1.6;
}

.blog-discussion-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.blog-discussion-tabs button,
.blog-comment-tools button,
.blog-gif-search button,
.blog-comment-actions button,
.blog-reply-form button {
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 999px;
  background: rgba(255,255,255,0.035);
  color: var(--blog-dim);
  cursor: pointer;
  font: inherit;
  transition: transform 170ms ease, border-color 170ms ease, background 170ms ease, color 170ms ease;
}

.blog-discussion-tabs button {
  min-height: 34px;
  padding: 0 12px;
  font-size: 0.78rem;
}

.blog-discussion-tabs button.is-active,
.blog-discussion-tabs button:hover,
.blog-comment-tools button:hover,
.blog-gif-search button:hover,
.blog-comment-actions button:hover,
.blog-reply-form button:hover {
  transform: translateY(-1px);
  border-color: rgba(255,32,121,0.62);
  background: rgba(255,32,121,0.12);
  color: var(--blog-paper);
}

.blog-comment-composer,
.blog-comment,
.blog-gif-panel {
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255,32,121,0.085), transparent 42%),
    linear-gradient(315deg, rgba(33,230,255,0.06), transparent 46%),
    rgba(255,255,255,0.032);
}

.blog-comment-composer {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.blog-comment-composer input,
.blog-comment-composer textarea,
.blog-gif-search input,
.blog-reply-form input {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  outline: none;
  background: rgba(0,0,0,0.38);
  color: var(--blog-paper);
  font: inherit;
}

.blog-comment-composer input,
.blog-gif-search input,
.blog-reply-form input {
  min-height: 42px;
  padding: 0 12px;
}

.blog-comment-composer textarea {
  min-height: 92px;
  resize: vertical;
  padding: 12px;
  line-height: 1.55;
}

.blog-comment-composer input:focus,
.blog-comment-composer textarea:focus,
.blog-gif-search input:focus,
.blog-reply-form input:focus {
  border-color: rgba(33,230,255,0.52);
  box-shadow: 0 0 0 3px rgba(33,230,255,0.08);
}

.blog-comment-tools,
.blog-comment-actions,
.blog-gif-search {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.blog-comment-tools {
  justify-content: space-between;
}

.blog-comment-tools button,
.blog-gif-search button,
.blog-comment-actions button,
.blog-reply-form button {
  min-height: 38px;
  padding: 0 14px;
}

.blog-comment-tools button:last-child {
  border-color: rgba(255,32,121,0.65);
  background: rgba(255,32,121,0.18);
  color: var(--blog-paper);
  font-weight: 760;
}

.blog-gif-panel {
  display: grid;
  gap: 10px;
  padding: 12px;
}

.blog-gif-panel[hidden],
.blog-selected-gif[hidden] {
  display: none;
}

.blog-gif-panel p {
  margin: 0;
  color: var(--blog-dim);
  font-size: 0.88rem;
}

.blog-gif-results {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.blog-gif-results button,
.blog-selected-gif {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  background: rgba(0,0,0,0.42);
}

.blog-gif-results button {
  padding: 0;
  cursor: pointer;
}

.blog-gif-results img,
.blog-selected-gif img,
.blog-comment-gif img {
  display: block;
  width: 100%;
  object-fit: cover;
}

.blog-gif-results img {
  aspect-ratio: 1.45 / 1;
}

.blog-selected-gif {
  position: relative;
  width: min(280px, 100%);
}

.blog-selected-gif img {
  aspect-ratio: 1.5 / 1;
}

.blog-selected-gif button {
  position: absolute;
  top: 8px;
  right: 8px;
  min-height: 30px;
  border: 0;
  border-radius: 999px;
  background: rgba(0,0,0,0.72);
  color: var(--blog-paper);
  cursor: pointer;
}

.blog-comment-thread {
  display: grid;
  gap: 10px;
}

.blog-comment {
  padding: 14px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.blog-comment:hover {
  transform: translateY(-2px);
  border-color: rgba(33,230,255,0.28);
  background:
    linear-gradient(135deg, rgba(255,32,121,0.11), transparent 42%),
    rgba(255,255,255,0.046);
}

.blog-comment.is-reply {
  margin-left: 22px;
  background: rgba(33,230,255,0.05);
}

.blog-comment-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 7px;
}

.blog-comment-meta strong {
  color: var(--blog-cyan);
}

.blog-comment-meta span {
  color: var(--blog-dim);
  font-size: 0.82rem;
}

.blog-comment p {
  margin: 0;
  color: var(--blog-paper);
  line-height: 1.58;
}

.blog-comment-gif {
  width: min(330px, 100%);
  overflow: hidden;
  margin-top: 10px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  background: #000;
}

.blog-comment-gif img {
  aspect-ratio: 1.55 / 1;
}

.blog-comment-actions {
  margin-top: 12px;
}

.blog-comment-actions button.is-liked {
  border-color: rgba(255,32,121,0.68);
  color: var(--blog-paper);
  background: rgba(255,32,121,0.16);
}

.blog-replies {
  display: grid;
  gap: 8px;
  margin-top: 10px;
  padding-left: 12px;
  border-left: 1px solid rgba(255,32,121,0.26);
}

.blog-reply-form {
  display: grid;
  grid-template-columns: minmax(92px, 0.28fr) minmax(0, 1fr) auto;
  gap: 8px;
  margin-top: 10px;
}

.blog-empty-comments {
  padding: 18px;
  border: 1px dashed rgba(255,255,255,0.16);
  border-radius: 12px;
  color: var(--blog-dim);
  text-align: center;
}

.blog-newsletter {
  position: relative;
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto 112px;
  padding: 88px 32px;
  overflow: hidden;
  text-align: center;
  background: linear-gradient(135deg, rgba(255,32,121,0.14), rgba(123,47,247,0.14));
}

.blog-newsletter::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.55;
  background:
    radial-gradient(circle at 20% 20%, rgba(33,230,255,0.15), transparent 45%),
    radial-gradient(circle at 80% 80%, rgba(255,122,61,0.18), transparent 45%);
}

.blog-newsletter > * {
  position: relative;
}

.blog-newsletter h2 {
  max-width: 720px;
  margin: 14px auto 0;
  color: var(--blog-paper);
  font-family: "Anton", sans-serif;
  font-size: clamp(2.1rem, 4.5vw, 4.6rem);
  font-weight: 400;
  line-height: 0.98;
  text-transform: uppercase;
}

.blog-update-form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}

.blog-update-form input {
  min-width: min(310px, 100%);
  padding: 14px 18px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 4px;
  outline: none;
  background: rgba(0,0,0,0.35);
  color: var(--blog-paper);
  font-family: "Space Grotesk", sans-serif;
}

.blog-update-form input:focus {
  border-color: var(--blog-cyan);
  box-shadow: 0 0 16px rgba(33,230,255,0.4);
}

.blog-update-form button {
  padding: 14px 28px;
  border: 0;
  border-radius: 4px;
  background: var(--blog-paper);
  color: #050009;
  cursor: pointer;
  font-family: "Space Mono", monospace;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transform: skewX(-6deg);
}

.blog-update-form button span {
  display: inline-block;
  transform: skewX(6deg);
}

.blog-footer {
  padding: 40px 32px 64px;
  color: var(--blog-dim);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-align: center;
}

.blog-footer a {
  color: var(--blog-cyan);
  text-decoration: none;
}

@media (max-width: 980px) {
  .blog-site-header {
    padding: 18px 22px;
  }

  .blog-nav {
    display: none;
  }

  .blog-featured .blog-container,
  .blog-post-grid,
  .blog-discussion-head {
    grid-template-columns: 1fr;
  }

  .blog-discussion-tabs {
    justify-content: flex-start;
  }

  .blog-featured {
    padding-top: 88px;
  }

  .blog-post-card {
    min-height: 360px;
  }
}

@media (max-width: 640px) {
  .blog-letterbox {
    height: 3.5vh;
  }

  .blog-site-header {
    padding: 14px 16px;
  }

  .blog-header-action {
    padding: 9px 12px;
    letter-spacing: 0.08em;
  }

  .blog-hero {
    min-height: 86vh;
  }

  .blog-glitch-title {
    font-size: clamp(2.45rem, 15vw, 4.2rem);
  }

  .blog-hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: min(300px, calc(100% - 32px));
    margin-left: auto;
    margin-right: auto;
  }

  .blog-container,
  .blog-newsletter {
    width: min(100% - 28px, 1180px);
  }

  .blog-featured-article,
  .blog-editor-note {
    padding: 26px;
  }

  .blog-post-visual {
    height: 150px;
  }

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

  .blog-reply-form {
    grid-template-columns: 1fr;
  }

  .blog-comment.is-reply {
    margin-left: 10px;
  }
}

.devlog-browser {
  position: relative;
  display: block;
  min-height: min(760px, calc(100vh - 180px));
  padding-left: min(360px, 24vw);
  isolation: isolate;
}

.devlog-directory,
.devlog-reader {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)),
    rgba(0, 0, 0, 0.8);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.22);
}

.devlog-directory {
  position: sticky;
  top: 86px;
  z-index: 10;
  float: left;
  width: min(330px, 22vw);
  max-height: calc(100vh - 112px);
  margin-left: calc(-1 * min(360px, 24vw));
  overflow: visible;
  transition: border-color 180ms ease, background 180ms ease;
}

.directory-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row;
  gap: 12px;
  width: 100%;
  min-height: 54px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line-soft);
  opacity: 0.95;
  transition: opacity 220ms ease, transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

.directory-head span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.directory-head strong {
  color: var(--soft);
  font-size: 0.78rem;
}

.devlog-list {
  display: grid;
  gap: 1px;
  width: 100%;
  max-height: calc(100vh - 184px);
  overflow-y: auto;
  padding: 8px 0;
  scrollbar-width: none;
}

.devlog-list::-webkit-scrollbar,
.devlog-reader::-webkit-scrollbar {
  display: none;
}

.devlog-entry {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  width: calc(100% - 12px);
  min-height: 30px;
  margin: 0 6px;
  padding: 5px 7px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  opacity: 0;
  transform: translateX(0);
  animation: directoryIn 420ms ease forwards;
  animation-delay: calc(var(--i, 0) * 28ms);
  box-shadow: none;
  transition: background 150ms ease, border-color 150ms ease, transform 230ms cubic-bezier(0.22, 1, 0.36, 1), opacity 150ms ease;
}

.devlog-entry:hover,
.devlog-entry:focus-visible {
  outline: none;
  z-index: 4;
  transform: translateX(8px);
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.11);
}

.devlog-entry.is-active {
  z-index: 3;
  border-color: rgba(130, 165, 255, 0.22);
  background: rgba(130, 165, 255, 0.11);
  box-shadow: none;
}

.devlog-entry.is-active:hover,
.devlog-entry.is-active:focus-visible {
  transform: translateX(0);
}

.entry-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.04);
}

.devlog-entry.is-active .entry-dot {
  border-color: rgba(157, 182, 255, 0.84);
  background: #9db6ff;
  box-shadow: 0 0 12px rgba(130, 165, 255, 0.56);
}

.entry-copy {
  min-width: 0;
}

.devlog-entry strong {
  display: block;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.2;
}

.devlog-entry small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.62rem;
  line-height: 1.2;
}

.devlog-entry time {
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.62rem;
  white-space: nowrap;
}

.devlog-reader {
  position: relative;
  min-height: min(760px, calc(100vh - 180px));
  max-height: none;
  overflow: hidden;
  width: 100%;
  margin-left: 0;
  transform-origin: 14% 8%;
}

.devlog-empty-state {
  display: grid;
  align-content: center;
  min-height: min(760px, calc(100vh - 180px));
  padding: clamp(24px, 4vw, 42px);
  color: var(--muted);
  animation: documentOpen 460ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.devlog-empty-state[hidden] {
  display: none;
}

.devlog-empty-state span {
  margin-bottom: 14px;
  color: #9db6ff;
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.devlog-empty-state strong {
  max-width: min(720px, 72vw);
  color: var(--text);
  font-size: clamp(2rem, 4.2vw, 4.15rem);
  line-height: 1.02;
}

.devlog-empty-state p {
  max-width: 560px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.devlog-panel {
  display: none;
  min-height: min(760px, calc(100vh - 180px));
  padding: 36px 42px;
}

.devlog-panel.is-open {
  display: block;
  animation: documentOpen 460ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.doc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.82rem;
}

.devlog-panel h2 {
  margin: 0;
  max-width: 850px;
  color: var(--text);
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.doc-subtitle,
.doc-summary {
  max-width: 820px;
  margin: 16px 0 0;
  color: var(--soft);
  font-size: 1.05rem;
  line-height: 1.72;
}

.doc-summary {
  color: var(--muted);
}

.doc-real-media {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: 16px;
  margin-top: 28px;
}

.real-video-demo {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: #000;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

.real-video-demo video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

.real-video-demo figcaption {
  display: grid;
  gap: 5px;
  padding: 13px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  background:
    linear-gradient(90deg, rgba(130, 165, 255, 0.11), rgba(151, 102, 255, 0.07)),
    rgba(255, 255, 255, 0.025);
}

.real-video-demo figcaption strong {
  color: var(--text);
  font-size: 0.95rem;
}

.real-video-demo figcaption span {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.55;
}

.real-frame-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 1px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.08);
}

.real-frame-strip img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #000;
  filter: saturate(0.9) contrast(1.05);
}

.real-music-notes {
  display: grid;
  gap: 10px;
}

.real-music-notes div {
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(130, 165, 255, 0.08), transparent 48%),
    rgba(255, 255, 255, 0.03);
}

.real-music-notes span {
  display: block;
  margin-bottom: 7px;
  color: #9db6ff;
  font-size: 0.68rem;
  font-weight: 850;
  text-transform: uppercase;
}

.real-music-notes strong {
  display: block;
  color: var(--text);
  font-size: 1rem;
}

.real-music-notes p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.article-real-media {
  margin: 26px 0 32px;
}

.doc-screenshot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.doc-screenshot {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(130, 165, 255, 0.07), transparent 38%),
    rgba(255, 255, 255, 0.025);
  box-shadow: 0 22px 64px rgba(0, 0, 0, 0.28);
}

.doc-screenshot img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #000;
}

.doc-screenshot figcaption {
  display: grid;
  gap: 5px;
  padding: 12px 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.doc-screenshot figcaption strong {
  color: var(--text);
  font-size: 0.94rem;
}

.doc-screenshot figcaption span {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

.doc-section {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
}

.doc-section h3 {
  margin: 0 0 14px;
  color: #9db6ff;
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.doc-section p {
  max-width: 880px;
  margin: 0 0 14px;
  color: var(--soft);
  font-size: 0.99rem;
  line-height: 1.78;
}

.doc-checklist,
.doc-flow {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.doc-checklist li,
.doc-flow li {
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.doc-checklist li {
  padding: 12px 14px;
  color: var(--soft);
  line-height: 1.55;
}

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

.doc-flow li {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 11px;
}

.doc-flow span {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #050608;
  background: #cfd9ff;
  font-size: 0.72rem;
  font-weight: 850;
}

.doc-flow strong {
  color: var(--soft);
  font-size: 0.92rem;
  line-height: 1.38;
}

.doc-code-stack {
  display: grid;
  gap: 14px;
}

.doc-code-stack .code-card pre {
  max-height: 420px;
}

.doc-open-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  margin-top: 24px;
  padding: 0 15px;
  border: 1px solid rgba(130, 165, 255, 0.42);
  border-radius: 999px;
  color: var(--text);
  text-decoration: none;
  background: rgba(130, 165, 255, 0.09);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.doc-open-link:hover {
  transform: translateY(-2px);
  border-color: rgba(168, 132, 255, 0.48);
  background: rgba(168, 132, 255, 0.12);
}

.line-fade {
  opacity: 0;
  transform: translateY(12px);
}

.devlog-panel.is-open .line-fade {
  animation: lineFadeIn 440ms ease forwards;
  animation-delay: calc(var(--line, 1) * 42ms);
}

.nowbar-doc-demo {
  overflow: hidden;
  border: 1px solid rgba(130, 165, 255, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(130, 165, 255, 0.09), transparent 38%),
    linear-gradient(315deg, rgba(151, 102, 255, 0.07), transparent 42%),
    rgba(0, 0, 0, 0.28);
}

.nowbar-doc-stage {
  position: relative;
  min-height: 360px;
  padding: 24px;
}

.nowbar-doc-shell {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  width: min(340px, 100%);
  min-height: 54px;
  margin: 0 auto;
  padding: 10px 13px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(8, 8, 10, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.34);
  transition: width 360ms cubic-bezier(0.22, 1, 0.36, 1), border-radius 260ms ease, transform 260ms ease;
}

.nowbar-doc-demo.is-awake .nowbar-doc-shell {
  width: min(760px, 100%);
  border-radius: 24px;
}

.nowbar-doc-demo.is-call .nowbar-doc-shell {
  transform: translateY(-6px) scale(0.98);
}

.nowbar-doc-orb {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #cfd9ff;
  box-shadow: 0 0 18px rgba(130, 165, 255, 0.72);
}

.nowbar-doc-shell strong,
.nowbar-doc-shell span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nowbar-doc-shell strong {
  color: var(--text);
  font-size: 0.95rem;
}

.nowbar-doc-shell span {
  color: var(--muted);
  font-size: 0.78rem;
}

.nowbar-doc-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nowbar-doc-actions button {
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.075);
  color: var(--text);
  font: inherit;
  font-size: 0.76rem;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}

.nowbar-doc-actions button:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.14);
}

.nowbar-doc-actions button.is-active {
  border-color: rgba(130, 165, 255, 0.46);
  background: rgba(130, 165, 255, 0.16);
}

.nowbar-doc-panel {
  width: min(760px, 100%);
  margin: 10px auto 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 24px;
  background: #000;
  opacity: 0;
  transform: translateY(-10px) scale(0.985);
  transition: opacity 240ms ease, transform 240ms ease;
}

.nowbar-doc-demo.is-awake .nowbar-doc-panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.nowbar-doc-demo.is-call .nowbar-doc-panel {
  opacity: 0.2;
  transform: translateY(-10px) scale(0.96);
}

.nowbar-doc-tabs {
  display: flex;
  gap: 8px;
  padding: 12px 12px 0;
}

.nowbar-doc-tabs span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.065);
  font-size: 0.78rem;
}

.nowbar-doc-tabs span.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.16);
}

.nowbar-doc-content {
  display: grid;
  gap: 8px;
  padding: 12px;
}

.nowbar-doc-content p {
  display: grid;
  gap: 4px;
  max-width: none;
  margin: 0;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  opacity: 0;
  transform: translateY(8px);
}

.nowbar-doc-demo.is-awake .nowbar-doc-content p {
  animation: lineFadeIn 360ms ease forwards;
}

.nowbar-doc-demo.is-awake .nowbar-doc-content p:nth-child(1) {
  animation-delay: 80ms;
}

.nowbar-doc-demo.is-awake .nowbar-doc-content p:nth-child(2) {
  animation-delay: 150ms;
}

.nowbar-doc-demo.is-awake .nowbar-doc-content p:nth-child(3) {
  animation-delay: 220ms;
}

.nowbar-doc-content strong {
  color: var(--text);
  font-size: 0.9rem;
}

.nowbar-doc-content span {
  color: var(--muted);
  font-size: 0.84rem;
}

.nowbar-doc-call {
  position: absolute;
  right: 26px;
  bottom: 24px;
  width: 220px;
  min-height: 132px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.82);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.44);
  opacity: 0;
  transform: translate(18px, 16px) scale(0.94);
  transition: opacity 260ms ease, transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.nowbar-doc-demo.is-call .nowbar-doc-call {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

.nowbar-doc-call span {
  display: block;
  height: 66px;
  margin-bottom: 12px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(130, 165, 255, 0.2), rgba(151, 102, 255, 0.14)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.025));
  animation: nowbarVideoPulse 2.6s ease-in-out infinite;
}

.nowbar-doc-call strong,
.nowbar-doc-call small {
  display: block;
}

.nowbar-doc-call strong {
  color: var(--text);
  font-size: 0.96rem;
}

.nowbar-doc-call small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.76rem;
}

.nowbar-animation-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  padding: 0 24px 24px;
}

.nowbar-animation-card {
  min-height: 154px;
  padding: 12px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  overflow: hidden;
}

.nowbar-animation-card strong {
  display: block;
  margin-top: 12px;
  color: var(--soft);
  font-size: 0.88rem;
  line-height: 1.35;
}

.anim-label {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 850;
  text-transform: uppercase;
}

.anim-chat-thread,
.anim-note-stack,
.anim-bars,
.anim-upload,
.anim-call-frame {
  position: relative;
  height: 72px;
  border-radius: 8px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    rgba(0, 0, 0, 0.26);
  background-size: 14px 14px, 14px 14px, auto;
}

.anim-chat-thread i {
  position: absolute;
  height: 16px;
  border-radius: 999px;
  background: rgba(130, 165, 255, 0.82);
  animation: chatBubbleLoop 2.2s ease-in-out infinite;
}

.anim-chat-thread i:nth-child(1) {
  left: 10px;
  top: 11px;
  width: 56px;
  background: rgba(255, 255, 255, 0.14);
}

.anim-chat-thread i:nth-child(2) {
  right: 10px;
  top: 31px;
  width: 68px;
  animation-delay: 0.24s;
}

.anim-chat-thread i:nth-child(3) {
  right: 10px;
  top: 52px;
  width: 42px;
  animation-delay: 0.48s;
}

.anim-note-stack i {
  position: absolute;
  left: 14px;
  right: 14px;
  height: 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  animation: notePopLoop 2.4s ease-in-out infinite;
}

.anim-note-stack i:nth-child(1) {
  top: 12px;
}

.anim-note-stack i:nth-child(2) {
  top: 30px;
  left: 24px;
  animation-delay: 0.18s;
}

.anim-note-stack i:nth-child(3) {
  top: 48px;
  left: 34px;
  background: rgba(151, 102, 255, 0.46);
  animation-delay: 0.36s;
}

.anim-bars {
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 5px;
  padding: 13px;
}

.anim-bars i {
  width: 7px;
  height: 20px;
  border-radius: 999px;
  background: #9db6ff;
  animation: musicBarLoop 900ms ease-in-out infinite;
}

.anim-bars i:nth-child(2) {
  animation-delay: 80ms;
}

.anim-bars i:nth-child(3) {
  animation-delay: 160ms;
}

.anim-bars i:nth-child(4) {
  animation-delay: 240ms;
}

.anim-bars i:nth-child(5) {
  animation-delay: 320ms;
}

.anim-bars i:nth-child(6) {
  animation-delay: 400ms;
}

.anim-upload i {
  position: absolute;
  left: 16px;
  top: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.13);
  border-top-color: #cfd9ff;
  animation: uploadSpinLoop 1s linear infinite;
}

.anim-upload span {
  position: absolute;
  left: 68px;
  right: 14px;
  top: 31px;
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
}

.anim-upload span::before {
  content: "";
  display: block;
  height: 100%;
  width: 74%;
  border-radius: inherit;
  background: linear-gradient(90deg, #9db6ff, #a884ff);
  animation: uploadProgressLoop 2.6s ease-in-out infinite;
}

.anim-call-frame i {
  position: absolute;
  border-radius: 8px;
  background: rgba(130, 165, 255, 0.18);
  border: 1px solid rgba(130, 165, 255, 0.3);
  animation: callFloatLoop 2.2s ease-in-out infinite;
}

.anim-call-frame i:nth-child(1) {
  inset: 12px 34px 18px 12px;
}

.anim-call-frame i:nth-child(2) {
  right: 12px;
  bottom: 12px;
  width: 42px;
  height: 28px;
  background: rgba(151, 102, 255, 0.2);
  animation-delay: 0.26s;
}

.open-link {
  margin-top: 20px;
  color: var(--cyan);
  font-weight: 800;
}

.post-shell {
  display: grid;
  grid-template-columns: minmax(0, 760px) 280px;
  gap: 34px;
  align-items: start;
}

.article {
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.024)),
    var(--panel);
  backdrop-filter: blur(22px);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.28);
}

.article h1 {
  font-size: 4.8rem;
  line-height: 0.96;
}

.article .subtitle {
  margin: 22px 0 0;
  color: var(--soft);
  font-size: 1.14rem;
  line-height: 1.66;
}

.article-share {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.article-share button,
.article-share a {
  appearance: none;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
}

.article-share button:hover,
.article-share button:focus-visible,
.article-share a:hover,
.article-share a:focus-visible {
  outline: none;
  border-color: rgba(141, 223, 255, 0.44);
  background: rgba(141, 223, 255, 0.1);
}

.article-body {
  display: grid;
  gap: 20px;
  margin-top: 34px;
}

.article-body p {
  margin: 0;
  color: #c7d0dc;
  font-size: 1.04rem;
  line-height: 1.86;
}

.bullet-list {
  display: grid;
  gap: 10px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.bullet-list li {
  position: relative;
  padding: 13px 14px 13px 38px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  color: var(--soft);
  background: rgba(255, 255, 255, 0.035);
  transition: transform 180ms ease, background 180ms ease;
}

.bullet-list li::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 21px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 18px rgba(40, 223, 153, 0.55);
}

.bullet-list li:hover {
  transform: translateX(4px);
  background: rgba(255, 255, 255, 0.055);
}

.side-panel {
  position: sticky;
  top: 24px;
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-strong);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.3);
}

.side-logo {
  width: 72px;
  height: 72px;
  overflow: hidden;
  border-radius: 50%;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.36);
}

.side-panel a {
  color: var(--cyan);
  text-decoration: none;
  transition: color 160ms ease, transform 160ms ease;
}

.side-panel a:hover {
  color: var(--green);
  transform: translateX(3px);
}

.side-label {
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.comments {
  display: grid;
  gap: 12px;
  margin-top: 38px;
  padding-top: 28px;
  border-top: 1px solid var(--line-soft);
}

.comments-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.comments-head h2 {
  margin: 0;
  font-size: 2.25rem;
  line-height: 1;
  letter-spacing: 0;
}

.comments-head span,
.no-comments {
  color: var(--muted);
  font-size: 0.92rem;
}

.mini {
  margin-bottom: 8px;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
}

.comment-form,
.reply-form {
  display: grid;
  gap: 10px;
}

.comment-form {
  margin: 6px 0 10px;
  padding: 14px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.comment-form input,
.comment-form textarea,
.reply-form input {
  width: 100%;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(5, 6, 8, 0.62);
  color: var(--text);
  font: inherit;
  outline: none;
}

.comment-form input,
.reply-form input {
  min-height: 42px;
  padding: 0 12px;
}

.comment-form textarea {
  resize: vertical;
  min-height: 92px;
  padding: 12px;
  line-height: 1.55;
}

.comment-form input:focus,
.comment-form textarea:focus,
.reply-form input:focus {
  border-color: rgba(24, 203, 234, 0.48);
  box-shadow: 0 0 0 3px rgba(24, 203, 234, 0.08);
}

.comment-form button,
.reply-form button {
  justify-self: start;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(24, 203, 234, 0.42);
  border-radius: 999px;
  background: rgba(24, 203, 234, 0.13);
  color: var(--text);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 170ms ease, background 170ms ease;
}

.comment-form button:hover,
.reply-form button:hover {
  transform: translateY(-2px) scale(1.03);
  background: rgba(24, 203, 234, 0.22);
}

.reply-form {
  grid-template-columns: minmax(94px, 0.34fr) minmax(0, 1fr) auto;
  margin-top: 12px;
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px !important;
  height: 1px !important;
  opacity: 0;
  pointer-events: none;
}

.comment {
  padding: 14px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.comment:hover {
  transform: translateY(-2px);
  border-color: rgba(24, 203, 234, 0.24);
  background: rgba(255, 255, 255, 0.052);
}

.comment-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.comment-meta strong {
  color: var(--green);
}

.comment-meta span {
  color: var(--muted);
  font-size: 0.8rem;
}

.comment p {
  margin: 0;
  color: var(--soft);
  line-height: 1.6;
}

.replies {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  padding-left: 14px;
  border-left: 1px solid rgba(24, 203, 234, 0.28);
}

.comment.reply {
  background: rgba(24, 203, 234, 0.055);
}

.empty {
  padding: 38px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
}

.priyn-info-page {
  min-height: 100vh;
  color: #f8fafc;
  background:
    radial-gradient(circle at 50% 0%, rgba(70, 125, 255, 0.2), transparent 32rem),
    radial-gradient(circle at 86% 22%, rgba(149, 87, 255, 0.14), transparent 28rem),
    #000;
}

.info-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 72px;
}

.info-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(56px, 9vh, 112px);
}

.info-brand,
.info-nav,
.info-actions {
  display: flex;
  align-items: center;
}

.info-brand {
  gap: 12px;
  color: #fff;
  text-decoration: none;
  font-weight: 850;
}

.info-brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  border-radius: 10px;
}

.info-nav,
.info-actions {
  gap: 8px;
  flex-wrap: wrap;
}

.info-nav a,
.info-actions a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.045);
  border-radius: 999px;
}

.info-nav a {
  padding: 9px 13px;
  font-size: 0.9rem;
}

.info-nav a:hover,
.info-nav a.is-active,
.info-actions a:hover {
  color: #fff;
  border-color: rgba(118, 164, 255, 0.42);
  background: rgba(72, 126, 255, 0.14);
}

.info-hero {
  max-width: 900px;
  margin-bottom: 42px;
}

.info-hero p {
  margin: 0 0 12px;
  color: #9db6ff;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.info-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.info-hero > span {
  display: block;
  max-width: 720px;
  margin-top: 20px;
  color: rgba(226, 232, 240, 0.74);
  font-size: clamp(1.02rem, 1.7vw, 1.32rem);
  line-height: 1.7;
}

.info-actions {
  margin-top: 28px;
}

.info-actions a {
  padding: 12px 16px;
  font-weight: 750;
}

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

.info-card {
  min-height: 250px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)),
    rgba(9, 11, 18, 0.78);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
  opacity: 0;
  transform: translateY(14px);
  animation: infoCardIn 520ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(var(--i, 0) * 70ms);
}

.info-card > span {
  color: #8eb0ff;
  font-size: 0.78rem;
  font-weight: 900;
}

.info-card h2 {
  margin: 14px 0 10px;
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
  line-height: 1.05;
}

.info-card p,
.info-card li {
  color: rgba(226, 232, 240, 0.72);
  line-height: 1.65;
}

.info-card ul {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.info-card li::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 10px;
  border-radius: 50%;
  background: #76a4ff;
  box-shadow: 0 0 16px rgba(72, 126, 255, 0.72);
}

@keyframes infoCardIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dev-visuals {
  position: relative;
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 16px;
  margin-top: 34px;
  overflow: hidden;
  padding: 16px;
  border: 1px solid rgba(24, 203, 234, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(24, 203, 234, 0.11), transparent 42%),
    linear-gradient(315deg, rgba(255, 79, 123, 0.09), transparent 46%),
    rgba(255, 255, 255, 0.035);
}

.dev-orbit {
  position: relative;
  min-height: 160px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 50%, rgba(24, 203, 234, 0.34), rgba(40, 223, 153, 0.14) 38%, rgba(255, 255, 255, 0.04) 62%, rgba(0, 0, 0, 0.2)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent);
}

.dev-orbit::before {
  content: "</>";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--text);
  font-weight: 850;
  font-size: 2.4rem;
  text-shadow: 0 0 28px rgba(24, 203, 234, 0.72);
  animation: codePulse 2.8s ease-in-out infinite;
}

.dev-orbit span {
  position: absolute;
  inset: 28px;
  border: 1px solid rgba(24, 203, 234, 0.34);
  border-radius: 50%;
  animation: orbitSpin 8s linear infinite;
}

.dev-orbit span:nth-child(2) {
  inset: 44px 18px;
  border-color: rgba(40, 223, 153, 0.32);
  animation-duration: 6s;
  animation-direction: reverse;
}

.dev-orbit span:nth-child(3) {
  inset: 18px 48px;
  border-color: rgba(255, 79, 123, 0.28);
  animation-duration: 10s;
}

.dev-visual-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.dev-metric {
  min-height: 78px;
  padding: 13px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.18);
  transition: transform 190ms ease, border-color 190ms ease, background 190ms ease;
}

.dev-metric:hover {
  transform: translateY(-4px) scale(1.025);
  background: rgba(255, 255, 255, 0.06);
}

.dev-metric span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.dev-metric strong {
  display: block;
  color: var(--text);
  font-size: 1.12rem;
  line-height: 1.18;
}

.tone-cyan {
  border-color: rgba(24, 203, 234, 0.26);
  box-shadow: inset 0 0 24px rgba(24, 203, 234, 0.055);
}

.tone-green {
  border-color: rgba(40, 223, 153, 0.24);
  box-shadow: inset 0 0 24px rgba(40, 223, 153, 0.05);
}

.tone-rose {
  border-color: rgba(255, 79, 123, 0.24);
  box-shadow: inset 0 0 24px rgba(255, 79, 123, 0.05);
}

.tone-amber {
  border-color: rgba(242, 194, 107, 0.28);
  box-shadow: inset 0 0 24px rgba(242, 194, 107, 0.05);
}

.code-stack {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.motion-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.logic-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
  padding: 14px;
  border: 1px solid rgba(40, 223, 153, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(40, 223, 153, 0.08), transparent 38%, rgba(24, 203, 234, 0.08)),
    rgba(255, 255, 255, 0.028);
}

.logic-flow::before {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, rgba(24, 203, 234, 0.08), rgba(40, 223, 153, 0.48), rgba(255, 79, 123, 0.12));
  transform: translateY(-50%);
}

.flow-step {
  position: relative;
  min-height: 104px;
  padding: 12px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.34);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
  animation: flowBreathe 3.2s ease-in-out infinite;
  animation-delay: calc(var(--step, 1) * 120ms);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.flow-step:hover {
  transform: translateY(-5px) scale(1.03);
  border-color: rgba(40, 223, 153, 0.34);
  background: rgba(255, 255, 255, 0.055);
}

.flow-step span {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-bottom: 12px;
  border-radius: 50%;
  color: #061014;
  background: var(--green);
  font-size: 0.74rem;
  font-weight: 850;
  box-shadow: 0 0 22px rgba(40, 223, 153, 0.45);
}

.flow-step strong {
  display: block;
  color: var(--soft);
  font-size: 0.94rem;
  line-height: 1.35;
}

.motion-card {
  overflow: hidden;
  padding: 12px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)),
    rgba(0, 0, 0, 0.24);
  transition: transform 190ms ease, border-color 190ms ease, background 190ms ease;
}

.motion-card:hover {
  transform: translateY(-5px) scale(1.025);
  border-color: rgba(24, 203, 234, 0.36);
  background:
    linear-gradient(150deg, rgba(24, 203, 234, 0.12), rgba(255, 255, 255, 0.03)),
    rgba(0, 0, 0, 0.24);
}

.motion-stage {
  position: relative;
  height: 98px;
  margin-bottom: 11px;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, rgba(24, 203, 234, 0.13), rgba(0, 0, 0, 0.16));
  background-size: 18px 18px, 18px 18px, auto;
}

.motion-card strong {
  display: block;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.2;
}

.motion-card p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.motion-stage span {
  position: absolute;
  display: block;
}

.motion-stage .dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 22px rgba(24, 203, 234, 0.6);
}

.motion-stage .one {
  left: 18px;
  top: 18px;
}

.motion-stage .two {
  left: 48%;
  top: 42px;
  background: var(--green);
  box-shadow: 0 0 22px rgba(40, 223, 153, 0.55);
}

.motion-stage .three {
  right: 18px;
  bottom: 18px;
  background: var(--rose);
  box-shadow: 0 0 22px rgba(255, 79, 123, 0.55);
}

.motion-stage .panel-a,
.motion-stage .panel-b {
  width: 54px;
  height: 34px;
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
}

.motion-stage .panel-a {
  left: 24px;
  bottom: 18px;
}

.motion-stage .panel-b {
  right: 24px;
  top: 18px;
}

.motion-fade .panel-a {
  animation: fadePop 1.9s ease-in-out infinite;
}

.motion-fade .panel-b {
  animation: fadePop 1.9s ease-in-out 0.42s infinite;
}

.motion-resize .panel-a {
  animation: resizeSnap 1.8s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

.motion-resize .panel-b {
  animation: resizeSnap 1.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.32s infinite reverse;
}

.motion-buffer .dot {
  animation: bufferDot 1.2s ease-in-out infinite;
}

.motion-buffer .two {
  animation-delay: 0.16s;
}

.motion-buffer .three {
  animation-delay: 0.32s;
}

.motion-signal .dot {
  animation: signalSweep 2.4s ease-in-out infinite;
}

.motion-snap .panel-a {
  animation: snapSlide 2s cubic-bezier(0.34, 1.56, 0.64, 1) infinite;
}

.motion-snap .panel-b {
  animation: snapSlide 2s cubic-bezier(0.34, 1.56, 0.64, 1) 0.45s infinite reverse;
}

.motion-ship .dot,
.motion-ship .panel-a,
.motion-ship .panel-b {
  animation: shipFloat 2.4s ease-in-out infinite;
}

.motion-ship .panel-b {
  animation-delay: 0.28s;
}

.code-card {
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.38);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.26);
}

.code-card figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(90deg, rgba(24, 203, 234, 0.14), rgba(255, 255, 255, 0.035));
}

.code-card figcaption span {
  color: var(--text);
  font-weight: 800;
}

.code-card figcaption small {
  color: var(--muted);
}

.code-card pre {
  margin: 0;
  padding: 15px;
  overflow-x: auto;
  color: #d7f7ff;
  font: 0.88rem/1.7 ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  scrollbar-width: none;
}

.code-card code {
  white-space: pre;
}

.reveal-item {
  opacity: 0;
  transform: translateY(22px) scale(0.985);
}

.reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: opacity 520ms ease, transform 520ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.topbar .reveal-item.is-visible {
  transition-duration: 420ms;
}

@keyframes logoFloat {
  0%, 100% {
    transform: translateX(-50%) translateY(0) scale(1);
  }
  50% {
    transform: translateX(-50%) translateY(-8px) scale(1.035);
  }
}

@keyframes logoRing {
  0%, 100% {
    opacity: 0.28;
    transform: scale(0.96);
  }
  50% {
    opacity: 0.72;
    transform: scale(1.08);
  }
}

@keyframes orbitSpin {
  from {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(180deg) scale(1.08);
  }
  to {
    transform: rotate(360deg) scale(1);
  }
}

@keyframes codePulse {
  0%, 100% {
    opacity: 0.72;
    transform: scale(0.96);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

@keyframes fadePop {
  0%, 100% {
    opacity: 0.25;
    transform: translateY(12px) scale(0.82);
  }
  45%, 60% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes resizeSnap {
  0%, 100% {
    width: 42px;
    height: 28px;
    transform: translateX(0);
  }
  50% {
    width: 96px;
    height: 44px;
    transform: translateX(12px);
  }
}

@keyframes bufferDot {
  0%, 100% {
    transform: translateY(0) scale(0.8);
    opacity: 0.45;
  }
  50% {
    transform: translateY(-16px) scale(1.16);
    opacity: 1;
  }
}

@keyframes signalSweep {
  0% {
    transform: translateX(-18px) scale(0.8);
    opacity: 0.35;
  }
  50% {
    transform: translateX(18px) scale(1.2);
    opacity: 1;
  }
  100% {
    transform: translateX(-18px) scale(0.8);
    opacity: 0.35;
  }
}

@keyframes snapSlide {
  0%, 100% {
    transform: translateX(-8px) rotate(-2deg);
  }
  45%, 55% {
    transform: translateX(34px) rotate(2deg);
  }
}

@keyframes shipFloat {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-11px) rotate(2deg);
  }
}

@keyframes flowBreathe {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

@keyframes directoryIn {
  from {
    opacity: 0;
    transform: translateX(-8px);
  }
  to {
    opacity: 0.88;
    transform: translateX(0);
  }
}

@keyframes documentOpen {
  from {
    opacity: 0;
    clip-path: inset(0 0 0 18%);
    transform: translateX(-18px) scale(0.985);
  }
  to {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transform: translateX(0) scale(1);
  }
}

@keyframes lineFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes nowbarVideoPulse {
  0%, 100% {
    opacity: 0.66;
    transform: scale(0.98);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes chatBubbleLoop {
  0%, 100% {
    opacity: 0.45;
    transform: translateY(8px) scale(0.94);
  }
  45%, 70% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes notePopLoop {
  0%, 100% {
    opacity: 0.32;
    transform: translateX(-8px) scale(0.96);
  }
  50% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes musicBarLoop {
  0%, 100% {
    height: 14px;
    opacity: 0.45;
  }
  50% {
    height: 46px;
    opacity: 1;
  }
}

@keyframes uploadSpinLoop {
  to {
    transform: rotate(360deg);
  }
}

@keyframes uploadProgressLoop {
  0% {
    width: 10%;
  }
  55% {
    width: 86%;
  }
  100% {
    width: 32%;
  }
}

@keyframes callFloatLoop {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-5px) scale(1.02);
  }
}

@media (max-width: 980px) {
  h1 {
    font-size: 4.1rem;
  }

  .article h1 {
    font-size: 3.7rem;
  }

  .devlog-browser {
    grid-template-columns: 1fr;
  }

  .devlog-directory {
    position: relative;
    top: auto;
    max-height: none;
  }

  .devlog-list {
    grid-auto-flow: column;
    grid-auto-columns: minmax(220px, 42vw);
    overflow-x: auto;
    overflow-y: hidden;
    max-height: none;
  }

  .devlog-entry {
    min-height: 108px;
  }

  .nowbar-animation-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .topbar,
  .hero,
  .post-shell {
    grid-template-columns: 1fr;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 38px;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
  }

  .post-grid {
    grid-template-columns: 1fr;
  }

  .article {
    padding: 20px;
  }

  .side-panel {
    position: static;
  }

  .comments-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .reply-form {
    grid-template-columns: 1fr;
  }

  .dev-visuals {
    grid-template-columns: 1fr;
  }

  .motion-strip {
    grid-template-columns: 1fr;
  }

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

  .devlog-panel {
    padding: 22px;
  }

  .doc-flow {
    grid-template-columns: 1fr;
  }

  .nowbar-doc-stage {
    min-height: 420px;
    padding: 16px;
  }

  .nowbar-doc-shell {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .nowbar-doc-actions {
    grid-column: 1 / -1;
    flex-wrap: wrap;
  }

  .nowbar-doc-call {
    right: 18px;
    bottom: 18px;
    width: min(220px, calc(100% - 36px));
  }

  .nowbar-animation-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0 16px 16px;
  }
}

@media (max-width: 420px) {
  .dev-visuals {
    padding: 12px;
  }

  .dev-orbit {
    min-height: 118px;
  }

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

  .dev-metric {
    min-height: 72px;
    padding: 11px;
  }

  .dev-metric strong {
    font-size: 0.98rem;
  }

  .logic-flow {
    grid-template-columns: 1fr;
  }

  .logic-flow::before {
    left: 29px;
    right: auto;
    top: 24px;
    bottom: 24px;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, rgba(24, 203, 234, 0.08), rgba(40, 223, 153, 0.48), rgba(255, 79, 123, 0.12));
    transform: none;
  }

  .devlog-list {
    grid-auto-columns: minmax(205px, 78vw);
  }

  .devlog-panel {
    padding: 17px;
  }

  .devlog-panel h2 {
    font-size: 2rem;
  }

  .doc-subtitle,
  .doc-summary,
  .doc-section p {
    font-size: 0.94rem;
  }

  .nowbar-animation-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .site-shell {
    width: min(100% - 24px, 1160px);
    padding-top: 18px;
  }

  h1 {
    font-size: 3rem;
    line-height: 0.98;
  }

  .article h1 {
    font-size: 2.7rem;
  }

  .lede,
  .article .subtitle {
    font-size: 1rem;
  }

  .hero-panel {
    min-height: 280px;
  }

  .hero-logo-wrap {
    width: 130px;
    height: 130px;
  }

  .post-card h2 {
    font-size: 1.66rem;
  }

  .devlog-browser {
    gap: 12px;
  }

  .directory-head,
  .devlog-panel {
    padding-inline: 14px;
  }

  .code-card figcaption {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .code-card pre {
    font-size: 0.78rem;
  }
}

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

  .reveal-item {
    opacity: 1;
    transform: none;
  }
}
