:root {
  --felt-base: #13251d;
  --felt-light: #35654d;
  --surface: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.1);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.74);
  --faint: rgba(255, 255, 255, 0.62);
  --radius: 28px;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-weight: 300;
  line-height: 1.55;
  color: var(--text);
  background-color: var(--felt-base);
  background-image: radial-gradient(ellipse 90% 70% at 50% 20%, var(--felt-light) 0%, var(--felt-base) 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

/* Language switch: everything is written twice and one half is hidden */
html[data-lang="en"] [lang="zh"],
html[data-lang="zh"] [lang="en"] { display: none !important; }

a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }

h1, h2, h3 { font-weight: 300; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }

/* Top bar */
.top {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px var(--gutter);
  padding-top: max(14px, env(safe-area-inset-top));
  background: linear-gradient(to bottom, rgba(19, 37, 29, 0.85), rgba(19, 37, 29, 0));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.brand { display: flex; flex-shrink: 0; align-items: flex-end; gap: 6px; text-decoration: none; }
.brand .signature { width: 92px; filter: invert(1); }
.brand span { font-size: 15px; color: var(--muted); line-height: 1; padding-bottom: 4px; }
.top-actions { display: flex; align-items: center; gap: 8px; }

.lang {
  display: flex;
  flex-shrink: 0;
  margin-left: auto;
  padding: 3px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
}
.lang button {
  font: inherit;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  background: none;
  border: 0;
  border-radius: 999px;
  padding: 5px 10px;
  cursor: pointer;
  white-space: nowrap;
}
.lang button[aria-pressed="true"] { background: #fff; color: #000; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  font-size: 14px;
  text-decoration: none;
  transition: background 0.2s;
}
.pill:hover { background: rgba(0, 0, 0, 0.55); }
.pill svg { width: 16px; height: 16px; }
.pill.play { background: #fff; color: #000; font-weight: 400; }
.pill.play:hover { background: #e8e8e8; }

main { max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }

/* Hero */
.hero { padding: clamp(48px, 10vw, 112px) 0 0; text-align: center; }
.hero h1 {
  font-size: clamp(34px, 6.4vw, 68px);
  line-height: 1.08;
  font-weight: 200;
}
.hero h1 em { font-style: normal; color: var(--muted); }
.lede {
  max-width: 640px;
  margin: 24px auto 0;
  font-size: clamp(16px, 2vw, 19px);
  color: var(--muted);
}
.cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 32px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  background: #1c1c1e;
  font-size: 16px;
  font-weight: 400;
  text-decoration: none;
  transition: transform 0.15s, background 0.2s;
}
.btn:hover { background: #2a2a2d; }
.btn:active { transform: scale(0.97); }
.btn.primary { background: #fff; color: #000; }
.btn.primary:hover { background: #e8e8e8; }
.fineprint { margin-top: 16px; font-size: 13px; color: var(--faint); }

.shot {
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.25);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6), 0 0 0 1px var(--line);
}
.shot img { width: 100%; }
.hero-shot { margin-top: clamp(40px, 7vw, 72px); }

/* Sections */
.section { padding-top: clamp(80px, 12vw, 140px); }
.section-head { max-width: 640px; margin-bottom: 32px; }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); line-height: 1.15; }
.section-head p { margin-top: 10px; font-size: 17px; color: var(--muted); }
.section-head a { color: var(--text); text-underline-offset: 3px; }

/* Venues — same palette as the in-app cards, room art cropped off the corner */
.venues {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.venue {
  position: relative;
  overflow: hidden;
  height: 280px;
  padding: 20px;
  border-radius: var(--radius);
  color: #000;
}
.venue-text { position: relative; z-index: 1; }
.venue h3 { font-size: 20px; line-height: 1.2; }
.venue p { margin-top: 2px; font-size: 14px; color: rgba(0, 0, 0, 0.55); }
.venue img {
  position: absolute;
  right: -16%;
  bottom: -30%;
  height: 90%;
  width: auto;
  max-width: none;
  aspect-ratio: 1;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.venue:hover img { transform: translate(-3%, -3%) scale(1.04); }
.v-local { background: linear-gradient(135deg, #d5e9e5, #91bfb5); }
.v-footscray { background: linear-gradient(135deg, #fef08a, #fde047); }
.v-boxhill { background: linear-gradient(135deg, #bbf7d0, #86efac); }
.v-glen { background: linear-gradient(135deg, #bae6fd, #93c5fd); }
.v-balwyn { background: linear-gradient(135deg, #e9d5ff, #d8b4fe); }
.v-toorak { background: linear-gradient(135deg, #fed7aa, #fdba74); }

/* Features */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  margin-bottom: clamp(48px, 8vw, 96px);
}
.feature.flip .shot { order: 2; }
.feature .shot.phone { max-width: 300px; justify-self: center; border-radius: 36px; }
.feature-text h3 { font-size: clamp(22px, 2.6vw, 28px); line-height: 1.2; }
.feature-text p { margin-top: 12px; font-size: 17px; color: var(--muted); }

.mini {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.mini li {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}
.mini h3 { font-size: 18px; font-weight: 400; }
.mini p { margin-top: 8px; font-size: 15px; color: var(--muted); }

/* Two ways to play */
.ways {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.ways li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}
.ways h3 { font-size: 20px; }
.ways p { font-size: 15px; color: var(--muted); }
.ways a:not(.btn) { color: var(--text); text-underline-offset: 3px; }
.ways b { font-weight: 500; color: var(--text); }
.ways code { font-family: "SF Mono", ui-monospace, Menlo, monospace; font-size: 0.9em; color: var(--text); }
.btn.small { height: 40px; padding: 0 18px; font-size: 15px; margin-top: auto; }

/* Quickstart */
.terminal {
  position: relative;
  border-radius: 20px;
  background: #0b1611;
  box-shadow: inset 0 0 0 1px var(--line);
}
.terminal pre {
  margin: 0;
  padding: 24px;
  overflow-x: auto;
  font-family: "SF Mono", ui-monospace, Menlo, Consolas, monospace;
  font-size: 14px;
  line-height: 1.8;
  color: #d9f5e4;
}
.copy {
  position: absolute;
  top: 12px;
  right: 12px;
  font: inherit;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.08);
  border: 0;
  border-radius: 999px;
  padding: 6px 12px;
  cursor: pointer;
}
.copy:hover { color: #fff; }
.copy.done { background: #fff; color: #000; }
.note { margin-top: 14px; font-size: 14px; color: var(--faint); }
.links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.links a {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 14px;
  text-decoration: none;
}
.links a:hover { background: rgba(255, 255, 255, 0.12); }

/* Footer */
.foot {
  max-width: 1120px;
  margin: clamp(80px, 12vw, 140px) auto 0;
  padding: 32px var(--gutter) max(40px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--faint);
}
.foot p + p { margin-top: 6px; }
.foot a { color: var(--muted); }

/* Tablet */
@media (max-width: 860px) {
  .venues { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature, .feature.flip { grid-template-columns: 1fr; }
  .feature.flip .shot { order: 0; }
  .mini, .ways { grid-template-columns: 1fr; }
}

/* Phone */
@media (max-width: 520px) {
  .top { flex-wrap: wrap; gap: 12px; }
  .top-actions { width: 100%; }
  .top-actions .pill { flex: 1; justify-content: center; height: 44px; }
  .lang { padding: 0; }
  .lang button { min-width: 44px; min-height: 44px; }
  .venues { grid-template-columns: 1fr; }
  .venue { height: 220px; }
  .venue img { right: -6%; height: 100%; bottom: -26%; }
  .terminal pre { font-size: 13px; padding: 20px; padding-top: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .venue img, .btn { transition: none; }
}

/* Explanations share the actual app's felt, rounded action controls and quiet rails. */
.skip{position:absolute;top:-80px;left:16px;background:#fff;color:#13251d;padding:10px;z-index:20}.skip:focus{top:10px}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #cfdbc9;outline-offset:4px}.hero{padding-top:clamp(36px,6vw,70px)}.first-hand{list-style:none;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:30px 44px}.first-hand li:last-child{grid-column:1/-1;max-width:650px}.first-hand h3,.information-grid h3{font-size:23px}.first-hand p,.information-grid p,.street-copy p{margin-top:12px;color:var(--muted)}.street-example{display:grid;grid-template-columns:1.1fr 1fr;gap:40px;padding:28px;border:1px solid var(--line);border-radius:28px;background:#0002}.street-buttons{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:26px}.street-buttons button{font:inherit;font-size:13px;border:1px solid var(--line);border-radius:999px;padding:8px 12px;background:#0003;color:var(--text);cursor:pointer}.street-buttons button[aria-pressed="true"]{background:#e8ece8;color:#13251d}.sample-cards{display:flex;flex-wrap:wrap;gap:9px;min-height:94px;margin:10px 0 22px;align-items:center}.sample-card{display:inline-flex;align-items:center;justify-content:center;flex-direction:column;gap:2px;background:#f4f5f2;color:#242226;border-radius:12px;width:57px;height:80px;font-size:24px}.sample-card[data-red="true"]{color:#a62d38}.street-example>div>p{font-size:13px;color:var(--muted)}.street-copy a{display:inline-block;margin-top:20px}.information-grid{display:grid;grid-template-columns:1fr 1fr;gap:40px}.recordings details{border:1px solid var(--line);border-radius:20px;padding:18px}.recordings summary{cursor:pointer}.recordings img{margin:20px auto 0;max-width:960px;border-radius:16px}
@media(max-width:700px){.street-example,.information-grid,.first-hand{grid-template-columns:1fr}.first-hand li:last-child{grid-column:auto}.street-example{padding:20px;gap:20px}.sample-card{width:44px;height:66px;font-size:21px}.sample-cards{gap:6px}.top .brand .signature{width:76px}.top .pill{padding:7px 11px}}

.section[id]{scroll-margin-top:100px}@media(max-width:520px){.section[id]{scroll-margin-top:155px}}
