.download-heading{padding-block:clamp(2.75rem,6.8vw,6rem) clamp(1.1rem,3.3vw,2.6rem)}
.download-heading h1{font-size:clamp(2.2rem,4.3vw,3.5rem);letter-spacing:-.06em;word-spacing:.035em}
.download-heading p:last-child{font-size:clamp(1.07rem,1.8vw,1.24rem);color:var(--muted);margin-top:1rem}
.download-layout{padding-top:.4rem}
.platform-selector{border-top:1px solid var(--line);padding-top:1rem;margin-bottom:.4rem}
.platform-selector .button[aria-pressed=true]{background:var(--selected);color:var(--on-selected);border-color:var(--control-line)!important}
#platform-hint{color:var(--muted);font-size:.92rem;padding-left:.3rem}
.platform-grid{gap:clamp(1rem,2.4vw,1.5rem);align-items:stretch}
.platform-card{padding:0;gap:0;overflow:hidden;border-radius:var(--radius-large);grid-template-rows:auto auto 1fr auto;background:var(--surface)}
.platform-card.recommended{outline:2px solid var(--focus);outline-offset:2px}
.platform-head{padding:1.5rem clamp(1.25rem,3vw,2.1rem) 1.15rem;border-bottom:1px solid var(--line);background:var(--soft);min-height:12rem}
.platform-head h2{font-size:clamp(1.6rem,2.7vw,2.5rem);margin-top:.64rem}
.platform-logo{display:grid;place-items:center;width:48px;height:48px;background:var(--brand-money);color:var(--brand-ink);border-radius:11px;padding:0}
.platform-logo svg{stroke:currentColor;stroke-width:1.6;fill:none;stroke-linecap:round;stroke-linejoin:round}
.platform-logo .icon-dots{stroke-width:2.8}
#ios .platform-logo{background:var(--brand-body);color:var(--brand-ink)}
.platform-compatibility{min-height:7.25rem;padding:1.1rem clamp(1.25rem,3vw,2.1rem)}
.platform-compatibility h3{font-size:1.12rem;letter-spacing:-.015em}
.platform-card>.platform-empty,.platform-card>[data-release],.platform-card>[data-compatibility]{margin:0 clamp(.95rem,2.5vw,1.7rem) .85rem}
.platform-empty{padding:1rem;border-radius:var(--radius-medium);background:var(--soft);border:1px solid var(--line);min-height:6.8rem}
.platform-state{display:inline-flex;gap:.6rem;align-items:center;color:var(--text)}
.platform-state span{width:7px;height:7px;border-radius:100%;background:var(--link)}
.platform-card>details:last-child{padding:1rem clamp(1.25rem,3vw,2.1rem);border-top:1px solid var(--line)}
.platform-card summary{font-weight:650;cursor:pointer;min-height:27px}
.private-testing{display:flex;align-items:center;justify-content:space-between;gap:1rem;border-radius:var(--radius-medium);margin-top:.3rem}
.private-testing h2{font-size:1.55rem}

.account-workspace{padding-block:clamp(2rem,5vw,4.8rem);grid-template-columns:minmax(12rem,14rem) minmax(0,1fr);column-gap:clamp(1.2rem,4vw,3.4rem)}
.account-header{grid-column:1/-1;display:flex;justify-content:space-between;align-items:end;gap:1rem;padding-bottom:1.2rem;border-bottom:1px solid var(--line);margin-bottom:.3rem}
.account-header .portal-title{margin:0;font-size:clamp(2rem,4.1vw,3.5rem);letter-spacing:-.055em;word-spacing:.035em}
.account-identity{text-align:right;overflow-wrap:anywhere}
.account-label{display:inline-block;color:var(--muted)}
.account-identity p{font-weight:650;font-size:1.03rem}
.account-nav{background:none;border:0;padding:0;border-radius:0;gap:.25rem}
.account-nav a{border-radius:6px;line-height:1.25;display:flex;align-items:center;gap:.56rem;padding:.65rem .7rem;border-left:3px solid transparent}
.account-nav a:hover{background:var(--soft)}
.account-nav a[aria-current=page]{border-left-color:var(--link);background:var(--soft);text-decoration:none}
.account-nav form{padding-top:.8rem;margin-top:.5rem;border-top:1px solid var(--line)}
.account-nav form .button{width:100%}
.account-content{gap:clamp(.9rem,1.6vw,1.3rem);min-width:0}
.account-content .panel{border-radius:var(--radius-medium);padding:clamp(1rem,2.5vw,1.8rem)}
.account-content .panel h2{font-size:clamp(1.25rem,2.5vw,1.65rem)}
.account-overview{gap:1rem}
.account-content .account-summary{background:var(--brand-emerald);color:#fff;border-color:var(--brand-emerald);gap:.72rem}
.account-summary .account-label{background:var(--brand-sage);color:var(--brand-ink);border-radius:7px;padding:.37rem .55rem;justify-self:start}
.account-content .account-summary h2{font-size:clamp(1.7rem,3.55vw,3rem);max-width:17ch}
.account-summary p{color:var(--brand-canvas);margin:0}
.account-summary a{color:var(--brand-canvas);justify-self:start;font-weight:650}
.account-summary a:focus-visible{outline-color:var(--brand-mint)}
.account-checklist .records{padding-left:1.15rem;margin:0}
.account-checklist .records li{padding:.25rem 0}
.account-updates h2{margin-bottom:.55rem}
.account-content form>.button{justify-self:start}
.account-content dd{margin-inline-start:0;margin-bottom:.68rem;color:var(--muted)}
.account-content dt{font-weight:700}
.account-content .table-wrap{border:1px solid var(--line);border-radius:8px}
.account-content .table-wrap th,.account-content .table-wrap td{padding:.68rem;min-width:8rem}
.account-content .table-wrap th:first-child{min-width:8.5rem}
#main:focus{outline:none}

@media(max-width:740px){
  .download-heading h1{font-size:clamp(2rem,6.8vw,2.5rem)}
  .platform-grid{grid-template-columns:1fr;gap:1.2rem}.platform-head,.platform-compatibility{min-height:0}
  .platform-selector{gap:.55rem}#platform-hint{padding:0;flex-basis:100%}
  .private-testing{flex-direction:column;align-items:start}
  .account-workspace{grid-template-columns:1fr;row-gap:1rem}
  .account-header{align-items:start;flex-direction:column;gap:.6rem;margin:0;padding-bottom:.8rem}
  .account-identity{text-align:left}
  .account-nav{display:flex;flex-wrap:wrap;gap:.26rem;border-bottom:1px solid var(--line);padding-bottom:.65rem}
  .account-nav a{font-size:.92rem;border-left:0;border-bottom:2px solid transparent;min-height:44px;padding:.4rem .55rem}
  .account-nav a[aria-current=page]{border-bottom-color:var(--link)}
  .account-nav form{padding:0;margin:0;border:0}.account-nav form .button{min-height:44px;padding-inline:.55rem}
}

.platform-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(84px,32%);gap:1rem;align-items:center}
.platform-preview{margin:0;display:grid;justify-items:center;gap:.2rem;color:var(--muted);font-size:.72rem;text-align:center}
.platform-preview img{width:min(100%,102px);height:auto}
.platform-logo img{width:26px;height:26px}
.account-nav a[aria-current=page]{border-left-color:var(--link);background:var(--selected);color:var(--on-selected)}
.account-summary a:hover{color:white}
