@charset "UTF-8";

:root {
  color-scheme: dark;
  --background: #101112;
  --surface: #181a1b;
  --text: #f6f4f0;
  --muted: #a6a9ab;
  --line: #303234;
  --accent: #ff8a24;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-synthesis: none;
  color: var(--text);
  background: var(--background);
}

* { box-sizing: border-box; }
body { margin: 0; font-size: 1rem; line-height: 1.4; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
.page { width: min(80rem, calc(100% - 3rem)); margin: clamp(.75rem, 2vh, 1.5rem) auto; }
.header { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: .8rem; font-size: .8125rem; font-weight: 500; letter-spacing: .13em; }
.brand img { display: block; width: 6rem; height: auto; }
.brand span { padding-top: .2rem; }
.development { color: #bcc0c1; font-size: .875rem; }
h2 { font-size: .875rem; font-weight: 500; letter-spacing: .06em; color: #a8afb2; margin-bottom: .5rem; }

.download-section { display: grid; grid-template-columns: 8rem minmax(0, 1fr); align-items: center; gap: 1rem; margin-block: .85rem 1rem; padding: .85rem 1rem; background: #091218; border: 1px solid #303537; border-radius: .3rem; }
.download-section h2 { margin-bottom: .2rem; color: #d6d8d8; }
#download-note { font-size: .8125rem; color: #969ea2; }
.downloads { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.download-link { display: flex; align-items: center; justify-content: center; gap: .65rem; height: 100%; min-height: 3.5rem; padding: .8rem 1rem; text-align: center; color: #20150c; border: 1px solid #ff8a24; border-radius: .4rem; font-size: 1.125rem; font-weight: 600; line-height: 1.3; background: var(--accent); }
.download-label { display: flex; flex-direction: column; gap: .05rem; }
.download-label small { font-size: .75rem; font-weight: 400; line-height: 1.3; color: #3b2818; }
.download-icon { display: block; width: 1.75rem; height: 1.75rem; flex: 0 0 auto; filter: brightness(0); opacity: .88; }

.device-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.device-group { padding: .7rem 1rem; border: 1px solid var(--line); border-radius: .25rem; background: var(--surface); }
.device-group h3 { color: #a6aeb1; font-size: .8125rem; letter-spacing: .035em; font-weight: 400; margin-bottom: .4rem; }
.device-group ul { display: flex; flex-wrap: wrap; gap: .3rem 1.75rem; }
.device-group li { display: flex; align-items: baseline; flex-wrap: wrap; gap: .15rem .55rem; }
.device-group strong { font-size: 1rem; font-weight: 500; letter-spacing: -.01em; }
.device-name { display: inline-flex; align-items: center; gap: .45rem; }
.device-logo { display: block; width: 1.625rem; height: 1.5rem; object-fit: contain; flex: 0 0 auto; }
.device-logo-xreal { width: 3.875rem; height: .875rem; }
.note { color: #a4abad; font-size: .75rem; }

.features { margin-top: 1rem; padding: .9rem; background: #080e12; border: 1px solid rgb(236 241 243 / 9%); border-radius: .6rem; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7rem; }
.feature-grid article { min-width: 0; padding: .8rem .9rem; background: #181a1b; border: 1px solid rgb(236 241 243 / 12%); border-radius: .5rem; }
.feature-grid h3 { font-size: 1.0625rem; font-weight: 500; letter-spacing: -.015em; }
.feature-grid h3::before { content: ""; display: inline-block; vertical-align: middle; width: .2rem; height: .8rem; margin-right: .5rem; border-radius: 1px; background: var(--accent); }
.feature-details li { color: var(--muted); font-size: 1rem; line-height: 1.4; }
.feature-details li + li { margin-top: .2rem; }
.feature-tags { display: flex; flex-wrap: wrap; gap: .3rem; margin-block: .6rem .65rem; }
.feature-tags li { display: inline-flex; align-items: center; justify-content: center; min-width: 2.25rem; padding: .2rem .4rem; border: 1px solid rgb(236 241 243 / 35%); border-radius: .35rem; background: rgb(7 16 22 / 28%); color: #e7ebec; font-size: .75rem; font-weight: 500; line-height: 1.3; letter-spacing: .02em; }
::selection { color: #101112; background: #ffb675; }

@media (min-width: 900px) and (max-height: 760px) {
  .page { margin-block: .65rem; }
  .download-section { margin-block: .55rem .7rem; padding-block: .65rem; }
  .features { margin-top: .7rem; padding: .7rem; }
  .feature-grid { gap: .55rem; }
  .feature-grid article { padding-block: .65rem; }
  .feature-tags { margin-block: .45rem .5rem; }
}

@media (max-width: 899px) {
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .download-section { grid-template-columns: 1fr; gap: .6rem; }
  .download-section > div { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
  .download-section h2 { margin: 0; }
  .device-group ul { flex-direction: column; }
}

@media (max-width: 540px) {
  .page { width: calc(100% - 1.5rem); }
  .brand { gap: .6rem; font-size: .75rem; }
  .brand img { width: 5rem; }
  .development { font-size: .8125rem; }
  .downloads { gap: .45rem; }
  .download-link { flex-direction: column; gap: .35rem; min-height: 4.5rem; padding-inline: .4rem; font-size: .9375rem; }
  .device-grid, .feature-grid { grid-template-columns: 1fr; }
  .device-group ul { flex-direction: row; }
  .feature-grid article { padding: .85rem; }
}
