/* 拾序 · Neo Shixu Signal：新东京动漫海报 × 潮流卡片拼贴。原生 CSS，无 JS。 */
@view-transition {
  navigation: auto;
}

:root {
  --cream: #f7edd8;
  --paper: #fff9eb;
  --ink: #10131f;
  --ink-2: #1c2038;
  --yellow: #ffdf24;
  --blue: #3158ff;
  --pink: #ff4d8d;
  --violet: #875cff;
  --mint: #55e6a5;
  --cyan: #22d7ff;
  --orange: #ff8b3d;
  --muted: #64666f;
  --line: 3px solid var(--ink);
  --shadow: 10px 10px 0 var(--ink);
  --shadow-soft: 0 24px 70px rgba(16, 19, 31, 0.2);
  --font-body: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", sans-serif;
  --font-display: "SimHei", "Microsoft YaHei", "PingFang SC", sans-serif;
  --font-mono: "Consolas", "Courier New", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 8%, rgba(255, 77, 141, 0.2), transparent 28%),
    radial-gradient(
      circle at 88% 4%,
      rgba(34, 215, 255, 0.22),
      transparent 32%
    ),
    radial-gradient(
      circle at 58% 92%,
      rgba(255, 223, 36, 0.28),
      transparent 28%
    ),
    linear-gradient(rgba(16, 19, 31, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 19, 31, 0.045) 1px, transparent 1px),
    var(--cream);
  background-size:
    auto,
    auto,
    auto,
    34px 34px,
    34px 34px,
    auto;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
@supports (overflow-x: clip) {
  body {
    overflow-x: clip;
  }
}
body::before {
  content: "SHIXU";
  position: fixed;
  z-index: -1;
  left: -3vw;
  bottom: 2vh;
  font-family: var(--font-mono);
  font-size: clamp(130px, 20vw, 290px);
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: -0.12em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(16, 19, 31, 0.08);
  pointer-events: none;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
}
a:focus-visible,
summary:focus-visible,
label:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 5px;
  border-radius: 4px;
}
img,
svg {
  display: block;
  max-width: 100%;
}
p,
h1,
h2,
h3,
h4,
summary {
  overflow-wrap: break-word;
}
::selection {
  background: var(--pink);
  color: white;
}

.wrap {
  width: min(1220px, calc(100% - 56px));
  margin-inline: auto;
}
.skip-link {
  position: fixed;
  z-index: 1000;
  left: 18px;
  top: -100px;
  padding: 10px 16px;
  border: var(--line);
  background: var(--yellow);
  font-weight: 900;
}
.skip-link:focus {
  top: 14px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 4px;
  background: var(--pink);
  box-shadow: 7px 7px 0 var(--cyan);
}
.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.06em;
}
.section-copy {
  max-width: 610px;
  margin: 19px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.95;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  box-shadow: 3px 3px 0 var(--ink);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.5;
  white-space: nowrap;
}
.tag.yellow {
  background: var(--yellow);
}
.tag.blue {
  background: var(--blue);
  color: white;
}
.tag.pink {
  background: var(--pink);
  color: var(--ink);
}
.tag.violet {
  background: var(--violet);
  color: var(--ink);
}
.tag.mint {
  background: var(--mint);
}
.tag.cyan {
  background: var(--cyan);
}
.noise-tag {
  position: relative;
}
.noise-tag::after {
  content: "";
  position: absolute;
  inset: -3px;
  border: 2px dashed rgba(255, 255, 255, 0.75);
  border-radius: inherit;
}

/* Header */
.signal-strip {
  position: relative;
  z-index: 40;
  border-bottom: var(--line);
  background: var(--yellow);
  color: var(--ink);
  overflow: hidden;
}
.signal-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 77, 141, 0.24),
    transparent
  );
  animation: signal-sweep 7s linear infinite;
}
.signal-strip .wrap {
  position: relative;
  padding-block: 7px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.07em;
  text-align: center;
}
.signal-strip strong {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--pink);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.site-header {
  position: sticky;
  z-index: 90;
  top: 0;
  border-bottom: var(--line);
  background: rgba(247, 237, 216, 0.92);
  backdrop-filter: blur(16px);
}
.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand:hover {
  text-decoration: none;
}
.brand-mark {
  width: 48px;
  height: 48px;
  transition:
    transform 0.2s ease,
    filter 0.2s ease;
}
.brand:hover .brand-mark {
  transform: rotate(-8deg) scale(1.06);
  filter: drop-shadow(5px 5px 0 rgba(16, 19, 31, 0.28));
}
.brand-name {
  display: block;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0.06em;
}
.brand-sub {
  display: block;
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--muted);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.main-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px 15px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  overflow: hidden;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 8px;
  height: 3px;
  background: var(--pink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.18s ease;
}
.main-nav a:hover {
  border-color: var(--ink);
  background: white;
  text-decoration: none;
  transform: translateY(-2px);
}
.main-nav a:hover::after {
  transform: scaleX(1);
}
.main-nav a[aria-current="page"] {
  border-color: var(--ink);
  background: var(--yellow);
  box-shadow: 4px 4px 0 var(--ink);
}

/* Buttons */
.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}
.btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 54px;
  padding: 12px 21px;
  border: var(--line);
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.4;
  clip-path: polygon(
    0 0,
    calc(100% - 13px) 0,
    100% 13px,
    100% 100%,
    13px 100%,
    0 calc(100% - 13px)
  );
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease;
}
.btn::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.45),
    transparent
  );
  transform: translateX(-120%);
  transition: transform 0.45s ease;
}
.btn:hover {
  background: var(--cyan);
  box-shadow: 2px 2px 0 var(--ink);
  text-decoration: none;
  transform: translate(3px, 3px) rotate(-1deg);
}
.btn:hover::before {
  transform: translateX(120%);
}
.btn.dark {
  background: var(--ink);
  color: white;
  box-shadow: 5px 5px 0 var(--pink);
}
.btn.dark:hover {
  background: var(--blue);
  box-shadow: 2px 2px 0 var(--pink);
}
.btn.light {
  background: var(--paper);
}
.btn.pink {
  background: var(--pink);
  color: var(--ink);
}
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 900;
  text-decoration: underline;
  text-decoration-color: var(--pink);
  text-decoration-thickness: 3px;
  text-underline-offset: 7px;
}
.hero-flow-link {
  color: var(--ink);
}
.status-card .source-action {
  margin-top: 24px;
}
.arrow-link .arrow {
  transition: transform 0.2s ease;
}
.arrow-link:hover .arrow {
  transform: translate(4px, -4px) rotate(10deg);
}

