/* Blobby website: download page (download/index.html), also used by feedback/.
   White page, a light grey band for the install steps, saturated glossy colour on objects only. */

/* ---------- hero ---------- */
.bt-hero { background: var(--paper); padding-top: clamp(40px, 7vw, 96px); overflow: hidden; }
.bt-hero .kicker { --kc: var(--accent); }
.bt-hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.bt-hero h1 { font-size: clamp(44px, 6.5vw, 84px); max-width: 9.5em; letter-spacing: -.035em; }
.bt-get { margin-top: 28px; }
.bt-dl { font-size: clamp(19px, 2.2vw, 24px); padding: 22px 30px 21px; }
.bt-dl .win { width: 24px; height: 24px; }
/* installer not uploaded yet: the button stays, flat grey and not a link */
.bt-dl[aria-disabled="true"] { transition: none; background: var(--soft); color: var(--ink-2); cursor: not-allowed; box-shadow: inset 0 0 0 1px var(--line); }
.bt-dl[aria-disabled="true"]:hover, .bt-dl[aria-disabled="true"]:active { transform: none; box-shadow: inset 0 0 0 1px var(--line); }
.bt-soon {
  margin: 18px 0 0; max-width: 30em; font-size: 16px; color: var(--ink-2);
  background: var(--soft); border-radius: var(--radius-sm); padding: 14px 18px;
}

