:root {
  color-scheme: dark;
  --bg: #090d13;
  --surface: rgba(255, 255, 255, 0.055);
  --surface-strong: rgba(255, 255, 255, 0.085);
  --line: rgba(255, 255, 255, 0.11);
  --text: #f7f8fb;
  --muted: #98a2b1;
  --accent: #d9aa53;
  --accent-soft: rgba(217, 170, 83, 0.15);
  --danger: #ff7b75;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.32);
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--bg); scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 0%, rgba(217, 170, 83, 0.13), transparent 28rem),
    radial-gradient(circle at 88% 8%, rgba(109, 202, 190, 0.08), transparent 27rem),
    linear-gradient(160deg, #111821 0%, #090d13 46%, #0b1017 100%);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}
body[data-mode="video"] {
  --accent: #ff625d;
  --accent-soft: rgba(255, 98, 93, 0.14);
  background:
    radial-gradient(circle at 13% 0%, rgba(255, 98, 93, 0.14), transparent 29rem),
    radial-gradient(circle at 90% 15%, rgba(70, 112, 163, 0.1), transparent 28rem),
    linear-gradient(160deg, #14161d 0%, #090c12 48%, #101014 100%);
}
body[data-mode="book"] {
  --accent: #e0b15c;
  --accent-soft: rgba(224, 177, 92, 0.15);
  background:
    radial-gradient(circle at 12% 0%, rgba(224, 177, 92, 0.16), transparent 30rem),
    radial-gradient(circle at 88% 16%, rgba(122, 90, 43, 0.12), transparent 30rem),
    linear-gradient(160deg, #17140f 0%, #0d0c0a 48%, #110e09 100%);
}

button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }

.page-shell, .topbar-inner {
  width: min(1220px, calc(100% - 40px));
  margin: 0 auto;
}
.topbar {
  position: sticky;
  z-index: 30;
  top: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(9, 13, 19, 0.82);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}
.topbar-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 74px;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; justify-self: start; }
.brand-word { font-size: 23px; font-weight: 900; letter-spacing: -1px; }
.brand-word i { color: #fff; font-style: normal; }
.brand-word b { color: #ff625d; }
.download-link {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  justify-self: end;
  min-height: 40px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  transition: 160ms ease;
}
.platform-icon { display: inline-block; flex: 0 0 auto; width: 42px; height: 42px; padding: 9px; border-radius: 13px; background: var(--accent-soft); color: var(--accent); }
.platform-icon-small { width: 18px; height: 18px; padding: 0; border-radius: 0; background: transparent; }
.android-icon path { fill: currentColor; }
.apple-icon path { fill: currentColor; }
.apple-icon { display: inline-grid; place-items: center; padding: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: var(--text); font-size: 11px; }
.download-actions { justify-self: end; display: flex; align-items: center; gap: 8px; }
.ios-download-link { background: var(--accent); border-color: var(--accent); color: #17120b; cursor: pointer; }
.download-link:hover { color: var(--text); border-color: var(--accent); }
.ios-download-link:hover { color: #17120b; filter: brightness(1.08); }
.mode-tabs {
  display: flex;
  gap: 7px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
}
.mode-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 92px;
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 13px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 14px;
  font-weight: 750;
  transition: 160ms ease;
}
.mode-tab:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.mode-tab.is-active { color: var(--accent); background: var(--accent-soft); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 28%, transparent); }
.mode-icon { font-size: 17px; }

.app-download-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  margin-top: 24px; padding: 22px 24px; border: 1px solid rgba(217,170,83,.34);
  border-radius: 22px; background: linear-gradient(135deg, rgba(217,170,83,.16), rgba(255,255,255,.04));
  box-shadow: var(--shadow);
}
.app-download-banner h2 { margin: 0; font-size: clamp(21px, 3vw, 30px); }
.app-download-banner p:not(.overline) { max-width: 760px; margin: 9px 0 0; color: var(--muted); line-height: 1.6; }
.app-download-banner > a, .primary-action {
  flex: 0 0 auto; min-height: 46px; padding: 0 18px; border: 0; border-radius: 13px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent); color: #17120b; cursor: pointer; font-weight: 850; line-height: 1; text-align: center; text-decoration: none;
}
.primary-action:disabled { opacity: .5; cursor: not-allowed; }
.android-download-banner { border-color: color-mix(in srgb, var(--accent) 58%, var(--line)); }
.android-download-banner h2 { letter-spacing: -.5px; }
.download-card-copy { min-width: 0; }
.platform-title { display: flex; align-items: center; gap: 13px; }
.platform-title .overline { margin-bottom: 5px; }
.android-download-controls { display: flex; flex: 0 0 auto; min-width: 205px; flex-direction: column; align-items: stretch; gap: 8px; }
.android-download-action { gap: 8px; }
.download-arrow { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.download-status { min-height: 17px; margin: 0 !important; color: var(--muted); font-size: 12px; line-height: 1.4 !important; text-align: right; }
.android-package-picker { color: var(--muted); font-size: 12px; text-align: right; }
.android-package-picker summary { cursor: pointer; list-style-position: inside; }
.android-package-list { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; margin-top: 8px; }
.package-link { padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); font-size: 11px; line-height: 1; }
.package-link:hover, .package-link.is-selected { border-color: var(--accent); color: var(--accent); }

.mode-page { min-height: calc(100vh - 74px); animation: page-in 220ms ease; }
@keyframes page-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
.mode-hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 36px;
  padding: 64px 0 36px;
}
.eyebrow, .overline {
  margin: 0 0 11px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 1.8px;
}
h1, h2, p { overflow-wrap: anywhere; }
h1 { margin: 0; font-size: clamp(38px, 6vw, 68px); line-height: 1.04; letter-spacing: -2.5px; }
.hero-copy { max-width: 680px; margin: 20px 0 0; color: var(--muted); font-size: 17px; line-height: 1.75; }
.hero-pills { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.hero-pills span, .chip {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 12px;
}

.surface {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.content-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(350px, .95fr); gap: 18px; }
.player-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  padding: 22px;
  overflow: hidden;
  background: linear-gradient(145deg, var(--accent-soft), rgba(255,255,255,.035) 54%), rgba(13, 18, 25, .92);
}
.media-cover { position: relative; display: grid; place-items: center; width: 150px; aspect-ratio: 1; border-radius: 17px; overflow: hidden; background: linear-gradient(145deg, var(--accent-soft), rgba(255,255,255,.06)); }
.media-cover img { position: absolute; inset: 0; width: 100%; height: 100%; display: none; object-fit: cover; }
.cover-placeholder { color: var(--accent); font-size: 48px; font-weight: 900; }
.now-playing { min-width: 0; }
.now-playing h2 { margin: 0 0 9px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: clamp(23px, 3vw, 34px); }
.now-playing > p:not(.overline) { margin: 0; color: var(--muted); line-height: 1.55; }
.subtle { font-size: 13px; opacity: .72; }
.round-play {
  width: 56px; height: 56px; border: 0; border-radius: 50%;
  background: var(--accent); color: #12100c; cursor: pointer; font-size: 21px; font-weight: 900;
  box-shadow: 0 14px 34px color-mix(in srgb, var(--accent) 25%, transparent);
}
.timeline { grid-column: 1 / -1; }
.timeline-track { height: 5px; overflow: hidden; border-radius: 99px; background: rgba(255,255,255,.13); }
.timeline-track span { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--accent); }
.timeline-labels { display: flex; justify-content: space-between; margin-top: 8px; color: var(--muted); font-size: 11px; }

