/* Wu Zong Games: night and gold, one family with Jiu Wu Daily and The Two Knowings, the studio's cyan for links. */
:root {
  --night: #070b18; --deep: #04060e; --panel: #0e1530; --panel-2: #131c3c; --line: rgba(217, 179, 108, 0.22);
  --gold: #d9b36c; --gold-soft: #f1dfb2; --text: #e8eaf2; --muted: #a9b2c9; --cyan: #3ee6ff; --jade: #7fd18b;
  --serif: 'Cormorant Garamond', Georgia, serif; --caps: Cinzel, Georgia, serif; --sans: Inter, system-ui, -apple-system, sans-serif;
  --w: 1120px; --r: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--night); color: var(--text); font: 400 1rem/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); text-underline-offset: 3px; }
a:hover { color: var(--gold-soft); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--night); padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 16px; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 16px; padding: 12px max(16px, calc((100% - var(--w)) / 2));
  background: rgba(7, 11, 24, 0.82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--gold-soft); margin-right: auto; }
.brand img { border-radius: 50%; box-shadow: 0 0 0 1px rgba(62, 230, 255, 0.4), 0 0 18px rgba(62, 230, 255, 0.25); }
.brand span { font: 600 0.92rem var(--caps); letter-spacing: 0.22em; text-transform: uppercase; }
.nav { display: flex; gap: 4px; }
.nav a { color: var(--muted); text-decoration: none; font-size: 0.9rem; padding: 8px 12px; border-radius: 999px; }
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.nav a[aria-current] { color: var(--gold-soft); box-shadow: inset 0 0 0 1px var(--line); }
.navtoggle, .navbtn { display: none; }
@media (max-width: 980px) {
  .navbtn { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; cursor: pointer; border-radius: 10px; }
  .navbtn span { display: block; height: 2px; margin: 0 11px; background: var(--gold-soft); border-radius: 2px; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; padding: 10px 16px 18px; background: rgba(7, 11, 24, 0.97); border-bottom: 1px solid var(--line); }
  .nav a { padding: 12px 10px; font-size: 1rem; }
  .navtoggle:checked ~ .nav { display: flex; }
  .navtoggle { display: block; position: absolute; opacity: 0; width: 44px; height: 44px; right: 16px; margin: 0; cursor: pointer; z-index: 1; }
}

/* Layout */
main { display: block; }
.wrap { max-width: var(--w); margin: 0 auto; padding: 0 16px; }
section { padding: 72px 0; }
.kicker { font: 600 0.72rem var(--caps); letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold); margin: 0 0 10px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; color: #fbf3e0; margin: 0 0 14px; }
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 14px; }
.lead { font-size: 1.12rem; color: #cdd4e6; max-width: 62ch; }
.muted { color: var(--muted); }
.rule { height: 1px; border: 0; background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: 0.5; margin: 0; }

/* Buttons */
.btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.btn { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 10px 20px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 0.95rem;
  color: var(--night); background: var(--gold); border: 1px solid var(--gold); }
.btn:hover { color: var(--night); background: var(--gold-soft); }
.btn.ghost { background: transparent; color: var(--gold-soft); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--gold); color: #fff; }
.btn.cyan { background: transparent; color: var(--cyan); border-color: rgba(62, 230, 255, 0.45); }

/* Hero */
.hero { position: relative; isolation: isolate; overflow: hidden; padding: 96px 0 88px; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -2; background: url('/img/dawn.webp') center 30% / cover no-repeat; opacity: 0.42; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 11, 24, 0.55), rgba(7, 11, 24, 0.75) 55%, var(--night)); }
.hero .wrap { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 40px; align-items: center; }
.hero-mark { justify-self: center; width: min(320px, 70vw); border-radius: 50%; box-shadow: 0 0 0 1px rgba(62, 230, 255, 0.45), 0 0 80px rgba(62, 230, 255, 0.28); animation: breathe 9s ease-in-out infinite; }
@keyframes breathe { 50% { box-shadow: 0 0 0 1px rgba(62, 230, 255, 0.6), 0 0 110px rgba(62, 230, 255, 0.38); } }
.mission { font: italic 500 clamp(1.3rem, 2.6vw, 1.7rem)/1.35 var(--serif); color: var(--gold-soft); margin: 0 0 8px; }
@media (max-width: 860px) { .hero { padding: 56px 0 56px; } .hero .wrap { grid-template-columns: 1fr; } .hero-mark { order: -1; width: 180px; } }

