/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: var(--paper);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Architectural Vertical Edge Rails: behind .block content, never cutting through dark .panel sections */
body::before {
  content: "";
  position: fixed;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: calc(min(100%, var(--max)) - 2 * var(--gutter));
  border-left: 1px solid var(--grid);
  border-right: 1px solid var(--grid);
  pointer-events: none;
  z-index: 1;
}

@media (max-width: 767px) {
  body::before {
    display: none;
  }
}

.symbols {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

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

button,
input,
a {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: 0;
  background: none;
  padding: 0;
}

a {
  text-decoration: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
p,
dl,
dd {
  margin: 0;
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Containers & Architectural .block Sections (Exact Reference Architecture) */
.block {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--sec) var(--gutter);
  background: transparent;
}

.block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 100vw;
  height: 1px;
  transform: translateX(-50%);
  background: var(--grid);
  pointer-events: none;
}

.block::after {
  content: "";
  position: absolute;
  top: -5px;
  left: calc(var(--gutter) - 5px);
  right: calc(var(--gutter) - 5px);
  height: 11px;
  background:
    linear-gradient(var(--cross), var(--cross)) left 0 top 5px / 11px 1px no-repeat,
    linear-gradient(var(--cross), var(--cross)) left 5px top 0 / 1px 11px no-repeat,
    linear-gradient(var(--cross), var(--cross)) right 0 top 5px / 11px 1px no-repeat,
    linear-gradient(var(--cross), var(--cross)) right 5px top 0 / 1px 11px no-repeat;
  pointer-events: none;
}

@media (max-width: 767px) {
  .block::after {
    display: none;
  }
}

/* Dark Panels (z-index: 3 sits cleanly above fixed vertical rails) */
.panel {
  position: relative;
  z-index: 3;
  background: var(--panel-bg);
  color: var(--on-dark);
  overflow: hidden;
}

.panel.full {
  padding-block: var(--sec);
}

.panel.inset {
  border-radius: var(--r-panel);
  margin-inline: var(--edge);
}

.grain-layer {
  position: absolute;
  inset: -40%;
  width: 180%;
  height: 180%;
  pointer-events: none;
  opacity: 0.24;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  animation: grain 0.9s steps(1) infinite;
  animation-play-state: paused;
  z-index: 1;
}

.panel.live .grain-layer,
.offer-main.live .grain-layer {
  animation-play-state: running;
}

.panel > *:not(.grain-layer):not(.hero-media):not(.hero-scrim):not(.crowd-canvas) {
  position: relative;
  z-index: 2;
}

@keyframes grain {
  0% { transform: translate(0, 0); }
  12% { transform: translate(-3%, 4%); }
  25% { transform: translate(4%, -3%); }
  37% { transform: translate(-5%, -2%); }
  50% { transform: translate(3%, 5%); }
  62% { transform: translate(-4%, 2%); }
  75% { transform: translate(5%, -4%); }
  88% { transform: translate(-2%, -5%); }
  100% { transform: translate(0, 0); }
}

/* Display Typography — Calibrated for Chinese CJK Characters (Zero Glyph Collision) */
h1,
.display-h2 {
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.14;
  text-wrap: balance;
}

.display-h2 {
  font-size: clamp(38px, 7.6vw, 96px);
}

.display-h2 span {
  display: block;
}

.display-h2 sup {
  font-size: 0.32em;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink-2);
  vertical-align: super;
  margin-left: 6px;
}

.panel .display-h2 sup {
  color: var(--mist);
}

.lead {
  margin-top: 22px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 38ch;
}

@media (min-width: 640px) {
  .lead {
    font-size: 19px;
  }
}

.panel .lead {
  color: rgba(255, 255, 255, 0.74);
}

.split-grid > *,
.inside-grid > *,
.pricing-grid > *,
.faq-grid > * {
  min-width: 0;
}

/* Signature Pill CTAs (68px Hero / 64px Standard) */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex: 1 1 0;
  width: 100%;
  min-width: 0;
  height: 64px;
  padding: 0 8px 0 26px;
  border-radius: var(--r-pill);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.015em;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s ease;
}

@media (max-width: 479px) {
  .cta {
    padding-left: 20px;
    font-size: 15px;
  }
}

.cta:active {
  transform: scale(0.98);
}

.cta-white {
  background: var(--white);
  color: var(--black);
}

.cta-dark {
  background: var(--black);
  color: var(--white);
}

.cta-accent {
  width: 100%;
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 14px 36px -14px rgba(255, 46, 76, 0.75);
}

.cta-accent:hover {
  background: var(--accent-bright);
  box-shadow: 0 16px 42px -8px rgba(255, 46, 76, 0.85);
}

.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.26) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: sheen 2.8s var(--ease) infinite;
  pointer-events: none;
}

@keyframes sheen {
  0%, 55% { transform: translateX(-120%); }
  85%, 100% { transform: translateX(120%); }
}

.cta-label {
  white-space: nowrap;
  min-width: 0;
}

.cta-meta {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 500;
  opacity: 0.62;
  white-space: nowrap;
}

.cta-knob {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease);
}

@media (hover: hover) {
  .cta:hover .cta-knob {
    transform: scale(1.06);
  }
}

.cta-dark .cta-knob {
  background: var(--white);
  color: var(--black);
}

.cta-accent .cta-knob {
  color: var(--accent);
}

.cta-knob svg {
  width: 16px;
  height: 16px;
  position: absolute;
}

.cta-knob .arr-1 {
  animation: knob-out 2.8s var(--ease) infinite;
}

.cta-knob .arr-2 {
  transform: translateX(-52px);
  animation: knob-in 2.8s var(--ease) infinite;
}

@keyframes knob-out {
  0%, 60% { transform: translateX(0); }
  82%, 100% { transform: translateX(52px); }
}

@keyframes knob-in {
  0%, 60% { transform: translateX(-52px); }
  82%, 100% { transform: translateX(0); }
}