/* Home hero */
.hero-stage {
  position: relative;
  margin-block: 34px 58px;
  border: var(--line);
  background:
    radial-gradient(
      circle at 12% 14%,
      rgba(34, 215, 255, 0.34),
      transparent 28%
    ),
    radial-gradient(
      circle at 84% 16%,
      rgba(255, 223, 36, 0.6),
      transparent 25%
    ),
    radial-gradient(
      circle at 72% 88%,
      rgba(255, 77, 141, 0.24),
      transparent 30%
    ),
    var(--paper);
  color: var(--ink);
  box-shadow: 14px 14px 0 rgba(16, 19, 31, 0.16);
  clip-path: polygon(
    0 0,
    calc(100% - 38px) 0,
    100% 38px,
    100% 100%,
    38px 100%,
    0 calc(100% - 38px)
  );
  overflow: hidden;
}
.hero-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle at 2px 2px,
    rgba(16, 19, 31, 0.13) 1.5px,
    transparent 0
  );
  background-size: 24px 24px;
  animation: dot-drift 16s linear infinite;
  pointer-events: none;
}
.hero-stage::after {
  content: "拾序\A SHIXU";
  white-space: pre;
  position: absolute;
  right: 24px;
  top: 24px;
  writing-mode: vertical-rl;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.4em;
  color: rgba(16, 19, 31, 0.4);
  border-right: 1px solid rgba(16, 19, 31, 0.26);
  padding-right: 10px;
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(430px, 1.1fr);
  gap: 28px;
  align-items: center;
  min-height: 700px;
  padding: 58px;
}
.hero-copy .eyebrow {
  color: var(--pink);
}
.hero-copy h1 {
  margin: 0 0 22px;
  font-family: var(--font-display);
  font-size: clamp(62px, 6.6vw, 104px);
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: -0.075em;
}
.hero-copy h1 span {
  display: inline-block;
  animation: rise-in 0.65s both;
}
.hero-copy h1 .line-a {
  animation-delay: 0.1s;
  color: var(--ink);
}
.hero-copy h1 .line-b {
  animation-delay: 0.22s;
  padding: 0 0.08em 0.04em;
  background: var(--yellow);
  box-shadow: 0.1em 0.1em 0 var(--pink);
}
.hero-copy h1 .line-c {
  animation-delay: 0.34s;
  color: transparent;
  -webkit-text-stroke: 2px var(--ink);
}
.hero-intro {
  max-width: 510px;
  margin: 0 0 28px;
  color: #4f515a;
  font-size: 16px;
  line-height: 1.95;
}
.hero-intro strong {
  color: var(--ink);
}
.hero-status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 23px 0 0;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #4d4f58;
}
.hero-status span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hero-status span::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--blue);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(49, 88, 255, 0.13);
}
.hero-art {
  position: relative;
  min-width: 0;
  animation: rise-in 0.75s 0.18s both;
}
.client-scene {
  position: relative;
  min-height: 625px;
  border: 3px solid var(--ink);
  background:
    linear-gradient(rgba(16, 19, 31, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 19, 31, 0.045) 1px, transparent 1px),
    var(--paper);
  background-size: 26px 26px;
  color: var(--ink);
  box-shadow:
    12px 12px 0 var(--yellow),
    24px 24px 0 rgba(255, 77, 141, 0.38);
  clip-path: polygon(
    0 0,
    calc(100% - 34px) 0,
    100% 34px,
    100% 100%,
    30px 100%,
    0 calc(100% - 30px)
  );
  overflow: hidden;
  transform: rotate(1.3deg);
}
.client-scene::after {
  content: "BUCKET";
  position: absolute;
  right: -18px;
  top: 110px;
  color: transparent;
  -webkit-text-stroke: 1px rgba(16, 19, 31, 0.09);
  font-family: var(--font-mono);
  font-size: 92px;
  font-weight: 900;
  letter-spacing: -0.09em;
  transform: rotate(90deg);
  pointer-events: none;
}
.scene-bar {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 18px;
  border-bottom: 3px solid var(--ink);
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
}
.scene-copy {
  position: relative;
  z-index: 2;
  padding: 35px 32px 0;
  font-family: var(--font-display);
  font-size: 47px;
  font-weight: 900;
  line-height: 1.03;
  letter-spacing: -0.06em;
}
.scene-copy span {
  display: block;
}
.scene-copy strong {
  display: inline-block;
  margin-top: 5px;
  padding: 1px 12px 5px;
  border: 3px solid var(--ink);
  background: var(--yellow);
  box-shadow: 5px 5px 0 var(--ink);
}
.ice-stack {
  position: relative;
  z-index: 2;
  height: 305px;
  margin-top: 4px;
}
.ice-stack i {
  position: absolute;
  width: 142px;
  height: 142px;
  border: 3px solid #8ccbe8;
  border-radius: 25px 18px 28px 16px;
  background:
    radial-gradient(
      circle at 26% 22%,
      rgba(255, 255, 255, 0.98) 0 7%,
      transparent 8%
    ),
    radial-gradient(
      circle at 70% 63%,
      rgba(255, 255, 255, 0.75) 0 4%,
      transparent 5%
    ),
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.96),
      rgba(171, 231, 255, 0.5) 42%,
      rgba(90, 175, 226, 0.45)
    );
  box-shadow:
    inset 13px 13px 22px rgba(255, 255, 255, 0.9),
    inset -12px -13px 20px rgba(70, 148, 202, 0.25),
    8px 12px 0 rgba(49, 88, 255, 0.12);
  transform: rotate(14deg);
  animation: ice-hover 4.6s ease-in-out infinite;
}
.ice-stack i::before {
  content: "";
  position: absolute;
  inset: 13px;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 18px 11px 20px 9px;
  transform: rotate(-8deg);
}
.ice-stack i::after {
  content: "";
  position: absolute;
  width: 31px;
  height: 9px;
  left: 25px;
  top: 29px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  transform: rotate(-32deg);
  box-shadow: 47px 55px 0 -2px rgba(255, 255, 255, 0.56);
}
.ice-stack i:nth-child(1) {
  left: 50%;
  top: 27px;
  margin-left: -71px;
}
.ice-stack i:nth-child(2) {
  left: 17%;
  top: 139px;
  transform: rotate(-11deg);
  animation-delay: -0.9s;
}
.ice-stack i:nth-child(3) {
  right: 14%;
  top: 143px;
  transform: rotate(9deg);
  animation-delay: -1.8s;
}
.scene-caption {
  position: absolute;
  z-index: 3;
  left: 31px;
  bottom: 92px;
  padding: 6px 11px;
  border: 2px solid var(--ink);
  background: var(--paper);
  box-shadow: 3px 3px 0 var(--ink);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.07em;
}
.scene-nav {
  position: absolute;
  z-index: 3;
  left: 30px;
  right: 30px;
  bottom: 25px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 3px solid var(--ink);
  background: var(--paper);
  box-shadow: 5px 5px 0 var(--pink);
}
.scene-nav span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
}
.scene-nav span.active {
  background: var(--yellow);
  color: var(--ink);
}
.scene-nav b {
  display: grid;
  place-items: center;
  min-width: 23px;
  height: 23px;
  background: var(--cyan);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 9px;
}
.holo-chip {
  position: absolute;
  z-index: 4;
  padding: 11px 14px;
  border: 2px solid var(--ink);
  background: rgba(255, 249, 235, 0.94);
  color: var(--ink);
  box-shadow: 6px 6px 0 var(--cyan);
  font-size: 12px;
  font-weight: 900;
  animation: chip-float 4s ease-in-out infinite;
}
.holo-chip small {
  display: block;
  margin-top: 2px;
  color: var(--pink);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.chip-a {
  left: -5px;
  top: 70px;
  transform: rotate(-6deg);
}
.chip-b {
  right: 6px;
  bottom: 100px;
  transform: rotate(5deg);
  animation-delay: 0.8s;
}
.speed-burst {
  position: absolute;
  z-index: -1;
  inset: 30px -40px;
  background: conic-gradient(
    from 12deg,
    var(--yellow),
    var(--pink),
    var(--cyan),
    var(--mint),
    var(--orange),
    var(--yellow)
  );
  opacity: 0.32;
  filter: blur(38px);
  animation: burst-spin 18s linear infinite;
}

.marquee {
  position: relative;
  z-index: 3;
  margin-top: -24px;
  border-block: var(--line);
  background: var(--yellow);
  overflow: hidden;
  transform: rotate(-1.2deg);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 22s linear infinite;
}
.marquee-group {
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 13px 13px 13px 26px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 900;
  white-space: nowrap;
}
.marquee-group span::after {
  content: "///";
  margin-left: 26px;
  color: var(--pink);
  font-family: var(--font-mono);
  letter-spacing: -0.1em;
}

/* Home module cards */
.modules {
  padding-block: 110px 96px;
}
.modules-heading {
  display: grid;
  grid-template-columns: 1fr 0.55fr;
  gap: 50px;
  align-items: end;
  margin-bottom: 44px;
}
.modules-heading .section-copy {
  margin: 0;
}
.module-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: repeat(2, minmax(285px, auto));
  gap: 22px;
}
.module-card {
  position: relative;
  min-width: 0;
  min-height: 285px;
  padding: 27px;
  border: var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    filter 0.22s ease;
}
.module-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 9px;
  background: linear-gradient(
    90deg,
    var(--card-color),
    white,
    var(--card-color)
  );
}
.module-card::after {
  content: attr(data-code);
  position: absolute;
  right: 18px;
  top: 18px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  opacity: 0.6;
}
.module-card:hover,
.module-card:focus-visible {
  transform: translate(-4px, -7px) rotate(var(--tilt, 0deg));
  box-shadow: 15px 16px 0 var(--ink);
  text-decoration: none;
  filter: saturate(1.15);
}
.module-bucket {
  grid-row: 1 / 3;
  min-height: 592px;
  background: var(--yellow);
  --card-color: var(--pink);
  --tilt: -1deg;
}
.module-world {
  background: var(--blue);
  color: white;
  --card-color: var(--cyan);
  --tilt: 1deg;
}
.module-deadline {
  background: var(--pink);
  color: var(--ink);
  --card-color: var(--yellow);
  --tilt: -1deg;
}
.module-index {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
}
.module-card h3 {
  margin: 34px 0 10px;
  font-family: var(--font-display);
  font-size: clamp(33px, 3.3vw, 51px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.05em;
}
.module-card h3 small {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
}
.module-card p {
  position: relative;
  z-index: 2;
  max-width: 530px;
  margin: 0;
  font-size: 14px;
  line-height: 1.95;
}
.module-glyph {
  position: absolute;
  right: 18px;
  bottom: -18px;
  font-family: var(--font-display);
  font-size: 132px;
  font-weight: 900;
  line-height: 1;
  opacity: 0.13;
}
.module-window {
  position: relative;
  z-index: 2;
  margin-top: 32px;
  max-width: 470px;
  border: 2px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  transform: rotate(-1deg);
}
.window-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 11px;
  border-bottom: 2px solid var(--ink);
  font-family: var(--font-mono);
  font-size: 9px;
}
.window-bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pink);
}
.window-bar i:nth-child(2) {
  background: var(--yellow);
}
.window-bar i:nth-child(3) {
  background: var(--mint);
  margin-right: auto;
}
.window-body {
  display: grid;
  gap: 9px;
  padding: 13px;
}
.window-row {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 800;
}
.window-row::before {
  content: "";
  width: 11px;
  height: 11px;
  border: 2px solid var(--ink);
  background: white;
}
.window-row.done {
  color: var(--muted);
  text-decoration: line-through;
}
.window-row.done::before {
  background: var(--mint);
}
.module-world .module-window,
.module-deadline .module-window {
  max-width: 300px;
}
.module-cta {
  position: absolute;
  left: 27px;
  bottom: 25px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 900;
}
.module-cta::after {
  content: "→";
  transition: transform 0.18s ease;
}
.module-card:hover .module-cta::after {
  transform: translateX(5px);
}

