/* Chữ tay: Patrick Hand (đủ dấu tiếng Việt; Caveat thiếu ơ ư ạ ế…). Cùng file với home.css, thu 90% cho khớp cỡ Caveat cũ. */
@font-face{font-family:'NI Hand';font-style:normal;font-weight:400 700;font-display:block;size-adjust:90%;src:url('/assets/fonts/PatrickHand-vn.woff2') format('woff2')}
/* The product itself is the stage. Existing shared styles remain intact for the catalogue. */
body:has(.landing){--hand:'NI Hand','Patrick Hand',cursive;--accent:#0068d9;--paper:#f3f3f5;--soft:#eeedf0;--ink:#1c1c1e;--muted:#505055}
.landing{overflow:clip}
.landing h1,.landing h2,.landing h3{text-wrap:balance}
.landing .hand-note{font-family:var(--hand);font-size:32px;font-weight:500;line-height:1.02}
.landing .hand-note svg{stroke-width:2}
.landing .hand-note path{stroke-dasharray:1;stroke-dashoffset:0}
.landing .hand-note.draw path{animation:ink-arrive 1.1s ease both}
.landing em{font-family:var(--hand);font-weight:600;letter-spacing:-.045em;font-style:normal;color:var(--accent);display:inline-block;position:relative}
.landing em::after{content:'';position:absolute;bottom:-.04em;left:0;right:0;height:.08em;border-bottom:2px solid currentColor;border-radius:50%;transform:rotate(-3deg)}
.intro{padding-top:48px;position:relative}
.intro-copy{text-align:center;position:relative;max-width:880px;margin:auto}
.intro-signature{font:500 26px/1.2 var(--hand);color:var(--muted);margin:auto auto 20px;transform:rotate(-3deg)}
.landing h1{font-size:clamp(54px,6.3vw,88px);line-height:.99;letter-spacing:-.055em;font-weight:650}
.intro .lead{font-size:19px;line-height:1.55;margin:28px auto 0;max-width:570px;color:var(--muted)}
.intro-actions{display:flex;justify-content:center;align-items:center;gap:26px;margin-top:26px}
.intro-actions .button,.last-chapter .button{background:var(--ink);min-height:52px;padding:13px 26px}
.intro-actions .button:hover,.last-chapter .button:hover{background:var(--accent)}
.watch-link{background:transparent;border:0;padding:12px 0;color:var(--ink);display:inline-flex;align-items:center;gap:9px;font-size:16px;font-weight:600}
.watch-link svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.4;transition:transform .3s}
.watch-link svg path{fill:currentColor;stroke:none}
.watch-link:hover svg{transform:scale(1.12)}
.intro .compat{margin-top:16px;font-size:13px}
.free-note{position:absolute;left:calc(50% + 270px);top:270px;width:185px;pointer-events:none}
.free-note .hand-note{transform:rotate(7deg);font-size:29px;max-width:185px;text-align:left}
.free-note svg{transform:scaleX(-1) rotate(-30deg);width:65px;height:68px;margin:-8px 0 0 25px}
.desk-stage{margin:44px auto 0;position:relative;background:var(--paper);padding:18px 18px 12px;border-radius:26px;transform-origin:center 10%;isolation:isolate}
.stage-top{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:0 10px 16px}
.stage-hint{font:500 24px/1.2 var(--hand)}
.stage-tabs{display:flex;gap:4px;align-items:center}
.stage-tabs button{background:transparent;border:0;padding:9px 15px;border-radius:99px;color:var(--muted);font-size:14px;line-height:1.3;transition:color .25s,background .25s,transform .25s;white-space:nowrap;min-height:38px}
.stage-tabs button:hover{color:var(--ink);background:#fff9}
.stage-tabs button[aria-selected=true]{color:#fff;background:var(--ink)}
.stage-tabs button:active{transform:scale(.94)}
.screen-surface{position:relative;overflow:hidden;background:#111;border-radius:14px}
.stage-view{position:relative}
.stage-view img{width:100%;aspect-ratio:8/3;object-fit:cover}
.stage-view video{position:absolute;inset:0;width:100%;height:calc(100% - 52px);object-fit:cover;opacity:0;transition:opacity .5s}
.stage-view video.is-playing{opacity:1}
.stage-view figcaption{position:relative;background:var(--ink);color:#fff;padding:15px 24px;font-size:15px;line-height:22px;min-height:52px;text-align:center}
.stage-view.entering img{animation:screen-arrive .6s cubic-bezier(.22,1,.36,1) both}
.stage-bottom{display:flex;align-items:center;justify-content:space-between;min-height:30px;font-size:13px;color:var(--muted);padding:10px 10px 0;gap:12px}
.motion-toggle{border:0;background:none;padding:0;color:var(--ink);font-size:13px;text-decoration:underline;text-underline-offset:3px;white-space:nowrap;min-height:26px}
.stage-scribble{margin:12px 12px 0;display:flex;justify-content:flex-end}
.stage-scribble .hand-note{font-size:26px;margin:0}
.stage-scribble svg{width:145px}
.chapter-heading{display:grid;grid-template-columns:1fr 1fr;align-items:start;gap:64px}
.landing h2{font-size:clamp(42px,4.5vw,64px);letter-spacing:-.045em;line-height:1.02;font-weight:650}
.chapter-heading>div{padding-top:6px}
.chapter-heading p{font-size:18px;color:var(--muted);max-width:41ch;line-height:1.6}
.chapter-heading .hand-note{margin-top:24px}
.live-story{padding-top:105px;padding-bottom:100px}
.story-grid{display:grid;grid-template-columns:1.3fr 1fr;gap:80px;align-items:start;margin-top:56px;position:relative}
.story-visual{position:sticky;top:80px;padding-top:20px;min-width:0}
.activity-frame{overflow:hidden;border-radius:18px;background:var(--paper);padding:54px 0}
.activity-frame img{width:100%;aspect-ratio:8/3;object-fit:cover;transform-origin:50% 0}
.activity-frame img.switching{animation:activity-arrive .55s cubic-bezier(.22,1,.36,1) both}
.story-visual figcaption{font-size:14px;text-align:center;margin-top:18px;color:var(--muted)}
.activity-controls{display:flex;gap:7px;margin:22px 0 0;justify-content:center;flex-wrap:wrap}
.activity-controls button{display:flex;align-items:center;gap:8px;font-size:13px;min-height:40px;border:0;background:var(--surface);color:var(--muted);padding:10px 13px;border-radius:99px;transition:background .25s,color .25s,transform .25s}
.activity-controls button>span:first-child{font-size:12px;font-variant-numeric:tabular-nums}
.activity-controls button[aria-pressed=true]{background:var(--ink);color:#fff}
.activity-controls button:active{transform:scale(.95)}
.story-footnote{font-size:14px;color:var(--muted);text-align:center;margin:18px auto 0;max-width:38ch}
.story-step{padding:48px 0 68px;min-height:310px}
.step-number{display:block;color:var(--accent);font:500 26px/1 var(--hand);margin-bottom:20px}
.story-step h3{font-size:30px;letter-spacing:-.035em;line-height:1.12;max-width:20ch}
.story-step p{color:var(--muted);font-size:18px;line-height:1.6;margin-top:24px;max-width:33ch}
.chapter-link{display:inline-block;margin-top:18px}
.music-chapter{background:#19191b;color:#f5f5f7;padding:84px 0 68px}
.music-heading{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:center}
.music-heading p{font-size:18px;color:#c3c3c8;max-width:36ch;line-height:1.6}
.music-heading .hand-note{color:#8cbdff;margin-top:25px}
.music-chapter em{color:#8cbdff}
.music-picture{margin-top:48px;overflow:hidden;border-radius:18px}
.music-picture img{width:100%;transition:transform .7s cubic-bezier(.22,1,.36,1)}
.music-picture:hover img{transform:scale(1.025)}
.clipboard-chapter{padding-block:115px;display:grid;grid-template-columns:.8fr 1.2fr;gap:64px;align-items:center}
.clipboard-copy p{font-size:18px;color:var(--muted);line-height:1.6;margin-top:28px;max-width:34ch}
.clipboard-copy .text-link{display:inline-block;margin-top:24px}
.clipboard-copy .hand-note{font-size:28px;margin-top:30px}
.clipboard-picture{background:var(--paper);padding:65px 0;border-radius:22px;overflow:hidden;transform:rotate(2deg);transition:transform .5s}
.clipboard-picture:hover{transform:rotate(0)}
.clipboard-picture img{width:100%}
.companion-chapter{padding-top:20px;padding-bottom:92px}
.companion-chapter .text-link{display:inline-block;margin-top:22px}
.companion-gallery{position:relative;background:var(--paper);border-radius:24px;padding:36px 46px 24px;margin-top:44px}
.agent-picture{width:80%;margin-inline:auto}
.agent-picture img{width:100%}
.agent-picture figcaption{font-size:13px;color:var(--muted);text-align:center;margin-top:16px;max-width:52ch;margin-inline:auto}
.companion-note{position:absolute;right:5px;top:28px;transform:rotate(-7deg)}
.companion-note .hand-note{margin:0;font-size:28px;width:155px}
.companion-note .hand-note svg{width:175px;height:80px}
.everyday{padding-block:20px 94px;display:grid;grid-template-columns:1fr 1.3fr;gap:40px 64px}
.everyday h2{font-size:48px;max-width:10ch;position:sticky;top:90px;align-self:start}
.everyday-links a{display:flex;align-items:center;gap:25px;padding:23px 0}
.everyday-links a>span:first-child{font:500 25px var(--hand);color:var(--muted)}
.everyday-links h3{font-size:25px;letter-spacing:-.025em}
.everyday-links p{font-size:16px;color:var(--muted);margin-top:9px}
.row-arrow{font-size:27px;margin-left:auto;transition:transform .25s}
.everyday-links a:hover .row-arrow{transform:translate(4px,-4px)}
.everyday>.text-link{grid-column:2}
.setup-chapter{background:var(--paper);padding-block:78px 84px}
.setup-chapter .chapter-heading{align-items:center}
.setup-chapter .chapter-heading>.hand-note{justify-self:start;margin:0;font-size:32px}
.setup-steps{list-style:none;padding:0;margin:56px 0 0;display:grid;grid-template-columns:repeat(3,1fr);gap:50px}
.setup-steps li>span{font:500 34px var(--hand);color:var(--accent);display:block;margin-bottom:18px}
.setup-steps h3{font-size:24px;line-height:1.2;letter-spacing:-.025em}
.setup-steps p{font-size:16px;color:var(--muted);line-height:1.6;margin-top:18px}
.landing .faq{padding-block:100px 70px}
.landing .faq h2{font-size:42px}
.last-chapter{text-align:center;padding:40px 0 80px}
.last-chapter .end-notch{background:var(--ink);color:#fff;width:200px;height:64px;border-radius:0 0 25px 25px;margin:0 auto 26px;display:grid;place-items:center;position:relative;transform-origin:50% 0}
.end-notch::before,.end-notch::after{content:'';position:absolute;top:0;width:20px;height:20px;background:transparent}
.end-notch::before{left:-20px;border-radius:0 20px 0 0;box-shadow:8px -8px 0 8px var(--ink)}
.end-notch::after{right:-20px;border-radius:20px 0 0 0;box-shadow:-8px -8px 0 8px var(--ink)}
.end-notch span{font:500 32px var(--hand)}
.last-chapter>.hand-note{margin:0 auto 30px;font-size:30px;align-items:center;max-width:360px}
.last-chapter>.hand-note svg{align-self:center;width:220px}
.last-chapter h2{margin-bottom:30px}
.last-chapter .compat{margin:18px auto 0}
.landing .support{padding-block:0 40px}
.landing .support p{font-size:14px}
.landing [hidden]{display:none!important}
.landing .arrived{animation:chapter-arrive .8s cubic-bezier(.22,1,.36,1) both}
.landing .setup-steps.arrived li:nth-child(2){animation:chapter-arrive .8s .1s both}
.landing .setup-steps.arrived li:nth-child(3){animation:chapter-arrive .8s .2s both}
.landing .end-notch.arrived{animation:notch-hello .9s cubic-bezier(.22,1,.36,1) both}
@keyframes screen-arrive{from{opacity:.65;transform:scale(1.025) translateY(-9px)}to{opacity:1;transform:none}}
@keyframes activity-arrive{from{opacity:.35;transform:translateY(-12px) scale(.98)}to{opacity:1;transform:none}}
@keyframes chapter-arrive{from{opacity:.55;transform:translateY(24px)}to{opacity:1;transform:none}}
@keyframes ink-arrive{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
@keyframes notch-hello{from{transform:scaleX(.7) scaleY(.4);opacity:.4}to{transform:none;opacity:1}}
@media(min-width:1000px) and (prefers-reduced-motion:no-preference){.intro-copy{animation:chapter-arrive .8s both}.desk-stage{animation:chapter-arrive 1s .1s both}}
@media(max-width:1000px){.free-note{left:auto;right:-12px;top:225px;width:125px}.free-note .hand-note{font-size:25px}.stage-hint{font-size:21px}.stage-tabs button{padding:9px 12px}.chapter-heading,.music-heading{gap:36px}.story-grid{gap:40px;grid-template-columns:1.15fr 1fr}.activity-frame{padding-block:65px}.activity-controls button{padding:8px 11px}.clipboard-chapter{gap:35px}.companion-note .hand-note{font-size:24px;width:120px}.companion-note{right:8px;top:20px}.everyday{gap:35px}.everyday h2{font-size:42px}}
@media(max-width:700px){.intro{padding-top:30px}.landing .wrap{width:calc(100% - 40px)}.landing h1{font-size:55px;line-height:1.02}.intro-signature{font-size:23px;margin-bottom:16px}.intro .lead{font-size:17px;max-width:35ch;margin-top:24px}.intro .lead br{display:none}.intro-actions{gap:18px;margin-top:24px}.intro-actions .button{font-size:15px;padding:12px 21px}.watch-link{font-size:14px;gap:7px}.watch-link svg{width:21px;height:21px}.free-note{position:relative;top:auto;right:auto;left:auto;width:auto;display:flex;justify-content:center;margin-top:18px}.free-note .hand-note{font-size:24px;transform:rotate(-4deg);max-width:none}.free-note .hand-note>span br{display:none}.free-note .hand-note svg{display:none}.desk-stage{margin-top:25px;padding:10px 10px 9px;border-radius:19px}.stage-top{flex-direction:column;gap:12px;padding:5px 0 12px}.stage-hint{font-size:23px}.stage-tabs{justify-content:center;width:100%}.stage-tabs button{font-size:13px;padding:8px 11px;min-height:38px}.stage-view img{aspect-ratio:8/4.2;object-fit:cover;object-position:center top}.screen-surface{border-radius:10px}.stage-view figcaption{font-size:13px;line-height:18px;padding:11px 10px;min-height:40px}.stage-view video{height:calc(100% - 40px)}.stage-bottom{font-size:13px;padding-inline:0;gap:8px}.motion-toggle{font-size:13px}.stage-scribble{margin-top:8px}.stage-scribble .hand-note{font-size:23px}.stage-scribble svg{width:125px}.landing h2{font-size:42px}.chapter-heading,.music-heading{grid-template-columns:1fr;gap:25px}.chapter-heading p,.music-heading p{font-size:17px;max-width:40ch}.chapter-heading .hand-note{font-size:28px;margin-top:18px}.live-story{padding-top:60px;padding-bottom:60px}.story-grid{display:block;margin-top:28px}.story-visual{position:static;padding-top:0}.activity-frame{padding-block:45px}.activity-controls{gap:6px;margin-top:16px}.activity-controls button{font-size:13px;gap:5px;padding:9px 10px}.activity-controls button>span:first-child{display:none}.story-steps{display:grid;grid-template-columns:1fr;gap:12px;margin-top:30px}.story-step{padding:23px 0;min-height:0}.story-step h3{font-size:26px;max-width:none}.story-step p{font-size:16px;max-width:40ch;margin-top:14px}.step-number{font-size:23px;margin-bottom:13px}.chapter-link{margin-top:25px}.music-chapter{padding:58px 0 40px}.music-picture{margin-top:30px;border-radius:12px}.music-heading .hand-note{font-size:28px}.clipboard-chapter{padding-block:70px;grid-template-columns:1fr;gap:30px}.clipboard-copy p{font-size:17px;max-width:40ch;margin-top:25px}.clipboard-copy .hand-note{display:none}.clipboard-picture{padding-block:45px;transform:none;border-radius:16px}.companion-chapter{padding-block:0 60px}.companion-gallery{padding:65px 10px 18px;margin-top:28px;border-radius:18px}.agent-picture{width:100%}.agent-picture figcaption{font-size:13px;padding-inline:6px;max-width:36ch}.companion-note{top:9px;right:20px}.companion-note .hand-note{font-size:23px;width:195px;max-width:none;transform:rotate(-4deg)}.companion-note .hand-note br{display:none}.companion-note .hand-note svg{width:190px;height:55px}.everyday{display:block;padding-block:0 60px}.everyday h2{position:static;font-size:40px;max-width:none;margin-bottom:24px}.everyday-links a{padding-block:22px;gap:20px}.everyday-links h3{font-size:23px}.everyday>.text-link{display:inline-block;margin-top:25px}.setup-chapter{padding-block:55px}.setup-chapter .chapter-heading{gap:22px}.setup-chapter .chapter-heading>.hand-note{font-size:28px}.setup-steps{grid-template-columns:1fr;gap:30px;margin-top:32px}.setup-steps li{display:grid;grid-template-columns:42px 1fr;column-gap:18px}.setup-steps li>span{grid-row:span 2;font-size:30px;margin:0}.setup-steps h3{font-size:23px}.setup-steps p{margin-top:12px}.landing .faq{padding-block:65px 35px}.landing .faq h2{font-size:37px}.last-chapter{padding-block:35px 60px}.last-chapter h2{font-size:38px}.last-chapter>.hand-note{font-size:26px}.landing .support{padding-bottom:24px}}
@media(prefers-reduced-motion:reduce){.landing *,.landing *::before,.landing *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.story-visual{position:static}.clipboard-picture{transform:none}}

/* Preserve full app geometry rather than cutting the notch off on narrow screens. */
@media(max-width:700px){.stage-view img{aspect-ratio:8/3;object-fit:contain}.free-note .hand-note{white-space:nowrap}.companion-note .hand-note{font-size:24px;width:210px}.everyday-links a>div{flex:1}.story-steps{gap:0}.story-step{padding-block:22px}.intro .lead{line-height:1.6}.intro h1{font-size:clamp(44px,13.85vw,54px)}.stage-view video{height:calc(100% - 40px);object-fit:contain;background:#111}}

/* A marginal note points to the actual download action, without crossing the headline. */
@media(min-width:1101px){.free-note{left:calc(50% - 480px);top:270px}.free-note .hand-note{font-size:29px;transform:rotate(-6deg);max-width:180px}.free-note .hand-note svg{position:absolute;top:0;left:80px;width:260px;height:110px;margin:0;transform:rotate(6deg)}}
@media(min-width:701px) and (max-width:1100px){.free-note{top:275px;right:0;left:auto;width:150px}.free-note .hand-note{font-size:25px;max-width:150px}.free-note svg{display:none}}
@media(max-width:700px){.setup-steps li{display:block}.setup-steps h3{font-size:23px}}

@media(max-width:700px){.intro-actions:lang(en){gap:14px}.intro-actions:lang(en) .button{font-size:14px;padding-inline:18px;gap:12px;white-space:nowrap;flex-shrink:0}.intro-actions:lang(en) .watch-link{font-size:13px;white-space:nowrap}}
/* The annotation is anchored to the download control, never to viewport coordinates. */
.download-cluster{position:relative;display:inline-flex;flex-shrink:0}
.intro .download-cluster .free-note{position:absolute;left:-210px;right:auto;top:-50px;width:180px;transform:none;pointer-events:none;font:500 25px/1.1 var(--hand);color:var(--accent);text-align:left}
.download-cluster .free-note>span{white-space:nowrap;display:block;transform:rotate(-5deg)}
.intro .download-cluster .free-note svg{display:block;position:absolute;left:65px;top:25px;width:150px;height:90px;margin:0;transform:none;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;overflow:visible}
.desk-stage{background:none;padding:0;border-radius:0;margin-top:42px}
.stage-top{padding:0 40px 24px}
.screen-surface{background:none;overflow:visible;border-radius:0}
.macbook{position:relative;width:100%;aspect-ratio:800/489;isolation:isolate}
.macbook .device-display{position:absolute;left:8.5%;top:3.68%;width:83%;height:86%;overflow:hidden;border-radius:1.3% 1.3% 0 0;background:#111}
.stage-view .device-display>img{width:100%;height:100%;aspect-ratio:auto;object-fit:cover;object-position:center top}
.stage-view .device-display video{inset:0;width:100%;height:100%;object-fit:cover;object-position:center top}
.stage-view .device-hardware{position:relative;z-index:2;pointer-events:none;display:block;width:100%;height:auto;aspect-ratio:800/489}
.stage-view figcaption{background:none;color:var(--muted);font-size:16px;padding-top:18px}
.stage-bottom{padding:4px 40px 0}
.workspace-chapter{padding-top:90px;padding-bottom:30px}
.workspace-photo{margin-top:42px}
.workspace-photo video,.hello-chapter video{display:block;width:100%;height:auto;aspect-ratio:2056/1329;object-fit:contain;border-radius:20px;background:var(--surface)}
.workspace-photo figcaption{font-size:14px;color:var(--muted);margin-top:14px;text-align:center}
.widget-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px 22px;margin-top:40px}
.widget-gallery figure,.activity-photo-grid figure,.pet-gallery figure{min-width:0}
.widget-gallery a,.activity-photo-grid a,.pet-gallery a{display:block;overflow:hidden;border-radius:14px;background:var(--surface)}
.widget-gallery img{width:100%;height:auto;aspect-ratio:600/360;object-fit:cover}
.widget-gallery figcaption,.activity-photo-grid figcaption,.pet-gallery figcaption{font-size:16px;font-weight:500;margin-top:13px}
.widget-gallery img,.activity-photo-grid img,.pet-gallery img{transition:transform .35s cubic-bezier(.22,1,.36,1)}
.widget-gallery a:hover img,.activity-photo-grid a:hover img,.pet-gallery a:hover img{transform:scale(1.035)}
.live-gallery{padding-block:0 90px}
.gallery-heading{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:end;margin-bottom:40px}
.gallery-heading p{color:var(--muted);font-size:18px}
.activity-family{margin-top:22px;background:var(--surface);border-radius:20px;padding:24px}
.activity-family>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;font-size:24px;font-weight:600;letter-spacing:-.025em;padding:3px 2px}
.activity-family>summary::-webkit-details-marker{display:none}
.activity-family>summary span{font-size:28px;font-weight:400;transition:transform .2s}
.activity-family[open]>summary span{transform:rotate(45deg)}
.activity-photo-grid{display:grid;grid-template-columns:1fr 1fr;gap:30px 24px;margin-top:26px}
.activity-photo-grid img{width:100%;height:auto;aspect-ratio:760/360;object-fit:cover;object-position:center top}
.pets-chapter{padding-bottom:90px}
.pet-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px 22px;margin-top:40px}
.pet-gallery img{display:block;width:100%;height:auto;aspect-ratio:600/200;object-fit:cover}
.pet-gallery figcaption{text-align:center}
.companion-gallery{padding:28px 0 22px;overflow:hidden}
.agent-picture{width:100%}
.agent-picture img{border-radius:0}
.companion-note{position:static;display:flex;justify-content:flex-end;padding-right:30px;margin-top:15px}
.companion-note .hand-note{width:220px}
.hello-chapter{padding-block:20px 70px}
.hello-chapter .chapter-heading>.hand-note{align-self:center;justify-self:start}
.hello-chapter figure{margin-top:38px}
.capture-dialog{padding:18px;width:min(1200px,calc(100vw - 32px));max-width:none;border:0;border-radius:18px;color:var(--ink);background:#fff}
.capture-dialog::backdrop{background:#000a;backdrop-filter:blur(8px)}
.capture-dialog>button{display:block;margin-left:auto;margin-bottom:12px;border:0;background:var(--surface);border-radius:50%;width:44px;height:44px;font-size:28px}
.capture-dialog>img{width:100%;height:auto;max-height:75vh;object-fit:contain}
.capture-dialog>p{font-size:16px;margin-top:15px}
@media(max-width:1100px){.intro .download-cluster .free-note{left:-165px;top:-48px;width:150px;font-size:23px}.intro .download-cluster .free-note svg{left:20px}}
@media(max-width:700px){.intro .download-cluster .free-note{left:50%;right:auto;top:calc(100% + 17px);transform:translateX(-50%);width:max-content;font-size:23px;margin:0}.intro .download-cluster .free-note svg{display:none}.intro .compat{margin-top:56px}.desk-stage{padding:0;margin-top:30px}.stage-top{padding:0 0 18px;gap:12px}.stage-bottom{padding:8px 0 0;font-size:13px}.stage-view figcaption{font-size:14px;line-height:1.5;padding:15px 5px 0}.stage-view .device-display>img{aspect-ratio:auto;object-fit:cover}.stage-view .device-display video{height:100%;object-fit:cover}.stage-scribble{margin-top:12px}.workspace-chapter{padding-top:65px;padding-bottom:10px}.workspace-photo{margin-top:25px}.workspace-photo video,.hello-chapter video{border-radius:12px}.widget-gallery{grid-template-columns:1fr 1fr;gap:24px 14px;margin-top:28px}.widget-gallery figcaption,.pet-gallery figcaption{font-size:14px}.widget-gallery a,.activity-photo-grid a,.pet-gallery a{border-radius:10px}.gallery-heading{grid-template-columns:1fr;gap:22px;margin-bottom:28px}.gallery-heading p{font-size:17px}.live-gallery{padding-bottom:60px}.activity-family{padding:18px 14px;border-radius:16px;margin-top:16px}.activity-family>summary{font-size:21px}.activity-photo-grid{grid-template-columns:1fr;gap:24px;margin-top:22px}.activity-photo-grid figcaption{font-size:16px}.pet-gallery{grid-template-columns:1fr 1fr;gap:24px 14px;margin-top:28px}.pets-chapter{padding-bottom:60px}.companion-gallery{padding:22px 0 20px}.companion-note{padding-right:15px;margin-top:25px}.hello-chapter{padding-block:15px 50px}.hello-chapter figure{margin-top:25px}}
@media(prefers-reduced-motion:reduce){.widget-gallery img,.activity-photo-grid img,.pet-gallery img{transition:none;transform:none}}
.macbook .device-display{left:9.375%;top:3.8855%;width:81.25%;height:85.8896%}
.stage-view.entering .device-hardware{animation:none}
.pet-gallery img{aspect-ratio:2/1;object-position:center top}
.pet-motion{margin-top:38px}
.pet-motion video{display:block;width:100%;height:auto;aspect-ratio:12/5;border-radius:18px;background:var(--surface)}
.macbook .device-hardware{position:relative;z-index:2;pointer-events:none;display:block;width:100%;height:auto;aspect-ratio:800/489}
.macbook .device-display video{display:block;position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto;object-fit:cover;object-position:center top;border-radius:0}
/* One discovery stage replaces the long sequence of galleries. */
.discovery{padding-block:70px 55px}
.discovery-heading{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:center;margin-bottom:32px}
.discovery-heading p{color:var(--muted);font-size:18px;line-height:1.6;max-width:36ch}
.discovery-heading .hand-note{font-size:28px;margin-top:20px}
.discovery-tabs{display:flex;flex-wrap:wrap;gap:8px;padding-bottom:24px}
.discovery-tabs button{border:0;background:var(--surface);color:var(--muted);border-radius:99px;padding:12px 20px;min-height:44px;font-size:16px;transition:background .2s,color .2s,transform .2s}
.discovery-tabs button[aria-selected=true]{background:var(--ink);color:#fff}
.discovery-tabs button:hover{color:var(--accent)}
.discovery-tabs button[aria-selected=true]:hover{color:#fff}
.discovery-tabs button:active{transform:scale(.96)}
.discovery-panels{background:var(--surface);border-radius:24px;padding:30px}
.discovery-panel{display:grid;grid-template-columns:1.5fr 1fr;gap:36px;align-items:center;min-height:460px;outline-offset:10px}
.discovery-media{min-width:0;position:relative;text-align:center}
.discovery-default>video{display:block;width:100%;aspect-ratio:12/5;object-fit:contain;border-radius:14px;background:#111}
.discovery-default>a{display:block;overflow:hidden;border-radius:14px}
.discovery-default>a>img{width:100%;aspect-ratio:8/3;object-fit:contain;object-position:center top}
.discovery-media .device-display>video{border-radius:0}
.discovery-selection{position:relative}
.discovery-selection>a{display:block;position:relative;overflow:hidden;border-radius:14px}
.discovery-selection img{display:block;width:100%;height:auto;max-height:340px;aspect-ratio:760/360;object-fit:contain}
.discovery-selection figcaption{font-size:14px;color:var(--muted);margin-top:12px}
.photo-zoom{position:absolute;bottom:10px;right:12px;background:#fff;color:var(--ink);width:28px;height:28px;border-radius:50%;font-size:19px}
.discovery-copy h3{font-size:32px;line-height:1.1;letter-spacing:-.04em;max-width:20ch}
.discovery-copy>p{font-size:16px;color:var(--muted);line-height:1.6;margin-top:20px;max-width:35ch}
.discovery-copy>.text-link{display:inline-block;margin-top:24px;font-size:14px}
.discovery-choices{display:flex;flex-wrap:wrap;gap:7px;margin-top:22px}
.discovery-choices button{background:#fff;color:var(--muted);border:0;border-radius:8px;padding:9px 12px;min-height:38px;font-size:13px;line-height:1.3;transition:background .2s,color .2s}
.discovery-choices button[aria-pressed=true]{background:var(--ink);color:#fff}
.discovery-choices button:hover{color:var(--accent)}
.discovery-choices button[aria-pressed=true]:hover{color:#fff}
.demo-toggle{margin-top:16px;background:none;border:0;padding:6px 12px;min-height:36px;color:var(--ink);font-size:13px;text-decoration:underline;text-underline-offset:4px}
.discovery-panel.entering .discovery-default,.discovery-panel.entering .discovery-selection{animation:activity-arrive .4s both}
.landing .setup-chapter{padding-block:48px}
.landing .setup-chapter h2{font-size:42px}
.landing .setup-steps{margin-top:32px;gap:32px}
.landing .faq{padding-block:52px 25px}
.landing .last-chapter{padding-block:25px 50px}
.landing .end-notch{display:none}
@media(max-width:1000px){.discovery-panel{grid-template-columns:1.25fr 1fr;gap:24px;min-height:475px}.discovery-panels{padding:24px}.discovery-tabs{gap:6px}.discovery-tabs button{font-size:14px;padding:11px 16px}.discovery-copy h3{font-size:28px}.discovery-heading{gap:36px}.discovery-choices{gap:6px}.discovery-choices button{padding:9px 10px}}
@media(max-width:700px){.discovery{padding-block:45px 40px}.discovery-heading{grid-template-columns:1fr;gap:18px;margin-bottom:24px}.discovery-heading h2{font-size:39px}.discovery-heading p{font-size:17px}.discovery-heading .hand-note{display:none}.discovery-tabs{gap:7px;padding-bottom:20px}.discovery-tabs button{font-size:14px;padding:10px 14px}.discovery-panel{grid-template-columns:1fr;gap:24px;align-content:start;min-height:590px}.discovery-panels{padding:18px 14px;border-radius:18px}.discovery-media{min-height:180px;display:flex;flex-direction:column;justify-content:center}.discovery-copy h3{font-size:27px;max-width:none}.discovery-copy>p{font-size:16px;line-height:1.55;margin-top:15px;max-width:none}.discovery-choices{margin-top:18px}.discovery-choices button{font-size:13px;min-height:38px;padding:9px 11px}.discovery-copy>.text-link{margin-top:20px}.demo-toggle{margin-top:10px}.landing .setup-chapter{padding-block:35px}.landing .setup-chapter h2{font-size:35px}.landing .setup-chapter .hand-note{display:none}.landing .setup-steps{gap:22px;margin-top:26px}.landing .setup-steps p{margin-top:8px}.landing .faq{padding-block:40px 20px}.landing .faq h2{font-size:32px}.landing .last-chapter{padding-block:20px 35px}.last-chapter>.hand-note{margin-bottom:20px}.landing .last-chapter h2{font-size:34px}}

/* 0.9.7: nhãn tính năng mới (Thông báo tin nhắn) */
.new-pill{display:inline-flex;align-items:center;gap:10px;margin:0 auto 18px;padding:7px 14px 7px 7px;border-radius:99px;background:#fff;color:var(--ink);font-size:14px;font-weight:600;text-decoration:none;box-shadow:0 1px 0 rgba(0,0,0,.04),0 6px 18px rgba(0,0,0,.06);transition:transform .2s,box-shadow .2s}
.new-pill>span:first-child{background:#30d158;color:#04260f;border-radius:99px;padding:4px 10px;font-size:12px;font-weight:700;letter-spacing:.01em}
.new-pill>span:last-child{color:var(--accent);transition:transform .2s}
.new-pill:hover{transform:translateY(-1px);box-shadow:0 1px 0 rgba(0,0,0,.04),0 10px 24px rgba(0,0,0,.09)}
.new-pill:hover>span:last-child{transform:translateX(3px)}
.tab-new{display:inline-block;margin-left:7px;padding:2px 7px;border-radius:99px;background:#30d158;color:#04260f;font-size:11px;font-weight:700;vertical-align:2px}
.discovery-new{display:inline-block;margin:0 0 12px;padding:3px 10px;border-radius:99px;background:#30d158;color:#04260f;font-size:12px;font-weight:700}
@media(max-width:700px){.new-pill{font-size:13px;gap:8px;margin-bottom:14px}.new-pill>span:first-child{font-size:11px;padding:3px 8px}}
@media(prefers-reduced-motion:reduce){.new-pill,.new-pill>span:last-child{transition:none}}

/* Chương Trình chiếu nhạc (0.9.11): nền đen, màn lớn đổi theo theme */
.showcase-chapter{background:#0b0b0c;color:#f2f2f4;padding:110px 0 100px;margin-top:90px;position:relative;overflow:hidden}
.showcase-chapter::before{content:'';position:absolute;inset:-30% -10% auto;height:70%;background:radial-gradient(50% 60% at 50% 40%,rgba(247,166,30,.18),transparent 70%);pointer-events:none}
.showcase-heading{text-align:center;max-width:760px;margin:0 auto;position:relative}
.showcase-new{display:inline-block;background:#30d158;color:#04260f;border-radius:99px;padding:4px 12px;font-size:13px;font-weight:700;margin-bottom:22px}
.showcase-chapter h2{font-size:clamp(46px,5.4vw,76px);line-height:1;letter-spacing:-.05em;font-weight:650;color:#fff}
.showcase-chapter em{color:#f7a61e}
.showcase-lead{font-size:19px;line-height:1.6;color:#b9b9c0;margin:26px auto 0;max-width:600px}
.showcase-stage{margin:56px auto 0;max-width:1080px;position:relative}
.showcase-screen{position:relative;aspect-ratio:16/9;border-radius:18px;overflow:hidden;background:#000;box-shadow:0 40px 90px rgba(0,0,0,.6),0 0 0 1px rgba(255,255,255,.08)}
.showcase-screen img,.showcase-screen video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transform:scale(1.025);transition:opacity .8s ease,transform 1.4s cubic-bezier(.2,.7,.2,1)}
.showcase-screen img.is-on,.showcase-screen video.is-on{opacity:1;transform:none}
.showcase-caption{text-align:center;margin-top:18px;font-size:15px;color:#9a9aa2;min-height:22px}
.showcase-caption strong{color:#fff;font-weight:600;margin-right:6px}
.showcase-picker{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:26px auto 0;max-width:900px}
.showcase-picker button{display:inline-flex;align-items:center;gap:8px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);color:#d6d6dc;border-radius:99px;padding:9px 15px;font-size:14px;transition:background .25s,color .25s,transform .2s,border-color .25s}
.showcase-picker button i{width:10px;height:10px;border-radius:50%;background:var(--dot);box-shadow:0 0 0 2px rgba(255,255,255,.12)}
.showcase-picker button:hover{background:rgba(255,255,255,.12);color:#fff}
.showcase-picker button[aria-pressed=true]{background:#fff;color:#111;border-color:#fff}
.showcase-picker button:active{transform:scale(.95)}
.showcase-chapter .hand-note{color:#f7a61e;text-align:center;margin:30px auto 0;display:flex;justify-content:center}
.showcase-steps{list-style:none;display:grid;grid-template-columns:repeat(3,1fr);gap:34px;max-width:980px;margin:70px auto 0;padding:0}
.showcase-steps li{border-top:1px solid rgba(255,255,255,.14);padding-top:22px}
.showcase-steps span{font:600 26px/1 var(--hand);color:#f7a61e}
.showcase-steps h3{font-size:23px;margin-top:12px;color:#fff;letter-spacing:-.02em}
.showcase-steps p{color:#a6a6ae;margin-top:10px;line-height:1.55}
.tv-key{display:inline-grid;place-items:center;width:36px;height:36px;border-radius:50%;background:rgba(255,255,255,.12);border:1.5px solid #f7a61e;font-size:17px;vertical-align:middle;animation:tv-pulse 2.2s ease-in-out infinite}
@keyframes tv-pulse{0%,100%{box-shadow:0 0 0 0 rgba(247,166,30,.45)}50%{box-shadow:0 0 0 9px rgba(247,166,30,0)}}
.showcase-keys{text-align:center;color:#8d8d95;font-size:14px;margin-top:44px;line-height:2.2}
.showcase-keys kbd{font:600 12px/1 ui-monospace,Menlo,monospace;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.16);border-bottom-width:2px;border-radius:6px;padding:4px 7px;color:#e6e6ea;margin:0 3px 0 10px}
.showcase-keys kbd+kbd{margin-left:2px}
@media(max-width:700px){.showcase-chapter{padding:70px 0 64px;margin-top:60px}.showcase-chapter h2{font-size:42px}.showcase-lead{font-size:17px}.showcase-stage{margin-top:34px}.showcase-screen{border-radius:11px}.showcase-picker button{font-size:13px;padding:8px 12px}.showcase-steps{grid-template-columns:1fr;gap:22px;margin-top:44px}.showcase-keys{font-size:13px}}
@media(prefers-reduced-motion:reduce){.showcase-screen img,.showcase-screen video{transition:opacity .2s;transform:none}.tv-key{animation:none}}
.showcase-chapter .hand-note{width:fit-content;margin-inline:auto}
.showcase-keys{max-width:none;margin-inline:auto;width:fit-content}
.showcase-caption{max-width:none;margin-inline:auto}
/* Chương Mèo notch (0.9.23): nền đen như notch, phim mèo thật bên phải, nút đổi phản ứng */
.pet-chapter p,.pet-chapter figcaption,.pet-chapter button{font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","Helvetica Neue",system-ui,sans-serif;letter-spacing:0;text-transform:none}
.pet-chapter{background:#000;color:#f4f4f6;padding:150px 0 140px;margin-top:110px}
.pet-grid{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:64px;align-items:center}
.pet-chapter h2{font-size:clamp(50px,6.4vw,96px);line-height:.96;letter-spacing:-.05em;font-weight:680;color:#fff}
.pet-lead{font-size:20px;line-height:1.55;color:#e6e6ea;margin-top:30px;max-width:30em}
.pet-picker{display:flex;flex-wrap:wrap;gap:8px;margin-top:36px}
.pet-picker button{background:#1d1d20;color:#e8e8ec;border:0;border-radius:99px;padding:11px 18px;font-size:15px;font-weight:550;cursor:pointer;transition:background .22s,color .22s,transform .18s}
.pet-picker button:hover{background:#2e2e33;color:#fff}
.pet-picker button:focus-visible{outline:2px solid #ff9cbc;outline-offset:3px}
.pet-picker button[aria-pressed=true]{background:#ff9cbc;color:#2a0b16}
.pet-picker button:active{transform:scale(.95)}
.pet-caption{margin-top:22px;font-size:16px;line-height:1.55;color:#c9c9cf;min-height:50px;max-width:34em}
.pet-caption strong{color:#fff;font-weight:650;margin-right:6px}
.pet-chapter .hand-note{color:#ff9cbc;margin-top:22px;display:inline-flex}
.pet-stage{margin:0}
.pet-screen{position:relative;aspect-ratio:1200/768;border-radius:18px;overflow:hidden;background:#545f78}
.pet-screen video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transform:scale(1.02);transition:opacity .45s ease,transform .9s cubic-bezier(.2,.7,.2,1)}
.pet-screen video.is-on{opacity:1;transform:none}
.pet-stage figcaption{margin-top:14px;font-size:14px;color:#9d9da5}
.pet-more{margin-top:150px}
.pet-coats{margin:0;display:flex;flex-direction:column-reverse;gap:40px}
.pet-coats figcaption{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:64px;align-items:end}
.pet-coats figcaption p{margin-top:0;max-width:34em}
.pet-coats picture{display:block}
.pet-coats img{width:100%;height:auto;display:block;border-radius:14px;background:#000}
.pet-chapter h3{font-size:clamp(30px,3vw,44px);line-height:1.04;letter-spacing:-.035em;font-weight:650;color:#fff}
.pet-coats p,.pet-home header p{font-size:17px;line-height:1.6;color:#e2e2e7;margin-top:16px}
.pet-home{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 32px;margin-top:150px}
.pet-home header{grid-column:1/-1;max-width:44em}
.pet-home figure{margin:0}
.pet-home img{width:100%;height:auto;display:block;border-radius:16px;background:#121214}
.pet-home figcaption{margin-top:12px;font-size:15px;color:#b8b8bf}
.pet-credit{margin-top:90px;font-size:14px;line-height:1.6;color:#9d9da5}
.pet-credit a{color:#e6e6ea;text-underline-offset:3px}
.pet-chapter [data-rise]{opacity:0;transform:translateY(24px);transition:opacity .7s ease,transform .8s cubic-bezier(.2,.7,.2,1)}
.pet-chapter [data-rise].is-in{opacity:1;transform:none}
@media(max-width:900px){.pet-grid,.pet-coats figcaption{grid-template-columns:1fr;gap:28px}.pet-grid{gap:40px}.pet-home{grid-template-columns:1fr}.pet-coats img{width:100%}}
@media(max-width:700px){.pet-chapter{padding:90px 0 80px;margin-top:70px}.pet-chapter h2{font-size:48px}.pet-lead{font-size:18px}.pet-picker button{font-size:14px;padding:10px 15px}.pet-more,.pet-home{margin-top:90px}.pet-screen{border-radius:12px}}
@media(prefers-reduced-motion:reduce){.pet-screen video{transition:opacity .2s;transform:none}.pet-chapter [data-rise]{opacity:1;transform:none;transition:none}}