/* Trio */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.way { position: relative; padding: 24px; border-radius: var(--r); background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); }
.way .verb { font: 600 0.78rem var(--caps); letter-spacing: 0.26em; text-transform: uppercase; margin: 0 0 6px; }
.verb.learn { color: #b9a8ff; } .verb.live { color: var(--cyan); } .verb.do { color: var(--gold); }
.way h3 { margin-bottom: 6px; }
.way p { color: var(--muted); font-size: 0.95rem; }
.way a.more { font-weight: 600; text-decoration: none; }
@media (max-width: 860px) { .trio { grid-template-columns: 1fr; } }

/* Product feature */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.feature.flip > :first-child { order: 2; }
.phones { display: flex; justify-content: center; gap: 14px; }
.phone { width: min(200px, 30vw); aspect-ratio: 390 / 844; object-fit: cover; object-position: top; border-radius: 26px; border: 1px solid rgba(217, 179, 108, 0.45);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55); background: var(--deep); }
.phone:nth-child(2) { transform: translateY(28px); }
.shot { border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55); }
.shots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 28px; }
.badge { display: inline-flex; align-items: center; gap: 7px; font-size: 0.78rem; font-weight: 600; padding: 4px 11px; border-radius: 999px; border: 1px solid var(--line); color: var(--gold-soft); margin-bottom: 14px; }
.badge::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--jade); box-shadow: 0 0 8px var(--jade); }
.badge.dev::before { background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.badge.plan::before { background: var(--muted); box-shadow: none; }
.points { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.points li { padding-left: 22px; position: relative; color: #cdd4e6; }
.points li::before { content: ''; position: absolute; left: 0; top: 0.62em; width: 8px; height: 8px; border: 1px solid var(--gold); transform: rotate(45deg); }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; gap: 28px; } .feature.flip > :first-child { order: 0; } .shots { grid-template-columns: 1fr; } }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin-top: 26px; }
.card { padding: 22px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); }
.card h3 { font-size: 1.35rem; }
.card p { color: var(--muted); font-size: 0.95rem; }
.card .icon { width: 64px; height: 64px; border-radius: 16px; margin-bottom: 14px; }

/* Devlog */
.post { padding: 26px 0; border-top: 1px solid var(--line); }
.post time { font: 600 0.72rem var(--caps); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.post h3 { margin: 6px 0 10px; }

/* Prose pages */
.prose { max-width: 70ch; }
.prose h2 { margin-top: 36px; font-size: 1.9rem; }
.prose ul { padding-left: 1.2em; } .prose li { margin-bottom: 8px; color: #cdd4e6; }
.page-head { padding: 72px 0 24px; }
.page-head + section { padding-top: 24px; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 40px max(16px, calc((100% - var(--w)) / 2)) 32px; background: var(--deep); display: grid; gap: 18px; }
.foot-brand { display: flex; align-items: center; gap: 14px; }
.foot-brand img { border-radius: 50%; }
.foot-name { margin: 0; font: 600 0.9rem var(--caps); letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-soft); }
.foot-mission { margin: 2px 0 0; color: var(--muted); font: italic 500 1.05rem var(--serif); }
.foot-nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot-nav a { color: var(--muted); text-decoration: none; font-size: 0.9rem; }
.foot-nav a:hover { color: var(--gold-soft); }
.fine { margin: 0; font-size: 0.8rem; color: #6f7894; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .hero-mark { animation: none; } }

/* Small pieces */
.card-icon { width: 64px; height: 64px; border-radius: 16px; margin-bottom: 14px; box-shadow: 0 0 0 1px var(--line); }
.gap-top { margin-top: 36px; }
.stack { display: grid; gap: 14px; }
.way-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; margin-bottom: 14px; }
.way-img.round { width: 72px; height: 72px; aspect-ratio: 1; border-radius: 50%; object-fit: cover; }
.fine a { color: inherit; }
