:root {
  --void: #202126;
  --surface: #2a2a31;
  --lavender: #cbb9ff;
  --violet: #7061a6;
  --soft-violet: #aaa0d6;
  --mist: #f4f1ff;
  --muted: #bcb7c9;
  --line: #4a4954;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; color: var(--mist); background: var(--void); font-family: Inter, "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei", Arial, sans-serif; line-height: 1.55; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }

.site-header { min-height: 76px; display: flex; align-items: center; justify-content: space-between; padding: 0 5vw; border-bottom: 1px solid var(--line); background: rgba(32, 33, 38, .96); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 800; letter-spacing: .2px; white-space: nowrap; }
.brand img { width: 34px; height: 34px; object-fit: cover; object-position: center 32%; border-radius: 50%; }
.brand b { color: var(--lavender); }
.site-nav { display: flex; align-items: center; gap: 30px; color: var(--muted); font-size: 14px; font-weight: 600; }
.site-nav > a:not(.nav-cta):hover { color: var(--lavender); }
.nav-cta, .button { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 46px; padding: 0 17px; border: 1px solid var(--lavender); font-size: 14px; font-weight: 800; transition: transform .2s ease, background .2s ease, color .2s ease; }
.nav-cta { color: var(--void); background: var(--lavender); }
.nav-cta:hover, .button:hover { transform: translateY(-2px); }
.menu-toggle { display: none; }

.hero { min-height: 690px; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 6vw; padding: 8vw 5vw 70px; position: relative; border-bottom: 1px solid var(--line); }
.hero-copy, .hero-visual, .section-heading, .rules-copy { min-width: 0; }
.eyebrow { display: flex; align-items: center; gap: 8px; margin: 0 0 18px; color: var(--soft-violet); font-size: 10px; font-weight: 800; letter-spacing: 1.5px; }
.eyebrow span { display: inline-block; width: 8px; height: 8px; background: var(--lavender); }
h1, h2 { font-weight: 800; letter-spacing: 0; line-height: 1.04; }
h1 { margin-bottom: 27px; font-size: clamp(50px, 6.2vw, 88px); }
h1 strong, h2 strong { color: var(--lavender); font-weight: 800; }
.hero-description { max-width: 465px; margin-bottom: 28px; color: var(--muted); font-size: 17px; overflow-wrap: anywhere; }
.button-primary { color: var(--void); background: var(--lavender); }
.button-primary:hover { background: var(--mist); }
.hero-visual { min-height: 435px; position: relative; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); }
.hero-logo { width: min(78%, 390px); aspect-ratio: 1; object-fit: cover; }
.signal { position: absolute; padding: 8px 10px; border: 1px solid var(--lavender); background: var(--void); color: var(--lavender); font-size: 10px; font-weight: 800; letter-spacing: 1px; line-height: 1.25; }
.signal-one { top: 28px; right: -22px; }
.signal-one span { display: inline-block; width: 6px; height: 6px; margin-right: 6px; background: var(--lavender); }
.signal-two { bottom: 28px; left: -22px; color: var(--mist); background: var(--violet); border-color: var(--violet); }
.hero-footer { position: absolute; right: 5vw; bottom: 24px; left: 5vw; display: flex; justify-content: space-between; color: var(--soft-violet); font-size: 10px; font-weight: 800; letter-spacing: 1.2px; }

