@font-face {
  font-family: Manrope;
  src: url("/assets/v12/fonts/manrope_regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url("/assets/v12/fonts/manrope_semibold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url("/assets/v12/fonts/manrope_bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: Playfair;
  src: url("/assets/v12/fonts/playfair_display_bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
} /* App v1.2 foundation tokens. Pressed violet provides AA contrast with white button labels. */
:root {
  color-scheme: light dark;
  --bg: light-dark(#fff8f6, #0d1025);
  --raised: light-dark(#fff0f4, #141832);
  --surface: light-dark(#fffcfc, #1d2242);
  --tint: light-dark(#f8effb, #302951);
  --ink: light-dark(#261b35, #f7f3ff);
  --muted: light-dark(#655e73, #bfc2d8);
  --line: light-dark(#e9dfe9, #343957);
  --primary: light-dark(#8750dd, #a16aff);
  --accent-text: light-dark(#6936bf, #b894ff);
  --focus: light-dark(#8750dd, #b894ff);
  --action: #6936bf;
  --shadow: 0 12px 35px light-dark(#6e497b18, #0003);
}
:root[data-theme="light"] {
  color-scheme: light;
}
:root[data-theme="dark"] {
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
body {
  margin: 0;
  background:
    radial-gradient(ellipse at 80% 0%, var(--tint), transparent 40rem),
    var(--bg);
  color: var(--ink);
  font:
    16px/1.65 Manrope,
    system-ui,
    sans-serif;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
button {
  font: inherit;
  cursor: pointer;
}
h1,
h2 {
  font-family: Playfair, Georgia, serif;
  line-height: 1.15;
  letter-spacing: -0.025em;
}
h1 {
  font-size: clamp(40px, 5.8vw, 72px);
  margin: 0 0 24px;
}
h2 {
  font-size: clamp(32px, 4vw, 48px);
  margin: 0 0 18px;
}
h3 {
  font-size: 19px;
  line-height: 1.35;
  margin: 0 0 10px;
}
p {
  margin: 0 0 16px;
}
.wrap {
  width: min(1200px, calc(100% - 40px));
  margin: auto;
}
.skip {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 20;
  background: var(--surface);
  padding: 12px;
  transform: translateY(-180%);
}
.skip:focus {
  transform: none;
}
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}
.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
@supports (backdrop-filter: blur(12px)) {
  .header {
    background: color-mix(in srgb, var(--surface) 90%, transparent);
    backdrop-filter: blur(12px);
  }
}
.bar {
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.logo {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  width: max-content;
  max-width: 100%;
  font:
    700 27px/1.1 Playfair,
    Georgia,
    serif;
  text-decoration: none;
  white-space: nowrap;
}
.logo img {
  inline-size: 0;
  min-inline-size: 100%;
  margin-top: -0.12em;
}
.bar nav {
  display: flex;
  gap: 23px;
  margin-left: auto;
  font-size: 13px;
  font-weight: 600;
}
.bar nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  text-decoration: none;
}
.bar nav a:hover,
.bar nav a[aria-current="page"] {
  text-decoration: underline;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 22px;
  border-radius: 18px;
  background: var(--action);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
}
.button.small {
  min-height: 44px;
  padding: 8px 16px;
  font-size: 14px;
}
.secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line);
}
.theme,
.chip,
#close-viewer {
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  font-size: 22px;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 5vw, 64px);
  padding-block: clamp(28px, 5vw, 64px);
}
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent-text);
  margin-bottom: 20px;
}
.lead,
.intro {
  font-size: 18px;
  color: var(--muted);
  max-width: 620px;
}
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 30px 0 18px;
}
.muted {
  color: var(--muted);
  font-size: 14px;
}
.hero-art {
  display: grid;
  place-items: center;
}
.cat {
  width: min(100%, 360px);
}
.section {
  padding-block: 72px;
  border-top: 1px solid var(--line);
}
.grid,
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 32px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 28px;
}
.feature {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  column-gap: 14px;
  align-content: start;
  padding: 20px;
}
.feature img {
  grid-row: span 2;
  width: 44px;
  height: 44px;
  object-fit: contain;
}
.feature h3 {
  margin-bottom: 3px;
}
.feature p,
.steps p {
  color: var(--muted);
  margin: 0;
}
.privacy-note {
  margin-top: 18px;
  background: var(--tint);
}
.features-guide-link {
  margin: 16px 0 0;
}
.privacy-note p {
  margin: 5px 0;
}
.privacy-note a,
.text-link {
  color: var(--accent-text);
  font-weight: 700;
}
.steps img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 12px;
}
.steps {
  list-style: none;
  padding: 0;
}
.gallery-tools {
  display: flex;
  gap: 10px;
  margin: 24px 0;
}
.chip {
  font-size: 14px;
  padding: 0 18px;
  border-radius: 999px;
}
.chip[aria-pressed="true"] {
  background: var(--action);
  color: white;
  border-color: var(--action);
}
.gallery {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 5px 4px 24px;
}
.gallery figure {
  margin: 0;
  flex: 0 0 220px;
  scroll-snap-align: start;
}
.screen {
  display: block;
  padding: 0;
  border: 0;
  background: none;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.screen img {
  width: 220px;
}
.gallery figcaption {
  font-size: 14px;
  margin-top: 12px;
}
.download {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 25px;
  background: var(--tint);
}
.download img {
  width: 280px;
}
.download .text-link {
  display: inline-block;
  margin: 15px;
}
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.faq-group {
  margin-top: 20px;
}
details {
  border-bottom: 1px solid var(--line);
}
summary {
  cursor: pointer;
  font-weight: 700;
  min-height: 48px;
  padding: 14px 24px 14px 0;
}
details p {
  color: var(--muted);
}
footer {
  border-top: 1px solid var(--line);
  background: var(--raised);
}
.footer {
  padding-block: 48px;
}
.footer > div {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 20px 0;
}
.footer .muted {
  max-width: 800px;
}
.prose {
  max-width: 850px;
  min-height: 60vh;
}
.prose h2 {
  font-size: 30px;
  margin-top: 45px;
}
.prose li {
  margin: 12px 0;
}
.privacy section + section {
  border-top: 1px solid var(--line);
}
.privacy section h2,
.feature-guide h2 {
  font: 700 1.375rem/1.35 Manrope, system-ui, sans-serif;
  letter-spacing: normal;
  margin: 22px 0 10px;
}
.privacy ul,
.feature-guide ul {
  padding-inline-start: 1.3em;
}
.privacy li,
.feature-guide li {
  margin: 8px 0;
}
.feature-guide {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 21rem), 1fr));
  gap: 18px;
  margin-block: 16px 24px;
}
.feature-guide h2 {
  margin-top: 0;
}
.feature-guide .card > :last-child {
  margin-bottom: 0;
}
.help-search-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-block: 8px;
}
.help-search input {
  flex: 1 1 16rem;
  min-width: 0;
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid var(--muted);
  border-radius: 18px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
}
.help-search input::placeholder {
  color: var(--muted);
  opacity: 1;
}
.help-topics {
  grid-template-columns: 1fr;
}
.help-topics ol {
  padding-inline-start: 1.4em;
}
.release h2 {
  margin-top: 0;
}
.release dd {
  margin: 0 0 12px;
  overflow-wrap: anywhere;
}
.release dt {
  color: var(--muted);
}
.page-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 20px;
  margin-top: 12px;
}
.page-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
dialog {
  max-width: min(600px, calc(100% - 32px));
  max-height: 90vh;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  color: var(--ink);
  padding: 20px;
}
dialog::backdrop {
  background: #0d1025cc;
}
.viewer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
dialog img {
  max-height: 65vh;
  width: auto;
  margin: 16px auto;
}
[hidden] {
  display: none !important;
}
@media (max-width: 1000px) {
  .bar nav {
    gap: 10px;
    font-size: 12px;
  }
  .bar {
    gap: 12px;
  }
}
@media (max-width: 800px) {
  html {
    scroll-padding-top: 108px;
  }
  .header {
    backdrop-filter: none;
  }
  .bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto 44px;
    gap: 0 8px;
    padding-top: 4px;
  }
  .bar nav {
    order: 3;
    grid-column: 1 / -1;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0 4px;
    margin: 0;
  }
  .hero {
    gap: 20px;
  }
  .cat {
    width: min(100%, 240px);
  }
  .grid,
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .section {
    padding-block: 40px;
  }
}
@media (max-width: 520px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .bar nav {
    flex-wrap: nowrap;
  }
  .bar nav a {
    flex: 1;
    line-height: 1.25;
    text-align: center;
  }
  .bar nav a:nth-child(odd) {
    flex-grow: 1.5;
  }
  .logo {
    font-size: 23px;
  }
  .bar .small {
    font-size: 12px;
    padding-inline: 12px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 4px;
    padding-block: 22px;
  }
  .hero h1 {
    font-size: clamp(32px, 8vw, 40px);
    margin-bottom: 12px;
  }
  .hero .lead {
    font-size: 16px;
  }
  .hero .actions {
    gap: 8px;
    margin: 16px 0 8px;
  }
  .hero .actions .button {
    min-height: 44px;
    padding: 8px 12px;
    font-size: 14px;
  }
  .hero .muted {
    margin-bottom: 0;
  }
  .cat {
    width: 132px;
  }
  .grid,
  .steps,
  .faq-grid,
  .download {
    grid-template-columns: 1fr;
  }
  .card {
    padding: 16px;
  }
  .grid,
  .steps {
    gap: 10px;
    margin-top: 16px;
  }
  .feature h3 {
    font-size: 17px;
  }
  .feature p {
    font-size: 14px;
  }
  .gallery figure {
    flex-basis: 190px;
  }
  .gallery .screen img {
    width: 190px;
  }
  h1 {
    font-size: 40px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}

.theme:not([data-ready]) {
  visibility: hidden;
}
.theme {
  display: grid;
  place-items: center;
}
.theme[aria-pressed="true"] {
  border-color: var(--primary);
}
.button:hover {
  text-decoration: underline;
}
.contact-note {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
}
[data-release-details] dd {
  overflow-wrap: anywhere;
  margin: 0 0 8px;
}
[data-releases] {
  margin-top: 24px;
}
[data-releases] article {
  margin: 16px 0;
}
[data-releases] h4 {
  margin-bottom: 4px;
}
[data-releases] ul {
  margin-top: 0;
}
.prose h1 {
  font-size: clamp(27px, 5.8vw, 64px);
  overflow-wrap: anywhere;
}

/* Delay layout for the homepage sections until they approach the viewport. */
main > section[id] {
  content-visibility: auto;
  contain-intrinsic-block-size: auto 640px;
}

.install-figures {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-block: 24px;
}
.install-figures figure {
  margin: 0;
}
.install-figures a {
  display: block;
  max-width: 220px;
}
.install-figures img {
  border: 1px solid var(--line);
  border-radius: 18px;
}
.install-figures figcaption {
  margin-top: 12px;
  max-width: 32ch;
}
@media (max-width: 520px) {
  .install-figures {
    grid-template-columns: 1fr;
  }
}