.cta-alt {
  height: 64px;
  padding: 0 26px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background-color 0.25s ease, transform 0.25s var(--ease);
}

.cta-alt:hover {
  background: rgba(255, 255, 255, 0.22);
}

.cta-alt:active {
  transform: scale(0.98);
}

/* Floating Top Header — Transparent Crest Left + Join Button Right (No Center Nav) */
.top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  padding: 16px var(--gutter) 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

@media (min-width: 960px) {
  .top {
    padding: 20px var(--gutter) 10px;
  }
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand-logo {
  height: 38px;
  width: 38px;
  object-fit: contain;
  background: transparent;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.45));
}

@media (min-width: 960px) {
  .brand-logo {
    height: 44px;
    width: 44px;
  }
}

.brand-name {
  font-size: 16px;
  white-space: nowrap;
}

.top-cta {
  height: 42px;
  padding: 0 20px;
  border-radius: var(--r-pill);
  background: var(--white);
  color: var(--black);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  flex-shrink: 0;
  transition: transform 0.2s var(--ease), background-color 0.2s ease, color 0.2s ease;
}

.top-cta:hover {
  transform: translateY(-1px);
  background: var(--accent);
  color: var(--white);
}

/* Section 1 — Hero with Multi-Photo Cross-Fading Reel */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding: 106px var(--gutter) var(--gutter);
}

@media (min-width: 960px) {
  .hero {
    padding: 128px var(--gutter) var(--gutter);
  }
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #070506;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  filter: saturate(0.86) contrast(1.06) brightness(0.68);
  opacity: 0;
  transition: opacity 1.4s ease;
  animation: drift 24s ease-in-out infinite alternate;
  animation-play-state: paused;
}

.hero.live .hero-slide {
  animation-play-state: running;
}

.hero-slide.is-on {
  opacity: 1;
}

.hero-slide-video {
  animation: none;
  transform: scale(1.01);
  object-position: center 44%;
  filter: saturate(0.95) contrast(1.05) brightness(0.76);
}

@keyframes drift {
  from { transform: scale(1.04); }
  to { transform: scale(1.12) translateY(-1.5%); }
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(60% 50% at 80% 18%, rgba(255, 46, 76, 0.18) 0%, transparent 70%),
    var(--scrim-hero);
}

.hero-head {
  max-width: 1080px;
}

.hero h1 {
  font-size: clamp(42px, 8.8vw, 122px);
  line-height: 1.12;
  letter-spacing: -0.028em;
  color: var(--white);
}

.hero h1 span {
  display: block;
}

.hero-sub {
  margin-top: 26px;
  max-width: 34ch;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.86);
}

@media (min-width: 960px) {
  .hero-sub {
    margin-top: 32px;
    font-size: 20px;
    max-width: 48ch;
  }
}

.hero-topics {
  margin: auto 0 auto auto;
  padding: 28px 0;
  text-align: right;
}

.hero-topics p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.62);
  margin-bottom: 6px;
}

.hero-topics li {
  font-size: 19px;
  font-weight: 550;
  letter-spacing: -0.015em;
  line-height: 1.55;
  color: var(--white);
}

@media (min-width: 640px) {
  .hero-topics li {
    font-size: 22px;
  }
}

@media (min-width: 960px) {
  .hero-topics li {
    font-size: 24px;
  }
}

.hero-foot {
  display: grid;
  gap: 10px;
  container-type: inline-size;
}

@media (min-width: 960px) {
  .hero-foot {
    grid-template-columns: minmax(0, 680px);
    justify-content: end;
  }
}

.hero-video-caption {
  display: grid;
  gap: 3px;
  width: fit-content;
  max-width: min(440px, 100%);
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(11, 11, 12, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-left: 3px solid var(--accent);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.hero.is-video-active .hero-video-caption {
  opacity: 1;
  transform: translateY(0);
}

.hvc-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.72);
}

.hvc-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(255, 46, 76, 0.85);
}

.hvc-event {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--white);
}

.hvc-award {
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.35;
  color: #ffd978;
}

@media (max-width: 959px) {
  .hero:not(.is-video-active) .hero-video-caption {
    display: none;
  }
}

@media (min-width: 960px) {
  .hero-video-caption {
    position: absolute;
    left: 0;
    bottom: clamp(190px, 19vh, 218px);
    z-index: 3;
    padding: 12px 16px;
  }
  .hvc-event {
    font-size: 16px;
  }
  .hvc-award {
    font-size: 14px;
  }
}

.hero-ctas {
  display: flex;
  gap: 10px;
}

@media (min-width: 960px) {
  .hero-ctas .cta {
    height: 70px;
    padding: 0 9px 0 30px;
    font-size: 18px;
  }
  .hero-ctas .cta-knob {
    width: 52px;
    height: 52px;
  }
  .hero-ctas .cta-knob svg {
    width: 18px;
    height: 18px;
  }
  .hero-ctas .cta-alt {
    height: 70px;
    padding: 0 28px;
    font-size: 16px;
  }
}

@container (max-width: 479px) {
  .hero-ctas .cta-alt {
    display: none;
  }
}

@media (max-width: 359px) {
  .hero-ctas .cta {
    padding-left: 20px;
    font-size: 16px;
  }
  .hero-ctas .cta-meta {
    display: none;
  }
}

/* Section 2 — Numbers */
.numbers .stat-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--grid);
}

.stat-grid li {
  padding: 22px 0 20px;
  border-bottom: 1px solid var(--grid);
}

.stat-grid li:nth-child(odd) {
  padding-right: 14px;
  border-right: 1px solid var(--grid);
}

.stat-grid li:nth-child(even) {
  padding-left: 16px;
}

@media (min-width: 640px) {
  .stat-grid li:nth-child(odd) {
    padding: 26px 18px 22px 0;
  }
  .stat-grid li:nth-child(even) {
    padding: 26px 0 22px 18px;
  }
}