/* Signal quote */
.signal-quote {
  position: relative;
  padding-block: 74px;
  border-block: var(--line);
  background: var(--yellow);
  color: var(--ink);
  overflow: hidden;
}
.signal-quote::before {
  content: "/////";
  position: absolute;
  left: -10px;
  top: -50px;
  color: var(--pink);
  font-size: 190px;
  font-weight: 900;
  letter-spacing: -0.2em;
  opacity: 0.2;
  transform: rotate(-12deg);
}
.signal-quote .wrap {
  position: relative;
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 40px;
  align-items: center;
}
.quote-mark {
  display: grid;
  place-items: center;
  width: 125px;
  height: 125px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
  color: var(--pink);
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
  transform: rotate(-10deg);
  box-shadow: 7px 7px 0 var(--cyan);
}
.signal-quote h2 {
  margin: 0;
  max-width: 880px;
  font-family: var(--font-display);
  font-size: clamp(32px, 4.1vw, 58px);
  font-weight: 900;
  line-height: 1.26;
  letter-spacing: -0.04em;
}
.signal-quote em {
  color: var(--ink);
  font-style: normal;
  text-shadow: 3px 3px 0 var(--pink);
}

/* CSS-only flow switch */
.flow-lab {
  padding-block: 110px;
}
.flow-lab-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 35px;
  margin-bottom: 38px;
}
.flow-switch {
  position: relative;
  border: var(--line);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 12px 12px 0 rgba(16, 19, 31, 0.16);
  padding: 24px;
  overflow: hidden;
}
.flow-switch::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 88% 10%,
      rgba(34, 215, 255, 0.3),
      transparent 28%
    ),
    radial-gradient(circle at 8% 95%, rgba(255, 223, 36, 0.4), transparent 25%);
  pointer-events: none;
}
.flow-switch > input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.flow-tabs {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 22px;
}
.flow-tabs label {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 55px;
  padding: 9px;
  border: 2px solid var(--ink);
  background: white;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  transition: 0.2s ease;
}
.flow-tabs label:hover {
  color: var(--ink);
  background: #eefcff;
  transform: translateY(-3px);
}
#flow-catch:checked ~ .flow-tabs [for="flow-catch"],
#flow-world:checked ~ .flow-tabs [for="flow-world"],
#flow-check:checked ~ .flow-tabs [for="flow-check"],
#flow-ddl:checked ~ .flow-tabs [for="flow-ddl"] {
  background: var(--yellow);
  color: var(--ink);
  border-color: var(--ink);
  box-shadow: 5px 5px 0 var(--pink);
}
#flow-catch:focus-visible ~ .flow-tabs [for="flow-catch"],
#flow-world:focus-visible ~ .flow-tabs [for="flow-world"],
#flow-check:focus-visible ~ .flow-tabs [for="flow-check"],
#flow-ddl:focus-visible ~ .flow-tabs [for="flow-ddl"] {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}
.flow-panels {
  position: relative;
  z-index: 2;
  min-height: 365px;
}
.flow-panel {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 35px;
  align-items: center;
  padding: 30px;
  border: 2px solid var(--ink);
  background: white;
  opacity: 0;
  visibility: hidden;
  transform: translateX(30px) rotate(1deg);
  pointer-events: none;
  transition:
    opacity 0.28s var(--ease-out, cubic-bezier(0.22, 1, 0.36, 1)),
    transform 0.28s var(--ease-out, cubic-bezier(0.22, 1, 0.36, 1)),
    visibility 0s 0.28s;
}
#flow-catch:checked ~ .flow-panels .panel-catch,
#flow-world:checked ~ .flow-panels .panel-world,
#flow-check:checked ~ .flow-panels .panel-check,
#flow-ddl:checked ~ .flow-panels .panel-ddl {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
  transition-delay: 0s;
}
.flow-panel h3 {
  margin: 0 0 13px;
  font-family: var(--font-display);
  font-size: clamp(29px, 3.2vw, 48px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.045em;
}
.flow-panel p {
  margin: 0;
  color: #555761;
  font-size: 14px;
  line-height: 1.95;
}
.flow-panel .tag {
  margin-bottom: 18px;
}
.demo-console {
  position: relative;
  padding: 18px;
  border: 3px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 8px 8px 0 var(--cyan);
  transform: rotate(-1deg);
}
.demo-console::before {
  content: attr(data-label);
  position: absolute;
  top: -16px;
  right: 18px;
  padding: 2px 9px;
  border: 2px solid var(--ink);
  background: var(--pink);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.console-lines {
  display: grid;
  gap: 9px;
}
.console-line {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border: 1.5px solid var(--ink);
  background: white;
  font-size: 12px;
  font-weight: 800;
}
.console-line b {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--blue);
}
.console-line.done {
  color: var(--muted);
  text-decoration: line-through;
}
.console-line.done b {
  color: var(--muted);
}
.console-line strong:first-child {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 2px solid var(--ink);
  background: var(--yellow);
  font-size: 11px;
}
.flow-note {
  position: relative;
  z-index: 2;
  margin: 18px 0 0;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  text-align: right;
}

/* Guide ticket and status */
.guide-callout {
  padding-bottom: 105px;
}
.guide-board {
  position: relative;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  border: var(--line);
  background: var(--paper);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.guide-board::before {
  content: "";
  position: absolute;
  left: 47%;
  top: -20px;
  bottom: -20px;
  border-left: 3px dashed var(--ink);
}
.guide-cover {
  position: relative;
  padding: 48px;
  background: var(--pink);
  color: var(--ink);
  overflow: hidden;
}
.guide-cover::after {
  content: "GO!";
  position: absolute;
  right: -18px;
  bottom: -38px;
  font-family: var(--font-display);
  font-size: 150px;
  font-weight: 900;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px rgba(16, 19, 31, 0.28);
}
.guide-cover h2 {
  margin: 20px 0 18px;
  font-family: var(--font-display);
  font-size: clamp(40px, 4.7vw, 68px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.055em;
}
.guide-cover p {
  position: relative;
  z-index: 2;
  max-width: 440px;
  margin: 0 0 30px;
  color: #363841;
  font-size: 14px;
  line-height: 1.95;
}
.mission-list {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 46px 45px;
  counter-reset: mission;
}
.mission-list li {
  position: relative;
  padding: 0 0 26px 56px;
  counter-increment: mission;
}
.mission-list li:last-child {
  padding-bottom: 0;
}
.mission-list li::before {
  content: "0" counter(mission);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  border: var(--line);
  background: var(--yellow);
  box-shadow: 4px 4px 0 var(--ink);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 900;
  transform: rotate(-5deg);
}
.mission-list li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 20px;
  top: 42px;
  bottom: -10px;
  border-left: 3px dashed var(--pink);
}
.mission-list b {
  display: block;
  font-size: 17px;
}
.mission-list p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}
.status-zone {
  padding-bottom: 100px;
}
.status-split {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 24px;
}
.status-card {
  position: relative;
  padding: 42px;
  border: var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.status-live {
  background: var(--mint);
}
.status-live::after {
  content: "LIVE";
  position: absolute;
  right: -14px;
  top: 20px;
  padding: 4px 35px;
  background: var(--pink);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 900;
  transform: rotate(35deg);
}
.status-source {
  background: var(--paper);
  color: var(--ink);
  transform: rotate(1deg);
}
.status-card h2,
.status-card h3 {
  margin: 16px 0 15px;
  font-family: var(--font-display);
  font-size: clamp(31px, 3.7vw, 50px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.045em;
}
.status-card p {
  max-width: 620px;
  margin: 0;
  font-size: 14px;
  line-height: 1.95;
}
.status-source p {
  color: #545761;
}
.source-code-mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 2px solid var(--ink);
  background: var(--cyan);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 19px;
  font-weight: 900;
  box-shadow: 4px 4px 0 var(--pink);
}
.privacy-banner {
  padding-bottom: 105px;
}
.privacy-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 29px 32px;
  border: var(--line);
  background: linear-gradient(90deg, var(--paper), #eefcff);
  box-shadow: var(--shadow);
}
.privacy-card h2 {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 23px;
}
.privacy-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.privacy-card .arrow-link {
  flex-shrink: 0;
}

/* Footer */
.site-footer {
  border-top: var(--line);
  background: var(--ink);
  color: white;
}
.footer-main {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 35px;
  padding-block: 40px 32px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 15px;
}
.footer-brand img {
  width: 48px;
  height: 48px;
}
.footer-brand strong {
  display: block;
  font-size: 17px;
}
.footer-brand span {
  display: block;
  color: #b9bdcb;
  font-size: 12px;
}
.footer-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px 24px;
  font-size: 13px;
  font-weight: 800;
}
.footer-nav a:hover {
  color: var(--yellow);
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 25px;
  padding-block: 17px 24px;
  border-top: 1px dashed rgba(255, 255, 255, 0.35);
  color: #aeb2c2;
  font-size: 11px;
}
.footer-bottom p {
  margin: 0;
}
.footer-bottom a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Inner pages */
.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 55px;
  align-items: stretch;
  padding-block: 62px;
}
.page-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(52px, 6.2vw, 90px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.065em;
}
.page-hero h1 .stroke {
  color: transparent;
  -webkit-text-stroke: 2px var(--ink);
}
.page-hero h1 .hot {
  color: var(--pink);
  text-shadow: 4px 4px 0 var(--yellow);
}
.page-lead {
  max-width: 700px;
  margin: 23px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.95;
}
.page-visual-card {
  position: relative;
  padding: 28px;
  border: var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.page-visual-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle at 2px 2px,
    rgba(16, 19, 31, 0.13) 1.4px,
    transparent 0
  );
  background-size: 22px 22px;
  pointer-events: none;
}
.page-visual-card.blue {
  background: var(--cyan);
  color: var(--ink);
  transform: rotate(1.5deg);
}
.page-visual-card.pink {
  background: var(--pink);
  color: var(--ink);
  transform: rotate(-1.5deg);
}
.page-visual-card .card-label {
  position: relative;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
}
.page-visual-card h2 {
  position: relative;
  margin: 48px 0 14px;
  font-family: var(--font-display);
  font-size: 31px;
  font-weight: 900;
  line-height: 1.18;
}
.page-visual-card p {
  position: relative;
  margin: 0;
  font-size: 13px;
  line-height: 1.9;
}
.page-visual-card .tag {
  position: relative;
  margin-top: 25px;
}

