:root {
  --bg: #ffffff;
  --surface: #fff8f2;
  --surface-strong: #f4f8f8;
  --surface-dark: #0c1519;
  --text: #111a22;
  --muted: #5c6670;
  --line: rgba(17, 26, 34, 0.12);
  --accent: #ff5b2e;
  --accent-deep: #ef4720;
  --teal: #0f5a5a;
  --shadow: 0 20px 70px rgba(17, 26, 34, 0.12);
  --container: min(1200px, calc(100vw - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.84);
  border-bottom: 1px solid rgba(17, 26, 34, 0.06);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 24px;
}

.brand {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-accent {
  color: var(--accent);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.96rem;
  color: var(--muted);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.nav-cta {
  border: 0;
  padding: 12px 18px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--text);
  transition: transform 0.24s ease, opacity 0.24s ease;
}

.hero {
  position: relative;
  overflow: clip;
  padding: 54px 0 32px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 16%, rgba(255, 91, 46, 0.12), transparent 30%),
    radial-gradient(circle at 78% 20%, rgba(15, 90, 90, 0.12), transparent 28%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 40px;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding: 42px 0;
}

.section-label {
  margin: 0 0 18px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--accent);
}

.hero h1 {
  margin: 0;
  font-size: clamp(3.8rem, 8vw, 6.4rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero h1 span {
  color: var(--accent);
}

.hero-lead {
  max-width: 560px;
  margin: 28px 0 0;
  font-size: 1.16rem;
  line-height: 1.8;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 26px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 1rem;
  appearance: none;
}

.button-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 16px 30px rgba(255, 91, 46, 0.22);
}

.button-secondary {
  border-color: rgba(255, 91, 46, 0.35);
  background: rgba(255, 255, 255, 0.88);
}

.button:disabled {
  opacity: 0.72;
  cursor: wait;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.meta-item strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}

.meta-item span {
  color: var(--muted);
  font-size: 0.96rem;
}

.hero-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-visual {
  position: relative;
  min-height: 780px;
}

.hero-backdrop {
  position: absolute;
  inset: 40px 0 0 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.62) 2%, rgba(255, 255, 255, 0.08) 38%, rgba(17, 26, 34, 0.14) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0) 45%, rgba(15, 90, 90, 0.28) 100%);
}

.hero-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-stack {
  position: absolute;
  inset: 0;
}

.phone-card {
  position: absolute;
  width: clamp(190px, 22vw, 270px);
  padding: 14px 14px 18px;
  border-radius: 42px;
  background: #0f1418;
  box-shadow: 0 26px 50px rgba(12, 21, 25, 0.32);
}

.phone-card::before {
  content: "";
  display: block;
  width: 86px;
  height: 22px;
  margin: 0 auto 14px;
  border-radius: 999px;
  background: #050709;
}

.phone-screen {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  aspect-ratio: 9 / 19;
  background: #dfe5e7;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-screen-login img {
  transform: scale(1.08);
  transform-origin: center;
}

.screen-brand-overlay {
  position: absolute;
  inset: 0 0 auto;
  height: 34%;
  display: flex;
  align-items: flex-end;
  padding: 0 20px 20px;
  background: linear-gradient(180deg, #030507 0%, #030507 78%, rgba(3, 5, 7, 0) 100%);
}

.screen-brand-overlay span {
  color: #ffffff;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0;
}

.phone-card p {
  margin: 14px 6px 0;
  color: #f3f7f7;
  font-size: 0.94rem;
  font-weight: 600;
}

.phone-card-left {
  left: 4%;
  bottom: 130px;
  transform: rotate(-5deg);
}

.phone-card-center {
  left: 34%;
  top: 38px;
  z-index: 2;
}

.phone-card-right {
  right: 4%;
  bottom: 100px;
  transform: rotate(4deg);
}

.manifesto {
  border-top: 1px solid rgba(17, 26, 34, 0.08);
  border-bottom: 1px solid rgba(17, 26, 34, 0.08);
  background: linear-gradient(180deg, rgba(255, 248, 242, 0.7), rgba(255, 255, 255, 0.9));
}

.manifesto-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  padding: 26px 0;
}

