/* AwakePlay Editorial System — adapted from the creator's Desktop/ap design. */
:root {
  --bg:#f7f5f1;
  --surface:#fbfaf7;
  --surface-muted:#eeece6;
  --text:#101110;
  --text-muted:#6f6e68;
  --border:#dedbd4;
  --ease:cubic-bezier(.22,1,.36,1);
  color-scheme:light;
  font-family:Arial,"PingFang SC","Microsoft YaHei",sans-serif;
  color:var(--text);
  background:var(--bg)
}

* {
  box-sizing:border-box
}

html {
  scroll-behavior:smooth;
  scroll-padding-top:32px
}

body {
  margin:0
}

html[lang=zh-CN] body {
  font-family:"Noto Sans SC","Microsoft YaHei","PingFang SC",sans-serif;
}

html[lang=zh-CN] .awake-logo {
  font-family:"Noto Sans SC","Microsoft YaHei",sans-serif;
  font-weight:800;
  letter-spacing:-.1em;
}

html[lang=zh-CN] .main-nav a,html[lang=zh-CN] .sign-in {
  letter-spacing:0;
}

html[lang=zh-CN] .hero-actions .button {
  letter-spacing:-.03em;
}

html[lang=zh-CN] .teaser-item p,html[lang=zh-CN] .site-footer {
  letter-spacing:-.02em;
}

html[lang=zh-CN] .teaser-intro h2,html[lang=zh-CN] .publish-intro h2 {
  font-family:"Noto Serif SC","STKaiti",serif;
  font-weight:600;
  letter-spacing:-.1em;
}

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

button,textarea {
  font:inherit
}

button,a {
  -webkit-tap-highlight-color:transparent
}

button {
  cursor:pointer;
  color:inherit;
  border:0
}

button,textarea {
  border-radius:5px
}

a:focus-visible,button:focus-visible,textarea:focus-visible {
  outline:2px solid var(--text);
  outline-offset:5px
}

::selection {
  background:#d5dfd5
}

[hidden] {
  display:none!important
}

p,h1,h2 {
  margin-top:0
}

.skip-link {
  position:fixed;
  top:12px;
  left:12px;
  z-index:30;
  width:1px;
  height:1px;
  padding:0;
  overflow:hidden;
  clip-path:inset(50%);
  white-space:nowrap;
  background:var(--text);
  color:white;
}

.skip-link:focus-visible {
  width:auto;
  height:auto;
  padding:14px;
  overflow:visible;
  clip-path:none;
}

.button {
  min-height:52px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:30px;
  padding:0 24px;
  border:1px solid transparent;
  border-radius:5px;
  font-size:14px;
  font-weight:500;
  transition:background 220ms,color 220ms,transform 220ms;
  white-space:nowrap
}

.button--primary {
  background:var(--text);
  color:var(--surface)
}

.button--primary:hover {
  background:#363731
}

.button--text {
  background:transparent;
  padding:0 8px;
  gap:12px
}

.button--text:hover {
  background:var(--surface-muted)
}

.play-icon {
  font-size:13px
}

.eyebrow {
  font-size:10px;
  letter-spacing:.13em;
  font-weight:400;
  line-height:1.5
}

.top-nav {
  height:108px;
  display:flex;
  align-items:center;
  padding:0 4%;
  gap:8%;
  position:relative;
  z-index:10
}

.awake-logo {
  font-size:31px;
  letter-spacing:-.065em;
  font-weight:900;
  line-height:1;
  white-space:nowrap
}

.main-nav {
  display:flex;
  align-items:center;
  gap:36px
}

.main-nav a,.sign-in {
  min-height:44px;
  display:inline-flex;
  align-items:center;
  font-size:13px;
  white-space:nowrap
}

.main-nav a:hover,.sign-in:hover,.text-link:hover,.footer-links a:hover {
  text-decoration:underline;
  text-underline-offset:5px
}

.nav-actions {
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:22px
}

.language-switch {
  min-width:44px;
  min-height:44px;
  background:transparent;
  color:var(--text-muted);
  font-size:11px
}

.language-switch:hover {
  background:var(--surface-muted)
}

.nav-publish {
  min-width:103px;
  min-height:44px
}

.mobile-menu {
  display:none;
  background:transparent;
  min-width:44px;
  min-height:44px;
  padding:12px
}

.mobile-menu span {
  display:block;
  height:1px;
  width:20px;
  background:var(--text);
  margin:6px auto
}

.hero {
  min-height:740px;
  height:calc(100svh - 108px);
  max-height:1000px;
  position:relative;
  overflow:hidden;
  isolation:isolate
}

