/* Overlays (js/overlay.js): one glass sheet over a blurred page.
   Desktop: a centered modal. Phones (640px and under): a bottom sheet you can drag down.
   Uses the home page tokens from styles.css, with fallbacks so any page can load it. */

.ov {
  --ov-ink: var(--ink, #f5f5f2);
  --ov-accent: var(--accent, #4d7dff);
  --ov-edge: var(--glass-edge, rgb(255 255 255 / 0.16));
  --ov-muted: rgb(245 245 242 / 0.66);
  --ov-faint: rgb(245 245 242 / 0.5);
  --ov-hair: rgb(255 255 255 / 0.09);
  --ov-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ov-pad: clamp(24px, 4vw, 44px);
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  color: var(--ov-ink);
  font-family: "Inter Tight", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.ov[hidden] { display: none; }

html.ov-locked { overflow: hidden; }
html.ov-locked body { padding-right: var(--ov-sbw, 0); }

.ov__backdrop {
  position: absolute;
  inset: 0;
  background: rgb(3 6 14 / 0.55);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  backdrop-filter: blur(14px) saturate(120%);
  opacity: 0;
  transition: opacity 0.32s ease;
}

.ov.is-open .ov__backdrop { opacity: calc(1 - var(--ov-drag, 0) * 0.8); }

/* The sheet: the Get started card's navy, as frosted glass */
.ov__sheet {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(100%, 600px);
  max-height: min(880px, calc(100vh - 48px));
  max-height: min(880px, calc(100dvh - 48px));
  border-radius: 28px;
  background: linear-gradient(160deg, rgb(21 34 78 / 0.86), rgb(11 16 36 / 0.92) 62%);
  border: 1px solid var(--ov-edge);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.12), 0 40px 120px rgb(0 0 0 / 0.55);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  backdrop-filter: blur(28px) saturate(160%);
  overflow: hidden;
  isolation: isolate;
  outline: none;
  opacity: 0;
  transform: translateY(28px) scale(0.97);
  filter: blur(6px);
  transition: opacity 0.32s ease, transform 0.42s var(--ov-ease), filter 0.32s ease, width 0.3s var(--ov-ease);
}

.ov__sheet--wide { width: min(100%, 940px); }

/* The same slow glow that drifts across the Get started card */
.ov__sheet::before {
  content: "";
  position: absolute;
  inset: -30% 20% 45%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(77 125 255 / 0.3), transparent);
  filter: blur(40px);
  animation: ov-drift 18s ease-in-out infinite alternate;
  pointer-events: none;
}

.ov.is-open .ov__sheet { opacity: 1; transform: none; filter: none; }

@keyframes ov-drift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(8%, -6%) scale(1.1); }
  100% { transform: translate(-6%, 8%) scale(0.95); }
}

.ov__scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgb(255 255 255 / 0.2) transparent;
}

.ov__content {
  padding: var(--ov-pad);
  transition: opacity 0.2s ease, transform 0.3s var(--ov-ease);
}

.ov.is-loading .ov__content:empty { min-height: 320px; }
.ov.is-switching .ov__content { opacity: 0; transform: translateY(8px); }

/* A quiet pulse while a fragment loads for the first time */
.ov.is-loading .ov__content:empty::after {
  content: "";
  display: block;
  width: 36px;
  height: 36px;
  margin: 120px auto 0;
  border-radius: 50%;
  border: 2px solid rgb(255 255 255 / 0.14);
  border-top-color: var(--ov-ink);
  animation: ov-spin 0.8s linear infinite;
}

@keyframes ov-spin { to { transform: rotate(360deg); } }

.ov__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--ov-edge);
  border-radius: 50%;
  background: rgb(255 255 255 / 0.08);
  color: var(--ov-ink);
  cursor: pointer;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: background-color 0.2s, transform 0.2s;
}

.ov__close:hover { background: rgb(255 255 255 / 0.16); transform: rotate(90deg); }
.ov__close:focus-visible { outline: 2px solid var(--ov-ink); outline-offset: 2px; }

.ov__grab { display: none; }