.search-card { padding: 22px; }
.section-heading, .picker-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.section-heading h2 { margin: 0; font-size: 22px; }
.section-heading > span, .picker-heading span { color: var(--muted); font-size: 12px; }
.search-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 9px; margin-top: 18px; }
.search-form input {
  min-width: 0; height: 47px; padding: 0 15px; border: 1px solid var(--line); border-radius: 13px;
  outline: none; background: rgba(0,0,0,.24); color: var(--text);
}
.search-form input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.search-form button {
  min-width: 76px; border: 0; border-radius: 13px; background: var(--accent); color: #15110a; cursor: pointer; font-weight: 800;
}
.status { min-height: 20px; margin: 14px 0 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.status.is-error { color: var(--danger); }
.result-list, .book-results { display: grid; gap: 8px; max-height: 270px; margin-top: 12px; overflow: auto; }
.media-result {
  display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 11px;
  width: 100%; padding: 8px; border: 1px solid transparent; border-radius: 13px;
  background: rgba(255,255,255,.04); color: var(--text); text-align: left; cursor: pointer;
}
.media-result:hover, .media-result.is-active { border-color: color-mix(in srgb, var(--accent) 50%, transparent); background: var(--accent-soft); }
.media-result img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; background: var(--surface-strong); }
.media-result strong, .media-result span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.media-result span { margin-top: 4px; color: var(--muted); font-size: 11px; }
.media-result small { color: var(--accent); }
.lyrics-card { margin-top: 18px; padding: 22px; box-shadow: none; }
.lyrics { display: grid; gap: 9px; max-height: 210px; margin-top: 18px; overflow: auto; color: var(--muted); line-height: 1.6; }
.lyrics p { margin: 0; }
.lyric-line { transition: 150ms ease; }
.lyric-line.is-active { color: var(--text); transform: translateX(5px); font-weight: 800; }

