:root {
  --bg-deep: #050505;
  --bg-rail: #0a0a0e;
  --surface: #121216;
  --surface-elev: #18181f;
  --accent-creation: #7a5cff;
  --accent-cyan: #00f3ff;
  --accent-success: #00ff41;
  --accent-warning: #ff9d00;
  --accent-error: #ff0055;
  --text-main: #e0e0e0;
  --text-dim: #858595;
  --text-muted: #5a5a68;
  --border-soft: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(122, 92, 255, 0.34);
  --font-ui: 'Fira Code', monospace;
  --font-body: 'Roboto Mono', monospace;
  --container: 1180px;
  --section-y: clamp(3rem, 7vw, 5.5rem);
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--bg-deep);
  --nr-scrollbar-track: #08080c;
  --nr-scrollbar-thumb: rgba(122, 92, 255, 0.58);
  --nr-scrollbar-thumb-hover: rgba(0, 243, 255, 0.72);
  scrollbar-color: var(--nr-scrollbar-thumb) var(--nr-scrollbar-track);
  scrollbar-width: thin;
}

html[data-theme="light"] {
  --nr-scrollbar-track: #eef1f7;
  --nr-scrollbar-thumb: rgba(122, 92, 255, 0.46);
  --nr-scrollbar-thumb-hover: rgba(0, 144, 168, 0.64);
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--nr-scrollbar-track);
}

::-webkit-scrollbar-thumb {
  background: var(--nr-scrollbar-thumb);
  border: 2px solid var(--nr-scrollbar-track);
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--nr-scrollbar-thumb-hover);
}

html:has(body.nr-site) {
  min-height: 100%;
  overflow-x: clip;
}

body.nr-site {
  min-height: 100vh;
  margin: 0;
  overflow-x: clip;
  background:
    linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    radial-gradient(circle at 50% 0%, rgba(122, 92, 255, 0.1), transparent 36%),
    linear-gradient(135deg, var(--bg-deep), var(--bg-rail));
  background-size: 44px 44px, 44px 44px, auto, auto;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
}

body.nr-site::before,
body.nr-site::after,
.nr-aurora-third {
  position: fixed;
  inset: -20%;
  z-index: -1;
  pointer-events: none;
  content: "";
  filter: blur(32px);
  /* translateZ + hidden backface keep these heavy blurred fixed layers on
     their own compositor layer so fast scrolling can't drop the content layer
     (the "text vanishes, aurora blinks" repaint bug). */
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform;
}

body.nr-site::before {
  background:
    radial-gradient(circle at 18% 40%, rgba(122, 92, 255, 0.24), transparent 28%),
    radial-gradient(circle at 78% 16%, rgba(0, 243, 255, 0.12), transparent 26%);
  animation: nr-site-drift-a 44s ease-in-out infinite alternate;
}

body.nr-site::after {
  background:
    radial-gradient(circle at 74% 78%, rgba(122, 92, 255, 0.14), transparent 30%),
    radial-gradient(circle at 18% 88%, rgba(0, 243, 255, 0.08), transparent 25%);
  animation: nr-site-drift-b 52s ease-in-out infinite alternate;
}

.nr-aurora-third {
  background: radial-gradient(circle at 50% 54%, rgba(0, 255, 65, 0.06), transparent 32%);
  animation: nr-site-breathe 60s ease-in-out infinite;
}

html[data-theme="light"] body.nr-site {
  --bg-deep: #eef1f7;
  --bg-rail: #ffffff;
  --surface: #ffffff;
  --surface-elev: #f6f8fc;
  --text-main: #14141c;
  --text-dim: #555a66;
  --text-muted: #747a86;
  --border-soft: rgba(20, 20, 28, 0.11);
  background:
    linear-gradient(rgba(20, 20, 28, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 20, 28, 0.02) 1px, transparent 1px),
    radial-gradient(circle at 50% 0%, rgba(90, 120, 255, 0.08), transparent 36%),
    linear-gradient(135deg, var(--bg-deep), var(--bg-rail));
  background-size: 44px 44px, 44px 44px, auto, auto;
}

