/* Marketing tokens: one brand direction, separate from all App theme styles. */
:root {
  --paper: #f4f1e8;
  --surface: #fffcf6;
  --ink: #263d37;
  --muted: #5c6c62;
  --line: #d6d9cd;
  --night: #101d2b;
  --night-text: #f4eee1;
  --gold: #e4c38c;
  --green: #466950;
  --display: 'Noto Serif TC', 'Songti TC', 'PMingLiU', Georgia, serif;
  --body: 'Noto Sans TC', 'PingFang TC', 'Microsoft JhengHei', system-ui, sans-serif;
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 64px;
  --ease: cubic-bezier(.2,.7,.2,1);
  --motion-fast: 160ms; --motion-progress: 550ms; --motion-companion: 720ms;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.8; -webkit-font-smoothing: antialiased; }
::selection { background: #d4dcc5; color: #203a2e; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, [tabindex]:focus-visible { outline: 3px solid #9b772c; outline-offset: 5px; }
[hidden] { display: none !important; }
h1,h2,h3,p,figure,blockquote { margin: 0; }
h1,h2,h3 { font-family: var(--display); font-weight: 500; line-height: 1.45; letter-spacing: -.025em; text-wrap: balance; }
h1 { font-size: clamp(32px, 8.8vw, 40px); line-height: 1.48; }
h2 { font-size: 30px; }
h3 { font-size: 25px; }
p { text-wrap: pretty; }
.wrap { width: min(100% - 44px, 1200px); margin-inline: auto; }
.section { padding-block: 72px; }
.skip-link { position: fixed; z-index: 10; top: 6px; left: 10px; padding: 10px; background: var(--surface); transform: translateY(-160%); clip-path: inset(50%); }
.skip-link:focus { transform: none; clip-path: none; }
.site-header { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: inline-flex; gap: 9px; align-items: center; font-size: 21px; font-weight: 600; letter-spacing: -.03em; min-height: 44px; }
.brand img { border-radius: 7px; }
.site-header nav { display: flex; align-items: center; gap: 26px; font-size: 13px; }
.site-header nav a { display: inline-flex; align-items: center; min-height: 44px; }
.nav-story,.nav-product { display: none !important; }
.nav-start { gap: 10px; }
.eyebrow { color: var(--green); font-size: 12px; font-weight: 600; letter-spacing: .13em; }
.tiny-spark { font-size: 18px; margin-right: 7px; }
.hero { padding-top: 12px; }
.hero h1 { margin-top: 12px; }
.word-adventure { color: var(--green); }
.hero-description { color: var(--muted); font-size: 15px; line-height: 1.9; max-width: 29em; margin-top: 14px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 20px; }
.button { min-height: 48px; padding: 12px 19px; display: inline-flex; align-items: center; justify-content: center; gap: 25px; border: 1px solid transparent; border-radius: 5px; font-size: 14px; font-weight: 500; line-height: 1.5; transition: background var(--motion-fast), transform var(--motion-fast); }
.button-primary { background: var(--ink); color: var(--surface); }
.button-primary:hover { background: #3c5c47; }
.button:active { transform: translateY(1px); }
.text-link { font-size: 13px; display: inline-flex; min-height: 44px; align-items: center; gap: 14px; border-bottom: 1px solid var(--line); }
.cta-note { font-size: 11px; color: var(--muted); margin-top: 11px; }
.quest-scene { position: relative; color: var(--night-text); background: var(--night); margin: 22px -22px 0; padding-top: 218px; isolation: isolate; scroll-margin-top: 12px; }
.hero-art { position: absolute; inset: 0 0 auto; height: 290px; z-index: -2; overflow: hidden; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 66% 38%; transition: transform var(--motion-companion) var(--ease); }
.quest-scene::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, var(--night) 24%, #101d2b00 66%); pointer-events: none; }
.scene-caption { position: absolute; top: 34px; left: 22px; max-width: 160px; text-shadow: 0 1px 10px #101d2b; }
.scene-caption>span { font-size: 10px; letter-spacing: .12em; }
.scene-caption strong { display: block; font-family: var(--display); font-size: 22px; font-weight: 500; }
.scene-caption p { margin-top: 11px; font-size: 12px; color: var(--gold); }
.scene-reaction { position: absolute; right: 22%; top: 126px; font-size: 26px; color: var(--gold); opacity: 0; pointer-events: none; }
.quest-paper { background: var(--night); margin: 0; padding: 14px 22px; position: relative; }
.demo-heading { display: flex; align-items: center; justify-content: space-between; font-size: 13px; }
.demo-heading>span { font-family: var(--body); font-variant-numeric: tabular-nums; font-size: 16px; }
.demo-tag { margin-left: 7px; padding: 2px 5px; border: 1px solid #556377; color: #cbd1da; font-size: 10px; }
.progress-track { height: 3px; background: #3e4d5b; margin-top: 8px; overflow: hidden; }
.progress-track span { display: block; height: 100%; width: var(--progress,40%); background: var(--gold); transition: width var(--motion-progress) var(--ease); }
.quest-task { margin-top: 10px; width: 100%; min-height: 58px; padding: 10px 0; border: 0; border-block: 1px solid #354655; background: transparent; display: flex; align-items: center; gap: 12px; text-align: left; }
.quest-task:hover { color: var(--gold); }
.quest-check { display: grid; place-items: center; flex: 0 0 26px; width: 26px; height: 26px; border: 1px solid #adbdc0; border-radius: 50%; line-height: 1; color: var(--night); font-size: 16px; }
.quest-title { font-size: 16px; }
.quest-action { margin-left: auto; font-size: 11px; color: var(--gold); }
.quest-task:disabled { opacity: 1; cursor: default; }
.is-complete .quest-check { background: var(--gold); border-color: var(--gold); }
.is-complete .quest-title { text-decoration: line-through; text-decoration-color: #afbdba; }
.is-complete .hero-art img { animation: companion-reply var(--motion-companion) var(--ease); }
.is-complete .scene-reaction { animation: small-echo 1200ms var(--ease); }
.bond-row { display: grid; grid-template-columns: 1fr auto; margin-top: 10px; font-size: 10px; color: #c4d1d0; }
.bond-track { grid-column: 1 / -1; height: 2px; margin-top: 4px; }
.bond-track span { background: #abcbb5; }
.demo-reward { display: flex; gap: 15px; font-size: 11px; color: var(--gold); margin-top: 9px; flex-wrap: wrap; }
.demo-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 9px; }
.demo-status { font-size: 11px; color: #b7c3cf; line-height: 1.7; max-width: 36em; }
.is-complete .demo-status { font-size: 12px; color: var(--night-text); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.reset-button { padding: 0 8px; min-height: 44px; flex: none; border: 0; border-bottom: 1px solid #647782; background: transparent; font-size: 11px; }
.demo-disclaimer { font-size: 10px; color: var(--muted); margin-top: 10px; text-align: center; }
.chapter-mark { display: flex; align-items: center; gap: 15px; font-size: 11px; letter-spacing: .08em; color: var(--muted); margin-bottom: 24px; }
.chapter-mark>span:first-child { font-family: Georgia,serif; font-style: italic; font-size: 17px; }
.continuity { display: grid; gap: 28px; }
.continuity>.chapter-mark { margin: 0; }
.continuity-copy p { color: var(--muted); font-size: 14px; margin-top: 22px; max-width: 28em; }
.echo-note { border-block: 1px solid var(--line); padding: 26px 0; text-align: center; max-width: 360px; width: 100%; justify-self: center; }
.note-label { font-size: 10px; letter-spacing: .1em; color: var(--muted); }
.note-task { margin-top: 8px; font-size: 18px; }.note-task>span { color: var(--green); margin-right: 12px; }
.echo-path { display: flex; gap: 14px; align-items: center; justify-content: center; color: #8b733f; margin: 14px 0; }
.echo-path span { width: 28px; height: 1px; background: var(--line); }
.note-response { font-family: var(--display); font-size: 24px; margin-top: 7px; }
.note-caption { font-size: 11px; color: var(--muted); margin-top: 8px; }
.companion-section { position: relative; background: var(--night); color: var(--night-text); min-height: 710px; isolation: isolate; overflow: hidden; }
.companion-art { position: absolute; inset: 0 0 auto; height: 340px; z-index: -2; }
.companion-art img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; }
.companion-section::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg,#101d2b 50%,#101d2b00 80%); }
.companion-copy { padding-top: 345px; padding-bottom: 40px; }
.companion-copy .chapter-mark { color: #c0cdc9; margin-bottom: 14px; }
.companion-copy h2 { font-size: 28px; }
.companion-copy>p { font-size: 13px; color: #c7d3cf; margin-top: 20px; }
.companion-copy blockquote { font-family: var(--display); font-size: 20px; color: var(--gold); margin-top: 30px; }
.companion-copy cite { font-family: var(--body); display: block; font-size: 10px; font-style: normal; color: #b9c5cc; margin: 7px 0 0 9px; }
.companion-copy .companion-footnote { font-size: 11px; }
.section-intro>p { color: var(--muted); font-size: 14px; margin-top: 18px; }
.world-chapter { display: grid; margin-top: 46px; gap: 28px; }
.world-visual { position: relative; }
.pet-pair { display: flex; align-items: center; justify-content: center; min-height: 240px; padding: 18px; background: #e9ece0; }
.pet-pair img { width: 52%; border-radius: 5px; box-shadow: 0 10px 24px #203d2d12; transform: rotate(-7deg); }
.pet-pair img+img { margin-left: -12%; transform: rotate(8deg) translateY(12px); }
.world-copy p:not(.eyebrow) { font-size: 14px; color: var(--muted); margin-top: 16px; max-width: 29em; }
.world-copy h3 { margin-top: 12px; }
.small-detail { display: block; font-size: 11px; color: var(--muted); margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.landscape img { width: 100%; aspect-ratio: 1.9; object-fit: cover; }
.landscape>span { position: absolute; bottom: 0; left: 0; right: 0; padding: 22px; background: linear-gradient(0deg,#071c20c9,transparent); color: var(--surface); font-size: 13px; display: flex; justify-content: space-between; }
.product-section { background: #e7ebe1; }
.product-layout { display: grid; gap: 32px; }
.product-copy>p { color: var(--muted); margin-top: 18px; font-size: 14px; }
.screen-tabs { display: flex; border-bottom: 1px solid #b5c3b4; margin-top: 28px; }
.screen-tabs button { border: 0; border-bottom: 2px solid transparent; background: transparent; padding: 10px 13px; min-height: 46px; flex: 1; font-size: 13px; }
.screen-tabs button[aria-selected=true] { border-bottom-color: var(--green); font-weight: 600; }
.product-copy>.product-caption { font-size: 10px; line-height: 1.7; }
.product-copy .text-link { margin-top: 16px; }
.screens-stage { display: grid; place-items: center; }
.screens-stage figure { width: min(100%,320px); }
.screens-stage img { width: 100%; box-shadow: 0 20px 35px #263d3718; border: 1px solid #c5cdbd; border-radius: 12px; }
.screens-stage figcaption { text-align: center; font-size: 11px; color: var(--muted); margin-top: 20px; }
.themes { padding-block: 58px; }
.themes h2 { font-size: 26px; }
.themes-heading>p { color: var(--muted); font-size: 13px; margin-top: 18px; }
.theme-scenes { display: grid; gap: 22px; margin-top: 28px; }
.theme-scenes img { width: 100%; aspect-ratio: 2.5; object-fit: cover; object-position: 65% 42%; }
.theme-scenes figcaption { font-size: 13px; display: flex; justify-content: space-between; align-items: center; margin-top: 8px; gap: 8px; }
.theme-scenes figcaption span { font-size: 10px; color: var(--muted); }
.final-cta { text-align: center; background: #eee9db; position: relative; border-top: 1px solid #dedccf; }
.final-cta h2 { font-size: 36px; margin-top: 20px; }
.final-cta h2+p { font-size: 14px; margin-top: 20px; color: var(--muted); }
.final-cta .button { margin-top: 28px; min-width: 192px; }
.save-note { font-size: 10px; color: var(--muted); margin-top: 28px; }
.site-footer { padding-block: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 15px 25px; }
.site-footer>.brand { font-size: 18px; }.site-footer>p { font-size: 11px; color: var(--muted); width: 100%; }
.site-footer nav { display: flex; gap: 24px; flex-wrap: wrap; font-size: 11px; }
.site-footer nav a { display: flex; align-items: center; min-height: 44px; }
.site-footer small { font-size: 10px; color: var(--muted); }
.mobile-cta { position: fixed; z-index: 5; bottom: calc(15px + env(safe-area-inset-bottom)); right: 18px; }
.mobile-cta .button { box-shadow: 0 4px 18px #172e3030; padding: 12px 17px; }
.noscript-note { padding: 20px; font-size: 13px; }
.legal { padding: 44px 0 80px; max-width: 760px; }
.legal h1 { font-size: 36px; }.legal h2 { font-size: 22px; margin-top: 32px; }
.legal p { margin-top: 18px; color: var(--muted); }.legal a { text-decoration: underline; text-underline-offset: 4px; }
.legal .review-label { font-size: 12px; padding: 12px 16px; background: #e9e2cf; color: #624c24; }
@keyframes companion-reply { 0%,100% { transform: scale(1); } 45% { transform: scale(1.025) translateY(-2px); } }
@keyframes small-echo { 0% { opacity: 0; transform: translateY(6px) scale(.8); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(-12px) scale(1.1); } }
@media (min-width: 600px) {
  .wrap { width: min(100% - 80px,1200px); }.nav-story,.nav-product { display: inline-flex !important; }
  h1 { font-size: 44px; }.hero-copy { max-width: 610px; }.quest-scene { margin-inline: 0; }
  .hero-art img { object-position: 50% 38%; }.scene-caption { left: 32px; }
  .quest-paper { padding-inline: 32px; }.theme-scenes { grid-template-columns: repeat(3,1fr); gap: 16px; }
  .theme-scenes img { aspect-ratio: 1.25; }.theme-scenes figcaption { display: block; }.theme-scenes figcaption span { display: block; }
  .mobile-cta { display: none; }
}
@media (min-width: 960px) {
  .site-header { min-height: 94px; }.site-header nav { gap: 35px; }
  .hero { display: grid; grid-template-columns: 43% 57%; align-items: center; padding-top: 28px; column-gap: 0; }
  .hero-copy { padding-right: 48px; padding-bottom: 32px; }
  h1 { font-size: clamp(42px,4.2vw,56px); }h2 { font-size: 40px; }h3 { font-size: 30px; }
  .hero-description { margin-top: 28px; font-size: 15px; }.hero-actions { gap: 24px; margin-top: 32px; }
  .quest-scene { margin: 0; padding-top: 355px; }.hero-art { height: 510px; }
  .hero-art img { object-position: 65% 40%; }.scene-caption { top: 38px; left: 32px; }.scene-caption strong { font-size: 24px; }
  .quest-paper { padding: 22px 32px; }.quest-task { min-height: 60px; }.quest-title { font-size: 17px; }
  .demo-disclaimer { grid-column: 2; margin-top: 12px; text-align: left; font-size: 10px; }
  .section { padding-block: 108px; }
  .continuity { grid-template-columns: 52% 36%; justify-content: space-between; row-gap: 24px; }.continuity>.chapter-mark { grid-column: 1/-1; }
  .continuity-copy p { font-size: 15px; }.echo-note { max-width: 350px; align-self: center; }
  .companion-section { min-height: 620px; }.companion-art img { object-position: 50% 50%; }
  .companion-art { height: 100%; }
  .companion-section::before { background: linear-gradient(90deg,#101d2be8, #101d2b66 45%, #101d2b00 76%); }
  .companion-copy { padding-top: 72px; padding-bottom: 72px; }.companion-copy h2 { font-size: 38px; max-width: 540px; }
  .companion-copy>p { font-size: 15px; }.companion-copy blockquote { margin-top: 40px; font-size: 24px; }
  .world .section-intro { display: flex; align-items: flex-end; justify-content: space-between; }.section-intro>p { padding-bottom: 12px; }
  .world-chapter { grid-template-columns: 52% 38%; justify-content: space-between; gap: 60px; align-items: center; margin-top: 68px; }
  .pet-pair { padding: 34px 70px; min-height: 380px; }.world-copy p:not(.eyebrow) { font-size: 15px; }
  .expedition { grid-template-columns: 38% 52%; }.expedition .world-visual { grid-column: 2; grid-row: 1; }.expedition .world-copy { grid-column: 1; grid-row: 1; }
  .landscape img { aspect-ratio: 1.45; }.product-layout { grid-template-columns: 45% 45%; justify-content: space-between; align-items: center; }
  .product-copy { max-width: 460px; }.product-copy>p { font-size: 15px; }.screens-stage figure { width: 345px; }
  .themes { padding-block: 64px; }.themes-heading { display: flex; align-items: center; justify-content: space-between; }.themes h2 { font-size: 30px; }.themes-heading>p { margin: 0; }
  .theme-scenes { margin-top: 36px; gap: 24px; }.theme-scenes img { aspect-ratio: 1.8; }.theme-scenes figcaption { display: flex; }
  .final-cta h2 { font-size: 48px; }.site-footer { gap: 20px; }.site-footer>p { width: auto; margin-right: auto; }
}
@media (max-width: 359px) {
  .wrap { width: calc(100% - 36px); }.brand { font-size: 19px; }.site-header nav { font-size: 11px; }
  h1 { font-size: 31px; }.hero-actions { gap: 12px; }.button { padding-inline: 14px; gap: 15px; }.demo-link { font-size: 12px; }
  .quest-scene { margin-inline: -18px; padding-top: 208px; }.scene-caption { left: 18px; max-width: 140px; }.scene-caption strong { font-size: 20px; }
  .quest-paper { padding-inline: 18px; }.quest-action { font-size: 10px; }.quest-task { gap: 9px; }.quest-title { font-size: 15px; }
  .companion-copy h2 { font-size: 25px; }.screen-tabs button { padding-inline: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation: none !important; transition: none !important; }
}
@media print {
  .mobile-cta { display: none; }.quest-scene,.companion-section { print-color-adjust: exact; }.section { padding-block: 32px; }
}