@media (min-width: 960px) {
  .numbers .stat-grid {
    margin-top: 56px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .stat-grid li {
    padding: 28px 22px 24px;
    border-right: 1px solid var(--grid);
    border-bottom: 0;
  }
  .stat-grid li:nth-child(odd),
  .stat-grid li:nth-child(even) {
    padding: 28px 22px 24px;
  }
  .stat-grid li:nth-child(4n + 1) {
    padding-left: 0;
  }
  .stat-grid li:nth-child(4n) {
    border-right: 0;
    padding-right: 0;
  }
}

.stat-grid strong {
  display: block;
  font-size: clamp(44px, 12.5vw, 96px);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.94;
  font-variant-numeric: tabular-nums;
}

@media (min-width: 960px) {
  .stat-grid strong {
    font-size: clamp(56px, 6.4vw, 92px);
  }
}

.stat-grid strong em {
  font-style: normal;
  color: var(--accent);
  font-size: 0.44em;
  margin-left: 4px;
  letter-spacing: -0.02em;
}

.stat-grid li > span {
  display: block;
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink-2);
}

@media (min-width: 960px) {
  .stat-grid li > span {
    font-size: 15px;
  }
}

/* Section 3 — Showcase Rail (.cases): Full-Bleed Gutter Alignment Matching anotherworldcore */
.cases {
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  overflow: hidden;
  overflow: clip;
}

.cases .display-h2 {
  max-width: none;
  font-size: clamp(32px, 8.6vw, 98px);
}

.case-includes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 22px;
}

.case-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.08);
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.case-pill:hover,
.case-pill.is-active {
  background: rgba(255, 46, 76, 0.22);
  color: var(--white);
}

.case-pill i {
  width: 5px;
  height: 5px;
  border-radius: 1px;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
}

.case-list {
  margin: 28px calc(-1 * var(--gutter)) 0;
  padding: 0 var(--gutter);
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 84%;
  gap: 10px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 var(--gutter);
  scrollbar-width: none;
}

@media (min-width: 640px) {
  .case-list {
    grid-auto-columns: 56%;
  }
}

@media (min-width: 960px) {
  .case-list {
    margin-top: 40px;
    gap: 14px;
    grid-auto-columns: min(calc((100% - 2 * var(--gutter) - 28px) / 2.35), 540px);
  }
}

.case-list::-webkit-scrollbar {
  display: none;
}

.case-card {
  scroll-snap-align: start;
  background: var(--white);
  color: var(--black);
  border-radius: 24px;
  padding: 8px;
  display: flex;
  flex-direction: column;
}

@media (min-width: 960px) {
  .case-card {
    padding: 10px;
  }
}

.case-media {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 940 / 440;
  background: #101010;
}

.case-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}

.case-card:first-child .case-media img {
  object-position: 50% 48%;
}

.case-card:hover .case-media img {
  transform: scale(1.04);
}

.case-fx {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

/* Top-Left Two-Row Giant LCD Stat Badge */
.lcd-badge {
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px 11px 7px;
  background: rgba(6, 9, 6, 0.64);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  color: var(--white);
  clip-path: var(--pixel-corners-small);
}

.lcd-num {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: var(--white);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 20px;
  line-height: 1;
}

.lcd-num .lcd-g {
  height: 22px;
  width: auto;
}

.lcd-lbl {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1;
}

.lcd-dot {
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background: var(--accent);
  animation: lcd-blink 1.6s steps(1) infinite;
}

@keyframes lcd-blink {
  50% { opacity: 0.35; }
}

.lcd-g {
  display: inline-block;
  height: 11px;
  width: auto;
  vertical-align: middle;
}

.case-body {
  padding: 16px 12px 14px;
}

@media (min-width: 960px) {
  .case-body {
    padding: 18px 16px 16px;
  }
}

.case-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.case-num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.case-num .lcd-g {
  height: 10px;
}

.diff {
  --lv: var(--lv3);
  --lv-t: 2.8s;
  --lv-r: 3px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  background: color-mix(in srgb, var(--lv) 11%, var(--paper));
}

.diff[data-lv="1"] { --lv: var(--lv1); }
.diff[data-lv="2"] { --lv: var(--lv2); }
.diff[data-lv="3"] { --lv: var(--lv3); --lv-t: 3.2s; --lv-r: 3px; }
.diff[data-lv="4"] { --lv: var(--lv4); --lv-t: 2.4s; --lv-r: 4px; }
.diff[data-lv="5"] { --lv: var(--lv5); --lv-t: 1.6s; --lv-r: 5px; }

.diff-dots {
  display: inline-flex;
  gap: 4px;
}

.diff-dots i {
  width: 7px;
  height: 7px;
  border-radius: 1px;
  background: rgba(0, 0, 0, 0.16);
  transition: background-color 0.4s ease, transform 0.5s var(--ease);
}

.diff-dots i:nth-of-type(1) { transition-delay: 0s; }
.diff-dots i:nth-of-type(2) { transition-delay: 0.09s; }
.diff-dots i:nth-of-type(3) { transition-delay: 0.18s; }
.diff-dots i:nth-of-type(4) { transition-delay: 0.27s; }
.diff-dots i:nth-of-type(5) { transition-delay: 0.36s; }

.js .case-card:not(.seen) .diff-dots i.on {
  background: rgba(0, 0, 0, 0.16);
  transform: scale(0.55);
}

.diff-dots i.on {
  background: var(--lv);
  transform: scale(1);
}

.case-card.seen .diff[data-lv="3"] .diff-dots i:nth-of-type(3),
.case-card.seen .diff[data-lv="4"] .diff-dots i:nth-of-type(4),
.case-card.seen .diff[data-lv="5"] .diff-dots i:nth-of-type(5) {
  animation: lv-glow var(--lv-t) ease-in-out 0.7s infinite;
}

@keyframes lv-glow {
  0%, 100% { box-shadow: 0 0 0 0 transparent; }
  50% { box-shadow: 0 0 0 var(--lv-r) color-mix(in srgb, var(--lv) 34%, transparent); }
}

.case-card h3 {
  margin-top: 14px;
  font-size: 27px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.18;
}

@media (min-width: 960px) {
  .case-card h3 {
    font-size: 28px;
  }
}

.case-res {
  margin-top: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.case-desc {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-2);
}

/* True Scrollbar-Thumb Rail Track Spanning Full Gutter Width */
.rail-foot {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
}

.rail-track {
  flex: 1;
  position: relative;
  height: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
}

.rail-track i {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--p, 0) * (100% - var(--w, 40%)));
  width: var(--w, 40%);
  border-radius: inherit;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
}

