:root {
  color-scheme: light;
  --paper: #f9f5ee;
  --white: #fffaf3;
  --ink: #271b25;
  --muted: #62555d;
  --plum: #2d1c29;
  --plum-light: #e8d9df;
  --orange: #ffad8d;
  --rust: #a03925;
  --border: #e3d8cf;
  --serif: "Instrument Serif", "Baskerville", Georgia, serif;
  --sans: "DM Sans", "Avenir Next", system-ui, sans-serif;
  --shell: 1248px;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.6 var(--sans);
}
img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font: 400 1em/1.04 var(--serif); }
h1 { font-size: clamp(3rem, 6.1vw, 6.4rem); letter-spacing: -.055em; }
h2 { font-size: clamp(2.5rem, 4.1vw, 4.25rem); letter-spacing: -.045em; }
h3 { font-size: clamp(1.8rem, 3vw, 2.7rem); letter-spacing: -.035em; }
h1 em, h2 em { font-weight: 400; }
.shell { width: min(calc(100% - 112px), var(--shell)); margin-inline: auto; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--rust);
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1.5;
  text-transform: uppercase;
}
.eyebrow-line { display: inline-block; width: 24px; height: 1px; background: currentColor; }
.lede { color: var(--muted); font-size: clamp(1.02rem, 1.4vw, 1.23rem); max-width: 53ch; }
.skip-link {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 5;
  padding: 8px 14px;
  background: var(--white);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.site-header { border-bottom: 1px solid var(--border); }
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  min-height: 77px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
  text-decoration: none;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -.06em;
  line-height: 1;
}
.brand-accent { font-weight: 500; }
.brand-mark {
  display: block;
  width: 29px;
  height: 29px;
  flex: none;
}
.site-nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 40px); }
.site-nav a, .site-footer nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  text-decoration: none;
  font-size: .9rem;
  font-weight: 600;
}
.site-nav a { position: relative; color: var(--muted); }
.site-nav a:hover, .site-nav a[aria-current], .site-nav a[data-current-section] { color: var(--rust); }
.site-nav a[aria-current]::after, .site-nav a[data-current-section]::after {
  position: absolute;
  right: 0;
  bottom: 1px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 17px;
  padding: 11px 19px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: .91rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  line-height: 1.35;
}
.button span, .text-link span, .hero-link span { font-size: 1.15em; line-height: 1; }
.button--primary { color: #2d1c29; background: var(--orange); }
.button--primary:hover { background: #ffc1a8; }
.button--outline { min-height: 41px; border-color: #cbbdb5; }
.button--outline:hover { background: #efe5da; }
.button--dark { color: var(--white); background: var(--plum); }
.button--dark:hover { background: #4d3347; }

.hero { background: var(--plum); color: var(--white); padding: 63px 0 68px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .99fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
}
.hero .eyebrow { color: var(--orange); }
.hero h1 { margin: 23px 0 24px; }
.hero h1 em, .product-copy h1 em { color: var(--orange); }
.hero .lede, .product-copy .lede { color: var(--plum-light); max-width: 37ch; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 24px; margin-top: 32px; }
.hero-link, .text-link, .back-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 37px;
  font-size: .92rem;
  font-weight: 700;
  text-decoration: none;
}
.hero-link { color: var(--white); }
.hero-link:hover, .text-link:hover, .back-link:hover, .site-footer nav a:hover {
  text-decoration: underline;
  text-underline-offset: .24em;
}
.hero-visual { position: relative; }
.hero-image, .product-image {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 5px;
  background: #d09180;
}
.phrase-slip {
  display: flex;
  align-items: center;
  gap: 14px;
  position: absolute;
  right: 17px;
  bottom: 17px;
  padding: 12px 16px;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 5px 18px #2d1c2929;
  border-radius: 3px;
  line-height: 1.3;
}
.phrase-slip [lang] { font-size: 1.35rem; letter-spacing: -.06em; }
.phrase-slip-detail { padding-left: 13px; border-left: 1px solid var(--border); font-size: .78rem; }

.catalog-section { padding-block: 66px 85px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 27px; }
.section-heading .eyebrow { margin-bottom: 12px; }
.text-link { color: var(--rust); }
.catalog-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.catalog-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--white);
  overflow: hidden;
}
.card-art { position: relative; display: grid; place-items: center; aspect-ratio: 2.45; text-decoration: none; overflow: hidden; }
.card-image { width: 100%; height: 100%; position: absolute; object-fit: cover; object-position: 50% 52%; }
.starter-art {
  background: linear-gradient(123deg, #e8a593 19%, #f8c7b4 19.3%, #f8c7b4 70%, #edb29e 70.4%);
}
.starter-art-sheet {
  display: grid;
  place-items: center;
  width: 48%;
  height: 74%;
  background: #fdf1dc;
  color: #9d3b32;
  transform: rotate(-8deg);
  align-content: center;
  box-shadow: 10px 12px 25px #8c4e3c48;
  font-size: clamp(1.6rem, 4.7vw, 4.3rem);
  font-family: "Songti SC", "Noto Serif CJK SC", SimSun, serif;
  line-height: 1.24;
}
.starter-art-sheet small { font: 600 clamp(.66rem, 1.4vw, 1rem)/1.6 var(--sans); letter-spacing: .08em; }
.card-body { display: flex; flex: 1; flex-direction: column; align-items: start; padding: 25px 28px 22px; }
.card-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: .78rem; font-weight: 650; color: var(--muted); }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--rust); }
.meta-separator { width: 3px; height: 3px; border-radius: 50%; background: currentColor; margin: 0 3px; }
.card-body h3 { margin: 10px 0 9px; }
.card-body > p:not(.card-meta) { margin-bottom: 19px; color: var(--muted); }
.card-bottom {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px 18px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 13px;
  border-top: 1px solid var(--border);
}
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.price strong { font-size: 1.02rem; }
.price span { color: var(--muted); font-size: .81rem; }

