:root {
  --ink: #14213D;
  --ink-soft: #1B2A44;
  --paper: #EEF2F6;
  --white: #FFFFFF;
  --muted: #5B6B82;
  --line: #D5DEE8;
  --clear: #1F8A70;
  --clear-bright: #3FBF9A;
  --broken: #C0392B;
  --on-ink: #F3F6FA;
  --on-ink-muted: #A9B6C8;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --body: "IBM Plex Sans", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--body); }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--clear-bright); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 68rem; margin: 0 auto; padding: 0 1.5rem; }
.prose { max-width: 40rem; }

/* Hero */
.hero { background: var(--ink); color: var(--on-ink); padding: 1.5rem 0 4.5rem; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .6rem; font: 700 1.05rem var(--display); text-decoration: none; }
.brand img { width: 2rem; height: 2rem; }
.bar a.gh { color: var(--on-ink-muted); text-decoration: none; font-weight: 500; }
.bar a.gh:hover { color: var(--on-ink); }
h1 {
  font: 700 clamp(2.4rem, 6.2vw, 4.6rem)/1.02 var(--display);
  letter-spacing: -0.03em; margin: 3.5rem 0 1.25rem; max-width: 15ch;
}
.lede { font-size: 1.2rem; color: var(--on-ink-muted); max-width: 36rem; margin: 0 0 2.25rem; }
.downloads { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.btn {
  display: inline-flex; align-items: center; gap: .5rem; padding: .85rem 1.35rem; border-radius: 999px;
  font: 600 1rem var(--body); text-decoration: none; border: 2px solid transparent;
}
.btn-primary { background: var(--on-ink); color: var(--ink); }
.btn-primary:hover { background: var(--white); }
.btn-ghost { border-color: #3A4A63; color: var(--on-ink); }
.btn-ghost:hover { border-color: var(--on-ink-muted); }
.meta { color: var(--on-ink-muted); font-size: .95rem; margin-top: 1rem; }

/* Delivery path: the page's one bold element */
.path-section { background: var(--ink-soft); color: var(--on-ink); padding: 4rem 0 4.5rem; }
.path-section h2 { color: var(--on-ink); }
.path-section p.intro { color: var(--on-ink-muted); }
.toggle { display: inline-flex; background: var(--ink); border-radius: 999px; padding: .3rem; margin: 1.5rem 0 2.5rem; }
.toggle button {
  font: 600 .95rem var(--body); border: 0; background: none; color: var(--on-ink-muted);
  padding: .6rem 1.1rem; border-radius: 999px; cursor: pointer;
}
.toggle button[aria-pressed="true"] { background: var(--on-ink); color: var(--ink); }
.path { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; }
.hop { position: relative; padding-top: 2.4rem; padding-right: 1rem; }
.hop::before {
  content: ""; position: absolute; top: .55rem; left: 0; right: 6px; height: 14px; border-radius: 4px;
  background: var(--clear-bright); transition: background .35s ease;
}
.hop strong { display: block; font: 700 1.05rem/1.25 var(--display); margin-bottom: .3rem; }
.hop span { color: var(--on-ink-muted); font-size: .95rem; }
.hop .state { display: block; margin-top: .6rem; font-weight: 600; font-size: .9rem; color: var(--clear-bright); }
[data-mode="hyperos"] .hop.gms::before,
[data-mode="hyperos"] .hop.after::before { background: var(--broken); }
[data-mode="hyperos"] .hop.gms .state,
[data-mode="hyperos"] .hop.after .state { color: #EF6B5B; }
.verdict { margin-top: 2.25rem; font: 500 1.25rem/1.4 var(--display); max-width: 40rem; }

/* Sections */
section.block { padding: 4.5rem 0 1rem; }
h2 { font: 700 clamp(1.7rem, 3.4vw, 2.4rem)/1.1 var(--display); letter-spacing: -0.02em; margin: 0 0 1rem; }
p.intro { color: var(--muted); font-size: 1.1rem; max-width: 40rem; margin-top: 0; }


.shots { list-style: none; padding: 0; margin: 2.25rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.shots figure { margin: 0; }
.shots img {
  display: block; width: 100%; height: auto; border-radius: 28px; background: var(--ink);
  border: 6px solid var(--ink); box-shadow: 0 18px 40px -18px rgba(20, 33, 61, .45);
}
.shots figcaption { margin-top: .9rem; color: var(--muted); font-size: .95rem; }
.shots figcaption b { display: block; color: var(--ink); font: 700 1.05rem var(--display); margin-bottom: .1rem; }
.shots-note { color: var(--muted); font-size: .9rem; margin: 1.5rem 0 0; }

.install-layout { display: grid; grid-template-columns: minmax(0, 1fr) 14rem; gap: 0 3.5rem; align-items: start; }
.install-layout ol.steps { grid-column: 1; grid-row: 1; }
.install-video { grid-column: 2; grid-row: 1; margin: 2rem 0 0; position: sticky; top: 1.5rem; }
.install-video video {
  display: block; width: 100%; height: auto; border-radius: 22px; background: var(--ink);
  border: 5px solid var(--ink); box-shadow: 0 14px 30px -16px rgba(20, 33, 61, .45);
}
.install-video figcaption { margin-top: .6rem; color: var(--muted); font-size: .85rem; }

.features { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 3rem; }
.features li { padding: 1.25rem 0; border-top: 1px solid var(--line); }
.features strong { display: block; font-weight: 600; margin-bottom: .2rem; }
.features span { color: var(--muted); }

ol.steps { counter-reset: step; list-style: none; padding: 0; margin: 2rem 0 0; max-width: 46rem; }
ol.steps > li { counter-increment: step; position: relative; padding: 0 0 2rem 3.5rem; }
ol.steps > li::before {
  content: counter(step); position: absolute; left: 0; top: -.15rem; width: 2.3rem; height: 2.3rem;
  border-radius: 50%; background: var(--ink); color: var(--on-ink); display: grid; place-items: center;
  font: 700 1rem var(--display);
}
ol.steps h3 { font: 700 1.2rem var(--display); margin: 0 0 .4rem; }
ol.steps p, ol.steps ul { margin: .3rem 0; }
ol.steps ul { padding-left: 1.1rem; color: var(--muted); }
code, pre { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: .9em; }
pre { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: .9rem 1rem; overflow-x: auto; }
p code, li code { background: var(--white); border: 1px solid var(--line); padding: .05rem .35rem; border-radius: 6px; }

.faq details { border-top: 1px solid var(--line); padding: 1.1rem 0; max-width: 46rem; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.1rem; list-style-position: outside; }
.faq details p { color: var(--muted); margin: .7rem 0 0; }

footer { margin-top: 4.5rem; padding: 2rem 0 3rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .95rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; }

@media (max-width: 760px) {
  .install-layout { grid-template-columns: 1fr; }
  .install-video { grid-column: 1; grid-row: 2; position: static; max-width: 11rem; margin: 0 0 1.5rem; }
  .path { grid-template-columns: 1fr; }
  .hop { padding: 0 0 1.4rem 2.2rem; }
  .hop::before { top: .25rem; bottom: .25rem; left: 0; right: auto; width: 12px; height: auto; }
  .features { grid-template-columns: 1fr; }
  .shots { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 1.25rem; padding-bottom: 1rem; margin-right: -1.25rem; }
  .shots li { flex: 0 0 72%; scroll-snap-align: start; }
  h1 { margin-top: 2.5rem; }
}
@media (prefers-reduced-motion: reduce) { .hop::before { transition: none; } }

/* Language picker */
.bar-end { display: flex; align-items: center; gap: 1.25rem; }
.lang { position: relative; }
.lang select {
  appearance: none; -webkit-appearance: none; font: 500 .95rem var(--body); color: var(--on-ink);
  background: transparent; border: 2px solid #3A4A63; border-radius: 999px; padding: .4rem 2rem .4rem 1rem; cursor: pointer;
}
.lang select:hover { border-color: var(--on-ink-muted); }
.lang select option { color: #14213D; background: #fff; }
.lang::after { content: ""; position: absolute; right: .85rem; top: 50%; width: .45rem; height: .45rem; border: solid var(--on-ink-muted); border-width: 0 2px 2px 0; transform: translateY(-70%) rotate(45deg); pointer-events: none; }

/* Scripts that need looser spacing than the Latin display type */
html:lang(bn) h1, html:lang(bn) h2, html:lang(bn) h3, html:lang(bn) .verdict,
html:lang(hi) h1, html:lang(hi) h2, html:lang(hi) h3, html:lang(hi) .verdict,
html:lang(zh) h1, html:lang(zh) h2, html:lang(zh) h3 { letter-spacing: 0; line-height: 1.3; }
html:lang(bn) h1, html:lang(hi) h1, html:lang(zh) h1 { max-width: 18ch; }
html:lang(bn) body, html:lang(hi) body { line-height: 1.75; }