/* Guide page */
.guide-map {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-bottom: 34px;
}
.guide-map a {
  position: relative;
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 10px 13px;
  border: 2px solid var(--ink);
  background: var(--paper);
  box-shadow: 4px 4px 0 var(--ink);
  font-size: 12px;
  font-weight: 900;
  transition: 0.18s ease;
}
.guide-map a span {
  margin-right: 8px;
  font-family: var(--font-mono);
  color: var(--pink);
}
.guide-map a:hover {
  background: var(--yellow);
  text-decoration: none;
  transform: translate(-2px, -4px);
  box-shadow: 7px 8px 0 var(--ink);
}
.guide-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
  padding-bottom: 105px;
}
.chapter-nav {
  position: sticky;
  top: 105px;
  padding: 18px;
  border: var(--line);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 6px 6px 0 var(--pink);
}
.chapter-nav strong {
  display: block;
  margin-bottom: 12px;
  color: var(--blue);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
}
.chapter-nav a {
  display: block;
  padding-block: 10px;
  border-bottom: 1px dashed rgba(16, 19, 31, 0.3);
  font-size: 12px;
  font-weight: 800;
}
.chapter-nav a span {
  display: inline-block;
  margin-right: 8px;
  color: var(--pink);
  font-family: var(--font-mono);
  font-size: 10px;
}
.chapter-nav a:hover {
  color: var(--blue);
  text-decoration: none;
  transform: translateX(4px);
}
.guide-content {
  min-width: 0;
}
.alert-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 17px;
  padding: 23px;
  border: var(--line);
  background: var(--yellow);
  box-shadow: var(--shadow);
}
.alert-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: var(--line);
  border-radius: 50%;
  background: var(--ink);
  color: var(--yellow);
  font-size: 22px;
  font-weight: 900;
}
.alert-card h2 {
  margin: 0 0 4px;
  font-size: 17px;
}
.alert-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.9;
}
.chapter-card {
  position: relative;
  margin-top: 30px;
  padding: 33px 35px;
  border: var(--line);
  background: var(--paper);
  box-shadow: 8px 8px 0 rgba(16, 19, 31, 0.24);
  scroll-margin-top: 110px;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease;
}
.chapter-card::before {
  content: attr(data-index);
  position: absolute;
  right: 18px;
  top: -19px;
  padding: 6px 11px;
  border: var(--line);
  background: var(--card-color, var(--blue));
  color: white;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
}
.chapter-pink {
  --card-color: var(--pink);
}
.chapter-blue {
  --card-color: var(--blue);
}
.chapter-mint {
  --card-color: var(--mint);
}
.chapter-violet {
  --card-color: var(--violet);
}
.chapter-orange {
  --card-color: var(--orange);
}
.chapter-pink::before,
.chapter-mint::before,
.chapter-orange::before,
.chapter-violet::before {
  color: var(--ink);
}
.chapter-card:hover {
  transform: translate(-3px, -5px) rotate(-0.25deg);
  box-shadow: 12px 13px 0 var(--ink);
}
.chapter-card:target {
  background: #fff1c0;
  animation: target-pulse 1s ease;
}
.chapter-index {
  display: inline-block;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--pink);
}
.chapter-card h2 {
  margin: 0 0 17px;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: -0.03em;
}
.chapter-card p {
  margin: 13px 0 0;
  color: #4d4f58;
  font-size: 14px;
  line-height: 2;
}
.chapter-card a {
  font-weight: 900;
  text-decoration: underline;
  text-decoration-color: var(--pink);
  text-underline-offset: 5px;
}
.example-note {
  position: relative;
  margin: 25px 0;
  padding: 22px 25px;
  border: var(--line);
  background: var(--cyan);
  box-shadow: 7px 7px 0 var(--ink);
  font-family: "KaiTi", "STKaiti", serif;
  font-size: 18px;
  line-height: 1.8;
  transform: rotate(-1deg);
}
.example-note::before {
  content: "虚构示例";
  position: absolute;
  right: 12px;
  top: -15px;
  padding: 3px 10px;
  border: 2px solid var(--ink);
  background: var(--pink);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 900;
  transform: rotate(4deg);
}
.check-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 11px;
  margin: 22px 0;
  padding: 0;
  list-style: none;
}
.check-list li {
  padding: 14px 10px;
  border: 2px solid var(--ink);
  background: var(--yellow);
  box-shadow: 4px 4px 0 var(--ink);
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}
.intel-detail {
  margin-top: 22px;
  border: 2px solid var(--ink);
  background: white;
}
.intel-detail summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 17px;
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}
.intel-detail summary::-webkit-details-marker {
  display: none;
}
.intel-detail summary::after {
  content: "+";
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border: 2px solid var(--ink);
  background: var(--mint);
  font-family: var(--font-mono);
  transition: transform 0.18s ease;
}
.intel-detail[open] summary::after {
  transform: rotate(45deg);
  background: var(--pink);
  color: var(--ink);
}
.intel-detail .detail-body {
  padding: 0 17px 17px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}