.inner-heading { padding-block: 65px 57px; background: #f1e6dc; border-bottom: 1px solid var(--border); }
.inner-heading h1 { margin: 15px 0 18px; font-size: clamp(3rem, 6.7vw, 6.6rem); }
.inner-heading .lede { max-width: 62ch; }
.catalog-section--listing { padding-top: 42px; }

.product-intro { padding: 35px 0 60px; background: var(--plum); color: var(--white); }
.back-link { color: var(--orange); margin-bottom: 20px; }
.product-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .96fr); gap: 50px; align-items: center; }
.product-copy .eyebrow { color: var(--orange); }
.product-copy h1 { margin: 12px 0 21px; }
.product-copy h1 em { display: block; }
.product-copy .card-meta { color: var(--plum-light); margin-top: 22px; }
.product-copy .status-dot { background: var(--orange); }
.product-price { margin-top: 7px; }
.product-price strong { font-size: 1.54rem; }
.product-price span, .product-note { color: var(--plum-light); }
.product-note { font-size: .87rem; margin: 5px 0 19px; }
.product-content { padding-block: 61px; }
.feature-list { padding-left: 1.28em; margin: 19px 0 0; color: var(--muted); }
.feature-list li + li { margin-top: 8px; }
.starter-section { background: #f1e6dc; padding-block: 54px 67px; }
.starter-section h2 { margin: 10px 0 12px; }
.phrase-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 23px; }
.phrase-card { background: var(--white); border: 1px solid var(--border); border-radius: 5px; padding: 23px 26px; }
.phrase-card h3 { font-family: "Songti SC", "Noto Serif CJK SC", SimSun, serif; }
.phrase-card .pinyin { color: var(--rust); margin: 8px 0 13px; }

