:root {
  --night: #050d0f;
  --night-2: #0b1917;
  --panel: #101f1d;
  --paper: #edf2ef;
  --paper-2: #f9fbf8;
  --ink: #13211d;
  --muted: #66726d;
  --line: #cfd8d3;
  --ice: #83e7f1;
  --ice-deep: #187f8d;
  --amber: #d8ad4a;
  --red: #bb5a52;
  --blue: #2e6384;
  --white: #f8fbf8;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--night);
  color: var(--white);
  font-family: "Avenir Next", "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
  font: inherit;
}

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

[hidden] {
  display: none !important;
}

.landing-shell {
  width: min(1120px, calc(100vw - 48px));
  margin: 0 auto;
  min-width: 0;
}

.landing-header {
  position: fixed;
  z-index: 80;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid rgba(131, 231, 241, 0.16);
  background: rgba(5, 13, 15, 0.9);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.landing-brand {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  min-width: 0;
}

.landing-brand img {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(131, 231, 241, 0.38);
  border-radius: 4px;
  object-fit: cover;
}

.landing-brand span,
.landing-brand strong,
.landing-brand small {
  display: block;
  min-width: 0;
}

.landing-brand strong {
  color: var(--white);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.15;
}

.landing-brand small {
  margin-top: 4px;
  color: rgba(248, 251, 248, 0.54);
  font-size: 10px;
  font-weight: 700;
}

.header-cta {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--amber);
  border-radius: 4px;
  background: var(--amber);
  color: #151c17;
  font-size: 13px;
  font-weight: 900;
  padding: 9px 16px;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.header-cta:hover {
  background: #efd27e;
  transform: translateY(-1px);
}

.landing-hero {
  position: relative;
  display: flex;
  min-height: max(760px, calc(100svh - 20px));
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(131, 231, 241, 0.18);
  background: var(--night);
  padding: 138px 0 176px;
}

.landing-hero::before {
  content: "XUEYUESHUANG";
  position: absolute;
  right: -26px;
  bottom: 104px;
  color: transparent;
  font-family: "Arial Black", "Helvetica Neue", sans-serif;
  font-size: 108px;
  font-weight: 900;
  line-height: 1;
  opacity: 0.12;
  -webkit-text-stroke: 1px var(--ice);
  pointer-events: none;
  white-space: nowrap;
}

.landing-hero::after {
  content: "";
  position: absolute;
  top: 68px;
  right: 36%;
  bottom: 128px;
  width: 1px;
  background: rgba(131, 231, 241, 0.14);
  pointer-events: none;
}

.hero-emblem {
  position: absolute;
  z-index: 0;
  top: 50%;
  right: max(-38px, calc((100vw - 1120px) / 2 - 98px));
  width: 610px;
  height: 610px;
  opacity: 0.56;
  transform: translateY(-52%);
  animation: emblem-breathe 7s ease-in-out infinite;
}

.hero-emblem::before,
.hero-emblem::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero-emblem::before {
  inset: -16px;
  border: 1px solid rgba(131, 231, 241, 0.2);
  transform: rotate(45deg) scale(0.72);
}

.hero-emblem::after {
  top: 50%;
  right: -64px;
  left: -64px;
  height: 1px;
  background: rgba(131, 231, 241, 0.32);
}

.hero-emblem img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.74) contrast(1.08);
}

