/* Storefront face. Sits on top of site2.css.
   The long notes stay in the page. They open from a row, they do not lead it. */

#whats-new, #compat, #linux-demos, #model-notes { scroll-margin-top: 140px; }

.wordmark { display: inline-flex; align-items: center; }
.brand-mark {
  width: 36px;
  height: 36px;
  margin-right: 10px;
  flex: 0 0 auto;
  display: block;
  border-radius: 50%;
  object-fit: cover;
}
.site-footer .brand-mark { width: 44px; height: 44px; }
.dl-brand { display: flex; align-items: center; gap: 16px; margin-bottom: 8px; }
.dl-brand .brand-mark { width: 64px; height: 64px; }
.dl-brand .kicker { margin-bottom: 4px; }
.dl-brand h2.sec { margin: 0; }

.experimental {
  margin: 14px 0 16px;
  padding: 12px 14px;
  border: 1px solid var(--rule-warm);
  border-radius: 12px;
  background: rgba(217, 164, 65, .07);
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.55;
  max-width: none;
  width: fit-content;
}
.experimental b { color: var(--warn); font-weight: 600; }
.hero p.experimental,
.view-download p.experimental {
  margin: 16px 0 18px;
  max-width: none;
  color: var(--text-2);
  font-size: 14.5px;
  line-height: 1.55;
}

.quiet-note {
  margin: 0 0 8px;
  padding: 12px 16px;
  border: 1px solid var(--rule);
  border-radius: 12px;
  background: rgba(255, 255, 255, .025);
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.5;
}
.quiet-note a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }

.notes { margin-top: 8px; border-top: 1px solid var(--rule); }
.notes > details { border-bottom: 1px solid var(--rule); }
.notes summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 2px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
}
.notes summary::-webkit-details-marker { display: none; }
.notes summary::after {
  content: "+";
  flex: 0 0 auto;
  font-family: var(--mono);
  font-weight: 400;
  font-size: 18px;
  line-height: 1;
  color: var(--text-dim);
}
.notes details[open] summary::after { content: "\2212"; }
.notes .note {
  max-width: 68ch;
  padding: 0 2px 16px;
  color: var(--text-3);
  font-size: 14.5px;
  line-height: 1.6;
}
.notes .note p + p { margin-top: 10px; }
.notes .note b { color: var(--text-2); font-weight: 500; }

.card .more, .fold {
  margin-top: 12px;
  border-top: 1px solid var(--rule-soft);
  padding-top: 10px;
}
.card .more summary, .fold summary {
  cursor: pointer;
  list-style: none;
  color: var(--accent);
  font-size: 13.5px;
}
.card .more summary::-webkit-details-marker,
.fold summary::-webkit-details-marker { display: none; }
.card .more p, .fold p { margin-top: 8px; }

.notes summary:focus-visible,
.card .more summary:focus-visible,
.fold summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.ce-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.ce-form label { font-size: 14px; color: var(--text-3); }
.ce-email {
  flex: 1 1 220px;
  min-width: 0;
  padding: 12px 14px;
  font: inherit;
  font-family: var(--mono);
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--rule);
  border-radius: 8px;
}
#ce-bad { margin-top: 8px; font-family: var(--mono); font-size: 13px; color: var(--accent); }
.dl .spec { text-align: left; letter-spacing: 0; font-size: 12px; line-height: 1.55; }

@media (max-width: 720px) {
  .site-header { overflow: hidden; }
  .header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    width: 100%;
    min-width: 0;
  }
  .wordmark { grid-column: 1; grid-row: 1; }
  .brand-mark { width: 28px; height: 28px; }
  .verchip { display: none; }
  .header-cta { display: none; }
  .pro-float {
    position: static;
    top: auto;
    right: auto;
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    font-size: 13px;
    padding: 8px 12px;
    white-space: nowrap;
  }
  .nav {
    grid-column: 1 / -1;
    grid-row: 2;
    width: auto;
    min-width: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .nav a { white-space: normal; line-height: 1.25; font-size: 13px; padding: 8px 8px; min-width: 0; }
}

.shotcap {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-dim);
  padding: 8px 12px;
}

@media (max-width: 640px) {
  .notes summary { font-size: 15px; align-items: flex-start; }
  .quiet-note { padding: 12px; }
}
