/* =====================================================================
   NODBOT product pages — NETVERSE VIS compliant
   Brand: NODBOT (L3) / Raychel (L2) / NETVERSE (L1)
   Palette: brand red #ED1C24 · signature pink #F59096 · dark #0D141C
            warm beige #F0EFEB · aux dark #202F41
   Red/pink usage is kept below 10% of any view.
   ===================================================================== */

:root {
  --nb-red: #ED1C24;
  --nb-pink: #F59096;
  --nb-dark: #0D141C;
  --nb-beige: #F0EFEB;
  --nb-aux: #202F41;
  --nb-ink: #1D1D1F;
  --nb-muted: #6E6E73;
  --nb-line: rgba(13, 20, 28, 0.12);
  --nb-line-strong: rgba(13, 20, 28, 0.24);
  --nb-max: 1120px;
  --nb-nav-h: 52px;
  --nb-radius: 24px;
  --nb-cjk: "Noto Sans SC", "Source Han Sans CN Local", "PingFang SC", "Microsoft YaHei", sans-serif;
  --nb-latin: "Source Sans 3 Local", "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nb-nav-h) + 24px); }

body {
  margin: 0;
  padding: 0;
  background: #fff;
  color: var(--nb-ink);
  font-family: var(--nb-latin);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nb-locked { overflow: hidden; }

img, svg { display: block; }

a { color: inherit; }

.nb-wrap {
  max-width: var(--nb-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Navigation ---------- */
.nb-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nb-nav-h);
  z-index: 120;
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(13, 20, 28, 0.07);
  transition: background .3s ease;
}
.nb-nav__inner {
  max-width: 1280px;
  margin: 0 auto;
  height: 100%;
  padding: 0 22px;
  display: flex;
  align-items: center;
  gap: 34px;
}
.nb-nav__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.nb-nav__brand img { height: 20px; width: auto; }
.nb-nav__divider { width: 1px; height: 16px; background: var(--nb-line); }
.nb-nav__product {
  font-family: var(--nb-cjk);
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--nb-ink);
}
.nb-nav__links {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}
.nb-nav__links a {
  font-size: 12px;
  letter-spacing: .03em;
  color: var(--nb-ink);
  text-decoration: none;
  opacity: .78;
  transition: opacity .2s ease;
}
.nb-nav__links a:hover { opacity: 1; }
/* Current page / branch root highlighted by PageHierarchy */
.nb-nav__links a.active {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.nb-nav__buy {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--nb-ink);
  color: #fff;
  font-size: 12px;
  letter-spacing: .04em;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease;
}
.nb-nav__buy:hover { background: var(--nb-aux); transform: translateY(-1px); }
.nb-nav__back {
  font-size: 12px;
  color: var(--nb-muted);
  text-decoration: none;
  display: none;
}

/* ---------- Shared type ---------- */
.nb-eyebrow {
  margin: 0;
  font-family: var(--nb-cjk);
  font-size: 11px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--nb-red);
  font-weight: 500;
}
.nb-eyebrow--light { color: var(--nb-pink); }
.nb-h2 {
  margin: 14px 0 0;
  font-family: var(--nb-cjk);
  font-weight: 500;
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1.12;
  letter-spacing: -0.015em;
}
.nb-h3 {
  margin: 0;
  font-family: var(--nb-cjk);
  font-weight: 500;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.nb-lead {
  font-size: clamp(16px, 1.8vw, 21px);
  line-height: 1.65;
  color: var(--nb-muted);
  max-width: 640px;
  margin: 20px auto 0;
}
.nb-copy {
  font-family: var(--nb-cjk);
  font-size: 15px;
  line-height: 1.85;
  color: var(--nb-muted);
}
.nb-center { text-align: center; }

.nb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 26px;
  border-radius: 999px;
  font-family: var(--nb-cjk);
  font-size: 14px;
  letter-spacing: .02em;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
  cursor: pointer;
}
.nb-btn:hover { transform: translateY(-1px); }
.nb-btn--dark { background: var(--nb-ink); color: #fff; }
.nb-btn--dark:hover { background: var(--nb-aux); }
.nb-btn--light { background: #fff; color: var(--nb-ink); }
.nb-btn--ghost { background: transparent; color: var(--nb-ink); border-color: var(--nb-line-strong); }
.nb-btn--ghost:hover { border-color: var(--nb-ink); }
.nb-btn--on-dark { background: #fff; color: var(--nb-dark); }
.nb-btn--outline-dark { background: transparent; color: #fff; border-color: rgba(255,255,255,.34); }
.nb-btn--outline-dark:hover { border-color: #fff; }
.nb-btn--sm { height: 38px; padding: 0 18px; font-size: 12px; }

.nb-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--nb-cjk);
  font-size: 14px;
  color: var(--nb-ink);
  text-decoration: none;
  border-bottom: 1px solid var(--nb-line-strong);
  padding-bottom: 2px;
}
.nb-link:hover { border-color: var(--nb-red); color: var(--nb-red); }
.nb-link--light { color: #fff; border-color: rgba(255,255,255,.4); }
.nb-link--light:hover { color: var(--nb-pink); border-color: var(--nb-pink); }

/* ---------- Hero ---------- */
.nb-hero {
  position: relative;
  padding: calc(var(--nb-nav-h) + 86px) 24px 46px;
  text-align: center;
  background: #fff;
  overflow: hidden;
}
.nb-hero__title {
  margin: 12px 0 0;
  font-family: var(--nb-cjk);
  font-weight: 500;
  font-size: clamp(56px, 9.5vw, 128px);
  line-height: .98;
  letter-spacing: -0.045em;
}
.nb-hero__sub {
  margin: 22px auto 0;
  max-width: 660px;
  font-family: var(--nb-cjk);
  font-size: clamp(17px, 2vw, 23px);
  line-height: 1.55;
  color: var(--nb-muted);
}
.nb-hero__cta {
  margin-top: 30px;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.nb-hero__trust {
  margin: 18px 0 0;
  font-family: var(--nb-cjk);
  font-size: 11.5px;
  color: #9a9a9f;
  letter-spacing: .02em;
}
.nb-hero__media {
  position: relative;
  max-width: 1080px;
  margin: 34px auto 0;
  aspect-ratio: 16 / 9;
}
.nb-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 44px 60px rgba(13, 20, 28, .14));
  animation: nbFloat 9s ease-in-out infinite;
}
@keyframes nbFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.nb-pulse-rule {
  max-width: 520px;
  margin: 18px auto 0;
  height: 26px;
  overflow: hidden;
  opacity: .5;
}
.nb-pulse-rule svg { width: 100%; height: 100%; }
.nb-hero__meta {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 26px;
  flex-wrap: wrap;
  font-family: var(--nb-cjk);
  font-size: 11px;
  letter-spacing: .1em;
  color: #86868b;
}
.nb-hero__meta span { display: inline-flex; align-items: center; gap: 7px; }
.nb-hero__meta i {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--nb-pink);
  display: inline-block;
}

/* ---------- Scrollytelling gallery ---------- */
.nb-gallery {
  position: relative;
  background: var(--nb-beige);
  --frames: 9;
  height: calc((var(--frames) - 1) * 82vh + 100svh);
}
.nb-gallery__pin {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 540px;
  overflow: hidden;
}
.nb-gallery__stage {
  position: absolute;
  inset: 0;
}
.nb-gallery__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8vh 5vw 16vh;
  opacity: 0;
  transform: scale(.985);
  transition: opacity .55s ease, transform 1.2s cubic-bezier(.16,1,.3,1);
  will-change: opacity, transform;
}
.nb-gallery__img.is-active {
  opacity: 1;
  transform: scale(1);
}
.nb-gallery__caption {
  position: absolute;
  left: 0; right: 0;
  bottom: max(5vh, 34px);
  padding: 0 24px;
  text-align: center;
  pointer-events: none;
  z-index: 3;
}
.nb-gallery__caption h2 {
  margin: 8px 0 0;
  font-family: var(--nb-cjk);
  font-weight: 500;
  font-size: clamp(26px, 3.4vw, 44px);
  line-height: 1.16;
  letter-spacing: -0.015em;
}
.nb-gallery__caption p {
  margin: 10px 0 0;
  font-family: var(--nb-cjk);
  font-size: clamp(13px, 1.4vw, 15px);
  color: var(--nb-muted);
  letter-spacing: .02em;
}
.nb-gallery__count {
  font-family: var(--nb-latin);
  font-size: 11px;
  letter-spacing: .22em;
  color: var(--nb-red);
}
.nb-gallery__dots {
  position: absolute;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 9px;
  z-index: 4;
}
.nb-gallery__dots button {
  width: 6px; height: 6px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(13, 20, 28, .22);
  cursor: pointer;
  transition: all .25s ease;
}
.nb-gallery__dots button.is-on { height: 20px; background: var(--nb-ink); }
.nb-gallery__hint {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  font-family: var(--nb-cjk);
  font-size: 10px;
  letter-spacing: .18em;
  color: #9a9a9f;
  z-index: 3;
  transition: opacity .3s ease;
}
.nb-gallery__hint.is-hidden { opacity: 0; }

/* ---------- Section shell ---------- */
.nb-section { padding: 112px 0; }
.nb-section--tight { padding: 80px 0; }
.nb-section--beige { background: var(--nb-beige); }
.nb-section--dark { background: var(--nb-dark); color: #fff; }
.nb-section--dark .nb-lead { color: rgba(255,255,255,.62); }
.nb-section__head { max-width: 760px; margin: 0 auto; text-align: center; }

/* ---------- Version comparison ---------- */
.nb-versions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1000px;
  margin: 56px auto 0;
}
.nb-version {
  position: relative;
  appearance: none;
  font: inherit;
  text-align: center;
  color: var(--nb-ink);
  background: #fff;
  border: 1px solid var(--nb-line);
  border-radius: 22px;
  padding: 24px 18px 26px;
  cursor: pointer;
  transition: border-color .25s ease, box-shadow .35s ease, transform .35s cubic-bezier(.16,1,.3,1);
}
.nb-version:hover { transform: translateY(-3px); border-color: var(--nb-line-strong); }
.nb-version:focus-visible { outline: 2px solid var(--nb-red); outline-offset: 3px; }
.nb-version.is-active {
  border-color: var(--nb-ink);
  box-shadow: 0 26px 60px rgba(13, 20, 28, .10);
}
.nb-version__flag {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--nb-cjk);
  font-size: 9px;
  letter-spacing: .2em;
  color: var(--nb-red);
  opacity: 0;
  transition: opacity .25s ease;
  white-space: nowrap;
}
.nb-version.is-active .nb-version__flag { opacity: 1; }
.nb-version__media {
  height: 178px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.nb-version__media img {
  max-height: 168px;
  max-width: 92%;
  object-fit: contain;
  filter: drop-shadow(0 16px 22px rgba(13, 20, 28, .10));
  transition: transform .45s cubic-bezier(.16,1,.3,1);
}
.nb-version:hover .nb-version__media img { transform: scale(1.03); }
.nb-version__en {
  font-family: var(--nb-latin);
  font-size: 10px;
  letter-spacing: .18em;
  color: var(--nb-muted);
}
.nb-version h3 {
  margin: 6px 0 0;
  font-family: var(--nb-cjk);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.01em;
}
.nb-version__tag {
  margin: 6px 0 0;
  font-family: var(--nb-cjk);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--nb-red);
}
.nb-version__desc {
  margin: 10px auto 0;
  max-width: 230px;
  font-family: var(--nb-cjk);
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--nb-muted);
}
.nb-version__price {
  margin: 16px 0 0;
  font-family: var(--nb-latin);
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--nb-ink);
}

