:root {
  color-scheme: dark;
  --forest: #102c25;
  --deep: #0c211c;
  --lime: #d7f6a1;
  --cream: #f7f6ee;
  --ink: #173c30;
  --sage: #b5c8b8;
  --focus: #d7f6a1;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  color: var(--cream);
  background: var(--forest);
  font-synthesis: none;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; line-height: 1.65; }
body:has(dialog[open]) { overflow: hidden; }
button, input { font: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
button { color: inherit; cursor: pointer; }
button:disabled { cursor: default; }
a { color: inherit; text-decoration: none; }
button { border: 0; background: none; }
button, a, summary { touch-action: manipulation; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 5px; }
[hidden] { display: none !important; }
::selection { background: var(--lime); color: var(--ink); }
svg { display: block; flex-shrink: 0; }
.svg-library { width: 0; height: 0; overflow: hidden; position: absolute; }
.icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.solid-icon { fill: currentColor; stroke: none; }
.cat-face { fill: var(--cat-fur, none); }
.cat-inner { stroke: #a47958; }
.wrap { width: min(1240px, calc(100% - 96px)); margin-inline: auto; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 12px; left: 12px; background: var(--lime); color: var(--ink); padding: 12px 20px; z-index: 100; border-radius: 8px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.2; }
.eyebrow { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 650; letter-spacing: .12em; color: var(--lime); }
.light-eyebrow { color: #386448; }
.title-dot { color: var(--lime); }
.green-dot { color: #438a56; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; border-radius: 10px; min-height: 52px; padding: 12px 23px; font-size: 14px; font-weight: 650; transition: transform .2s, background .2s, box-shadow .2s; }
.button-lime { background: var(--lime); color: var(--deep); box-shadow: 0 0 0 1px #d7f6a140; }
.button-lime:hover { background: #e5ffbc; transform: translateY(-3px); box-shadow: 0 9px 30px #c6ff8b19; }
.button .icon { width: 19px; height: 19px; }
.button-forest { background: var(--ink); color: var(--cream); }
.button-forest:hover { background: #286045; transform: translateY(-2px); }
.text-link { display: flex; align-items: center; gap: 14px; font-size: 14px; }
.text-link span { transition: transform .2s; }
.text-link:hover span { transform: translate(3px, -3px); }

/* Navigation and the notebook cover. */
.site-header { position: sticky; top: 0; z-index: 20; background: #102c25ed; backdrop-filter: blur(16px); border-bottom: 1px solid #d1e4cb14; }
.header-inner { height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; gap: 10px; align-items: center; font-size: 17px; font-weight: 750; letter-spacing: -.02em; white-space: nowrap; }
.brand img { border-radius: 10px; }
.site-header nav { display: flex; align-items: center; gap: 34px; color: #ccd9ce; font-size: 13px; margin-left: auto; }
.site-header nav a { padding: 12px 0; transition: color .2s; }
.site-header nav a:hover { color: var(--lime); }
.header-actions { display: flex; gap: 20px; align-items: center; }
.header-download { border: 1px solid #b4cda64a; border-radius: 7px; padding: 10px 15px; display: inline-flex; align-items: center; gap: 0; font-size: 12px; }
.header-download .icon { margin-left: 12px; width: 16px; height: 16px; }
.header-download:hover { border-color: var(--lime); color: var(--lime); }
.motion-control { color: var(--sage); padding: 10px 0; font-size: 11px; white-space: nowrap; }
.motion-control span { color: var(--lime); margin-left: 4px; }
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero-glow { position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at var(--mouse-x, 80%) var(--mouse-y, 40%), #a3d66a12, transparent 56%); pointer-events: none; }
.hero::before { content: ""; position: absolute; z-index: -1; inset: 0 0 0 38%; background-image: radial-gradient(#bcd0a024 .7px, transparent .7px); background-size: 22px 22px; mask-image: linear-gradient(90deg, transparent, black 50%, transparent); }
.hero-grid { display: grid; grid-template-columns: .93fr 1.07fr; gap: 60px; align-items: center; min-height: 650px; padding-block: 65px 70px; }
.hero-copy { position: relative; z-index: 2; }
.tiny-star { font-size: 25px; line-height: 1; animation: turn 30s linear infinite; }
h1 { margin-top: 24px; font-size: clamp(74px, 7.4vw, 110px); font-weight: 800; letter-spacing: -.065em; line-height: 1.07; }
h1 > span { display: block; }
.title-lime { color: var(--lime); }
.hero-description { color: #c1d0c4; font-size: 16px; line-height: 1.85; margin-top: 26px; }
.hero-actions { display: flex; align-items: center; gap: 26px; margin-top: 30px; }
.hero-platforms { display: flex; gap: 14px; align-items: center; margin-top: 23px; font: 12px system-ui, sans-serif; color: #a9bdae; }
.platform-divider { opacity: .45; }
.outline-tag { font-family: inherit; padding: 4px 8px; border: 1px solid #bbd2aa32; border-radius: 5px; font-size: 10px; margin-left: 2px; }
.notebook-stage { position: relative; perspective: 1000px; padding: 32px 5px; scroll-margin-top: 130px; }
.stage-label { position: relative; z-index: 1; display: flex; align-items: center; justify-content: flex-end; gap: 9px; font-size: 11px; letter-spacing: .08em; color: #bfd0b9; margin-bottom: 23px; padding-right: 15px; }
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 12px #d7f6a159; flex-shrink: 0; }
.stage-label-separator { opacity: .4; margin-inline: 3px; }
.notebook { position: relative; z-index: 2; padding: 26px; background: var(--cream); color: var(--ink); border: 1px solid #faffed; border-radius: 20px; transform: rotate(-3deg) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)); transition: transform .35s ease-out; box-shadow: 0 22px 70px #0004, 9px 10px 0 #2e4d35, 10px 11px 0 #a6cb713d; --focus: #376f3b; }
.notebook-binding { position: absolute; left: 36px; right: 36px; top: -11px; display: flex; justify-content: space-between; pointer-events: none; }
.notebook-binding i { width: 8px; height: 19px; border-radius: 6px; background: #7c9378; border: 2px solid #d9e3c8; box-shadow: 0 2px 2px #102c2533; }
.notebook-top { display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: #63816b; border-bottom: 1px solid #dbe0cd; padding-bottom: 15px; }
.notebook-top > span:first-child { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 650; color: var(--ink); }
.notebook-top .icon { width: 17px; height: 17px; }
.notebook-period { font-family: ui-monospace, monospace; letter-spacing: .08em; }
.profile-row { display: flex; align-items: center; gap: 15px; margin-block: 22px; }
.cat-avatar { position: relative; width: 76px; height: 76px; border-radius: 20px; background: #e8eccf; padding: 7px; --cat-fur: #f8e0ac; }
.cat-avatar svg { width: 100%; height: 100%; stroke: #294533; stroke-width: 2.7; stroke-linecap: round; stroke-linejoin: round; fill: none; transition: transform .2s; }
.cat-avatar:hover svg { transform: rotate(-8deg); }
.cat-avatar[data-cat="sesame"] { background: #e1e4df; --cat-fur: #bcc7bf; }
.cat-avatar[data-cat="orange"] { background: #f2e7d4; --cat-fur: #eab97c; }
.cat-avatar.is-petted svg { animation: cat-purr .55s ease-in-out 2; }
.pat-bubble { position: absolute; left: 55px; bottom: 63px; background: var(--ink); color: var(--cream); border-radius: 12px 12px 12px 2px; padding: 6px 12px; white-space: nowrap; font-size: 12px; opacity: 0; transform: translateY(6px); transition: opacity .2s, transform .2s; pointer-events: none; }
.cat-avatar.is-petted .pat-bubble { opacity: 1; transform: none; }
.small-label { color: #6b7b65; font-size: 11px; margin-bottom: 5px; }
.profile-row h2 { font-size: 28px; letter-spacing: -.04em; }
.profile-count { margin-left: auto; font-size: 10px; color: #66765f; text-align: right; }
.profile-count b { display: block; color: var(--ink); font: 30px ui-monospace, monospace; line-height: 1.3; }
.cat-selector { display: flex; gap: 7px; align-items: center; margin-bottom: 14px; }
.cat-selector button { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 6px 11px; border: 1px solid #d5dcca; border-radius: 8px; color: #52634d; font-size: 12px; transition: background .2s; }
.cat-selector button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: white; }
.cat-selector button:hover:not([aria-pressed="true"]) { background: #e6eacb; }
.cat-selector > span { margin-left: auto; color: #738066; font-size: 10px; white-space: nowrap; }
.cat-dot { width: 7px; height: 7px; border-radius: 50%; background: #f2ce8d; }
.cat-dot.sesame { background: #95a79c; }
.cat-dot.orange { background: #dd9c61; }
.task-preview { padding: 17px; background: white; border: 1px solid #dfe4d6; border-radius: 13px; box-shadow: 0 3px 8px #233e1910; }
.task-meta { display: flex; gap: 8px; align-items: center; font-size: 10px; color: #67765e; flex-wrap: wrap; }
.task-type { background: #e6efd9; color: #385e29; border-radius: 5px; padding: 3px 7px; font-weight: 650; }
.task-relation { margin-left: auto; color: #527448; }
.task-preview h3 { margin-top: 13px; font-size: 17px; line-height: 1.5; }
.task-preview > p { font-size: 12px; color: #61705c; line-height: 1.8; min-height: 44px; margin-top: 7px; }
.task-bottom { display: flex; gap: 8px; justify-content: space-between; align-items: center; margin-top: 14px; padding-top: 11px; border-top: 1px dashed #dce2d3; }
.member-list { display: flex; align-items: center; color: #718066; font-size: 10px; }
.member-list i { width: 22px; height: 22px; border-radius: 50%; background: #e0ead7; border: 2px solid white; display: grid; place-items: center; font-style: normal; color: #3f6035; }
.member-list i + i { margin-left: -5px; background: #f2dfc4; }
.member-list > span { margin-left: 5px; }
.record-open { min-height: 32px; padding: 0; font-size: 11px; white-space: nowrap; }
.record-open:hover, .shared-record button:hover { text-decoration: underline; text-underline-offset: 4px; }
.shared-record { display: flex; gap: 6px; align-items: center; margin-top: 15px; font-size: 10px; color: #64785b; min-height: 28px; flex-wrap: wrap; }
.shared-record .icon { fill: currentColor; stroke: none; width: 15px; height: 15px; }
.shared-record button { font-size: 10px; color: var(--ink); padding: 4px 0; }
.orbit { position: absolute; border: 1px solid #b1d59924; border-radius: 50%; width: 620px; height: 620px; left: 50%; top: 48%; transform: translate(-50%, -50%); pointer-events: none; z-index: -1; }
.orbit-two { width: 770px; height: 770px; border-style: dashed; border-color: #b1d59917; }
.floating-note { position: absolute; display: flex; align-items: center; gap: 8px; z-index: 3; bottom: 1px; right: -10px; transform: rotate(6deg); background: #dce9a2; color: #2e4c32; padding: 13px 21px; border-radius: 9px; font-size: 12px; box-shadow: 0 10px 30px #0003; animation: float-note 7s ease-in-out infinite; pointer-events: none; }
.floating-note .icon { width: 16px; height: 16px; }
.stage-paw { position: absolute; fill: #c5df9670; width: 35px; height: 35px; transform: rotate(30deg); }
.paw-one { left: -40px; bottom: 75px; }
.paw-two { left: -61px; bottom: 25px; width: 27px; height: 27px; transform: rotate(15deg); opacity: .5; }
.hero-bottom { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #bdd3b322; padding-block: 24px 28px; gap: 20px; }
.feature-inline { display: flex; gap: 32px; color: #b6c8b8; font-size: 12px; }
.feature-inline > span { display: flex; align-items: center; gap: 8px; }
.feature-inline .icon { width: 17px; height: 17px; color: #c7e09d; }
.scroll-hint { display: flex; align-items: center; gap: 20px; font-size: 11px; color: #b3c4ad; }
.scroll-hint > span { font-size: 18px; }

/* The network demonstration uses real page state, with no remote data writes. */
.sync-section { background: var(--cream); color: var(--ink); padding-block: 90px 70px; --focus: #367137; }
.section-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 36px; gap: 30px; }
.section-heading h2, .download-copy h2 { font-size: clamp(34px, 4.5vw, 58px); letter-spacing: -.055em; line-height: 1.25; margin-top: 17px; }
.section-description { color: #6a7765; font-size: 14px; line-height: 1.95; padding-bottom: 5px; }
.sync-lab { background: #e9eddf; border: 1px solid #dce3d1; border-radius: 24px; padding: 22px 38px 0; }
.lab-toolbar { display: flex; align-items: center; justify-content: space-between; padding-bottom: 24px; gap: 16px; }
.demo-tag { display: flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: .05em; color: #5b7053; }
.demo-tag .live-dot { background: #688849; box-shadow: none; }
.network-setting { display: flex; gap: 12px; align-items: center; font-size: 12px; color: #46653d; }
.switch { width: 46px; height: 28px; border-radius: 20px; padding: 4px; background: #3c744a; transition: background .25s; }
.switch span { display: block; width: 20px; height: 20px; background: white; border-radius: 50%; transform: translateX(18px); transition: transform .25s; box-shadow: 0 1px 3px #0002; }
.switch[aria-checked="false"] { background: #8b9381; }
.switch[aria-checked="false"] span { transform: none; }
.sync-scene { display: grid; grid-template-columns: 1fr 140px 1fr; align-items: center; width: min(860px, 100%); margin: 0 auto; gap: 20px; }
.device-card { min-width: 0; background: #fffef8; border: 1px solid #cfd8c4; padding: 23px; border-radius: 16px; box-shadow: 0 9px 18px #1c4c2210; }
.device-label { display: flex; align-items: center; gap: 9px; }
.device-label .icon { width: 21px; height: 21px; }
.device-label h3 { font-size: 14px; font-weight: 650; }
.device-label > span { margin-left: auto; background: #ecf0e4; border-radius: 4px; padding: 2px 5px; color: #627259; font-size: 9px; }
.record-count { display: flex; gap: 13px; align-items: baseline; margin-block: 22px 17px; }
.record-count strong { font: 600 70px/1 system-ui, sans-serif; letter-spacing: -.08em; font-variant-numeric: tabular-nums; }
.record-count > span { font-size: 11px; color: #758369; }
.mini-record { display: flex; align-items: center; gap: 7px; font-size: 10px; color: #728267; min-height: 26px; }
.mini-record .icon { width: 14px; height: 14px; }
.device-card .button { width: 100%; margin-top: 14px; padding-inline: 10px; min-height: 45px; font-size: 12px; }
.device-card .button > span { font-size: 18px; font-weight: 400; line-height: 1; }
.cloud-members { display: flex; align-items: center; min-height: 45px; margin-top: 14px; padding-block: 4px; }
.cloud-members > span { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; font-size: 11px; background: #dce7c8; border: 2px solid #fffef8; }
.cloud-members > span:nth-child(2) { background: #efdbbe; margin-left: -6px; }
.cloud-members > span:nth-child(3) { background: #d8dfdf; margin-left: -6px; }
.cloud-members > p { font-size: 11px; color: #6a7b5f; margin-left: 10px; }
.cloud-device { background: #f7fae9; }
.sync-bridge { position: relative; display: grid; place-items: center; gap: 13px; }
.bridge-line { position: absolute; width: calc(100% + 42px); left: -21px; top: 24px; border-top: 1px dashed #adc096; z-index: 0; }
.bridge-icon { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid #bbd0a1; background: #e2edcf; border-radius: 50%; z-index: 1; color: #3b7342; transition: background .3s; }
.sync-bridge > span { font-size: 11px; color: #617d4f; }
.packet { position: absolute; width: 6px; height: 6px; border-radius: 50%; top: -3px; background: #527e39; opacity: 0; }
[data-state="syncing"] .packet { animation: send-packet 1.1s linear infinite; }
[data-state="syncing"] .packet-two { animation-delay: .5s; }
[data-state="syncing"] .bridge-icon .icon { animation: turn 1.5s linear infinite; }
[data-state="offline"] .bridge-line { border-color: #bfc3b7; }
[data-state="offline"] .bridge-icon { background: #e3e4dc; border-color: #c9cdbf; color: #828b74; }
[data-state="offline"] .sync-bridge > span { color: #757c6b; }
[data-state="offline"] .cloud-device { opacity: .72; }
.lab-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid #d2dbc5; margin-top: 26px; padding-block: 18px; font-size: 12px; color: #596f4f; }
.reset-demo { color: #5b7053; font-size: 11px; min-height: 28px; white-space: nowrap; }
.reset-demo:hover { color: var(--ink); }
.reset-demo span { margin-left: 6px; font-size: 17px; }
.data-notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; margin-top: 38px; }
.data-notes article { display: flex; gap: 14px; }
.note-number { color: #729060; font: 11px/1.8 ui-monospace, monospace; }
.data-notes h3 { font-size: 14px; margin-bottom: 8px; }
.data-notes p { font-size: 12px; color: #718067; line-height: 1.8; max-width: 26em; }

/* Downloads share the release manifest. */
.download-section { padding-block: 96px 80px; position: relative; background: radial-gradient(ellipse at 12% 40%, #668c3720, transparent 55%); }
.platform-anchor { position: absolute; top: 0; scroll-margin-top: 90px; }
.download-layout { display: grid; grid-template-columns: .9fr 1.1fr; align-items: start; gap: 88px; }
.download-copy > p:not(.eyebrow) { margin-top: 24px; font-size: 14px; color: #b5c8b7; line-height: 1.9; }
.download-box { border: 1px solid #87ab7445; border-radius: 18px; background: #13362b; overflow: hidden; }
.platform-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; padding: 8px; background: #0d281f; border-bottom: 1px solid #86aa702a; }
.platform-tabs > button { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 8px; border-radius: 10px; min-width: 0; color: #a9bea5; font-size: 13px; transition: background .2s, color .2s; }
.platform-tabs > button[aria-selected="true"] { background: var(--lime); color: var(--ink); }
.platform-tabs > button:hover:not([aria-selected="true"]) { background: #264735; color: var(--cream); }
.platform-tabs .icon { width: 21px; height: 21px; }
.platform-tabs small { display: block; font-size: 9px; text-align: left; margin-top: 3px; font-weight: 400; }
.platform-tabs > button > span { text-align: left; }
.platform-panel { padding: 30px; }
.download-title-row { display: flex; gap: 14px; align-items: center; justify-content: space-between; }
.download-title-row h3 { font-size: 20px; letter-spacing: -.03em; }
.release-badge { display: inline-flex; padding: 4px 8px; border: 1px solid #8daa6a4a; border-radius: 5px; font-size: 12px; font-variant-numeric: tabular-nums; color: #c2d3aa; white-space: nowrap; }
.platform-description { color: #b0c3ac; font-size: 12px; margin-top: 12px; min-height: 40px; }
.release-status { color: #acbda2; font-size: 12px; margin-top: 20px; }
.unavailable-download, .download-link { width: 100%; margin-top: 20px; font-size: 13px; }
.unavailable-download { background: #274b37; color: #a4bd9c; border: 1px dashed #7d9b615e; }
.download-link #file-size { font-size: 10px; font-weight: 400; margin-left: auto; }
.retry-download { color: var(--lime); min-height: 44px; font-size: 12px; margin-top: 4px; }
.install-tip { border-top: 1px solid #bdd8a923; padding-top: 18px; margin-top: 22px; color: #a8bba1; font-size: 11px; line-height: 1.8; }
.release-details { margin-top: 20px; color: #b6cba8; font-size: 12px; }
.release-details details { padding-block: 8px; }
.release-details summary { cursor: pointer; }
.release-details summary > span { float: right; font: 10px ui-monospace, monospace; }
.release-details code { display: block; overflow-wrap: anywhere; font-size: 11px; margin-block: 12px; }
.copy-hash { padding: 8px 10px; color: var(--lime); border: 1px solid #a2c07f50; border-radius: 6px; font-size: 11px; }
#release-notes { white-space: pre-line; overflow-wrap: anywhere; margin-top: 12px; }
.no-script { padding: 24px; color: #c8d7b8; font-size: 13px; }
.faq-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; padding-block: 10px 70px; }
.faq-heading h2 { font-size: 27px; margin-top: 13px; letter-spacing: -.04em; }
.faq-list details { border-bottom: 1px solid #c8dea026; }
.faq-list summary { cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 15px; padding-block: 20px; font-size: 13px; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary > span { color: var(--lime); font-size: 20px; transition: transform .2s; }
.faq-list details[open] summary > span { transform: rotate(45deg); }
.faq-list details > p { color: #acbfa6; font-size: 12px; line-height: 1.9; margin: 0 30px 22px 0; }
.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 25px 32px; border-top: 1px solid #bdd5a52b; }
.site-footer .brand { font-size: 14px; }
.footer-paw { width: 23px; height: 23px; fill: var(--lime); }
.site-footer > span { font-size: 11px; color: #9fb397; }
.back-top { display: flex; align-items: center; gap: 18px; font-size: 11px; color: #c9d9bf; }
.back-top span { font-size: 18px; }

/* A real dialog keeps keyboard focus inside the expanded example. */
.record-dialog { color-scheme: light; color: var(--ink); background: var(--cream); border: 1px solid #d8e2ca; border-radius: 20px; width: min(540px, calc(100% - 32px)); max-height: calc(100dvh - 48px); padding: 30px; box-shadow: 0 30px 100px #0007; --focus: #367137; }
.record-dialog::backdrop { background: #061e15b8; backdrop-filter: blur(8px); }
.dialog-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; }
.dialog-close { font: 26px/1 system-ui, sans-serif; border: 1px solid #cbd6c2; border-radius: 50%; width: 36px; height: 36px; }
.record-dialog h2 { font-size: 24px; }
.dialog-meta { color: #748069; font-size: 12px; margin-top: 12px; }
.dialog-description { margin-top: 22px; font-size: 14px; line-height: 1.9; }
.dialog-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding-block: 22px; border-block: 1px solid #dce2d3; margin: 24px 0 18px; font-size: 13px; }
.dialog-fields dt { font-size: 10px; color: #6c7e60; margin-bottom: 6px; }
.dialog-fields dd { margin: 0; }
.dialog-note { font-size: 11px; color: #7d896e; }
.access-form { display: grid; gap: 14px; font-size: 14px; }
.access-form label:not([hidden]) { display: grid; gap: 6px; }
.access-form input { width: 100%; background: #fff; color: var(--ink); border: 1px solid #a4b39a; border-radius: 8px; padding: 10px 12px; font: inherit; }
.access-form [role="status"]:empty { display: none; }
.access-form [role="status"] { color: #4a6148; line-height: 1.6; }
.access-form button { justify-self: start; }

@keyframes turn { to { transform: rotate(360deg); } }
@keyframes float-note { 50% { transform: translateY(-9px) rotate(4deg); } }
@keyframes cat-purr { 25% { transform: rotate(-9deg); } 75% { transform: rotate(9deg); } }
@keyframes send-packet { from { left: 0; opacity: 1; } to { left: 100%; opacity: 1; } }
.has-motion .reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.has-motion .reveal.is-visible { opacity: 1; transform: none; }
.motion-paused, .motion-paused *, .motion-paused *::before, .motion-paused *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
.motion-paused .reveal { opacity: 1; transform: none; }
.motion-paused .notebook { transform: rotate(-3deg); }

@media (max-width: 1100px) {
  .wrap { width: calc(100% - 64px); }
  .hero-grid { gap: 35px; min-height: 600px; }
  h1 { font-size: 85px; }
  .hero-actions { gap: 19px; }
  .hero-actions .button { padding-inline: 17px; font-size: 13px; }
  .hero-actions .text-link { font-size: 12px; gap: 8px; }
  .notebook { padding: 21px; }
  .cat-selector > span { display: none; }
  .hero-description { font-size: 14px; }
  .download-layout { gap: 50px; }
  .platform-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sync-scene { grid-template-columns: 1fr 90px 1fr; }
  .device-card { padding: 21px; }
  .sync-lab { padding-inline: 27px; }
  .feature-inline { gap: 22px; font-size: 11px; }
  .download-title-row { flex-wrap: wrap; gap: 8px; }
}
@media (max-width: 820px) {
  .wrap { width: calc(100% - 48px); }
  .header-inner { height: 72px; gap: 20px; }
  .site-header nav { gap: 20px; }
  .header-actions { gap: 15px; }
  .hero-grid { grid-template-columns: 1fr; gap: 30px; padding-block: 50px 55px; }
  .hero-copy { text-align: center; }
  .hero-copy > .eyebrow, .hero-actions, .hero-platforms { justify-content: center; }
  h1 { font-size: clamp(68px, 12vw, 96px); margin-top: 22px; }
  h1 > span { display: inline; }
  .hero-description { margin-top: 21px; }
  .notebook-stage { width: min(510px, calc(100% - 32px)); justify-self: center; padding-block: 15px 28px; }
  .stage-label { justify-content: center; margin-bottom: 24px; }
  .notebook { padding: 25px; }
  .cat-selector > span { display: inline; }
  .floating-note { bottom: -3px; }
  .feature-inline { flex-wrap: wrap; gap: 14px 20px; }
  .scroll-hint { white-space: nowrap; gap: 12px; }
  .sync-section { padding-block: 65px 55px; }
  .section-heading h2, .download-copy h2 { font-size: 42px; }
  .section-description { font-size: 13px; }
  .data-notes { gap: 20px; }
  .data-notes article { gap: 10px; }
  .data-notes h3 { font-size: 13px; }
  .download-layout { grid-template-columns: 1fr; gap: 35px; }
  .download-section { padding-block: 65px; }
  .faq-section { grid-template-columns: 1fr; gap: 22px; }
  .faq-heading h2 { font-size: 27px; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 36px); }
  html { scroll-padding-top: 88px; }
  .header-inner { gap: 12px; height: 68px; }
  .brand { font-size: 15px; gap: 7px; }
  .brand img { width: 31px; height: 31px; border-radius: 8px; }
  .site-header nav { display: none; }
  .header-actions { gap: 12px; }
  .motion-control { font-size: 10px; }
  .header-download { padding: 8px 10px; font-size: 11px; }
  .header-download .icon { margin-left: 7px; width: 14px; height: 14px; }
  .desktop-text { display: none; }
  .hero-grid { padding-block: 42px 40px; gap: 26px; }
  .hero-copy > .eyebrow { font-size: 11px; }
  .tiny-star { font-size: 20px; }
  h1 { font-size: clamp(50px, 11.7vw, 69px); letter-spacing: -.065em; }
  .hero-description { font-size: 13px; margin-top: 18px; }
  .hero-actions { gap: 21px; margin-top: 24px; }
  .hero-actions .button { min-height: 46px; padding-inline: 16px; font-size: 12px; gap: 13px; }
  .hero-actions .text-link { font-size: 11px; gap: 5px; }
  .hero-platforms { font-size: 10px; margin-top: 19px; gap: 12px; }
  .outline-tag { font-size: 9px; }
  .notebook-stage { width: calc(100% - 20px); }
  .stage-label { font-size: 9px; margin-bottom: 20px; }
  .notebook { padding: 20px 17px 13px; border-radius: 15px; box-shadow: 0 15px 40px #0003, 6px 7px 0 #2e4d35, 7px 8px 0 #a6cb713d; }
  .notebook-binding { left: 28px; right: 28px; }
  .profile-row { gap: 13px; margin-block: 18px; }
  .cat-avatar { width: 64px; height: 64px; border-radius: 17px; }
  .profile-row h2 { font-size: 25px; }
  .profile-count { font-size: 9px; }
  .profile-count b { font-size: 25px; }
  .cat-selector { gap: 7px; }
  .cat-selector > span { display: none; }
  .cat-selector button { padding: 5px 10px; font-size: 11px; min-height: 36px; }
  .task-preview { padding: 13px; }
  .task-meta { gap: 6px; font-size: 9px; }
  .task-preview h3 { font-size: 15px; }
  .task-preview > p { font-size: 11px; min-height: 59px; }
  .member-list > span { font-size: 9px; }
  .record-open { font-size: 10px; }
  .shared-record, .shared-record button { font-size: 9px; }
  .shared-record { gap: 5px; margin-top: 10px; }
  .floating-note { padding: 10px 14px; font-size: 10px; right: -5px; bottom: -3px; }
  .stage-paw { display: none; }
  .hero-bottom { padding-block: 18px; }
  .feature-inline { justify-content: center; gap: 9px 15px; font-size: 10px; width: 100%; }
  .feature-inline .icon { width: 14px; height: 14px; }
  .scroll-hint { display: none; }
  .sync-section { padding-block: 48px 42px; }
  .section-heading { display: block; margin-bottom: 25px; }
  .section-heading h2, .download-copy h2 { font-size: 36px; margin-top: 13px; }
  .section-description { margin-top: 20px; font-size: 12px; }
  .eyebrow { font-size: 10px; }
  .sync-lab { border-radius: 18px; padding: 18px 17px 0; }
  .lab-toolbar { padding-bottom: 18px; }
  .demo-tag { font-size: 10px; }
  .network-setting { font-size: 10px; gap: 9px; }
  .switch { width: 43px; height: 27px; }
  .switch span { width: 19px; height: 19px; transform: translateX(16px); }
  .sync-scene { grid-template-columns: 1fr; gap: 16px; max-width: 350px; }
  .device-card { padding: 19px 22px; }
  .record-count { margin-block: 16px 11px; }
  .record-count strong { font-size: 58px; }
  .device-card .button { margin-top: 10px; }
  .sync-bridge { height: 65px; gap: 0; }
  .bridge-icon { width: 38px; height: 38px; position: absolute; left: calc(50% - 19px); top: 12px; }
  .bridge-icon .icon { width: 18px; height: 18px; }
  .bridge-line { top: 32px; left: calc(50% - 47px); width: 94px; transform: rotate(90deg); }
  .sync-bridge > span { position: absolute; left: calc(50% + 31px); top: 24px; font-size: 10px; white-space: nowrap; }
  .lab-footer { align-items: start; gap: 12px; margin-top: 20px; padding-block: 14px; font-size: 10px; }
  .lab-footer p { padding-top: 4px; }
  .reset-demo { font-size: 10px; }
  .data-notes { grid-template-columns: 1fr; gap: 23px; margin-top: 29px; }
  .data-notes article { gap: 16px; }
  .data-notes h3 { font-size: 13px; margin-bottom: 5px; }
  .data-notes p { font-size: 11px; max-width: none; }
  .download-section { padding-block: 50px 40px; }
  .download-copy > p:not(.eyebrow) { font-size: 12px; margin-top: 19px; }
  .download-layout { gap: 24px; }
  .platform-tabs { padding: 7px; gap: 4px; }
  .platform-tabs > button { gap: 7px; font-size: 11px; padding: 12px 5px; }
  .platform-tabs .icon { width: 18px; height: 18px; }
  .platform-tabs small { font-size: 9px; }
  .platform-panel { padding: 22px 19px; }
  .download-title-row h3 { font-size: 18px; }
  .platform-description, .release-status { font-size: 11px; }
  .install-tip { font-size: 10px; }
  .faq-section { padding-block: 8px 40px; }
  .faq-heading h2 { font-size: 25px; }
  .faq-list summary { font-size: 12px; padding-block: 18px; }
  .faq-list details > p { font-size: 11px; }
  .site-footer { flex-wrap: wrap; padding-block: 22px; gap: 17px; }
  .site-footer .brand { font-size: 12px; }
  .site-footer > span { order: 3; width: 100%; font-size: 10px; }
  .back-top { font-size: 10px; }
  .record-dialog { padding: 23px; }
  .record-dialog h2 { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .has-motion .reveal { opacity: 1; transform: none; }
  .notebook { transform: rotate(-3deg); }
}