.rail-btns {
  display: none;
  gap: 8px;
}

@media (min-width: 960px) {
  .rail-btns {
    display: flex;
  }
}

.rail-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, opacity 0.2s ease;
}

.rail-btn svg {
  width: 14px;
  height: 14px;
}

.rail-btn.prev svg {
  transform: scaleX(-1);
}

.rail-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.2);
}

.rail-btn:disabled {
  opacity: 0.3;
  cursor: default;
}

.cases-cta {
  margin-top: 28px;
}

@media (min-width: 960px) {
  .cases-cta .cta {
    max-width: 340px;
  }
}

/* Section 4 — Training Pipeline Card (.prompt-sec) */
.split-grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
}

@media (min-width: 960px) {
  .split-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
    column-gap: 64px;
  }
}

.pd-card {
  margin-top: 36px;
  border-radius: 24px;
  padding: 22px 18px 20px;
  background: var(--white);
}

@media (min-width: 960px) {
  .pd-card {
    margin-top: 0;
    padding: 28px 30px 24px;
  }
}

.pd-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.pd-thumb {
  width: 60px;
  height: 60px;
  object-fit: contain;
  background: transparent;
  padding: 0;
}

.pd-title {
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.02em;
}

.pd-sub {
  margin-top: 2px;
  font-size: 13px;
  color: var(--ink-2);
}

/* Crisp Modern Sans-Serif (No SimSun Fallback) */
.pd-text {
  margin-top: 18px;
  font-family: var(--font-sans);
  font-size: 14.5px;
  line-height: 1.9;
  color: rgba(0, 0, 0, 0.84);
}

@media (min-width: 960px) {
  .pd-text {
    font-size: 15px;
  }
}

.pd-mark {
  background: transparent;
  color: inherit;
  border-radius: 4px;
  padding: 1px 3px;
  transition: background-color 0.5s var(--ease);
}

.pd-mark.key.on {
  background: rgba(255, 46, 76, 0.11);
}

.pd-mark b {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  font-size: 10.5px;
  font-weight: 700;
  vertical-align: 1px;
  margin-left: 3px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.pd-mark.on b {
  opacity: 1;
}

.pd-secret {
  margin-top: 12px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px 9px 14px;
  border-radius: var(--r-pill);
  background: radial-gradient(120% 140% at 50% 50%, #24070d 0%, #070304 75%);
  border: 1px solid rgba(255, 46, 76, 0.65);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 13px;
  overflow: visible;
  animation: halo 2.6s ease-in-out infinite;
  animation-play-state: paused;
}

.pd-card.live .pd-secret {
  animation-play-state: running;
}

@keyframes halo {
  0%, 100% {
    box-shadow: 0 0 10px rgba(255, 46, 76, 0.35), 0 0 0 0 transparent;
  }
  50% {
    box-shadow: 0 0 24px rgba(255, 46, 76, 0.6), 0 0 0 4px rgba(255, 46, 76, 0.08);
  }
}

.pd-lock {
  width: 14px;
  height: 14px;
  color: var(--accent-bright);
  flex-shrink: 0;
}

.pd-label {
  color: var(--accent-bright);
  font-weight: 600;
  white-space: nowrap;
}

.pd-blur {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.68);
  filter: blur(4px);
  user-select: none;
}

.pd-badge-6 {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.pd-p {
  position: absolute;
  left: var(--x, 50%);
  top: 4px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--accent-bright);
  box-shadow: 0 0 6px var(--accent);
  pointer-events: none;
  opacity: 0;
  animation: rise 2.6s ease-out var(--d, 0s) infinite;
  animation-play-state: paused;
}

.pd-card.live .pd-p {
  animation-play-state: running;
}

@keyframes rise {
  0% { opacity: 0; transform: translate(0, 0) scale(0.6); }
  20% { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--dx, 0px), -38px) scale(1.1); }
}

.pd-params {
  display: block;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: rgba(0, 0, 0, 0.45);
}

.pd-notes {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line-l);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 14px;
}

@media (max-width: 520px) {
  .pd-notes {
    grid-template-columns: 1fr;
  }
}

.pd-notes li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--ink-2);
}

