/* ErgenOS — graphite / ice. Shared by both languages and all guides. */
:root {
  --navy:#080c10;
  --ink:#edf3f7;
  --muted:#9aa9b5;
  --line:#ffffff15;
  --blue:#3ca9d8;
  --blue2:#1b78b4;
  --surface:#10161c;
}

html {
  scroll-padding-top:100px;
}

body {
  background:var(--navy);
  font-family:Inter,"Segoe UI",system-ui,sans-serif;
  -webkit-font-smoothing:antialiased;
}

::selection {
  background:#3ca9d8;
  color:#080c10;
}

a,button,summary {
  -webkit-tap-highlight-color:transparent;
}

:focus-visible {
  outline:2px solid var(--blue);
  outline-offset:6px;
}

button {
  font:inherit;
  cursor:pointer;
}

p {
  text-wrap:pretty;
}

h1,h2,h3 {
  text-wrap:balance;
}

.skip-link {
  position:fixed;
  left:20px;
  top:-100px;
  z-index:100;
  background:var(--blue);
  color:#080c10;
  padding:15px;
  border-radius:6px;
}

.skip-link:focus {
  top:15px;
}

.nav-shell {
  max-width:1320px;
  height:88px;
  padding:0 44px;
  background:#080c10e8;
  border-color:var(--line);
  backdrop-filter:blur(24px);
}

.brand {
  font-size:23px;
  gap:8px;
  letter-spacing:-1px;
}

.brand img {
  width:40px;
  height:40px;
}

.header-actions {
  display:flex;
  gap:20px;
  align-items:center;
}

nav {
  gap:26px;
  font-size:12px;
}

nav a {
  padding:12px 0;
  transition:color .2s;
}

nav a:hover,nav a.active {
  color:var(--blue);
}

.button {
  border-radius:6px;
  background:var(--blue);
  color:#08131a;
  box-shadow:none;
  padding:0 25px;
  min-height:52px;
  font-size:14px;
  font-weight:700;
  gap:24px;
}

.button:after {
  content:'↗';
  font-size:19px;
  font-weight:400;
}

.button:hover {
  background:#59bce2;
  box-shadow:0 6px 30px #3ca9d818;
  transform:translateY(-2px);
}

.button.small {
  min-height:38px;
  padding:0 14px;
  font-size:12px;
  gap:15px;
}

.language-switcher {
  display:flex;
  gap:3px;
  font-size:11px;
  font-weight:600;
}

.language-switcher a,.language-switcher span {
  padding:9px 7px;
  color:var(--muted);
}

.language-switcher [aria-current] {
  color:var(--ink);
  border-bottom:1px solid var(--blue);
}

.menu-toggle {
  display:none;
}

.hero {
  position:relative;
  max-width:1320px;
  min-height:0;
  padding:70px 44px 0;
  display:flex;
  flex-direction:column;
  gap:57px;
  overflow:visible;
}

