/* The downloads page (/download), on top of look.css. */
/* ---- platforms: the visitor's device is the featured card ---- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.bento.flat { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.bc {
  position: relative; overflow: hidden; isolation: isolate; min-height: 270px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
  padding: 24px; border-radius: 24px; background: var(--card); border: 1px solid var(--card-line);
  transition: transform .2s, border-color .2s;
}
.bc:hover { transform: translateY(-4px); border-color: rgba(82, 209, 201, .5); }
.bc::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: center / cover var(--img); opacity: .4; transition: opacity .25s, transform .4s;
}
.bc::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(11, 15, 21, .1), rgba(11, 15, 21, .9) 78%);
}
.bc:hover::before { opacity: .55; transform: scale(1.05); }
.c-quest { --img: url("/static/img/playground.jpg"); }
.c-android { --img: url("/static/img/bedroom.jpg"); }
.c-windows { --img: url("/static/img/cinema.jpg"); }
.c-linux { --img: url("/static/img/airplane.jpg"); }
.bc.on {
  grid-column: 1 / -1; min-height: 340px; padding: 36px; border-color: var(--brand);
  box-shadow: 0 0 0 1px var(--brand), 0 24px 70px -24px rgba(82, 209, 201, .5);
}
.bc.on::before { opacity: .55; }
.bc.on h3 { font-size: 42px; }
.bc.on .pt p { font-size: 16px; }
.bc.on .btn-card { padding: 16px 34px; font-size: 18px; background: var(--brand); }
.bc.on .btn-card:hover { background: #8df0e9; }
.bc.on .ico { width: 60px; height: 60px; }
.bc.on .ico svg { width: 30px; height: 30px; }
@media (max-width: 820px) {
  .bento { grid-template-columns: 1fr; }
  .bc, .bc.on { min-height: 220px; }
  .bc.on { padding: 24px; }
  .bc.on h3 { font-size: 32px; }
}

.bc .ph { display: flex; align-items: center; justify-content: space-between; }
.ico { display: inline-grid; place-items: center; }
.bc .ico { width: 48px; height: 48px; border-radius: 14px; background: rgba(255, 255, 255, .08); backdrop-filter: blur(6px); }
.bc .ico svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.badge { font-size: 12px; font-weight: 700; color: #04201f; background: var(--brand); border-radius: 99px; padding: 4px 12px; }
.bc h3 { font-size: 26px; font-weight: 750; letter-spacing: -.03em; }
.bc .pt p { margin: 4px 0 0; color: #a9b5c4; font-size: 14px; }
.bc .pf { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.bc .pf .meta { font: 500 12px var(--mono); color: #8a97a8; }
.btn-card {
  margin: 0; padding: 11px 22px; border-radius: 99px; font-size: 15px; font-weight: 700; text-align: center;
  background: #fff; color: #0b0f15; border: 0; text-decoration: none; transition: background .15s, transform .15s;
}
.btn-card:hover { background: var(--brand); text-decoration: none; transform: scale(1.04); }

.play-badge { display: inline-block; line-height: 0; }
.play-badge img { display: block; height: 64px; width: auto; }
.bc.on .play-badge img { height: 84px; }

/* ---- install ---- */
.tabs {
  display: flex; gap: 4px; justify-content: center; flex-wrap: wrap; width: fit-content; max-width: 100%;
  margin: 0 auto 28px; padding: 5px; border-radius: 99px; background: var(--card); border: 1px solid var(--card-line);
}
.tab {
  margin: 0; padding: 9px 20px; border: 0; border-radius: 99px; background: none;
  color: #8a97a8; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: color .15s, background .15s;
}
.tab:hover { color: #fff; }
.tab.on { background: #fff; color: #0b0f15; }
.steps2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.steps2[hidden] { display: none; }
.st {
  padding: 22px; border-radius: 20px; background: var(--card); border: 1px solid var(--card-line);
}
.st .n {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; margin-bottom: 16px;
  font: 700 15px var(--mono); color: #04201f; background: linear-gradient(135deg, var(--brand), #9be8e2);
}
.st h4 { margin: 0 0 6px; font-size: 17px; font-weight: 700; letter-spacing: -.02em; }
.st p { margin: 0; font-size: 14px; line-height: 1.55; color: #98a5b6; }
.st code { font: 12px var(--mono); color: #e6ebf2; background: rgba(255, 255, 255, .08); padding: 2px 6px; border-radius: 6px; word-break: break-all; }

/* ---- faq ---- */
.faq { max-width: 720px; margin: 0 auto; display: grid; gap: 10px; }
.faq details, .verify {
  border-radius: 16px; background: var(--card); border: 1px solid var(--card-line); padding: 0 20px;
}
.faq summary, .verify summary {
  list-style: none; cursor: pointer; padding: 18px 0; font-weight: 600; font-size: 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.faq summary::-webkit-details-marker, .verify summary::-webkit-details-marker { display: none; }
.faq summary::after, .verify summary::after { content: "+"; font-size: 22px; color: var(--brand); transition: transform .2s; }
.faq details[open] summary::after, .verify[open] summary::after { transform: rotate(45deg); }
.faq p, .verify > p { margin: 0 0 18px; color: #98a5b6; font-size: 15px; line-height: 1.6; }
.reqs { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; }
.reqs li { font-size: 15px; line-height: 1.55; color: #98a5b6; }
.reqs b { display: block; color: #e6ebf2; font-size: 14px; }
.verify { max-width: 720px; margin: 0 auto; }
.sumrow { display: flex; flex-direction: column; gap: 2px; padding-bottom: 14px; }
.sumrow b { font-size: 14px; }
.sum { font: 12px var(--mono); color: #7f8b9c; word-break: break-all; user-select: all; }

/* ---- store cards: two side by side, no featured size ---- */
.bento.duo { grid-template-columns: repeat(2, 1fr); }
.bento.duo .bc.on { grid-column: auto; min-height: 270px; padding: 24px; }
.bento.duo .bc.on h3 { font-size: 26px; }
.bento.duo .bc.on .pt p { font-size: 14px; }
.bento.duo .bc.on .ico { width: 48px; height: 48px; }
.bento.duo .bc.on .ico svg { width: 24px; height: 24px; }
.bento.duo .bc.on .play-badge img { height: 64px; }
@media (max-width: 820px) { .bento.duo { grid-template-columns: 1fr; } }

/* ---- the launcher hero ---- */
.lh { position: relative; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: 44px; align-items: center; }
.lh::before {
  content: ""; position: absolute; inset: -90px -60px; z-index: -1; pointer-events: none;
  background: radial-gradient(55% 60% at 74% 42%, rgba(82, 209, 201, .17), transparent 72%);
}
.lh-copy { text-align: left; }
.lh-copy .label { margin: 0 0 14px; font-size: 12px; font-weight: 700; }
.lh-copy h1 { font-size: clamp(34px, 5.2vw, 56px); font-weight: 800; letter-spacing: -.04em; line-height: 1.04; }
.lead { margin: 16px 0 0; font-size: 17px; line-height: 1.55; color: var(--body); max-width: 470px; }
.os-pick {
  display: inline-flex; gap: 4px; margin: 28px 0 16px; padding: 4px; border-radius: 99px;
  background: var(--card); border: 1px solid var(--card-line);
}
.os-pick .os {
  margin: 0; padding: 7px 18px; border: 0; border-radius: 99px; background: none;
  color: var(--soft); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: color .15s, background .15s;
}
.os-pick .os:hover { color: #fff; background: none; }
.os-pick .os.on { background: #fff; color: #0b0f15; }
.hero-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.btn-hero {
  display: inline-flex; align-items: center; gap: 12px; padding: 16px 30px; border-radius: 99px;
  background: var(--brand); color: #04201f; font-size: 18px; font-weight: 750; text-decoration: none;
  box-shadow: 0 14px 40px -14px rgba(82, 209, 201, .75); transition: background .15s, transform .15s;
}
.btn-hero:hover { background: #8df0e9; text-decoration: none; transform: translateY(-2px); }
.bh-ico { display: inline-grid; }
.bh-ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.btn-alt { font-size: 14px; font-weight: 600; color: var(--soft); text-decoration: none; padding: 6px 2px; border-bottom: 1px solid rgba(255, 255, 255, .2); }
.btn-alt:hover { color: var(--brand); border-color: var(--brand); text-decoration: none; }
.hero-meta { margin: 16px 0 0; font: 500 12.5px var(--mono); color: #8a97a8; }
/* The plain archive: present, never competing with the launcher. */
.quiet { margin: 22px 0 0; font-size: 13.5px; color: #77849a; }
.quiet:empty { display: none; }
.quiet-link { color: #a9b5c4; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .25); text-underline-offset: 3px; }
.quiet-link:hover { color: var(--brand); text-decoration-color: var(--brand); }
.lh-shot { margin: 0; }
.lh-shot img {
  display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--card-line);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .85), 0 0 0 1px rgba(255, 255, 255, .03);
}
@media (max-width: 900px) {
  .lh { grid-template-columns: 1fr; gap: 34px; }
  .lh-copy { text-align: center; }
  .lead { margin-left: auto; margin-right: auto; }
  .hero-row { justify-content: center; }
  .lh::before { inset: -60px -16px; }
}

/* ---- benefits ---- */
.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.perk { padding: 24px; border-radius: 20px; background: var(--card); border: 1px solid var(--card-line); transition: border-color .2s, transform .2s; }
.perk:hover { border-color: rgba(82, 209, 201, .4); transform: translateY(-3px); }
.perk .pi { display: inline-grid; place-items: center; width: 42px; height: 42px; margin-bottom: 16px; border-radius: 12px; background: rgba(82, 209, 201, .12); }
.perk .pi svg { width: 22px; height: 22px; fill: none; stroke: var(--brand); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.perk h3 { margin: 0 0 8px; font-size: 17px; font-weight: 700; letter-spacing: -.02em; }
.perk p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--body); }
@media (max-width: 900px) { .perks { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .perks { grid-template-columns: 1fr; } }

/* ---- manual downloads ---- */
.sumtop { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.sumver { font-weight: 500; color: #7f8b9c; font-size: 12.5px; }
.sumrow { padding-bottom: 16px; }

/* ---- on a headset or a phone: the stores lead, the PC launcher is a footnote ---- */
.bento.mine { grid-template-columns: 1fr; }
.mobile .lh { grid-template-columns: 1fr; gap: 0; }
.mobile .lh::before, .mobile .lh-shot { display: none; }
.mobile .lh-copy h1 { font-size: clamp(26px, 6vw, 34px); }
.mobile .lead { font-size: 15px; }
.mobile .btn-hero { padding: 12px 24px; font-size: 16px; box-shadow: none; background: rgba(255, 255, 255, .08); color: #fff; }
.mobile .btn-hero:hover { background: rgba(255, 255, 255, .14); }