.tip-box {
  margin-top: 22px;
  padding: 17px 19px;
  border-left: 7px solid var(--violet);
  background: #efe8ff;
  font-size: 13px;
  line-height: 1.9;
}
.tip-box strong {
  color: #4a2caa;
}
.back-home {
  margin-top: 35px;
}

/* Privacy page */
.privacy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 55px;
}
.privacy-pill {
  position: relative;
  padding: 23px;
  border: var(--line);
  background: var(--paper);
  box-shadow: 6px 6px 0 var(--ink);
  transition: 0.18s ease;
}
.privacy-pill:hover {
  background: var(--yellow);
  transform: translateY(-5px) rotate(-1deg);
}
.privacy-pill .symbol {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 30px;
  font-weight: 900;
  color: var(--pink);
}
.privacy-pill strong {
  display: block;
  font-size: 15px;
}
.privacy-pill span {
  color: var(--muted);
  font-size: 11px;
}
.privacy-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 55px;
  align-items: start;
  padding-bottom: 105px;
}
.privacy-sections {
  min-width: 0;
}
.privacy-section {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 20px;
  margin-bottom: 18px;
  padding: 25px;
  border: var(--line);
  background: var(--paper);
  box-shadow: 6px 6px 0 rgba(16, 19, 31, 0.2);
  transition: 0.18s ease;
}
.section-yellow {
  --section-color: var(--yellow);
}
.section-cyan {
  --section-color: var(--cyan);
}
.section-violet {
  --section-color: var(--violet);
}
.section-mint {
  --section-color: var(--mint);
}
.section-pink {
  --section-color: var(--pink);
}
.privacy-section:hover {
  transform: translate(-3px, -5px);
  box-shadow: 10px 11px 0 var(--ink);
}
.privacy-section .privacy-number {
  display: grid;
  place-items: center;
  align-self: start;
  width: 50px;
  height: 50px;
  border: var(--line);
  background: var(--section-color, var(--yellow));
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 900;
  box-shadow: 4px 4px 0 var(--ink);
  transform: rotate(-5deg);
}
.privacy-section h2 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 900;
  line-height: 1.25;
}
.privacy-section p {
  margin: 10px 0 0;
  color: #50525b;
  font-size: 14px;
  line-height: 2;
}
.privacy-section a {
  font-weight: 900;
  text-decoration: underline;
  text-decoration-color: var(--pink);
  text-underline-offset: 5px;
}
.privacy-aside {
  position: sticky;
  top: 105px;
  padding: 27px;
  border: var(--line);
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 8px 8px 0 var(--cyan);
  transform: rotate(2deg);
}
.privacy-aside .big-no {
  margin: 0;
  font-family: var(--font-display);
  font-size: 76px;
  font-weight: 900;
  line-height: 0.9;
  color: var(--pink);
  text-shadow: 4px 4px 0 white;
}
.privacy-aside h2 {
  margin: 18px 0 10px;
  font-size: 19px;
}
.privacy-aside p {
  margin: 0;
  color: #3f424b;
  font-size: 12px;
  line-height: 1.95;
}
.privacy-aside .arrow-link {
  margin-top: 22px;
  color: var(--ink);
  font-size: 12px;
}