.nb-compare-note {
  margin: 24px auto 0;
  text-align: center;
  font-family: var(--nb-cjk);
  font-size: 11.5px;
  color: #9a9a9f;
}

.nb-table-wrap {
  max-width: 1000px;
  margin: 48px auto 0;
  overflow-x: auto;
  border-top: 1px solid var(--nb-line);
  -webkit-overflow-scrolling: touch;
}
.nb-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-family: var(--nb-cjk);
  font-size: 13.5px;
  line-height: 1.65;
}
.nb-table thead th {
  padding: 16px 18px;
  text-align: left;
  font-weight: 400;
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--nb-muted);
  border-bottom: 1px solid var(--nb-line);
  white-space: nowrap;
}
.nb-table thead th:first-child { width: 132px; }
.nb-table tbody th {
  padding: 18px;
  text-align: left;
  font-weight: 400;
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--nb-muted);
  border-bottom: 1px solid var(--nb-line);
  white-space: nowrap;
  vertical-align: top;
}
.nb-table td {
  padding: 18px;
  border-bottom: 1px solid var(--nb-line);
  vertical-align: top;
  transition: background .3s ease;
}
.nb-table td.is-col { background: rgba(240, 239, 235, .7); }
.nb-table tbody tr:hover td { background: rgba(240, 239, 235, .45); }