.video-stage-card { padding: 18px; }
.video-frame { overflow: hidden; border-radius: 16px; background: #030507; }
.video-frame video { display: block; width: 100%; max-height: min(68vh, 680px); aspect-ratio: 16 / 9; background: #030507; }
.video-info { padding: 18px 4px 4px; }
.video-info h2 { margin: 0 0 7px; font-size: 27px; }
.video-info p:not(.overline) { margin: 0; color: var(--muted); line-height: 1.6; }
.picker-block { margin-top: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: rgba(0,0,0,.17); }
.chip-row { display: flex; gap: 8px; margin-top: 12px; overflow-x: auto; padding-bottom: 2px; }
.chip { flex: 0 0 auto; cursor: pointer; }
.chip.is-active { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.episode-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 8px; max-height: 286px; margin-top: 12px; overflow: auto; }
.episode-button {
  min-height: 42px; padding: 7px 9px; border: 1px solid var(--line); border-radius: 11px;
  background: rgba(255,255,255,.035); color: var(--muted); cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.episode-button:hover, .episode-button.is-active { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.wide-search-card { margin-top: 18px; }
.poster-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.poster-card { min-width: 0; padding: 0; border: 1px solid transparent; border-radius: 14px; background: transparent; color: var(--text); text-align: left; cursor: pointer; }
.poster-card:hover, .poster-card.is-active { border-color: color-mix(in srgb, var(--accent) 55%, transparent); background: var(--accent-soft); }
.poster-card img { display: block; width: 100%; aspect-ratio: 2 / 3; border-radius: 13px; object-fit: cover; background: var(--surface-strong); }
.poster-copy { display: block; padding: 10px 7px 12px; }
.poster-copy strong, .poster-copy span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.poster-copy span { margin-top: 5px; color: var(--muted); font-size: 11px; }

.book-results .media-result { grid-template-columns: 52px minmax(0, 1fr) auto; }
.book-results .media-result img { width: 52px; height: 68px; }
.chapter-card { margin-top: 18px; padding: 20px; }
.chapter-book { display: flex; align-items: center; gap: 16px; }
.chapter-book img { width: 72px; height: 94px; border-radius: 12px; object-fit: cover; background: var(--surface-strong); }
.chapter-book h2 { margin: 0 0 7px; }
.chapter-book p:not(.overline) { margin: 0; color: var(--muted); }

footer { margin-top: 54px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.footer-inner { display: flex; justify-content: space-between; gap: 16px; padding-top: 28px; padding-bottom: 36px; }

@media (max-width: 960px) {
  .content-grid { grid-template-columns: 1fr; }
  .poster-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .mode-hero { align-items: flex-start; flex-direction: column; }
  .hero-pills { justify-content: flex-start; }
}

@media (max-width: 680px) {
  .page-shell, .topbar-inner { width: min(100% - 28px, 1220px); }
  .topbar { position: static; }
  .topbar-inner { grid-template-columns: auto 1fr; min-height: 66px; gap: 12px; }
  .download-actions { display: none; }
  .brand-word { font-size: 20px; }
  .mode-tabs { justify-self: stretch; display: grid; grid-template-columns: repeat(3, 1fr); }
  .mode-tab { min-width: 0; min-height: 38px; padding: 0 8px; }
  .mode-icon { display: none; }
  .mode-hero { gap: 20px; padding: 38px 0 25px; }
  h1 { font-size: 39px; letter-spacing: -1.5px; }
  .hero-copy { margin-top: 15px; font-size: 15px; }
  .hero-pills { flex-wrap: nowrap; width: 100%; overflow-x: auto; }
  .hero-pills span { flex: 0 0 auto; }
  .surface { border-radius: 18px; }
  .player-card { grid-template-columns: 92px minmax(0, 1fr) auto; gap: 14px; padding: 16px; }
  .media-cover { width: 92px; border-radius: 13px; }
  .cover-placeholder { font-size: 34px; }
  .now-playing h2 { font-size: 20px; }
  .round-play { width: 46px; height: 46px; }
  .search-card, .lyrics-card, .chapter-card { padding: 16px; }
  .search-form { grid-template-columns: 1fr; }
  .search-form button { min-height: 44px; }
  .poster-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .video-stage-card { padding: 10px; }
  .video-info { padding: 15px 7px 5px; }
  .video-info h2 { font-size: 22px; }
  .picker-block { padding: 13px; }
  .episode-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-inner { flex-direction: column; }
  .app-download-banner { align-items: stretch; flex-direction: column; margin-top: 14px; padding: 18px; }
  .app-download-banner > button, .app-download-banner > a { width: 100%; }
  .platform-title { align-items: flex-start; }
  .platform-title .platform-icon:not(.platform-icon-small) { margin-top: 1px; }
  .android-download-banner { gap: 15px; }
  .android-download-banner h2 { font-size: 24px; }
  .android-download-banner p:not(.overline) { margin-top: 7px; font-size: 14px; }
  .android-download-controls { width: 100%; min-width: 0; }
  .download-status, .android-package-picker { text-align: left; }
  .android-package-list { justify-content: flex-start; }
}

@media (max-width: 420px) {
  .player-card { grid-template-columns: 76px minmax(0, 1fr) auto; }
  .media-cover { width: 76px; }
  .now-playing .overline { display: none; }
  .now-playing h2 { font-size: 18px; }
  .now-playing > p:not(.overline) { font-size: 12px; }
  .round-play { width: 42px; height: 42px; }
}

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

/* Landing page: intentionally restrained, mobile-first presentation. */
body[data-mode="home"] {
  --accent: #ff625d;
  --accent-soft: rgba(255, 98, 93, 0.14);
  background: #070b12;
}
.brand-logo {
  display: block;
  width: 96px;
  height: 30px;
  border-radius: 8px;
  background: #071120 url("zpod-3-icon.png") center / 96px 96px no-repeat;
}
.landing-page { min-height: 0; }
.landing-shell { padding-bottom: 32px; }
.landing-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  align-items: center;
  gap: clamp(36px, 8vw, 120px);
  min-height: 560px;
  padding: 68px 0 56px;
}
.landing-copy h1 {
  max-width: 740px;
  font-size: clamp(44px, 7vw, 78px);
  line-height: 1.08;
  letter-spacing: -3.5px;
}
.landing-copy h1 span { color: var(--accent); }
.landing-intro { margin: 24px 0 0; color: var(--muted); font-size: 18px; line-height: 1.7; }
.landing-hero-actions { display: flex; align-items: center; gap: 22px; margin-top: 30px; }
.landing-hero-actions .primary-action { min-width: 126px; }
.landing-text-link { color: var(--muted); font-size: 14px; font-weight: 750; }
.landing-text-link:hover { color: var(--text); }
.landing-hero-visual { display: grid; justify-items: center; }
.landing-phone-frame {
  width: min(100%, 264px);
  padding: 9px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 36px;
  background: #111722;
  box-shadow: 0 28px 70px rgba(0,0,0,.5), 0 0 0 7px rgba(255,255,255,.025);
  transform: rotate(3deg);
}
.landing-phone-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 28px;
}
.landing-visual-caption { margin-top: 22px; color: var(--muted); font-size: 12px; letter-spacing: 1.4px; }
.landing-section { margin-top: 26px; }
.landing-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}
.landing-section-heading h2 { margin: 0; font-size: clamp(25px, 4vw, 34px); letter-spacing: -.8px; }
.landing-section-heading > span { color: var(--muted); font-size: 12px; }
.landing-mode-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.landing-mode-card, .landing-platform-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  min-width: 0;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: rgba(255,255,255,.035);
  color: var(--text);
  text-align: left;
  transition: 160ms ease;
}
.landing-mode-card:hover, .landing-platform-card:hover { border-color: var(--accent); background: var(--accent-soft); transform: translateY(-2px); }
.landing-mode-symbol { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: var(--accent-soft); color: var(--accent); font-size: 22px; }
.landing-mode-video .landing-mode-symbol { color: #ff625d; background: rgba(255,98,93,.14); }
.landing-mode-book .landing-mode-symbol { color: #e0b15c; background: rgba(224,177,92,.14); }
.landing-mode-card strong, .landing-platform-card strong { display: block; font-size: 16px; }
.landing-mode-card small, .landing-platform-card small { display: block; margin-top: 5px; overflow: hidden; color: var(--muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.landing-card-arrow { color: var(--muted); font-size: 19px; }
.landing-platform-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.landing-platform-card { min-height: 92px; cursor: pointer; font: inherit; }
.landing-platform-card.is-primary { border-color: rgba(255,98,93,.54); background: linear-gradient(145deg, rgba(255,98,93,.16), rgba(255,255,255,.035)); }
.landing-platform-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: rgba(255,255,255,.08); color: var(--text); font-size: 21px; font-weight: 800; }
.landing-platform-icon svg { width: 23px; height: 23px; }
.landing-platform-icon.android-icon { color: #8be3a9; background: rgba(139,227,169,.12); }
.landing-platform-icon.android-icon path { fill: currentColor; }
.landing-platform-icon.apple-icon { color: var(--text); background: rgba(255,255,255,.1); }
.landing-platform-icon.apple-icon path { fill: currentColor; }
.landing-ios-note { margin: 13px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.landing-ios-note a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.landing-carousel { overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,.025); }
.landing-carousel-stage { min-height: 590px; padding: 30px; }
.landing-slide { display: grid; grid-template-columns: minmax(0, 330px) minmax(0, 1fr); align-items: center; justify-content: center; gap: clamp(34px, 9vw, 130px); width: min(100%, 800px); min-height: 530px; margin: 0 auto; animation: landing-slide-in 240ms ease; }
@keyframes landing-slide-in { from { opacity: 0; transform: translateX(8px); } to { opacity: 1; transform: none; } }
.landing-slide img { display: block; width: min(100%, 300px); max-height: 530px; margin: 0 auto; object-fit: contain; border-radius: 25px; box-shadow: 0 25px 60px rgba(0,0,0,.42); }
.landing-slide figcaption { display: grid; gap: 11px; }
.landing-slide figcaption strong { font-size: clamp(28px, 4vw, 44px); letter-spacing: -1.3px; }
.landing-slide figcaption span { max-width: 260px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.landing-carousel-controls { display: flex; align-items: center; justify-content: center; gap: 22px; padding: 0 22px 24px; }
.landing-carousel-controls > button { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--text); cursor: pointer; }
.landing-carousel-controls > button:hover { border-color: var(--accent); color: var(--accent); }
.landing-carousel-dots { display: flex; align-items: center; gap: 8px; }
.landing-carousel-dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.28); cursor: pointer; }
.landing-carousel-dots button.is-active { width: 24px; border-radius: 99px; background: var(--accent); }

@media (max-width: 960px) {
  .landing-hero { grid-template-columns: minmax(0, 1fr) 250px; gap: 35px; }
  .landing-platform-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .brand-logo { width: 84px; height: 28px; background-size: 84px 84px; }
  .topbar-inner { grid-template-columns: auto 1fr; }
  .mode-tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .landing-hero { grid-template-columns: 1fr; min-height: 0; gap: 40px; padding: 44px 0 35px; }
  .landing-copy h1 { font-size: 44px; letter-spacing: -2px; }
  .landing-intro { margin-top: 17px; font-size: 15px; }
  .landing-hero-actions { margin-top: 24px; }
  .landing-hero-visual { order: -1; justify-items: end; padding-right: 19px; }
  .landing-phone-frame { width: 194px; border-radius: 28px; }
  .landing-phone-frame img { border-radius: 21px; }
  .landing-visual-caption { margin-top: 16px; }
  .landing-mode-grid, .landing-platform-grid { grid-template-columns: 1fr; }
  .landing-section-heading { align-items: start; flex-direction: column; gap: 7px; }
  .landing-carousel-stage { min-height: 0; padding: 20px 16px 8px; }
  .landing-slide { grid-template-columns: 1fr; gap: 20px; min-height: 0; }
  .landing-slide img { width: min(100%, 255px); max-height: 480px; }
  .landing-slide figcaption { justify-items: center; text-align: center; padding-bottom: 12px; }
  .landing-slide figcaption span { max-width: 300px; font-size: 13px; }
  .landing-carousel-controls { padding-bottom: 18px; }
}