.section-shell { padding: 122px 5vw; }
.framework { display: grid; grid-template-columns: .83fr 1.17fr; gap: 9vw; }
.section-heading > p:last-child { max-width: 340px; color: var(--muted); font-size: 16px; }
h2 { margin-bottom: 24px; font-size: clamp(42px, 4.7vw, 66px); }
.framework-list { border-top: 1px solid var(--line); }
.framework-item { display: grid; grid-template-columns: 54px 1fr 30px; gap: 18px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.item-index { color: var(--lavender); font-size: 13px; font-weight: 800; }
.framework-item h3 { margin: 0 0 7px; color: var(--mist); font-size: 21px; }
.framework-item p { max-width: 430px; margin: 0; color: var(--muted); font-size: 15px; }
.item-symbol { color: var(--lavender); font-size: 27px; font-weight: 200; text-align: right; }

.scenes { background: var(--lavender); color: var(--void); }
.scenes .eyebrow { color: var(--violet); }
.scenes .eyebrow span { background: var(--violet); }
.scenes h2 strong { color: var(--violet); }
.scenes-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: end; margin-bottom: 54px; }
.scenes-heading .eyebrow { grid-column: 1 / -1; }
.scenes-heading h2 { margin: 0; }
.scenes-heading > p:last-child { max-width: 310px; margin: 0; color: #514b67; }
.scene-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.scene-card { min-height: 300px; padding: 24px; display: flex; flex-direction: column; border: 1px solid #9588bc; background: #dbd1ff; }
.scene-card-accent { background: var(--void); color: var(--mist); border-color: var(--void); }
.scene-label { color: var(--violet); font-size: 11px; font-weight: 800; letter-spacing: 1px; }
.scene-card-accent .scene-label { color: var(--lavender); }
.bad-line { margin: auto 0 13px; color: #786f90; font-size: 14px; text-decoration: line-through; }
.scene-card-accent .bad-line { color: #8d849e; }
.good-line { margin: 0; font-size: 19px; font-weight: 700; line-height: 1.45; }

.rules { display: grid; grid-template-columns: 1fr 1fr; gap: 9vw; align-items: center; }
.rules-visual { min-height: 500px; position: relative; overflow: hidden; display: grid; place-items: center; background: var(--violet); }
.rules-visual img { width: 71%; aspect-ratio: 1; object-fit: cover; opacity: .84; }
.rules-visual p { position: absolute; right: 22px; bottom: 20px; margin: 0; color: var(--lavender); font-size: 11px; font-weight: 800; letter-spacing: 1.2px; line-height: 1.3; text-align: right; }
.rule-list { margin-top: 38px; border-top: 1px solid var(--line); }
.rule-list > div { display: grid; grid-template-columns: 43px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.rule-list b { color: var(--lavender); font-size: 12px; }
.rule-list span { color: var(--muted); font-size: 14px; }
.rule-list strong { display: block; margin-bottom: 4px; color: var(--mist); font-size: 16px; }

.contact { padding: 128px 22px; text-align: center; background: var(--violet); }
.contact .eyebrow { justify-content: center; color: var(--lavender); }
.contact h2 { margin-bottom: 28px; font-size: clamp(43px, 5.1vw, 72px); }
.contact h2 strong { color: var(--lavender); }
.button-light { color: var(--void); background: var(--mist); border-color: var(--mist); }
.site-footer { padding: 28px 5vw 18px; color: var(--muted); font-size: 11px; }
.footer-main { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: center; }
.site-footer .brand { color: var(--mist); font-size: 14px; }
.site-footer p { margin: 0; text-align: center; }
.site-footer p.icp { margin-top: 19px; padding-top: 16px; border-top: 1px solid var(--line); text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }

@media (max-width: 760px) {
  .site-header { min-height: 66px; padding: 0 22px; position: relative; }
  .brand img { width: 30px; height: 30px; }
  .site-nav { display: none; position: absolute; z-index: 10; top: 65px; right: 0; left: 0; padding: 20px 22px 24px; flex-direction: column; align-items: stretch; border-bottom: 1px solid var(--line); background: var(--void); }
  .site-nav.is-open { display: flex; }
  .nav-cta { justify-content: space-between; }
  .menu-toggle { width: 38px; height: 38px; display: grid; align-content: center; gap: 6px; padding: 8px; border: 1px solid var(--line); background: transparent; }
  .menu-toggle span:not(.sr-only) { height: 1px; background: var(--lavender); }
  .hero { min-height: auto; grid-template-columns: minmax(0, 1fr); gap: 48px; padding: 72px 22px 65px; }
  .hero-copy { width: 100%; }
  h1 { font-size: clamp(47px, 13vw, 64px); }
  .hero-description { width: calc(100vw - 44px); max-width: 320px; font-size: 16px; overflow-wrap: anywhere; word-break: break-word; }
  .hero-visual { width: 100%; min-height: 83vw; }
  .signal { display: none; }
  .signal-one { top: 15px; right: 10px; }
  .signal-two { bottom: 15px; left: 10px; }
  .hero-footer { display: none; }
  .section-shell { padding: 82px 22px; }
  .framework, .rules { grid-template-columns: 1fr; gap: 48px; }
  .framework-item { grid-template-columns: 40px 1fr 20px; gap: 10px; }
  .scenes-heading { display: block; margin-bottom: 36px; }
  .scenes-heading h2 { margin-bottom: 16px; }
  .scene-grid { grid-template-columns: 1fr; gap: 10px; }
  .scene-card { min-height: 220px; }
  .rules-visual { min-height: 94vw; }
  .contact { padding: 90px 22px; }
  .site-footer { padding: 24px 22px 16px; }
  .footer-main { grid-template-columns: 1fr; }
  .site-footer p { text-align: left; }
  .site-footer p.icp { text-align: center; }
}