/* ---------- Showcase ---------- */
.nb-showcase {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px 24px;
}
.nb-showcase__panel {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  padding: clamp(36px, 5vw, 76px);
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.nb-showcase__panel--dark { background: var(--nb-dark); color: #fff; }
.nb-showcase__panel--beige { background: var(--nb-beige); color: var(--nb-ink); }
.nb-showcase__panel--light { background: #fff; color: var(--nb-ink); border: 1px solid var(--nb-line); }
.nb-showcase__copy .nb-h3 { margin-top: 14px; }
.nb-showcase__copy p {
  font-family: var(--nb-cjk);
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--nb-muted);
  margin: 18px 0 0;
  max-width: 440px;
}
.nb-showcase__panel--dark .nb-showcase__copy p { color: rgba(255,255,255,.62); }
.nb-showcase__actions {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.nb-showcase__tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 24px;
  padding: 0 11px;
  border-radius: 999px;
  font-family: var(--nb-cjk);
  font-size: 10px;
  letter-spacing: .12em;
  border: 1px solid rgba(255,255,255,.24);
  color: rgba(255,255,255,.82);
}
.nb-showcase__panel--beige .nb-showcase__tag,
.nb-showcase__panel--light .nb-showcase__tag {
  border-color: var(--nb-line-strong);
  color: var(--nb-muted);
}
.nb-showcase__tag i {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--nb-pink);
  animation: nbBlink 2.4s ease-in-out infinite;
}
@keyframes nbBlink { 0%,100% { opacity: 1; } 50% { opacity: .25; } }

.nb-showcase__visual { position: relative; min-height: 260px; }
.nb-device-shot {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nb-device-shot img {
  max-height: 340px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 30px 44px rgba(0,0,0,.34));
}
.nb-device-shot .nb-live {
  position: absolute;
  top: 4px;
  right: 4px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  font-family: var(--nb-latin);
  font-size: 9px;
  letter-spacing: .2em;
  color: #fff;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.nb-device-shot .nb-live i {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--nb-pink);
  animation: nbBlink 1.6s ease-in-out infinite;
}

/* EPD screens inside showcase */
.nb-epd-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}
.nb-epd-frame {
  width: 100%;
  max-width: 392px;
  padding: 12px 12px 26px;
  background: #fff;
  border: 1px solid var(--nb-line);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(13,20,28,.10);
  position: relative;
}
.nb-epd-frame::after {
  content: attr(data-label);
  position: absolute;
  left: 12px;
  bottom: 8px;
  font-size: 9px;
  letter-spacing: .14em;
  color: #9a9a9f;
}
.nb-epd-frame + .nb-epd-frame { transform: translateX(18px); }
.nb-epd-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 320 / 110;
  overflow: hidden;
}
.nb-epd {
  position: absolute;
  top: 0;
  left: 0;
  width: 320px;
  height: 110px;
  background: #fdfdfb;
  color: #000;
  overflow: hidden;
  transform-origin: top left;
}
/* EPD renderer primitives (mirrors epd-widget-store preview) */
.nb-epd div, .nb-epd row { display: flex; flex-direction: column; box-sizing: border-box; }
.nb-epd row { flex-direction: row; }
.nb-epd text {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-align: center;
  line-height: 1.25;
  font-family: "Rubik", var(--nb-latin);
  font-size: 8px;
}
.nb-epd [style*="font-family:tomthumb"] { font-family: "Courier New", monospace !important; }
.nb-epd [style*="font-family:rubik"] { font-family: "Rubik", var(--nb-latin) !important; }
.nb-epd [style*="font-family:rubik-medium"] { font-family: "Rubik", var(--nb-latin) !important; font-weight: 500; }
.nb-epd [style*="font-family:cjk"] { font-family: var(--nb-cjk) !important; }
.nb-epd svg { display: block; flex: none; }
.nb-epd progress {
  width: 100%;
  height: 6px;
  border: 1px solid #000;
  background: #fff;
  appearance: none;
  -webkit-appearance: none;
  overflow: hidden;
}
.nb-epd progress::-webkit-progress-bar { background: #fff; }
.nb-epd progress::-webkit-progress-value { background: #000; }
.nb-epd progress::-moz-progress-bar { background: #000; }

/* C-Tone score preview */
.nb-score {
  background: var(--nb-dark);
  border-radius: 18px;
  padding: 26px 22px;
  box-shadow: 0 26px 50px rgba(13,20,28,.22);
}
.nb-score svg { width: 100%; height: auto; }
.nb-score__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  font-family: var(--nb-latin);
  font-size: 10px;
  letter-spacing: .16em;
  color: rgba(255,255,255,.5);
}
.nb-score__play {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #fff;
}
.nb-score__play i {
  width: 0; height: 0;
  border-left: 7px solid #fff;
  border-top: 4.5px solid transparent;
  border-bottom: 4.5px solid transparent;
}

/* ---------- Core feature grid ---------- */
.nb-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: 1120px;
  margin: 56px auto 0;
}
.nb-card {
  background: #fff;
  border: 1px solid var(--nb-line);
  border-radius: 20px;
  padding: 28px 24px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
}
.nb-card__icon {
  width: 34px;
  height: 34px;
  color: var(--nb-ink);
  margin-bottom: 22px;
}
.nb-card h3 {
  margin: 0;
  font-family: var(--nb-cjk);
  font-weight: 500;
  font-size: 17px;
  letter-spacing: -0.005em;
}
.nb-card p {
  margin: 10px 0 0;
  font-family: var(--nb-cjk);
  font-size: 13px;
  line-height: 1.8;
  color: var(--nb-muted);
}
.nb-card__meta {
  margin-top: auto;
  padding-top: 18px;
  font-family: var(--nb-latin);
  font-size: 10px;
  letter-spacing: .16em;
  color: var(--nb-red);
}

/* ---------- Spec teaser ---------- */
.nb-spec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: 1000px;
  margin: 52px auto 0;
  border-top: 1px solid var(--nb-line);
}
.nb-spec {
  padding: 26px 24px 24px;
  border-bottom: 1px solid var(--nb-line);
  border-right: 1px solid var(--nb-line);
}
.nb-spec:nth-child(3n) { border-right: 0; }
.nb-spec dt {
  font-family: var(--nb-cjk);
  font-size: 10.5px;
  letter-spacing: .14em;
  color: var(--nb-muted);
}
.nb-spec dd {
  margin: 10px 0 0;
  font-family: var(--nb-cjk);
  font-size: 15px;
  line-height: 1.6;
  color: var(--nb-ink);
}
.nb-spec dd span {
  display: block;
  font-size: 11.5px;
  color: #9a9a9f;
  margin-top: 4px;
}