@keyframes emblem-breathe {
  0%, 100% { opacity: 0.5; transform: translateY(-52%) scale(0.985); }
  50% { opacity: 0.62; transform: translateY(-52%) scale(1); }
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-overline {
  width: fit-content;
  max-width: 100%;
  margin: 0;
  border-left: 4px solid var(--ice);
  color: var(--ice);
  font-family: "SF Mono", "Cascadia Code", monospace;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.4;
  padding: 4px 0 4px 12px;
}

.landing-hero h1 {
  max-width: 770px;
  margin: 30px 0 0;
  color: #aebbb7;
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", Georgia, serif;
  font-size: 74px;
  font-weight: 850;
  line-height: 1.08;
}

.landing-hero h1 span {
  color: var(--white);
  text-shadow: 0 0 34px rgba(131, 231, 241, 0.2);
}

.hero-statement {
  max-width: 660px;
  margin: 26px 0 0;
  color: var(--amber);
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", Georgia, serif;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.3;
}

.hero-copy {
  max-width: 650px;
  margin: 20px 0 0;
  color: rgba(248, 251, 248, 0.68);
  font-size: 16px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.action {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
  padding: 14px 22px;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.action:hover {
  transform: translateY(-2px);
}

.action-primary {
  background: var(--ice);
  color: #071315;
}

.action-primary:hover {
  background: #b4f2f7;
}

.action-secondary {
  border-color: rgba(248, 251, 248, 0.3);
  background: rgba(248, 251, 248, 0.04);
  color: var(--white);
}

.action-secondary:hover {
  border-color: rgba(248, 251, 248, 0.62);
  background: rgba(248, 251, 248, 0.08);
}

.hero-role {
  max-width: 650px;
  margin: 20px 0 0;
  color: rgba(248, 251, 248, 0.43);
  font-size: 12px;
  line-height: 1.7;
}

.hero-role strong {
  color: rgba(248, 251, 248, 0.7);
}

.hero-bottom {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  left: 0;
  border-top: 1px solid rgba(131, 231, 241, 0.16);
  background: rgba(11, 25, 23, 0.94);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  min-height: 106px;
  align-items: center;
}

.hero-metrics div {
  min-width: 0;
  border-right: 1px solid rgba(131, 231, 241, 0.14);
  padding: 4px 26px;
}

.hero-metrics div:first-child {
  padding-left: 0;
}

.hero-metrics div:last-child {
  border-right: 0;
}

.hero-metrics strong,
.hero-metrics span {
  display: block;
}

.hero-metrics strong {
  color: var(--white);
  font-size: 25px;
  font-weight: 950;
  line-height: 1.1;
}

.hero-metrics div:first-child strong {
  color: var(--ice);
}

.hero-metrics span {
  margin-top: 7px;
  color: rgba(248, 251, 248, 0.48);
  font-size: 11px;
}

.preview-section {
  position: relative;
  background: var(--paper);
  color: var(--ink);
  padding: 100px 0 104px;
}

.preview-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 31%;
  height: 5px;
  background: var(--ice-deep);
}

.preview-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 31%;
  width: 9%;
  height: 5px;
  background: var(--amber);
}

.preview-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 36px;
}

.preview-heading p {
  margin: 0;
  color: var(--ice-deep);
  font-family: "SF Mono", "Cascadia Code", monospace;
  font-size: 11px;
  font-weight: 900;
}

.preview-heading h2 {
  max-width: 760px;
  margin: 14px 0 0;
  color: var(--ink);
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", Georgia, serif;
  font-size: 42px;
  font-weight: 850;
  line-height: 1.2;
}

.mobile-only {
  display: none;
}

.proof-shell {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid #b8c5bf;
  border-radius: 8px;
  background: var(--paper-2);
  box-shadow: 0 26px 74px rgba(23, 48, 41, 0.14);
}

.proof-rail {
  display: grid;
  align-content: start;
  gap: 8px;
  border-right: 1px solid rgba(131, 231, 241, 0.15);
  background: var(--night-2);
  padding: 16px;
}

.proof-rail button {
  position: relative;
  display: grid;
  min-height: 136px;
  gap: 11px;
  align-content: center;
  overflow: hidden;
  border: 1px solid rgba(248, 251, 248, 0.1);
  border-radius: 5px;
  background: rgba(248, 251, 248, 0.025);
  color: rgba(248, 251, 248, 0.66);
  cursor: pointer;
  padding: 18px 18px 18px 21px;
  text-align: left;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.proof-rail button::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: transparent;
}

.proof-rail button:hover {
  border-color: rgba(131, 231, 241, 0.26);
  background: rgba(131, 231, 241, 0.05);
}

.proof-rail button[aria-selected="true"] {
  border-color: rgba(131, 231, 241, 0.4);
  background: #102a26;
  color: var(--white);
}

.proof-rail button[aria-selected="true"]::before {
  background: var(--ice);
  box-shadow: 0 0 18px rgba(131, 231, 241, 0.56);
}

.proof-index {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--ice);
  font-family: "SF Mono", "Cascadia Code", monospace;
  font-size: 11px;
  font-weight: 900;
}

.proof-index i {
  border: 1px solid rgba(216, 173, 74, 0.36);
  border-radius: 3px;
  color: #e1c275;
  font-family: "Avenir Next", "Helvetica Neue", sans-serif;
  font-size: 9px;
  font-style: normal;
  padding: 3px 6px;
}

.proof-rail button strong,
.proof-rail button small {
  display: block;
}

.proof-rail button strong {
  color: inherit;
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", Georgia, serif;
  font-size: 18px;
  font-weight: 850;
  line-height: 1.45;
}

.proof-rail button small {
  color: rgba(248, 251, 248, 0.38);
  font-size: 10px;
  font-weight: 750;
}

