:root {
  color-scheme: light;
  --paper: #faf9f5;
  --surface: #fffefb;
  --ink: #273d32;
  --muted: #5d685f;
  --line: #dedfd6;
  --green: #284e3a;
  --green-hover: #193b29;
  --lilac: #e9e2f5;
  --purple: #756095;
  --radius: 24px;
  --motion: 180ms ease;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
a, button, summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
img { display: block; max-width: 100%; height: auto; }
svg { display: block; width: 24px; height: 24px; fill: currentColor; flex-shrink: 0; }
.svg-symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
p, h1, h2, h3 { margin: 0; }
p { line-height: 1.7; }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 5px; }
::selection { color: var(--ink); background: #d7c4f0; }
.wrap { width: min(1160px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 16px 24px; border-radius: 12px; background: var(--ink); color: white; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.header { display: flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 110px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 24px; letter-spacing: -.8px; font-weight: 750; }
.brand img { border-radius: 12px; }
.header nav { display: flex; gap: 32px; }
.header nav a { display: flex; align-items: center; min-height: 48px; font-size: 14px; font-weight: 500; transition: color var(--motion); }
.header nav a:hover { color: var(--purple); }
.header-actions { display: flex; align-items: center; gap: 16px; }
#language-toggle { min-width: 48px; min-height: 48px; padding: 8px; border: 0; background: transparent; font-size: 13px; border-radius: 50%; transition: background var(--motion); }
#language-toggle:hover { background: var(--lilac); }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 24px; min-height: 56px; padding: 16px 24px; border: 1px solid transparent; border-radius: 100px; background: var(--green); color: white; font-size: 15px; font-weight: 600; line-height: 1.4; transition: background var(--motion), transform var(--motion); }
.button:hover { background: var(--green-hover); }
.button:active { transform: scale(.98); }
.button svg { width: 20px; height: 20px; }
.button-small { min-height: 46px; padding: 12px 19px; font-size: 13px; gap: 17px; }
.hero { display: grid; grid-template-columns: 1.06fr 1fr; align-items: center; gap: 64px; padding-block: 64px 72px; }
.eyebrow { color: var(--muted); font-size: 11px; line-height: 1.6; font-weight: 650; letter-spacing: 1.6px; text-transform: uppercase; }
.hero .eyebrow { display: flex; align-items: center; gap: 9px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
h1 { margin: 25px 0 25px; font-family: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, sans-serif; font-size: clamp(50px, 5.6vw, 78px); font-weight: 750; line-height: 1.08; letter-spacing: -3.6px; }
.accent { color: var(--purple); }
.hero-description { max-width: 440px; font-size: 17px; color: var(--muted); line-height: 1.8; }
.hero-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 32px; }
.text-link { display: inline-flex; align-items: center; gap: 13px; min-height: 48px; font-size: 14px; font-weight: 550; }
.text-link:hover { color: var(--purple); }
.platform-note { display: flex; align-items: center; gap: 10px; margin-top: 27px; color: var(--muted); font-size: 12px; }
.platform-line { width: 23px; height: 1px; background: var(--muted); }
.hero-art { position: relative; display: flex; flex-direction: column; align-items: center; min-width: 0; padding: 22px 28px 21px; border-radius: 32px; background: var(--lilac); }
.art-heading { width: 100%; display: flex; align-items: center; gap: 8px; color: #5c4b73; font-size: 9px; font-weight: 650; letter-spacing: 1px; }
.art-heading svg { width: 15px; height: 15px; }
.art-index { margin-left: auto; font-size: 10px; letter-spacing: 0; }
.hero-screen { display: block; position: relative; width: min(100%, 303px); aspect-ratio: 960 / 1370; margin-block: 24px 23px; border: 7px solid var(--surface); border-radius: 22px; background: #f3f8fb; box-shadow: 0 12px 24px #33234512; overflow: hidden; transform: rotate(-3deg); transition: transform var(--motion); }
.hero-screen:hover { transform: rotate(0); }
.screen-window picture, .screen-window img { display: block; width: 100%; }
.puppy-sticker { position: absolute; width: 150px; bottom: 38px; right: -28px; transform: rotate(8deg); filter: drop-shadow(0 6px 1px #33234516); pointer-events: none; }
.art-caption { display: flex; justify-content: space-between; align-items: center; gap: 18px; width: 100%; color: #5c4b73; font-size: 10px; }
.art-caption span:last-child { white-space: nowrap; }
.intro-strip { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding-block: 24px; border-block: 1px solid var(--line); }
.intro-strip > span { font-size: 15px; font-weight: 550; }
.intro-strip > span:first-child { font-size: 10px; letter-spacing: 1.5px; color: var(--muted); }
.intro-strip svg { width: 14px; height: 14px; color: #9985b5; }
.rules-section { padding-block: 104px; }
.section-heading { max-width: 680px; }
h2 { margin-top: 17px; font-family: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, sans-serif; font-size: clamp(32px, 3.2vw, 45px); font-weight: 650; line-height: 1.18; letter-spacing: -1.8px; }
.section-heading > p:last-child { margin-top: 18px; color: var(--muted); font-size: 16px; }
.rules-layout { display: grid; grid-template-columns: 1fr 1.14fr; gap: 80px; align-items: center; margin-top: 48px; }
.rule-demo { border-radius: var(--radius); background: #f0eee6; padding: 28px 36px 24px; }
.demo-label { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 9px; font-weight: 650; letter-spacing: 1.1px; color: var(--muted); }
.demo-label span:last-child { white-space: nowrap; font-size: 12px; letter-spacing: 0; }
.demo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; max-width: 300px; margin: 28px auto 23px; }
.cell { position: relative; display: grid; place-items: center; aspect-ratio: 1; border-radius: 12px; color: #3b3443; opacity: .38; transition: opacity var(--motion), box-shadow var(--motion); }
.cell svg { width: 34px; height: 34px; }
.cell-dot { width: 5px; height: 5px; border-radius: 50%; background: #4c435646; }
.region-a { background: #f4c384; }
.region-b { background: #b8a6dc; }
.region-c { background: #9acbb0; }
.region-d { background: #93c7dc; }
.rule-demo[data-active-rule='row'] .cell:is(:nth-child(-n+4), :nth-child(4n+2)), .rule-demo[data-active-rule='region'] .region-a, .rule-demo[data-active-rule='space'] .cell { opacity: 1; }
.rule-demo[data-active-rule='row'] .cell:nth-child(2), .rule-demo[data-active-rule='region'] .cell:nth-child(2), .rule-demo[data-active-rule='space'] .cell:nth-child(2) { box-shadow: inset 0 0 0 2px #493d5c; }
.rule-demo[data-active-rule='space'] .cell:is(:nth-child(1), :nth-child(3), :nth-child(5), :nth-child(6), :nth-child(7)):after { content: '×'; font-size: 31px; color: #4c4356; position: absolute; }
.rule-demo[data-active-rule='space'] .cell:is(:nth-child(1), :nth-child(3), :nth-child(5), :nth-child(6), :nth-child(7)) .cell-dot { opacity: 0; }
.demo-caption { min-height: 24px; color: var(--muted); text-align: center; font-size: 12px; }
.rules-list { display: grid; }
.rule-step { display: grid; grid-template-columns: 36px 1fr 20px; gap: 14px; width: 100%; padding: 23px 12px; background: transparent; border: 0; border-bottom: 1px solid var(--line); text-align: left; transition: background var(--motion); }
.rule-step:first-child { border-top: 1px solid var(--line); }
.rule-step:hover { background: #ece9f0; }
.rule-step[aria-pressed='true'] { background: #eeebf2; }
.rule-number { color: var(--purple); font-size: 12px; font-variant-numeric: tabular-nums; padding-top: 4px; }
.rule-step strong { display: block; font-size: 18px; font-weight: 600; line-height: 1.4; letter-spacing: -.3px; }
.rule-description { display: block; color: var(--muted); font-size: 14px; line-height: 1.75; margin-top: 9px; }
.rule-indicator { color: var(--purple); font-size: 18px; }
.rules-tip { margin: 22px 12px 0; color: var(--muted); font-size: 12px; }
.explore-section { padding-block: 88px; background: #eeedf3; }
.section-heading-split { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; max-width: none; }
.section-heading-split > p { max-width: 310px; font-size: 15px; }
.showcase-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.showcase { min-width: 0; }
.mode-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 16px; }
.mode-label { font-size: 14px; font-weight: 600; }
.mode-number { color: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; }
.mode-screen { position: relative; display: block; aspect-ratio: 960 / 1390; border-radius: 22px; border: 7px solid var(--surface); background: #f1f6f9; overflow: hidden; box-shadow: 0 8px 22px #25362c09; transition: box-shadow var(--motion); }
.mode-screen:hover { box-shadow: 0 8px 30px #25362c24; }
.image-expand { position: absolute; display: grid; place-items: center; width: 36px; height: 36px; bottom: 12px; right: 12px; border-radius: 50%; background: var(--surface); color: var(--ink); box-shadow: 0 3px 10px #25362c13; }
.showcase-copy { padding: 24px 4px 0; }
.showcase h3 { font-size: 20px; font-weight: 600; line-height: 1.4; letter-spacing: -.5px; }
.showcase p { margin-top: 10px; font-size: 14px; color: var(--muted); line-height: 1.8; }
.screenshot-note { margin-top: 35px; font-size: 11px; color: var(--muted); text-align: center; }
.download-section { padding-top: 88px; }
.download-panel { display: grid; grid-template-columns: 1fr 1.25fr; align-items: center; gap: 40px; border-radius: 28px; padding: 48px; background: var(--green); color: var(--surface); }
.download-copy .eyebrow { color: #c4d1c5; }
.download-copy h2 { margin-top: 16px; font-size: 43px; letter-spacing: -1.7px; }
.download-copy > p:last-of-type { max-width: 320px; margin-top: 20px; color: #d3dfd3; font-size: 15px; }
.download-companion { display: flex; align-items: center; gap: 12px; margin-top: 24px; color: #d3dfd3; font-size: 12px; }
.download-companion img { width: 70px; height: 70px; transform: rotate(-8deg); }
.store-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.store-download { min-width: 0; display: flex; flex-direction: column; align-items: center; padding: 20px 16px 16px; border-radius: 18px; background: var(--surface); color: var(--ink); }
.qr-link { display: block; width: min(160px, 100%); padding: 6px; border-radius: 8px; background: white; }
.qr-link img { width: 100%; aspect-ratio: 1; image-rendering: pixelated; }
.qr-instruction { margin-block: 12px 16px; font-size: 11px; color: var(--muted); text-align: center; line-height: 1.6; }
.store-button { display: flex; align-items: center; gap: 9px; min-height: 58px; width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 11px; background: #f2f1ec; transition: background var(--motion); }
.store-button:hover { background: var(--lilac); }
.store-button:active { background: #d7cce6; }
.store-button svg { width: 24px; height: 24px; }
.store-button small { display: block; font-size: 9px; line-height: 1.5; }
.store-button strong { display: block; font-size: 16px; font-weight: 600; line-height: 1.4; white-space: nowrap; }
.store-arrow { margin-left: auto; font-size: 16px; }
.questions { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; padding-block: 96px 80px; }
.faq-list details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; min-height: 44px; gap: 24px; list-style: none; font-size: 16px; font-weight: 550; line-height: 1.55; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:after { content: '+'; font-size: 23px; font-weight: 400; color: var(--purple); }
.faq-list details[open] summary:after { content: '−'; }
.faq-list details p { margin-top: 12px; font-size: 14px; line-height: 1.9; color: var(--muted); }
.faq-list details a { display: inline-flex; align-items: center; min-height: 44px; margin-top: 8px; font-size: 14px; font-weight: 550; text-decoration: underline; text-underline-offset: 4px; }
.support { display: flex; align-items: center; justify-content: space-between; gap: 48px; padding-block: 56px; border-top: 1px solid var(--line); }
.support h2 { margin-top: 14px; font-size: 30px; letter-spacing: -1px; }
.support p:last-child { max-width: 450px; margin-top: 14px; font-size: 14px; color: var(--muted); }
.contact-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 48px; border-bottom: 1px solid var(--ink); padding-block: 8px; font-size: 15px; transition: color var(--motion); }
.contact-link:hover { color: var(--purple); }
.contact-link svg { width: 20px; height: 20px; }
.footer { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-block: 32px 40px; border-top: 1px solid var(--line); }
.footer .brand { font-size: 21px; gap: 10px; }
.footer .brand img { border-radius: 9px; }
.footer p { margin-top: 12px; color: var(--muted); font-size: 12px; }
.footer-right { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; color: var(--muted); font-size: 12px; }
.footer-right a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-right a:hover { color: var(--purple); }
html[lang='zh-Hans'] h1 { font-size: clamp(46px, 5.2vw, 72px); line-height: 1.3; letter-spacing: -2px; }
html[lang='zh-Hans'] h2 { line-height: 1.4; letter-spacing: -1px; }
html[lang='zh-Hans'] .download-copy h2 { font-size: 35px; }
@media (max-width: 1050px) {
  .wrap { width: calc(100% - 64px); }
  .header { gap: 20px; min-height: 96px; }
  .header nav { gap: 22px; }
  .header-actions { gap: 8px; }
  .hero { gap: 44px; padding-block: 56px; }
  h1 { font-size: 57px; letter-spacing: -2.8px; }
  .hero-description { font-size: 16px; }
  .hero-buttons { gap: 16px; }
  .hero-art { padding-inline: 20px; }
  .puppy-sticker { width: 120px; right: -18px; }
  .art-caption { font-size: 9px; gap: 8px; }
  .rules-layout { gap: 40px; }
  .rule-demo { padding-inline: 24px; }
  .showcase-grid { gap: 20px; }
  .showcase h3 { font-size: 18px; }
  .download-panel { padding: 32px; gap: 24px; }
  .download-copy h2 { font-size: 36px; }
  .store-links { gap: 12px; }
  .store-download { padding: 16px 10px 12px; }
  .store-button { padding-inline: 8px; gap: 6px; }
  .store-button strong { font-size: 14px; }
  .store-button svg { width: 20px; }
  .store-arrow { font-size: 13px; }
  .questions { gap: 40px; }
  .support { gap: 32px; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 40px); }
  .header { flex-wrap: wrap; gap: 8px; padding-block: 18px 6px; }
  .brand { font-size: 22px; gap: 9px; }
  .brand img { width: 38px; height: 38px; border-radius: 11px; }
  .header-actions { margin-left: auto; gap: 8px; }
  .button-small { padding-inline: 15px; font-size: 12px; gap: 10px; }
  .button-small svg { width: 17px; }
  #language-toggle { min-width: 44px; min-height: 44px; }
  .header nav { order: 3; width: 100%; justify-content: space-between; gap: 16px; }
  .header nav a { min-height: 44px; font-size: 12px; }
  .hero { grid-template-columns: 1fr; gap: 36px; padding-block: 42px; }
  .hero-copy { max-width: 520px; }
  .hero .eyebrow { font-size: 10px; letter-spacing: 1.2px; }
  h1 { margin-block: 22px; font-size: clamp(48px, 9.4vw, 68px); letter-spacing: -2.6px; }
  .hero-description { font-size: 16px; max-width: 480px; }
  .hero-buttons { margin-top: 26px; gap: 20px; }
  .hero .button { gap: 18px; font-size: 14px; padding-inline: 21px; }
  .text-link { font-size: 13px; }
  .platform-note { margin-top: 22px; font-size: 11px; }
  .hero-art { width: 100%; max-width: 520px; margin-inline: auto; padding: 20px 22px; border-radius: 24px; }
  .hero-screen { width: min(80%, 280px); margin-block: 23px; }
  .puppy-sticker { right: -10px; bottom: 36px; width: 120px; }
  .art-heading { font-size: 8px; letter-spacing: .6px; }
  .art-heading svg { width: 13px; height: 13px; }
  .art-caption { font-size: 9px; }
  .intro-strip { display: grid; grid-template-columns: 1fr 14px 1fr 14px 1fr; gap: 10px; padding-block: 24px; }
  .intro-strip > span:first-child { grid-column: 1 / -1; margin-bottom: 4px; font-size: 9px; }
  .intro-strip > span { font-size: 11px; }
  .intro-strip > svg { width: 11px; height: 11px; }
  .rules-section { padding-block: 64px; }
  h2 { margin-top: 14px; font-size: 32px; letter-spacing: -1.2px; }
  .eyebrow { font-size: 9px; letter-spacing: 1.2px; }
  .section-heading > p:last-child { margin-top: 15px; font-size: 16px; }
  .rules-layout { grid-template-columns: 1fr; gap: 28px; margin-top: 32px; }
  .rule-demo { padding: 24px; }
  .demo-grid { max-width: 280px; }
  .rule-step { padding-block: 20px; grid-template-columns: 28px 1fr 16px; gap: 10px; }
  .rule-step strong { font-size: 17px; }
  .rule-description { font-size: 14px; }
  .rules-tip { font-size: 12px; }
  .explore-section { padding-block: 56px; }
  .section-heading-split { display: block; }
  .section-heading-split > p { max-width: 480px; }
  .showcase-grid { grid-template-columns: 1fr; gap: 36px; margin-top: 32px; }
  .showcase { display: grid; grid-template-columns: 1fr 1.05fr; align-items: start; gap: 0 24px; }
  .mode-heading { grid-column: 1 / -1; margin-bottom: 14px; }
  .mode-label { font-size: 14px; }
  .mode-screen { grid-column: 1; grid-row: 2; border-width: 5px; border-radius: 16px; }
  .showcase-copy { padding-top: 14px; }
  .showcase h3 { font-size: 19px; line-height: 1.4; }
  .showcase p { font-size: 14px; margin-top: 12px; line-height: 1.7; }
  .image-expand { width: 28px; height: 28px; right: 7px; bottom: 7px; }
  .screenshot-note { font-size: 10px; line-height: 1.8; text-align: left; margin-top: 28px; }
  .download-section { padding-top: 56px; }
  .download-panel { grid-template-columns: 1fr; gap: 28px; padding: 28px 24px; border-radius: 24px; }
  .download-copy h2 { font-size: 36px; }
  .download-copy > p:last-of-type { max-width: 450px; font-size: 15px; }
  .download-companion { margin-top: 16px; }
  .download-companion img { width: 54px; height: 54px; }
  .store-links { grid-template-columns: 1fr; gap: 12px; }
  .store-download { display: grid; grid-template-columns: 108px 1fr; gap: 0 14px; align-items: center; padding: 14px; }
  .store-download .qr-link { grid-row: 1 / 3; width: 108px; }
  .qr-instruction { margin: 0 0 6px; font-size: 11px; text-align: left; }
  .store-button { min-height: 58px; padding: 8px; gap: 7px; }
  .store-button small { font-size: 9px; }
  .store-button strong { font-size: 14px; }
  .store-button svg { width: 20px; height: 20px; }
  .store-arrow { display: none; }
  .questions { grid-template-columns: 1fr; gap: 26px; padding-block: 64px 48px; }
  .faq-list summary { font-size: 15px; }
  .faq-list details p { font-size: 14px; }
  .support { flex-direction: column; align-items: flex-start; gap: 24px; padding-block: 40px; }
  .support h2 { font-size: 29px; }
  .contact-link { font-size: 14px; gap: 18px; max-width: 100%; overflow-wrap: anywhere; }
  .footer { flex-direction: column; align-items: flex-start; gap: 20px; padding-block: 28px; }
  .footer-right { width: 100%; gap: 12px 20px; font-size: 11px; }
  .footer-right > span { margin-left: auto; }
  html[lang='zh-Hans'] h1 { font-size: clamp(43px, 8.8vw, 64px); letter-spacing: -2px; }
  html[lang='zh-Hans'] h2 { font-size: 29px; }
  html[lang='zh-Hans'] .download-copy h2 { font-size: 31px; }
}
@media (max-width: 360px) {
  .wrap { width: calc(100% - 32px); }
  .brand { font-size: 20px; gap: 7px; }
  .brand img { width: 34px; height: 34px; }
  .header-actions { gap: 4px; }
  .button-small { padding-inline: 12px; font-size: 11px; }
  .button-small svg { display: none; }
  .hero-buttons { gap: 14px; }
  .hero .button { padding-inline: 16px; font-size: 13px; gap: 12px; }
  .text-link { gap: 9px; font-size: 12px; }
  .art-heading { font-size: 7px; }
  .art-caption { font-size: 8px; }
  .intro-strip { gap: 6px; }
  .intro-strip > span { font-size: 10px; }
  .showcase { gap: 0 16px; }
  .showcase-copy { padding-top: 5px; }
  .showcase h3 { font-size: 17px; }
  .showcase p { font-size: 13px; }
  .download-panel { padding: 26px 18px; }
  .store-links { grid-template-columns: 1fr; }
  .store-download { display: flex; width: 100%; max-width: 220px; justify-self: center; gap: 0; padding: 18px; }
  .store-download .qr-link { width: 160px; }
  .qr-instruction { margin-block: 10px 12px; text-align: center; }
  .store-button strong { font-size: 16px; }
  .store-button small { font-size: 10px; }
  .qr-instruction { font-size: 12px; }
  .footer-right > span { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { transition: none !important; animation: none !important; }
}