.manifesto-row strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}

.manifesto-row span {
  color: var(--muted);
  font-size: 0.98rem;
}

.section {
  padding: 110px 0;
}

.section-heading h2 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(2.3rem, 4.2vw, 4rem);
  line-height: 1.04;
}

.section-heading p:last-child {
  max-width: 640px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.85;
}

.section-heading-wide h2,
.section-heading-wide p:last-child {
  max-width: 920px;
}

.section-experience {
  background: #fff;
}

.experience-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  gap: 48px;
  align-items: end;
}

.experience-media {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.experience-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 48px;
  border-top: 1px solid var(--line);
}

.pillar {
  padding: 32px 28px 0 0;
}

.pillar + .pillar {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.pillar-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  color: var(--teal);
}

.pillar-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pillar h3,
.flow-list h3,
.use-case-grid h3,
.privacy-list h3,
.contact-panel h3 {
  margin: 0;
  font-size: 1.4rem;
}

.pillar p,
.flow-list p,
.use-case-grid p,
.privacy-list p,
.contact-panel p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
}

.gameplay {
  background: var(--surface-dark);
  color: #f5f8fa;
}

.gameplay .section-label {
  color: #ff8f6d;
}

.gameplay .section-heading p:last-child,
.gameplay .flow-list p,
.gameplay figcaption {
  color: rgba(245, 248, 250, 0.72);
}

.gameplay-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 44px;
  align-items: start;
}

.flow-list {
  display: grid;
  gap: 28px;
  margin-top: 34px;
}

.flow-list article {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.flow-list span {
  font-size: 1rem;
  font-weight: 700;
  color: #ff8f6d;
}

.screen-wall {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 18px;
}

.screen-wall figure {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.screen-tall {
  grid-row: span 2;
}

.screen-wall img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.screen-tall img {
  aspect-ratio: 0.68;
}

.screen-small img {
  aspect-ratio: 1.18;
}

.screen-wall figcaption {
  padding: 14px 16px 16px;
  font-size: 0.95rem;
}

.use-cases {
  background: linear-gradient(180deg, #fff 0%, var(--surface) 100%);
}

.use-case-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 40px;
}

.use-case-grid article,
.privacy-list article {
  min-height: 100%;
  padding: 22px 22px 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.privacy {
  background: var(--surface-strong);
}

.privacy-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 42px;
}

.privacy-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.about {
  background: #fff;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 420px);
  gap: 42px;
  align-items: start;
}

.contact-panel {
  padding: 28px;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 91, 46, 0.08), rgba(15, 90, 90, 0.08));
  border: 1px solid rgba(255, 91, 46, 0.16);
}

.contact-panel a {
  display: inline-block;
  margin-top: 12px;
  font-size: 1.26rem;
  font-weight: 700;
}

.contact-button {
  margin-top: 22px;
}

.status-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.status-list span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(17, 26, 34, 0.08);
  font-size: 0.92rem;
  color: var(--muted);
}

.faq {
  background: linear-gradient(180deg, rgba(255, 248, 242, 0.5), #fff 100%);
}

.faq-shell {
  display: grid;
  gap: 38px;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  padding: 0 22px;
}

.faq-list summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 22px 38px 22px 0;
  font-size: 1.06rem;
  font-weight: 700;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 18px;
  right: 0;
  font-size: 1.6rem;
  color: var(--accent);
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list p {
  margin: 0 0 22px;
  color: var(--muted);
  line-height: 1.8;
}

.site-footer {
  padding: 34px 0 26px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-shell {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
}

.footer-brand {
  font-size: 1.6rem;
}

.site-footer p {
  max-width: 520px;
  margin: 14px 0 0;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
  text-align: right;
  color: var(--muted);
}

.copyright {
  width: var(--container);
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.beian-block {
  width: 100%;
  margin: 14px auto 0;
  text-align: center;
}

.beian-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.92rem;
}

.beian-link:hover,
.beian-link:focus-visible {
  color: var(--text);
}

.body-modal-open {
  overflow: hidden;
}

.waitlist-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 18px;
}

.waitlist-modal[hidden] {
  display: none;
}

.waitlist-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 16, 21, 0.6);
  backdrop-filter: blur(10px);
}

