/* A geometric icon stays centered independently of the font's baseline. */
.dialog-close{display:grid;place-items:center;width:44px;height:44px;padding:0;line-height:1}
.dialog-close svg{display:block}

/* Matching corner radii at any frame size, without turning small previews into pills. */
.phone{border-radius:12% / 5.7073170732%}

/* Phones and touch tablets use natural document height, in either orientation. */
@media(max-width:799px), (any-pointer:coarse){
 .site-shell{height:auto;min-height:100svh;max-width:900px;grid-template-rows:56px auto auto;padding:0 max(16px,env(safe-area-inset-left)) 0 max(16px,env(safe-area-inset-right))}
 .site-header{height:56px}.brand{font-size:34px}.brand img{width:38px;height:38px}.header-note{display:none}
 main{display:block;min-height:0}
 .hero{height:auto;min-height:0;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:repeat(6,auto);align-items:stretch;gap:14px;padding:18px 0 20px}
 .hero-copy{display:contents}
 .eyebrow{grid-row:1;margin:0;font-size:9px;line-height:1.4;letter-spacing:1.2px;gap:8px}.eyebrow>span{font-size:16px}
 h1{grid-row:2;font-size:clamp(32px,9.5vw,47px);line-height:1.1;letter-spacing:-1px;padding:0 0 7px}
 .intro{grid-row:3;margin:0;font-size:14px;line-height:1.7;max-width:none}
 .feature-list{grid-row:4;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0;padding:0;max-width:none}
 .feature-list li{display:flex;flex-direction:column;align-items:flex-start;gap:3px;min-width:0}
 .feature-list li>span:first-child{font-size:19px;line-height:1.1}
 .feature-list strong{font-size:11px;line-height:1.4;white-space:normal}.feature-list small{font-size:10px;line-height:1.4;white-space:normal;margin-top:2px}
 .hero-visual{--preview-width:min(82vw,360px);grid-row:5;position:relative;inset:auto;width:100%;height:calc(var(--preview-width)*2.1025641026 + 84px);min-height:0;transform:none;container-type:normal;overflow:visible;z-index:1}
 .hero-visual:before{inset:0}
 .phone{position:relative;width:var(--preview-width);height:auto;aspect-ratio:234 / 492;margin:0;transform:none;border-width:clamp(5px,1.7vw,8px);flex-shrink:0}
 .orbit{width:min(82%,440px);height:180px}.orbit-two{width:min(88%,470px);height:150px}
 .top-tag{top:0;left:0;padding:6px 9px;font-size:11px;gap:5px}.bottom-tag{bottom:0;right:0;padding:6px 8px;font-size:10px;gap:5px}
 .floating-tag>span{font-size:16px}.star-one{left:17%;top:8%;font-size:24px}.star-two{right:4%;top:38%;font-size:29px}.star-three{left:6%;bottom:17%;font-size:17px}
 .downloads{grid-row:6;margin:0}
 .downloads h2{font-size:14px;line-height:1.5;margin-bottom:10px}.downloads h2>span{font-size:17px}
 .download-options{gap:10px}.download-card{width:0;min-width:0;max-width:none;flex:1;padding:9px;gap:8px;border-radius:15px}
 .qr-placeholder,.qr-soon{width:36px;height:36px}.qr-soon b{font-size:14px}.qr-placeholder i{width:12px;height:12px}.download-label{gap:3px}
 .platform-name{font-size:10px}.platform-name svg{width:14px;height:14px}.download-label strong{font-size:clamp(11px,3.2vw,13px)}.download-label small{font-size:10px}
 .download-note{font-size:10px;line-height:1.6;margin-top:9px}
 .site-footer{padding:12px 0 max(12px,env(safe-area-inset-bottom));display:block}
 .context{font-size:10px;line-height:1.6;max-width:none}.context p+p{margin-top:3px}
 .site-footer nav{justify-content:flex-start;gap:6px 14px;font-size:10px;line-height:1.6;margin-top:8px}
}
@media(min-width:700px) and (any-pointer:coarse){
 .site-shell{padding-inline:28px}.site-header{height:64px}.site-shell{grid-template-rows:64px auto auto}
 .hero{gap:18px;padding-top:24px}.eyebrow{font-size:11px}.intro{font-size:16px}.feature-list strong{font-size:14px}.feature-list small{font-size:12px}
 .downloads h2{font-size:17px}.download-card{padding:14px;gap:14px}.qr-placeholder,.qr-soon{width:48px;height:48px}.download-label strong{font-size:16px}.platform-name,.download-label small{font-size:12px}
 .download-note,.context,.site-footer nav{font-size:12px}.top-tag{font-size:14px}.bottom-tag{font-size:13px}
}
/* Phones/touch: keep the moving tag inside the screen width. */
@media(max-width:760px),(any-pointer:coarse){.top-tag[data-page=daily]{right:0;left:auto;top:2%}.top-tag[data-page=general]{right:0;left:auto;top:40%}.top-tag[data-page=oracle]{left:0;top:55%}}