html[data-theme="light"] body.nr-site::before {
  background:
    radial-gradient(circle at 18% 40%, rgba(122, 92, 255, 0.11), transparent 28%),
    radial-gradient(circle at 78% 16%, rgba(0, 144, 168, 0.1), transparent 26%);
}

html[data-theme="light"] body.nr-site::after {
  background:
    radial-gradient(circle at 74% 78%, rgba(122, 92, 255, 0.08), transparent 30%),
    radial-gradient(circle at 18% 88%, rgba(0, 144, 168, 0.06), transparent 25%);
}

html[data-theme="light"] .nr-aurora-third {
  background: radial-gradient(circle at 50% 54%, rgba(10, 143, 67, 0.05), transparent 32%);
}

@keyframes nr-site-drift-a {
  from { transform: translate3d(-2%, -1%, 0) scale(1); opacity: 0.9; }
  to { transform: translate3d(3%, 2%, 0) scale(1.06); opacity: 1; }
}

@keyframes nr-site-drift-b {
  from { transform: translate3d(2%, 1%, 0) scale(1.03); opacity: 0.78; }
  to { transform: translate3d(-3%, -2%, 0) scale(1); opacity: 0.95; }
}

@keyframes nr-site-breathe {
  0%, 100% { transform: scale(0.96); opacity: 0.5; }
  50% { transform: scale(1.08); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}

a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 3px;
}

.nr-skip {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 1000;
  padding: 0.6rem 1rem;
  background: var(--accent-cyan);
  color: #050505;
  font-family: var(--font-ui);
}
.nr-skip:focus { left: 1rem; top: 1rem; }

.nr-container {
  width: min(var(--container), 100%);
  margin: 0 auto;
  padding: 0 1.25rem;
  min-width: 0;
}
@media (min-width: 768px) { .nr-container { padding: 0 2.5rem; } }

.nr-topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border-soft);
  background: rgba(5, 5, 5, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

html[data-theme="light"] .nr-topbar { background: rgba(255, 255, 255, 0.82); }

.nr-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}

.nr-brand {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  text-decoration: none;
}
.nr-brand img { display: block; height: 38px; width: auto; }
.nr-brand--foot img { height: 58px; }

.nr-nav { display: flex; align-items: center; gap: 1rem; min-width: 0; }
.nr-nav-menu {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nr-nav-menu a, .nr-nav-menu button {
  border: 0;
  background: transparent;
  color: var(--text-dim);
  font: 600 0.78rem var(--font-ui);
  text-decoration: none;
  cursor: pointer;
}
.nr-nav-menu a:hover, .nr-nav-menu button:hover { color: var(--accent-cyan); }
.nr-nav-cta { display: flex; align-items: center; gap: 0.5rem; }
.nr-nav-toggle { display: none; }

.nr-apps-menu { position: relative; }
.nr-apps-dropdown {
  position: absolute;
  top: calc(100% + 0.7rem);
  left: 0;
  display: grid;
  min-width: 260px;
  padding: 0.6rem;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  background: rgba(18, 18, 22, 0.96);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}
/* Transparent bridge across the gap so the dropdown survives the mouse moving
   from the "Apps" button down to the submenu items. */
.nr-apps-dropdown::before {
  content: "";
  position: absolute;
  top: -0.8rem;
  left: 0;
  right: 0;
  height: 0.8rem;
}
html[data-theme="light"] .nr-apps-dropdown { background: rgba(255, 255, 255, 0.96); }
.nr-apps-menu:hover .nr-apps-dropdown,
.nr-apps-menu:focus-within .nr-apps-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.nr-apps-dropdown a {
  padding: 0.62rem 0.7rem;
  border-radius: 4px;
}
.nr-apps-dropdown a:hover { background: rgba(122, 92, 255, 0.12); }

.nr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.75rem 1rem;
  border: 1px solid transparent;
  border-radius: 4px;
  font: 700 0.78rem var(--font-ui);
  letter-spacing: 0.8px;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}