.proof-view {
  min-width: 0;
  background: #f7faf7;
}

.proof-toolbar {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  background: #e5ece8;
  color: #55645d;
  padding: 12px 20px;
}

.proof-toolbar span {
  font-size: 11px;
  font-weight: 900;
}

.proof-toolbar span i {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: #58c785;
  box-shadow: 0 0 14px rgba(88, 199, 133, 0.7);
  animation: live-pulse 1.8s ease-in-out infinite;
}

@keyframes live-pulse {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 1; }
}

.proof-panels {
  display: flex;
  min-height: 715px;
  align-items: center;
  padding: 26px;
}

.proof-panel {
  width: 100%;
  margin: 0;
  animation: proof-enter 220ms ease both;
}

@keyframes proof-enter {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.proof-shot {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid #d2dad6;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(20, 50, 41, 0.13);
  cursor: zoom-in;
}

.proof-shot::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.7);
  pointer-events: none;
}

.proof-shot img {
  width: 100%;
  height: auto;
}

.proof-panel figcaption {
  display: grid;
  gap: 8px;
  margin: 18px 2px 0;
}

.proof-panel figcaption span {
  color: #718078;
  font-size: 11px;
}

.proof-panel figcaption b {
  color: var(--ice-deep);
}

.proof-panel figcaption strong {
  color: var(--ink);
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", Georgia, serif;
  font-size: 20px;
  font-weight: 850;
  line-height: 1.45;
}

.proof-footer {
  display: flex;
  min-height: 96px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid rgba(131, 231, 241, 0.14);
  background: var(--night-2);
  padding: 18px 22px;
}

.proof-footer p {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  max-width: 480px;
  margin: 0;
}

.proof-footer p strong {
  color: var(--ice);
  font-family: "SF Mono", "Cascadia Code", monospace;
  font-size: 13px;
  white-space: nowrap;
}

.proof-footer p span {
  color: rgba(248, 251, 248, 0.5);
  font-size: 10px;
  line-height: 1.6;
}

.action-console {
  min-height: 42px;
  border-color: var(--ice);
  background: var(--ice);
  color: #071315;
  font-size: 12px;
  padding: 11px 17px;
}

.action-console:hover {
  background: #b4f2f7;
}

.join-section {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(131, 231, 241, 0.18);
  background: #0b2532;
  color: var(--white);
  padding: 88px 0;
}

.join-section::before {
  content: "SNOW TIGER";
  position: absolute;
  right: -18px;
  bottom: -18px;
  color: rgba(131, 231, 241, 0.06);
  font-family: "Arial Black", "Helvetica Neue", sans-serif;
  font-size: 94px;
  font-weight: 900;
  pointer-events: none;
  white-space: nowrap;
}

.join-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 170px;
  gap: 72px;
  align-items: center;
}

.join-overline {
  margin: 0;
  border-left: 4px solid var(--amber);
  color: #e7ca83;
  font-size: 12px;
  font-weight: 850;
  padding: 4px 0 4px 11px;
}

.join-section h2 {
  margin: 24px 0 0;
  color: var(--white);
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", Georgia, serif;
  font-size: 44px;
  font-weight: 850;
  line-height: 1.2;
}

.join-section div > p:not(.join-overline) {
  max-width: 660px;
  margin: 17px 0 0;
  color: rgba(248, 251, 248, 0.62);
  font-size: 15px;
  line-height: 1.8;
}

.action-light {
  margin-top: 26px;
  background: var(--white);
  color: #0b2532;
}

.action-light:hover {
  background: #dff4f5;
}

.join-qr {
  display: grid;
  justify-items: center;
  margin: 0;
  opacity: 0.76;
  transition: opacity 160ms ease;
}

.join-qr:hover {
  opacity: 1;
}

.join-qr img {
  width: 150px;
  height: 150px;
  border: 8px solid #fff;
  border-radius: 6px;
  background: #fff;
}

.join-qr figcaption {
  margin-top: 10px;
  color: rgba(248, 251, 248, 0.44);
  font-size: 10px;
}

.landing-footer {
  border-top: 1px solid rgba(131, 231, 241, 0.1);
  background: var(--night);
  color: rgba(248, 251, 248, 0.48);
}

.footer-inner {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  font-size: 11px;
}

.footer-inner p {
  margin: 0;
  text-align: right;
}

.mobile-join {
  display: none;
}

@media (max-width: 980px) {
  .landing-hero::after {
    right: 22%;
  }

  .hero-emblem {
    right: -180px;
    opacity: 0.42;
  }

  .landing-hero h1 {
    max-width: 660px;
    font-size: 64px;
  }

  .hero-statement {
    font-size: 27px;
  }
}