.pd-notes li b {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  font-size: 10.5px;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.pd-notes li.secret {
  grid-column: 1 / -1;
  align-items: flex-start;
  margin-top: 4px;
  padding: 12px 14px;
  clip-path: var(--pixel-corners-small);
  background: var(--lcd-lit), radial-gradient(120% 140% at 0% 50%, #24070d 0%, #070304 70%);
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.55;
}

.pd-notes li.secret b {
  background: var(--accent);
  color: var(--white);
  margin-top: 2px;
}

.pd-notes li.secret strong {
  color: var(--accent-bright);
}

.pd-foot {
  margin-top: 14px;
  font-size: 13px;
  color: var(--ink-2);
}

/* Section 5 — Concentric Radar Panel (.crowd) */
.crowd {
  height: min(calc((100vw - 2 * var(--edge)) * 1.35), 760px);
  padding: 24px var(--gutter);
  margin-top: calc(var(--sec) * 0.15);
  margin-bottom: calc(var(--sec) * 0.5);
  position: relative;
}

@media (min-width: 960px) {
  .crowd {
    height: 636px;
    padding: 36px var(--gutter);
    margin-top: var(--sec);
    margin-bottom: var(--sec);
  }
}

.crowd .display-h2 {
  position: relative;
  z-index: 2;
  max-width: none;
  pointer-events: none;
}

.crowd-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Section 6 — Inside RBC (.inside) */
.inside-grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
}

@media (min-width: 960px) {
  .inside-grid {
    grid-template-columns: 1fr 1.4fr;
    grid-template-rows: auto auto auto 1fr;
    column-gap: 64px;
  }
  .inside-copy {
    grid-column: 1;
    grid-row: 1;
  }
  .guide-pages {
    grid-column: 1;
    grid-row: 2;
  }
  .inside-cta {
    grid-column: 1;
    grid-row: 3;
  }
  .inside-list {
    grid-column: 2;
    grid-row: 1 / span 4;
  }
}

.guide-pages {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 128px;
  gap: 10px;
  overflow-x: auto;
  margin: 26px calc(-1 * var(--gutter)) 32px;
  padding: 0 var(--gutter) 2px;
  scrollbar-width: none;
}

.guide-pages::-webkit-scrollbar {
  display: none;
}

@media (min-width: 960px) {
  .guide-pages {
    grid-auto-flow: row;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 32px 0 0;
    padding: 0;
    overflow: visible;
  }
}

.page-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 440 / 623;
  border-radius: 5px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.07);
}

.page-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s var(--ease);
}

.page-thumb:first-child img {
  object-position: top center;
}

.page-thumb:hover img {
  transform: scale(1.04);
}

.inside-cta {
  margin-top: 24px;
  margin-bottom: 32px;
}

@media (min-width: 960px) {
  .inside-cta {
    margin-bottom: 0;
  }
}

.toc-edge {
  border-radius: 22px;
  background: var(--white);
  color: var(--black);
  padding: 20px 18px 18px;
}

@media (min-width: 960px) {
  .toc-edge {
    padding: 24px 26px 22px;
  }
}

.toc-tag {
  display: inline-block;
  padding: 5px 11px;
  border-radius: var(--r-pill);
  background: var(--paper);
  color: var(--black);
  font-size: 12.5px;
  font-weight: 600;
}

.toc-tag.is-accent {
  background: var(--accent);
  color: var(--white);
}

.toc-edge h3 {
  margin-top: 14px;
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.24;
}

@media (min-width: 960px) {
  .toc-edge h3 {
    font-size: 26px;
  }
}

.toc-edge p {
  margin-top: 6px;
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.5;
}

.parts {
  margin-block: 16px;
}

.part-item {
  border-top: 1px solid var(--grid);
}

.part-item:last-child {
  border-bottom: 1px solid var(--grid);
}

.part-head {
  width: 100%;
  text-align: left;
  padding: 18px 0;
  display: grid;
  grid-template-columns: 46px 1fr 42px;
  align-items: center;
  gap: 8px;
}

@media (min-width: 960px) {
  .part-head {
    padding: 22px 0;
    grid-template-columns: 60px 1fr 44px;
  }
}

.part-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-2);
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.part-num .lcd-g {
  height: 10px;
}

.part-title {
  font-size: 21px;
  font-weight: 550;
  letter-spacing: -0.02em;
  line-height: 1.28;
}

@media (min-width: 960px) {
  .part-title {
    font-size: 28px;
  }
}

.pm {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.2);
  display: grid;
  place-items: center;
  color: var(--ink);
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.pm svg {
  width: 18px;
  height: 18px;
}

.pm .plus-v,
.faq-plus .plus-v {
  transform-origin: center;
  transform-box: fill-box;
  transition: transform 0.3s var(--ease);
}

.part-item.is-open .pm {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}

.part-item.is-open .pm .plus-v,
.faq-item.is-open .faq-plus .plus-v {
  transform: scaleY(0);
}

.part-body-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--ease);
}

.part-item.is-open .part-body-wrap,
.faq-item.is-open .part-body-wrap {
  grid-template-rows: 1fr;
}

.part-body-inner {
  overflow: hidden;
}

.part-body {
  padding: 0 0 22px 46px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
}

@media (min-width: 960px) {
  .part-body {
    padding-left: 60px;
  }
}

@media (max-width: 520px) {
  .part-body {
    padding-left: 0;
  }
}

.part-chips {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.part-chips span {
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: var(--white);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
}

.part-why {
  margin: 18px 0 0;
  max-width: 620px;
  display: grid;
  gap: 8px;
}

@media (min-width: 960px) {
  .part-why {
    grid-template-columns: 1fr 1fr;
  }
}

.part-why > div {
  clip-path: var(--pixel-corners);
  background: var(--lcd-ink), var(--white);
  padding: 14px 16px 15px;
}

.part-why dt {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
  display: flex;
  align-items: center;
  gap: 7px;
}

.part-why > div:last-child dt::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 1px;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 46, 76, 0.22);
}

.part-why dd {
  margin-top: 5px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink);
}

/* Section 7 — Join RBC (.pricing) */
.pricing {
  padding-bottom: var(--sec);
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
}

@media (min-width: 960px) {
  .pricing-grid {
    grid-template-columns: minmax(0, 1fr) 560px;
    grid-template-rows: auto 1fr;
    column-gap: 64px;
  }
  .pricing-copy {
    grid-column: 1;
    grid-row: 1;
  }
  .reviews {
    grid-column: 1;
    grid-row: 2;
  }
  .offer {
    grid-column: 2;
    grid-row: 1 / span 2;
    position: sticky;
    top: 24px;
  }
}

.reviews {
  margin-top: 32px;
}

.review-list {
  display: grid;
}

.review-slide {
  grid-area: 1 / 1;
  clip-path: var(--pixel-corners);
  background: var(--lcd-ink), var(--white);
  padding: 20px 20px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 205px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease), visibility 0s 0.5s;
}

.review-slide.is-on {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s var(--ease);
}