/* 404 */
.error-page {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--cream);
  color: var(--ink);
}
.error-page .site-header {
  background: rgba(247, 237, 216, 0.94);
  border-color: var(--ink);
}
.error-page .brand-sub {
  color: var(--muted);
}
.error-page .main-nav a {
  color: var(--ink);
}
.error-main {
  position: relative;
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 55px;
  align-items: center;
  padding-block: 55px 75px;
  overflow: clip;
}
.error-code,
.error-copy {
  min-width: 0;
}
.error-code {
  position: relative;
  margin: 0;
  font-family: var(--font-mono);
  font-size: clamp(150px, 20vw, 300px);
  font-weight: 900;
  line-height: 0.82;
  letter-spacing: -0.13em;
  color: var(--yellow);
  text-shadow:
    7px 7px 0 var(--pink),
    14px 14px 0 var(--blue);
  transform: rotate(-4deg);
  animation: glitch-shift 3s infinite steps(1);
}
.error-code::after {
  content: "404";
  position: absolute;
  inset: 0;
  color: transparent;
  -webkit-text-stroke: 2px rgba(16, 19, 31, 0.3);
  transform: translate(12px, -12px);
  z-index: -1;
}
.error-copy {
  position: relative;
  z-index: 2;
  padding: 40px;
  border: 3px solid var(--ink);
  background: var(--paper);
  box-shadow: 10px 10px 0 var(--pink);
}
.error-copy h1 {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.055em;
}
.error-copy p {
  max-width: 560px;
  margin: 0 0 30px;
  color: #50525b;
  font-size: 15px;
  line-height: 1.95;
}
.error-lines {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle at 2px 2px,
    rgba(49, 88, 255, 0.16) 1.5px,
    transparent 0
  );
  background-size: 26px 26px;
  animation: dot-drift 10s linear infinite;
  pointer-events: none;
}