.hero-copy {
  position:relative;
  z-index:2;
  padding:clamp(70px,9.7vh,118px) 0 0 4%;
  width:60%;
  pointer-events:none
}

.hero-copy a {
  pointer-events:auto
}

.editorial-heading {
  font-size:clamp(76px,7.85vw,126px);
  font-weight:900;
  line-height:.91;
  letter-spacing:-.078em;
  margin:0 0 29px
}

.editorial-heading span {
  display:block;
  white-space:nowrap
}

html[lang=zh-CN] .editorial-heading {
  font-family:"Noto Serif SC","STKaiti",serif;
  font-size:clamp(64px,6.5vw,104px);
  font-weight:650;
  letter-spacing:-.08em;
  line-height:1.15;
  margin-bottom:25px
}

html[lang=zh-CN] .hero-description {
  max-width:470px;
  font-size:clamp(17px,1.38vw,21px);
  line-height:1.65;
  letter-spacing:-.055em;
}

.hero-description {
  color:var(--text-muted);
  font-size:clamp(16px,1.35vw,21px);
  line-height:1.6;
  letter-spacing:-.025em;
  max-width:540px;
  margin-bottom:0
}

.hero-actions {
  display:flex;
  align-items:center;
  gap:19px;
  margin-top:31px
}

.hero-actions .button--primary {
  min-width:200px;
  justify-content:space-between
}

.playable-field {
  position:absolute;
  inset:0;
  z-index:0;
  overflow:hidden
}