.waitlist-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 28px;
  width: min(920px, calc(100vw - 36px));
  padding: 34px;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 32px 90px rgba(8, 16, 21, 0.24);
}

.waitlist-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.waitlist-close span {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 18px;
  height: 2px;
  background: var(--text);
}

.waitlist-close span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.waitlist-close span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.waitlist-intro h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.06;
}

.waitlist-intro p:last-child {
  margin: 20px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.waitlist-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field {
  display: grid;
  gap: 10px;
}

.field span {
  font-size: 0.94rem;
  font-weight: 700;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid rgba(17, 26, 34, 0.12);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  padding: 15px 16px;
  outline: 0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field textarea {
  resize: vertical;
  min-height: 170px;
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(255, 91, 46, 0.6);
  box-shadow: 0 0 0 4px rgba(255, 91, 46, 0.1);
}

.field-full {
  grid-column: 1 / -1;
}

.waitlist-actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.waitlist-status {
  min-height: 1.5em;
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.waitlist-status.is-error {
  color: #c7391a;
}

.waitlist-status.is-success {
  color: var(--teal);
}

@media (max-width: 1180px) {
  .hero-grid,
  .experience-grid,
  .gameplay-grid,
  .privacy-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 720px;
  }

  .hero-copy {
    padding-bottom: 0;
  }

  .use-case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  :root {
    --container: min(100vw - 32px, 760px);
  }

  .site-header {
    background: rgba(255, 255, 255, 0.96);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 16px;
    left: 16px;
    display: none;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  .hero {
    padding-top: 24px;
  }

  .hero-meta,
  .manifesto-row,
  .pillars,
  .privacy-list {
    grid-template-columns: 1fr;
  }

  .pillar {
    padding: 26px 0 0;
  }

  .pillar + .pillar {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .hero-visual {
    min-height: 860px;
  }

  .hero-backdrop {
    inset: 22px 0 0;
  }

  .phone-card-left {
    left: 0;
    bottom: 180px;
  }

  .phone-card-center {
    left: 50%;
    transform: translateX(-50%);
  }

  .phone-card-right {
    right: 0;
    bottom: 110px;
  }

  .screen-wall,
  .use-case-grid {
    grid-template-columns: 1fr;
  }

  .waitlist-panel,
  .waitlist-form {
    grid-template-columns: 1fr;
  }

  .screen-tall {
    grid-row: auto;
  }

  .screen-small img,
  .screen-tall img {
    aspect-ratio: 0.9;
  }

  .footer-shell {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    align-items: flex-start;
    text-align: left;
  }
}

@media (max-width: 640px) {
  :root {
    --container: calc(100vw - 24px);
  }

  .nav-shell {
    min-height: 70px;
  }

  .brand {
    font-size: 1.65rem;
  }

  .hero h1 {
    font-size: clamp(3rem, 15vw, 4.4rem);
  }

  .hero-lead {
    font-size: 1rem;
  }

  .button {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-visual {
    min-height: 900px;
  }

  .phone-card {
    width: min(56vw, 240px);
    padding: 10px 10px 14px;
    border-radius: 34px;
  }

  .phone-card::before {
    width: 74px;
    height: 18px;
    margin-bottom: 10px;
  }

  .phone-screen {
    border-radius: 24px;
  }

  .phone-card-left {
    left: 2px;
    bottom: 170px;
  }

  .phone-card-center {
    top: 10px;
  }

  .phone-card-right {
    right: 2px;
    bottom: 80px;
  }

  .section {
    padding: 84px 0;
  }

  .section-heading h2 {
    font-size: clamp(2rem, 9vw, 2.8rem);
  }

  .flow-list article {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .contact-panel {
    padding: 22px;
  }

  .waitlist-panel {
    width: calc(100vw - 20px);
    padding: 22px;
  }

  .waitlist-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

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

  * {
    animation: none !important;
    transition: none !important;
  }
}