.reading { max-width: min(calc(100% - 112px), var(--shell)); padding-block: 37px 79px; }
.reading > * { max-width: 70ch; }
.reading > section { padding-block: 23px; border-bottom: 1px solid var(--border); }
.reading > section h2 { font-size: clamp(1.8rem, 3.2vw, 2.7rem); margin-bottom: 10px; }
.reading > p, .reading section p { color: var(--muted); }
.reading .notice {
  margin-bottom: 8px;
  border-left: 3px solid var(--rust);
  padding: 13px 17px;
  background: #f1e6dc;
}
.reading .button, .reading > .text-link { margin-top: 24px; }
.reading > .button:first-child { margin-top: 0; }
.details-list { margin: 0 0 21px; }
.details-list > div {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 6px 20px;
  padding-block: 14px;
  border-bottom: 1px solid var(--border);
}
.details-list dt { font-weight: 700; }
.details-list dd { margin: 0; color: var(--muted); }
.site-footer { border-top: 1px solid var(--border); }
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px 28px;
  min-height: 102px;
  padding-block: 19px;
}
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 1px 22px; }
.footer-note { color: var(--muted); font-size: .83rem; }

@media (max-width: 1050px) {
  .shell { width: calc(100% - 72px); }
  .reading { max-width: none; }
  .hero-actions { gap: 10px 17px; }
}
@media (max-width: 780px) {
  .shell { width: calc(100% - 44px); }
  .header-inner { flex-wrap: wrap; min-height: 70px; padding-block: 12px 8px; gap: 9px 16px; }
  .header-inner > .button { margin-left: auto; }
  .site-nav { order: 3; justify-content: space-between; width: 100%; gap: 10px; }
  .site-nav a { min-height: 33px; }
  .hero-grid, .product-grid { grid-template-columns: minmax(0, 1fr); gap: 31px; }
  .hero { padding-block: 40px 37px; }
  .hero h1 { margin-block: 15px 17px; font-size: clamp(3.3rem, 9.7vw, 5.45rem); }
  .hero-actions { margin-top: 21px; }
  .hero-image, .product-image { aspect-ratio: 1.47; }
  .catalog-section { padding-block: 43px 56px; }
  .catalog-grid { gap: 15px; }
  .card-body { padding: 17px; }
  .inner-heading { padding-block: 41px 37px; }
  .footer-inner { flex-wrap: wrap; justify-content: start; }
  .footer-inner nav { order: 3; width: 100%; }
  .footer-note { margin-left: auto; }
}
@media (max-width: 540px) {
  .section-heading { align-items: start; flex-direction: column; gap: 5px; margin-bottom: 17px; }
  .section-heading .text-link { min-height: 28px; }
  .catalog-grid, .phrase-grid { grid-template-columns: minmax(0, 1fr); }
  .starter-art-sheet { font-size: 2.6rem; }
  .phrase-slip { right: 10px; bottom: 10px; padding: 9px 11px; }
  .phrase-slip [lang] { font-size: 1.17rem; }
  .product-intro { padding-block: 24px 36px; }
  .product-content, .starter-section { padding-block: 40px; }
}
@media (max-width: 350px) {
  .shell { width: calc(100% - 32px); }
  .header-inner > .button { padding-inline: 9px; gap: 5px; }
  .brand { gap: 7px; font-size: 1.03rem; }
  .hero h1 { font-size: 3rem; }
  .details-list > div { grid-template-columns: 1fr; }
}


.reading .social-identity {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(14px, 3vw, 24px);
  margin-top: 36px;
  padding: clamp(14px, 3vw, 24px);
  border: 1px solid var(--border);
  border-radius: 16px;
}
.social-identity__avatar {
  display: block;
  width: clamp(68px, 16vw, 108px);
  height: auto;
  border-radius: 50%;
}
.reading .social-identity h2 { margin: 0 0 6px; font-size: 1.15rem; }
.reading .social-identity p { margin: 0; }

/* Free starter pre-launch block; intentionally no email field or form. */
.publisher-credit { font-size: .95rem; color: var(--muted); margin: 0 0 14px; }
.starter-placeholder {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  padding: clamp(16px, 3vw, 28px);
  margin-top: 28px;
  border: 1px solid var(--border);
  border-radius: 16px;
}
.starter-placeholder h3 { margin: 0 0 6px; }
.starter-placeholder p { margin: 0; }
.starter-placeholder button:disabled { cursor: default; opacity: .78; white-space: normal; }
@media (max-width: 520px) {
  .starter-placeholder button { width: 100%; }
}