.playable-field::after {
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(90deg,var(--bg) 0%,#f7f5f1ed 27%,#f7f5f18c 40%,#f7f5f100 56%),linear-gradient(0deg,var(--bg) 0%,#f7f5f100 15%,#f7f5f100 91%,#f7f5f1a0 100%)
}

.field-plane {
  display:grid;
  grid-template-columns:repeat(4,226px);
  grid-template-rows:repeat(6,190px);
  gap:20px;
  width:964px;
  position:absolute;
  left:calc(50% + 234px);
  top:-134px;
  transform:matrix(.9,.31,-.67,.67,0,0);
  transform-origin:top left
}

.field-tile {
  position:relative;
  border:1px solid #ffffffa0;
  background:var(--surface-muted);
  border-radius:9px;
  box-shadow:0 2px 2px #37352a10,0 12px 22px -13px #37352a55;
  overflow:hidden;
  transition:transform 600ms var(--ease),box-shadow 600ms var(--ease)
}

.field-tile:hover {
  transform:translateY(-7px) rotate(.6deg);
  box-shadow:0 2px 1px #ffffffa0,0 23px 30px -13px #37352a70
}

.r1 {
  grid-row:1
}

.r2 {
  grid-row:2
}

.r3 {
  grid-row:3
}

.r4 {
  grid-row:4
}

.r5 {
  grid-row:5
}

.r6 {
  grid-row:6
}

.c1 {
  grid-column:1
}

.c2 {
  grid-column:2
}

.c3 {
  grid-column:3
}

.c4 {
  grid-column:4
}

.cover-art,.featured-art {
  display:block;
  width:100%;
  height:100%
}

.field-tile>.cover-art {
  filter:grayscale(1);
  opacity:.77
}

.tile-dots {
  background-color:#eeece6;
  background-image:radial-gradient(circle,#b7b3a980 1.5px,transparent 1.7px);
  background-size:20px 20px;
  background-position:center;
  background-clip:content-box;
  padding:40px 55px
}

.tile-line,.tile-circle {
  display:grid;
  place-items:center
}

.tile-line::after {
  content:"";
  width:45px;
  height:1px;
  background:#96948a;
  transform:translateY(40px)
}

.tile-circle::after {
  content:"";
  width:70px;
  height:70px;
  border-radius:50%;
  background:#55564f
}

.tile-circle.dark {
  background:#353631
}

.tile-circle.dark::after {
  width:100px;
  height:100px;
  border:1px solid #cac8bb;
  background:transparent
}

.tile-words {
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  font-size:11px;
  letter-spacing:.4em;
  line-height:2.1;
  color:#494941
}

.tile-words span {
  display:block;
  margin:20px auto 0;
  width:26px;
  height:1px;
  background:#494941
}

.field-tile--featured {
  grid-column:2 / span 2;
  grid-row:3 / span 2;
  z-index:2;
  background:#85b4c5;
  box-shadow:0 2px 1px #ffffffa0,0 23px 30px -13px #37352a70;
  color:#fff
}

.playable-card-shade {
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,#174a5a60,transparent 48%,#143e424a)
}

.playable-card-copy {
  position:absolute;
  left:28px;
  top:28px;
  display:flex;
  flex-direction:column;
  gap:5px
}

.playable-card-label {
  font-size:8px;
  letter-spacing:.18em;
  margin-bottom:9px
}

.playable-card-copy strong {
  font-size:29px;
  font-weight:550;
  letter-spacing:-.045em
}

.playable-card-copy>span:last-child {
  font-size:14px
}

.playable-card-bottom {
  position:absolute;
  bottom:22px;
  left:25px;
  right:25px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  font-size:10px;
  letter-spacing:.12em
}

.world-symbol {
  width:48px;
  height:48px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:var(--surface);
  color:#243f3f;
  font-size:27px
}

.hero-bottom {
  position:absolute;
  bottom:22px;
  left:4%;
  right:4%;
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:2
}

.scroll-cue {
  display:grid;
  place-items:center;
  width:46px;
  height:46px;
  border:1px solid var(--border);
  border-radius:50%;
  color:var(--text-muted);
  background:var(--bg);
  transition:background 180ms,color 180ms
}

.scroll-cue:hover {
  background:var(--surface-muted);
  color:var(--text)
}

.scroll-cue svg {
  width:20px;
  height:20px;
  stroke:currentColor;
  stroke-width:1.4;
  stroke-linecap:round;
  stroke-linejoin:round
}

.product-teaser {
  display:grid;
  grid-template-columns:1.4fr repeat(3,1fr);
  gap:25px;
  align-items:center;
  margin:0 4%;
  padding:42px 0;
  border-top:1px solid var(--border);
  scroll-margin-top:20px
}

.teaser-intro .eyebrow {
  font-size:9px;
  letter-spacing:.1em;
  color:var(--text-muted)
}

.teaser-intro h2 {
  font-size:27px;
  letter-spacing:-.045em;
  font-weight:500;
  margin:12px 0 0
}

.teaser-item {
  padding-left:22px;
  border-left:1px solid var(--border)
}

.teaser-item>span {
  font-size:10px;
  letter-spacing:.09em;
  color:var(--text-muted)
}

.teaser-item p {
  font-size:13px;
  line-height:1.65;
  margin:13px 0 0
}

.publish-section {
  margin:0 4%;padding:64px 0 60px;border-top:1px solid var(--border);scroll-margin-top:24px
}
.publish-intro { margin-bottom:32px;max-width:850px }
.publish-intro .eyebrow { font-size:12px;letter-spacing:.06em;color:var(--text-muted);margin:0 0 16px }
.publish-intro h2 { font-size:clamp(28px,3vw,42px);font-weight:550;line-height:1.35;letter-spacing:-.04em;margin:0 0 16px }
.publish-intro>p:not(.eyebrow) { font-size:16px;color:#62635c;line-height:1.8;margin:0 }

.site-footer {
  margin:0 4%;
  padding:18px 0;
  border-top:1px solid var(--border);
  display:flex;
  align-items:center;
  gap:28px;
  font-size:11px;
  color:var(--text-muted)
}

.footer-brand {
  color:var(--text);
  min-height:44px;
  display:flex;
  align-items:center
}

.footer-links {
  margin-left:auto;
  display:flex;
  gap:25px
}

.footer-links a {
  display:inline-flex;
  align-items:center;
  min-height:44px
}

.noscript-note {
  padding:20px 4%;
  font-size:13px
}

.noscript-note a {
  text-decoration:underline
}

.error-page {
  min-height:80svh;
  padding:120px 8%
}

.error-page .awake-logo {
  display:block;
  margin-bottom:80px
}

.error-page h1 {
  font-size:clamp(38px,6vw,76px);
  letter-spacing:-.05em
}

.error-page .eyebrow {
  color:var(--text-muted)
}

@keyframes wake {
  from {
    opacity:0;
    transform:translateY(12px)
  }
  to {
    opacity:1;
    transform:translateY(0)
  }
}

.hero-copy {
  animation:wake 650ms var(--ease) both
}

@media(min-width:1600px) {
  .field-plane {
    left:calc(50% + 180px);
    top:-90px;
    transform:matrix(1.02,.35,-.76,.76,0,0)
  }
  .hero-copy {
    padding-top:110px
  }
}

@media(max-width:1150px) {
  .top-nav {
    height:96px;
    gap:6%
  }
  .main-nav {
    gap:24px
  }
  .nav-actions {
    gap:15px
  }
  .hero {
    min-height:700px;
    height:calc(100svh - 96px)
  }
  .hero-copy {
    padding-top:80px
  }
  .editorial-heading {
    font-size:clamp(70px,8.1vw,95px)
  }
  html[lang=zh-CN] .editorial-heading {
    font-size:clamp(50px,6.4vw,74px)
  }
  .hero-description {
    font-size:16px;
    max-width:430px
  }
  .field-plane {
    left:calc(50% + 170px);
    top:-40px;
    transform:matrix(.77,.28,-.56,.57,0,0)
  }
  .hero-actions {
    gap:7px
  }
  .hero-actions .button--primary {
    min-width:175px;
    padding:0 19px;
    gap:20px
  }
  .hero-actions .button--text {
    font-size:13px
  }
  .publish-section {
    gap:30px 5%
  }
}

@media(max-width:800px) {
  .top-nav {
    height:83px;
    padding:0 6%;
    gap:12px
  }
  .awake-logo {
    font-size:28px
  }
  .nav-actions {
    gap:4px
  }
  .nav-publish {
    min-width:83px;
    padding:0 14px;
    font-size:12px
  }
  .sign-in {
    display:none
  }
  .mobile-menu {
    display:block
  }
  .main-nav {
    display:none;
    position:absolute;
    left:6%;
    right:6%;
    top:74px;
    padding:14px 20px;
    background:var(--surface);
    border:1px solid var(--border);
    border-radius:8px;
    box-shadow:0 12px 22px -13px #37352a55
  }
  .main-nav.is-open {
    display:flex;
    justify-content:space-between;
    gap:12px
  }
  .hero {
    height:auto;
    min-height:0;
    max-height:none;
    display:flex;
    flex-direction:column
  }
  .hero-copy {
    width:100%;
    padding:48px 6% 0
  }
  .editorial-heading {
    font-size:clamp(42px,11.6vw,87px);
    margin-bottom:23px
  }
  html[lang=zh-CN] .editorial-heading {
    font-size:clamp(34px,10.5vw,74px);
    line-height:1.18;
    letter-spacing:-.08em
  }
  html[lang=zh-CN] .hero-description {
    font-size:16px;
    letter-spacing:-.035em;
  }
  .hero-description {
    font-size:15px;
    max-width:490px
  }
  .hero-actions {
    margin-top:25px;
    gap:12px
  }
  .hero-actions .button--primary {
    min-width:164px;
    gap:18px;
    padding:0 18px
  }
  .hero-actions .button--text {
    font-size:12px;
    padding:0
  }
  .playable-field {
    position:relative;
    order:2;
    inset:auto;
    height:415px;
    margin-top:12px;
    width:100%;
    flex-shrink:0
  }
  .field-plane {
    left:calc(50% + 82px);
    top:-181px;
    transform:matrix(.61,.21,-.45,.46,0,0)
  }
  .playable-field::after {
    background:linear-gradient(0deg,var(--bg),transparent 14%,transparent 79%,var(--bg) 100%)
  }
  .hero-bottom {
    position:relative;
    order:3;
    inset:auto;
    margin:0 6% 28px
  }
  .product-teaser {
    margin:0 6%;
    grid-template-columns:1fr;
    gap:25px;
    padding:32px 0
  }
  .teaser-intro {
    margin-bottom:4px
  }
  .teaser-item {
    padding-left:16px;
    display:grid;
    grid-template-columns:100px 1fr;
    align-items:center;
    gap:12px
  }
  .teaser-item p {
    margin:0
  }
  .publish-section {
    margin:0 6%;
    padding:52px 0 36px;
  }
  .publish-intro h2 {
    font-size:30px;
    margin-top:0
  }
  .publish-intro>p:not(.eyebrow) {
    max-width:440px
  }
  .site-footer {
    margin:0 6%;
    flex-wrap:wrap;
    gap:0 18px;
    font-size:10px
  }
  .site-footer>span {
    margin-left:auto
  }
  .footer-links {
    width:100%;
    margin-left:0;
    gap:22px
  }
  .language-switch {
    font-size:10px
  }
}

@media(max-width:380px) {
  .top-nav {
    padding-inline:5%;
    gap:5px
  }
  .awake-logo {
    font-size:25px
  }
  .nav-actions {
    gap:0
  }
  .nav-publish {
    min-width:72px;
    padding:0 10px
  }
  .hero-copy {
    padding-top:35px
  }
  .hero-actions {
    gap:10px
  }
  .hero-actions .button--primary {
    min-width:145px;
    padding:0 14px;
    font-size:13px
  }
  .hero-actions .button--text {
    gap:7px
  }
  .hero-description {
    font-size:14px
  }
  .teaser-item {
    grid-template-columns:85px 1fr
  }
}

@media(max-width:360px) {
  .awake-logo {
    font-size:20px;
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto
  }
  *,*::before,*::after {
    animation:none!important;
    transition:none!important
  }
  .field-tile:hover {
    transform:none
  }
}
