@charset "UTF-8";

:root {
  --ink: #231823;
  --ink-soft: #4f4450;
  --paper: #f8f4ef;
  --paper-deep: #eee7e0;
  --white: #fffdfb;
  --plum: #2c182b;
  --purple: #705ce7;
  --purple-light: #aaa0ff;
  --coral: #ed6b78;
  --yellow: #ffd36b;
  --line: #d8cec7;
  --header-height: 78px;
  --shadow: 5px 5px 0 rgba(35, 24, 35, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
summary {
  font: inherit;
}

button {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

p,
h1,
h2,
h3,
dl,
dd,
figure {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

.container {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  height: var(--header-height);
  border-bottom: 1px solid var(--ink);
  background: rgba(248, 244, 239, 0.98);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: min(1400px, calc(100% - 48px));
  height: 100%;
  margin: 0 auto;
  gap: 28px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.brand img {
  width: 48px;
  height: 48px;
  border: 1px solid var(--ink);
  border-radius: 5px;
  object-fit: contain;
  background: var(--white);
}

.brand-copy,
.footer-brand span {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.2;
}

.brand-copy strong,
.footer-brand strong {
  font-size: 16px;
  font-weight: 900;
}

.brand-copy small,
.footer-brand small {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 12px;
  white-space: nowrap;
}

.main-nav {
  justify-self: center;
}

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

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: var(--header-height);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.nav-link::after {
  position: absolute;
  right: 0;
  bottom: 16px;
  left: 0;
  height: 3px;
  background: var(--purple);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  border-radius: 5px;
  color: var(--white);
  background: var(--plum);
  box-shadow: 3px 3px 0 var(--purple-light);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
  transition: color 160ms ease, background 160ms ease;
}

.header-download:hover {
  color: var(--ink);
  background: var(--yellow);
}

.mobile-download,
.menu-button {
  display: none;
}

.mobile-nav-heading,
.nav-backdrop {
  display: none;
}

main {
  padding-top: var(--header-height);
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  border-bottom: 1px solid var(--ink);
  background: linear-gradient(90deg, var(--paper) 0 55%, var(--plum) 55% 100%);
}

.hero-stage {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  align-items: center;
  width: min(1400px, 100%);
  min-height: calc(100vh - var(--header-height));
  margin: 0 auto;
}

.hero-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 710px;
  padding: 72px 66px 72px max(24px, calc((100vw - 1240px) / 2));
  background-image: linear-gradient(rgba(35, 24, 35, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(35, 24, 35, 0.045) 1px, transparent 1px);
  background-size: 36px 36px;
}

.hero-index,
.section-heading > div > p,
.help-intro > p:first-child {
  color: var(--purple);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.hero-index {
  display: flex;
  align-items: center;
  gap: 11px;
  white-space: nowrap;
}

.hero-index span {
  padding: 4px 9px;
  border: 1px solid var(--ink);
  border-radius: 5px;
  color: var(--white);
  background: var(--coral);
  letter-spacing: 0;
}

.hero h1 {
  margin-top: 18px;
  font-size: clamp(64px, 5.8vw, 92px);
  font-weight: 950;
  line-height: 1;
  letter-spacing: -0.08em;
  white-space: nowrap;
}

.hero-slogan {
  margin-top: 20px;
  font-size: clamp(29px, 2.45vw, 40px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.05em;
}

.hero-slogan em {
  color: var(--coral);
  font-style: normal;
}

.hero-description {
  max-width: 590px;
  margin-top: 22px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.9;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  margin-top: 23px;
  gap: 8px;
}

.hero-tags span {
  padding: 6px 12px;
  border: 1px solid var(--ink);
  border-radius: 5px;
  background: var(--white);
  font-size: 12px;
  font-weight: 800;
}

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

.primary-action,
.download-action {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--ink);
  border-radius: 5px;
  color: var(--white);
  background: var(--purple);
  box-shadow: 5px 5px 0 var(--ink);
  font-weight: 900;
  transition: background 160ms ease;
}

.primary-action {
  min-width: 230px;
  min-height: 54px;
  padding: 0 18px;
  font-size: 14px;
}

.primary-action span {
  font-size: 20px;
}

.primary-action:hover,
.download-action:hover {
  background: var(--coral);
}

.text-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 2px solid var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.text-action span {
  color: var(--coral);
}

.age-label {
  display: inline-block;
  margin-top: 24px;
  color: #726772;
  font-size: 12px;
}

.hero-board {
  position: relative;
  min-width: 0;
  margin: 56px max(24px, calc((100vw - 1240px) / 2)) 56px 58px;
  padding: 26px;
  border: 1px solid var(--purple-light);
  border-radius: 5px;
  color: var(--white);
  background: #1c121d;
  box-shadow: 9px 9px 0 var(--purple);
  overflow: hidden;
}

.hero-board::before {
  position: absolute;
  top: -100px;
  right: -120px;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  content: "";
}

.board-heading {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  gap: 20px;
}

.board-heading span {
  color: var(--purple-light);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.board-heading span:last-child {
  text-align: right;
}

.board-heading strong {
  font-size: 19px;
}

.board-feature {
  position: relative;
  display: grid;
  grid-template-columns: minmax(190px, 0.86fr) minmax(220px, 1.14fr);
  min-height: 420px;
  margin-top: 24px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 5px;
  overflow: hidden;
}

.board-art {
  min-height: 420px;
  background-color: #ddd6d1;
  background-image: linear-gradient(rgba(44, 24, 43, 0.06), rgba(44, 24, 43, 0.12)), url("../images/bjt.jpg");
  background-position: 42% 16%;
  background-size: 550px auto;
  filter: contrast(1.05);
}

.board-note {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px;
  background: var(--plum);
}

.board-stamp {
  align-self: flex-start;
  padding: 4px 9px;
  border: 1px solid var(--yellow);
  border-radius: 5px;
  color: var(--plum);
  background: var(--yellow);
  font-size: 12px;
  font-weight: 900;
}

.board-note > p:not(.board-summary) {
  margin-top: 20px;
  color: var(--purple-light);
  font-size: 12px;
  font-weight: 800;
}

.board-note h2 {
  margin-top: 5px;
  font-size: 38px;
  line-height: 1.2;
}

.board-summary {
  margin-top: 18px;
  color: #d8ced7;
  font-size: 13px;
  line-height: 1.8;
}

.board-note dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.board-note dl div {
  padding: 14px 8px 0 0;
}

.board-note dt {
  color: var(--purple-light);
  font-size: 12px;
}

.board-note dd {
  margin-top: 2px;
  font-size: 12px;
  font-weight: 800;
}

.board-strip {
  display: flex;
  align-items: center;
  margin-top: 18px;
  gap: 10px;
}

.board-strip span {
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 5px;
  font-size: 12px;
}

.board-strip b {
  margin-left: auto;
  color: var(--yellow);
  font-size: 12px;
}

.section {
  padding: 112px 0;
  scroll-margin-top: var(--header-height);
}

.section-heading {
  margin-bottom: 44px;
}

.split-heading,
.shelf-heading,
.voices-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
}

.section-heading h2,
.help-intro h2,
.download h2 {
  margin-top: 6px;
  font-size: clamp(38px, 4.5vw, 62px);
  font-weight: 950;
  line-height: 1.08;
  letter-spacing: -0.06em;
}

.split-heading > p,
.shelf-heading > p,
.voices-heading > p {
  max-width: 480px;
  color: var(--ink-soft);
  font-size: 14px;
}

.discovery {
  background: var(--white);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  padding: 10px;
  border: 1px solid var(--ink);
  border-radius: 5px;
  background: var(--paper);
}

.filter-button {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 5px;
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.filter-button:hover,
.filter-button.is-active {
  border-color: var(--ink);
  color: var(--white);
  background: var(--purple);
}

.book-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.book-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  border: 1px solid var(--ink);
  border-radius: 5px;
  background: var(--paper);
  box-shadow: 4px 4px 0 var(--paper-deep);
  overflow: hidden;
}

.book-card[hidden] {
  display: none;
}

.book-card--lead {
  grid-column: span 2;
  grid-row: span 2;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(190px, 0.8fr);
}

.book-cover {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  padding: 12px;
  border-bottom: 1px solid var(--ink);
  background: #ebe7f4;
}

.book-card--lead .book-cover {
  min-height: 590px;
  border-right: 1px solid var(--ink);
  border-bottom: 0;
}

.book-cover img {
  width: 100%;
  height: 100%;
  max-height: 340px;
  object-fit: contain;
  object-position: center;
}

.book-card--lead .book-cover img {
  max-height: 560px;
}

.book-info {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}

.book-card--lead .book-info {
  justify-content: center;
  padding: 28px;
}

.book-info > span {
  color: var(--coral);
  font-size: 12px;
  font-weight: 900;
}

.book-info h3 {
  margin-top: 5px;
  font-size: 23px;
  line-height: 1.25;
}

.book-card--lead .book-info h3 {
  font-size: 34px;
}

.book-info p {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.75;
}

.book-info strong {
  margin-top: auto;
  padding-top: 18px;
  font-size: 12px;
}

.filter-empty {
  padding: 36px;
  border: 1px dashed var(--line);
  border-radius: 5px;
  color: var(--ink-soft);
  text-align: center;
}

.shelf {
  color: var(--white);
  background: var(--plum);
}

.shelf .section-heading > div > p {
  color: var(--yellow);
}

.shelf-heading > p {
  color: #d9ced8;
}

.shelf-console {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  border: 1px solid var(--purple-light);
  border-radius: 5px;
  background: #1d121e;
  box-shadow: 8px 8px 0 var(--purple);
  overflow: hidden;
}

.shelf-tabs {
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(255, 255, 255, 0.25);
  background: #241425;
}

.shelf-tab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  padding: 0 24px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  background: transparent;
  cursor: pointer;
  font-size: 15px;
  font-weight: 900;
  text-align: left;
}

.shelf-tab span {
  color: var(--purple-light);
  font-size: 12px;
}

.shelf-tab:hover,
.shelf-tab.is-active {
  color: var(--plum);
  background: var(--yellow);
}

.shelf-tab:hover span,
.shelf-tab.is-active span {
  color: var(--plum);
}

.shelf-panels {
  min-width: 0;
  padding: 18px 28px;
}

.shelf-panel {
  display: grid;
}

.shelf-row {
  display: grid;
  grid-template-columns: 48px 68px minmax(150px, 1fr) minmax(130px, 0.7fr) auto;
  align-items: center;
  min-width: 0;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  gap: 18px;
}

.shelf-row:last-child {
  border-bottom: 0;
}

.shelf-number {
  color: var(--purple-light);
  font-size: 12px;
  font-weight: 900;
}

.shelf-row img {
  width: 68px;
  height: 82px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 5px;
  object-fit: contain;
  object-position: center;
  background: var(--white);
}

.shelf-row div {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.shelf-row strong {
  font-size: 16px;
}

.shelf-row small,
.shelf-row p {
  color: #c9bdc8;
  font-size: 12px;
}

.shelf-state {
  padding: 6px 10px;
  border: 1px solid var(--purple-light);
  border-radius: 5px;
  color: var(--purple-light);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.screens {
  background-color: #ebe7f4;
  background-image: radial-gradient(rgba(112, 92, 231, 0.22) 1px, transparent 1px);
  background-size: 18px 18px;
}

.screen-hint {
  margin-bottom: 12px;
  color: var(--purple);
  font-size: 12px;
  font-weight: 900;
  text-align: right;
}

.screens-track {
  display: flex;
  align-items: stretch;
  padding: 2px 5px 20px 2px;
  gap: 32px;
  overflow-x: auto;
  cursor: grab;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--purple) rgba(35, 24, 35, 0.1);
  scrollbar-width: thin;
}

.screens-track.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.screens-track::-webkit-scrollbar {
  height: 8px;
}

.screens-track::-webkit-scrollbar-track {
  background: rgba(35, 24, 35, 0.1);
}

.screens-track::-webkit-scrollbar-thumb {
  border-radius: 5px;
  background: var(--purple);
}

.screen-card {
  flex: 0 0 250px;
  scroll-snap-align: start;
}

.screen-image {
  display: flex;
  width: 250px;
  height: 450px;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border: 1px solid var(--ink);
  border-radius: 5px;
  background: var(--white);
  box-shadow: 6px 6px 0 var(--purple);
  overflow: hidden;
}

.screen-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.screen-card figcaption {
  display: grid;
  grid-template-columns: 42px 1fr;
  margin-top: 18px;
  gap: 0 12px;
}

.screen-card figcaption span {
  grid-row: span 2;
  color: var(--purple);
  font-size: 25px;
  font-weight: 950;
  line-height: 1.2;
}

.screen-card figcaption strong {
  font-size: 16px;
}

.screen-card figcaption small {
  color: var(--ink-soft);
  font-size: 12px;
}

.help {
  background: var(--paper);
}

.help-layout {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  align-items: start;
  gap: 72px;
}

.help-intro {
  position: sticky;
  top: calc(var(--header-height) + 36px);
}

.help-intro > p:nth-of-type(2) {
  margin-top: 22px;
  color: var(--ink-soft);
  font-size: 14px;
}

.help-intro > span {
  display: inline-block;
  margin-top: 24px;
  padding: 6px 11px;
  border: 1px solid var(--ink);
  border-radius: 5px;
  background: var(--yellow);
  font-size: 12px;
  font-weight: 900;
}

.faq-list {
  border-top: 1px solid var(--ink);
}

.faq-item {
  border-bottom: 1px solid var(--ink);
}

.faq-item summary {
  display: grid;
  grid-template-columns: 48px 1fr 28px;
  align-items: center;
  min-height: 86px;
  padding: 0 8px;
  cursor: pointer;
  list-style: none;
  gap: 18px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary > span {
  color: var(--purple);
  font-size: 12px;
  font-weight: 900;
}

.faq-item summary strong {
  font-size: 17px;
}

.faq-item summary i {
  position: relative;
  width: 24px;
  height: 24px;
  border: 1px solid var(--ink);
  border-radius: 50%;
}

.faq-item summary i::before,
.faq-item summary i::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 1px;
  background: var(--ink);
  content: "";
  transform: translate(-50%, -50%);
}

.faq-item summary i::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] summary i {
  color: var(--white);
  background: var(--purple);
}

.faq-item[open] summary i::before,
.faq-item[open] summary i::after {
  background: var(--white);
}

.faq-item[open] summary i::after {
  display: none;
}

.faq-item[open] summary strong {
  color: var(--purple);
}

.faq-answer {
  padding: 0 54px 28px 74px;
}

.faq-answer p {
  max-width: 720px;
  color: var(--ink-soft);
  font-size: 14px;
}

.faq-answer a {
  color: var(--purple);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.voices {
  background: var(--white);
}

.voice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.voice-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--ink);
  border-radius: 5px;
  background: var(--paper);
  box-shadow: 5px 5px 0 var(--paper-deep);
}

.voice-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.voice-user {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 11px;
}

.voice-user strong {
  font-size: 14px;
}

.avatar-icon {
  display: inline-block;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background-color: var(--purple-light);
  background-image: url("../icons/avatar.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 25px 25px;
}

.rating {
  color: var(--coral);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.voice-card > p {
  margin-top: 22px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.95;
}

.voice-card time {
  align-self: flex-end;
  margin-top: auto;
  padding-top: 22px;
  color: #776b76;
  font-size: 12px;
}

.download {
  position: relative;
  padding: 84px 0;
  scroll-margin-top: var(--header-height);
  color: var(--white);
  background: var(--purple);
  overflow: hidden;
}

.download::before {
  position: absolute;
  top: -130px;
  left: 45%;
  width: 420px;
  height: 420px;
  border: 70px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  content: "";
}

.download-layout {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.1fr 250px;
  align-items: center;
  gap: 54px;
}

.download-brand {
  display: flex;
  align-items: center;
  gap: 18px;
}

.download-brand img {
  width: 92px;
  height: 92px;
  border: 1px solid var(--white);
  border-radius: 5px;
  object-fit: contain;
  background: var(--white);
}

.download-brand span {
  color: var(--yellow);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.download h2 {
  font-size: 46px;
}

.download-copy > p {
  font-size: 14px;
}

.download-copy ul {
  display: flex;
  flex-wrap: wrap;
  margin-top: 16px;
  gap: 8px;
}

.download-copy li {
  padding: 4px 9px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 5px;
  font-size: 12px;
}

.download-action {
  min-height: 72px;
  padding: 0 22px;
  color: var(--ink);
  background: var(--yellow);
}

.download-action b {
  font-size: 24px;
}

.site-footer {
  padding: 42px 0;
  color: var(--white);
  background: var(--plum);
}

.footer-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-brand img {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 5px;
  object-fit: contain;
  background: var(--white);
}

.footer-brand span {
  align-items: flex-start;
  text-align: left;
}

.footer-brand small {
  color: #c7bbc6;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 26px;
  gap: 10px 24px;
}

.footer-nav a {
  color: #e4dce3;
  font-size: 12px;
}

.footer-nav a:hover {
  color: var(--yellow);
}

.footer-layout > p {
  margin-top: 22px;
  color: #a99ca8;
  font-size: 12px;
}

.back-top {
  position: fixed;
  z-index: 900;
  right: 26px;
  bottom: 26px;
  display: flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 3px 3px 0 var(--ink);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.back-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-top i {
  display: block;
  width: 22px;
  height: 22px;
  background-image: url("../icons/arrow-up.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

@media (max-width: 1240px) {
  .main-nav ul {
    gap: 18px;
  }

  .nav-link {
    font-size: 13px;
  }

  .hero-copy {
    padding-right: 40px;
    padding-left: 36px;
  }

  .hero-board {
    margin-right: 36px;
    margin-left: 40px;
  }

  .board-feature {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .download-layout {
    gap: 30px;
  }
}

@media (max-width: 1060px) {
  :root {
    --header-height: 72px;
  }

  .header-inner {
    width: min(100% - 36px, 980px);
    gap: 16px;
  }

  .main-nav ul {
    gap: 13px;
  }

  .desktop-download {
    padding: 0 13px;
  }

  .hero {
    background: var(--paper);
  }

  .hero-stage {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    min-height: 650px;
    padding: 74px max(34px, calc((100vw - 760px) / 2));
  }

  .hero-board {
    margin: 0 max(34px, calc((100vw - 760px) / 2)) 72px;
  }

  .book-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .book-card--lead {
    grid-column: span 2;
  }

  .voice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .download-layout {
    grid-template-columns: 1fr 1fr;
  }

  .download-action {
    grid-column: 1 / -1;
    width: min(320px, 100%);
    justify-self: center;
  }
}

@media (max-width: 900px) {
  .main-nav ul {
    gap: 10px;
  }

  .nav-link {
    font-size: 12px;
  }

  .desktop-download {
    display: none;
  }

  .book-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .book-card--lead {
    grid-row: auto;
  }

  .shelf-console {
    grid-template-columns: 210px minmax(0, 1fr);
  }

  .shelf-row {
    grid-template-columns: 36px 58px minmax(120px, 1fr) auto;
  }

  .shelf-row img {
    width: 58px;
    height: 72px;
  }

  .shelf-row > p {
    display: none;
  }

  .help-layout {
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 40px;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 68px;
  }

  .container {
    width: min(100% - 32px, 600px);
  }

  .site-header {
    background: var(--paper);
  }

  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    width: calc(100% - 24px);
    gap: 10px;
  }

  .brand {
    min-width: 0;
    gap: 8px;
  }

  .brand img {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
  }

  .brand-copy strong {
    font-size: 14px;
  }

  .brand-copy small {
    font-size: 12px;
  }

  .header-actions {
    gap: 7px;
  }

  .mobile-download,
  .menu-button {
    display: inline-flex;
  }

  .mobile-download {
    min-height: 38px;
    padding: 0 12px;
    box-shadow: 2px 2px 0 var(--purple-light);
    font-size: 12px;
  }

  .menu-button {
    width: 40px;
    height: 40px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--ink);
    border-radius: 5px;
    background: var(--white);
    cursor: pointer;
    gap: 5px;
  }

  .menu-button span {
    width: 19px;
    height: 2px;
    background: var(--ink);
  }

  .menu-button[aria-expanded="true"] {
    color: var(--white);
    background: var(--plum);
  }

  .menu-button[aria-expanded="true"] span {
    background: var(--white);
  }

  .menu-button[aria-expanded="true"] span:first-child {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-button[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-button[aria-expanded="true"] span:last-child {
    transform: translateY(-7px) rotate(-45deg);
  }

  .main-nav {
    position: fixed;
    z-index: 1001;
    top: var(--header-height);
    right: auto;
    left: 0;
    display: none;
    width: 100vw;
    max-width: none;
    max-height: calc(100dvh - var(--header-height));
    margin: 0;
    padding: 18px 16px 20px;
    border-bottom: 1px solid var(--ink);
    background: var(--paper);
    box-shadow: 0 12px 28px rgba(35, 24, 35, 0.2);
    justify-self: stretch;
    overflow-y: auto;
  }

  .main-nav.is-open {
    display: block;
  }

  .mobile-nav-heading {
    display: flex;
    width: min(100%, 600px);
    align-items: baseline;
    justify-content: space-between;
    margin: 0 auto 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
    gap: 16px;
  }

  .mobile-nav-heading strong {
    font-size: 18px;
  }

  .mobile-nav-heading span {
    color: var(--ink-soft);
    font-size: 12px;
  }

  .main-nav ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100%, 600px);
    margin: 0 auto;
    gap: 8px;
  }

  .nav-link {
    justify-content: space-between;
    width: 100%;
    min-height: 52px;
    height: auto;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 5px;
    background: var(--white);
    font-size: 13px;
  }

  .nav-link::after {
    position: static;
    display: block;
    width: auto;
    height: auto;
    color: var(--purple);
    background: none;
    content: "↗";
    font-size: 14px;
    transform: none;
  }

  .nav-link.is-active {
    color: var(--white);
    background: var(--purple);
  }

  .nav-link.is-active::after {
    color: var(--white);
  }

  .nav-backdrop {
    position: fixed;
    z-index: 990;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(28, 18, 29, 0.48);
  }

  body.menu-open .nav-backdrop {
    display: block;
  }

  .hero {
    min-height: auto;
  }

  .hero-stage {
    min-height: auto;
  }

  .hero-copy {
    align-items: center;
    min-height: auto;
    padding: 62px 18px 64px;
    text-align: center;
  }

  .hero-index {
    justify-content: center;
  }

  .hero h1 {
    margin-top: 20px;
    font-size: clamp(48px, 15vw, 66px);
  }

  .hero-slogan {
    font-size: 30px;
  }

  .hero-description {
    max-width: 560px;
    margin-right: auto;
    margin-left: auto;
    font-size: 14px;
  }

  .hero-tags,
  .hero-actions {
    justify-content: center;
  }

  .hero-actions {
    width: 100%;
    flex-direction: column;
    gap: 18px;
  }

  .primary-action {
    width: min(100%, 360px);
  }

  .age-label {
    width: 100%;
    text-align: center;
  }

  .hero-board {
    margin: 0 16px 54px;
    padding: 18px;
    box-shadow: 6px 6px 0 var(--purple);
  }

  .board-feature {
    grid-template-columns: 0.88fr 1.12fr;
    min-height: 360px;
  }

  .board-art {
    min-height: 360px;
    background-size: 460px auto;
  }

  .board-note {
    padding: 22px;
  }

  .board-note h2 {
    font-size: 29px;
  }

  .board-note dl {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .board-note dl div {
    display: flex;
    justify-content: space-between;
    padding-top: 6px;
  }

  .board-strip {
    flex-wrap: wrap;
  }

  .board-strip b {
    width: 100%;
    margin: 4px 0 0;
  }

  .section {
    padding: 82px 0;
  }

  .split-heading,
  .shelf-heading,
  .voices-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .section-heading {
    margin-bottom: 34px;
  }

  .section-heading h2,
  .help-intro h2 {
    font-size: 43px;
  }

  .filter-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
  }

  .filter-button {
    flex: 0 0 auto;
  }

  .book-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .book-card--lead {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .book-card--lead .book-cover {
    min-height: 430px;
  }

  .book-cover {
    min-height: 250px;
  }

  .shelf-console {
    grid-template-columns: 1fr;
  }

  .shelf-tabs {
    flex-direction: row;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    overflow-x: auto;
  }

  .shelf-tab {
    min-width: 150px;
    min-height: 64px;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 0;
  }

  .shelf-panels {
    padding: 12px 20px;
  }

  .shelf-row {
    grid-template-columns: 30px 54px minmax(110px, 1fr) auto;
    gap: 12px;
  }

  .shelf-row img {
    width: 54px;
    height: 68px;
  }

  .screen-hint {
    text-align: left;
  }

  .screens-track {
    margin-right: -16px;
    padding-right: 16px;
    gap: 22px;
  }

  .help-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .help-intro {
    position: static;
  }

  .faq-item summary {
    grid-template-columns: 38px 1fr 26px;
    min-height: 76px;
    padding: 0;
    gap: 10px;
  }

  .faq-item summary strong {
    font-size: 15px;
  }

  .faq-answer {
    padding: 0 36px 24px 48px;
  }

  .download-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .download-brand {
    justify-content: center;
  }

  .download-copy ul {
    justify-content: center;
  }

  .download-action {
    grid-column: auto;
  }

  .footer-nav {
    max-width: 520px;
  }

  .back-top {
    right: 16px;
    bottom: 16px;
  }

  a,
  button,
  summary {
    transition: none !important;
    animation: none !important;
  }
}

@media (max-width: 560px) {
  .hero-board {
    padding: 14px;
  }

  .board-heading {
    grid-template-columns: 1fr auto;
    gap: 10px;
  }

  .board-heading strong {
    order: -1;
    grid-column: 1 / -1;
    font-size: 18px;
  }

  .board-feature {
    grid-template-columns: 1fr;
  }

  .board-art {
    min-height: 250px;
    background-position: 50% 10%;
    background-size: 100% auto;
  }

  .board-note {
    padding: 24px 20px;
  }

  .board-note dl {
    grid-template-columns: repeat(3, 1fr);
  }

  .board-note dl div {
    display: block;
  }

  .book-grid {
    grid-template-columns: 1fr;
  }

  .book-card--lead {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .book-card--lead .book-cover {
    min-height: 360px;
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }

  .book-card--lead .book-cover img {
    max-height: 330px;
  }

  .book-card--lead .book-info {
    padding: 22px;
  }

  .book-card--lead .book-info h3 {
    font-size: 28px;
  }

  .voice-grid {
    grid-template-columns: 1fr;
  }

  .shelf-panels {
    padding: 8px 14px;
  }

  .shelf-row {
    grid-template-columns: 24px 50px minmax(94px, 1fr);
    gap: 10px;
  }

  .shelf-row img {
    width: 50px;
    height: 64px;
  }

  .shelf-state {
    grid-column: 3;
    justify-self: start;
    padding: 3px 7px;
  }

  .download-brand {
    align-items: center;
    flex-direction: column;
  }

  .download h2 {
    font-size: 42px;
  }

  .footer-brand {
    flex-direction: column;
  }

  .footer-brand span {
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 380px) {
  .header-inner {
    width: calc(100% - 16px);
  }

  .brand img {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  .brand-copy strong {
    font-size: 13px;
  }

  .brand-copy small {
    font-size: 12px;
  }

  .mobile-download {
    padding: 0 8px;
  }

  .menu-button {
    width: 38px;
    height: 38px;
  }

  .main-nav {
    padding-right: 10px;
    padding-left: 10px;
  }

  .mobile-nav-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .nav-link {
    padding: 0 10px;
    font-size: 12px;
  }

  .hero h1 {
    font-size: 46px;
  }

  .hero-slogan {
    font-size: 27px;
  }

  .hero-index {
    gap: 7px;
    font-size: 12px;
    letter-spacing: 0.1em;
  }

  .board-note dl {
    grid-template-columns: 1fr;
  }

  .board-note dl div {
    display: flex;
    justify-content: space-between;
  }

  .voice-card {
    padding: 20px;
  }

  .voice-card header {
    align-items: flex-start;
  }

  .rating {
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

.hero {
  min-height: auto;
  overflow: hidden;
  background-color: var(--paper);
  background-image: linear-gradient(rgba(35, 24, 35, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(35, 24, 35, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 86% 18%, rgba(112, 92, 231, 0.18), transparent 31%);
  background-size: 36px 36px, 36px 36px, auto;
}

.hero-stage {
  grid-template-columns: minmax(360px, 0.78fr) minmax(620px, 1.22fr);
  width: min(calc(100% - 48px), 1240px);
  min-height: 720px;
  padding: 64px 0;
  gap: 64px;
}

.hero-copy {
  min-height: 0;
  padding: 0;
  background: none;
}

.hero h1 {
  font-size: clamp(70px, 6.8vw, 104px);
  white-space: normal;
}

.hero-description {
  max-width: 500px;
}

.hero-board {
  min-height: 590px;
  margin: 0;
  padding: 28px;
  box-shadow: 10px 10px 0 var(--purple);
}

.board-feature {
  grid-template-columns: minmax(260px, 1.08fr) minmax(245px, 0.92fr);
  min-height: 365px;
}

.board-art {
  min-height: 365px;
  background-position: 48% 14%;
  background-size: 590px auto;
}

.board-note {
  padding: 28px;
}

.board-note h2 {
  font-size: 34px;
}

.board-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
  gap: 10px;
}

.board-strip article {
  display: flex;
  min-width: 0;
  min-height: 92px;
  flex-direction: column;
  justify-content: center;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.04);
}

.board-strip article span {
  padding: 0;
  border: 0;
  color: var(--purple-light);
  font-size: 12px;
}

.board-strip article strong {
  margin-top: 5px;
  font-size: 15px;
}

.board-strip article small {
  margin-top: 3px;
  color: #cfc4ce;
  font-size: 12px;
}

.discovery {
  background: linear-gradient(180deg, var(--white), #fbf8f4);
}

.book-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.book-card {
  min-height: 490px;
}

.book-cover {
  height: 305px;
  min-height: 0;
  padding: 16px;
}

.book-cover img {
  max-height: 273px;
}

.book-info {
  min-height: 184px;
  padding: 20px 22px;
}

.book-info h3 {
  font-size: 25px;
}

.shelf {
  padding: 96px 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 20px 20px;
}

.shelf-console {
  display: block;
  box-shadow: 10px 10px 0 var(--purple);
}

.shelf-console-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  background: #29172a;
  gap: 32px;
}

.shelf-console-head > div {
  display: flex;
  flex-direction: column;
}

.shelf-console-head > div span {
  color: var(--purple-light);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.shelf-console-head > div strong {
  margin-top: 5px;
  font-size: 22px;
}

.shelf-console-head ul {
  display: flex;
  gap: 8px;
}

.shelf-console-head li {
  display: flex;
  min-width: 92px;
  flex-direction: column;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 5px;
}

.shelf-console-head li b {
  color: var(--yellow);
  font-size: 20px;
}

.shelf-console-head li span {
  color: #d8ced7;
  font-size: 12px;
}

.shelf-tabs {
  flex-direction: row;
  border-right: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.shelf-tab {
  min-height: 62px;
  flex: 1;
  padding: 0 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 0;
}

.shelf-tab:last-child {
  border-right: 0;
}

.shelf-panels {
  padding: 24px;
}

.shelf-panel {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.shelf-row {
  grid-template-columns: 24px 78px minmax(0, 1fr);
  grid-template-rows: auto auto 1fr;
  min-height: 154px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.035);
  gap: 6px 12px;
}

.shelf-row:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.shelf-number {
  grid-row: 1 / 4;
  align-self: start;
  padding-top: 3px;
}

.shelf-row img {
  grid-row: 1 / 4;
  width: 78px;
  height: 116px;
}

.shelf-row div,
.shelf-row > p,
.shelf-state {
  grid-column: 3;
}

.shelf-row > p {
  display: block;
  align-self: end;
}

.shelf-state {
  align-self: end;
  justify-self: start;
  margin-top: 6px;
}

.screens {
  background-color: #eee9fa;
  background-image: linear-gradient(rgba(112, 92, 231, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(112, 92, 231, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
}

.screen-hint {
  margin-bottom: 20px;
}

.screens-track {
  display: grid;
  grid-template-columns: repeat(4, 250px);
  justify-content: space-between;
  padding: 2px 6px 20px 2px;
  gap: 24px;
  overflow: visible;
  cursor: default;
  scroll-snap-type: none;
}

@media (max-width: 1160px) {
  .hero-stage {
    grid-template-columns: minmax(330px, 0.8fr) minmax(560px, 1.2fr);
    gap: 36px;
  }

  .board-feature {
    grid-template-columns: 1fr 1fr;
  }

  .screens-track {
    display: flex;
    justify-content: flex-start;
    overflow-x: auto;
    cursor: grab;
    scroll-snap-type: x mandatory;
  }
}

@media (max-width: 1060px) {
  .hero-stage {
    grid-template-columns: 1fr;
    width: min(calc(100% - 56px), 820px);
    padding: 76px 0;
  }

  .hero-copy {
    align-items: center;
    text-align: center;
  }

  .hero-description {
    max-width: 680px;
  }

  .hero-tags,
  .hero-actions {
    justify-content: center;
  }

  .hero-board {
    width: 100%;
    margin: 0;
  }

  .book-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shelf-panel {
    grid-template-columns: 1fr;
  }

  .shelf-row {
    grid-template-columns: 28px 72px minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    min-height: 128px;
  }

  .shelf-number,
  .shelf-row img {
    grid-row: 1 / 3;
  }

  .shelf-row img {
    width: 72px;
    height: 94px;
  }

  .shelf-row div,
  .shelf-row > p {
    grid-column: 3;
  }

  .shelf-state {
    grid-column: 4;
    grid-row: 1 / 3;
    align-self: center;
    margin-top: 0;
  }
}

@media (max-width: 760px) {
  .hero-stage {
    width: 100%;
    padding: 62px 16px 58px;
    gap: 48px;
  }

  .hero h1 {
    font-size: clamp(50px, 15vw, 70px);
  }

  .hero-board {
    min-height: 0;
    padding: 18px;
  }

  .board-feature {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    min-height: 350px;
  }

  .board-art {
    min-height: 350px;
  }

  .board-note {
    padding: 20px;
  }

  .board-note h2 {
    font-size: 28px;
  }

  .board-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .board-strip article {
    min-height: 82px;
    padding: 9px;
  }

  .board-strip article small {
    display: none;
  }

  .book-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .book-card {
    min-height: 450px;
  }

  .book-cover {
    height: 270px;
  }

  .book-cover img {
    max-height: 238px;
  }

  .shelf-console-head {
    align-items: flex-start;
    flex-direction: column;
    padding: 22px;
    gap: 20px;
  }

  .shelf-console-head ul {
    width: 100%;
  }

  .shelf-console-head li {
    min-width: 0;
    flex: 1;
  }

  .shelf-tabs {
    overflow-x: auto;
  }

  .shelf-tab {
    min-width: 150px;
  }

  .shelf-panels {
    padding: 16px;
  }

  .screens-track {
    margin-right: -16px;
    padding-right: 16px;
  }
}

@media (max-width: 560px) {
  .board-heading {
    grid-template-columns: 1fr auto;
  }

  .board-feature {
    grid-template-columns: 1fr;
  }

  .board-art {
    min-height: 250px;
    background-position: 50% 10%;
    background-size: 100% auto;
  }

  .board-strip {
    grid-template-columns: 1fr;
  }

  .board-strip article {
    min-height: 70px;
  }

  .board-strip article small {
    display: block;
  }

  .book-grid {
    grid-template-columns: 1fr;
  }

  .book-card {
    min-height: 0;
  }

  .book-cover {
    height: 310px;
  }

  .book-cover img {
    max-height: 278px;
  }

  .shelf-console-head ul {
    flex-direction: column;
  }

  .shelf-console-head li {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
  }

  .shelf-tab {
    min-width: 0;
    padding: 0 10px;
    font-size: 13px;
  }

  .shelf-row {
    grid-template-columns: 22px 64px minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    min-height: 132px;
  }

  .shelf-number,
  .shelf-row img {
    grid-row: 1 / 4;
  }

  .shelf-row img {
    width: 64px;
    height: 96px;
  }

  .shelf-row div,
  .shelf-row > p,
  .shelf-state {
    grid-column: 3;
  }

  .shelf-state {
    grid-row: auto;
    align-self: end;
  }
}