.nr-btn:active { transform: scale(0.98); }
.nr-btn-primary {
  background: linear-gradient(135deg, var(--accent-creation), #9d4eff);
  color: #fff;
  box-shadow: 0 12px 26px rgba(122, 92, 255, 0.24);
}
.nr-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 34px rgba(122, 92, 255, 0.32); }
.nr-btn-ghost {
  border-color: rgba(122, 92, 255, 0.38);
  background: transparent;
  color: var(--text-main);
}
.nr-btn-ghost:hover { border-color: var(--accent-cyan); color: var(--accent-cyan); }
.nr-btn-lg { min-height: 50px; padding: 0.95rem 1.25rem; }

.nr-section { padding: var(--section-y) 0; }
.nr-hero {
  display: grid;
  align-content: center;
  min-height: 90vh;
  padding: clamp(2rem, 5vw, 4rem) 0;
}
.nr-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.nr-page-hero { padding: clamp(2.2rem, 6vw, 4.4rem) 0 var(--section-y); }

.nr-eyebrow {
  margin: 0 0 0.75rem;
  color: var(--accent-cyan);
  font: 700 0.72rem var(--font-ui);
  letter-spacing: 1.8px;
  text-transform: uppercase;
}
.nr-h1 {
  max-width: 800px;
  margin: 0 0 1.2rem;
  font: 700 clamp(2.2rem, 5vw, 3.6rem)/1.08 var(--font-ui);
  letter-spacing: 0;
}
.nr-h1 span, .nr-accent { color: var(--accent-creation); }
.nr-h2 {
  max-width: 800px;
  margin: 0 0 1rem;
  font: 600 clamp(1.6rem, 3.2vw, 2.2rem)/1.18 var(--font-ui);
}
.nr-h3 { margin: 0 0 0.55rem; font: 600 1.15rem var(--font-ui); }
.nr-lede { max-width: 740px; margin: 0 0 1.5rem; color: var(--text-dim); font-size: 1.08rem; line-height: 1.7; }
.nr-answer { max-width: 860px; margin: 0 0 1.25rem; color: var(--text-main); }
.nr-copy { color: var(--text-dim); }
.nr-muted { color: var(--text-muted); }

.nr-hero-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.4rem 0; }
.nr-trust-line {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  color: var(--text-dim);
  font: 600 0.78rem var(--font-ui);
}
.nr-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent-success);
  box-shadow: 0 0 10px var(--accent-success);
}

.nr-product-panel {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid rgba(122, 92, 255, 0.3);
  border-radius: 8px;
  background:
    radial-gradient(circle at 20% 0%, rgba(0, 243, 255, 0.12), transparent 28%),
    linear-gradient(135deg, rgba(122, 92, 255, 0.18), rgba(0, 243, 255, 0.06)),
    rgba(18, 18, 22, 0.82);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}
.nr-product-panel::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(115deg, transparent 20%, rgba(255,255,255,0.12), transparent 42%);
  transform: translateX(-100%);
  animation: nr-shimmer 8s ease-in-out infinite;
}
@keyframes nr-shimmer {
  0%, 45% { transform: translateX(-100%); opacity: 0; }
  55% { opacity: 1; }
  78%, 100% { transform: translateX(110%); opacity: 0; }
}
.nr-demo-card {
  position: relative;
  z-index: 1;
  margin: 1.25rem;
  padding: 1.1rem;
  border: 1px solid rgba(0, 255, 65, 0.22);
  border-radius: 6px;
  background: rgba(5, 5, 5, 0.62);
}
.nr-demo-card svg { display: block; width: 100%; height: auto; }

