:root {
    color-scheme: light;
    --paper: #f8f6ee;
    --ink: #24352d;
    --secondary: #505e53;
    --moss: #324938;
    --faint: #d8d6c9;
    --rust: #914831;
    --serif: "Songti SC", "STSong", "Noto Serif CJK SC", "Source Han Serif SC", "SimSun", serif;
    --sans: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 20px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.75 var(--sans); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
figure, p, h1, h2, h3 { margin: 0; }
h1, h2, h3, .wordmark { font-family: var(--serif); }
h1, h2, h3 { font-weight: 600; }
h2 { font-size: clamp(36px, 4vw, 60px); line-height: 1.28; }
:focus-visible { outline: 3px solid #b56636; outline-offset: 5px; }
.wrap { width: min(1184px, 88%); margin-inline: auto; }
.skip { position: fixed; top: 8px; left: 8px; z-index: 5; background: white; padding: 8px 16px; transform: translateY(-170%); }
.skip:focus { transform: none; }
.masthead { border-bottom: 1px solid var(--faint); }
.masthead-inner, .masthead nav, .wordmark, .hero-actions, .store-link, .nav-download,
.eyebrow, .colophon-inner, .colophon nav { display: flex; align-items: center; }
.masthead-inner { justify-content: space-between; min-height: 76px; gap: 24px; }
.wordmark { gap: 10px; font-size: 27px; font-weight: 700; letter-spacing: .04em; white-space: nowrap; }
.wordmark img { border-radius: 10px; }
.masthead nav { gap: clamp(20px, 3vw, 48px); font-size: 14px; }
.masthead nav a { padding-block: 9px; }
.masthead nav a:hover, .colophon a:hover { text-decoration: underline; text-underline-offset: 5px; }
.masthead .nav-download { border: 1px solid #74816d; gap: 18px; padding: 6px 17px; border-radius: 3px; }
.hero { position: relative; isolation: isolate; background: #141c14; color: #fffaf0; }
.hero-image, .hero-image img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { z-index: -2; }
.hero-image img { object-fit: cover; object-position: 50% 52%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #101811bd 0, #12181050 38%, transparent 62%); }
.hero-inner { display: flex; align-items: center; min-height: clamp(510px, 41vw, 680px); padding-block: 58px; }
.hero-copy { width: min(43%, 490px); }
.eyebrow { gap: 12px; color: var(--rust); font-size: 13px; font-weight: 600; letter-spacing: .18em; }
.rule { width: 35px; height: 1px; background: currentColor; }
.hero .eyebrow { color: #e9cca0; }
.hero h1 { margin: 16px 0 18px; font-size: clamp(54px, 5.65vw, 86px); line-height: 1.21; letter-spacing: .035em; }
.intro { max-width: 28em; line-height: 1.9; color: #f1ede0; }
.hero-actions { gap: 25px; margin-top: 28px; flex-wrap: wrap; }
.store-link { display: inline-flex; justify-content: center; gap: 20px; padding: 11px 22px; border-radius: 3px; background: #f3e8ce; color: #27392a; font-size: 15px; font-weight: 650; }
.store-link:hover { background: #fff5dd; }
.quiet-link { font-size: 14px; border-bottom: 1px solid #c5c5ac; padding-block: 3px; }
.quiet-link span { margin-left: 5px; }
.compare-section { display: grid; grid-template-columns: .84fr 1.16fr; align-items: center; gap: clamp(35px, 7vw, 112px); padding-block: clamp(64px, 7vw, 100px); }
.compare-copy h2 { margin: 17px 0 18px; }
.compare-copy > p:not(.eyebrow) { max-width: 25em; color: var(--secondary); line-height: 1.95; }
.compare-copy .compare-hint { margin-top: 24px; font-size: 14px; }
.compare-hint span { margin-right: 7px; color: var(--rust); font-size: 19px; }
.specimen { min-width: 0; }
.compare-frame { position: relative; display: flex; background: #163025; aspect-ratio: 1.64; overflow: hidden; border-radius: 3px; }
.compare-frame img { width: 50%; height: 100%; object-fit: cover; }
.compare-frame:not(.interactive) .earlier { order: -1; }
.compare-frame.interactive img { position: absolute; inset: 0; width: 100%; }
.compare-frame.interactive .earlier { clip-path: inset(0 calc(100% - var(--split, 50%)) 0 0); }
.photo-tag { position: absolute; top: 14px; background: #f9f5e9f2; color: #2f3c30; border-radius: 2px; padding: 2px 10px; font-size: 12px; letter-spacing: .09em; }
.tag-left { left: 14px; }
.tag-right { right: 14px; }
.compare-frame input { position: absolute; inset: 0; z-index: 2; opacity: 0; margin: 0; width: 100%; height: 100%; cursor: ew-resize; touch-action: pan-y; direction: ltr; }
.divider { position: absolute; inset-block: 0; left: var(--split, 50%); width: 2px; background: #fff6dd; transform: translateX(-50%); }
.divider span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: grid; place-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--paper); color: var(--ink); font: bold 22px/1 Georgia, serif; box-shadow: 0 2px 12px #0003; }
.compare-frame:has(input:focus-visible) { outline: 3px solid var(--rust); outline-offset: 4px; }
.specimen figcaption { display: flex; align-items: baseline; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--faint); }
.specimen figcaption span:first-child { font: 600 18px var(--serif); }
.specimen figcaption span:last-child { color: var(--secondary); font-size: 12px; }
.journal { padding: clamp(52px, 6vw, 88px) 0; background: #efece1; border-block: 1px solid var(--faint); }
.journal h2 { margin: 13px 0 32px; font-size: clamp(32px, 3.4vw, 50px); }
.journal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.5vw, 38px); }
.screen-mat { aspect-ratio: 1.6; overflow: hidden; display: flex; align-items: flex-start; justify-content: center; padding-top: 7%; border: 1px solid #0001; border-radius: 3px; }
.mat-archive { background: #c7cdb7; }
.mat-diary { background: #d9c2a8; }
.mat-calendar { background: #c6cbbf; }
.screen-mat img { width: 80%; height: auto; border-radius: 10px 10px 0 0; border: 1px solid #0002; box-shadow: 0 4px 12px #3324121c; }
.journal h3 { margin: 15px 0 5px; font-size: 25px; line-height: 1.5; }
.journal article > p { color: var(--secondary); font-size: 15px; }
.download { background: #24392e; color: var(--paper); }
.download-inner { display: flex; gap: 22px; align-items: center; padding-block: clamp(40px, 5vw, 75px); }
.download-icon { border-radius: 16px; }
.download h2 { font-size: clamp(27px, 3vw, 43px); }
.download p, .download small { color: #dadfce; }
.download p { margin-top: 4px; }
.download-actions { margin-left: auto; display: grid; gap: 8px; text-align: center; }
.download small { font-size: 12px; }
.colophon-inner { gap: 28px; padding-block: 25px; flex-wrap: wrap; color: var(--secondary); font-size: 13px; }
.colophon nav { gap: 22px; }
.signature { margin-right: auto; }
.filing { text-underline-offset: 4px; text-decoration: underline; }
.reading { width: min(720px, 88%); margin-inline: auto; padding-block: 52px 68px; min-height: 65vh; }
.reading-heading { border-bottom: 1px solid var(--faint); padding-bottom: 20px; }
.reading-heading p, .back { font-size: 14px; color: var(--secondary); }
.reading-heading h1 { margin: 12px 0 4px; font-size: clamp(36px, 5vw, 56px); line-height: 1.35; }
.legal-content h2 { margin: 30px 0 8px; font-size: 23px; }
.legal-content p, .legal-content li { margin-block: 8px; }
.legal-content ul { padding-left: 1.5em; }
.legal-content a { color: var(--rust); text-decoration: underline; text-underline-offset: 3px; }
.contact-mail { font-size: 20px; }
body:has(.reading) .colophon { border-top: 1px solid var(--faint); }

@media (max-width: 850px) {
    .wrap { width: 90%; }
    .masthead-inner { min-height: 65px; }
    .hero-copy { width: 49%; }
    .hero-inner { min-height: 440px; padding-block: 36px; }
    .hero h1 { font-size: 56px; }
    .hero-actions { gap: 14px; }
    .compare-section { gap: 28px; grid-template-columns: .85fr 1.15fr; }
    .compare-frame { aspect-ratio: 1.25; }
    .journal-grid { gap: 16px; }
    .download-icon { width: 60px; height: 60px; }
}
@media (max-width: 600px) {
    .masthead-inner { min-height: 60px; gap: 10px; }
    .wordmark { font-size: 21px; gap: 5px; }
    .wordmark img { width: 31px; height: 31px; border-radius: 7px; }
    .masthead nav { gap: 12px; font-size: 12px; }
    .masthead .nav-download { padding: 5px 8px; gap: 5px; }
    .hero { display: flex; flex-direction: column; }
    .hero::before { display: none; }
    .hero-image { position: relative; inset: auto; order: 2; height: clamp(180px, 53vw, 300px); z-index: 0; }
    .hero-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(#141c14, transparent 24%); }
    .hero-inner { min-height: auto; padding-block: 29px 8px; }
    .hero-copy { width: 100%; }
    .hero h1 { font-size: clamp(41px, 10vw, 58px); line-height: 1.2; margin: 12px 0; }
    .intro { font-size: 15px; }
    .hero-actions { margin-top: 18px; gap: 22px; }
    .store-link { padding: 9px 16px; }
    .compare-section { display: block; padding-block: 44px; }
    .compare-copy h2 { margin: 8px 0 10px; }
    .compare-copy h2 br { display: none; }
    .compare-copy .compare-hint { margin-top: 8px; }
    .specimen { margin-top: 18px; }
    .compare-frame { aspect-ratio: 1.4; }
    .journal { padding-block: 40px; }
    .journal h2 { margin: 10px 0 22px; }
    .journal-grid { grid-template-columns: 1fr; gap: 0; }
    .journal article { display: grid; grid-template-columns: 35% 1fr; grid-template-rows: auto 1fr; column-gap: 16px; padding-block: 18px; border-top: 1px solid #cdccbd; }
    .journal article:last-child { padding-bottom: 0; }
    .screen-mat { grid-row: 1 / 3; aspect-ratio: 1.05; padding-top: 10%; }
    .screen-mat img { width: 87%; }
    .journal h3 { margin: 1px 0 3px; font-size: 22px; }
    .journal article > p { font-size: 14px; }
    .download-inner { flex-wrap: wrap; gap: 14px; }
    .download-icon { width: 48px; height: 48px; border-radius: 10px; }
    .download h2 { font-size: clamp(23px, 5.8vw, 31px); }
    .download-actions { margin: 5px 0 0; width: 100%; justify-items: start; }
    .colophon-inner { column-gap: 12px; row-gap: 8px; }
    .colophon nav { gap: 12px; }
    .filing { width: 100%; }
}
@media (max-width: 360px) {
    .masthead nav { gap: 8px; }
    .nav-download span { display: none; }
}