/* Phones: a bottom sheet that rises from the edge */
@media (max-width: 640px) {
  .ov { padding: 0; place-items: end stretch; }

  .ov__sheet,
  .ov__sheet--wide {
    width: 100%;
    max-height: calc(100vh - 28px);
    max-height: calc(100dvh - 28px);
    border-radius: 24px 24px 0 0;
    border-bottom: 0;
    transform: translateY(100%);
    filter: none;
    opacity: 1;
    transition: transform 0.38s cubic-bezier(0.32, 0.72, 0, 1);
  }

  .ov.is-open .ov__sheet { transform: none; }
  .ov.is-dragging .ov__sheet { transition: none; }

  .ov__grab {
    display: grid;
    place-items: center;
    flex: none;
    height: 26px;
    touch-action: none;
    cursor: grab;
  }

  .ov__grab span {
    width: 40px;
    height: 5px;
    border-radius: 999px;
    background: rgb(255 255 255 / 0.28);
  }

  .ov__close { top: 18px; right: 12px; width: 36px; height: 36px; }

  .ov { --ov-pad: 16px; }
  .ov__content { padding: 8px 16px calc(28px + env(safe-area-inset-bottom, 0px)); }
}

@media (prefers-reduced-motion: reduce) {
  .ov__backdrop, .ov__sheet, .ov__content { transition: opacity 0.12s linear !important; }
  .ov__sheet, .ov.is-open .ov__sheet { transform: none !important; filter: none; }
  .ov__sheet { opacity: 0; }
  .ov.is-open .ov__sheet { opacity: 1; }
  .ov__sheet::before { animation: none; }
  .ov.is-switching .ov__content { transform: none; }
  .ov__close:hover { transform: none; }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .ov__sheet { background: linear-gradient(160deg, #15224e, #0b1024 62%); }
  .ov__backdrop { background: rgb(3 6 14 / 0.82); }
}

/* ===================================================================================
   Content pieces the overlay pages share
   =================================================================================== */

.ov-page { display: grid; gap: 28px; }

.ov-head { display: grid; gap: 14px; padding-right: 44px; }

.ov-eyebrow { margin: 0; font-size: 14px; font-weight: 600; color: #9db4ff; }

.ov-title {
  margin: 0;
  font-weight: 500;
  font-size: clamp(32px, 4.2vw, 48px);
  line-height: 1;
  letter-spacing: -0.03em;
}

.ov-lead {
  margin: 0;
  max-width: 52ch;
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.55;
  color: var(--ov-muted);
}

.ov-h3 {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.005em;
}

.ov-note { margin: 0; font-size: 13px; line-height: 1.5; color: var(--ov-faint); }

.ov-inline { color: var(--ov-ink); text-decoration: underline; text-decoration-color: rgb(255 255 255 / 0.3); text-underline-offset: 3px; transition: text-decoration-color 0.2s; }
.ov-inline:hover { text-decoration-color: var(--ov-ink); }

.ov a:focus-visible, .ov button:focus-visible { outline: 2px solid var(--ov-ink); outline-offset: 2px; }

/* A group of rows in one glass tray: each row an icon, two lines and a direction mark */
.ov-rows {
  margin: 0;
  padding: 0;
  list-style: none;
  border-radius: 20px;
  border: 1px solid var(--ov-hair);
  background: rgb(255 255 255 / 0.035);
  overflow: hidden;
}

.ov-rows li + li { border-top: 1px solid var(--ov-hair); }

.ov-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  transition: background-color 0.2s;
}

.ov-row:hover { background: rgb(255 255 255 / 0.05); }
.ov a.ov-row:focus-visible { outline-offset: -2px; border-radius: 20px; }

.ov-row__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgb(77 125 255 / 0.14);
  color: #b9c9ff;
}

.ov-row__icon svg { width: 20px; height: 20px; }

.ov-row__text { display: grid; gap: 2px; min-width: 0; }
.ov-row__title { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.ov-row__sub { font-size: 14px; color: var(--ov-muted); overflow-wrap: anywhere; }

.ov-row__go {
  color: var(--ov-faint);
  font-size: 18px;
  transition: transform 0.2s, color 0.2s;
}

.ov-row:hover .ov-row__go { color: var(--ov-ink); transform: translate(2px, -2px); }
.ov-row:hover .ov-row__go--in { transform: translateX(3px); }

/* Buttons: the home page's pills */
.ov-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.ov-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid var(--ov-edge);
  background: rgb(255 255 255 / 0.08);
  color: var(--ov-ink);
  font: 600 15px/1 "Inter Tight", system-ui, sans-serif;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.2s;
}

.ov-btn:hover { background: rgb(255 255 255 / 0.15); }
.ov-btn--primary { background: var(--ov-ink); color: #0b0b0b; border-color: transparent; }
.ov-btn--primary:hover { background: #fff; transform: translateY(-1px); }
.ov-btn[disabled] { opacity: 0.6; cursor: progress; transform: none; }

@media (max-width: 480px) {
  .ov-actions { flex-direction: column; }
  .ov-btn { width: 100%; }
}

/* Forms */
.ov-form { display: grid; gap: 18px; }

.ov-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .ov-grid { grid-template-columns: 1fr; } }

.ov-field { display: grid; gap: 7px; min-width: 0; }
.ov-field > span,
.ov-legend { font-size: 13px; font-weight: 600; color: rgb(245 245 242 / 0.78); padding: 0; }
.ov-opt { font-weight: 400; color: var(--ov-faint); }

.ov-input {
  width: 100%;
  min-width: 0;
  padding: 13px 16px;
  border-radius: 14px;
  border: 1px solid rgb(255 255 255 / 0.14);
  background: rgb(4 8 20 / 0.4);
  color: var(--ov-ink);
  font: 400 16px/1.4 "Inter Tight", system-ui, sans-serif;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.ov-input::placeholder { color: rgb(245 245 242 / 0.35); }
.ov-input:hover { border-color: rgb(255 255 255 / 0.24); }
.ov-input:focus { outline: none; border-color: var(--ov-accent); box-shadow: 0 0 0 4px rgb(77 125 255 / 0.22); background: rgb(4 8 20 / 0.55); }

textarea.ov-input { resize: vertical; min-height: 104px; }

select.ov-input {
  appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23f5f5f2' stroke-opacity='.6' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

select.ov-input option { background: #0e1530; color: var(--ov-ink); }

.ov-fieldset { margin: 0; padding: 0; border: 0; min-width: 0; display: grid; gap: 10px; }

/* Topic chips: checkboxes dressed as pills */
.ov-chips { display: flex; flex-wrap: wrap; gap: 8px; }

.ov-chip { position: relative; display: inline-flex; }
.ov-chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }

.ov-chip span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  border-radius: 999px;
  border: 1px solid rgb(255 255 255 / 0.14);
  background: rgb(255 255 255 / 0.04);
  font-size: 14px;
  font-weight: 500;
  color: rgb(245 245 242 / 0.82);
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.ov-chip span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1.5px solid rgb(255 255 255 / 0.4);
  transition: background-color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.ov-chip:hover span { border-color: rgb(255 255 255 / 0.28); color: var(--ov-ink); }
.ov-chip input:checked + span { background: rgb(77 125 255 / 0.18); border-color: rgb(77 125 255 / 0.7); color: var(--ov-ink); }
.ov-chip input:checked + span::before { background: var(--ov-accent); border-color: var(--ov-accent); box-shadow: 0 0 0 3px rgb(77 125 255 / 0.25); }
.ov-chip input:focus-visible + span { outline: 2px solid var(--ov-ink); outline-offset: 2px; }

.ov-error {
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgb(255 120 120 / 0.1);
  border: 1px solid rgb(255 140 140 / 0.3);
  color: #ffc9c9;
  font-size: 14px;
}

.ov-done { display: grid; gap: 14px; padding: 24px; border-radius: 20px; border: 1px solid rgb(77 125 255 / 0.4); background: rgb(77 125 255 / 0.1); outline: none; }
.ov-done[hidden] { display: none; }
.ov-done h3 { margin: 0; font-size: 22px; font-weight: 500; letter-spacing: -0.02em; }
.ov-done p { margin: 0; color: var(--ov-muted); line-height: 1.55; }

.ov-divider { height: 1px; margin: 0; border: 0; background: var(--ov-hair); }

/* ---- Socials ---------------------------------------------------------------------- */
.ov-socials { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 0; padding: 0; list-style: none; }

.ov-social {
  position: relative;
  display: grid;
  gap: 18px;
  padding: 20px;
  border-radius: 20px;
  border: 1px solid var(--ov-hair);
  background: rgb(255 255 255 / 0.035);
  transition: background-color 0.2s, border-color 0.2s, transform 0.25s var(--ov-ease);
}

.ov-social:hover { background: rgb(255 255 255 / 0.07); border-color: rgb(255 255 255 / 0.18); transform: translateY(-2px); }
.ov-social svg { width: 28px; height: 28px; color: var(--ov-ink); }
.ov-social__name { display: block; font-size: 16px; font-weight: 600; }
.ov-social__handle { display: block; margin-top: 2px; font-size: 14px; color: var(--ov-muted); }
.ov-social .ov-row__go { position: absolute; top: 18px; right: 18px; }
.ov-social:hover .ov-row__go { color: var(--ov-ink); transform: translate(2px, -2px); }

.ov-list-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  border-radius: 20px;
  background: linear-gradient(120deg, rgb(77 125 255 / 0.28), rgb(77 125 255 / 0.08));
  border: 1px solid rgb(77 125 255 / 0.45);
  transition: border-color 0.2s, background-color 0.2s;
}

.ov-list-cta:hover { border-color: rgb(120 155 255 / 0.8); }
.ov-list-cta strong { display: block; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.ov-list-cta span { display: block; margin-top: 3px; font-size: 14px; color: var(--ov-muted); }
.ov-list-cta .ov-row__go { color: var(--ov-ink); }

@media (max-width: 380px) {
  .ov-social { padding: 16px; gap: 14px; }
}

/* ---- Press ------------------------------------------------------------------------ */
.ov-press-list .ov-row { grid-template-columns: 112px 1fr auto; gap: 18px; padding: 18px 20px; }

.ov-press__logo { display: grid; place-items: center start; height: 36px; }

.ov-press__logo img {
  max-width: 104px;
  max-height: 32px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.75;
  transition: opacity 0.2s;
}

.ov-press-list .ov-row:hover .ov-press__logo img { opacity: 1; }
.ov-press-list .ov-row__title { font-size: 15px; font-weight: 500; line-height: 1.35; }
.ov-press-list .ov-row__sub { font-size: 13px; }

@media (max-width: 480px) {
  .ov-press-list .ov-row { grid-template-columns: 1fr auto; gap: 10px 14px; }
  .ov-press__logo { grid-column: 1; grid-row: 1; height: 28px; }
  .ov-press__logo img { max-height: 24px; }
  .ov-press-list .ov-row__go { grid-row: 1; grid-column: 2; }
  .ov-press-list .ov-row__text { grid-column: 1 / -1; grid-row: 2; }
}

/* ---- Buy -------------------------------------------------------------------------- */
.ov-buy { gap: 0; }

.ov-buy__photo {
  position: relative;
  margin: calc(var(--ov-pad) * -1) calc(var(--ov-pad) * -1) 0;
  aspect-ratio: 16 / 7;
  overflow: hidden;
}

.ov-buy__photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 62%; }

/* The photo dissolves into the sheet */
.ov-buy__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgb(12 18 42 / 0) 45%, rgb(14 22 52 / 0.92) 100%);
}

.ov-buy__intro { position: relative; margin-top: -64px; }

/* Reserve with Stripe: Stripe's own purple, so the payment method reads at a glance */
.ov-btn--stripe { background: #635bff; color: #fff; border-color: transparent; }
.ov-btn--stripe:hover { background: #7a73ff; color: #fff; }

.ov-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: start;
  padding: 7px 12px;
  border-radius: 999px;
  /* Plain: no outline and no status dot, just a dark backing so it reads over the photo */
  background: rgb(11 16 36 / 0.6);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: 13px;
  font-weight: 500;
  color: rgb(245 245 242 / 0.85);
}

.ov-buy__cols {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(24px, 4vw, 48px);
  margin-top: 32px;
}

.ov-builds { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.ov-build {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid var(--ov-hair);
  background: rgb(255 255 255 / 0.035);
}

.ov-build h4 { margin: 0; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.ov-build p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ov-muted); }

.ov-addons { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }

.ov-addons li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ov-muted);
}