.nr-grid { display: grid; gap: 1rem; }
.nr-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.nr-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nr-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.nr-card {
  min-width: 0;
  padding: 1.35rem;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  background: rgba(18, 18, 22, 0.78);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
html[data-theme="light"] .nr-card { background: rgba(255,255,255,0.82); }
.nr-card:hover { transform: translateY(-4px); border-color: var(--border-strong); box-shadow: 0 18px 40px rgba(122, 92, 255, 0.14); }
.nr-card p, .nr-card li { color: var(--text-dim); }
.nr-card-link { color: var(--accent-cyan); font: 700 0.76rem var(--font-ui); letter-spacing: 0.7px; text-transform: uppercase; text-decoration: none; }
.nr-card-link:hover { color: var(--accent-success); }
.nr-learn-card {
  display: flex;
  flex-direction: column;
  color: var(--text-main);
  text-decoration: none;
}
.nr-learn-card > p:not(.nr-eyebrow) { flex: 1; }
.nr-learn-card .nr-card-link { margin-top: auto; }
.nr-learn-card:hover .nr-card-link { color: var(--accent-success); }

/* Full-bleed featured-image preview at the top of a card (e.g. Knowledge cards).
   Negative margins cancel the card padding so the image meets the card edges. */
.nr-card-thumb {
  display: block;
  width: calc(100% + 2.7rem);
  height: 150px;
  margin: -1.35rem -1.35rem 1.1rem;
  object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0;
}

/* App icons (real brand webp) above an app name — used on the homepage suite
   cards and on each app detail-page hero. */
.nr-app-icon {
  display: block;
  width: 58px;
  height: 58px;
  margin: 0 0 1.05rem;
  padding: 9px;
  border: 1px solid var(--border-strong);
  border-radius: 15px;
  background: linear-gradient(140deg, rgba(122, 92, 255, 0.24), rgba(0, 243, 255, 0.08));
  box-shadow: 0 12px 28px rgba(122, 92, 255, 0.2);
  object-fit: contain;
}
.nr-app-icon--lg { width: 68px; height: 68px; border-radius: 16px; }
.nr-card .nr-app-icon { box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28); }

.nr-pill-list { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1.4rem 0 0; padding: 0; list-style: none; }
.nr-pill-list li { padding: 0.45rem 0.75rem; border: 1px solid var(--border-soft); border-radius: 999px; color: var(--text-dim); background: rgba(18,18,22,0.7); font: 600 0.74rem var(--font-ui); }

.nr-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1.25rem;
  color: var(--text-muted);
  font: 600 0.74rem var(--font-ui);
}
.nr-crumbs a { color: var(--accent-cyan); text-decoration: none; }

.nr-list { margin: 0; padding-left: 1.2rem; color: var(--text-dim); }
.nr-list li { margin: 0.4rem 0; }

.nr-faq details {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  background: rgba(18, 18, 22, 0.68);
  padding: 1rem 1.1rem;
}
.nr-faq details + details { margin-top: 0.7rem; }
.nr-faq summary { cursor: pointer; color: var(--text-main); font: 700 0.9rem var(--font-ui); }
.nr-faq p { margin-bottom: 0; color: var(--text-dim); }