/* Blobby on a soft coloured glow, no disc */
.bt-hero-art { position: relative; display: grid; place-items: center; }
.bt-stage { position: relative; width: min(100%, 380px); aspect-ratio: 1; display: grid; place-items: center; }
.bt-stage::before {
  content: ""; position: absolute; inset: 6%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 28%, transparent), color-mix(in srgb, var(--accent) 10%, transparent) 62%, transparent);
  filter: blur(14px); transform: translateY(6%);
}
.bt-blob { position: relative; width: 78%; aspect-ratio: 1; cursor: pointer; }
.bt-hello {
  position: absolute; top: 4%; left: 2%; margin: 0; color: var(--ink);
  font: 600 20px/1 var(--font-display); background: var(--sheen), var(--gold); border-radius: 999px;
  padding: 11px 18px 10px; box-shadow: var(--sheen-edge), 0 14px 28px -14px color-mix(in srgb, var(--gold) 70%, #000);
}

/* ---------- install steps ---------- */
.bt-install .kicker { --kc: var(--sky); }
.bt-steps { list-style: none; padding: 0; margin: 0; counter-reset: bt; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.bt-step {
  --c: var(--sky);
  counter-increment: bt; position: relative; background: var(--paper); border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px var(--line), var(--pop-sm); padding: 28px 26px 24px 88px; min-width: 0;
}
/* glossy saturated number, black digit */
.bt-step::before {
  content: counter(bt); position: absolute; left: 24px; top: 24px; width: 46px; height: 46px; display: grid; place-items: center;
  font: 700 23px/1 var(--font-display); color: var(--ink); border-radius: 50%;
  background: var(--sheen), var(--c);
  box-shadow: var(--sheen-edge), 0 12px 22px -12px color-mix(in srgb, var(--c) 80%, #000);
}
.bt-step-wide { --c: var(--accent); }
.bt-step:nth-child(3) { --c: var(--green); }
.bt-step:nth-child(4) { --c: var(--pink); }
.bt-step:nth-child(5) { --c: var(--gold); }
.bt-step h3 { font-size: clamp(22px, 2.2vw, 27px); }
.bt-step p { color: var(--ink-2); }
.bt-step p:last-child { margin-bottom: 0; }
.bt-step-wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 28px; align-items: center; }
.bt-step:first-child, .bt-step-last { grid-column: 1 / -1; }
.bt-step-media { display: grid; gap: 20px; min-width: 0; }
/* glossy keycap */
kbd {
  display: inline-block; font: 600 .85em/1 var(--font-display); color: var(--ink);
  background: linear-gradient(180deg, #fff, #ececf1); border-radius: 8px; padding: 5px 8px 4px;
  box-shadow: inset 0 0 0 1px var(--line), inset 0 -2px 0 rgba(11, 11, 16, .1), 0 2px 4px rgba(11, 11, 16, .08);
}

/* simplified drawing of the SmartScreen warning: two small panels, the click targets ringed */
.bt-ss { margin: 0; min-width: 0; }
.bt-ss-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.bt-ss-win {
  position: relative; background: #0b5cad; color: #fff; border-radius: 12px;
  padding: 26px 16px 14px; min-height: 196px; display: flex; flex-direction: column;
  box-shadow: 0 18px 36px -18px rgba(11, 60, 120, .7), 0 1px 3px rgba(11, 11, 16, .12);
}
/* white on #0b5cad is 6.6:1; every text node in the drawing inherits it */
.bt-ss-win p, .bt-ss-win span { color: #fff; }
.bt-ss-x { position: absolute; right: 10px; top: 8px; width: 12px; height: 12px; opacity: .8;
  background: linear-gradient(45deg, transparent 44%, #fff 44% 56%, transparent 56%), linear-gradient(-45deg, transparent 44%, #fff 44% 56%, transparent 56%); }
.bt-ss-h { font: 600 clamp(15px, 1.6vw, 18px)/1.15 "Segoe UI", var(--font-body); margin: 0 0 10px; }
.bt-ss-p { margin: 0 0 8px; display: grid; gap: 6px; }
.bt-ss-line { display: block; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .55); }
.bt-ss-line.mid { width: 75%; }
.bt-ss-line.short { width: 50%; }
.bt-ss-more { margin: 4px 0 0; font: 600 14px/1 "Segoe UI", var(--font-body); }
.bt-ss-btns { margin-top: auto; padding-top: 14px; display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
.bt-ss-btn { position: relative; font: 600 14px/1 "Segoe UI", var(--font-body); padding: 8px 10px; border: 2px solid rgba(255, 255, 255, .85); border-radius: 4px; white-space: nowrap; }
/* the two things to click: a gold ring and a glossy gold number */
.bt-ss-hit { position: relative; display: inline-block; text-decoration: underline; outline: 3px solid var(--gold); outline-offset: 4px; border-radius: 4px; }
.bt-ss-win .bt-ss-btn.bt-ss-hit { text-decoration: none; background: #fff; color: #0b5cad; }
.bt-ss-num {
  position: absolute; display: inline-grid; place-items: center; width: 28px; height: 28px; margin-left: 10px;
  font: 700 16px/1 var(--font-display); text-decoration: none;
  background: var(--sheen), var(--gold); border-radius: 50%; box-shadow: var(--sheen-edge), 0 4px 10px rgba(11, 11, 16, .3);
}
.bt-ss-win .bt-ss-num { color: var(--ink); }
.bt-ss-more .bt-ss-num { position: relative; vertical-align: middle; }
.bt-ss-btn .bt-ss-num { right: -14px; top: -20px; margin: 0; }
.bt-ss figcaption { margin-top: 14px; font-size: 15px; color: var(--ink-2); }

/* ---------- bug reports ---------- */
.bt-bug { background: var(--paper); }
.bt-bug .kicker { --kc: var(--pink); }
.bt-bug-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.bt-note { background: var(--soft); border-radius: var(--radius); padding: 28px; min-width: 0; }
.bt-list { padding-left: 1.2em; margin: 0 0 18px; color: var(--ink-2); }
.bt-list li { margin-bottom: 8px; }
.bt-list li::marker { color: var(--pink); }
.bt-list b { color: var(--ink); }
.bt-log { margin-bottom: 8px; color: var(--ink-2); }
.bt-path {
  display: inline-block; max-width: 100%; overflow-wrap: anywhere; font-size: 15px; color: var(--ink);
  background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); border-radius: 10px; padding: 6px 10px; user-select: all;
}
.bt-note p:last-child { margin-bottom: 0; }

/* ---------- small screens ---------- */
@media (max-width: 860px) {
  .bt-hero-grid, .bt-bug-grid { grid-template-columns: 1fr; }
  .bt-hero-art { order: -1; }
  .bt-stage { width: min(70%, 260px); }
  .bt-steps { grid-template-columns: 1fr; }
  .bt-step-wide { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .bt-dl { width: 100%; padding: 20px 18px 19px; }
  .bt-step { padding: 86px 20px 20px; }
  .bt-step::before { top: 20px; left: 20px; }
  .bt-ss-pair { grid-template-columns: 1fr; }
}
/* the reminder under the intro that the page is password protected */
.bt-private { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--ink-2); background: var(--soft); border-radius: 999px; padding: 8px 14px; margin: -4px 0 20px; }
.bt-private::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--sheen), var(--gold); box-shadow: var(--sheen-edge); flex: none; }
