:root {
  --ink: #292b2e;
  --secondary: #62666b;
  --muted: #73777c;
  --accent: #842b39;
  --experience-wash: #faf1f3;
  --experience-pressed: #f4e5e9;
  --line: #e8e5e6;
  --chinese-font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  color-scheme: light;
  color: var(--ink);
  background: #fff;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100svh; }
#home-page { min-height: inherit; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.page-width { width: min(1040px, calc(100% - 64px)); margin-inline: auto; }
.skip { position: absolute; top: -100px; left: 24px; padding: 12px; background: #fff; z-index: 2; }
.skip:focus { top: 12px; }
.home-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 96px; }
.brand { font: 700 34px/1 var(--chinese-font); white-space: nowrap; }
.brand span { color: var(--accent); display: inline-block; width: .5em; }
.home-nav { display: flex; align-items: center; gap: 28px; }
.home-nav a { color: var(--secondary); font-size: 15px; padding-block: 14px; }
.home-nav a:hover { color: var(--accent); }
/* Keep cached homepage markup consistent with the simplified navigation. */
.home-header .home-nav .site-nav-link { display: none; }
.home-footer nav a:not([href="/faq.html"]) { display: none; }
.home-intro { padding: clamp(32px, 6vh, 64px) 0 44px; }
h1 { margin: 0; font-size: clamp(30px, 3.5vw, 44px); line-height: 1.2; font-weight: 600; letter-spacing: -.035em; }
.experiences { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; border-top: 1px solid var(--line); padding: 24px 0; }
.experience { min-width: 0; display: flex; flex-direction: column; padding: 24px; border-radius: 12px; transition: background-color .16s ease; touch-action: manipulation; }
.experience:focus-visible { background: var(--experience-wash); outline-offset: 2px; }
.experience:active { background: var(--experience-pressed); }
@media (hover: hover) {
  .experience:hover { background: var(--experience-wash); }
  .experience:hover .experience-link span:first-child { text-decoration: underline; text-underline-offset: 5px; }
}
h2 { font-weight: 600; letter-spacing: -.025em; }
.experience h2 { display: flex; align-items: center; gap: 14px; font-size: 32px; line-height: 1.2; margin: 0 0 12px; }
.experience-icon { display: block; flex: 0 0 auto; width: 1.06em; height: 1.06em; color: var(--accent); }
.experience-copy { margin: 0 0 20px; font-size: 17px; line-height: 1.6; color: var(--secondary); max-width: 37ch; }
.experience-link { display: inline-flex; align-items: center; align-self: flex-start; gap: 22px; min-height: 44px; padding-block: 10px; color: var(--accent); font-size: 17px; font-weight: 600; margin-top: auto; }
.experience:focus-visible .experience-link span:first-child { text-decoration: underline; text-underline-offset: 5px; }
.experience-link span[aria-hidden] { font-size: 22px; line-height: 1; }
.free-note { margin: 4px 0 0; font-size: 13px; line-height: 1.5; color: var(--muted); }
.membership { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 32px; padding: 24px 28px; border-radius: 12px; background: #f9f5f6; }
.membership h2 { font-size: 21px; line-height: 1.3; margin: 0 0 5px; color: var(--accent); }
.membership-copy p { margin: 0; color: var(--secondary); font-size: 15px; line-height: 1.5; }
.membership-price p { margin: 0 0 4px; font-size: 21px; font-weight: 550; line-height: 1.3; letter-spacing: -.02em; }
.membership-price small { display: block; color: var(--muted); font-size: 12px; line-height: 1.5; }
.membership-link { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 46px; padding: 12px 20px; border-radius: 8px; background: var(--accent); color: #fff; font-size: 15px; font-weight: 600; white-space: nowrap; }
.membership-link:hover { background: #712330; }
.home-footer { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 32px; padding: 18px 0 28px; font-size: 12px; color: var(--muted); }
.home-footer p { margin: 0; }
.home-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.home-footer a { display: inline-block; padding-block: 12px; }
.home-footer a:hover { color: var(--accent); }
/* Mobile treats the two routes as equal cards and uses the visible viewport
   for breathing room, while short screens can still scroll naturally. */
@media (max-width: 700px) {
  body { min-height: 100svh; min-height: 100dvh; display: flex; flex-direction: column; }
  #home-page { display: flex; flex-direction: column; flex: 1; }
  .page-width { width: calc(100% - 40px); }
  .home-header { flex: 0 0 auto; min-height: 56px; gap: 14px; }
  .brand { font-size: 29px; }
  .home-nav { gap: 18px; }
  .home-nav a { font-size: 13px; }
  main.page-width { display: flex; flex-direction: column; flex: 1 0 auto; }
  .home-intro { flex: 0 0 auto; padding: 4px 0 12px; }
  h1 { max-width: none; font-size: clamp(20px, 6.8vw, 32px); line-height: 1.15; letter-spacing: -.035em; white-space: nowrap; }
  .experiences { flex: 1 0 auto; grid-template-columns: 1fr; grid-template-rows: repeat(2, minmax(min-content, 1fr)); gap: 12px; border: 0; padding: 0; margin-bottom: 12px; }
  .experience { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto auto; align-content: center; align-items: center; column-gap: 12px; padding: 12px 16px; border: 1px solid #e7e1e3; border-radius: 14px; background: #fff; box-shadow: 0 3px 14px #45232d04; -webkit-tap-highlight-color: transparent; }
  .experience h2 { grid-column: 1 / -1; gap: 11px; font-size: 23px; line-height: 1.15; margin: 0 0 4px; }
  .experience-copy { grid-column: 1 / -1; font-size: 14px; line-height: 1.4; margin: 0 0 6px; max-width: none; }
  .experience-link { font-size: 14px; min-height: 28px; padding-block: 4px; gap: 12px; margin-top: 0; }
  .experience-link span[aria-hidden] { font-size: 20px; }
  .free-note { font-size: 11px; line-height: 1.4; margin: 0; text-align: right; }
  .membership { flex: 0 0 auto; grid-template-columns: minmax(0, 1fr) auto; gap: 5px 12px; padding: 12px 16px; border: 1px solid #eee3e6; border-radius: 14px; background: #fcf7f8; }
  .membership-copy { grid-column: 1; }
  .membership h2 { font-size: 17px; line-height: 1.25; margin-bottom: 2px; }
  .membership-copy p { font-size: 12px; line-height: 1.4; }
  .membership-price { grid-column: 1; }
  .membership-price p { font-size: 16px; margin-bottom: 1px; }
  .membership-price small { font-size: 10px; line-height: 1.35; }
  .membership-link { grid-column: 2; grid-row: 1 / 3; min-height: 44px; padding: 10px 12px; gap: 10px; font-size: 13px; }
  #home-membership-label { max-width: 10ch; white-space: normal; }
  .home-footer { flex: 0 0 auto; margin-top: 0; padding: 6px 0 max(8px, env(safe-area-inset-bottom)); font-size: 11px; }
  .home-footer > p { display: none; }
  .home-footer nav { width: 100%; justify-content: center; gap: 12px; }
  .home-footer a { display: inline-flex; align-items: center; min-height: 44px; padding-block: 10px; }
}
@media (max-width: 700px) and (min-height: 740px) {
  .home-header { min-height: 64px; }
  .home-intro { padding: 10px 0 20px; }
  .experience { padding-block: 20px; }
  .experience h2 { font-size: 25px; margin-bottom: 7px; }
  .experience-copy { font-size: 15px; line-height: 1.45; margin-bottom: 12px; }
  .experience-link { font-size: 15px; min-height: 32px; }
  .free-note { font-size: 12px; }
  .membership { padding-block: 16px; }
  .home-footer { padding-top: 10px; padding-bottom: max(12px, env(safe-area-inset-bottom)); }
}
@media (max-width: 360px) {
  .page-width { width: calc(100% - 28px); }
  .experience { padding-inline: 12px; column-gap: 8px; }
  .experience-link { gap: 8px; }
  .free-note { font-size: 10px; }
  .membership { gap: 5px 8px; padding-inline: 12px; }
  .membership-link { padding-inline: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .experience { transition: none; }
}