.nr-article {
  max-width: 900px;
  margin: 0 auto;
}
.nr-article-hero {
  margin: 1.6rem 0 2.2rem;
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}
.nr-article-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nr-article h2 { margin-top: 2.4rem; }
.nr-article p { color: var(--text-dim); }
.nr-article a { color: var(--accent-cyan); }
.nr-author-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2.4rem;
  padding: 0;
}
.nr-author-avatar {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  padding: 2px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-creation), var(--accent-cyan));
}
.nr-author-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  border: 2px solid var(--bg-deep);
  border-radius: 50%;
  object-fit: cover;
}
.nr-author-copy { display: flex; flex-direction: column; gap: 0.12rem; }
.nr-author-copy span { color: var(--text-muted); font: 600 0.65rem var(--font-ui); letter-spacing: 0.8px; text-transform: uppercase; }
.nr-author-copy strong { color: var(--text-main); font: 700 0.85rem var(--font-ui); }
.nr-steps {
  max-width: 860px;
  margin: 0 0 1.25rem;
  padding-left: 1.3rem;
  color: var(--text-dim);
}
.nr-steps li { margin-bottom: 0.55rem; line-height: 1.55; }
.nr-steps li strong { color: var(--text-main); }
.nr-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.4rem;
}
.nr-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 2rem;
}
.nr-page-btn {
  min-width: 2.2rem;
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: transparent;
  color: var(--text-dim);
  font: 600 0.82rem var(--font-ui);
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.nr-page-btn:hover:not(:disabled) { color: var(--text-main); border-color: var(--accent-cyan); }
.nr-page-btn.is-active {
  color: #fff;
  background: var(--accent-cyan);
  border-color: var(--accent-cyan);
}
.nr-page-btn:disabled { opacity: 0.4; cursor: default; }
.nr-evidence {
  margin: 1.4rem 0;
  padding: 1rem 1.1rem;
  border-left: 3px solid var(--accent-success);
  background: rgba(0, 255, 65, 0.045);
  color: var(--text-main);
}

.nr-final-cta {
  text-align: center;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  background: linear-gradient(135deg, rgba(122,92,255,0.09), rgba(0,243,255,0.04));
}
.nr-final-cta .nr-h2, .nr-final-cta .nr-lede { margin-left: auto; margin-right: auto; }
.nr-final-cta .nr-hero-ctas { justify-content: center; }

.nr-foot {
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--border-soft);
}
.nr-foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(160px, 1fr));
  gap: 1.5rem;
}
.nr-foot-tagline, .nr-foot-copy { color: var(--text-dim); }
.nr-foot-social { margin: 0.6rem 0; color: var(--text-dim); font-size: 0.85rem; }
.nr-foot-label { margin: 0 0 0.7rem; color: var(--text-muted); font: 700 0.7rem var(--font-ui); letter-spacing: 1.5px; text-transform: uppercase; }
.nr-foot ul { margin: 0; padding: 0; list-style: none; }
.nr-foot li { margin: 0.45rem 0; }
.nr-foot a { color: var(--text-dim); text-decoration: none; }
.nr-foot a:hover { color: var(--accent-cyan); }

[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: calc(var(--i, 0) * 70ms);
}
[data-reveal].is-visible, [data-reveal].is-revealed { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .nr-hero-grid, .nr-grid-2, .nr-grid-3, .nr-grid-4, .nr-foot-grid { grid-template-columns: 1fr; }
  .nr-product-panel { min-height: 320px; }
  .nr-nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border-soft);
    background: var(--surface);
  }
  .nr-nav-menu.is-open { display: flex; }
  .nr-nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border-soft);
    border-radius: 4px;
    background: transparent;
  }
  .nr-nav-toggle span { width: 18px; height: 2px; background: var(--text-main); }
  .nr-apps-dropdown {
    position: static;
    min-width: 0;
    margin-top: 0.6rem;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
  }
  .nr-apps-dropdown::before { display: none; }
  .nr-nav-cta .nr-btn { padding-inline: 0.7rem; font-size: 0.7rem; }
}

@media (max-width: 560px) {
  body.nr-site { font-size: 14px; }
  .nr-container { padding: 0 1rem; }
  .nr-topbar-inner { gap: 0.6rem; }
  .nr-brand img { height: 32px; }
  .nr-nav { gap: 0.55rem; }
  .nr-nav-cta { display: none; }
  .nr-hero-ctas .nr-btn { width: 100%; }
}

/* ── NeuralRun Quizzes in-game question container (faithful replica) ──
   Uses NeuralRun Quizzes's own palette + typography (not the site cyberpunk theme) so
   the preview matches the real app. Shared by the homepage hero and the Quiz
   Forge detail page. */