@media (max-width: 760px) {
  body {
    padding-bottom: 66px;
  }

  .landing-shell {
    width: calc(100vw - 32px);
  }

  .header-inner {
    min-height: 62px;
  }

  .landing-brand {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 9px;
  }

  .landing-brand img {
    width: 34px;
    height: 34px;
  }

  .landing-brand strong {
    font-size: 14px;
  }

  .landing-brand small {
    font-size: 9px;
  }

  .header-cta {
    min-height: 34px;
    font-size: 11px;
    padding: 8px 11px;
  }

  .landing-hero {
    min-height: max(690px, calc(100svh - 18px));
    padding: 106px 0 184px;
  }

  .landing-hero::before {
    right: -104px;
    bottom: 148px;
    font-size: 62px;
  }

  .landing-hero::after {
    top: 62px;
    right: 24px;
    bottom: 142px;
  }

  .hero-emblem {
    top: 72px;
    right: -126px;
    width: 430px;
    height: 430px;
    opacity: 0.35;
    transform: none;
    animation: none;
  }

  .hero-emblem::before {
    display: none;
  }

  .hero-overline {
    font-size: 10px;
  }

  .landing-hero h1 {
    max-width: 100%;
    margin-top: 24px;
    font-size: 40px;
    line-height: 1.12;
  }

  .hero-statement {
    margin-top: 20px;
    font-size: 23px;
  }

  .hero-copy {
    margin-top: 17px;
    font-size: 14px;
    line-height: 1.72;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 24px;
  }

  .action {
    width: 100%;
  }

  .hero-role {
    display: none;
  }

  .hero-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 142px;
  }

  .hero-metrics div,
  .hero-metrics div:first-child {
    border-right: 0;
    padding: 10px 12px;
  }

  .hero-metrics div:nth-child(odd) {
    border-right: 1px solid rgba(131, 231, 241, 0.14);
    padding-left: 0;
  }

  .hero-metrics strong {
    font-size: 21px;
  }

  .preview-section {
    padding: 68px 0 72px;
  }

  .preview-heading {
    display: grid;
    gap: 18px;
    margin-bottom: 26px;
  }

  .preview-heading h2 {
    font-size: 32px;
  }

  .mobile-only {
    display: block;
  }

  .proof-shell {
    grid-template-columns: 1fr;
  }

  .proof-rail {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(230px, 82vw);
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(131, 231, 241, 0.15);
    padding: 10px;
    scroll-snap-type: x mandatory;
  }

  .proof-rail button {
    min-height: 116px;
    gap: 8px;
    padding: 14px 14px 14px 17px;
    scroll-snap-align: start;
  }

  .proof-rail button strong {
    font-size: 16px;
  }

  .proof-toolbar {
    display: grid;
    min-height: 0;
    gap: 5px;
    padding: 12px 14px;
  }

  .proof-panels {
    min-height: 365px;
    padding: 14px;
  }

  .proof-panel figcaption {
    gap: 6px;
    margin-top: 13px;
  }

  .proof-panel figcaption span {
    font-size: 9px;
    line-height: 1.5;
  }

  .proof-panel figcaption strong {
    font-size: 17px;
  }

  .proof-footer {
    display: grid;
    min-height: 0;
    gap: 16px;
    padding: 18px 14px;
  }

  .proof-footer p {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .action-console {
    width: 100%;
  }

  .join-section {
    padding: 68px 0;
  }

  .join-section::before {
    right: -72px;
    font-size: 58px;
  }

  .join-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .join-section h2 {
    font-size: 34px;
  }

  .join-qr {
    justify-self: center;
    opacity: 0.66;
  }

  .join-qr img {
    width: 126px;
    height: 126px;
  }

  .footer-inner {
    min-height: 108px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 9px;
  }

  .footer-inner p {
    text-align: left;
    line-height: 1.6;
  }

  .mobile-join {
    position: fixed;
    z-index: 90;
    right: 12px;
    bottom: 10px;
    left: 12px;
    display: flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 4px;
    background: #bf8f2e;
    box-shadow: 0 14px 30px rgba(3, 13, 15, 0.34);
    color: var(--white);
    font-size: 14px;
    font-weight: 900;
    opacity: 0;
    pointer-events: none;
    transform: translateY(74px);
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .mobile-join.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
}

@media (max-width: 360px) {
  .landing-hero h1 {
    font-size: 35px;
  }

  .hero-statement {
    font-size: 21px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