.review-quote {
  font-size: 16.5px;
  line-height: 1.55;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.review-author {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.review-meta strong {
  display: block;
  font-size: 14px;
}

.review-meta span {
  display: block;
  font-size: 12.5px;
  color: var(--ink-2);
}

.sq-dots {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.review-dot {
  width: 7px;
  height: 7px;
  border-radius: 1px;
  background: rgba(0, 0, 0, 0.22);
  transition: background-color 0.3s ease;
}

.review-dot.is-active {
  background: var(--black);
}

.offer {
  margin-top: 32px;
  width: 100%;
  min-width: 0;
}

@media (min-width: 960px) {
  .offer {
    margin-top: 0;
  }
}

.offer-main {
  position: relative;
  border-radius: 28px;
  width: 100%;
  max-width: 560px;
  overflow: visible;
  box-shadow: 0 28px 60px -20px rgba(0, 0, 0, 0.45);
}

.offer-main::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1.5px solid var(--accent);
  pointer-events: none;
  z-index: 2;
  animation: pulse 2.8s ease-out infinite;
}

@keyframes pulse {
  0% { opacity: 0.9; transform: scale(1); }
  70%, 100% { opacity: 0; transform: scale(1.035, 1.05); }
}

.offer-inner {
  position: relative;
  z-index: 1;
  border-radius: inherit;
  padding: 32px 22px;
  background: var(--lcd-lit), var(--panel-bg);
  color: var(--white);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 46, 76, 0.45);
}

@media (min-width: 640px) {
  .offer-inner {
    padding: 44px 40px 40px;
  }
}

.offer-inner > *:not(.grain-layer) {
  position: relative;
  z-index: 2;
}

.offer-price {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.offer-price strong {
  font-size: clamp(46px, 13.5vw, 72px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.04;
  font-variant-numeric: tabular-nums;
}

.offer-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.08);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--white);
  white-space: nowrap;
}

.offer-tag i {
  width: 7px;
  height: 7px;
  border-radius: 1px;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  animation: lcd-blink 1.6s steps(1) infinite;
}

.offer-pills {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.offer-pills li {
  padding: 6px 11px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
}

.pill-copy {
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 12px;
}

.pill-copy:hover {
  color: var(--accent-bright);
}

.offer-label {
  margin-top: 26px;
  font-size: 13px;
  font-weight: 500;
  color: var(--mist);
}

.offer-list {
  margin-top: 18px;
  display: grid;
  gap: 22px;
}

@media (min-width: 640px) {
  .offer-list {
    margin-top: 20px;
    gap: 24px;
  }
}

.offer-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.check-circle {
  width: 24px;
  height: 24px;
  padding: 5px;
  border-radius: 50%;
  background: var(--white);
  color: var(--black);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.check-circle svg {
  width: 14px;
  height: 14px;
}

.offer-list strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
}

.offer-list li > div span {
  display: block;
  margin-top: 3px;
  font-size: 13.5px;
  line-height: 1.48;
  color: var(--mist);
}

.offer-buy {
  margin-top: 26px;
  display: grid;
  gap: 16px;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.58);
  cursor: pointer;
}

.consent input {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.3);
  background: transparent;
  flex-shrink: 0;
  margin-top: 1px;
  cursor: pointer;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.consent input:checked {
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5.5 12.5 4 4 9-9.5' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px 14px no-repeat;
  box-shadow: none;
}

.offer-poster-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 2px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.2s ease;
}

.offer-poster-link svg {
  width: 13px;
  height: 13px;
}

.offer-poster-link:hover {
  color: var(--white);
}

/* Section 8 — FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}

@media (min-width: 960px) {
  .faq-grid {
    grid-template-columns: 1fr 1.4fr;
    gap: 64px;
  }
}

.faq-sub {
  margin-top: 16px;
  font-size: 15px;
  color: var(--ink-2);
}

.ask {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 20px 0 8px;
  border-radius: var(--r-pill);
  background: var(--white);
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  transition: transform 0.2s var(--ease);
}

.ask:hover {
  transform: translateY(-1px);
}

.ask img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.faq-list {
  border-top: 1px solid var(--grid);
}

.faq-item {
  border-bottom: 1px solid var(--grid);
}

.faq-head {
  width: 100%;
  text-align: left;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 18px;
  font-weight: 550;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.faq-plus {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--ink);
}

.faq-body {
  padding: 0 0 20px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
}

/* Section 9 — Architectural Footer */
.site-foot {
  position: relative;
  z-index: 2;
}

.foot-links {
  padding-bottom: 48px;
}

.foot-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 24px;
}

@media (min-width: 960px) {
  .foot-cols {
    grid-template-columns: 0.9fr 1.15fr 1.15fr;
    gap: 36px;
  }
}

.foot-cols h4 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 14px;
}

.foot-cols li + li {
  margin-top: 10px;
}

.foot-cols a,
.foot-cols button:not(.foot-qq-btn) {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: clamp(16px, 4.2vw, 22px);
  font-weight: 550;
  letter-spacing: -0.025em;
  line-height: 1.3;
  white-space: nowrap;
  transition: color 0.2s ease;
}

@media (min-width: 960px) {
  .foot-cols a,
  .foot-cols button:not(.foot-qq-btn) {
    font-size: 26px;
  }
}

.foot-cols a:hover,
.foot-cols button:not(.foot-qq-btn):hover {
  color: var(--accent);
}

.foot-meta-col {
  grid-column: 1 / -1;
  padding-top: 20px;
  border-top: 1px solid var(--grid);
}

@media (min-width: 960px) {
  .foot-meta-col {
    grid-column: auto;
    padding-top: 0;
    border-top: 0;
  }
}

.foot-id {
  display: flex;
  align-items: center;
  gap: 12px;
}

.foot-id img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  flex-shrink: 0;
}

.foot-id strong {
  display: block;
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.foot-id span {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  color: var(--ink-2);
}

.foot-qq-btn {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 40px;
  padding: 0 16px;
  border-radius: var(--r-pill);
  border: 1px solid var(--grid);
  background: var(--white);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, transform 0.2s var(--ease);
}

.foot-qq-btn:hover {
  transform: translateY(-1px);
  border-color: var(--black);
  background: var(--black);
  color: var(--white);
}

.foot-tags {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--ink-2);
}