.qfd-stage { position: relative; overflow: hidden; container-type: inline-size; background: #09090b; border: 1px solid #27272a; border-radius: 16px; padding: clamp(1rem, 3vw, 1.6rem) clamp(0.7rem, 1.8vw, 1rem); box-shadow: 0 24px 70px rgba(0,0,0,0.45); font-family: system-ui, -apple-system, sans-serif; }
/* The single shine sweep from the original revamp (kept by request). */
.qfd-stage::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, transparent 20%, rgba(255,255,255,0.10), transparent 42%); transform: translateX(-100%); animation: nr-shimmer 8s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .qfd-stage::after { animation: none; opacity: 0; } }
.qfd-card { background: #18181b; border: 1px solid #3f3f46; border-radius: 20px; padding: clamp(1.1rem, 3vw, 1.6rem) clamp(0.85rem, 1.8vw, 1rem); box-shadow: 0 10px 30px rgba(0,0,0,0.5); color: #f8fafc; }
.qfd-progress { width: 100%; height: 8px; background: #0f0f12; border-radius: 9999px; overflow: hidden; margin-bottom: 1.1rem; }
.qfd-progress > i { display: block; height: 100%; width: 62%; background: linear-gradient(90deg, #8b5cf6, #10b981); }
.qfd-progress-text { text-align: center; font-size: 0.72rem; color: #a1a1aa; letter-spacing: 0.04em; margin: 0 0 1rem; }
.qfd-center { text-align: center; }
.qfd-icon { display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; margin: 0 auto 0.7rem; background: rgba(139,92,246,0.15); border: 1px solid rgba(139,92,246,0.4); border-radius: 14px; color: #c4b5fd; }
.qfd-icon svg { width: 28px; height: 28px; }
.qfd-concept { display: inline-block; padding: 0.25rem 0.75rem; background: rgba(139,92,246,0.2); color: #c4b5fd; border-radius: 9999px; font-size: 0.7rem; font-weight: 600; text-transform: uppercase; margin-bottom: 0.5rem; }
.qfd-verified { display: inline-flex; align-items: center; gap: 0.35rem; margin: 0 auto 0.6rem; padding: 0.3rem 0.62rem; border: 1px solid #10b981; border-radius: 9999px; background: rgba(16,185,129,0.1); color: #10b981; font-size: 0.62rem; font-weight: 800; letter-spacing: 0.08em; line-height: 1; }
.qfd-question { font-size: clamp(1.05rem, 2.4vw, 1.25rem); font-weight: 700; line-height: 1.4; margin: 0.4rem 0 1.3rem; }
.qfd-answers { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.qfd-ans { display: flex; align-items: center; gap: 0.6rem; text-align: left; padding: 0.7rem 0.85rem; background: #18181b; border: 2px solid #3f3f46; border-radius: 12px; font-size: 0.85rem; color: #f8fafc; white-space: nowrap; }
.qfd-ans .qfd-label { flex-shrink: 0; width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; background: rgba(139,92,246,0.15); color: #c4b5fd; border-radius: 8px; font-weight: 700; font-size: 0.85rem; }
.qfd-ans.correct { background: rgba(16,185,129,0.2); border-color: #10b981; box-shadow: 0 0 15px rgba(16,185,129,0.4); }
@media (max-width: 600px) { .qfd-answers { grid-template-columns: 1fr; } }
/* The demo card is narrowest in the 2-col hero band (≈901–1230px: landscape
   tablets / small laptops), where 2-up nowrap answers overflow the card and get
   clipped by .qfd-stage's overflow:hidden. Collapse to one column based on the
   CARD'S OWN width (container query) so it's correct at any viewport, not a
   brittle viewport band. Wide desktop cards (≥480px) keep the 2×2 grid. */
@container (max-width: 480px) { .qfd-answers { grid-template-columns: 1fr; } }

/* ── Section media split (text + generated image, two columns) ── */
.nr-media-split { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: clamp(1.5rem, 4vw, 3.2rem); align-items: center; }
.nr-media-split--rev .nr-media-img { order: -1; }
.nr-media-img { margin: 0; width: 100%; aspect-ratio: 6 / 5; border-radius: 14px; overflow: hidden; }
.nr-media-img img { width: 100%; height: 100%; object-fit: cover; display: block; filter: drop-shadow(0 18px 44px rgba(122, 92, 255, 0.22)); }
@media (prefers-reduced-motion: no-preference) {
  .nr-media-img img { animation: nr-float 7s ease-in-out infinite; }
}
@keyframes nr-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (max-width: 760px) {
  .nr-media-split, .nr-media-split--rev { grid-template-columns: 1fr; }
  .nr-media-split--rev .nr-media-img { order: 0; }
  .nr-media-img { max-width: 460px; margin: 0 auto; }
}