/* ---------- Footnotes ---------- */
.nb-footnotes {
  max-width: 860px;
  margin: 0 auto;
  padding: 52px 24px 72px;
  border-top: 1px solid var(--nb-line);
  font-family: var(--nb-cjk);
  font-size: 11.5px;
  line-height: 1.9;
  color: #86868b;
}
.nb-footnotes p { margin: 0 0 8px; }
.nb-footnotes sup { color: var(--nb-ink); font-size: 9px; margin-right: 2px; }

/* ---------- Footer ---------- */
.nb-footer {
  background: var(--nb-dark);
  color: rgba(255,255,255,.62);
  padding: 64px 0 40px;
}
.nb-footer a { color: rgba(255,255,255,.72); text-decoration: none; }
.nb-footer a:hover { color: #fff; }
.nb-footer__top {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.nb-footer__brand { display: flex; align-items: center; gap: 12px; }
.nb-footer__brand img { height: 22px; }
.nb-footer__brand span {
  font-family: var(--nb-latin);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
}
.nb-footer__links {
  display: flex;
  gap: 34px;
  flex-wrap: wrap;
  font-family: var(--nb-cjk);
  font-size: 12.5px;
}
.nb-footer__links h4 {
  margin: 0 0 12px;
  font-size: 10px;
  letter-spacing: .16em;
  color: rgba(255,255,255,.4);
  font-weight: 400;
  text-transform: uppercase;
}
.nb-footer__links ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.nb-footer__bottom {
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 11px;
  color: rgba(255,255,255,.42);
}
.nb-footer__bottom p { margin: 0; }
.nb-footer__motto {
  font-family: var(--nb-cjk);
  letter-spacing: .06em;
}

/* ---------- Subpage hero ---------- */
.nb-subhero {
  padding: calc(var(--nb-nav-h) + 84px) 24px 56px;
  background: var(--nb-beige);
  text-align: center;
}
.nb-subhero h1 {
  margin: 14px 0 0;
  font-family: var(--nb-cjk);
  font-weight: 500;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.06;
  letter-spacing: -0.03em;
}
.nb-subhero p {
  max-width: 680px;
  margin: 20px auto 0;
  font-family: var(--nb-cjk);
  font-size: clamp(14px, 1.5vw, 17px);
  line-height: 1.8;
  color: var(--nb-muted);
}
.nb-subhero__actions {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Technical document ---------- */
.nb-doc {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 64px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 72px 24px 104px;
}
.nb-doc__nav {
  position: sticky;
  top: calc(var(--nb-nav-h) + 28px);
  align-self: start;
  max-height: calc(100vh - var(--nb-nav-h) - 56px);
  overflow: auto;
}
.nb-doc__nav h2 {
  margin: 0 0 14px;
  font-family: var(--nb-latin);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #9a9a9f;
}
.nb-doc__nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 1px solid var(--nb-line);
}
.nb-doc__nav a {
  display: block;
  padding: 7px 0 7px 16px;
  margin-left: -1px;
  border-left: 2px solid transparent;
  font-family: var(--nb-cjk);
  font-size: 13px;
  line-height: 1.5;
  color: var(--nb-muted);
  text-decoration: none;
  transition: color .18s ease, border-color .18s ease;
}
.nb-doc__nav a:hover { color: var(--nb-ink); }
.nb-doc__nav a.is-on {
  color: var(--nb-ink);
  border-left-color: var(--nb-red);
}
.nb-doc__body { min-width: 0; }
.nb-doc-section { scroll-margin-top: calc(var(--nb-nav-h) + 28px); padding-bottom: 64px; }
.nb-doc-section + .nb-doc-section {
  border-top: 1px solid var(--nb-line);
  padding-top: 56px;
}
.nb-doc-section h2 {
  margin: 12px 0 0;
  font-family: var(--nb-cjk);
  font-weight: 500;
  font-size: clamp(27px, 3.4vw, 40px);
  line-height: 1.18;
  letter-spacing: -0.02em;
}
.nb-doc-section h3 {
  margin: 34px 0 0;
  font-family: var(--nb-cjk);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .01em;
  color: var(--nb-ink);
}
.nb-doc-section p {
  margin: 14px 0 0;
  font-family: var(--nb-cjk);
  font-size: 14.5px;
  line-height: 1.95;
  color: var(--nb-muted);
}
.nb-doc-section p strong { color: var(--nb-ink); font-weight: 500; }
.nb-doc-section ul {
  margin: 14px 0 0;
  padding-left: 18px;
  font-family: var(--nb-cjk);
  font-size: 14px;
  line-height: 1.9;
  color: var(--nb-muted);
}
.nb-doc-section li + li { margin-top: 6px; }
.nb-doc-list {
  margin-top: 22px;
  border-top: 1px solid var(--nb-line);
}
.nb-doc-list > div {
  display: grid;
  grid-template-columns: 156px minmax(0, 1fr);
  gap: 28px;
  padding: 14px 0;
  border-bottom: 1px solid var(--nb-line);
}
.nb-doc-list dt {
  font-family: var(--nb-cjk);
  font-size: 12.5px;
  line-height: 1.8;
  color: #9a9a9f;
}
.nb-doc-list dd {
  margin: 0;
  font-family: var(--nb-cjk);
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--nb-ink);
}
.nb-doc-list dd span {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  color: var(--nb-muted);
}
.nb-doc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}
.nb-doc-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nb-doc-card {
  background: #fff;
  border: 1px solid var(--nb-line);
  border-radius: 16px;
  padding: 20px 20px 18px;
}
.nb-doc-card b {
  display: block;
  font-family: var(--nb-cjk);
  font-size: 14px;
  font-weight: 500;
  color: var(--nb-ink);
}
.nb-doc-card p {
  margin: 7px 0 0;
  font-size: 12.5px;
  line-height: 1.8;
}
.nb-doc-callout {
  margin-top: 24px;
  padding: 16px 20px;
  border-left: 2px solid var(--nb-red);
  background: rgba(237, 28, 36, .04);
  font-family: var(--nb-cjk);
  font-size: 12.5px;
  line-height: 1.85;
  color: var(--nb-muted);
}
.nb-doc-callout b { color: var(--nb-ink); font-weight: 500; }
.nb-doc-table { margin-top: 24px; }
.nb-doc-table .nb-table thead th:first-child { width: 148px; }
.nb-doc-table .nb-table td { font-size: 13px; }
.nb-doc-top {
  margin: 8px 0 0;
  font-family: var(--nb-cjk);
  font-size: 12px;
  color: var(--nb-muted);
}
.nb-doc-top a {
  color: var(--nb-ink);
  text-decoration: none;
  border-bottom: 1px solid var(--nb-line-strong);
}

