/* Mad Space downloads. Kept separate from account and checkout styles. */
body[data-page="install"]{background:#f2f4fa;color:#171922}
.apps-shell{width:min(1120px,100% - 48px);margin-inline:auto}
.apps-header{padding:26px 0;border-bottom:1px solid #e4e5ee}
.apps-header nav a{font-weight:550}.apps-header .apps-account{padding:9px 15px;background:#fff;border:1px solid #e3dfef;border-radius:12px;color:#5136b0}
.apps-main{padding-top:62px}.apps-hero{display:grid;grid-template-columns:1.05fr .95fr;align-items:center;gap:38px;margin-bottom:64px}
.apps-kicker{display:inline-flex;align-items:center;gap:9px;font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#6b4cd2;margin-bottom:14px}
.apps-kicker:before{content:"";width:7px;height:7px;border-radius:50%;background:#7957ff;box-shadow:0 0 0 4px #7957ff12}
.apps-hero h1{font-size:clamp(38px,5.2vw,64px);font-weight:650;line-height:1.06;letter-spacing:-.055em;margin:0 0 23px}.apps-hero h1 span{color:#7957ff}
.apps-hero .lead{font-size:18px;line-height:1.65;color:#626879;max-width:490px}.apps-hero .actions{margin-top:27px}.apps-hero .button{background:#7957ff;box-shadow:0 6px 18px #7957ff20;border-radius:15px;gap:10px}.apps-text-link{font-size:14px;font-weight:600;text-decoration:none;color:#555c70;padding:10px 4px}
.apps-benefits{display:flex;flex-wrap:wrap;gap:8px 18px;padding:0;margin:24px 0 0;list-style:none;color:#656a7a;font-size:12px}.apps-benefits li:before{content:"✓";margin-right:6px;color:#7858d8}
.apps-art{position:relative;min-height:370px;display:grid;place-items:center;isolation:isolate;overflow:hidden;border-radius:40px;background:radial-gradient(ellipse at 50% 60%,#cfc0ff7d,transparent 70%)}
.apps-orbit{position:absolute;width:340px;height:340px;border:1px solid #a99cce30;border-radius:50%;transform:rotate(-18deg) scaleX(1.25)}.apps-orbit.two{width:270px;height:270px;transform:rotate(24deg) scaleX(1.25)}
.apps-preview{width:238px;padding:17px;border:1px solid #ffffffdd;border-radius:32px;background:linear-gradient(145deg,#ffffffed,#eae5faeb);box-shadow:0 25px 65px #4f3a8f20,0 0 0 6px #ffffff55;transform:rotate(-5deg)}
.apps-preview-head{display:flex;align-items:center;gap:9px;font-size:11px;letter-spacing:.1em;font-weight:750;padding:2px 0 14px}.apps-preview-head img{height:24px;width:30px;object-fit:contain}
.apps-preview-center{text-align:center;border-radius:22px;background:radial-gradient(ellipse at 50% 35%,#e1d4ff,#f9f6ff 80%);padding:23px 10px 19px;border:1px solid #fff}.apps-preview-center small{display:block;font-size:8px;letter-spacing:.12em;color:#787082;font-weight:650}
.apps-power{width:100px;height:100px;margin:25px auto 24px;border-radius:50%;display:grid;place-items:center;color:#2ecb8b;background:linear-gradient(145deg,#a187ff,#7957ff 65%,#6252df);box-shadow:0 0 0 12px #7957ff07,0 0 0 24px #7957ff05,0 12px 22px #7251e33a;border:1px solid #ffffff9c}.apps-power svg{width:40px;height:40px;filter:drop-shadow(0 0 7px #35e29f70)}
.apps-preview-center strong{display:block;font-size:17px;font-weight:650;letter-spacing:-.03em}.apps-preview-center p{font-size:10px;margin:5px 0 0;color:#777080}.apps-preview-route{display:flex;justify-content:space-between;align-items:center;font-size:11px;background:#fff;border-radius:13px;margin-top:12px;padding:13px;color:#3b3749}.apps-preview-route span:last-child{color:#7b5bc4}
.apps-float{position:absolute;bottom:24px;right:2px;display:flex;align-items:center;gap:10px;background:#ffffffde;border:1px solid #fff;border-radius:17px;padding:14px 18px;box-shadow:0 10px 30px #57517210;font-size:11px;color:#635e75;backdrop-filter:blur(12px)}.apps-float b{display:block;font-weight:600;color:#282235;font-size:12px}.apps-float svg{color:#7957ff;width:23px;height:23px}
.apps-section-head{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:22px}.apps-section-head h2{font-size:28px;font-weight:650;letter-spacing:-.04em;margin:0}.apps-section-head p{margin:0;font-size:13px;color:#74798b}
.apps-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.app-card{background:linear-gradient(150deg,#fff,#fff 60%,#f9f7ff);border:1px solid #e3dfef;border-radius:28px;padding:28px;scroll-margin-top:24px;display:flex;flex-direction:column;position:relative}.app-card[data-recommended]{border-color:#baa7ff;box-shadow:0 0 0 3px #7957ff08}
.app-card-head{display:flex;gap:14px;align-items:center;margin-bottom:22px}.app-platform-icon{width:54px;height:54px;display:grid;place-items:center;border-radius:17px;color:#7957ff;background:#f0ebff}.app-platform-icon svg{width:29px;height:29px}.app-card h3{font-size:23px;letter-spacing:-.035em;font-weight:650;margin:0 0 3px}.app-card-head p{font-size:13px;color:#7a7e8c;margin:0}.app-recommended{margin-left:auto;font-size:10px;font-weight:650;color:#6a49cb;background:#f0eaff;border-radius:20px;padding:5px 9px;max-width:110px;text-align:center}
.app-card-description{font-size:15px;line-height:1.65;color:#686d7e;max-width:390px;margin-bottom:20px}.app-features{display:flex;flex-wrap:wrap;gap:7px;padding:0;margin:0 0 26px;list-style:none}.app-features li{font-size:11px;color:#706483;padding:5px 9px;border:1px solid #ede8f4;border-radius:7px;background:#faf8ff}
.app-download{display:flex;align-items:center;justify-content:center;gap:10px;min-height:52px;border-radius:15px;background:#7957ff;color:#fff;text-decoration:none;font-weight:600;font-size:15px;margin-top:auto;transition:background .18s,transform .18s}.app-download:hover{background:#6846eb;transform:translateY(-1px)}.app-download svg{width:20px;height:20px}.app-version{font-size:12px;color:#7a7e8d;display:flex;justify-content:space-between;gap:10px;margin:12px 0 0}
.app-file-details{margin-top:20px;padding-top:15px;border-top:1px solid #eeebf3;font-size:12px;color:#717688}.app-file-details summary{cursor:pointer;min-height:30px;color:#655a80}.app-file-details p{margin:12px 0 0}.app-file-details code{display:block;font:11px/1.6 ui-monospace,SFMono-Regular,monospace;overflow-wrap:anywhere;margin-top:6px;user-select:all;color:#514863}.app-file-details a{color:#6b4bd1}
.apps-steps{padding:38px 0 42px;display:grid;grid-template-columns:repeat(3,1fr);gap:32px;list-style:none;margin:0}.apps-steps li{display:grid;grid-template-columns:32px 1fr;gap:12px}.apps-step-number{font-size:12px;font-weight:650;color:#8469c7;background:#ebe6f7;border-radius:10px;height:32px;display:grid;place-items:center}.apps-steps h3{font-size:15px;margin:4px 0 8px;letter-spacing:-.02em}.apps-steps p{font-size:13px;color:#727789;margin:0;line-height:1.65}
.apps-existing{background:#ebe8f4;border:1px solid #e2ddeb;border-radius:20px;padding:22px 26px;display:flex;align-items:center;justify-content:space-between;gap:26px;margin-bottom:54px}.apps-existing h3{font-size:16px;margin:0 0 5px}.apps-existing p{font-size:13px;color:#777083;margin:0;max-width:680px}.apps-existing a{font-size:13px;font-weight:600;white-space:nowrap;text-decoration:none}
.apps-other{border-top:1px solid #dfe1eb;padding-top:38px}.apps-other>h2{font-size:24px;letter-spacing:-.035em;margin:0 0 12px}.apps-other>p{font-size:14px;color:#767b89;max-width:690px}.apps-other details{border-bottom:1px solid #e0e2ec}.apps-other summary{cursor:pointer;display:flex;justify-content:space-between;align-items:center;list-style:none;padding:20px 0;font-size:15px;font-weight:550}.apps-other summary::-webkit-details-marker{display:none}.apps-other summary:after{content:"+";font-size:22px;font-weight:400;color:#8c81a3}.apps-other details[open] summary:after{content:"−"}.apps-other .download-row{border:0;padding:3px 0 20px}.apps-other .download-row h3{font-size:14px}.apps-other .actions{gap:10px 20px}.apps-other .actions a{font-size:13px}.apps-other .quiet{padding-bottom:14px}
.apps-support{display:flex;gap:18px;align-items:center;justify-content:space-between;padding:28px 0 0;color:#727789;font-size:13px}.apps-support p{margin:0}.apps-support a{white-space:nowrap;font-weight:600;text-decoration:none}.apps-footer{border-color:#e0e2ec}.apps-footer span{font-size:12px;letter-spacing:.02em}
/* The landing-page teaser shares only these prefixed selectors. */
.mad-apps-teaser{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:30px 0;padding:26px 30px;border:1px solid #dcd3ee;border-radius:24px;background:linear-gradient(115deg,#fff,#eee8fc);text-align:left}.mad-apps-teaser strong{display:block;font-size:21px;line-height:1.3;letter-spacing:-.03em;color:#272332}.mad-apps-teaser p{color:#70687e;font-size:14px;line-height:1.6;margin:7px 0 0}.mad-apps-teaser a{display:inline-flex;gap:10px;align-items:center;justify-content:center;min-height:46px;padding:12px 21px;border-radius:14px;background:#7957ff;color:#fff;text-decoration:none;font-size:14px;font-weight:650;white-space:nowrap}.mad-apps-teaser a:hover{background:#6846eb}.mad-apps-teaser a:focus-visible,.app-download:focus-visible,summary:focus-visible{outline:3px solid #ad91ff;outline-offset:5px}
@media(max-width:800px){.apps-hero{gap:20px}.apps-hero h1{font-size:44px}.apps-art{min-height:340px}.apps-preview{width:220px}.apps-float{right:0;font-size:10px;padding:12px}.apps-grid{gap:14px}.app-card{padding:22px}.app-card-head{gap:10px}.app-recommended{max-width:80px}.apps-steps{gap:22px}.apps-existing{align-items:flex-start}.apps-header nav{gap:14px}}
@media(max-width:600px){.apps-shell{width:calc(100% - 36px)}.apps-header{align-items:center;padding:18px 0}.apps-header nav{gap:14px}.apps-header nav .apps-secondary-nav{display:none}.apps-header img{width:92px}.apps-main{padding-top:35px}.apps-hero{grid-template-columns:1fr;gap:20px;margin-bottom:36px}.apps-hero h1{font-size:clamp(37px,10.5vw,54px);max-width:460px}.apps-hero .lead{font-size:16px}.apps-hero .actions{margin-top:22px}.apps-art{min-height:310px;margin:0 -8px}.apps-preview{width:210px;padding:14px;transform:rotate(-5deg)}.apps-power{height:83px;width:83px;margin:21px auto}.apps-float{right:5px;bottom:18px}.apps-section-head{display:block}.apps-section-head h2{font-size:25px}.apps-section-head p{margin-top:8px}.apps-grid{grid-template-columns:1fr;gap:16px}.app-card{padding:24px;border-radius:24px}.app-card-head{gap:13px}.app-recommended{max-width:none}.apps-steps{grid-template-columns:1fr;gap:23px;padding:30px 5px}.apps-steps h3{margin-top:4px}.apps-existing{display:block;padding:21px;margin-bottom:36px}.apps-existing a{display:inline-block;margin-top:13px}.apps-other{padding-top:28px}.apps-other .download-row{grid-template-columns:1fr}.apps-support{display:block}.apps-support a{display:inline-block;margin-top:15px}.mad-apps-teaser{display:block;padding:24px}.mad-apps-teaser a{margin-top:19px}.mad-apps-teaser strong{font-size:20px}.apps-benefits{gap:7px 16px}.apps-header nav .apps-account{padding:8px 12px}}
@media(prefers-reduced-motion:reduce){.app-download{transition:none}.app-download:hover{transform:none}}