/* Animations */
@keyframes rise-in {
  from {
    opacity: 0;
    translate: 0 28px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}
@keyframes signal-sweep {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(100%);
  }
}
@keyframes dot-drift {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 96px 48px;
  }
}
@keyframes burst-spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes chip-float {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -13px;
  }
}
@keyframes ice-hover {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -9px;
  }
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}
@keyframes target-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 77, 141, 0.6);
  }
  100% {
    box-shadow: 8px 8px 0 rgba(16, 19, 31, 0.24);
  }
}
@keyframes glitch-shift {
  0%,
  88%,
  100% {
    transform: rotate(-4deg);
  }
  90% {
    transform: rotate(-4deg) translate(3px, -2px);
  }
  93% {
    transform: rotate(-4deg) translate(-4px, 3px);
  }
}
::view-transition-old(root) {
  animation: page-out 0.18s ease both;
}
::view-transition-new(root) {
  animation: page-in 0.3s ease both;
}
@keyframes page-out {
  to {
    opacity: 0;
    transform: translateY(8px);
  }
}
@keyframes page-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Tablet */
@media (max-width: 1050px) {
  .wrap {
    width: calc(100% - 44px);
  }
  .hero-inner {
    grid-template-columns: minmax(0, 0.95fr) minmax(380px, 1.05fr);
    gap: 25px;
    padding: 45px;
  }
  .client-scene {
    min-height: 580px;
  }
  .ice-stack {
    height: 270px;
  }
  .ice-stack i {
    width: 126px;
    height: 126px;
  }
  .ice-stack i:nth-child(1) {
    margin-left: -63px;
  }
  .ice-stack i:nth-child(2) {
    top: 125px;
  }
  .ice-stack i:nth-child(3) {
    top: 129px;
  }
  .modules-heading {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .module-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .module-bucket {
    grid-row: auto;
    min-height: 430px;
  }
  .module-card {
    min-height: 300px;
  }
  .flow-panel {
    grid-template-columns: 1fr 1fr;
  }
  .guide-layout {
    gap: 30px;
  }
  .page-hero {
    grid-template-columns: 1fr minmax(300px, 360px);
  }
}

/* Mobile */
@media (max-width: 820px) {
  html {
    scroll-padding-top: 132px;
  }
  .wrap {
    width: calc(100% - 32px);
  }
  .header-inner {
    min-height: 82px;
    flex-wrap: wrap;
    gap: 10px;
    padding-block: 13px;
  }
  .brand-mark {
    width: 43px;
    height: 43px;
  }
  .brand-name {
    font-size: 21px;
  }
  .main-nav {
    width: 100%;
    gap: 6px;
  }
  .main-nav a {
    flex: 1;
    min-height: 42px;
    padding-inline: 8px;
    font-size: 12px;
  }
  .hero-stage {
    margin-block: 20px 55px;
    clip-path: none;
  }
  .hero-stage::after {
    display: none;
  }
  .hero-inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: auto;
    padding: 30px 24px 30px;
    gap: 28px;
  }
  .hero-art {
    order: 0;
  }
  .hero-copy {
    position: relative;
    z-index: 5;
    order: 1;
  }
  .hero-copy h1 {
    font-size: clamp(54px, 13vw, 78px);
  }
  .hero-intro {
    font-size: 14px;
  }
  .client-scene {
    min-height: 480px;
    transform: none;
    box-shadow:
      8px 8px 0 var(--yellow),
      16px 16px 0 rgba(255, 77, 141, 0.38);
  }
  .scene-copy {
    font-size: 40px;
  }
  .ice-stack {
    height: 225px;
  }
  .ice-stack i {
    width: 112px;
    height: 112px;
  }
  .ice-stack i:nth-child(1) {
    margin-left: -56px;
  }
  .ice-stack i:nth-child(2) {
    top: 105px;
  }
  .ice-stack i:nth-child(3) {
    top: 108px;
  }
  .holo-chip {
    font-size: 11px;
  }
  .chip-a {
    left: -7px;
    top: 28px;
  }
  .chip-b {
    right: -2px;
    bottom: 52px;
  }
  .speed-burst {
    inset: 10px -20px;
  }
  .marquee {
    margin-top: -18px;
    transform: none;
  }
  .modules {
    padding-block: 82px 72px;
  }
  .module-card {
    padding: 24px;
  }
  .module-bucket {
    min-height: 460px;
  }
  .module-window {
    max-width: none;
  }
  .signal-quote .wrap {
    grid-template-columns: 100px 1fr;
    gap: 25px;
  }
  .quote-mark {
    width: 95px;
    height: 95px;
    font-size: 21px;
  }
  .flow-lab {
    padding-block: 82px;
  }
  .flow-lab-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .flow-switch {
    padding: 16px;
  }
  .flow-tabs {
    grid-template-columns: repeat(2, 1fr);
  }
  .flow-panels {
    min-height: 660px;
  }
  .flow-panel {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 22px;
  }
  .flow-note {
    text-align: left;
  }
  .guide-board,
  .status-split {
    grid-template-columns: 1fr;
  }
  .guide-board::before {
    left: -15px;
    right: -15px;
    top: 45%;
    bottom: auto;
    border-left: 0;
    border-top: 3px dashed var(--ink);
  }
  .guide-cover {
    padding: 42px 27px;
  }
  .mission-list {
    padding: 37px 25px;
  }
  .status-card {
    padding: 34px 27px;
  }
  .privacy-card {
    align-items: flex-start;
    flex-direction: column;
  }
  .footer-main {
    grid-template-columns: 1fr;
  }
  .footer-nav {
    justify-content: flex-start;
  }
  .page-hero {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-block: 45px;
  }
  .page-visual-card {
    max-width: 520px;
  }
  .guide-map {
    grid-template-columns: repeat(2, 1fr);
  }
  .guide-map a:last-child {
    grid-column: 1 / -1;
  }
  .guide-layout {
    grid-template-columns: 1fr;
    padding-bottom: 80px;
  }
  .chapter-nav {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 3px 14px;
  }
  .chapter-nav strong {
    width: 100%;
  }
  .chapter-nav a {
    display: flex;
    align-items: center;
    min-height: 44px;
    border-bottom: 0;
    padding-block: 7px;
  }
  .privacy-content {
    grid-template-columns: 1fr;
    gap: 38px;
    padding-bottom: 80px;
  }
  .privacy-aside {
    position: static;
    max-width: 430px;
  }
  .error-main {
    grid-template-columns: 1fr;
    gap: 45px;
    padding-top: 45px;
  }
  .error-code {
    font-size: clamp(145px, 35vw, 240px);
  }
}

