/* Native screenshots remain unaltered; frames are a presentation layer. */
:root { --native-light: none; --native-dark: block; }
:root[data-appearance="light"],.native-gallery[data-gallery-theme="light"] { --native-light:block; --native-dark:none; }
.native-gallery[data-gallery-theme="dark"] { --native-light:none; --native-dark:block; }
.native-app-page [hidden] { display:none !important; }
.site-page.wide-hero-page.cloud-page > main.native-app-page { max-width:1180px; width:calc(100% - 64px); margin-inline:auto; }
.cloud-page .cloud-main.native-app-page > section { width:100%; margin-inline:0; }
.native-hero { display:grid; grid-template-columns:1.05fr 1fr; align-items:center; gap:70px; padding:68px 0 64px; }
.native-hero h1 { font-size:clamp(38px,4.5vw,62px); line-height:1.06; max-width:680px; margin:18px 0 24px; }
.native-hero .cloud-eyebrow { margin:32px 0 0; letter-spacing:.12em; }
.native-intro { font-size:18px; max-width:580px; }
.native-hero .cloud-actions { gap:24px; margin-top:28px; }
.native-app-page .native-beta { display:flex; align-items:center; flex-wrap:wrap; gap:10px; margin-top:24px; font-size:13px; }
.native-hero-art,.native-slide-art { display:grid; place-items:center; min-width:0; isolation:isolate; }
.native-hero-art { padding:42px 20px; background:radial-gradient(ellipse,color-mix(in srgb,var(--accent) 15%,transparent),transparent 70%); }
.native-frame { position:relative; padding:9px; border:2px solid #6a756f; background:#101512; box-shadow:0 20px 45px #0003; }
.native-screen img { width:100%; height:auto; display:block; }
.native-screen .native-light { display:var(--native-light); }
.native-screen .native-dark { display:var(--native-dark); }
:is(.native-frame-phone,.native-frame-android) { width:260px; max-width:100%; border-radius:39px; }
:is(.native-frame-phone,.native-frame-android) img { border-radius:29px; }
.native-frame-android { border-radius:30px; }
.native-frame-android img { border-radius:20px; }
.native-frame-phone:after { content:""; position:absolute; top:20px; left:36%; width:28%; height:19px; background:#080a09; border-radius:20px; }
.native-frame-tablet { width:100%; max-width:900px; padding:17px; border-radius:28px; }
.native-frame-tablet img { border-radius:10px; }
.native-frame-laptop { width:92%; max-width:920px; padding:10px 10px 15px; border-radius:16px; margin-bottom:16px; }
.native-frame-laptop img { border-radius:6px; }
.native-frame-laptop:after { content:""; position:absolute; left:-5%; width:110%; bottom:-15px; height:17px; background:linear-gradient(#c6ceca,#69776f); border-radius:2px 2px 25px 25px; }
.native-frame-watch { width:240px; max-width:calc(100% - 28px); padding:13px; border-radius:61px; box-shadow:0 20px 40px #0003,0 0 0 4px #434c46; margin-block:48px; }
.native-frame-watch img { border-radius:43px; }
.native-frame-watch:before { content:""; position:absolute; right:-13px; top:55px; width:11px; height:40px; border-radius:5px; background:repeating-linear-gradient(#7d867f 0 2px,#3a443e 2px 4px); }
.native-frame-watch:after { content:""; position:absolute; z-index:-1; inset:-46px 38px; border-radius:40px; background:linear-gradient(90deg,#414d45,#6a776d,#3e4942); }
.native-benefits { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:36px; border-top:1px solid var(--line); padding:42px 0 64px; }
.native-benefits h2 { font-size:22px; letter-spacing:-.025em; line-height:1.2; margin:15px 0 12px; }
.native-number { color:var(--accent); font-size:12px; font-weight:700; }
.native-benefits p { font-size:15px; }
.native-gallery { border:1px solid var(--line); background:var(--surface-deep); border-radius:28px; padding:32px; scroll-margin-top:24px; }
.native-gallery + .native-gallery { margin-top:32px; }
.native-gallery-heading { display:flex; justify-content:space-between; gap:24px; align-items:center; margin-bottom:24px; }
.native-gallery-heading h2 { font-size:34px; }
.native-gallery-heading .cloud-eyebrow { margin-bottom:10px; }
.native-theme-control { font-size:12px; color:var(--muted); display:flex; flex-direction:column; gap:5px; }
.native-theme-control select { background:var(--surface); color:var(--strong); border:1px solid var(--line); border-radius:9px; font:inherit; font-size:14px; padding:9px 28px 9px 12px; }
.native-slides { display:grid; gap:36px; }
.native-slide { min-width:0; margin:0; }
.native-gallery[data-enhanced] .native-slides { display:flex; gap:0; overflow-x:auto; scroll-snap-type:x mandatory; scrollbar-width:none; overscroll-behavior-x:contain; }
.native-slides::-webkit-scrollbar { display:none; }
.native-gallery[data-enhanced] .native-slide { flex:0 0 100%; scroll-snap-align:start; scroll-snap-stop:always; }
.native-slide-art { min-height:420px; padding:32px 24px; background:radial-gradient(ellipse,color-mix(in srgb,var(--accent) 8%,transparent),transparent 68%); }
.native-slide:has(.native-frame-phone,.native-frame-android) .native-slide-art { min-height:650px; }
.native-slide:has(.native-frame-watch) .native-slide-art { min-height:430px; }
.native-slide figcaption { max-width:700px; margin:24px auto 0; text-align:center; }
.native-slide h3 { font-size:23px; color:var(--strong); margin:0 0 10px; }
.native-slide figcaption p { font-size:15px; }
.native-gallery-footer { display:flex; justify-content:space-between; gap:24px; align-items:center; border-top:1px solid var(--line); margin-top:28px; padding-top:22px; }
.native-gallery-footer p,.native-watch-note { font-size:12px; color:var(--muted); max-width:620px; }
.native-gallery-viewport { position:relative; }
.native-gallery-controls { position:absolute; left:12px; right:12px; top:var(--gallery-arrow-top,50%); transform:translateY(-50%); display:flex; justify-content:space-between; pointer-events:none; opacity:0; transition:opacity .18s; }
.native-gallery-controls button { pointer-events:auto; width:44px; height:44px; border-radius:50%; background:var(--surface); color:var(--strong); border:1px solid var(--line); box-shadow:0 3px 12px #0002; font-size:23px; cursor:pointer; }
.native-gallery-viewport:has(.native-slide-art:hover) .native-gallery-controls,
.native-gallery-viewport:focus-within .native-gallery-controls,
.native-gallery-controls:hover { opacity:1; }
@media(hover:none) { .native-gallery-controls { opacity:1; } }
@media(prefers-reduced-motion:reduce) { .native-gallery-controls { transition:none; } }
.native-app-page :is(button,select,a,[tabindex]):focus-visible { outline:2px solid var(--accent); outline-offset:5px; }
.native-sr-only { position:absolute; width:1px; height:1px; padding:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.native-connect { display:grid; grid-template-columns:1fr 1fr; gap:30px 80px; padding:70px 0 44px; scroll-margin-top:20px; }
.native-connect h2 { font-size:36px; margin-bottom:22px; }
.native-connect .cloud-text-link { display:inline-block; margin-top:22px; }
.native-connect ol { list-style:decimal-leading-zero; padding-left:32px; margin:0; }
.native-connect li { padding-left:12px; margin-bottom:22px; color:var(--accent); }
.native-connect h3 { color:var(--strong); margin-bottom:6px; font-size:18px; }
.native-connect p { font-size:15px; }
.native-connect-actions { grid-column:1/-1; display:flex; align-items:center; gap:24px; flex-wrap:wrap; }
.native-connect-actions .cloud-text-link { margin:0; }
.native-beta-note { display:flex; align-items:center; gap:20px; padding:22px 0; border-block:1px solid var(--line); }
.native-beta-note p { flex:1; font-size:13px; }
.native-beta-note > a { white-space:nowrap; font-size:13px; }
.native-app-page .cloud-more-apps { padding:50px 0; }
.native-app-page .cloud-store-links { grid-template-columns:repeat(3,minmax(0,1fr)); }
@media(max-width:900px) {
 .native-hero { gap:25px; grid-template-columns:1.1fr 1fr; }
 .native-hero h1 { font-size:40px; }
 .native-hero-art { padding-inline:0; }
 :is(.native-frame-phone,.native-frame-android) { width:220px; border-radius:34px; }
 :is(.native-frame-phone,.native-frame-android) img { border-radius:25px; }
 .native-benefits { gap:24px; }
 .native-connect { gap:30px; }
}
@media(max-width:640px) {
 .site-page.wide-hero-page.cloud-page > main.native-app-page { width:calc(100% - 36px); }
 .native-hero { grid-template-columns:1fr; padding-block:32px; gap:10px; }
 .native-hero h1 { font-size:40px; }
 .native-intro { font-size:16px; }
 .native-hero-art { padding-block:25px; }
 .native-hero-art :is(.native-frame-phone,.native-frame-android) { width:210px; }
 .native-benefits { grid-template-columns:1fr; gap:26px; padding:30px 0 38px; }
 .native-benefits h2 { margin-top:8px; }
 .native-gallery { padding:22px 14px; border-radius:20px; }
 .native-gallery-heading { align-items:flex-start; gap:15px; flex-wrap:wrap; }
 .native-gallery-heading h2 { font-size:29px; }
 .native-theme-control { margin-left:auto; }
 .native-slide-art { min-height:0; padding:25px 8px; }
 .native-slide:has(.native-frame-phone,.native-frame-android) .native-slide-art { min-height:550px; }
 .native-slide:has(.native-frame-watch) .native-slide-art { min-height:430px; }
 .native-frame-tablet { padding:8px; border-radius:17px; }
 .native-frame-laptop { padding:6px 6px 10px; border-radius:10px; }
 .native-frame-laptop img { border-radius:4px; }
 .native-slide h3 { font-size:20px; }
 .native-gallery-footer { flex-direction:column-reverse; align-items:stretch; gap:16px; }
 .native-gallery-controls { left:0; right:0; }
 .native-connect { grid-template-columns:1fr; padding-top:40px; }
 .native-connect h2 { font-size:30px; }
 .native-beta-note { flex-wrap:wrap; gap:14px; }
 .native-beta-note p { flex-basis:100%; order:3; }
 .native-app-page .cloud-store-links { grid-template-columns:1fr; }
}

.native-app-page { --native-accent:var(--accent); }
:root[data-appearance="light"] .native-app-page { --native-accent:#08745d; }
.native-app-page .cloud-eyebrow,.native-number { color:var(--native-accent); }
.native-app-page .cloud-actions { justify-content:flex-start; }
.cloud-beta-badge { display:inline-flex; align-items:center; white-space:nowrap; font-size:11px; font-weight:650; color:var(--native-accent); border:1px solid color-mix(in srgb,var(--native-accent) 35%,transparent); border-radius:20px; padding:4px 9px; background:color-mix(in srgb,var(--native-accent) 5%,transparent); }

/* Keep installation visible before the platform story and screenshots. */
.native-download { display:grid; grid-template-columns:minmax(0,1fr) auto 136px; align-items:center; gap:32px; margin-top:28px; padding:26px 30px; box-sizing:border-box; border:1px solid color-mix(in srgb,var(--accent) 42%,var(--line)); border-radius:24px; background:linear-gradient(120deg,color-mix(in srgb,var(--accent) 32%,var(--surface)),color-mix(in srgb,var(--accent) 17%,var(--surface))); box-shadow:0 12px 40px color-mix(in srgb,var(--accent) 12%,transparent); }
.native-download .cloud-eyebrow { margin-bottom:10px; }
.native-download h2 { font-size:clamp(24px,3vw,32px); line-height:1.15; margin-bottom:8px; }
.native-download-copy > p:last-child { font-size:14px; }
.native-download-action { text-align:center; }
.native-store-link { display:inline-flex; padding:14px; border-radius:14px; cursor:pointer; transition:background-color .16s ease,box-shadow .16s ease; }
.native-store-link img { cursor:pointer; }
.native-store-link:hover,.native-store-link:focus-visible { background:color-mix(in srgb,var(--accent) 25%,var(--surface)); box-shadow:0 0 0 2px var(--native-accent),0 8px 24px #0002; }
.native-store-link img { display:block; height:56px; width:auto; max-width:none; }
.native-download-action p { font-size:12px; }
.native-download-qr { display:flex; flex-direction:column; align-items:center; gap:9px; text-align:center; color:var(--body-copy); text-decoration:none; cursor:pointer; border-radius:12px; font-size:11px; line-height:1.4; }
.native-download-qr img { display:block; width:124px; height:124px; padding:6px; box-sizing:border-box; background:#fff; border-radius:10px; image-rendering:pixelated; }
.native-download + .native-hero { padding-top:44px; }
@media(max-width:900px) {
 .native-download { grid-template-columns:minmax(0,1fr) auto; gap:20px; padding:24px; }
 .native-download-copy { grid-column:1/-1; }
 .native-download-action { justify-self:start; text-align:left; }
 .native-store-link { margin-left:-14px; }
 .native-download-qr { max-width:136px; }
}
@media(max-width:640px) {
 .native-download { margin-top:20px; padding:20px; border-radius:20px; gap:12px; }
 .native-store-link img { height:48px; }
 .native-store-link-mac-app-store img { height:40px; }
 .native-store-link { padding:12px; margin-left:-12px; }
 .native-download-qr img { width:112px; height:112px; }
 .native-download-action p { max-width:160px; font-size:11px; }
 .native-download-qr { max-width:112px; }
}
@media(max-width:384px) {
 .native-download { grid-template-columns:1fr; }
 .native-download-qr { flex-direction:row; max-width:none; text-align:left; gap:16px; }
 .native-download-qr img { flex-shrink:0; }
 .native-download-action p { max-width:none; }
}

.native-download-qr img { cursor:pointer; transition:box-shadow .16s ease; }
.native-download-qr:hover img,.native-download-qr:focus-visible img { box-shadow:0 0 0 3px var(--native-accent),0 8px 24px #0002; }
@media(prefers-reduced-motion:reduce) { .native-store-link,.native-download-qr img { transition:none; } }

.native-app-page .native-store-link:focus-visible { outline:2px solid var(--native-accent); outline-offset:2px; box-shadow:0 8px 24px #0002; }
.native-download-action p { margin-top:8px; }