.foot-cols > div {
  position: relative;
}

.foot-cols > div::before {
  content: "";
  position: absolute;
  top: -37px;
  left: -5px;
  width: 11px;
  height: 11px;
  background:
    linear-gradient(var(--cross), var(--cross)) center / 11px 1px no-repeat,
    linear-gradient(var(--cross), var(--cross)) center / 1px 11px no-repeat;
  pointer-events: none;
}

@media (max-width: 767px) {
  .foot-cols > div::before {
    display: none;
  }
}

.arr-out {
  width: 16px;
  height: 16px;
  color: #9a9a9a;
  transition: transform 0.3s var(--ease), color 0.2s ease;
}

.foot-cols button:hover .arr-out,
.foot-cols a:hover .arr-out {
  transform: translate(2px, -2px);
  color: var(--accent);
}

.foot-mark {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--grid);
  width: 100%;
}

.foot-art-svg {
  display: block;
  width: 100%;
  height: auto;
  color: var(--black);
  overflow: visible;
}

.foot-art-svg .art-dot {
  transition: transform 0.25s ease, filter 0.25s ease;
  transform-box: fill-box;
  transform-origin: center;
}

.foot-mark:hover .art-dot {
  transform: scale(1.2);
  filter: drop-shadow(0 0 6px rgba(255, 46, 76, 0.45));
}

.foot-sig {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px 24px;
}

.foot-sub {
  font-size: clamp(20px, 2.8vw, 38px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--black);
}

.foot-tagline {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--ink-2);
}

.foot-bar {
  position: relative;
  z-index: 3;
  background: var(--black);
  color: var(--mist);
  font-size: 13.5px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 26px var(--gutter) calc(30px + env(safe-area-inset-bottom));
}

.foot-bar ul {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.foot-bar a {
  transition: color 0.2s ease;
}

.foot-bar a:hover {
  color: var(--white);
}

@media (min-width: 960px) {
  .foot-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 26px max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  }
  .foot-bar ul {
    display: flex;
    gap: 28px;
    margin-top: 0;
  }
}

/* Recruitment Sheet Drawer (1:1 Mirror of anotherworldcore #buy-sheet, 480px) */
dialog.sheet {
  margin: auto;
  padding: 0;
  border: 0;
  width: min(480px, calc(100vw - 24px));
  max-height: calc(100dvh - 32px);
  border-radius: 28px;
  background: var(--lcd-lit), var(--panel-bg);
  color: var(--white);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.68), inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  overflow: hidden;
}

dialog.sheet::backdrop {
  background: rgba(0, 0, 0, 0.56);
  backdrop-filter: blur(3px);
}

dialog.sheet[open] {
  display: flex;
  flex-direction: column;
  animation: sheet-in 0.35s var(--ease);
}

@keyframes sheet-in {
  from { opacity: 0; transform: translateY(14px); }
}

@keyframes sheet-up {
  from { transform: translateY(100%); }
}

@media (max-width: 639px) {
  dialog.sheet {
    margin: auto 0 0;
    width: 100vw;
    max-width: 100vw;
    max-height: 90dvh;
    border-radius: 24px 24px 0 0;
  }
  dialog.sheet[open] {
    animation: sheet-up 0.4s var(--ease);
  }
}

.sheet-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 20px 20px 26px;
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 26px), transparent);
  mask-image: linear-gradient(to bottom, #000 calc(100% - 26px), transparent);
}

.sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.sheet-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--mist);
}

.sheet-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 16px;
  flex-shrink: 0;
  transition: background-color 0.2s ease;
}

.sheet-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.sheet-price {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
}

.sheet-price strong {
  font-size: 52px;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.98;
  white-space: nowrap;
}

.sheet-price .offer-tag {
  margin-left: auto;
}

.sheet-pills {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sheet-pills li {
  padding: 6px 11px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
}

.sheet-pills li.pill-spark {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--lcd-crimson-lit), rgba(255, 46, 76, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 46, 76, 0.36);
  color: #ffe2e7;
}

.inc-ico {
  position: relative;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  color: var(--accent-bright);
  flex-shrink: 0;
}

.inc-ico svg {
  width: 12px;
  height: 12px;
}

.inc-ico .pd-p {
  top: 2px;
  width: 1.5px;
  height: 1.5px;
  animation: spark 3.2s ease-out var(--d, 0s) infinite;
  animation-play-state: running;
}

@keyframes spark {
  0% { opacity: 0; transform: translate(0, 0); }
  15% { opacity: 1; }
  60%, 100% { opacity: 0; transform: translate(var(--dx, 0px), -11px); }
}

.sheet-parts-wrap {
  margin-top: 20px;
}

.sheet-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--mist);
  margin-bottom: 6px;
}

.sheet-label span {
  color: rgba(255, 255, 255, 0.5);
}

.sheet-parts {
  max-height: 142px;
  overflow: hidden;
  transition: max-height 0.45s var(--ease);
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 54px), transparent);
  mask-image: linear-gradient(to bottom, #000 calc(100% - 54px), transparent);
}

.sheet-parts.is-expanded {
  max-height: 1200px;
  -webkit-mask-image: none;
  mask-image: none;
}

.sheet-part-item {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sheet-part-btn {
  width: 100%;
  padding: 13px 0;
  display: grid;
  grid-template-columns: 40px 1fr 22px;
  column-gap: 8px;
  align-items: center;
  text-align: left;
  font-size: 16.5px;
  font-weight: 550;
  letter-spacing: -0.02em;
}

.sheet-part-btn .part-num {
  color: rgba(255, 255, 255, 0.56);
}

.sheet-part-btn .pm {
  width: 22px;
  height: 22px;
  border: 0;
  color: rgba(255, 255, 255, 0.55);
  display: grid;
  place-items: center;
  transition: color 0.25s ease;
}

.sheet-part-btn .pm svg {
  width: 11px;
  height: 11px;
}

.sheet-part-item.is-open .sheet-part-btn .pm {
  background: transparent;
  color: var(--accent-bright);
}

.sheet-part-item.is-open .sheet-part-btn .pm .px-v {
  opacity: 0;
}

.sheet-part-item .part-body-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease);
}