.hero:before {
  content:'';
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:850px;
  z-index:-1;
  background:radial-gradient(ellipse at 50% 56%,#25658422,transparent 64%);
  pointer-events:none;
}

.hero-copy {
  text-align:center;
  max-width:940px;
  animation:enter .8s ease both;
}

.hero-kicker {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:13px;
  font:10px/1.6 ui-monospace,monospace;
  letter-spacing:2px;
  color:#81929e;
  margin-bottom:25px;
}

.hero-kicker span {
  width:3px;
  height:3px;
  background:#3ca9d8;
  border-radius:100%;
}

.release-pill {
  font-size:11px;
  padding:5px 11px 5px 6px;
  background:#ffffff04;
  border-color:#ffffff1a;
  gap:9px;
}

.release-pill span {
  background:#3ca9d819;
  color:var(--blue);
  font-size:9px;
  padding:4px 7px;
}

.release-pill:after {
  content:'↗';
  color:var(--blue);
  padding-left:10px;
}

h1 {
  font-size:clamp(64px,7.7vw,106px);
  font-weight:650;
  letter-spacing:-.072em;
  line-height:1.01;
  margin:25px 0 22px;
}

h1 em {
  color:var(--blue);
  font-weight:450;
}

.hero .lead {
  max-width:580px;
  font-size:16px;
  line-height:1.75;
  margin:0 auto;
  color:#9dabb7;
}

.hero-actions {
  justify-content:center;
  gap:30px;
  margin-top:28px;
}

.text-link {
  font-size:13px;
  font-weight:500;
}

.text-link span {
  color:var(--blue);
}

.fine-print {
  font-size:10px;
  letter-spacing:.6px;
  color:#91a0ad;
  margin:20px 0 0;
}

.desktop-stage {
  width:100%;
  max-width:1100px;
}

.stage-label,.stage-footer {
  display:flex;
  align-items:center;
  justify-content:space-between;
  font:9px/1.6 ui-monospace,monospace;
  letter-spacing:1.1px;
  color:#8698a7;
  padding:0 0 14px;
}

.stage-label span:first-child {
  display:flex;
  align-items:center;
  gap:8px;
  color:#c7d6df;
}

.stage-label i {
  width:5px;
  height:5px;
  border-radius:100%;
  background:#9ce6c7;
  box-shadow:0 0 10px #9ce6c744;
}

.desktop-shot {
  display:block;
  aspect-ratio:16/10;
  border-radius:9px;
  transform:none;
  background:#101820;
  border:1px solid #ffffff25;
  box-shadow:0 40px 100px #0008;
  position:relative;
  overflow:hidden;
  transition:box-shadow .3s;
}

.desktop-shot>img {
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
}

.desktop-shot:hover {
  box-shadow:0 25px 100px #3678a022;
}

.shot-hint {
  position:absolute;
  right:18px;
  bottom:18px;
  background:#080c10c9;
  border:1px solid #ffffff25;
  border-radius:5px;
  padding:10px 14px;
  font-size:11px;
  backdrop-filter:blur(12px);
}

.shot-hint:after {
  content:' ⤢';
  padding-left:14px;
}

.stage-footer {
  padding:15px 0 0;
  font-size:9px;
  letter-spacing:.4px;
}

.stage-footer>span:last-child {
  display:flex;
  align-items:center;
  gap:16px;
}

.stage-line {
  width:75px;
  height:1px;
  background:linear-gradient(to right,var(--blue) 25%,#ffffff25 25%);
}

.platform-strip {
  max-width:1100px;
  margin:47px auto 0;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  padding:26px 0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}

.platform-strip>span {
  font-size:11px;
  color:var(--muted);
  max-width:160px;
  line-height:1.6;
}

.platform-strip b {
  font-size:15px;
  font-weight:500;
  letter-spacing:-.4px;
  color:#c1cbd3;
}

.section {
  max-width:1188px;
  padding:112px 44px;
}

.section-heading {
  max-width:720px;
  margin-bottom:44px;
}

.eyebrow {
  font:10px/1.5 ui-monospace,monospace;
  letter-spacing:1.8px;
  color:var(--blue);
  font-weight:500;
}

.eyebrow:before {
  content:'+';
  margin-right:10px;
}

h2 {
  font-size:clamp(34px,4vw,52px);
  font-weight:500;
  letter-spacing:-.055em;
  line-height:1.1;
  margin:16px 0;
}

.section-heading p {
  max-width:570px;
  font-size:14px;
  line-height:1.8;
}

.feature-grid {
  gap:0;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}

.feature-grid article {
  background:none;
  border:0;
  border-right:1px solid var(--line);
  border-radius:0;
  padding:30px;
  min-height:270px;
  transition:background .3s;
}

.feature-grid article:first-child {
  padding-left:0;
}

.feature-grid article:last-child {
  border:0;
  padding-right:0;
}

.feature-grid article:hover {
  background:#ffffff02;
}

.feature-number {
  color:var(--blue);
  font-size:11px;
}

.feature-number:after {
  content:' /';
  color:#ffffff25;
}

h3 {
  font-size:20px;
  font-weight:550;
  letter-spacing:-.6px;
  margin:36px 0 12px;
}

.feature-grid p,.app-card p,.steps p {
  font-size:13px;
  line-height:1.8;
}

.recovery-band {
  position:relative;
  max-width:1100px;
  margin:0 auto;
  padding:56px;
  background:radial-gradient(ellipse at 100% 0,#25536a44,transparent 70%),#10191f;
  box-shadow:none;
  border:1px solid #3ca9d825;
  border-radius:9px;
  gap:25px 60px;
  overflow:hidden;
}

.recovery-band:after {
  content:'↶';
  position:absolute;
  font-size:220px;
  right:8px;
  bottom:-65px;
  color:#3ca9d805;
  pointer-events:none;
}

.recovery-band h2 {
  font-size:42px;
}

.eyebrow.light {
  color:var(--blue);
}

.recovery-band p {
  font-size:13px;
  line-height:1.8;
  color:var(--muted);
  max-width:430px;
}

.timeline {
  gap:0;
  font:10px/1.5 ui-monospace,monospace;
}

.timeline span {
  border:1px solid #3ca9d830;
  background:#0b1219;
  padding:16px 11px;
  border-radius:5px;
  color:#c5dce9;
  text-align:center;
}

.timeline span:first-child,.timeline span:last-child {
  border-color:#91d4bb55;
}

.timeline i {
  min-width:20px;
  margin:0;
  width:35px;
  background:#3ca9d850;
}

.timeline i:after {
  background:#3ca9d8;
  width:5px;
  height:5px;
  top:-2px;
}

.apps-section {
  padding-bottom:40px;
}

.app-grid {
  gap:18px;
}

.app-card,.app-card.featured {
  min-height:290px;
  padding:28px;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:8px;
  transition:transform .25s,border-color .25s;
}

.app-card:hover {
  transform:translateY(-5px);
  border-color:#3ca9d860;
}

.app-card>img {
  height:62px;
  width:62px;
  object-fit:contain;
  object-position:left;
}

.app-card h3 {
  margin-top:26px;
}

.card-link {
  font-size:11px;
  color:var(--blue);
  display:inline-block;
  margin-top:15px;
}

.gallery-section {
  padding-top:65px;
}

.screenshot-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
}

.screenshot-card {
  display:block;
  overflow:hidden;
  border:1px solid var(--line);
  background:var(--surface);
  border-radius:8px;
  transition:border-color .25s;
}

.screenshot-card:hover {
  border-color:#3ca9d870;
}

.screenshot-card img {
  display:block;
  width:100%;
  aspect-ratio:16/10;
  object-fit:contain;
  transition:transform .4s;
}

.screenshot-card:hover img {
  transform:scale(1.015);
}

.screenshot-wide {
  grid-column:1/-1;
}

.screenshot-card>span {
  display:flex;
  justify-content:space-between;
  gap:15px;
  align-items:center;
  padding:21px 24px;
  border-top:1px solid var(--line);
}

.screenshot-card strong {
  font-size:13px;
  font-weight:500;
}

.screenshot-card small {
  color:var(--muted);
  font:10px ui-monospace,monospace;
}

.screenshot-card small:after {
  content:' ↗';
  color:var(--blue);
  margin-left:12px;
}

.requirements-section {
  padding-top:20px;
  padding-bottom:75px;
}

.requirements-grid {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:0;
  border-block:1px solid var(--line);
}

.requirements-grid article {
  padding:27px 24px;
  border-right:1px solid var(--line);
}

.requirements-grid article:first-child {
  padding-left:0;
}

.requirements-grid article:last-child {
  border:0;
}

.requirements-grid article>span {
  font:10px ui-monospace,monospace;
  color:var(--blue);
  text-transform:uppercase;
  letter-spacing:1px;
}

.requirements-grid h3 {
  font-size:20px;
  margin:19px 0 12px;
}

.requirements-grid p,.hardware-notes p {
  font-size:12px;
  line-height:1.8;
  color:var(--muted);
}

.hardware-notes {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:25px;
  margin-top:20px;
}

.hardware-notes p {
  padding-left:16px;
  border-left:1px solid #3ca9d845;
}

.hardware-notes strong {
  color:#d0dae2;
}

.hardware-notes a,.page-content a,details p a {
  color:var(--blue);
  text-decoration:underline;
  text-underline-offset:3px;
}

.install-section {
  padding-top:35px;
}

.steps {
  gap:30px;
}

.steps li {
  padding:28px 0;
  gap:15px;
}

.steps li>span {
  border-radius:6px;
  background:#ffffff06;
  border:1px solid var(--line);
  color:var(--blue);
  font:12px ui-monospace,monospace;
}

.steps h3 {
  font-size:18px;
}

.guide-link {
  display:inline-block;
  margin-top:15px;
  color:var(--blue);
}

.download {
  max-width:1100px;
  margin:0 auto 20px;
  border-radius:9px;
  padding:55px;
  background:var(--blue);
  color:#0c202c;
  position:relative;
  overflow:hidden;
  gap:45px;
  align-items:flex-start;
}

.download .eyebrow {
  color:#26546b;
}

.download h2 {
  font-size:48px;
}

.download-actions {
  min-width:0;
  flex:1;
  gap:19px;
}

.download>div:first-child {
  flex:1;
}

.button.white {
  background:#0d202b;
  color:#effaff;
  width:100%;
  justify-content:space-between;
}

.button.white:hover {
  background:#173d51;
}

.download-actions>a:not(.button) {
  font-size:12px;
  color:#183d50;
}

.download .download-note {
  font-size:11px;
  line-height:1.6;
  color:#21465b;
  margin:0;
  order:5;
}

.release-meta {
  display:flex;
  flex-wrap:wrap;
  font:10px/1.6 ui-monospace,monospace;
  gap:5px 15px;
  color:#254e63;
}

.checksum {
  width:100%;
  display:grid;
  grid-template-columns:1fr auto;
  gap:8px 15px;
  padding:14px;
  border:1px solid #0d202b30;
  border-radius:5px;
  background:#ffffff19;
}

.checksum>span {
  grid-column:1/-1;
  font:9px ui-monospace,monospace;
  letter-spacing:1px;
}

.download .checksum code {
  color:#21485d;
  overflow-wrap:anywhere;
  font-size:10px;
  line-height:1.6;
}

.checksum button {
  border:0;
  background:none;
  color:#13384d;
  font-size:11px;
  font-weight:700;
  align-self:start;
  padding:0;
}

.faq {
  gap:70px;
  padding-top:100px;
}

.faq h2 {
  font-size:48px;
}

.faq details {
  padding:23px 0;
}

.faq summary {
  font-size:14px;
  font-weight:500;
  gap:24px;
  line-height:1.5;
}

.faq summary:after {
  color:var(--blue);
}

.faq details p {
  font-size:13px;
}

.faq-list {
  border-top:1px solid var(--line);
}

footer {
  max-width:1100px;
  padding:35px 0 45px;
  grid-template-columns:1fr 1fr;
  gap:20px;
}

footer p {
  justify-self:end;
  font-size:11px;
}

footer>div {
  grid-column:1/-1;
  justify-content:flex-start;
  flex-wrap:wrap;
  font-size:11px;
  gap:24px;
}

.page-main {
  min-height:70vh;
}

.page-hero {
  max-width:920px;
  padding:65px 30px 30px;
  margin:auto;
}

.back-link {
  display:block;
  color:var(--muted);
  font-size:12px;
  margin-bottom:45px;
}

.page-hero h1 {
  font-size:clamp(44px,6vw,72px);
  margin-top:20px;
}

.page-hero .lead {
  font-size:17px;
}

.page-content {
  max-width:920px;
  padding:0 30px 100px;
  margin:auto;
}

.guide-steps,.limitation-list {
  list-style:none;
  padding:0;
  display:grid;
  gap:18px;
}

.guide-steps li,.limitation-card {
  padding:30px;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:8px;
}

.guide-steps h2,.limitation-card h2 {
  font-size:25px;
  margin-top:0;
}

.page-content p,.page-content li {
  font-size:14px;
  line-height:1.85;
  color:var(--muted);
}

.page-content h2,.page-content strong {
  color:var(--ink);
}

.page-content code {
  overflow-wrap:anywhere;
}

.guide-steps>li>code,.guide-steps pre {
  display:block;
  white-space:pre-wrap;
  padding:18px;
  border-radius:5px;
  background:#080c10;
  color:var(--blue);
  font-size:12px;
  overflow-wrap:anywhere;
}

.page-content pre {
  max-width:100%;
  overflow:auto;
  white-space:pre-wrap;
}

.page-content p code {
  font-size:12px;
  color:var(--blue);
}

.lightbox {
  max-width:min(1280px,94vw);
  width:100%;
  padding:0;
  border:1px solid #ffffff30;
  border-radius:10px;
  background:#10161c;
  color:var(--ink);
  box-shadow:0 30px 150px #000a;
}

.lightbox::backdrop {
  background:#030608e8;
  backdrop-filter:blur(16px);
}

.lightbox-head {
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 20px;
  gap:20px;
}

.lightbox-head p {
  font-size:12px;
  margin:0;
  color:var(--muted);
}

.lightbox button {
  color:var(--ink);
  background:#ffffff08;
  border:1px solid var(--line);
  border-radius:5px;
  min-width:44px;
  min-height:44px;
}

.lightbox img {
  display:block;
  width:100%;
  max-height:75vh;
  object-fit:contain;
  background:#05090c;
}

.lightbox-controls {
  display:flex;
  justify-content:center;
  align-items:center;
  gap:25px;
  padding:12px;
  font:11px ui-monospace,monospace;
}

.dialog-open {
  overflow:hidden;
}

@keyframes enter {
  from {
    opacity:0;
    transform:translateY(15px);
  }
  to {
    opacity:1;
    transform:translateY(0);
  }
}

@media(min-width:1600px) {
  .hero {
    padding-top:90px;
  }
}

@media(max-width:1100px) {
  nav {
    gap:15px;
    font-size:11px;
  }
  .nav-shell {
    padding-inline:25px;
  }
  .header-actions {
    gap:10px;
  }
  .platform-strip {
    margin-inline:44px;
  }
  .recovery-band,.download {
    margin-inline:44px;
  }
  footer {
    margin-inline:44px;
  }
  .recovery-band {
    padding:35px;
    gap:25px;
    grid-template-columns:1fr 1fr;
  }
  .timeline {
    flex-wrap:wrap;
  }
  .timeline span {
    padding:12px 8px;
    font-size:9px;
  }
  .timeline i {
    width:20px;
  }
  .download {
    padding:35px;
  }
}

@media(max-width:850px) {
  .nav-shell {
    height:74px;
  }
  .menu-toggle {
    display:block;
    margin-left:auto;
    margin-right:15px;
    padding:10px;
    width:42px;
    height:42px;
    border:1px solid var(--line);
    border-radius:5px;
    background:#ffffff05;
  }
  .menu-toggle span {
    display:block;
    height:1px;
    margin:5px 0;
    background:var(--ink);
  }
  .nav-shell nav {
    display:none;
    position:absolute;
    top:73px;
    left:15px;
    right:15px;
    padding:15px;
    background:#10161c;
    border:1px solid var(--line);
    border-radius:6px;
    box-shadow:0 20px 35px #0008;
  }
  .nav-shell nav.is-open {
    display:flex;
    flex-direction:column;
    gap:0;
  }
  .nav-shell nav a {
    padding:14px;
    font-size:14px;
  }
  .hero {
    padding:50px 25px 0;
    gap:40px;
  }
  .hero-copy {
    width:100%;
  }
  .hero h1 {
    font-size:80px;
  }
  .section {
    padding:80px 25px;
  }
  .platform-strip {
    margin-inline:25px;
    flex-wrap:wrap;
    justify-content:center;
    gap:20px 30px;
  }
  .platform-strip>span {
    flex:1 0 100%;
    max-width:none;
    text-align:center;
  }
  .platform-strip b {
    font-size:13px;
  }
  .feature-grid {
    grid-template-columns:1fr;
  }
  .feature-grid article,.feature-grid article:first-child,.feature-grid article:last-child {
    min-height:0;
    padding:25px 0;
    border:0;
    border-bottom:1px solid var(--line);
  }
  .feature-grid article:last-child {
    border-bottom:0;
  }
  .feature-grid h3 {
    margin-top:18px;
  }
  .recovery-band {
    margin:0 25px;
    padding:35px;
    grid-template-columns:1fr;
  }
  .timeline {
    justify-content:flex-start;
  }
  .timeline span {
    font-size:11px;
    padding:15px;
  }
  .timeline i {
    width:35px;
  }
  .app-grid {
    grid-template-columns:1fr;
  }
  .app-card,.app-card.featured {
    min-height:0;
    display:grid;
    grid-template-columns:64px 1fr;
    gap:25px;
    padding:25px;
  }
  .app-card h3 {
    margin-top:0;
  }
  .screenshot-grid {
    grid-template-columns:1fr 1fr;
  }
  .requirements-grid {
    grid-template-columns:1fr 1fr;
  }
  .requirements-grid article {
    border-bottom:1px solid var(--line);
  }
  .requirements-grid article:nth-child(3) {
    padding-left:0;
  }
  .requirements-grid article:last-child {
    border-bottom:1px solid var(--line);
  }
  .steps {
    grid-template-columns:1fr;
    gap:0;
  }
  .steps li {
    padding:20px 0;
  }
  .download {
    margin:0 25px;
    padding:35px;
    flex-direction:column;
    gap:25px;
  }
  .download-actions {
    width:100%;
  }
  .download h2 {
    max-width:600px;
  }
  .faq {
    grid-template-columns:1fr;
    gap:15px;
  }
  .faq .section-heading {
    margin-bottom:15px;
  }
  footer {
    margin:0 25px;
    padding:30px 0;
    grid-template-columns:1fr;
  }
  footer p {
    justify-self:start;
    margin:0;
  }
  footer>div {
    gap:20px;
  }
}

@media(max-width:520px) {
  .nav-shell {
    padding-inline:18px;
  }
  .brand {
    font-size:20px;
  }
  .brand img {
    width:34px;
    height:34px;
  }
  .header-actions .button {
    display:none;
  }
  .header-actions {
    gap:0;
  }
  .menu-toggle {
    margin-right:10px;
  }
  .hero {
    padding:42px 20px 0;
    gap:32px;
  }
  .hero-kicker {
    font-size:8px;
    letter-spacing:1px;
    gap:8px;
    margin-bottom:20px;
  }
  .hero h1 {
    font-size:clamp(52px,13vw,68px);
    letter-spacing:-.065em;
  }
  .hero .lead {
    font-size:14px;
    max-width:350px;
  }
  .hero-actions {
    flex-direction:row;
    gap:18px;
    align-items:center;
  }
  .hero-actions .button {
    font-size:12px;
    padding:0 16px;
    gap:12px;
  }
  .hero-actions .text-link {
    font-size:11px;
  }
  .stage-label {
    font-size:8px;
    letter-spacing:.3px;
  }
  .stage-label>span:last-child {
    display:none;
  }
  .stage-footer {
    font-size:8px;
    gap:10px;
  }
  .stage-footer>span:last-child {
    gap:8px;
  }
  .stage-line {
    width:25px;
  }
  .shot-hint {
    right:8px;
    bottom:8px;
    font-size:8px;
    padding:7px;
  }
  .desktop-shot {
    border-radius:5px;
  }
  .platform-strip {
    margin:30px 20px 0;
    padding:20px 0;
    gap:18px 24px;
  }
  .section {
    padding:65px 20px;
  }
  .section-heading {
    margin-bottom:30px;
  }
  h2 {
    font-size:37px;
  }
  .recovery-band {
    margin:0 20px;
    padding:25px;
  }
  .recovery-band h2 {
    font-size:35px;
  }
  .timeline {
    flex-direction:row;
    align-items:center;
    gap:0;
  }
  .timeline span {
    padding:12px 7px;
    font-size:8px;
    flex:1;
  }
  .timeline i {
    width:14px;
    min-width:14px;
    height:1px;
    margin:0;
  }
  .timeline i:after {
    right:0;
    top:-2px;
    bottom:auto;
  }
  .app-card,.app-card.featured {
    grid-template-columns:45px 1fr;
    padding:20px;
    gap:18px;
  }
  .app-card>img {
    width:45px;
    height:45px;
  }
  .app-card h3 {
    font-size:19px;
  }
  .screenshot-grid {
    grid-template-columns:1fr;
  }
  .screenshot-wide {
    grid-column:auto;
  }
  .screenshot-card>span {
    padding:16px;
    gap:10px;
  }
  .screenshot-card strong {
    font-size:11px;
  }
  .screenshot-card small {
    font-size:9px;
  }
  .requirements-grid article {
    padding:22px 14px;
  }
  .requirements-grid h3 {
    font-size:18px;
  }
  .hardware-notes {
    grid-template-columns:1fr;
    gap:0;
  }
  .download {
    margin:0 20px;
    padding:27px;
  }
  .download h2 {
    font-size:40px;
  }
  .download-actions {
    min-width:0;
  }
  .faq h2 {
    font-size:38px;
  }
  .page-hero,.page-content {
    padding-inline:20px;
  }
  .page-hero h1 {
    font-size:46px;
  }
  .guide-steps li,.limitation-card {
    padding:22px;
  }
  .lightbox-head {
    padding:10px;
  }
  .lightbox-head p {
    font-size:10px;
  }
  .lightbox {
    max-width:96vw;
  }
  .lightbox img {
    max-height:65vh;
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto;
  }
  *,*:before,*:after {
    animation:none!important;
    transition:none!important;
  }
}

.screenshot-card img {
  height:auto;
}

.app-card {
  justify-content:flex-start;
}

.app-card>div {
  display:flex;
  flex-direction:column;
  flex:1;
}

.app-card p {
  margin:0 0 10px;
}

.card-link {
  margin-top:auto;
  padding-top:18px;
}

/* Second refinement: larger type, editorial surfaces, integrated application tour. */
:root {
  --muted:#acb9c3;
  --line:#ffffff1c;
}

body {
  font-size:1rem;
}

.hero {
  padding-top:48px;
  gap:42px;
}

.hero-kicker {
  font-size:.75rem;
  letter-spacing:1.4px;
  margin-bottom:20px;
}

.release-pill {
  font-size:.8125rem;
}

.release-pill span {
  font-size:.75rem;
}

.hero h1 {
  font-size:clamp(4rem,7.2vw,6.5rem);
  margin-top:24px;
}

.hero .lead {
  font-size:1.125rem;
  max-width:670px;
}

.hero-actions {
  margin-top:26px;
}

.fine-print {
  font-size:.8125rem;
  letter-spacing:0;
}

.hero:before {
  height:1100px;
  background:radial-gradient(ellipse at 50% 61%,#317eab2b,transparent 63%);
}

.desktop-stage {
  position:relative;
}

.desktop-stage:before {
  content:'';
  position:absolute;
  inset:20% -24px 35px;
  border:1px solid #3ca9d814;
  border-radius:16px;
  z-index:-1;
  transform:translateY(14px);
}

.desktop-shot {
  border-radius:12px;
  box-shadow:0 35px 100px #000a,0 0 80px #499dd414;
}

.stage-label,.stage-footer {
  font-size:.75rem;
  letter-spacing:.3px;
}

.stage-footer>span:last-child {
  gap:12px;
}

.stage-line {
  width:45px;
}

.shot-hint {
  font-size:.8125rem;
  opacity:.82;
  transition:opacity .2s,background .2s;
}

.desktop-shot:hover .shot-hint {
  opacity:1;
  background:#111c28;
}

.platform-strip {
  padding:30px 0;
  gap:22px;
}

.platform-strip>span {
  font-size:.8125rem;
  max-width:190px;
}

.platform-strip b {
  font-size:1rem;
  color:#cbd6de;
}

.nav-shell {
  max-width:1320px;
}

.nav-shell nav {
  font-size:.875rem;
  gap:22px;
}

.button,.button.small,.text-link {
  font-size:.875rem;
}

.button.small {
  min-height:42px;
}

.language-switcher {
  font-size:.8125rem;
}

.language-switcher a,.language-switcher span {
  padding:12px 8px;
}

.button {
  transition:background .2s,transform .2s,box-shadow .2s;
}

.button:hover {
  box-shadow:0 8px 28px #3ca9d820;
}

.brand {
  letter-spacing:-.6px;
}

.brand img {
  transition:filter .25s;
}

.brand:hover img {
  filter:drop-shadow(0 0 10px #3ca9d855);
}

.section {
  padding-top:100px;
  padding-bottom:100px;
}

.section-heading {
  max-width:820px;
}

.eyebrow {
  font-size:.75rem;
  letter-spacing:1.4px;
}

.section-heading p {
  font-size:1rem;
  line-height:1.8;
  max-width:660px;
}

.section-heading h2 {
  font-size:clamp(2.2rem,4vw,3.4rem);
  line-height:1.12;
}

.feature-grid {
  gap:18px;
  border:0;
}

.feature-grid article,.feature-grid article:first-child,.feature-grid article:last-child {
  padding:28px;
  border:1px solid var(--line);
  border-radius:10px;
  background:linear-gradient(145deg,#14212a80,#0c1117);
  transition:border-color .25s,transform .25s;
}

.feature-grid article:hover {
  border-color:#3ca9d855;
  transform:translateY(-3px);
  background:linear-gradient(145deg,#14212a,#0c1117);
}

.feature-top {
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.feature-top svg {
  width:32px;
  height:32px;
  color:var(--blue);
}

.feature-number {
  font-size:.8125rem;
}

.feature-grid h3 {
  font-size:1.375rem;
  margin-top:38px;
  line-height:1.3;
  text-wrap:pretty;
}

.feature-grid p {
  font-size:1rem;
  line-height:1.75;
}

.feature-number:after {
  content:'';
}

.recovery-band {
  grid-template-columns:1fr 1.1fr;
  gap:24px 50px;
  padding:50px;
  background:radial-gradient(ellipse at 90% 60%,#277a9e25,transparent 65%),#10191f;
}

.recovery-band>div:first-child {
  grid-row:1/3;
}

.recovery-band h2 {
  font-size:clamp(2rem,3.5vw,2.75rem);
  line-height:1.15;
}

.recovery-band .timeline {
  align-self:end;
  min-width:0;
}

.recovery-band p {
  grid-column:2;
  font-size:1rem;
  line-height:1.75;
  max-width:none;
}

.timeline span {
  flex:1;
  font-size:.8125rem;
  line-height:1.5;
  padding:18px 10px;
  text-align:left;
  background:#0a141b;
}

.timeline span b {
  display:block;
  color:var(--blue);
  font: .8125rem/1.4 ui-monospace,monospace;
  margin-bottom:14px;
}

.timeline i {
  width:18px;
  min-width:18px;
}

.recovery-band:after {
  display:none;
}

.apps-section {
  padding-bottom:85px;
}

.app-showcase {
  border:1px solid #3ca9d824;
  border-radius:12px;
  overflow:hidden;
  background:radial-gradient(ellipse at 80% 60%,#18557c20,transparent 70%),#0e151c;
}

.app-tabs {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  border-bottom:1px solid var(--line);
  background:#0a1016;
}

.app-tabs[hidden],.app-panel[hidden] {
  display:none;
}

.app-tab {
  display:flex;
  gap:14px;
  align-items:center;
  padding:23px;
  border:0;
  border-right:1px solid var(--line);
  border-bottom:2px solid transparent;
  text-align:left;
  color:#acb9c3;
  background:none;
  font-size:1rem;
  transition:background .2s,color .2s;
}

.app-tab:last-child {
  border-right:0;
}

.app-tab:hover {
  background:#ffffff05;
  color:#fff;
}

.app-tab[aria-selected="true"] {
  background:#3ca9d809;
  border-bottom-color:var(--blue);
  color:var(--ink);
}

.app-tab img {
  object-fit:contain;
  flex-shrink:0;
}

.app-tab small {
  display:block;
  font-size:.8125rem;
  color:#94a8b7;
  margin-top:5px;
}

.tab-index {
  margin-left:auto;
  font: .75rem ui-monospace,monospace;
  color:#7f939f;
}

.app-tab[aria-selected="true"] .tab-index {
  color:var(--blue);
}

.app-tab:focus-visible {
  outline-offset:-6px;
}

.app-panel {
  display:grid;
  grid-template-columns:.8fr 1.2fr;
  align-items:center;
  gap:36px;
  padding:38px;
  min-height:405px;
  animation:enter .3s ease both;
}

.app-panel-copy {
  min-width:0;
}

.app-panel h3 {
  font-size:clamp(1.7rem,2.4vw,2.1rem);
  font-weight:500;
  line-height:1.2;
  margin:16px 0 20px;
  letter-spacing:-.04em;
  text-wrap:pretty;
}

.app-panel p {
  font-size:1rem;
  line-height:1.75;
  color:var(--muted);
  margin:0 0 20px;
}

.app-capabilities {
  list-style:none;
  margin:0 0 26px;
  padding:0;
  display:grid;
  gap:10px;
}

.app-capabilities li {
  font-size:.875rem;
  color:#c8d5df;
  display:flex;
  gap:10px;
  align-items:center;
}

.app-capabilities li:before {
  content:'✓';
  color:#3ca9d8;
  font-size:.8125rem;
}

.app-source {
  font-size:.875rem;
  color:var(--blue);
  line-height:1.6;
}

.app-preview {
  border-radius:7px;
  box-shadow:0 20px 55px #0005;
  transform:perspective(1400px) rotateY(-3deg);
  transition:transform .3s,border-color .3s;
}

.app-preview:hover {
  transform:perspective(1400px) rotateY(0);
}

.app-preview img {
  aspect-ratio:16/10;
  object-fit:contain;
}

.app-preview>span {
  padding:17px;
  gap:15px;
}

.app-preview strong {
  font-size:.875rem;
}

.app-preview small {
  font-size:.8125rem;
}

.showcase-note {
  font-size:.8125rem;
  color:#9aaebd;
  padding:18px 28px;
  margin:0;
  border-top:1px solid var(--line);
  text-align:center;
}

.app-showcase .app-panel:focus-visible {
  outline-offset:-5px;
}

.requirements-section {
  padding-top:15px;
  padding-bottom:55px;
}

.requirements-grid {
  border:1px solid var(--line);
  border-radius:10px;
  background:#0d1319;
  overflow:hidden;
}

.requirements-grid article,.requirements-grid article:first-child {
  padding:28px;
}

.requirements-grid article>span {
  font-size:.75rem;
  letter-spacing:1px;
}

.requirements-grid h3 {
  font-size:1.4rem;
  line-height:1.3;
}

.requirements-grid p,.hardware-notes p {
  font-size:.9375rem;
  line-height:1.8;
}

.hardware-notes {
  gap:25px;
}

.hardware-notes p {
  padding-left:20px;
}

.install-section {
  padding-top:35px;
  padding-bottom:70px;
}

.steps {
  gap:24px;
}

.steps h3 {
  font-size:1.25rem;
}

.steps p {
  font-size:1rem;
}

.steps li>span {
  height:46px;
  flex-basis:46px;
  border-radius:50%;
  background:transparent;
  font-size:.875rem;
}

.guide-link {
  font-size:.9375rem;
}

.download {
  padding:52px;
  gap:55px;
  background:radial-gradient(ellipse at 0 0,#cdf3ff,transparent 72%),#8fd5f3;
}

.download h2 {
  font-size:clamp(2.5rem,4.5vw,3.6rem);
  line-height:1.08;
}

.download .download-description {
  color:#254b5e;
  font-size:1rem;
  line-height:1.75;
  max-width:380px;
  margin-top:22px;
}

.download-platform {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:25px;
}

.download-platform span {
  font-size:.75rem;
  border:1px solid #123b5230;
  padding:7px 10px;
  border-radius:4px;
  color:#224d63;
}

.download .download-actions {
  background:#ffffff17;
  border:1px solid #123b5220;
  padding:24px;
  border-radius:8px;
}

.download-actions>a:not(.button) {
  font-size:.875rem;
}

.release-meta {
  font-size:.8125rem;
  gap:8px 14px;
  line-height:1.6;
}

.checksum {
  gap:10px;
  padding:15px;
  grid-template-columns:1fr;
}

.checksum>span {
  font-size:.75rem;
}

.download .checksum code {
  font-size:.8125rem;
  line-height:1.7;
}

.checksum button {
  font-size:.875rem;
  justify-self:start;
  padding:8px 14px;
  border:1px solid #123b5238;
  border-radius:5px;
  margin-top:4px;
}

.checksum button:hover {
  background:#ffffff45;
}

.download .download-note {
  font-size:.8125rem;
  line-height:1.7;
}

.download .button.white {
  min-height:56px;
}

.faq {
  padding-top:95px;
  gap:70px;
}

.faq summary {
  font-size:1rem;
  line-height:1.6;
}

.faq details p {
  font-size:1rem;
  line-height:1.8;
}

.faq details[open] {
  border-bottom-color:#3ca9d866;
}

.faq details[open] summary {
  color:var(--blue);
}

.faq summary::-webkit-details-marker {
  display:none;
}

.faq summary:after {
  flex-shrink:0;
}

footer {
  padding:40px 0 50px;
}

footer p,footer>div {
  font-size:.875rem;
}

footer>div {
  gap:18px 28px;
}

.page-hero .lead {
  font-size:1.125rem;
}

.back-link {
  font-size:.875rem;
}

.page-content p,.page-content li {
  font-size:1rem;
}

.page-content p code,.guide-steps>li>code,.guide-steps pre {
  font-size:.875rem;
}

.guide-steps li {
  padding:32px;
  border-left:2px solid #3ca9d850;
}

.guide-steps h2 {
  font-size:1.65rem;
  line-height:1.3;
}

.lightbox-head p {
  font-size:.875rem;
}

.lightbox-controls {
  font-size:.875rem;
}

.lightbox button:hover {
  background:#3ca9d820;
}

@media(max-width:1150px) {
  .app-panel {
    gap:25px;
    padding:28px;
  }
  .app-tab {
    padding:20px 15px;
    gap:10px;
  }
  .tab-index {
    display:none;
  }
  .download {
    gap:35px;
    padding:35px;
  }
  .recovery-band {
    gap:25px;
    padding:35px;
  }
  .timeline {
    flex-wrap:nowrap;
  }
}

@media(max-width:1050px) {
  .nav-shell {
    height:76px;
  }
  .menu-toggle {
    display:block;
    margin-left:auto;
    margin-right:15px;
    padding:10px;
    width:44px;
    height:44px;
    border:1px solid var(--line);
    border-radius:5px;
    background:#ffffff05;
  }
  .menu-toggle span {
    display:block;
    height:1px;
    margin:5px 0;
    background:var(--ink);
  }
  .nav-shell nav {
    display:none;
    position:absolute;
    top:75px;
    left:15px;
    right:15px;
    padding:15px;
    background:#10161c;
    border:1px solid var(--line);
    border-radius:6px;
    box-shadow:0 20px 35px #0008;
  }
  .nav-shell nav.is-open {
    display:flex;
    flex-direction:column;
    gap:0;
  }
  .nav-shell nav a {
    padding:14px;
    font-size:1rem;
  }
  .recovery-band {
    grid-template-columns:1fr;
  }
  .recovery-band>div:first-child {
    grid-row:auto;
  }
  .recovery-band p {
    grid-column:1;
  }
  .timeline {
    justify-content:flex-start;
  }
  .timeline span {
    max-width:220px;
    font-size:.875rem;
  }
  .timeline i {
    width:35px;
  }
  .feature-grid {
    grid-template-columns:1fr;
  }
  .feature-grid article {
    min-height:0;
  }
  .feature-grid h3 {
    margin-top:22px;
  }
  .platform-strip {
    flex-wrap:wrap;
    justify-content:center;
  }
  .platform-strip>span {
    max-width:none;
    flex-basis:100%;
    text-align:center;
  }
}

@media(max-width:850px) {
  .hero {
    padding-top:40px;
    gap:35px;
  }
  .hero .lead {
    font-size:1.0625rem;
  }
  .hero h1 {
    font-size:clamp(3.5rem,10vw,5rem);
  }
  .desktop-stage:before {
    inset-inline:-8px;
  }
  .stage-label>span:last-child {
    display:none;
  }
  .stage-footer>span:last-child {
    font-size:.75rem;
  }
  .stage-line {
    display:none;
  }
  .section {
    padding-top:70px;
    padding-bottom:70px;
  }
  .app-panel {
    grid-template-columns:1fr;
    gap:25px;
    padding:30px;
    min-height:0;
  }
  .app-panel h3 {
    font-size:2rem;
  }
  .app-panel h3 br {
    display:none;
  }
  .app-capabilities {
    display:flex;
    flex-wrap:wrap;
    gap:12px 20px;
    margin-bottom:20px;
  }
  .app-preview {
    transform:none;
  }
  .app-preview:hover {
    transform:none;
  }
  .app-tab {
    font-size:.875rem;
    padding:18px 12px;
    gap:10px;
    align-items:flex-start;
  }
  .app-tab img {
    width:25px;
    height:25px;
  }
  .app-tab small {
    font-size:.75rem;
  }
  .requirements-section {
    padding-top:10px;
  }
  .requirements-grid article:nth-child(3) {
    padding-left:28px;
  }
  .download .download-description {
    max-width:550px;
  }
  .download {
    gap:28px;
  }
  .download .download-actions {
    padding:24px;
  }
  .faq {
    gap:15px;
  }
  .lightbox-head {
    gap:15px;
  }
}

@media(max-width:560px) {
  .hero {
    padding-top:32px;
  }
  .hero-kicker {
    font-size:.75rem;
    letter-spacing:0;
    gap:8px;
    flex-wrap:wrap;
    max-width:310px;
    margin-inline:auto;
  }
  .release-pill {
    font-size:.75rem;
    gap:7px;
  }
  .release-pill span {
    font-size:.75rem;
  }
  .hero h1 {
    font-size:clamp(2.9rem,12vw,4.2rem);
    letter-spacing:-.065em;
    line-height:1.05;
  }
  .hero .lead {
    font-size:1rem;
    line-height:1.75;
  }
  .hero-actions {
    flex-direction:column;
    gap:20px;
  }
  .hero-actions .button {
    font-size:1rem;
    width:100%;
    max-width:320px;
    justify-content:space-between;
    min-height:52px;
    padding:0 20px;
  }
  .hero-actions .text-link {
    font-size:.9375rem;
  }
  .fine-print {
    font-size:.75rem;
    line-height:1.8;
  }
  .stage-label {
    font-size:.75rem;
  }
  .stage-footer {
    display:block;
    line-height:1.7;
  }
  .stage-footer>span:last-child {
    display:none;
  }
  .shot-hint {
    font-size:.75rem;
    padding:8px 12px;
    bottom:10px;
    right:10px;
  }
  .desktop-shot {
    border-radius:7px;
  }
  .platform-strip {
    gap:15px 25px;
  }
  .platform-strip b {
    font-size:.9375rem;
  }
  .platform-strip>span {
    font-size:.8125rem;
  }
  .section-heading h2 {
    font-size:2.3rem;
  }
  .section-heading p {
    font-size:1rem;
  }
  .feature-grid article,.feature-grid article:first-child,.feature-grid article:last-child {
    padding:24px;
  }
  .feature-grid h3 {
    font-size:1.3rem;
  }
  .feature-grid p {
    font-size:1rem;
  }
  .recovery-band {
    padding:25px;
  }
  .recovery-band h2 {
    font-size:2rem;
  }
  .recovery-band p {
    font-size:1rem;
  }
  .timeline span {
    font-size:.75rem;
    line-height:1.5;
    padding:12px 8px;
    max-width:none;
    min-width:0;
  }
  .timeline span b {
    font-size:.75rem;
    margin-bottom:10px;
  }
  .timeline i {
    width:10px;
    min-width:10px;
  }
  .app-tabs {
    grid-template-columns:1fr 1fr 1fr;
  }
  .app-tab {
    padding:16px 5px;
    display:flex;
    flex-direction:column;
    align-items:center;
    text-align:center;
    gap:8px;
    font-size:.8125rem;
    line-height:1.35;
  }
  .app-tab img {
    width:27px;
    height:27px;
  }
  .app-tab small {
    display:none;
  }
  .app-panel {
    padding:23px;
    gap:26px;
  }
  .app-panel h3 {
    font-size:1.75rem;
  }
  .app-panel p {
    font-size:1rem;
  }
  .app-capabilities {
    display:grid;
    gap:10px;
  }
  .app-capabilities li {
    font-size:.875rem;
  }
  .app-source {
    font-size:.875rem;
  }
  .app-preview>span {
    padding:14px;
    flex-wrap:wrap;
  }
  .app-preview strong,.app-preview small {
    font-size:.8125rem;
  }
  .showcase-note {
    font-size:.75rem;
    padding:17px 20px;
    line-height:1.8;
  }
  .requirements-grid {
    grid-template-columns:1fr 1fr;
  }
  .requirements-grid article,.requirements-grid article:first-child,.requirements-grid article:nth-child(3) {
    padding:20px 16px;
  }
  .requirements-grid h3 {
    font-size:1.2rem;
  }
  .requirements-grid p {
    font-size:.875rem;
  }
  .requirements-grid article>span {
    font-size:.75rem;
    letter-spacing:0;
  }
  .hardware-notes {
    grid-template-columns:1fr;
    gap:0;
  }
  .hardware-notes p {
    font-size:.9375rem;
  }
  .steps p {
    font-size:1rem;
  }
  .download {
    padding:26px;
  }
  .download h2 {
    font-size:2.6rem;
  }
  .download .download-actions {
    padding:18px;
  }
  .download .download-description {
    font-size:1rem;
  }
  .download-platform {
    margin-top:18px;
  }
  .download-platform span {
    font-size:.75rem;
  }
  .download .checksum code {
    font-size:.8125rem;
  }
  .download .download-note {
    font-size:.8125rem;
  }
  .faq h2 {
    font-size:2.3rem;
  }
  .faq summary {
    font-size:1rem;
  }
  .faq details p {
    font-size:1rem;
  }
  .page-hero h1 {
    font-size:2.75rem;
  }
  .page-content .guide-steps li {
    padding:23px;
  }
  .guide-steps h2 {
    font-size:1.4rem;
  }
  .page-content p,.page-content li {
    font-size:1rem;
  }
  .lightbox-head p {
    font-size:.8125rem;
  }
  .lightbox-controls {
    font-size:.8125rem;
  }
  .header-actions {
    gap:0;
  }
}

@media(prefers-reduced-motion:reduce) {
  .app-panel {
    animation:none;
  }
  .app-preview,.feature-grid article {
    transform:none!important;
  }
}

/* Brand palette: blue from the logo; quiet dark download surface. */
.button,
.button.white,
.download .button.white {
  background: #1979b4;
  color: #f5fbff;
}
.button:hover,
.button.white:hover,
.download .button.white:hover {
  background: #176ba1;
  color: #fff;
  box-shadow: 0 8px 24px #1979b41a;
}
h1 em {
  color: #3ca9d8;
}
.download {
  background: radial-gradient(ellipse at 0 0, #153b542e, transparent 72%), #0d151d;
  color: var(--ink);
  border: 1px solid #2c658238;
}
.download .eyebrow {
  color: var(--blue);
}
.download .download-description {
  color: var(--muted);
}
.download-platform span {
  color: #a8c1d1;
  border-color: #36739238;
  background: #15263266;
}
.download .download-actions {
  background: #080e1480;
  border-color: #ffffff12;
}
.download-actions > a:not(.button) {
  color: #61b6de;
}
.download .release-meta {
  color: #95aab8;
}
.download .checksum {
  background: #ffffff03;
  border-color: #ffffff14;
}
.download .checksum > span {
  color: #a1b7c6;
}
.download .checksum code {
  color: #a6bdcc;
}
.download .checksum button {
  color: #b7d8eb;
  border-color: #3b76933d;
  background: #17314455;
}
.download .checksum button:hover {
  background: #1b405a;
  border-color: #3ca9d877;
}
.download .download-note {
  color: #9cafbd;
}
