.home-page {
  --home-paper: #f5f6f2;
  --home-ink: #172820;
  --home-muted: #5c6770;
  --home-line: #d9dfda;
  --home-surface: #edf2f4;
  --home-accent: #e34b36;
  --home-accent-ink: #b53a28;
  --home-dark: #172820;
  --home-light: #f5f6f2;
  color: var(--home-ink);
  background: var(--home-paper);
  font-family: "Avenir Next", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
}
.home-page .site-header { background: var(--home-paper); border-color: var(--home-line); }
.home-page .brand { color: var(--home-ink); }
.home-page .document-nav a, .home-page .languages a { color: var(--home-muted); }
.home-page .document-nav a[aria-current="page"], .home-page .languages a[aria-current="true"] { color: var(--home-ink); }
.home-page .languages { border-color: var(--home-line); }
.home-page .header-download { color: var(--home-ink); border-color: var(--home-line); }
.home-page .header-download:hover { color: var(--home-paper); background: var(--home-ink); }
.home-page a:focus-visible, .home-page button:focus-visible { outline: 2px solid var(--home-accent); outline-offset: 5px; }
.home-page h1, .home-page h2 { font-weight: 600; letter-spacing: -.045em; text-wrap: pretty; }
.home-page h1 span, .home-page h2 span { display: block; }
.home-page h2 { font-size: clamp(2rem, 3.5vw, 3.4rem); line-height: 1.28; margin: 20px 0 26px; }
.section-label { font-size: .72rem; font-weight: 650; letter-spacing: .13em; line-height: 1.7; margin: 0; color: var(--home-muted); }
.hero { border-bottom: 1px solid var(--home-line); }
.hero-inner, .introduction-inner, .feature-inner, .privacy-inner { max-width: 1240px; margin: auto; padding-left: 40px; padding-right: 40px; }
.hero-inner { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 40px; padding-top: 52px; padding-bottom: 48px; min-height: 740px; }
.hero-copy { position: relative; z-index: 1; padding-bottom: 18px; }
.hero-copy .section-label::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; margin-right: 10px; background: var(--home-accent); vertical-align: 2px; }
.home-page .hero h1 { font-size: clamp(3rem, 5.6vw, 5.2rem); line-height: 1.2; margin: 28px 0 28px; }
.hero h1 span:last-child { color: var(--home-accent); }
.hero-intro { color: var(--home-muted); font-size: 1.02rem; line-height: 1.95; margin: 0 0 34px; text-wrap: pretty; }
.hero-actions { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.download-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 26px; min-height: 54px; padding: 15px 22px; color: var(--home-light); background: var(--home-dark); border: 1px solid var(--home-dark); border-radius: 6px; text-decoration: none; font-size: .9rem; font-weight: 600; transition: background .18s, transform .18s; }
.download-button span { font-size: 1.2rem; line-height: 1; }
.download-button:hover { background: #263e32; transform: translateY(-2px); }
.download-button:active { transform: translateY(0); }
.text-link { color: var(--home-ink); text-decoration: none; font-size: .88rem; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.text-link:hover { color: var(--home-accent-ink); }
.availability { font-size: .73rem; color: var(--home-muted); margin: 16px 0 0; }
.download-qr { display: flex; align-items: center; gap: 18px; margin: 24px 0 0; }
.download-qr-link { flex: none; display: block; width: 128px; height: 128px; background: #fff; border-radius: 4px; overflow: hidden; }
.download-qr-link img { display: block; width: 100%; height: 100%; }
.download-qr figcaption { display: flex; flex-direction: column; gap: 6px; max-width: 200px; text-align: left; }
.download-qr figcaption strong { color: var(--home-ink); font-size: .82rem; font-weight: 600; }
.download-qr figcaption span { color: var(--home-muted); font-size: .75rem; line-height: 1.7; text-wrap: pretty; }
.hero-showcase { position: relative; min-width: 0; }
.showcase-panel { position: relative; margin: 0; height: 564px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding-bottom: 12px; }
.showcase-panel[hidden], .showcase-controls[hidden] { display: none; }
.showcase-panel::before { content: ""; position: absolute; inset: 18px 0 74px; background: var(--home-surface); border-radius: 4px; }
.showcase-panel::after { content: "+"; color: var(--home-muted); position: absolute; top: 4px; left: -7px; font-size: 24px; font-weight: 300; line-height: 1; }
.showcase-number { position: absolute; right: 14px; top: 25px; font-size: 110px; font-weight: 500; line-height: 1; color: var(--home-ink); opacity: .09; letter-spacing: -.07em; }
.device { width: 210px; padding: 5px; background: #242725; border: 1px solid #646965; border-radius: 30px; overflow: hidden; box-shadow: 0 24px 42px -18px rgb(23 40 32 / .28); position: relative; }
.device img { display: block; width: 100%; height: auto; border-radius: 24px; }
.hero-device { width: 226px; transform: rotate(-5deg); margin: 0 0 20px; box-shadow: 14px 26px 44px -18px rgb(23 40 32 / .35); }
.preview-image-link { display: block; width: 100%; text-decoration: none; }
.hero-devices { display: flex; align-items: center; justify-content: center; width: 100%; padding: 16px 0 48px; }
.hero-devices .hero-device { margin: 0; }
.hero-devices-pair .hero-device { width: clamp(142px, 42%, 202px); flex: none; z-index: 2; }
.hero-devices-pair .hero-device-secondary { width: clamp(124px, 36%, 176px); transform: translateY(16px) rotate(5deg); margin-left: -16px; z-index: 1; }
.showcase-panel figcaption { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; gap: 14px; align-items: center; color: var(--home-muted); font-size: .72rem; padding: 10px 0; min-height: 66px; border-bottom: 1px solid var(--home-line); }
.showcase-panel figcaption > div { display: flex; flex-direction: column; gap: 3px; }
.showcase-panel figcaption strong { font-weight: 600; color: var(--home-ink); }
.showcase-panel figcaption a { flex: none; color: var(--home-accent-ink); text-decoration: none; font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }
.showcase-panel figcaption a:hover { text-decoration: underline; text-underline-offset: 4px; }
.showcase-navigation { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 12px; }
.showcase-navigation[hidden] { display: none; }
.showcase-progress { display: flex; flex-direction: column; gap: 2px; font-size: .65rem; color: var(--home-muted); }
.showcase-progress [data-carousel-count] { font-size: .76rem; font-variant-numeric: tabular-nums; color: var(--home-ink); }
.showcase-navigation-actions { display: flex; align-items: center; gap: 8px; }
.showcase-arrow { min-width: 44px; min-height: 44px; background: transparent; border: 1px solid var(--home-line); border-radius: 50%; color: var(--home-ink); font: inherit; cursor: pointer; }
.showcase-arrow:hover { background: var(--home-surface); }
.showcase-navigation .carousel-toggle { padding-right: 10px; }
.showcase-controls { display: flex; justify-content: flex-start; gap: 8px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: var(--home-line) transparent; padding: 10px 4px 8px; }
.showcase-controls button { flex: none; font: inherit; color: var(--home-muted); border: 1px solid var(--home-line); border-radius: 6px; background: transparent; padding: 10px 12px; min-height: 44px; cursor: pointer; font-size: .75rem; white-space: nowrap; transition: color .18s, background .18s; }
.showcase-controls button:hover { color: var(--home-ink); background: var(--home-surface); }
.showcase-controls button[aria-pressed="true"] { color: var(--home-paper); background: var(--home-ink); border-color: var(--home-ink); }
.preview-index { font-size: .65rem; opacity: .65; margin-right: 7px; }
.carousel-playback { display: flex; justify-content: flex-end; margin-top: 4px; }
.carousel-playback[hidden] { display: none; }
.carousel-toggle { color: var(--home-muted); background: transparent; border: 0; padding: 8px 0 8px 12px; min-height: 44px; cursor: pointer; font: inherit; font-size: .68rem; }
.carousel-toggle:hover { color: var(--home-ink); }
.showcase-panel, .editing-panel { animation: carousel-reveal .22s ease-out; }
@keyframes carousel-reveal { from { opacity: .4; } to { opacity: 1; } }
.introduction-inner { padding-top: 84px; padding-bottom: 88px; display: grid; grid-template-columns: 1fr 1fr; gap: 100px; }
.introduction h2 { margin-bottom: 0; }
.introduction-copy { padding-top: 0; }
.introduction-copy > p { color: var(--home-muted); margin: 0 0 24px; font-size: .94rem; text-wrap: pretty; }
.feature-index { display: grid; }
.feature-index a { display: flex; align-items: center; gap: 20px; min-height: 48px; padding: 10px 0; color: var(--home-ink); border-bottom: 1px solid var(--home-line); font-size: .85rem; text-decoration: none; transition: padding .18s; }
.feature-index a:hover { padding-left: 6px; }
.feature-index a span:first-child { color: var(--home-accent-ink); font-size: .68rem; }
.feature-index a span:last-child { margin-left: auto; }
.feature { border-top: 1px solid var(--home-line); scroll-margin-top: 24px; }
.feature-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; padding-top: 72px; padding-bottom: 64px; }
.feature-description { color: var(--home-muted); max-width: 440px; font-size: .95rem; margin: 0 0 28px; text-wrap: pretty; }
.feature-points { list-style: none; margin: 0; padding: 0; max-width: 440px; font-size: .8rem; }
.feature-points li { padding: 12px 0; border-top: 1px solid var(--home-line); }
.feature-points li:last-child { padding-bottom: 0; }
.feature-visual { margin: 0; min-width: 0; }
.device-pair { display: flex; align-items: center; justify-content: center; min-height: 520px; position: relative; padding: 20px 0; isolation: isolate; }
.device-pair::before { content: ""; position: absolute; inset: 44px -8px; background: var(--home-surface); z-index: -1; border-radius: 4px; }
.device-primary { transform: rotate(-4deg); z-index: 2; }
.device-secondary { width: 184px; transform: translateY(16px) rotate(5deg); margin-left: -22px; z-index: 1; }
.device-solo .device { width: 232px; }
.feature-visual figcaption { text-align: center; font-size: .72rem; color: var(--home-muted); padding-top: 20px; }
.feature-reversed .feature-copy { order: 2; }
.feature-reversed .feature-visual { order: 1; }
.feature-time { background: var(--home-surface); }
.feature-time .device-pair::before { background: var(--home-paper); }
.feature-memories { background: var(--home-surface); }
.feature-memories .device-pair::before { background: var(--home-paper); }
.feature-locations { background: var(--home-surface); }
.feature-locations .device-pair::before { background: var(--home-paper); }
.feature-search { background: var(--home-dark); color: var(--home-light); }
.feature-search .section-label, .feature-search .feature-description, .feature-search figcaption { color: #b7c6bd; }
.feature-search .feature-points li { border-color: #3c5044; }
.feature-search .device-pair::before { background: #263e32; }
.feature-categories, .feature-frames { background: var(--home-surface); }
.feature-categories .device-pair::before, .feature-frames .device-pair::before { background: var(--home-paper); }
.editing-tools { max-width: 470px; border-top: 1px solid var(--home-line); }
.editing-tool { display: grid; grid-template-columns: 22px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--home-line); scroll-margin-top: 24px; }
.editing-tool-number { color: var(--home-accent-ink); font-size: .68rem; padding-top: 2px; }
.editing-tool h3 { font-size: .9rem; font-weight: 600; margin: 0 0 6px; line-height: 1.5; }
.editing-tool p { color: var(--home-muted); font-size: .8rem; margin: 0; line-height: 1.8; text-wrap: pretty; }
.editing-tool[data-current="true"] h3 { color: var(--home-accent-ink); }
.editing-visual { min-width: 0; }
.editing-panel { margin: 0; }
.editing-panel + .editing-panel { margin-top: 30px; }
.editing-panel[hidden], .editing-controls[hidden] { display: none; }
.editing-visual[data-enhanced] .editing-panel { margin-top: 0; }
.editing-stage { min-height: 560px; display: flex; align-items: center; justify-content: center; position: relative; isolation: isolate; padding: 16px 0; }
.editing-stage::before { content: ""; position: absolute; inset: 32px 0; background: var(--home-surface); border-radius: 4px; z-index: -1; }
.editing-device { width: 236px; }
.editing-stage-label { position: absolute; right: 14px; bottom: 46px; color: var(--home-accent-ink); font-size: .65rem; letter-spacing: .06em; font-weight: 600; writing-mode: vertical-rl; }
.editing-panel figcaption { color: var(--home-muted); text-align: center; font-size: .72rem; margin-top: 10px; min-height: 24px; }
.editing-controls { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.editing-controls button { color: var(--home-muted); background: transparent; border: 0; border-top: 1px solid var(--home-line); font: inherit; font-size: .75rem; font-weight: 600; min-height: 46px; padding: 10px 2px; cursor: pointer; transition: color .18s, border-color .18s; }
.editing-controls button:hover { color: var(--home-ink); }
.editing-controls button[aria-pressed="true"] { color: var(--home-accent-ink); border-color: var(--home-accent); }
.privacy-section { border-top: 1px solid var(--home-line); }
.privacy-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; padding-top: 74px; padding-bottom: 78px; }
.privacy-inner h2 { font-size: clamp(1.8rem, 2.8vw, 2.6rem); }
.privacy-inner p:not(.section-label) { margin: 0 0 16px; font-size: .92rem; color: var(--home-muted); text-wrap: pretty; }
.privacy-inner .privacy-note { font-size: .75rem !important; }
.closing { border-top: 1px solid var(--home-line); text-align: center; padding: 84px 24px 72px; background: var(--home-surface); }
.closing-icon { display: block; margin: 26px auto 24px; border-radius: 18px; }
.closing h2 { font-size: clamp(2.3rem, 4.4vw, 4.2rem); margin: 0 0 20px; }
.closing > p:not(.section-label):not(.availability) { color: var(--home-muted); margin: 0 0 26px; font-size: .95rem; }
.closing .text-link { margin-top: 18px; }
.closing .download-qr { flex-direction: column; gap: 12px; }
.closing .download-qr figcaption { text-align: center; }
.closing .download-qr-description { color: var(--home-muted); font-size: .75rem; line-height: 1.7; max-width: 240px; margin: 0; text-wrap: pretty; }
.screenshots-note { font-size: .68rem; color: var(--home-muted); text-align: center; margin: 0; padding: 18px 24px; }
.home-page .site-footer { color: var(--home-muted); border-color: var(--home-line); }
.home-page .site-footer a { color: var(--home-muted); }
.home-page .site-footer a:hover { color: var(--home-accent-ink); }
@media (min-width: 981px) {
  html[lang="en"] .hero-inner { grid-template-columns: 1.16fr 1fr; gap: 26px; }
  html[lang="en"] .hero h1 { font-size: clamp(2.8rem, 4.8vw, 4.5rem); }
}
@media (max-width: 980px) {
  .hero-inner, .introduction-inner, .feature-inner, .privacy-inner { padding-left: 28px; padding-right: 28px; }
  .hero-inner { gap: 24px; min-height: 680px; padding-top: 32px; padding-bottom: 36px; }
  .hero h1 { font-size: 3rem !important; }
  html[lang="en"] .hero h1 { font-size: clamp(2rem, 4.3vw, 3rem) !important; }
  .hero-intro { font-size: .92rem; }
  .hero-actions { gap: 8px 16px; }
  .hero-device { width: 208px; }
  .showcase-panel { height: 520px; }
  .showcase-controls { gap: 6px; }
  .showcase-controls button { font-size: .68rem; }
  .introduction-inner, .feature-inner, .privacy-inner { gap: 42px; }
  .device-solo .device { width: 206px; }
  .editing-device { width: 214px; }
  .editing-stage { min-height: 516px; }
  .editing-controls { gap: 6px; }
  .editing-controls button { font-size: .68rem; }
  .device { width: 172px; border-radius: 25px; padding: 4px; }
  .device img { border-radius: 20px; }
  .hero-device { width: 208px; }
  .device-secondary { width: 150px; margin-left: -36px; }
  .device-pair { min-height: 426px; }
  .feature-inner { padding-top: 56px; padding-bottom: 54px; }
  .introduction-inner { padding-top: 56px; padding-bottom: 60px; }
  .privacy-inner { padding-top: 56px; padding-bottom: 56px; }
}
@media (max-width: 700px) {
  .hero-inner, .introduction-inner, .feature-inner, .privacy-inner { grid-template-columns: 1fr; padding-left: 24px; padding-right: 24px; gap: 34px; }
  .hero-inner { padding-top: 44px; padding-bottom: 32px; }
  .hero-copy { padding-bottom: 0; }
  .hero h1 { font-size: clamp(2.55rem, 8.6vw, 3.6rem) !important; margin: 22px 0 24px !important; }
  html[lang="en"] .hero h1 { font-size: clamp(1.7rem, 8.1vw, 3.5rem) !important; }
  .hero-intro { margin-bottom: 26px; }
  .hero-actions { gap: 12px 24px; }
  .section-label { font-size: .65rem; letter-spacing: .1em; }
  .hero-showcase { max-width: 460px; width: 100%; margin: auto; }
  .showcase-panel { height: 512px; }
  .hero-device { width: 202px; }
  .showcase-panel figcaption { font-size: .67rem; }
  .showcase-controls { justify-content: flex-start; }
  .showcase-controls button { font-size: .75rem; }
  .introduction-inner { padding-top: 48px; padding-bottom: 48px; gap: 26px; }
  .home-page h2 { font-size: clamp(1.9rem, 7.2vw, 2.7rem); margin: 18px 0 22px; }
  .feature-inner { padding-top: 48px; padding-bottom: 42px; }
  .feature-reversed .feature-copy, .feature-reversed .feature-visual { order: initial; }
  .feature-description, .feature-points { max-width: none; }
  .feature-description { margin-bottom: 20px; }
  .feature-visual { width: 100%; max-width: 460px; margin: auto; }
  .device-pair { min-height: 432px; padding-top: 10px; padding-bottom: 10px; }
  .device { width: clamp(158px, 45vw, 192px); }
  .device-secondary { width: clamp(138px, 39vw, 168px); margin-left: -20px; }
  .hero-device { width: 202px; }
  .device-pair::before { inset: 38px 0; }
  .device-solo .device { width: 204px; }
  .editing-tools { max-width: none; }
  .editing-visual { width: 100%; max-width: 460px; margin: auto; }
  .editing-device { width: 218px; }
  .editing-stage { min-height: 510px; }
  .editing-controls button { font-size: .73rem; }
  .feature-visual figcaption { padding-top: 18px; }
  .privacy-inner { gap: 24px; padding-top: 48px; padding-bottom: 48px; }
  .privacy-inner h2 { margin-bottom: 14px; }
  .privacy-inner p:last-child { margin-bottom: 0; }
  .closing { padding-top: 52px; padding-bottom: 48px; }
  .closing-icon { width: 64px; height: 64px; }
}
@media (prefers-color-scheme: dark) {
  .home-page { --home-paper: #19221d; --home-ink: #f0f3ec; --home-muted: #b4c0b8; --home-line: #36463b; --home-surface: #26342c; --home-accent: #f07b65; --home-accent-ink: #f07b65; }
  .home-page .download-button { background: var(--home-light); color: var(--home-dark); border-color: var(--home-light); }
  .home-page .download-button:hover { background: #dce5db; }
  .home-page .mobile-menu nav, .home-page .mobile-menu summary:hover, .home-page .mobile-menu[open] summary { background: var(--home-surface); border-color: var(--home-line); }
  .home-page .mobile-menu nav a, .home-page .mobile-menu summary { color: var(--home-ink); }
}
@media (prefers-reduced-motion: reduce) {
  .home-page *, .home-page *::before, .home-page *::after { transition: none !important; animation: none !important; }
}