.sheet-part-item.is-open .part-body-wrap {
  grid-template-rows: 1fr;
}

.sheet-part-desc {
  padding: 0 0 14px 48px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.55;
}

/* Also Included (Inside Expandable Sheet Body) */
.incl-label {
  padding-top: 18px;
  margin-top: 4px;
  margin-bottom: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--accent-bright);
}

.incl-list {
  padding: 0 14px;
  clip-path: var(--pixel-corners);
  background: var(--lcd-crimson-lit), rgba(255, 46, 76, 0.055);
}

.incl-list li {
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: center;
  padding: 12px 0;
  font-size: 15.5px;
  font-weight: 550;
  color: var(--white);
}

.incl-list li + li {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.incl-list .inc-ico {
  width: 26px;
  height: 26px;
}

.incl-list .inc-ico svg {
  width: 19px;
  height: 19px;
}

.incl-list .inc-ico .pd-p {
  width: 2px;
  height: 2px;
}

.parts-more {
  margin: 10px auto 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #1f1f1f;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--white);
  display: grid;
  place-items: center;
  transition: background-color 0.2s ease, transform 0.3s var(--ease);
}

.parts-more svg {
  width: 14px;
  height: 14px;
  transform: rotate(90deg);
}

.parts-more:hover {
  background: #2a2a2a;
}

.parts-more.is-expanded {
  transform: rotate(180deg);
}

.sheet-reviews {
  margin-top: 16px;
}

.sq-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.sq-head .sheet-label {
  margin-bottom: 0;
}

.sq-head .sq-dots {
  margin-top: 0;
  gap: 8px;
}

.sheet-reviews .review-dot {
  background: rgba(255, 255, 255, 0.25);
}

.sheet-reviews .review-dot.is-active {
  background: var(--accent);
}

.sheet-reviews .review-slide {
  padding: 16px 18px 15px;
  clip-path: var(--pixel-corners);
  background: var(--lcd-lit), rgba(255, 255, 255, 0.05);
  min-height: 104px;
}

.sheet-reviews .review-quote {
  font-size: 15px;
  line-height: 1.5;
  color: var(--white);
}

.sheet-reviews .review-caption {
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--mist);
}

.sheet-foot {
  flex: none;
  padding: 14px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  gap: 10px;
}

.consent-terms {
  font-size: 12px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.6);
}

.sheet-cases {
  width: 100%;
  height: 42px;
  border-radius: var(--r-pill);
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  font-weight: 600;
  transition: background-color 0.2s ease;
}

.sheet-cases:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* Consent Fallback Dialog */
dialog.consent-dlg {
  margin: auto;
  border: 0;
  border-radius: 22px;
  padding: 24px;
  width: min(420px, calc(100vw - 32px));
  background: #111;
  color: var(--white);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.65), inset 0 0 0 1px rgba(255, 46, 76, 0.5);
}

dialog.consent-dlg::backdrop {
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
}

dialog.consent-dlg h3 {
  font-size: 20px;
  letter-spacing: -0.02em;
}

dialog.consent-dlg p {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.74);
}

.dlg-actions {
  margin-top: 20px;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.dlg-cancel {
  height: 40px;
  padding: 0 16px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 13.5px;
}

.dlg-confirm {
  height: 40px;
  padding: 0 18px;
  border-radius: var(--r-pill);
  background: var(--accent);
  color: var(--white);
  font-size: 13.5px;
  font-weight: 600;
}

/* Mobile Sticky Buy Bar (aside#buy-bar, < 960px) */
.buy-bar {
  display: none;
}

@media (max-width: 959px) {
  .buy-bar {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 45;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 8px 8px 18px;
    border-radius: var(--r-pill);
    background: rgba(12, 8, 9, 0.86);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    color: var(--white);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.42), inset 0 0 0 1px rgba(255, 46, 76, 0.45);
    transform: translateY(140%);
    transition: transform 0.45s var(--ease);
  }

  .buy-bar.show {
    transform: none;
  }

  .buy-bar-meta strong {
    display: block;
    font-size: 13.5px;
  }

  .buy-bar-meta span {
    display: block;
    font-family: var(--font-mono);
    font-size: 11px;
    color: rgba(255, 255, 255, 0.68);
  }

  .buy-bar-btn {
    height: 40px;
    padding: 0 16px;
    border-radius: var(--r-pill);
    background: var(--accent);
    color: var(--white);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
  }
}

/* Lightbox Dialog & Toast */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(0, 0, 0, 0.84);
  backdrop-filter: blur(8px);
  display: none;
  place-items: center;
  padding: 20px;
}

.lightbox.is-open {
  display: grid;
}

.lightbox-inner {
  position: relative;
  max-width: min(880px, 94vw);
  max-height: 90vh;
  background: #111;
  border-radius: 20px;
  padding: 14px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.lightbox-inner img {
  max-height: calc(90vh - 76px);
  width: auto;
  margin: 0 auto;
  border-radius: 12px;
}

.lightbox-bar {
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-size: 13px;
  padding-inline: 4px;
}

.lightbox-close {
  padding: 6px 14px;
  border-radius: var(--r-pill);
  background: var(--white);
  color: var(--black);
  font-size: 12.5px;
  font-weight: 600;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 16px);
  z-index: 70;
  padding: 10px 18px;
  border-radius: var(--r-pill);
  background: var(--black);
  color: var(--white);
  border: 1px solid rgba(255, 46, 76, 0.6);
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.is-show {
  opacity: 1;
  transform: translate(-50%, 0);
}

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