:root {
  color-scheme: light;
  --canvas: #fbfaff;
  --surface: #fff;
  --ink: #252035;
  --muted: #696276;
  --line: #e8e2f0;
  --accent: #7244ce;
  --accent-soft: #eee7ff;
  --brand-gradient: linear-gradient(110deg, #7443d2 0%, #8d3bbb 58%, #b03482 100%);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--canvas);
  scrollbar-color: #c9bbdf var(--canvas);
  scrollbar-width: thin;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--accent); text-underline-offset: 4px; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }
main:focus { outline: none; }
::selection { color: #322246; background: #e1d5f8; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
section[id] { scroll-margin-top: 32px; }

.skip-link {
  position: fixed;
  top: 8px;
  left: 12px;
  z-index: 10;
  padding: 10px 16px;
  background: var(--surface);
  border-radius: 6px;
  transform: translateY(-180%);
}
.skip-link:focus { transform: translateY(0); }
.site-header { border-bottom: 1px solid var(--line); background: linear-gradient(105deg, #fff 60%, #faf4ff 88%, #fff1f7); }
.header-inner, .page-content, .footer-inner { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 80px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-size: 21px; font-weight: 700; letter-spacing: -.02em; }
.brand-mark { flex-shrink: 0; color: var(--accent); }
nav { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; }
nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-size: 14px; text-decoration: none; transition: color 150ms ease; }
nav a:hover { color: var(--accent); }
.page-content { padding-top: 32px; padding-bottom: 64px; }

.hero { position: relative; isolation: isolate; border-radius: 12px; background: #f2eafa; overflow: hidden; }
.hero-photo { width: 100%; aspect-ratio: 3 / 1; object-fit: cover; }
.hero-copy { position: absolute; inset: 0 auto 0 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; width: 48%; padding: 24px 0 32px 42px; }
.hero h1 { font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif; font-size: clamp(38px, 4vw, 54px); font-weight: 750; line-height: 1.14; letter-spacing: -.025em; }
.hero h1 span { color: #7042c2; }
.hero-copy > p { color: #594967; font-size: 15px; line-height: 1.8; margin: 18px 0 22px; }
.primary-link { display: inline-flex; justify-content: center; align-items: center; min-height: 45px; padding: 10px 24px; border-radius: 9px; background: var(--brand-gradient); color: var(--surface); text-decoration: none; font-size: 14px; font-weight: 650; }
.primary-link:hover { background: linear-gradient(110deg, #6032b7, #8d286b); }
.primary-link:active { transform: translateY(1px); }
.image-label { position: absolute; right: 16px; bottom: 14px; padding: 3px 9px; border-radius: 5px; background: rgb(255 255 255 / .94); color: #52465c; font-size: 12px; }

.availability { margin-top: 24px; padding: 24px 28px; border-radius: 12px; background: linear-gradient(105deg, #f1eaff, #fcf1f8); }
.availability-heading { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 5px; }
.availability h2 { font-size: 20px; line-height: 1.4; }
.status-label { color: #6338ba; font-size: 13px; font-weight: 650; }
.availability > p { color: #594967; font-size: 15px; }

.product-section { margin-top: 64px; }
.section-heading { margin-bottom: 36px; }
.section-heading h2 { font-size: clamp(24px, 2.5vw, 30px); line-height: 1.4; letter-spacing: -.02em; }
.section-heading > p { margin-top: 12px; color: var(--muted); max-width: 70ch; }
.product-feature { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.5fr); gap: 36px; align-items: center; padding: 28px 0; border-top: 1px solid var(--line); }
.feature-copy h3 { font-size: 23px; line-height: 1.4; margin-bottom: 12px; }
.feature-copy > p { max-width: 36ch; }
.feature-copy .feature-note { margin-top: 12px; font-size: 14px; color: var(--muted); }
.product-feature figure { min-width: 0; }
.product-feature img { width: 100%; aspect-ratio: 3 / 1; object-fit: cover; border-radius: 12px; background: #f2eafa; }
figcaption { margin-top: 8px; color: var(--muted); text-align: right; font-size: 12px; }

.about-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 64px; margin-top: 52px; padding-top: 40px; border-top: 1px solid var(--line); }
.about-section h2 { font-size: 24px; line-height: 1.4; margin-bottom: 14px; }
.about-section p { color: var(--muted); max-width: 65ch; }
.site-information { font-size: 14px; }
.site-information > div { display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 14px; padding: 7px 0; }
.site-information dt { color: var(--muted); }
.site-information dd { overflow-wrap: anywhere; }
.site-footer { background: var(--surface); border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; align-items: center; padding-block: 24px; font-size: 13px; color: var(--muted); }
.footer-inner a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); }
.footer-inner a:hover { color: var(--accent); }

@media (max-width: 1000px) and (min-width: 901px) {
  .hero-copy { padding-left: 28px; }
  .hero h1 { font-size: 38px; }
  .hero-copy > p { margin: 12px 0 16px; font-size: 13px; }
  .product-feature { gap: 28px; }
  .about-section { gap: 32px; }
}

@media (max-width: 900px) {
  .header-inner, .page-content, .footer-inner { width: calc(100% - 36px); }
  .header-inner { flex-direction: column; align-items: flex-start; gap: 8px; padding-block: 18px 10px; }
  .brand { font-size: 20px; }
  nav { width: 100%; gap: 8px 28px; }
  nav a { font-size: 14px; }
  .page-content { padding-top: 20px; padding-bottom: 36px; }
  .hero { display: flex; flex-direction: column; }
  .hero-copy { position: static; order: -1; width: 100%; padding: 28px 24px 26px; background: linear-gradient(105deg, #f1eaff, #fcf1f8); }
  .hero h1 { font-size: clamp(36px, 8.5vw, 48px); }
  .hero-copy > p { font-size: 15px; margin: 16px 0 20px; }
  .hero-photo { aspect-ratio: 3 / 1; object-fit: contain; }
  .image-label { position: static; align-self: flex-end; padding: 8px 12px; background: transparent; font-size: 11px; }
  .availability { padding: 20px 22px; margin-top: 18px; }
  .availability > p { font-size: 14px; }
  .product-section { margin-top: 40px; }
  .section-heading { margin-bottom: 24px; }
  .section-heading > p { font-size: 15px; }
  .product-feature { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-block: 24px; }
  .feature-copy h3 { font-size: 22px; margin-bottom: 8px; }
  .feature-copy > p { max-width: 65ch; font-size: 15px; }
  .feature-copy .feature-note { margin-top: 8px; }
  .about-section { grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: 24px; padding-top: 28px; }
  .about-section h2 { font-size: 23px; }
  .about-section p { font-size: 15px; }
  .footer-inner { display: block; padding-block: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  nav a { transition: none; }
  .primary-link:active { transform: none; }
}