@media (max-width: 520px) {
  .signal-strip .wrap {
    font-size: 9px;
    padding-block: 6px;
  }
  .brand-sub {
    font-size: 8px;
  }
  .main-nav a {
    min-height: 44px;
    padding-inline: 5px;
    font-size: 11px;
  }
  .eyebrow {
    font-size: 9px;
    letter-spacing: 0.1em;
  }
  .section-title {
    font-size: clamp(37px, 11vw, 48px);
  }
  .section-copy {
    font-size: 13px;
  }
  .btn {
    min-height: 50px;
    padding-inline: 16px;
    gap: 10px;
    font-size: 13px;
  }
  .arrow-link {
    font-size: 12px;
  }
  .hero-inner {
    padding: 20px 16px 26px;
    gap: 0;
  }
  .hero-copy .eyebrow {
    display: none;
  }
  .hero-copy h1 {
    margin: 24px 0 16px;
    font-size: clamp(40px, 12vw, 50px);
    text-shadow: none;
  }
  .hero-copy h1 .line-a {
    padding: 0;
    background: transparent;
  }
  .hero-copy h1 .line-b {
    box-shadow: 5px 5px 0 var(--pink);
  }
  .hero-intro {
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.85;
  }
  .hero-status {
    margin-top: 19px;
    font-size: 10px;
  }
  .client-scene {
    min-height: 250px;
  }
  .client-scene::after {
    font-size: 48px;
    top: 48px;
  }
  .scene-bar {
    padding: 8px 10px;
    font-size: 6px;
  }
  .scene-copy {
    padding: 12px 14px 0;
    font-size: 23px;
  }
  .scene-copy strong {
    border-width: 2px;
    box-shadow: 3px 3px 0 var(--ink);
  }
  .ice-stack {
    height: 116px;
    margin-top: 0;
  }
  .ice-stack i {
    width: 57px;
    height: 55px;
    border-width: 2px;
    border-radius: 11px 8px 12px 7px;
  }
  .ice-stack i::before {
    inset: 6px;
    border-radius: 8px 5px 9px 4px;
  }
  .ice-stack i::after {
    width: 13px;
    height: 4px;
    left: 11px;
    top: 12px;
    box-shadow: 20px 22px 0 -2px rgba(255, 255, 255, 0.56);
  }
  .ice-stack i:nth-child(1) {
    top: 6px;
    margin-left: -29px;
  }
  .ice-stack i:nth-child(2) {
    left: 21%;
    top: 54px;
  }
  .ice-stack i:nth-child(3) {
    right: 20%;
    top: 55px;
  }
  .scene-caption {
    left: 15px;
    bottom: 45px;
    padding: 2px 6px;
    font-size: 6px;
  }
  .scene-nav {
    left: 15px;
    right: 15px;
    bottom: 10px;
    border-width: 2px;
  }
  .scene-nav span {
    min-height: 29px;
    font-size: 9px;
  }
  .scene-nav b {
    min-width: 16px;
    height: 16px;
    font-size: 7px;
  }
  .holo-chip {
    padding: 6px 8px;
    font-size: 8px;
  }
  .holo-chip small {
    font-size: 6px;
  }
  .chip-a {
    left: auto;
    right: 7px;
    top: 48px;
  }
  .chip-b {
    display: none;
  }
  .marquee-group {
    gap: 16px;
    padding-block: 11px;
    font-size: 12px;
  }
  .marquee-group span::after {
    margin-left: 16px;
  }
  .modules {
    padding-block: 70px;
  }
  .modules-heading {
    margin-bottom: 32px;
  }
  .module-grid {
    gap: 18px;
  }
  .module-card {
    min-height: 290px;
    padding: 21px;
    box-shadow: 6px 6px 0 var(--ink);
  }
  .module-bucket {
    min-height: 475px;
  }
  .module-card h3 {
    font-size: 35px;
  }
  .module-card p {
    font-size: 13px;
  }
  .module-glyph {
    font-size: 95px;
  }
  .module-window {
    margin-top: 26px;
  }
  .window-row {
    font-size: 11px;
  }
  .module-cta {
    left: 21px;
    bottom: 21px;
  }
  .signal-quote {
    padding-block: 55px;
  }
  .signal-quote .wrap {
    grid-template-columns: 1fr;
    gap: 27px;
  }
  .quote-mark {
    width: 86px;
    height: 86px;
    font-size: 19px;
  }
  .signal-quote h2 {
    font-size: 31px;
    line-height: 1.4;
  }
  .flow-lab {
    padding-block: 70px;
  }
  .flow-tabs {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .flow-tabs label {
    min-height: 48px;
    font-size: 13px;
  }
  .flow-panels {
    min-height: 710px;
  }
  .flow-panel {
    padding: 20px 15px;
  }
  .flow-panel h3 {
    font-size: 32px;
  }
  .flow-panel p {
    font-size: 13px;
  }
  .demo-console {
    padding: 15px 12px;
    box-shadow: 5px 5px 0 var(--cyan);
  }
  .console-line {
    padding: 8px;
    font-size: 11px;
  }
  .guide-callout,
  .status-zone,
  .privacy-banner {
    padding-bottom: 72px;
  }
  .guide-cover {
    padding: 34px 22px 60px;
  }
  .guide-cover h2 {
    font-size: 42px;
  }
  .guide-cover::after {
    font-size: 110px;
    bottom: -28px;
  }
  .mission-list {
    padding: 32px 21px;
  }
  .mission-list li {
    padding-left: 50px;
  }
  .status-card {
    padding: 30px 21px;
  }
  .status-card h2,
  .status-card h3 {
    font-size: 33px;
  }
  .status-card p {
    font-size: 13px;
  }
  .privacy-card {
    padding: 23px;
  }
  .privacy-card h2 {
    font-size: 20px;
  }
  .footer-main {
    padding-block: 32px 24px;
  }
  .footer-nav {
    gap: 10px 20px;
    font-size: 12px;
  }
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    font-size: 10px;
  }
  .page-hero {
    padding-block: 38px 48px;
  }
  .page-hero h1 {
    font-size: clamp(45px, 13vw, 60px);
  }
  .page-lead {
    font-size: 14px;
  }
  .page-visual-card {
    padding: 24px 20px;
  }
  .page-visual-card h2 {
    font-size: 27px;
  }
  .guide-map {
    grid-template-columns: 1fr;
  }
  .guide-map a:last-child {
    grid-column: auto;
  }
  .alert-card {
    grid-template-columns: 1fr;
    padding: 20px;
  }
  .chapter-card {
    margin-top: 27px;
    padding: 27px 20px 29px;
  }
  .chapter-card h2 {
    font-size: 26px;
  }
  .chapter-card p {
    font-size: 13px;
  }
  .example-note {
    padding: 21px 18px;
    font-size: 16px;
  }
  .check-list {
    grid-template-columns: 1fr;
  }
  .check-list li {
    text-align: left;
    padding-inline: 15px;
  }
  .privacy-grid {
    grid-template-columns: 1fr;
    gap: 13px;
    margin-bottom: 38px;
  }
  .privacy-pill {
    display: grid;
    grid-template-columns: 38px 1fr;
    column-gap: 10px;
    padding: 16px 18px;
  }
  .privacy-pill .symbol {
    grid-row: span 2;
    margin: 0;
  }
  .privacy-section {
    grid-template-columns: 1fr;
    padding: 23px 19px;
  }
  .privacy-section h2 {
    font-size: 25px;
  }
  .privacy-section p {
    font-size: 13px;
  }
  .error-main {
    padding-block: 40px 58px;
  }
  .error-code {
    font-size: clamp(125px, 38vw, 180px);
    text-shadow:
      5px 5px 0 var(--pink),
      10px 10px 0 var(--blue);
  }
  .error-copy {
    padding: 29px 22px;
  }
  .error-copy h1 {
    font-size: 39px;
  }
  .error-copy p {
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  @view-transition {
    navigation: none;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .marquee-track {
    animation: none;
    width: auto;
    flex-wrap: wrap;
  }
  .marquee-group[aria-hidden="true"] {
    display: none;
  }
}

@media print {
  .signal-strip,
  .site-header,
  .chapter-nav,
  .site-footer,
  .actions,
  .marquee {
    display: none;
  }
  body {
    background: white;
    color: black;
  }
  .chapter-card,
  .privacy-section,
  .module-card {
    break-inside: avoid;
    box-shadow: none;
  }
}