.ov-addons li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 8px; height: 8px; border-radius: 50%; background: var(--ov-accent); }
.ov-addons strong { color: var(--ov-ink); font-weight: 600; }

.ov-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 0; border-top: 1px solid var(--ov-hair); }
.ov-specs div { padding: 14px 0; border-bottom: 1px solid var(--ov-hair); }
.ov-specs div:nth-child(odd) { padding-right: 12px; }
.ov-specs dt { font-size: 13px; color: var(--ov-faint); }
.ov-specs dd { margin: 4px 0 0; font-size: 22px; font-weight: 500; letter-spacing: -0.02em; }

.ov-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.ov-tags li { padding: 6px 11px; border-radius: 999px; border: 1px solid var(--ov-hair); font-size: 13px; color: rgb(245 245 242 / 0.8); }

.ov-reserve {
  display: grid;
  gap: 14px;
  margin-top: 32px;
  padding: 24px;
  border-radius: 22px;
  background: rgb(4 8 20 / 0.35);
  border: 1px solid var(--ov-hair);
}

.ov-reserve p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ov-muted); }
.ov-reserve .ov-btn--primary { justify-self: start; padding: 16px 26px; font-size: 16px; }

.ov-more { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0; padding: 0; list-style: none; }

.ov-more a {
  display: grid;
  gap: 3px;
  height: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--ov-hair);
  transition: background-color 0.2s, border-color 0.2s;
}

