@font-face {
  font-family: Newsreader;
  src: url('/assets/fonts/Newsreader-Latin-variable.woff2') format('woff2');
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: Newsreader;
  src: url('/assets/fonts/Newsreader-Italic-Latin-variable.woff2')
    format('woff2');
  font-style: italic;
  font-weight: 200 800;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --bg: #0b0b0d;
  --surface: #151517;
  --surface-high: #202024;
  --ink: #f5f5f7;
  --muted: #ababb3;
  --g-brand: #DBB688;
  /* Compatibility name: one rendered brand/accent, never a second gold palette. */
  --gold: var(--g-brand);
  --rule: oklch(36% 0 0);
  --focus: var(--ink);
  --serif: Newsreader, Georgia, serif;
  --sans:
    ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: ui-monospace, 'SF Mono', Consolas, monospace;
  --z-header: 10;
  --radius: 12px;
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 15px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
a,
button,
input,
summary {
  -webkit-tap-highlight-color: transparent;
}
a:hover {
  color: var(--gold);
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
}
button,
a,
summary {
  touch-action: manipulation;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 5px;
}
img,
svg {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
[hidden] {
  display: none !important;
}
h1,
h2,
h3,
p,
figure,
dl,
dd {
  margin: 0;
}
h1,
h2,
h3 {
  text-wrap: balance;
  font-weight: 400;
}
p {
  text-wrap: pretty;
}
em {
  font-weight: 400;
  color: var(--gold);
}
.wrap {
  width: min(1360px, calc(100% - 112px));
  margin-inline: auto;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: 10px;
  left: 20px;
  z-index: var(--z-header);
  padding: 12px 20px;
  background: var(--gold);
  color: var(--bg);
  transform: translateY(-180%);
}
.skip-link:focus {
  transform: none;
}
.site-header {
  min-height: 108px;
  display: flex;
  align-items: center;
  gap: 48px;
  border-bottom: 1px solid var(--rule);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex: none;
}
.brand .brand-icon {
  width: 38px;
  height: auto;
}
.brand span {
  font: 400 34px/1 var(--serif);
  letter-spacing: -0.035em;
  transform: translateY(3px);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}
.main-nav a {
  text-decoration: none;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}
.main-nav a:hover,
.main-nav [aria-current] {
  color: var(--ink);
}
.search-trigger {
  display: flex;
  align-items: center;
  gap: 12px;
  background: none;
  border: 0;
  border-left: 1px solid var(--rule);
  padding: 0 0 0 28px;
  color: var(--muted);
  min-height: 44px;
  font-size: 12px;
}
.search-trigger:hover {
  color: var(--ink);
}
kbd {
  font: 12px var(--mono);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 1px 6px;
  color: var(--muted);
}
.release-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  text-decoration: none;
  color: var(--muted);
  margin-bottom: 38px;
}
.status-dot {
  width: 5px;
  height: 5px;
  flex: none;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px color-mix(in oklch, var(--gold), transparent 55%);
}
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 12px 22px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  border-radius: 5px;
  transition:
    background 0.2s,
    transform 0.2s;
}
.button.primary {
  background: var(--ink);
  color: var(--bg);
}
.button.primary:hover {
  background: color-mix(in oklch, var(--ink) 88%, var(--bg));
  transform: translateY(-2px);
}
.text-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 13px;
  font-size: 12px;
  text-decoration: none;
}
.text-link:hover {
  text-decoration: underline;
}
h2 {
  font: 400 clamp(40px, 4vw, 58px) / 1.03 var(--serif);
  letter-spacing: -0.025em;
}
.preview-tabs {
  display: flex;
  gap: 28px;
  margin-top: 22px;
}
.preview-tabs button {
  background: none;
  border: 0;
  border-bottom: 1px solid transparent;
  color: var(--muted);
  font-size: 12px;
  min-height: 44px;
  padding: 8px 0;
}
.preview-tabs [aria-pressed='true'] {
  color: var(--ink);
  border-bottom-color: var(--gold);
}
.preview-tabs button:hover {
  color: var(--ink);
}
.product-preview {
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  box-shadow: 0 32px 70px oklch(0% 0 0/0.25);
}
.product-preview > picture > img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  object-position: top;
}
.product-preview figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 15px 22px;
  border-top: 1px solid var(--rule);
  font-size: 10px;
  color: var(--muted);
}
.product-preview figcaption a {
  text-decoration: none;
}
.site-footer {
  padding-block: 45px 38px;
  display: flex;
  gap: 35px;
  align-items: center;
}
.site-footer .brand .brand-icon {
  width: 26px;
  height: auto;
}
.site-footer .brand span {
  font-size: 26px;
}
.site-footer p {
  font-size: 11px;
  color: var(--muted);
}
.site-footer nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
  align-items: center;
  flex-wrap: wrap;
}
.site-footer nav a {
  font-size: 11px;
  color: var(--muted);
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.site-footer nav a:hover {
  color: var(--gold);
}
/* Documentation shares the identity; typography and spacing serve the task. */
.docs-page .site-header {
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: var(--z-header);
  min-height: 88px;
}
.docs-layout {
  display: grid;
  grid-template-columns: 205px minmax(0, 1fr) 155px;
  gap: 48px;
  position: relative;
  padding-bottom: 70px;
}
.docs-layout.no-page-toc { grid-template-columns: 205px minmax(0, 1fr); }
.docs-sidebar {
  padding-top: 34px;
  position: sticky;
  top: 88px;
  align-self: start;
  max-height: calc(100dvh - 88px);
  overflow-y: auto;
  padding-bottom: 35px;
}
.docs-label {
  font-size: 11px;
  font-weight: 600;
  display: flex;
  gap: 10px;
  align-items: center;
  text-decoration: none;
  margin-bottom: 28px;
}
.docs-label > span {
  color: var(--gold);
  font: 10px var(--mono);
}
.doc-nav-group {
  margin-top: 22px;
}
.doc-nav-group > summary {
  font: 600 11px/1.4 var(--sans);
  letter-spacing: 0;
  color: var(--ink);
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  list-style: none;
}
.doc-nav-group > summary::-webkit-details-marker { display: none; }
.doc-nav-group > summary::after { content: '+'; color: var(--gold); }
.doc-nav-group[open] > summary::after { content: '−'; }
.doc-nav-group a {
  display: block;
  color: var(--muted);
  font-size: 12px;
  padding: 7px 0;
  text-decoration: none;
  min-height: 33px;
}
.doc-nav-group [aria-current='page'] {
  color: var(--gold);
  font-weight: 600;
}
.doc-nav-group [aria-current='page']:before {
  content: '— ';
  color: var(--gold);
}
.doc-nav-group a:hover {
  color: var(--ink);
}
.sidebar-source {
  display: block;
  font-size: 10px;
  color: var(--muted);
  text-decoration: none;
  margin-top: 28px;
  line-height: 1.7;
}
.doc-main {
  min-width: 0;
}
.doc-article {
  padding-top: 34px;
}
.doc-breadcrumb {
  display: flex;
  gap: 12px;
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 35px;
}
.doc-breadcrumb a {
  text-decoration: none;
}
.doc-breadcrumb > span:first-of-type {
  color: var(--rule);
}
.doc-title {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--rule);
}
.doc-title h1 {
  font: 400 49px/1.1 var(--serif);
  letter-spacing: -0.025em;
}
.doc-title p {
  font-size: 14px;
  color: var(--muted);
  margin-top: 15px;
  max-width: 55ch;
}
.doc-section {
  margin-top: 40px;
  font-size: 15px;
  line-height: 1.85;
  overflow-wrap: anywhere;
  max-width: 75ch;
}
.doc-section h2 {
  font: 500 25px/1.2 var(--serif);
  letter-spacing: -0.01em;
  margin-bottom: 16px;
  scroll-margin-top: 115px;
}
.doc-section h2 a {
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
}
.doc-section h2 span {
  font: 13px var(--sans);
  color: var(--gold);
  opacity: 0;
}
.doc-section h2 a:hover span,
.doc-section h2 a:focus-visible span {
  opacity: 1;
}
.doc-section p {
  margin-block: 13px;
  color: var(--muted);
}
.doc-section strong,
.doc-section li {
  color: var(--ink);
}
.doc-section a {
  color: var(--gold);
}
.doc-section ul {
  padding-left: 20px;
}
.doc-section li {
  padding-left: 5px;
  margin-block: 8px;
}
.steps {
  padding-left: 24px;
}
.steps > li {
  padding-left: 8px;
  margin-block: 16px;
}
.steps > li::marker {
  color: var(--gold);
  font-weight: 500;
}
.doc-section code {
  font: 11px/1.6 var(--mono);
  padding: 2px 5px;
  border-radius: 3px;
  background: var(--surface-high);
  color: var(--ink);
  overflow-wrap: anywhere;
}
.code-block {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 7px;
  margin-block: 18px;
  overflow: hidden;
}
.code-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 38px;
  padding: 0 8px 0 17px;
  color: var(--muted);
  font-size: 10px;
  border-bottom: 1px solid var(--rule);
}
.copy-button {
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: var(--ink);
  font-size: 10px;
  padding: 5px 10px;
  min-height: 32px;
  min-width: 44px;
}
.copy-button:hover {
  background: var(--surface-high);
}
pre {
  margin: 0;
  padding: 19px 18px;
  overflow: auto;
  tab-size: 2;
  white-space: pre;
  font: 12px/1.9 var(--mono);
}
pre code,
.doc-section pre code {
  font: inherit;
  padding: 0;
  background: none;
  border-radius: 0;
  color: var(--ink);
}
.table-scroll {
  width: 100%;
  overflow-x: auto;
  margin-block: 20px;
  border: 1px solid var(--rule);
  border-radius: 7px;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
  line-height: 1.7;
}
th {
  font-weight: 500;
  color: var(--ink);
  background: var(--surface);
  white-space: nowrap;
}
th,
td {
  padding: 12px 14px;
  vertical-align: top;
}
td {
  color: var(--muted);
  border-top: 1px solid var(--rule);
  min-width: 115px;
}
td:first-child {
  color: var(--ink);
}
.doc-section td code {
  font-size: 12px;
  background: none;
  padding: 0;
}
.note {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 7px;
  padding: 17px 20px;
  margin-block: 22px;
  font-size: 14px;
}
.note > strong {
  font-size: 12px;
  color: var(--gold);
}
.note p {
  margin: 5px 0 0;
}
.doc-toc {
  position: sticky;
  top: 123px;
  align-self: start;
  font-size: 10px;
  padding-top: 0;
  margin-top: 35px;
}
.doc-toc > p {
  color: var(--ink);
  margin-bottom: 15px;
  font-weight: 500;
}
.doc-toc nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.doc-toc nav a {
  color: var(--muted);
  text-decoration: none;
  line-height: 1.5;
}
.doc-toc nav a:hover {
  color: var(--gold);
}
.toc-help {
  display: inline-block;
  margin-top: 28px;
  color: var(--muted);
  font-size: 9px;
  text-decoration: none;
}
.doc-source {
  border-top: 1px solid var(--rule);
  padding-top: 24px;
  margin-top: 45px;
  color: var(--muted);
  font-size: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
}
.doc-source a {
  text-decoration: none;
}
.doc-pagination {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  padding-top: 25px;
}
.doc-pagination a {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  font-size: 12px;
  min-height: 50px;
}
.doc-pagination a:last-child {
  text-align: right;
}
.doc-pagination small {
  color: var(--muted);
  font-size: 9px;
  margin-bottom: 5px;
}
.doc-pagination span {
  color: var(--gold);
}
.docs-mobile,
.mobile-toc {
  display: none;
}
.docs-page .site-footer {
  border-top: 1px solid var(--rule);
}
.simple-page {
  max-width: 780px;
  min-height: 65vh;
  padding-block: 60px 80px;
}
.simple-page h1 {
  font: 400 clamp(40px, 5vw, 64px) / 1.1 var(--serif);
  letter-spacing: -0.025em;
  margin-top: 35px;
}
.simple-lede {
  color: var(--muted);
  margin-top: 20px;
}
.simple-page h2 {
  font: 500 27px var(--serif);
  margin-block: 40px 15px;
}
.simple-page h2 ~ p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 15px;
}
.simple-page p a {
  color: var(--gold);
}
/* Native dialog handles focus trapping, Escape, and inert background content. */
.search-dialog {
  width: min(650px, calc(100% - 32px));
  max-height: min(75dvh, 700px);
  padding: 27px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  margin: 14dvh auto auto;
  box-shadow: 0 30px 100px oklch(0% 0 0/0.6);
}
.search-dialog::backdrop {
  background: oklch(0% 0 0/0.75);
}
.search-dialog-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 20px;
}
.search-dialog h2 {
  font: 400 30px var(--serif);
  letter-spacing: -0.01em;
}
.search-dialog-heading button {
  background: none;
  border: 1px solid var(--rule);
  border-radius: 4px;
  color: var(--muted);
  font-size: 10px;
  min-width: 44px;
  min-height: 36px;
}
.search-dialog input {
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 5px;
  color: var(--ink);
  width: 100%;
  min-height: 48px;
  padding: 12px 15px;
  font-size: 13px;
}
.search-dialog input::placeholder {
  color: var(--muted);
  opacity: 1;
}
.search-status {
  font-size: 11px;
  color: var(--muted);
  margin-top: 16px;
}
.search-results {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
}
.search-results li + li {
  border-top: 1px solid var(--rule);
}
.search-results a {
  display: flex;
  flex-direction: column;
  padding: 16px 5px;
  text-decoration: none;
  gap: 3px;
}
.search-results a:hover {
  background: var(--surface-high);
}
.search-results small {
  font-size: 10px;
  color: var(--gold);
}
.search-results strong {
  font-size: 14px;
  font-weight: 500;
}
.search-results span {
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
}
@media (max-width: 1150px) {
  .wrap {
    width: calc(100% - 72px);
  }
  .site-header {
    gap: 28px;
  }
  .main-nav {
    gap: 22px;
  }
  .docs-layout,
  .docs-layout.no-page-toc {
    grid-template-columns: 185px minmax(0, 1fr);
    gap: 40px;
  }
  .doc-toc {
    display: none;
  }
  .mobile-toc {
    display: none;
    flex-wrap: wrap;
    gap: 4px 20px;
    margin-top: 20px;
    font-size: 13px;
  }
  .mobile-toc a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--muted);
    text-decoration: none;
  }
  .doc-section {
    max-width: none;
  }
  .site-footer {
    gap: 24px;
  }
  .site-footer nav {
    gap: 17px;
  }
}
@media (max-width: 800px) {
  .mobile-toc { display: flex; }
  .wrap {
    width: calc(100% - 44px);
  }
  .site-header {
    min-height: 86px;
    gap: 22px;
  }
  .main-nav {
    gap: 20px;
  }
  .main-nav a {
    font-size: 11px;
  }
  .main-nav > a:first-child {
    display: none;
  }
  .search-trigger {
    border: 0;
    padding: 0;
  }
  .search-trigger span,
  .search-trigger kbd {
    display: none;
  }
  .search-trigger {
    width: 44px;
    justify-content: center;
    margin-left: 0;
  }
  .release-link {
    font-size: 9px;
    margin-bottom: 30px;
    gap: 6px;
  }
  .button {
    font-size: 11px;
    gap: 18px;
    padding-inline: 16px;
    min-height: 48px;
  }
  h2 {
    font-size: 43px;
  }
  .site-footer {
    flex-wrap: wrap;
    gap: 10px 20px;
  }
  .site-footer nav {
    width: 100%;
    margin-left: 0;
    justify-content: space-between;
  }
  .docs-layout,
  .docs-layout.no-page-toc {
    grid-template-columns: 1fr;
    padding-bottom: 40px;
  }
  .docs-sidebar {
    display: none;
  }
  .docs-mobile {
    display: block;
    border-bottom: 1px solid var(--rule);
    font-size: 12px;
  }
  .docs-mobile > summary {
    padding: 15px 0;
    min-height: 52px;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .docs-mobile > summary::-webkit-details-marker {
    display: none;
  }
  .docs-mobile[open] > summary .lumina-icon {
    transform: rotate(180deg);
  }
  .docs-mobile nav {
    padding: 0 0 25px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }
  .docs-mobile .doc-nav-group {
    margin-top: 10px;
  }
  .docs-mobile a {
    min-height: 44px;
    padding-block: 11px;
  }
  .doc-article {
    padding-top: 24px;
  }
  .doc-breadcrumb {
    margin-bottom: 25px;
  }
  .doc-title h1 {
    font-size: 43px;
  }
  .doc-title p {
    font-size: 13px;
  }
  .doc-section {
    font-size: 15px;
    margin-top: 35px;
  }
  .doc-section h2 {
    font-size: 25px;
  }
  .doc-section h2 span {
    opacity: 1;
  }
  .doc-section td {
    min-width: 135px;
  }
  .doc-source {
    font-size: 10px;
  }
  .docs-page .site-header {
    min-height: 78px;
  }
}
@media (max-width: 560px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .site-header {
    min-height: 78px;
    gap: 10px;
  }
  .brand {
    gap: 8px;
  }
  .brand .brand-icon {
    width: 30px;
    height: auto;
  }
  .brand span {
    font-size: 30px;
  }
  .main-nav {
    gap: 16px;
  }
  .main-nav .source-link {
    display: none;
  }
  .release-link {
    margin-bottom: 30px;
    font-size: 10px;
  }
  h2 {
    font-size: 43px;
  }
  .preview-tabs {
    margin-top: 13px;
    gap: 28px;
  }
  .product-preview {
    margin-inline: -7px;
    border-radius: 8px;
  }
  .product-preview > picture > img {
    aspect-ratio: 390/844;
  }
  .product-preview figcaption {
    padding: 12px;
    font-size: 11px;
    gap: 10px;
    align-items: center;
  }
  .product-preview figcaption > span {
    max-width: 24ch;
  }
  .product-preview figcaption a {
    flex: none;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  .site-footer {
    padding-block: 28px 20px;
  }
  .site-footer p {
    font-size: 10px;
  }
  .site-footer nav {
    gap: 10px;
  }
  .site-footer nav a {
    font-size: 10px;
  }
  .doc-title h1 {
    font-size: 39px;
  }
  .doc-title p {
    font-size: 13px;
  }
  .doc-section {
    font-size: 15px;
  }
  .doc-section h2 {
    font-size: 24px;
  }
  .doc-section td,
  .doc-section th {
    padding: 11px 12px;
    min-width: 125px;
  }
  .doc-section td code {
    font-size: 12px;
  }
  .doc-section code {
    font-size: 12px;
  }
  .doc-pagination {
    gap: 16px;
  }
  .doc-pagination a {
    font-size: 11px;
    max-width: 48%;
  }
  .doc-pagination small {
    font-size: 9px;
  }
  .search-dialog {
    padding: 20px;
    margin-top: 7dvh;
    max-height: 85dvh;
  }
  .search-dialog h2 {
    font-size: 27px;
  }
  .search-dialog input {
    font-size: 16px;
  }
  .search-dialog-heading button {
    min-height: 44px;
  }
  .copy-button {
    min-height: 44px;
  }
  .code-heading {
    min-height: 44px;
  }
  pre {
    padding: 16px 13px;
    font-size: 10px;
  }
  .simple-page {
    padding-block: 35px 60px;
  }
  .simple-page h1 {
    font-size: 45px;
  }
  .simple-page h2 ~ p {
    font-size: 12px;
  }
}

/* Marketing layout: shared content rails, section rhythm, and native imagery. */
.home-page {
  --page-gutter: clamp(20px, 4vw, 56px);
  --section-space: clamp(48px, 7vw, 96px);
  --section-gap: clamp(32px, 5vw, 64px);
  --feature-columns: minmax(0, 5fr) minmax(0, 7fr);
}
.home-page .wrap {
  width: min(1280px, calc(100% - 2 * var(--page-gutter)));
}
.site-header { min-height: 96px; }
.brand { align-items: baseline; }
.brand span { transform: none; }
.brand .brand-icon { position: relative; top: 1px; }
.button { border-radius: var(--radius); font-size: 14px; gap: 16px; }
.button.primary { background: #efe9dd; color: #0f0e0c; }
.button.primary:hover { background: #fff; }
.text-link { font-size: 14px; }
.main-nav a { font-size: 14px; }
.home-page .site-header { gap: 24px; }
.home-page h2 { font-size: clamp(38px, 4.2vw, 60px); line-height: 1.08; }
.home-page em { font-style: normal; }
.cinema-hero { padding-top: 48px; text-align: center; }
.cinema-hero .release-link { margin-bottom: 16px; font-size: 14px; }
.cinema-hero h1 { font: 400 clamp(52px, 6.8vw, 80px)/1.03 var(--serif); letter-spacing: -0.035em; }
.cinema-intro { margin: 24px auto 0; max-width: 50ch; color: var(--muted); font-size: 17px; line-height: 1.65; }
.cinema-actions { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 16px 32px; margin-top: 24px; }
.device-scene { max-width: 1000px; margin: 48px auto 0; position: relative; padding: 0 80px 32px 0; }
.television { background: #151517; border: 6px solid #242428; border-radius: 16px; overflow: hidden; box-shadow: 0 28px 70px #0009; }
.television img { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.iphone { position: absolute; bottom: 24px; right: 0; width: 24%; border: 6px solid #29292d; border-radius: 38px; background: #0b0b0d; overflow: hidden; box-shadow: 0 20px 50px #0009; }
.iphone img { width: 100%; aspect-ratio: 1206/2622; object-fit: cover; }
.device-scene figcaption { text-align: left; margin-top: 16px; color: var(--muted); font-size: 14px; }
.platform-line { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 24px; padding-block: 24px; border-bottom: 1px solid var(--rule); }
.platform-line p { color: var(--muted); font-size: 14px; }
.platform-line p:first-child { color: var(--ink); }
.platform-line span, .collection-line span { color: var(--gold); margin-inline: 8px; }
.native-section, .library-feature, .reading-demo, .install-section {
  display: grid;
  grid-template-columns: var(--feature-columns);
  align-items: start;
  gap: var(--section-gap);
  padding-block: var(--section-space);
}
.library-feature, .reading-demo, .install-section { border-top: 1px solid var(--rule); }
.requests-section { row-gap: 32px; }
.requests-preview { grid-column: 1 / -1; }
.native-intro > p, .reading-demo-copy > p, .library-feature-copy p {
  max-width: 48ch;
  color: var(--muted);
  font-size: 15px;
}
.native-intro > p, .reading-demo-copy > p { margin-top: 24px; }
.native-intro .text-link, .reading-demo-copy .text-link, .library-feature-copy .text-link { margin-top: 16px; }
.native-intro .availability { margin-top: 16px; font-size: 14px; max-width: 38ch; }
.native-features > div { padding-block: 24px; border-bottom: 1px solid var(--rule); }
.native-features > div:first-child { padding-top: 0; }
.native-features dt { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.native-features dd { max-width: 48ch; color: var(--muted); font-size: 15px; }
.library-feature-copy p + p { margin-top: 16px; }
.library-feature-copy .library-feature-tools, .reading-demo-copy .reading-demo-formats { color: var(--gold); font-size: 18px; }
.manga-demo { min-width: 0; margin: 0; }
.manga-demo video { display: block; width: 100%; height: auto; }
.manga-demo figcaption { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 16px; color: var(--muted); font-size: 14px; }
.manga-demo figcaption > span { max-width: 34ch; }
.manga-demo-control { flex-shrink: 0; min-width: 44px; min-height: 44px; padding: 8px 16px; border: 1px solid var(--rule); border-radius: var(--radius); background: transparent; color: var(--ink); font-size: 14px; font-weight: 600; }
.manga-demo-control:hover { border-color: var(--gold); color: var(--gold); }
.playback-section { background: var(--surface); padding-block: var(--section-space); }
.playback-heading, .engineering-notes {
  display: grid;
  grid-template-columns: var(--feature-columns);
  align-items: start;
  gap: var(--section-gap);
}
.playback-heading > p { color: var(--muted); max-width: 48ch; font-size: 17px; }
.playback-paths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; list-style: none; padding: 0; margin: 48px 0 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.playback-paths li { padding-block: 32px; position: relative; }
.playback-paths li + li::before { content: '→'; position: absolute; left: -28px; top: 32px; color: var(--gold); font-size: 23px; }
.playback-paths h3 { font: 400 30px/1.2 var(--serif); margin-bottom: 16px; }
.playback-paths p { color: var(--muted); font-size: 15px; }
.engineering-notes { margin-top: 48px; align-items: stretch; }
.engineering-notes > div { display: flex; flex-direction: column; align-items: start; }
.engineering-notes h3 { font-size: 17px; font-weight: 600; margin-bottom: 16px; }
.engineering-notes p { color: var(--muted); max-width: 48ch; font-size: 15px; }
.engineering-notes .capability-note { margin-top: 16px; font-size: 14px; }
.engineering-notes .text-link { margin-top: auto; padding-top: 16px; }
.browser-section { padding-block: var(--section-space); border-top: 1px solid var(--rule); }
.browser-heading { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 32px; }
.browser-heading p { color: var(--muted); font-size: 16px; margin-top: 24px; }
.preview-tabs { gap: 24px; flex-shrink: 0; margin-top: 0; }
.preview-tabs button { font-size: 15px; }
.preview-tabs [aria-pressed='true'] { font-weight: 600; border-bottom-width: 2px; }
.home-page .product-preview { margin-inline: 0; background: var(--surface); }
.product-preview > picture > img { aspect-ratio: auto; height: auto; }
.home-page .product-preview figcaption { padding: 16px 24px; font-size: 14px; }
.collection-line { display: grid; grid-template-columns: var(--feature-columns); align-items: start; gap: 16px var(--section-gap); margin-top: 24px; color: var(--muted); font-size: 14px; }
.collection-line span { margin-inline: 4px; }
.collection-line .text-link { min-height: 0; }
.install-section > div { min-width: 0; }
.install-section > div:first-child > p { max-width: 38ch; margin-top: 24px; }
.install-section p { color: var(--muted); font-size: 14px; }
.install-label { display: flex; justify-content: space-between; color: var(--muted); font-size: 14px; }
.install-command .code-block { margin-block: 16px; }
.install-command .code-heading { padding-left: 24px; min-height: 44px; font-size: 14px; }
.install-command .copy-button { min-height: 44px; font-size: 14px; }
.install-command pre { font-size: 14px; padding: 24px; white-space: pre-wrap; overflow-wrap: anywhere; }
.install-command > p { margin-top: 16px; }
.install-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 16px; }
.home-page .site-footer { padding-block: 32px; border-top: 1px solid var(--rule); gap: 24px; }
.home-page .site-footer p, .home-page .site-footer nav a { font-size: 14px; }
.home-page .site-footer nav a { gap: 8px; }
.home-page .site-footer nav { gap: 8px 24px; }
@media (max-width: 1000px) {
  .main-nav { gap: 20px; }
  .search-trigger { padding-left: 16px; }
  .home-page .main-nav { gap: 16px; }
  .home-page .site-footer { flex-wrap: wrap; }
  .home-page .site-footer nav { width: 100%; margin-left: 0; }
}
@media (max-width: 800px) {
  .home-page { --feature-columns: minmax(0, 1fr); }
  .home-page .site-header { min-height: 80px; gap: 16px; }
  .cinema-hero { padding-top: 32px; }
  .cinema-intro { font-size: 15px; }
  .device-scene { margin-top: 32px; padding-right: 48px; }
  .television { border-width: 4px; border-radius: 10px; }
  .iphone { border-width: 4px; border-radius: 25px; }
  .native-section, .library-feature, .reading-demo, .install-section { gap: 32px; }
  .native-intro > p, .reading-demo-copy > p { max-width: 48ch; }
  .native-features { max-width: none; }
  .playback-heading { gap: 24px; }
  .playback-heading > p { font-size: 15px; }
  .playback-paths h3 { font-size: 25px; }
  .playback-paths p { font-size: 14px; }
  .engineering-notes { gap: 32px; margin-top: 32px; }
  .browser-heading { align-items: start; flex-direction: column; gap: 24px; }
  .browser-heading p { font-size: 15px; }
  .collection-line { gap: 16px; }
  .collection-line .text-link { min-height: 44px; }
  .main-nav a { font-size: 13px; }
  .search-trigger { padding: 0; }
}
@media (max-width: 560px) {
  .home-page .site-header { gap: 8px; }
  .main-nav .source-link { display: none; }
  .main-nav > a:nth-child(2), .main-nav .reading-nav-link, .main-nav .requests-nav-link { display: none; }
  .cinema-hero h1 { font-size: clamp(44px, 11.6vw, 64px); }
  .cinema-intro br { display: none; }
  .cinema-actions { flex-direction: column; gap: 8px; }
  .cinema-actions .button { padding-inline: 24px; }
  .device-scene { padding: 0 24px 72px 0; }
  .iphone { width: 28%; bottom: 72px; border-width: 3px; border-radius: 16px; }
  .television { border-width: 3px; border-radius: 8px; }
  .device-scene figcaption { position: absolute; bottom: 16px; left: 0; width: 100%; margin: 0; text-align: center; }
  .platform-line { align-items: start; flex-direction: column; gap: 8px; }
  .native-intro > p, .reading-demo-copy > p, .library-feature-copy p { font-size: 14px; }
  .native-features dt { font-size: 16px; }
  .native-features dd { font-size: 14px; }
  .manga-demo figcaption { align-items: start; flex-direction: column; gap: 8px; }
  .playback-paths { grid-template-columns: 1fr; gap: 0; margin-top: 32px; }
  .playback-paths li { padding-block: 24px; }
  .playback-paths li + li { border-top: 1px solid var(--rule); }
  .playback-paths li + li::before { display: none; }
  .playback-paths h3 { font-size: 28px; margin-bottom: 8px; }
  .playback-paths p br { display: none; }
  .engineering-notes p { font-size: 14px; }
  .home-page .product-preview > picture > img { aspect-ratio: 390 / 844; }
  .home-page .product-preview figcaption { padding: 16px; align-items: start; }
  .product-preview figcaption > span { max-width: 22ch; }
  .collection-line p { line-height: 1.8; }
  .install-command pre { padding: 16px; font-size: 13px; }
  .install-command .code-heading { padding-left: 16px; }
  .home-page .site-footer { display: grid; grid-template-columns: 1fr; align-items: start; gap: 8px; }
  .home-page .site-footer nav { justify-content: start; gap: 0 24px; margin-top: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
@media (forced-colors: active) {
  .button.primary {
    border: 1px solid ButtonText;
  }
  .preview-tabs [aria-pressed='true'] {
    border-bottom: 2px solid Highlight;
  }
  .status-dot {
    background: CanvasText;
  }
}

/* Shared app icon family: inherit text color without changing the brand mark. */
.lumina-icon {
  display: inline-block;
  flex-shrink: 0;
  vertical-align: -0.2em;
}
