html { --dune-h: 0px; }
.phero { padding: 150px 0 90px; }
.mob { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center; }
.mob .copy { text-align: left; }
.mob h1 { max-width: 12em; font-size: clamp(2.5rem, 6vw, 4.4rem); margin: 0 0 22px; }
.mob .lede { max-width: 46ch; margin: 0 0 30px; font-size: clamp(1.05rem, 1.5vw, 1.2rem); }
.dl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0 0 18px; max-width: 520px; }
.dl-card { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 26px 18px 22px; border-radius: 12px; background: var(--panel); border: 1px solid var(--border); color: var(--ink); text-decoration: none; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.dl-card:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: 0 14px 30px -14px var(--shadow); color: var(--ink); }
.dl-card svg { width: 44px; height: 44px; fill: var(--muted); transition: fill .2s ease; }
.dl-card:hover svg, .dl-card.recommended svg { fill: var(--accent); }
.dl-card.recommended { border-color: var(--accent); }
.dl-card.recommended::after { content: "this device"; position: absolute; top: 10px; right: 12px; font: 11px var(--font-mono); color: var(--accent); }
.dl-name { font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.dl-arch { font-size: 13px; color: var(--muted); margin-top: -4px; }
.mob .cta-note { margin: 0; max-width: 46ch; }
.mob .cta-note a { color: var(--ink); border-bottom: 1px solid var(--border); }
.mob .cta-note a:hover { border-color: var(--ink); }

.phones { position: relative; justify-self: center; width: 440px; max-width: 100%; height: 700px; }
.phone { position: absolute; margin: 0; width: 272px; display: flex; flex-direction: column; overflow: hidden; background: var(--app-panel-bg); box-shadow: 0 34px 70px -26px var(--shadow), 0 0 0 1px color-mix(in srgb, var(--ink) 16%, transparent); transition: transform .35s ease, filter .35s ease; }
.phone.ios { right: 0; bottom: 0; aspect-ratio: 390 / 844; border-radius: 42px; transform-origin: right bottom; }
.phone.android { left: 0; top: 0; aspect-ratio: 412 / 915; border-radius: 28px; transform-origin: left top; }
.phones[data-front="ios"] .phone.ios, .phones[data-front="android"] .phone.android { z-index: 2; }
.phones[data-front="ios"] .phone.android, .phones[data-front="android"] .phone.ios { z-index: 1; transform: scale(.9); filter: brightness(.94); cursor: pointer; }

.os-bar { position: absolute; top: 0; left: 0; right: 0; height: 40px; z-index: 20; display: flex; align-items: center; justify-content: space-between; padding: 0 20px 0 28px; font: 600 12.5px -apple-system, "SF Pro Text", "Helvetica Neue", Roboto, system-ui, sans-serif; color: var(--app-text-hi); pointer-events: none; }
.phone.android .os-bar { height: 34px; padding: 0 16px; font: 500 12.5px Roboto, "Noto Sans", system-ui, sans-serif; }
.os-island { position: absolute; left: 50%; top: 8px; width: 86px; height: 25px; transform: translateX(-50%); border-radius: 20px; background: #000; }
.os-hole { position: absolute; left: 50%; top: 10px; width: 13px; height: 13px; transform: translateX(-50%); border-radius: 50%; background: #000; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08); }
.os-status { display: inline-flex; align-items: center; gap: 4px; }
.os-status i { display: inline-block; }
.os-status .sig { width: 13px; height: 9px; background: repeating-linear-gradient(to right, currentColor 0 2.3px, transparent 2.3px 3.6px); clip-path: polygon(0 55%, 23% 55%, 23% 36%, 48% 36%, 48% 18%, 73% 18%, 73% 0, 100% 0, 100% 100%, 0 100%); }
.os-status .wifi { width: 13px; height: 9.5px; background: radial-gradient(circle at 50% 100%, currentColor 0 1.6px, transparent 2.1px 3.6px, currentColor 4.1px 5.5px, transparent 6px 7.4px, currentColor 7.9px 9.2px, transparent 9.6px); clip-path: polygon(50% 100%, -10% 0, 110% 0); }   
.os-status .bat { position: relative; width: 19px; height: 9.5px; border: 1.25px solid currentColor; border-radius: 3.5px; opacity: .9; }
.os-status .bat::before { content: ""; position: absolute; inset: 1.5px; background: currentColor; border-radius: 1.2px; }
.os-status .bat::after { content: ""; position: absolute; right: -3.5px; top: 2px; width: 1.5px; height: 4px; background: currentColor; border-radius: 0 2px 2px 0; opacity: .5; }
.phone.android .os-status .sig { width: 10px; height: 10px; background: currentColor; clip-path: polygon(100% 0, 100% 100%, 0 100%); }
.phone.android .os-status .bat { width: auto; height: 14px; padding: 0 4px; border-radius: 7px; display: inline-flex; align-items: center; opacity: 1; }
.phone.android .os-status .bat::before, .phone.android .os-status .bat::after { content: none; }
.phone.android .os-status .bat b { font: 700 9px Roboto, "Noto Sans", system-ui, sans-serif; line-height: 1; }

.phone .scr { position: absolute; inset: 0; height: 100%; display: flex; flex-direction: column; pointer-events: none; border: 0; border-radius: 0; box-shadow: none; font-size: 13.5px; --app-lh: 22px; }
.phone .panel { height: 100%; }
.phone .panel-heading { height: 152px; }
.phone .layout-margin { margin: 0 18px; }
.phone .ln .chev { left: -19px; }
.phone .heading-title-area { bottom: 16px; right: 0; }
.phone .title { font-size: 22px; max-width: 100%; white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.15; }
.phone .editor-panel { padding-top: 14px; font-size: 14px; }
.phone .ln.h2 .tx { font-size: 18px; }
.phone .ln.br { min-height: var(--app-lh); }
.phone .banner-container.photo { background-image: var(--bl); background-position: center 40%; }
[data-theme="dark"] .phone .banner-container.photo, [data-theme="ink"] .phone .banner-container.photo, [data-theme="crt"] .phone .banner-container.photo, [data-theme="phosphor"] .phone .banner-container.photo { background-image: var(--bd); }
.phone .crumb { display: inline-flex; align-items: center; gap: 5px; margin-bottom: 8px; padding: 3px 8px; border-radius: 7px; font-size: 12px; color: var(--app-text); background: color-mix(in srgb, var(--app-panel-bg) 88%, transparent); }
.phone .crumb .ti { font-size: 13px; color: var(--app-subtle); }
.mob-nav { position: absolute; top: 46px; left: 12px; right: 12px; z-index: 15; display: flex; align-items: center; gap: 8px; pointer-events: none; }
.phone.android .mob-nav { top: 40px; }
.mob-nav .sp { flex: 1; }
.mob-btn, .mob-days { display: inline-flex; align-items: center; justify-content: center; height: 36px; border-radius: 18px; color: var(--app-text-hi); background: color-mix(in srgb, var(--app-panel-bg) 64%, transparent); box-shadow: 0 1px 2px rgba(0, 0, 0, .06); }
.mob-btn { width: 36px; font-size: 14px; }
.mob-days .ti { width: 32px; height: 40px; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; }
.mob-days .ti:first-child { padding-left: 4px; } .mob-days .ti:last-child { padding-right: 4px; }
.mob-fab { position: absolute; right: 16px; bottom: 28px; z-index: 15; width: 42px; height: 42px; border-radius: 13px; display: inline-flex; align-items: center; justify-content: center; font-size: 16px; color: var(--app-text-hi); background: var(--app-panel-bg); box-shadow: 0 3px 10px rgba(0, 0, 0, .08), 0 0 0 1px color-mix(in srgb, var(--app-text) 7%, transparent); }
.phone.android .mob-fab { bottom: 11px; }
.phone .jnav { display: flex; align-items: center; gap: 6px; margin: 0 0 12px; }
.phone .jnav > span { display: inline-flex; align-items: center; justify-content: center; height: 26px; min-width: 28px; padding: 0 8px; border-radius: 6px; background: var(--app-kbd-bg); color: var(--app-text); font-size: 12px; }
.phone .jnav .ti { font-size: 14px; color: var(--app-subtle); }
.phone .jnav .jnav-today { font-weight: 600; padding: 0 10px; }
.phone .pills { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 14px; }
.phone .page-prop-pill { min-height: 24px; padding: 1px 8px; font-size: 12.5px; gap: 5px; }
.phone .page-prop-pill.enum { color: var(--pf); background: var(--pb); font-weight: 500; }
.phone .pill-ghost { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; font-size: 14px; color: var(--app-muted); }
.os-nav { position: absolute; left: 0; right: 0; bottom: 0; height: 24px; z-index: 20; display: flex; align-items: center; justify-content: center; pointer-events: none; color: var(--app-text-hi); }
.os-home { width: 108px; height: 4px; margin-top: 6px; border-radius: 2px; background: currentColor; opacity: .85; }
.phone.android .os-nav { height: 64px; justify-content: flex-start; gap: 44px; padding: 0 0 0 48px; opacity: .3; }
.os-k { display: inline-block; width: 13px; height: 13px; }
.os-k.recents { width: 12px; background: repeating-linear-gradient(to right, currentColor 0 2px, transparent 2px 5px); }
.os-k.home { border: 2px solid currentColor; border-radius: 50%; box-sizing: border-box; }
.os-k.back { width: 9px; height: 9px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-left: 4px; }
@media (max-width: 900px) {
  .mob { grid-template-columns: 1fr; gap: 40px; }
  .mob .copy { text-align: center; }
  .mob h1, .mob .lede, .mob .cta-note { margin-left: auto; margin-right: auto; }
  .dl-grid { margin-left: auto; margin-right: auto; }
  .phones { width: 400px; height: 640px; }
  .phone { width: 250px; }
}
@media (max-width: 440px) {
  .phones { width: 100%; height: 580px; }
  .phone { width: min(236px, 64vw); }
}
@media (max-width: 760px) { .phero { padding: 120px 0 70px; } }
@media (max-width: 420px) { .dl-grid { grid-template-columns: 1fr; } }
