/* Copyright 2026 AshleySama | SPDX-License-Identifier: Apache-2.0 */
/* Pocket Memory · editorial product page. Real product images, neutral surfaces. */
:root {
  color-scheme: light;
  --paper: #fafaf8;
  --ink: #25292c;
  --muted: #676d70;
  --accent: #147a78;
  --line: #dedfda;
  --surface: #f0f1ed;
  --ease: cubic-bezier(.16,1,.3,1);
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 106px; }
html[data-motion="on"] { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-size: 16px; line-height: 1.85; overflow-x: clip; -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; }
img { max-width: 100%; display: block; }
figure, p, h1, h2, h3 { margin: 0; }
button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
::selection { background: #d9e8e3; color: #202929; }
.wrap { width: min(1440px, calc(100% - 112px)); margin-inline: auto; }
.section { padding-block: 128px; }
.eyebrow { color: var(--muted); font-size: 14px; line-height: 1.6; letter-spacing: .035em; margin-bottom: 28px; }
h1, h2, h3 { font-weight: 650; letter-spacing: -.045em; }
h1 { font-size: clamp(46px, 3.7vw, 68px); line-height: 1.28; }
h2 { font-size: clamp(38px, 3.1vw, 54px); line-height: 1.32; }
h3 { font-size: 30px; line-height: 1.5; letter-spacing: -.025em; }
.section-lead { font-size: 18px; line-height: 1.95; color: #535a5d; }
.caption, figcaption, .quiet-note { font-size: 13px; line-height: 1.85; color: var(--muted); }
figcaption { margin: 16px 2px 0; }
.text-link { display: inline-block; font-size: 15px; font-weight: 550; line-height: 1.75; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; transition: color .25s, text-underline-offset .25s var(--ease); }
.text-link:hover { color: var(--accent); text-underline-offset: 9px; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 53px; padding: 13px 25px; border: 1px solid #25292c; border-radius: 7px; background: #25292c; color: white; text-decoration: none; font-weight: 600; font-size: 15px; line-height: 1.5; transition: background .25s, transform .4s var(--ease), box-shadow .4s; }
.button:hover { background: #41474a; box-shadow: 0 8px 18px #23282d14; }
html[data-motion="on"] .button:hover { transform: translateY(-2px); }
.skip-link { position: fixed; left: 20px; top: -80px; z-index: 100; background: white; padding: 10px 18px; }
.skip-link:focus { top: 12px; }
.reading-progress { position: fixed; left: 0; top: 0; width: 100%; height: 2px; pointer-events: none; z-index: 60; }
.reading-progress span { display: block; width: 100%; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.topbar { position: sticky; top: 0; z-index: 30; height: 80px; background: #fafaf8f5; border-bottom: 1px solid #e7e8e3; transition: box-shadow .3s, background .3s; backdrop-filter: blur(16px); }
.topbar.is-scrolled { background: #fafaf8fa; box-shadow: 0 5px 18px #20252a05; }
.header-inner { width: min(1640px, calc(100% - 112px)); height: 100%; margin: auto; display: flex; align-items: center; gap: 42px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: #202529; text-decoration: none; font-weight: 700; font-size: 22px; letter-spacing: -.035em; white-space: nowrap; }
.brand img { width: 36px; height: 40px; object-fit: contain; }
.nav { display: flex; align-items: center; gap: 34px; margin-left: auto; }
.nav a { position: relative; padding: 26px 0; font-size: 14px; color: #484e51; text-decoration: none; transition: color .2s; }
.nav a:hover, .nav a[aria-current="location"] { color: var(--accent); }
.nav a[aria-current="location"] { text-decoration: underline; text-underline-offset: 8px; }
.motion-controls { display: flex; align-items: center; gap: 14px; padding-left: 24px; border-left: 1px solid var(--line); }
.motion-controls button { background: none; border: 0; padding: 5px 0; font-size: 11px; color: #797e7e; white-space: nowrap; }
.motion-controls button:hover { color: var(--accent); }
.motion-controls button:disabled { opacity: .45; cursor: default; }

/* The intentional right-edge crop makes the actual workspace the hero visual. */
.hero { overflow: clip; }
.hero-layout { position: relative; min-height: 940px; }
.hero-copy { width: min(650px, 46%); padding-top: 140px; position: relative; z-index: 2; }
.hero-copy .eyebrow { margin-bottom: 36px; }
.hero-intro { margin-top: 28px; color: #565b5e; font-size: 19px; line-height: 1.9; }
.compact-break { display: none; }
.hero .actions { margin-top: 36px; }
.hero-visual { position: absolute; left: 48%; top: 116px; width: 1180px; }
.hero-screen { border-radius: 10px; box-shadow: 0 12px 36px #2935320b, 0 2px 5px #29353205; }
.hero-screen img { width: 100%; height: auto; }
.hero-screen .image-label { left: 18px; right: auto; }
.hero-proof { width: 332px; margin-top: 112px; }
.proof-link { display: block; border: 1px solid #e0e4e0; border-radius: 7px; overflow: hidden; background: white; box-shadow: 0 4px 12px #253a3004; cursor: zoom-in; }
.proof-crop { position: relative; overflow: hidden; aspect-ratio: 728 / 242; }
.proof-crop img { width: 236.13%; max-width: none; height: auto; position: absolute; transform: translate(-56.19%, -50.17%); }
.hero-proof figcaption { font-size: 13px; margin-top: 16px; padding-left: 4px; }

/* Images remain photographs of the product; each link opens the complete file. */
.image-link { display: block; position: relative; border: 1px solid #dfe3de; border-radius: 8px; overflow: hidden; color: var(--ink); background: white; cursor: zoom-in; text-decoration: none; }
.image-link img { width: 100%; height: auto; }
.image-label { position: absolute; right: 15px; bottom: 15px; padding: 6px 12px; border: 1px solid #d7ddd7; border-radius: 4px; background: #ffffffed; font-size: 12px; line-height: 1.7; color: #4c5653; opacity: 0; transform: translateY(5px); transition: opacity .25s, transform .4s var(--ease); }
.image-link:hover .image-label, .image-link:focus-visible .image-label { opacity: 1; transform: none; }
.evidence-section { padding-top: 100px; padding-bottom: 154px; }
.evidence-layout { display: grid; grid-template-columns: minmax(0, 1.52fr) minmax(0, 1fr); gap: clamp(72px, 7vw, 142px); align-items: center; }
.source-crop { aspect-ratio: 945 / 871; box-shadow: 0 12px 35px #25363009; }
.source-crop img { width: 181.905%; max-width: none; height: auto; }
.evidence-copy { max-width: 415px; padding-bottom: 20px; }
.evidence-copy h2 { font-size: clamp(44px, 3.6vw, 62px); }
.evidence-copy .section-lead { margin: 32px 0 28px; }
.evidence-copy > .text-link { color: var(--accent); }
.evidence-copy .quiet-note { margin: 30px 0 26px; max-width: 330px; }
.plain-details { border-top: 1px solid var(--line); font-size: 14px; }
.plain-details summary { padding: 18px 0; cursor: pointer; list-style-position: inside; color: #424a4b; }
.plain-details summary::marker { color: #8c9390; font-size: 10px; }
.plain-details[open] summary { color: var(--accent); }
.plain-details > div { padding-bottom: 16px; color: var(--muted); }
.plain-details p + p { margin-top: 12px; }

/* A finite player height keeps the PC presentation comfortable at 1920×1200. */
.demo-section { background: var(--surface); }
.narrow-wrap { max-width: 1240px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 56px; margin-bottom: 52px; }
.section-heading > p { font-size: 16px; color: var(--muted); padding-bottom: 5px; }
.section-heading .eyebrow { margin-bottom: 20px; }
.video-frame { overflow: hidden; border: 1px solid #d4d8d3; border-radius: 8px; background: #eceeea; box-shadow: 0 15px 40px #20282b0a; }
/* The published demo is 1728 × 1080: keep its full 8:5 picture at up to 600px tall. */
.video-frame:not(:fullscreen) { width: min(100%, 962px); margin-inline: auto; }
.video-frame video { display: block; width: 100%; height: auto; aspect-ratio: 8 / 5; max-height: 600px; object-fit: contain; background: #e9efec; }
.player { position: relative; }
.player-controls { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 3px 10px; background: #fff; border-top: 1px solid var(--line); color: var(--ink); }
.player-controls button { border: 0; background: transparent; color: inherit; min-width: 32px; height: 32px; padding: 6px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; border-radius: 4px; }
.player-controls button:hover { background: #ecefeb; }
.player-controls svg { width: 18px; height: 18px; fill: currentColor; }
.player-time { font-size: 12px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.player-seek { min-width: 30px; flex: 1; }
.player-controls input { accent-color: #3d6560; height: 18px; cursor: pointer; }
.player-volume { width: 60px; }
.player-speed { position: relative; }
.speed-toggle { font-size: 13px; min-width: 44px !important; }
.speed-menu { position: absolute; z-index: 5; bottom: calc(100% + 6px); right: 0; width: 116px; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 8px 30px #0002; }
.speed-menu > span { display: block; font-size: 11px; color: var(--muted); padding: 5px 8px; }
.speed-menu button { display: flex; width: 100%; justify-content: flex-start; padding: 5px 10px; }
.speed-menu button[aria-pressed="true"] { color: var(--accent); background: #edf4f0; }
.video-status { padding: 12px 16px; color: #664b1e; background: #fcf3df; font-size: 14px; }
.player:fullscreen { display: flex; flex-direction: column; width: 100%; height: 100%; border: 0; border-radius: 0; background: #000; }
.player:fullscreen video { min-height: 0; max-height: none; width: 100%; height: auto; flex: 1; aspect-ratio: auto; background: #000; }
.player:fullscreen .player-controls, .player:fullscreen .video-status { flex-shrink: 0; }

.workspace-section { padding-block: 148px; }
.gallery-controls { display: flex; gap: 36px; margin-bottom: 48px; }
.gallery-controls button { padding: 12px 0; border: 0; border-bottom: 2px solid transparent; background: transparent; color: #7b8080; font-size: 16px; line-height: 1.6; text-align: left; transition: color .2s, border-color .25s; }
.gallery-controls button:hover { color: var(--ink); }
.gallery-controls button[aria-pressed="true"] { color: var(--ink); border-color: var(--ink); }
.workspace-panel { display: grid; grid-template-columns: minmax(250px,.7fr) minmax(0,1.8fr); gap: 84px; align-items: center; }
.panel-copy { padding-right: 20px; }
.panel-copy h3 { margin-bottom: 28px; font-size: 30px; }
.panel-copy > p { font-size: 15px; color: #636b6d; margin-bottom: 22px; }
.workspace-panel .image-link { box-shadow: 0 8px 24px #1e342806; }
.workspace-panel figure { min-width: 0; }

.reports-section { background: #f1f0ec; }
.report-heading { display: grid; grid-template-columns: 1.15fr 1fr; align-items: end; gap: 120px; margin-bottom: 66px; }
.report-heading .section-lead { max-width: 440px; margin-bottom: 8px; }
.report-stage { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 64px; }
.report-index { padding-top: 12px; }
.small-label { color: #7d827f; font-size: 12px; margin-bottom: 22px; letter-spacing: .05em; }
.gallery-controls.vertical { display: flex; flex-direction: column; gap: 24px; margin-bottom: 46px; }
.gallery-controls.vertical button { font-size: 21px; border: 0; padding: 7px 0 7px 20px; border-left: 2px solid transparent; }
.gallery-controls.vertical button[aria-pressed="true"] { border-left-color: var(--accent); }
.gallery-controls.vertical button span { display: block; color: #888d89; font-weight: 400; font-size: 13px; margin-top: 7px; }
.report-types p { font-size: 12px; }
.report-types b { display: block; color: #454c48; font-size: 13px; }
.report-pages { min-width: 0; }
.report-page-top { display: flex; justify-content: space-between; gap: 20px; align-items: center; min-height: 57px; padding: 14px 20px; background: #fafaf8; border: 1px solid #dcdfd8; border-bottom: 0; border-radius: 7px 7px 0 0; font-size: 12px; color: #626a64; }
.report-page-top .text-link { font-size: 12px; }
.report-frame { display: block; border: 1px solid #dcdfd8; width: 100%; height: 630px; background: white; box-shadow: 0 14px 28px #292d2507; }
.report-pages .caption { margin: 16px 0 0; }
.report-footnote { margin: 40px 0 0 304px; color: #7c817b; font-size: 12px; }

.continuity-section { padding-block: 158px; }
.continuity-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 150px; align-items: start; }
.continuity-copy { padding-top: 22px; }
.continuity-notes { margin-top: 40px; max-width: 430px; }
.continuity-notes p { margin-bottom: 30px; color: #68706c; font-size: 15px; }
.continuity-notes b { display: block; color: #3b4540; font-size: 16px; font-weight: 600; margin-bottom: 7px; }
.update-feature { padding-top: 76px; }
.update-feature .eyebrow { margin-bottom: 20px; }
.update-feature h3 { font-size: 32px; margin-bottom: 22px; }
.update-feature > div > p:last-child { font-size: 15px; color: #68706c; max-width: 430px; }
.update-feature figure { margin-top: 36px; }
.update-image { aspect-ratio: 760 / 880; }
.update-image img { width: 248.947%; max-width: none; height: auto; transform: translate(-30.13%, -13.13%); }

.download-section { background: #efefeb; padding-block: 110px; }
.download-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 100px; align-items: center; }
.download-layout h2 { font-size: clamp(36px,3.15vw,54px); }
.download-layout h2 + p { color: #6a706b; font-size: 16px; margin-top: 26px; }
.download-layout .actions { margin-top: 32px; }
.download-meta { font-size: 12px; color: #767d76; line-height: 1.8; }
.getting-started { padding-top: 35px; }
.getting-started h3 { font-size: 20px; margin-bottom: 24px; }
.getting-started p { font-size: 15px; color: #69716c; padding: 7px 0; }
.getting-started .text-link { font-size: 13px; margin-top: 22px; }
.faq-section { padding-block: 120px; }
.faq-layout { display: grid; grid-template-columns: 1fr 1.35fr; gap: 130px; }
.faq-layout h2 { font-size: 34px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { cursor: pointer; padding: 22px 0; font-size: 15px; list-style-position: inside; }
.faq-list summary::marker { font-size: 10px; color: #9ba29b; }
.faq-list details[open] summary { color: var(--accent); }
.faq-list p { font-size: 14px; color: #6b746c; padding: 0 18px 24px; }
footer { border-top: 1px solid var(--line); padding-block: 36px; }
.footer-inner { display: flex; gap: 36px; align-items: center; }
.footer-inner .brand { font-size: 18px; }
.footer-inner p { font-size: 12px; color: #899087; }
.footer-inner > .text-link { margin-left: auto; font-size: 12px; }
.back-to-top { position: fixed; z-index: 24; bottom: 26px; right: 30px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 5px; background: #fffffff5; font-size: 12px; color: var(--muted); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .3s, transform .3s, visibility .3s; }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }

.image-dialog { width: min(1720px, calc(100vw - 80px)); max-width: none; max-height: calc(100dvh - 64px); margin: auto; border: 1px solid #cfd5cf; border-radius: 9px; background: #fafaf8; padding: 0; box-shadow: 0 22px 80px #101a2040; }
.image-dialog::backdrop { background: #20282c9c; backdrop-filter: blur(8px); }
.image-dialog-toolbar { display: flex; gap: 24px; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); font-size: 14px; }
.image-dialog-close { border: 1px solid var(--line); padding: 6px 14px; background: #fff; border-radius: 4px; font-size: 13px; white-space: nowrap; }
.image-dialog-canvas { overflow: auto; padding: 16px; }
.image-dialog-canvas img { margin: auto; width: auto; height: auto; max-width: 100%; max-height: calc(100dvh - 165px); object-fit: contain; }
html.motion-ready [data-reveal]:not(.is-visible) { opacity: 0; }
html[data-motion="off"] { scroll-behavior: auto; }
html[data-motion="off"] *, html[data-motion="off"] *::before, html[data-motion="off"] *::after { animation: none !important; transition: none !important; }
html[data-motion="off"] [data-reveal] { opacity: 1 !important; clip-path: none !important; }

@media (min-width: 1800px) {
  .hero-layout { min-height: 1000px; }
  .hero-copy { padding-top: 154px; }
  .hero-visual { width: 1320px; top: 126px; }
  .hero-proof { margin-top: 124px; }
}
@media (max-width: 1250px) {
  .wrap, .header-inner { width: calc(100% - 80px); }
  .header-inner { gap: 28px; }
  .nav { gap: 24px; }
  .motion-controls { gap: 8px; padding-left: 16px; }
  .motion-replay { display: none; }
  .hero-copy { width: 52%; }
  .hero-visual { left: 57%; width: 1000px; }
  .hero-layout { min-height: 890px; }
  h1 { font-size: 46px; }
  .compact-break { display: block; }
  .hero-proof { margin-top: 70px; width: 300px; }
  .evidence-layout { gap: 60px; grid-template-columns: 1.4fr 1fr; }
  .evidence-copy .section-lead { font-size: 16px; }
  .workspace-panel { gap: 44px; }
  .report-stage { grid-template-columns: 200px 1fr; gap: 40px; }
  .report-footnote { margin-left: 240px; }
  .report-heading { gap: 60px; }
  .continuity-layout { gap: 90px; }
  .faq-layout { gap: 70px; }
}
/* Compact fallback keeps links usable; the visual target is desktop. */
@media (max-width: 900px) {
  .wrap, .header-inner { width: calc(100% - 40px); }
  .topbar { height: 68px; }
  .brand { font-size: 18px; }
  .brand img { width: 30px; height: 34px; }
  .nav { gap: 16px; }
  .nav a { font-size: 12px; }
  .motion-controls { display: none; }
  .section { padding-block: 74px; }
  .hero-layout { min-height: 0; padding-block: 72px; }
  .hero-copy { padding: 0; width: 100%; }
  .hero-copy .eyebrow { margin-bottom: 24px; }
  h1 { font-size: clamp(32px,6vw,50px); }
  .hero-intro { font-size: 17px; }
  .compact-break { display: none; }
  .hero-proof { display: none; }
  .hero-visual { position: relative; left: auto; top: auto; width: 100%; margin-top: 52px; }
  .image-label { opacity: 1; transform: none; }
  .evidence-layout, .workspace-panel, .report-heading, .continuity-layout, .download-layout, .faq-layout { grid-template-columns: 1fr; gap: 40px; }
  .evidence-copy { grid-row: 1; max-width: 100%; }
  .source-crop { aspect-ratio: 1719 / 871; }
  .source-crop img { width: 100%; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 20px; }
  .panel-copy { padding: 0; }
  .panel-copy h3 br { display: none; }
  .gallery-controls { gap: 24px; margin-bottom: 32px; }
  .gallery-controls button { font-size: 14px; }
  .report-stage { grid-template-columns: 1fr; gap: 24px; }
  .report-index .gallery-controls { flex-direction: row; }
  .report-index .plain-details { margin-top: 10px; }
  .report-frame { height: 520px; }
  .report-footnote { margin-left: 0; }
  .update-feature { padding-top: 0; }
  .update-image { aspect-ratio: 1892 / 1142; }
  .update-image img { width: 100%; transform: none; }
  .getting-started { padding-top: 0; }
  .footer-inner { flex-wrap: wrap; gap: 18px; }
  .image-dialog { width: calc(100vw - 24px); }
}
@media (max-width: 580px) {
  .nav a:not(:last-child) { display: none; }
  .header-inner { gap: 10px; }
  h2 { font-size: 32px; }
  .evidence-copy h2 { font-size: 38px; }
  .player-controls { gap: 5px; flex-wrap: wrap; }
  .player-seek { order: -1; flex-basis: 100%; }
  .player-volume { display: none; }
  .player-time { flex: 1; }
  .actions { gap: 22px; }
  .button { font-size: 14px; padding-inline: 18px; }
  .gallery-controls { gap: 17px; }
  .gallery-controls button { font-size: 12px; }
  .report-page-top { align-items: start; }
  .image-dialog-toolbar { font-size: 12px; padding: 12px; }
  .footer-inner p { flex-basis: 100%; }
}
@media print {
  .topbar, .motion-controls, .reading-progress, .back-to-top, .image-dialog, .image-label, .player-controls { display: none !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  [data-drift] { transform: none !important; }
  body { overflow: visible; }
}