/* ---------- Reveal ---------- */
.nb-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1);
}
.nb-reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .nb-hero__media img { animation: none; }
  .nb-gallery__img { transition: opacity .2s linear; transform: none; }
  .nb-reveal { opacity: 1; transform: none; transition: none; }
  .nb-showcase__tag i, .nb-device-shot .nb-live i { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .nb-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .nb-showcase__panel { grid-template-columns: 1fr; }
  .nb-showcase__visual { order: -1; min-height: 220px; }
  .nb-device-shot img { max-height: 280px; }
  .nb-doc { grid-template-columns: 184px minmax(0, 1fr); gap: 40px; }
  .nb-doc-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .nb-nav__links { display: none; }
  .nb-nav__buy { margin-left: auto; }
  .nb-versions {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 12px;
    padding: 4px 24px 18px;
    margin-left: -24px;
    margin-right: -24px;
    max-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .nb-version { flex: 0 0 78%; scroll-snap-align: center; }
  .nb-gallery__dots { display: none; }
  .nb-section { padding: 76px 0; }
  .nb-subhero { padding-top: calc(var(--nb-nav-h) + 60px); }
  .nb-hero { padding-top: calc(var(--nb-nav-h) + 60px); }
  .nb-spec-grid { grid-template-columns: repeat(2, 1fr); }
  .nb-spec:nth-child(3n) { border-right: 1px solid var(--nb-line); }
  .nb-spec:nth-child(2n) { border-right: 0; }
  .nb-doc {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 28px 20px 72px;
  }
  .nb-doc__nav {
    position: sticky;
    top: var(--nb-nav-h);
    z-index: 40;
    max-height: none;
    margin: 0 -20px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--nb-line);
    overflow-x: auto;
    overflow-y: hidden;
  }
  .nb-doc__nav h2 { display: none; }
  .nb-doc__nav ul {
    display: flex;
    gap: 18px;
    border-left: 0;
    white-space: nowrap;
  }
  .nb-doc__nav a {
    padding: 4px 0;
    margin-left: 0;
    border-left: 0;
    border-bottom: 2px solid transparent;
    font-size: 12.5px;
  }
  .nb-doc__nav a.is-on {
    border-left-color: transparent;
    border-bottom-color: var(--nb-red);
  }
  .nb-doc-section { padding-bottom: 48px; }
  .nb-doc-section + .nb-doc-section { padding-top: 40px; }
}
@media (max-width: 600px) {
  .nb-wrap { padding: 0 20px; }
  .nb-hero { padding-left: 20px; padding-right: 20px; }
  .nb-hero__cta { flex-direction: column; }
  .nb-hero__cta .nb-btn { width: 100%; max-width: 320px; }
  .nb-hero__meta { gap: 12px 16px; }
  .nb-gallery__img { padding: 6vh 4vw 22vh; }
  .nb-gallery__caption { bottom: 9vh; }
  .nb-grid-4 { grid-template-columns: 1fr; }
  .nb-card { min-height: 0; }
  .nb-spec-grid { grid-template-columns: 1fr; }
  .nb-spec { border-right: 0; }
  .nb-showcase { padding: 0 12px 12px; }
  .nb-showcase__panel { border-radius: 24px; padding: 28px 22px 34px; }
  .nb-footer__top { flex-direction: column; }
  .nb-footer__links { gap: 22px; }
  .nb-epd-frame { max-width: 100%; }
  .nb-epd-frame + .nb-epd-frame { transform: none; }
  .nb-doc-grid, .nb-doc-grid--3 { grid-template-columns: 1fr; }
  .nb-doc-list > div { grid-template-columns: 1fr; gap: 4px; padding: 12px 0; }
  .nb-doc-table .nb-table { min-width: 560px; }
}