.ov-more a:hover { background: rgb(255 255 255 / 0.05); border-color: rgb(255 255 255 / 0.18); }
.ov-more span { font-size: 13px; color: var(--ov-faint); }
.ov-more strong { font-size: 15px; font-weight: 600; }

@media (max-width: 760px) {
  .ov-buy__cols { grid-template-columns: 1fr; }
  .ov-more { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .ov-buy__photo { margin: -8px -16px 0; aspect-ratio: 4 / 3; }
  .ov-buy__intro { margin-top: -48px; }
}

@media (max-width: 420px) {
  .ov-builds { grid-template-columns: 1fr; }
  .ov-reserve .ov-btn--primary { justify-self: stretch; }
}

.ov-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* #buy: pick the build and add-ons, then reserve with Stripe or PayPal (js/buy-overlay.js) */
.ov-pick { position: relative; cursor: pointer; transition: border-color 0.2s, background-color 0.2s; }
.ov-pick input { position: absolute; opacity: 0; pointer-events: none; }
.ov-pick:has(input:checked) { border-color: rgb(77 125 255 / 0.75); background: rgb(77 125 255 / 0.14); box-shadow: inset 0 0 0 1px rgb(77 125 255 / 0.4); }
.ov-pick:has(input:focus-visible) { outline: 2px solid var(--ov-ink); outline-offset: 2px; }
.ov-pick:has(input:checked) h4::after { content: " ✓"; color: #9db4ff; }
.ov-check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.ov-check input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: #4d7dff; cursor: pointer; }
.ov-btn--paypal { background: #ffc439; color: #111; border-color: transparent; font-weight: 700; }
.ov-btn--paypal:hover { background: #ffd368; transform: translateY(-1px); }
.ov-buy__paypal-note { margin-top: 10px; }
.ov-reserve .ov-buy__saved { color: #9db4ff; }
.ov-addons li:has(.ov-check)::before { display: none; }
.ov-addons li:has(.ov-check) { padding-left: 0; }

/* #download: Unlayered Slicer, each platform with its version; the buttons only once signed in
   (overlays/download.html, js/download-overlay.js) */
.ov-dl { gap: 24px; }
.ov-dl__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.ov-dl__card {
  display: flex; flex-direction: column; gap: 4px; min-width: 0;
  padding: 20px; border-radius: 20px;
  border: 1px solid var(--ov-hair); background: rgb(255 255 255 / 0.035);
}
.ov-dl__icon { width: 28px; height: 28px; margin-bottom: 10px; color: var(--ov-ink); }
.ov-dl__name { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.ov-dl__req { font-size: 14px; color: var(--ov-muted); }
.ov-dl__ver { margin-top: 6px; font-size: 13px; font-weight: 600; color: #9db4ff; }
.ov-dl__get { margin-top: auto; align-self: stretch; }
.ov-dl__ver + .ov-dl__get, .ov-dl__req + .ov-dl__ver[hidden] + .ov-dl__get { margin-top: 16px; }
.ov-dl__gate {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px;
  padding: 22px; border-radius: 20px;
  border: 1px solid rgb(77 125 255 / 0.4); background: rgb(77 125 255 / 0.1);
}
.ov-dl__gate > div:first-child { flex: 1 1 280px; display: grid; gap: 6px; }
.ov-dl__gate-title { margin: 0; font-size: 20px; font-weight: 600; letter-spacing: -0.015em; }
.ov-dl__body { display: grid; gap: 16px; }
.ov-dl__msg { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ov-muted); }
.ov-dl__new { display: grid; gap: 4px; }
.ov-dl__wait { height: 64px; border-radius: 20px; background: rgb(255 255 255 / 0.04); animation: ov-dl-pulse 1.4s ease-in-out infinite; }
@keyframes ov-dl-pulse { 50% { opacity: 0.45; } }
@media (prefers-reduced-motion: reduce) { .ov-dl__wait { animation: none; } }
@media (max-width: 720px) {
  .ov-dl__grid { grid-template-columns: 1fr; }
  .ov-dl__card { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; padding: 16px; }
  .ov-dl__icon { grid-row: span 3; margin: 0; }
  .ov-dl__get { grid-column: 1 / -1; margin-top: 12px !important; }
}
/* Phones, account unreachable: the message right under the intro, before the three platforms */
@media (max-width: 720px) {
  .ov-dl[data-state="unreachable"] .ov-dl__body { order: 1; }
  .ov-dl[data-state="unreachable"] .ov-dl__grid, .ov-dl[data-state="unreachable"] .ov-dl__new { order: 2; }
}
