@charset "UTF-8";
:root {
  color-scheme: light;
  --page: #fff;
  --surface: #fff;
  --surface-soft: #f2f6f3;
  --header: #ffffffed;
  --body-copy: #3d4641;
  --cta-bg: #111916;
  --cta-fg: #fff;
  --cta-hover: #293f33;
  --outline: #b2b8b4;
  --selected: #e5f8ee;
  --ink: #111916;
  --muted: #68716d;
  --green: #1ba46b;
  --green-dark: #00834e;
  --mint: #eaf9f0;
  --line: #e1e6e3;
  --dark: #101c17;
  --font:
    Inter, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  --gutter: 64px;
  --width: 1360px;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --page: #101114;
  --surface: #191b1f;
  --surface-soft: #1f2126;
  --header: #101114ed;
  --body-copy: #bfc2c9;
  --ink: #f3f4f6;
  --muted: #a0a4ad;
  --green: #5de1a5;
  --green-dark: #6de2ac;
  --mint: #1b1d22;
  --line: #30333b;
  --dark: #15171b;
  --cta-bg: #79e8ad;
  --cta-fg: #0d2517;
  --cta-hover: #a2f3c5;
  --outline: #575c66;
  --selected: #1c3828;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font-family: var(--font);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
}
button,
a {
  touch-action: manipulation;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}
figure,
p,
h1,
h2,
h3 {
  margin: 0;
}
button {
  border: 0;
  background: none;
}
svg {
  display: block;
}
.icon {
  width: 21px;
  height: 21px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.container {
  width: calc(100% - var(--gutter) * 2);
  max-width: var(--width);
  margin-inline: auto;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  top: 10px;
  left: 16px;
  z-index: 100;
  transform: translateY(-200%);
  background: var(--surface);
  padding: 12px;
  border: 2px solid var(--green-dark);
}
.skip-link:focus {
  transform: none;
}
:focus-visible {
  outline: 3px solid var(--green-dark);
  outline-offset: 5px;
}
button:disabled {
  cursor: default;
}
[hidden] {
  display: none !important;
}
::selection {
  background: #b7f2d3;
  color: #102d20;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 54px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  transition:
    background 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
}
.button[href="https://andvm.cn/app"] {
  font-weight: 700;
}
.button:hover {
  transform: translateY(-2px);
}
.button-dark {
  background: var(--cta-bg);
  color: var(--cta-fg);
  box-shadow: 0 3px 5px #15251a0a;
}
.button-dark:hover {
  background: var(--cta-hover);
  box-shadow: 0 7px 18px #15251a15;
}
.button-outline {
  border-color: var(--outline);
  background: var(--surface);
}
.button-outline:hover {
  background: var(--surface-soft);
}
.button-mint {
  border-color: #59e7a6;
  color: #62e9af;
  border-radius: 30px;
  padding-inline: 26px;
}
.button-mint:hover {
  background: #1c3a2b;
}
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
}
.icon-button:hover {
  background: #909e931a;
}
.text-button {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--green-dark);
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
  padding: 10px 0;
}
.text-button:hover .icon {
  transform: translateX(4px);
}
.text-button .icon {
  transition: transform 0.2s;
}
.site-header {
  position: sticky;
  top: 0;
  background: var(--header);
  backdrop-filter: blur(16px);
  z-index: 20;
  border-bottom: 1px solid var(--line);
}
.nav-bar {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  font-size: 28px;
  letter-spacing: -0.8px;
  font-weight: 650;
}
.brand img {
  border-radius: 11px;
}
.desktop-nav {
  display: flex;
  gap: 46px;
  align-items: center;
  margin-left: auto;
}
.desktop-nav a {
  font-size: 15px;
  transition: color 0.2s;
}
.desktop-nav a:hover {
  color: var(--green-dark);
}
.nav-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}
.button-nav {
  min-height: 44px;
  padding-inline: 18px;
  font-size: 14px;
  gap: 8px;
  border-radius: 9px;
}
.menu-toggle {
  display: none;
}
.mobile-nav {
  position: absolute;
  top: 100%;
  inset-inline: 0;
  padding: 8px var(--gutter) 22px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 12px 24px #00000014;
}
.mobile-nav a {
  display: block;
  padding: 14px 0;
  font-size: 16px;
}
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 710px;
  position: relative;
  padding-top: 16px;
  padding-bottom: 20px;
}
.hero-copy {
  position: relative;
  z-index: 1;
  padding: 28px 0;
}
.hero h1 {
  font-size: clamp(66px, 6.2vw, 94px);
  letter-spacing: -4px;
  line-height: 1.16;
  font-weight: 750;
  white-space: nowrap;
}
.hero h1 span {
  color: var(--green);
  letter-spacing: -5px;
}
.hero h1 .hero-kicker {
  display: block;
  margin-bottom: 18px;
  color: var(--body-copy);
  font-size: clamp(12px, 1.05vw, 14px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.06em;
}
.hero-description {
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.85;
  letter-spacing: -0.5px;
  margin-top: 30px;
  max-width: 640px;
  white-space: nowrap;
  color: var(--body-copy);
}
.hero-actions {
  display: flex;
  gap: 18px;
  margin-top: 35px;
}
.hero-footnote {
  font-size: 13px;
  color: var(--muted);
  margin-top: 22px;
  letter-spacing: 0.2px;
}
.hero-footnote span {
  padding: 0 7px;
}
.hero-art {
  width: 110%;
  margin-left: -3%;
  container-type: inline-size;
}
.hero-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1.02;
  perspective: 1200px;
  isolation: isolate;
  user-select: none;
}
.hero-stage::before {
  content: "";
  position: absolute;
  inset: 79% 6% 1% 9%;
  border-radius: 50%;
  background: radial-gradient(ellipse, #0003, transparent 68%);
  filter: blur(14px);
  pointer-events: none;
}
.hero-phone {
  --screen-index: 0;
  --slot-offset: 13.2cqw;
  position: absolute;
  /* On either side, folded screens nearest the expanded card are in front. */
  z-index: calc(4 - var(--screen-index));
  top: 50%;
  left: calc(4% + var(--screen-index) * 20cqw);
  width: 18.8cqw;
  height: 76cqw;
  padding: 0;
  background: none;
  border: 0;
  transform-style: preserve-3d;
  transform: translate3d(var(--slot-offset), -50%, 0);
  transition: transform 520ms cubic-bezier(0.22, 0.7, 0.3, 1);
  will-change: transform;
  pointer-events: none;
}
.hero-phone:nth-child(2) {
  --screen-index: 1;
}
.hero-phone:nth-child(3) {
  --screen-index: 2;
}
.hero-phone:nth-child(4) {
  --screen-index: 3;
}
.hero-phone[data-side="before"] {
  --slot-offset: 0cqw;
  z-index: calc(var(--screen-index) + 1);
}
.hero-phone[aria-pressed="true"] {
  --slot-offset: 6.6cqw;
  z-index: 5;
}
.hero-phone:focus-visible {
  outline: none;
}
.hero-phone:focus-visible .hero-phone-screen {
  outline: 2px solid var(--green-dark);
  outline-offset: 5px;
}
.hero-glass {
  --fold-angle: -58deg;
  --glass-depth: clamp(4px, 0.9cqw, 7px);
  position: absolute;
  display: block;
  top: 50%;
  left: 50%;
  width: 31.5cqw;
  aspect-ratio: 0.49;
  border-radius: 2.7cqw;
  transform-style: preserve-3d;
  transform: translate(-50%, -50%) rotateY(var(--fold-angle));
  transition: transform 520ms cubic-bezier(0.22, 0.7, 0.3, 1);
  will-change: transform;
  pointer-events: none;
}
.hero-glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid #d7f4ff80;
  border-radius: inherit;
  background: #b6d5df24;
  box-shadow: inset 0 0 0 1px #ffffff30;
  transform: translateZ(calc(-1 * var(--glass-depth)));
}
/* Closely spaced rounded contours connect the face and back at every corner. */
.hero-glass-edges {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  transform-style: preserve-3d;
}
.hero-glass-edges i {
  position: absolute;
  inset: 0;
  border: calc(var(--glass-depth) * 0.6) solid #bed4df70;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 #ffffff30;
  transform: translateZ(calc(var(--glass-depth) * var(--slice)));
}
.hero-glass-edges i:nth-child(1) {
  --slice: -0.3167;
}
.hero-glass-edges i:nth-child(2) {
  --slice: -0.6333;
}
.hero-glass-edges i:nth-child(3) {
  --slice: -0.95;
}
.hero-phone[data-side="before"] .hero-glass {
  --fold-angle: 58deg;
}
.hero-phone[aria-pressed="true"] .hero-glass {
  --fold-angle: 0deg;
}
.hero-phone-screen {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 1px solid #ffffff70;
  border-radius: inherit;
  background:
    linear-gradient(180deg, #10292120, #10292105 40%, #10292199),
    url("./assets/rom-mountains.webp") center / cover;
  color: #fff;
  text-align: left;
  pointer-events: auto;
  box-shadow:
    0 24px 36px #0002,
    inset 0 1px 0 #ffffff60;
}
.hero-phone-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  background: #101114;
  opacity: 0.12;
  transition: opacity 320ms ease-out;
  pointer-events: none;
}
.hero-phone[aria-pressed="true"] .hero-phone-screen::before {
  opacity: 0;
}
.hero-more-screen {
  background: linear-gradient(145deg, #e9f0f3a6, #f7fafb70);
  color: var(--ink);
  border-color: #9cb3bd90;
}
[data-theme="dark"] .hero-more-screen {
  background: linear-gradient(145deg, #35424c99, #1d242c66);
  border-color: #c0e6f25c;
}
.hero-more-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2cqw;
  height: 100%;
  text-align: center;
}
.hero-more-content > .icon {
  width: 8cqw;
  height: 8cqw;
  margin-bottom: 1cqw;
  stroke-width: 1;
  color: var(--muted);
}
.hero-more-content strong {
  font-size: 3cqw;
  font-weight: 500;
}
.hero-more-content > span {
  font-size: 1.6cqw;
  color: var(--muted);
}
.hero-phone-15 .hero-phone-screen {
  background-image:
    linear-gradient(180deg, #16232d33, #16232d05 40%, #16232d99),
    url("./assets/rom-lake.webp");
}
.hero-phone-16 .hero-phone-screen {
  background-image:
    linear-gradient(180deg, #2d241a33, #2d241a05 40%, #2d241a99),
    url("./assets/rom-dunes.webp");
}
.hero-phone-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    115deg,
    #ffffff18,
    transparent 35%,
    #ffffff05 65%,
    #ffffff20
  );
  pointer-events: none;
}
.hero-phone-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4% 7% 0;
  font-size: 1.6cqw;
  font-weight: 600;
  text-shadow: 0 1px 5px #0004;
}
.hero-phone-status > span:last-child {
  display: flex;
  gap: 0.55cqw;
}
.hero-phone-status .icon {
  width: 1.7cqw;
  height: 1.7cqw;
}
.hero-phone-version {
  position: absolute;
  top: 24%;
  left: 10%;
  text-shadow: 0 2px 18px #0004;
}
.hero-phone-version span {
  display: block;
  font-size: 3cqw;
  font-weight: 500;
  letter-spacing: -0.08em;
}
.hero-phone-version strong {
  display: block;
  font-size: 14cqw;
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: -0.07em;
}
.hero-phone-bottom {
  display: block;
  position: absolute;
  inset: auto 6% 2%;
}
.hero-phone-dock {
  display: flex;
  justify-content: space-between;
  gap: 1.2cqw;
  margin: 0 2% 8%;
}
.hero-phone-dock > span {
  display: grid;
  place-items: center;
  width: 5.3cqw;
  height: 5.3cqw;
  border: 1px solid #ffffff60;
  border-radius: 50%;
  background: #eff5efed;
  color: #244837;
  box-shadow: 0 3px 8px #0002;
}
.hero-phone-dock .icon {
  width: 2.8cqw;
  height: 2.8cqw;
}
.hero-phone-app {
  display: flex;
  align-items: center;
  gap: 0.8cqw;
  padding: 1.1cqw;
  border: 1px solid #ffffff30;
  border-radius: 1.6cqw;
  background: #15211db3;
  font-size: 1.5cqw;
}
.hero-phone-app img {
  width: 3cqw;
  height: 3cqw;
  border-radius: 0.7cqw;
}
.hero-phone-app i {
  width: 0.7cqw;
  height: 0.7cqw;
  margin-left: auto;
  border-radius: 50%;
  background: #7bebb0;
}
.hero-phone-gesture {
  display: block;
  width: 31%;
  height: 0.45cqw;
  margin: 7% auto 0;
  border-radius: 4px;
  background: #ffffffb3;
}
[data-theme="dark"] .hero-phone-screen {
  box-shadow:
    0 24px 36px #0005,
    inset 0 1px 0 #ffffff60;
}
.section-index {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.7px;
  line-height: 1.5;
  color: var(--muted);
  margin-bottom: 16px;
}
h2 {
  font-size: 46px;
  letter-spacing: -1.8px;
  line-height: 1.35;
  font-weight: 700;
}
.systems {
  border-top: 1px solid var(--line);
  padding-top: 31px;
  padding-bottom: 51px;
}
.systems-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 26px;
}
.systems h2 {
  font-size: 42px;
  white-space: nowrap;
  letter-spacing: -1.5px;
}
.systems .section-index {
  font-size: 11px;
  margin-bottom: 10px;
}
.version-picker {
  display: flex;
  gap: 7px;
  padding-bottom: 3px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.version-picker button {
  border: 1px solid var(--line);
  padding: 13px 12px;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.3;
  white-space: nowrap;
  color: var(--muted);
  transition:
    background 0.2s,
    border-color 0.2s,
    color 0.2s;
}
.version-picker button:hover {
  border-color: #9ec9b1;
  color: var(--green-dark);
}
.version-picker button[aria-pressed="true"] {
  background: var(--selected);
  color: var(--green-dark);
  border-color: var(--selected);
}
.systems-description {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 24px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}
.systems-description > p:last-child {
  text-align: right;
}
.official-rom-highlight {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 7px;
  color: var(--green-dark);
}
.official-rom-highlight strong {
  font-size: clamp(13px, 1.2vw, 16px);
  font-weight: 600;
}
.official-rom-highlight .icon {
  width: 17px;
  height: 17px;
  margin-top: 4px;
}
.rom-family-names {
  display: block;
  color: var(--body-copy);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.1px;
}
.rom-family-names span {
  color: #7a8c81;
  font-size: 12px;
  margin-inline: 7px;
}
.snapshot-section {
  background: var(--dark);
  color: #fff;
  overflow: hidden;
}
.snapshot-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 65px;
  align-items: center;
  padding-block: 82px;
}
.snapshot-copy .section-index {
  color: #93a39b;
  margin-bottom: 26px;
}
.snapshot-copy h2 {
  font-size: 48px;
  line-height: 1.45;
  letter-spacing: -1.7px;
}
.section-description {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.8;
  margin-top: 18px;
}
.snapshot-copy .section-description {
  color: #aab9b1;
  font-size: 16px;
  max-width: 470px;
  margin-top: 22px;
  line-height: 1.9;
}
.snapshot-copy .button {
  margin-top: 30px;
  min-height: 48px;
  font-size: 15px;
}
.snapshot-demo {
  border: 1px solid #3a5045;
  background: #13211b;
  border-radius: 15px;
  box-shadow: 0 20px 60px #030a0640;
  overflow: hidden;
  transition: border-color 0.3s;
}
.window-title {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #2a3c32;
  padding: 16px 21px;
  gap: 16px;
}
.window-name {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 16px;
  font-weight: 600;
}
.window-name img {
  border-radius: 7px;
}
.running-status {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-left: auto;
  font-size: 12px;
  color: #60e7a9;
  white-space: nowrap;
}
.running-status i,
.mini-float-bar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #44e29a;
  box-shadow: 0 0 9px #44e29a40;
}
.window-decoration {
  color: #789384;
  font-size: 20px;
  padding-left: 8px;
}
.snapshot-body {
  padding: 26px 22px 20px;
}
.vm-screen {
  padding: 12px 20px 9px;
  background:
    linear-gradient(#e4f2e033, #d9ead75c),
    url("./assets/rom-mountains.webp") center / cover;
  border-radius: 13px;
  margin-bottom: 16px;
  overflow: hidden;
  color: #183322;
}
.vm-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  font-weight: 600;
}
.vm-status-icons svg {
  width: 40px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
}
.vm-home-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 12px 2px 13px;
}
.vm-home-heading > strong {
  font-size: 39px;
  line-height: 1;
  font-weight: 400;
  letter-spacing: -2px;
}
.runtime-system {
  text-align: right;
  font-size: 11px;
  font-weight: 500;
}
.runtime-system small {
  display: block;
  font-size: 9px;
  font-weight: 400;
  margin-top: 4px;
}
.vm-player {
  border: 1px solid #ffffffb3;
  background: #f3faef;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px #1d3a2636;
}
.vm-player-title {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 11px;
  font-size: 11px;
  font-weight: 500;
}
.vm-player-icon {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: #316944;
  color: #fff;
}
.vm-player-icon .icon {
  width: 12px;
  height: 12px;
}
.vm-player-menu {
  margin-left: auto;
  font-size: 18px;
  line-height: 1;
}
.vm-video {
  height: 144px;
  position: relative;
  overflow: hidden;
  background: #b8acdf;
}
.vm-video-scene {
  position: absolute;
  width: 130%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
}
.vm-video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 30%, #171b4333);
  pointer-events: none;
}
.vm-video-title {
  position: absolute;
  left: 17px;
  bottom: 15px;
  z-index: 1;
  color: white;
  font-size: 20px;
  letter-spacing: 2px;
  text-shadow: 0 1px 8px #1a264c66;
}
.vm-video-title small {
  display: block;
  font-size: 7px;
  letter-spacing: 2px;
  margin-top: 5px;
}
.snapshot-demo.paused .vm-screen *,
.snapshot-demo.paused .vm-screen *::before,
.snapshot-demo.paused .vm-screen *::after {
  animation-play-state: paused !important;
}
.vm-player-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  font-size: 10px;
  color: #31543b;
}
.vm-player-controls > .icon {
  width: 14px;
  height: 14px;
}
.vm-elapsed {
  margin-left: auto;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.4px;
}
.vm-app-dock {
  display: flex;
  justify-content: center;
  gap: 24px;
  padding: 14px 0 11px;
}
.vm-app-dock > span {
  width: 30px;
  height: 30px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  box-shadow: 0 2px 7px #2d4b2326;
}
.vm-app-dock .icon {
  width: 18px;
  height: 18px;
}
.vm-app-phone {
  background: #e4fae3;
  color: #2c7136;
  font-size: 21px;
}
.vm-app-message {
  background: #e7f4ff;
  color: #2765a7;
}
.vm-app-browser {
  background: #fff6d9;
  color: #8d6515;
}
.vm-app-gallery {
  background: #fde8ed;
  color: #aa4260;
}
.vm-gesture-bar {
  width: 80px;
  height: 3px;
  background: #20352c;
  border-radius: 3px;
  margin: 0 auto;
}
.snapshot-state-icon {
  width: 26px;
  height: 26px;
  color: #84be9a;
}
.snapshot-current {
  display: flex;
  align-items: center;
  gap: 13px;
  border: 1px solid #33483c;
  border-radius: 11px;
  padding: 13px;
  min-height: 78px;
}
.snapshot-current > div {
  flex: 1;
  min-width: 0;
}
.snapshot-current strong {
  font-size: 14px;
  font-weight: 500;
}
.snapshot-current p {
  color: #91a399;
  font-size: 10px;
  margin-top: 7px;
  line-height: 1.7;
}
.round-button {
  width: 42px;
  height: 42px;
  border: 1.5px solid #5aeaa6;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #5aeaa6;
  flex-shrink: 0;
}
.round-button:hover {
  background: #274a37;
}
.snapshot-demo.paused {
  border-color: #9d9674;
}
.snapshot-demo.paused .running-status {
  color: #e5d4a3;
}
.snapshot-demo.paused .running-status i {
  background: #e5d4a3;
  box-shadow: none;
}
.demo-note {
  font-size: 11px;
  color: #94a99c;
  line-height: 1.8;
  text-align: center;
  margin-top: 15px;
}
.demo-note span {
  margin-inline: 7px;
}
.tools-section {
  padding-top: 80px;
  padding-bottom: 90px;
}
.section-heading > p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
  margin-top: 11px;
}
.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 47px;
  gap: 36px;
}
.tool-feature {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding-right: 35px;
  border-right: 1px solid var(--line);
}
.tool-feature:last-child {
  border: 0;
  padding: 0;
}
.feature-icon {
  width: 43px;
  height: 43px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 18px;
}
.tool-feature h3 {
  font-size: 24px;
  letter-spacing: -0.6px;
  font-weight: 650;
}
.tool-feature > p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
  margin-top: 13px;
  margin-bottom: 24px;
  min-height: 83px;
}
.tool-feature > .ota-demo,
.tool-feature > .terminal-demo,
.tool-feature > .floating-preview {
  margin-top: auto;
  flex-shrink: 0;
}
.ota-demo,
.terminal-demo {
  height: 219px;
  margin-top: 24px;
  border-radius: 12px;
  background: #15211c;
  color: #fff;
  overflow: hidden;
  border: 1px solid #2c3b32;
}
.ota-demo {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
}
.flash-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 18px;
  flex-shrink: 0;
  font-size: 10px;
  color: #c3d3c8;
}
.flash-heading > span > span {
  color: #99ac9f;
  font-size: 9px;
}
.flash-heading .icon-button {
  width: 24px;
  height: 24px;
  margin-right: -4px;
}
.flash-heading .icon {
  width: 14px;
  height: 14px;
}
.flash-types {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 3px;
  padding: 2px;
  height: 30px;
  flex-shrink: 0;
  border-radius: 7px;
  background: #0e1a13;
}
.flash-types button {
  min-width: 0;
  padding: 3px;
  border-radius: 5px;
  color: #a9beb1;
  font-size: 10px;
  line-height: 1.3;
  transition:
    background 180ms,
    color 180ms;
}
.flash-types button:hover {
  background: #253e2f;
  color: #d6f5e2;
}
.flash-types button[aria-pressed="true"] {
  background: #2c513c;
  color: #a4f3c5;
}
.flash-package {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-height: 36px;
}
.flash-package > .icon {
  width: 32px;
  height: 32px;
  padding: 7px;
  border-radius: 9px;
  background: #263d32;
  color: #8ae8b6;
}
.flash-package > div {
  min-width: 0;
}
.flash-package strong {
  display: block;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 550;
}
.flash-package small {
  display: block;
  font-size: 9px;
  line-height: 1.5;
  color: #a9beb1;
}
.flash-status {
  min-height: 28px;
  color: #b4c9bb;
  font-size: 10px;
  line-height: 14px;
  display: flex;
  align-items: flex-end;
  flex-shrink: 0;
}
.flash-progress {
  height: 3px;
  flex-shrink: 0;
  border-radius: 3px;
  overflow: hidden;
  background: #33483b;
}
.flash-progress > span {
  display: block;
  width: 0;
  height: 100%;
  background: #67e9a8;
  transition: width 300ms ease;
}
.flash-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  height: 32px;
  flex-shrink: 0;
  border-radius: 6px;
  color: #063e22;
  background: #55e5a0;
  font-size: 11px;
  font-weight: 600;
  transition: background 0.2s;
}
.flash-action:hover:not(:disabled) {
  background: #8ff3bf;
}
.flash-action:disabled {
  cursor: progress;
  opacity: 0.65;
}
.flash-action .icon {
  width: 14px;
  height: 14px;
}
.ota-demo[data-phase="complete"] .flash-status {
  color: #8ff3bf;
}
.terminal-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #1d2b23;
  padding: 6px 13px;
  min-height: 37px;
  color: #a4b7aa;
  font-size: 10px;
}
.terminal-bar .icon-button {
  margin-left: auto;
  width: 26px;
  height: 26px;
}
.terminal-bar .icon {
  width: 14px;
  height: 14px;
}
.traffic-lights {
  display: flex;
  gap: 5px;
}
.traffic-lights i {
  width: 7px;
  height: 7px;
  background: #f4746f;
  border-radius: 50%;
}
.traffic-lights i:nth-child(2) {
  background: #e9c25d;
}
.traffic-lights i:nth-child(3) {
  background: #67bd76;
}
.terminal-code {
  padding: 15px 14px;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
  line-height: 1.8;
  white-space: nowrap;
  color: #66e9a9;
}
.terminal-code p > span {
  color: #829f8d;
  margin-right: 6px;
}
.terminal-code p:nth-child(3) {
  margin-top: 6px;
}
.terminal-muted {
  color: #98aa9e;
}
.terminal-muted b {
  font-weight: 400;
  float: right;
}
.terminal-cursor {
  margin-top: 9px;
}
.terminal-cursor span {
  display: inline-block;
  width: 6px;
  height: 11px;
  background: #69e9a7;
  vertical-align: middle;
}
.floating-preview {
  display: block;
  position: relative;
  width: 100%;
  height: 219px;
  margin-top: 24px;
  text-align: left;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-soft);
  transition: border-color 0.2s;
}
.floating-preview:hover {
  border-color: #72be94;
}
.notes-title {
  font-size: 11px;
  display: block;
  color: var(--body-copy);
}
.notes-title > .icon {
  float: right;
  color: #88958c;
  width: 13px;
  height: 13px;
}
.note-row {
  display: block;
  background: var(--surface);
  border-radius: 7px;
  padding: 10px 12px;
  margin-top: 12px;
  font-size: 10px;
  color: var(--body-copy);
  max-width: 140px;
}
.note-row small {
  font-size: 8px;
  display: block;
  color: #919e96;
  margin-top: 4px;
}
.mini-float {
  position: absolute;
  width: 66%;
  right: 12px;
  top: 59px;
  box-shadow: 0 10px 30px #102d2233;
  border: 1px solid #486d57;
  border-radius: 9px;
  overflow: hidden;
  transition: transform 0.3s;
}
.floating-preview:hover .mini-float {
  transform: translateY(-5px);
}
.mini-float-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  background: #11231a;
  color: #e7f3eb;
  font-size: 9px;
}
.mini-float-bar i {
  margin-left: auto;
  width: 5px;
  height: 5px;
}
.mini-float-screen {
  height: 101px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 10px 12px;
  background-size: cover;
  background-position: center;
  color: white;
}
.mini-float-screen > span:first-child {
  font-size: 23px;
}
.mini-app-dots {
  display: flex;
  justify-content: space-between;
}
.mini-app-dots i {
  width: 16px;
  height: 16px;
  background: #f3f9f0e6;
  border-radius: 6px;
}
.float-hint {
  position: absolute;
  bottom: 12px;
  left: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--body-copy);
  font-size: 10px;
}
.float-hint .icon {
  width: 13px;
  height: 13px;
}
.mountains {
  background-image: url("./assets/rom-mountains.webp");
}
.dunes {
  background-image: url("./assets/rom-dunes.webp");
}
.lake {
  background-image: url("./assets/rom-lake.webp");
}
.mapping-section {
  --mapping-virtual: #286e91;
  --mapping-virtual-bg: #e8f3f8;
  --mapping-host-border: #b6dcc7;
  display: grid;
  grid-template-columns: 0.95fr 1.15fr;
  align-items: center;
  gap: 72px;
  padding-block: 80px;
  border-top: 1px solid var(--line);
}
[data-theme="dark"] .mapping-section {
  --mapping-virtual: #83cfe8;
  --mapping-virtual-bg: #213942;
  --mapping-host-border: #315e46;
}
.mapping-copy h2 {
  line-height: 1.4;
  font-size: clamp(32px, 3.1vw, 46px);
}
.mapping-copy h2 span {
  color: var(--green-dark);
}
.mapping-copy > .section-description {
  font-size: 16px;
  line-height: 1.9;
  margin-top: 23px;
  max-width: 440px;
}
.mapping-modes {
  display: grid;
  gap: 21px;
  margin: 32px 0 0;
}
.mapping-modes dt {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
}
.mapping-modes dd {
  margin: 7px 0 0 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}
.mapping-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--green-dark);
}
.mapping-dot[data-mode="virtual"] {
  background: var(--mapping-virtual);
}
.mapping-dot[data-mode="disabled"] {
  background: var(--muted);
}
.mapping-preview {
  min-width: 0;
}
.mapping-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface-soft);
}
.mapping-panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}
.mapping-panel-heading strong {
  font-size: 17px;
  font-weight: 600;
}
.mapping-panel-heading > div > span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 6px;
}
.mapping-panel-heading .text-button {
  font-size: 11px;
  gap: 7px;
}
.mapping-panel-heading .icon {
  width: 16px;
  height: 16px;
}
.mapping-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.mapping-card {
  --mapping-ink: var(--mapping-virtual);
  --mapping-icon-bg: var(--mapping-virtual-bg);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--page);
  text-align: left;
  transition:
    border-color 200ms,
    background 200ms;
}
.mapping-card[data-mode="host"] {
  --mapping-ink: var(--green-dark);
  --mapping-icon-bg: var(--selected);
  border-color: var(--mapping-host-border);
}
.mapping-card[data-mode="disabled"] {
  --mapping-ink: var(--muted);
  --mapping-icon-bg: var(--surface-soft);
}
.mapping-card:hover {
  border-color: var(--mapping-ink);
}
.mapping-card > .icon {
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 13px;
  background: var(--mapping-icon-bg);
  color: var(--mapping-ink);
  margin-bottom: 15px;
  transition:
    background 200ms,
    color 200ms;
}
.mapping-card > strong {
  color: var(--ink);
  font-weight: 550;
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 8px;
}
.mapping-state {
  color: var(--mapping-ink);
  margin-top: auto;
  font-size: 12px;
  line-height: 1.5;
}
.mapping-card > strong > span {
  display: inline-block;
}
.mapping-feedback {
  min-height: 1.8em;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.8;
  margin-top: 17px;
}
.mapping-note {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.9;
  margin: 14px 5px 0;
}
.rom-section {
  border-top: 1px solid var(--line);
  padding-top: 72px;
  padding-bottom: 58px;
}
.market-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.rom-compatibility {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  margin-top: 13px;
}
.rom-filters {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 31px;
  margin-bottom: 25px;
}
.rom-filters button {
  font-size: 14px;
  color: var(--muted);
  padding: 11px 22px;
  border-radius: 9px;
  transition:
    background 0.2s,
    color 0.2s;
}
.rom-filters button:hover {
  background: var(--surface-soft);
}
.rom-filters button[aria-pressed="true"] {
  background: var(--cta-bg);
  color: var(--cta-fg);
}
.rom-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
  min-height: 310px;
}
.rom-card {
  padding: 0;
  text-align: left;
  min-width: 0;
  display: block;
  width: 100%;
  border-radius: 15px;
}
.rom-art {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  aspect-ratio: 1.5;
  border-radius: 16px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  color: #123e2c;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  isolation: isolate;
  position: relative;
  font-size: 15px;
}
.rom-art:before {
  content: "";
  position: absolute;
  inset: 0;
  background: #ffffff24;
  z-index: -1;
}
.rom-art.dunes {
  color: #3e3932;
}
.rom-art.lake {
  color: #2f2052;
}
.rom-version {
  font-size: 78px;
  letter-spacing: -5px;
  font-weight: 400;
  line-height: 1.13;
}
.rom-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 4px 4px;
}
.rom-info strong {
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -0.4px;
  display: block;
}
.rom-info small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 7px;
}
.circle-arrow {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid #a0aaa4;
  border-radius: 50%;
  color: #738178;
  flex-shrink: 0;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}
.rom-card:hover .rom-art {
  transform: translateY(-4px);
  box-shadow: 0 12px 25px #15291c15;
}
.rom-card:hover .circle-arrow {
  background: var(--cta-bg);
  color: var(--cta-fg);
  border-color: var(--cta-bg);
}
.market-note {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
  margin-top: 22px;
}
.use-cases-section {
  padding-block: 76px 80px;
  background: var(--surface-soft);
  border-block: 1px solid var(--line);
}
.use-cases-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 40px;
}
.use-cases-heading h2 {
  line-height: 1.35;
}
.use-cases-heading h2 span {
  color: var(--green-dark);
}
.use-cases-heading > p {
  margin: 0 0 5px;
  line-height: 1.85;
}
.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.use-case {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 28px 30px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--page);
  transition: border-color 240ms;
}
.use-case-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 23px;
}
.use-case-top .icon {
  width: 32px;
  height: 32px;
  color: var(--green-dark);
  stroke-width: 1.35;
  transition: transform 280ms ease;
}
.use-case-top > span {
  color: var(--muted);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 1px;
}
.use-case h3 {
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -0.5px;
  line-height: 1.5;
}
.use-case > p {
  margin-block: 12px 24px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}
.use-case-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  color: var(--green-dark);
  font-size: 11px;
  line-height: 1.6;
}
.use-case-detail > span {
  color: var(--muted);
}
.faq-section {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 80px;
  padding-block: 68px 95px;
}
.faq-section h2 {
  font-size: 37px;
  line-height: 1.5;
  letter-spacing: -1.2px;
}
.faq-list details {
  border-top: 1px solid var(--line);
}
.faq-list details:last-child {
  border-bottom: 1px solid var(--line);
}
.faq-list summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 0;
  font-size: 15px;
  line-height: 1.6;
  cursor: pointer;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary .icon {
  width: 18px;
  height: 18px;
  transition: transform 0.2s;
}
.faq-list details[open] summary .icon {
  transform: rotate(180deg);
}
.faq-list details > p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
  padding: 0 22px 26px 0;
}
.faq-list code {
  font-size: 12px;
  background: var(--surface-soft);
  padding: 3px 5px;
  border-radius: 4px;
  overflow-wrap: anywhere;
}
.faq-list p a {
  color: var(--green-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.download-section {
  background: var(--mint);
}
.download-layout {
  display: flex;
  justify-content: space-between;
  gap: 36px;
  align-items: center;
  padding-block: 67px;
}
.download-layout h2 {
  font-size: 50px;
  letter-spacing: -1.8px;
  line-height: 1.5;
}
.download-layout > div {
  text-align: center;
  margin-right: 18px;
}
.download-layout .button {
  font-size: 18px;
  min-height: 60px;
  padding-inline: 35px;
  border-radius: 12px;
}
.download-layout p {
  font-size: 14px;
  color: var(--body-copy);
  margin-top: 18px;
}
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 27px;
  color: var(--muted);
  font-size: 12px;
}
.site-footer .brand {
  font-size: 23px;
  color: var(--ink);
  gap: 10px;
}
.site-footer > a:last-child {
  display: flex;
  align-items: center;
  gap: 10px;
}
.arrow-up {
  transform: rotate(-90deg);
  width: 17px;
  height: 17px;
}
dialog {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 0;
  border-radius: 21px;
  width: min(540px, calc(100% - 40px));
  max-height: calc(100dvh - 50px);
  color: var(--ink);
  box-shadow: 0 30px 100px #07150a30;
}
dialog::backdrop {
  background: #0d231765;
  backdrop-filter: blur(5px);
}
.dialog-content {
  position: relative;
  padding: 43px;
}
.dialog-close {
  position: absolute;
  top: 13px;
  right: 13px;
}
.dialog-content .section-index {
  font-size: 10px;
  margin-bottom: 15px;
}
.dialog-content h2 {
  font-size: 30px;
  letter-spacing: -0.8px;
  padding-right: 10px;
}
.dialog-content > p:not(.section-index) {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
  margin-top: 18px;
}
.dialog-content ol {
  padding-left: 21px;
  margin-block: 24px;
  color: var(--body-copy);
  font-size: 14px;
  line-height: 2.3;
}
.dialog-content .button {
  width: 100%;
  margin-top: 2px;
}
.dialog-content > p.dialog-note {
  font-size: 11px;
  line-height: 1.7;
}
.floating-window {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 320px;
  max-width: calc(100vw - 24px);
  max-height: calc(100dvh - 16px);
  display: flex;
  flex-direction: column;
  z-index: 40;
  border-radius: 15px;
  border: 1px solid #385e48;
  overflow: hidden;
  box-shadow: 0 15px 60px #06211140;
  background: #11271a;
}
.floating-title {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  background: #10271a;
  color: #fff;
  padding: 5px 6px;
}
.floating-title > button:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-height: 39px;
  text-align: left;
  cursor: grab;
  touch-action: none;
  user-select: none;
  padding: 2px 6px;
}
.floating-title strong {
  font-size: 12px;
  font-weight: 500;
}
.floating-title span {
  font-size: 9px;
  color: #89dcaa;
  margin-left: auto;
}
.floating-title > .icon-button {
  width: 31px;
  height: 31px;
}
.floating-title .icon {
  width: 17px;
  height: 17px;
}
.floating-window .floating-screen {
  margin: 0;
  border-radius: 0;
  padding: 10px 14px 8px;
  min-height: 0;
  overflow-y: auto;
}
.floating-screen .vm-home-heading > strong {
  font-size: 34px;
}
.floating-screen .vm-video {
  height: 130px;
}
.floating-screen .vm-app-dock {
  gap: 22px;
  padding-block: 12px 10px;
}
.floating-title > button:first-child:active {
  cursor: grabbing;
}
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  max-width: calc(100vw - 36px);
  background: #142b1f;
  color: #fff;
  border: 1px solid #4c7a5c;
  padding: 13px 23px;
  border-radius: 12px;
  box-shadow: 0 10px 30px #10251530;
  z-index: 100;
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
}
[data-theme="dark"] .snapshot-section {
  border-block: 1px solid var(--line);
}
[data-theme="dark"] .snapshot-demo,
[data-theme="dark"] .ota-demo,
[data-theme="dark"] .terminal-demo,
[data-theme="dark"] .floating-window,
[data-theme="dark"] .toast {
  background: var(--surface);
}
[data-theme="dark"] .snapshot-demo:not(.paused),
[data-theme="dark"] .ota-demo,
[data-theme="dark"] .terminal-demo,
[data-theme="dark"] .mini-float,
[data-theme="dark"] .floating-window,
[data-theme="dark"] .toast {
  border-color: #3d424b;
}
[data-theme="dark"] .snapshot-demo,
[data-theme="dark"] .mini-float,
[data-theme="dark"] .floating-window,
[data-theme="dark"] .toast {
  box-shadow: 0 15px 45px #0004;
}
[data-theme="dark"] .terminal-bar,
[data-theme="dark"] .mini-float-bar,
[data-theme="dark"] .floating-title {
  background: var(--surface-soft);
}
[data-theme="dark"] .window-title,
[data-theme="dark"] .snapshot-current {
  border-color: var(--line);
}
[data-theme="dark"] .flash-types {
  background: var(--page);
}
[data-theme="dark"] .flash-progress {
  background: #3d424b;
}
[data-theme="dark"] .snapshot-copy .section-description,
[data-theme="dark"] .flash-heading {
  color: var(--body-copy);
}
[data-theme="dark"] .snapshot-copy .section-index,
[data-theme="dark"] .snapshot-current p,
[data-theme="dark"] .demo-note,
[data-theme="dark"] .terminal-bar,
[data-theme="dark"] .terminal-muted,
[data-theme="dark"] .flash-heading > span > span,
[data-theme="dark"] .flash-package small {
  color: var(--muted);
}
[data-theme="dark"] .circle-arrow {
  border-color: var(--outline);
  color: var(--muted);
}
[data-theme="dark"] .rom-card:hover .circle-arrow {
  color: var(--cta-fg);
}
[data-theme="dark"] dialog::backdrop {
  background: #0008;
}
[data-theme="dark"] .note-row small {
  color: var(--muted);
}
.nav-app-name {
  margin-left: -2px;
}
@keyframes menu-in {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.mobile-nav:not([hidden]) {
  animation: menu-in 220ms ease-out;
}
.button:active {
  transform: translateY(0) scale(0.98);
}
.version-picker button,
.rom-filters button {
  transition:
    background 200ms,
    color 200ms,
    border-color 200ms,
    transform 200ms;
}
.version-picker button:active,
.rom-filters button:active {
  transform: scale(0.96);
}
.desktop-nav a {
  position: relative;
}
.desktop-nav a::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--green-dark);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms;
}
.desktop-nav a:hover::after {
  transform: scaleX(1);
}
.feature-icon {
  transition: transform 280ms ease;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .tool-feature:hover .feature-icon {
    transform: translateY(-4px) rotate(-4deg);
  }
  .button:hover .icon {
    translate: 2px 0;
  }
  .use-case:hover {
    border-color: var(--green-dark);
  }
  .use-case:hover .use-case-top .icon {
    transform: translateY(-3px);
  }
}
.button .download-icon {
  stroke-width: 2;
  width: 20px;
  height: 20px;
}
.button-nav .download-icon {
  order: -1;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .button:hover .download-icon {
    translate: 0 2px;
  }
}
.button .icon {
  transition: translate 220ms;
}
@media (max-width: 960px) {
  .mapping-section {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-block: 56px;
  }
  .mapping-copy > .section-description {
    max-width: 580px;
  }
  .mapping-modes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 26px;
  }
  .mapping-modes dd {
    margin-left: 0;
  }
  .use-cases-section {
    padding-block: 56px;
  }
  .use-cases-heading {
    align-items: flex-start;
  }
  .use-cases-heading > p {
    max-width: 280px;
    margin-top: 36px;
    font-size: 15px;
  }
  .use-cases-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .use-case {
    padding: 26px;
  }
  .vm-screen {
    padding-inline: 12px;
  }
  .vm-video {
    height: 124px;
  }
  .vm-app-dock {
    gap: 20px;
  }
  .snapshot-state-icon {
    width: 20px;
    height: 20px;
  }
}
@media (max-width: 700px) {
  .mapping-section {
    padding-block: 44px;
    gap: 28px;
  }
  .mapping-copy .section-index {
    font-size: 10px;
    margin-bottom: 14px;
  }
  .mapping-copy > .section-description {
    font-size: 14px;
    margin-top: 18px;
  }
  .mapping-modes {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .mapping-modes dd {
    font-size: 12px;
    margin: 5px 0 0 18px;
  }
  .mapping-panel {
    padding: 14px;
    border-radius: 18px;
  }
  .mapping-panel-heading strong {
    font-size: 15px;
  }
  .mapping-grid {
    gap: 8px;
  }
  .mapping-card {
    padding: 12px 9px;
    border-radius: 11px;
  }
  .mapping-card > .icon {
    width: 36px;
    height: 36px;
    padding: 8px;
    border-radius: 10px;
    margin-bottom: 12px;
  }
  .mapping-card > strong {
    font-size: 12px;
    min-height: 3em;
    margin-bottom: 6px;
  }
  .mapping-state {
    font-size: 10px;
  }
  .mapping-feedback,
  .mapping-panel-heading > div > span,
  .mapping-panel-heading .text-button {
    font-size: 10px;
  }
  .use-cases-section {
    padding-block: 44px;
  }
  .use-cases-heading {
    flex-direction: column;
    gap: 18px;
    margin-bottom: 28px;
  }
  .use-cases-heading h2 {
    font-size: 32px;
    letter-spacing: -1px;
  }
  .use-cases-heading .section-index {
    font-size: 10px;
    margin-bottom: 14px;
  }
  .use-cases-heading > p {
    max-width: none;
    margin: 0;
    font-size: 14px;
  }
  .use-cases-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .use-case {
    padding: 24px;
  }
  .use-case-top {
    margin-bottom: 18px;
  }
  .use-case h3 {
    font-size: 21px;
  }
  .use-case > p {
    margin-bottom: 20px;
  }
  .nav-app-name {
    display: none;
  }
}
@media (min-width: 1500px) {
  .hero {
    min-height: 740px;
  }
  .hero-art {
    width: 108%;
    margin-left: -4%;
  }
  .hero h1 {
    font-size: 106px;
  }
  .hero-description {
    font-size: 20px;
  }
}
@media (max-width: 1200px) {
  :root {
    --gutter: 42px;
  }
  .hero {
    min-height: 630px;
  }
  .hero h1 {
    font-size: 76px;
    letter-spacing: -3px;
  }
  .hero h1 span {
    letter-spacing: -4px;
  }
  .hero-description {
    font-size: 15px;
    letter-spacing: -0.4px;
  }
  .hero-art {
    width: 109%;
    margin-left: -3%;
  }
  .systems-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 23px;
  }
  .version-picker {
    justify-content: flex-start;
    gap: 10px;
  }
  .version-picker button {
    padding-inline: 18px;
  }
  .systems-description {
    margin-top: 18px;
  }
  .snapshot-layout {
    gap: 32px;
  }
  .snapshot-copy h2 {
    font-size: 39px;
  }
  .snapshot-copy .section-description {
    font-size: 15px;
  }
  .snapshot-body {
    padding: 22px 15px 17px;
  }
  .window-title {
    padding: 14px 16px;
  }
  .tools-grid {
    gap: 27px;
  }
  .tool-feature {
    padding-right: 26px;
  }
  .tool-feature > p {
    font-size: 14px;
    min-height: 83px;
  }
  .terminal-code {
    font-size: 9px;
    padding: 15px 10px;
  }
  .rom-grid {
    min-height: 270px;
  }
  .faq-section {
    gap: 50px;
  }
}
@media (max-width: 960px) {
  :root {
    --gutter: 32px;
  }
  .nav-bar {
    height: 76px;
  }
  .brand {
    font-size: 24px;
  }
  .brand img {
    width: 36px;
    height: 36px;
  }
  .desktop-nav {
    gap: 26px;
    margin-left: auto;
  }
  .desktop-nav a {
    font-size: 13px;
  }
  .button-nav {
    font-size: 12px;
    padding-inline: 15px;
  }
  .hero {
    min-height: 580px;
    grid-template-columns: 1.05fr 1fr;
  }
  .hero h1 {
    font-size: 65px;
    letter-spacing: -2px;
  }
  .hero h1 span {
    letter-spacing: -3px;
  }
  .hero-description {
    font-size: 14px;
    white-space: normal;
    max-width: 345px;
    margin-top: 24px;
  }
  .hero-actions {
    gap: 12px;
    margin-top: 25px;
  }
  .hero-actions .button {
    font-size: 13px;
    min-height: 46px;
    padding-inline: 18px;
    gap: 9px;
  }
  .hero-footnote {
    font-size: 11px;
  }
  .hero-art {
    width: 112%;
    margin-left: -8%;
  }
  .systems h2 {
    font-size: 33px;
  }
  .snapshot-layout {
    padding-block: 62px;
    gap: 25px;
  }
  .snapshot-copy h2 {
    font-size: 32px;
  }
  .snapshot-copy .section-description {
    font-size: 13px;
  }
  .snapshot-copy .section-index {
    font-size: 10px;
    margin-bottom: 20px;
  }
  .snapshot-current {
    gap: 8px;
    padding: 9px;
  }
  .snapshot-current p {
    font-size: 9px;
  }
  .snapshot-current strong {
    font-size: 12px;
  }
  .round-button {
    width: 35px;
    height: 35px;
  }
  .window-name {
    font-size: 13px;
  }
  .window-title {
    gap: 8px;
  }
  .window-decoration {
    display: none;
  }
  .running-status {
    font-size: 10px;
  }
  .demo-note {
    font-size: 9px;
  }
  .tools-section {
    padding-block: 60px;
  }
  .tools-grid {
    gap: 20px;
  }
  .tool-feature {
    padding-right: 19px;
  }
  .tool-feature h3 {
    font-size: 21px;
  }
  .tool-feature > p {
    font-size: 13px;
    min-height: 96px;
  }
  .terminal-code {
    font-size: 8px;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .ota-demo {
    padding: 10px;
  }
  .flash-package {
    gap: 7px;
  }
  .flash-package strong {
    font-size: 11px;
  }
  .floating-preview {
    padding: 14px;
  }
  .mini-float {
    width: 78%;
    right: 8px;
    top: 66px;
  }
  .mini-float-bar {
    font-size: 8px;
  }
  .note-row {
    font-size: 9px;
  }
  .rom-section {
    padding-top: 55px;
  }
  h2 {
    font-size: 37px;
  }
  .section-description {
    font-size: 16px;
  }
  .rom-grid {
    gap: 18px;
    min-height: 245px;
  }
  .rom-version {
    font-size: 62px;
  }
  .rom-info strong {
    font-size: 18px;
  }
  .rom-info small {
    font-size: 10px;
  }
  .circle-arrow {
    width: 29px;
    height: 29px;
  }
  .circle-arrow .icon {
    width: 18px;
  }
  .faq-section {
    gap: 35px;
    padding-block: 40px 65px;
    grid-template-columns: 0.9fr 1.2fr;
  }
  .faq-section h2 {
    font-size: 30px;
  }
  .faq-list summary {
    font-size: 13px;
    padding-block: 22px;
  }
  .download-layout h2 {
    font-size: 41px;
  }
  .download-layout .button {
    font-size: 16px;
    padding-inline: 26px;
    min-height: 55px;
  }
}
@media (max-width: 700px) {
  :root {
    --gutter: 24px;
  }
  html {
    scroll-padding-top: 84px;
  }
  .nav-bar {
    height: 72px;
    gap: 12px;
  }
  .brand {
    font-size: 23px;
    gap: 9px;
  }
  .brand img {
    width: 35px;
    height: 35px;
    border-radius: 9px;
  }
  .desktop-nav {
    display: none;
  }
  .menu-toggle {
    display: flex;
    width: 33px;
    height: 38px;
  }
  .nav-actions {
    gap: 8px;
  }
  .button-nav {
    min-height: 38px;
    font-size: 11px;
    padding: 0 12px;
    gap: 6px;
  }
  .button-nav .icon {
    width: 15px;
    height: 15px;
  }
  .hero {
    display: flex;
    flex-direction: column;
    padding-top: 36px;
    padding-bottom: 20px;
    min-height: 0;
    overflow: hidden;
  }
  .hero-copy {
    padding: 0;
    width: 100%;
    text-align: center;
  }
  .hero h1 {
    font-size: clamp(52px, 11vw, 72px);
    line-height: 1.18;
    letter-spacing: -2.5px;
  }
  .hero h1 span {
    letter-spacing: -3px;
  }
  .hero-description {
    font-size: 13px;
    line-height: 1.9;
    max-width: 370px;
    margin: 23px auto 0;
    letter-spacing: -0.3px;
  }
  .hero-actions {
    justify-content: center;
    margin-top: 24px;
    gap: 12px;
  }
  .hero-actions .button {
    min-height: 47px;
    font-size: 13px;
    padding-inline: 20px;
  }
  .hero-footnote {
    margin-top: 18px;
    font-size: 10px;
  }
  .hero-art {
    width: 100%;
    max-width: 420px;
    margin: 4px auto 0;
  }
  .systems {
    padding-top: 26px;
    padding-bottom: 34px;
  }
  .systems-top {
    gap: 22px;
    align-items: center;
  }
  .systems-top > div:first-child {
    width: 100%;
  }
  .systems h2 {
    font-size: 27px;
    letter-spacing: -1px;
    white-space: normal;
  }
  .systems .section-index {
    font-size: 9px;
    margin-bottom: 11px;
  }
  .version-picker {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
    gap: 9px;
  }
  .version-picker button {
    font-size: 12px;
    padding: 13px 9px;
  }
  .systems-description {
    display: block;
    font-size: 12px;
    margin-top: 18px;
  }
  .systems-description > p:last-child {
    text-align: left;
    margin-top: 15px;
  }
  .rom-family-names {
    font-size: 14px;
    margin-top: 3px;
  }
  .snapshot-layout {
    grid-template-columns: 1fr;
    padding-block: 46px;
    gap: 32px;
  }
  .snapshot-copy h2 {
    font-size: 33px;
    line-height: 1.5;
    letter-spacing: -1px;
  }
  .snapshot-copy .section-index {
    font-size: 9px;
    margin-bottom: 17px;
  }
  .snapshot-copy .section-description {
    font-size: 14px;
    margin-top: 16px;
    max-width: 420px;
  }
  .snapshot-copy .button {
    margin-top: 23px;
    font-size: 13px;
    min-height: 43px;
  }
  .snapshot-demo-wrap {
    width: 100%;
    max-width: 480px;
    justify-self: center;
  }
  .snapshot-demo {
    border-radius: 12px;
  }
  .window-title {
    padding: 13px 16px;
  }
  .window-name {
    font-size: 14px;
  }
  .running-status {
    font-size: 11px;
  }
  .snapshot-body {
    padding: 23px 16px 17px;
  }
  .snapshot-current {
    padding: 11px;
    gap: 11px;
  }
  .snapshot-current strong {
    font-size: 14px;
  }
  .snapshot-current p {
    font-size: 9px;
  }
  .round-button {
    width: 38px;
    height: 38px;
  }
  .demo-note {
    font-size: 9px;
    margin-top: 14px;
  }
  .tools-section {
    padding-top: 48px;
    padding-bottom: 44px;
  }
  h2 {
    font-size: 32px;
    letter-spacing: -1px;
  }
  .section-heading > p {
    font-size: 15px;
    margin-top: 8px;
  }
  .tools-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 35px;
  }
  .tool-feature {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 0 0 32px;
  }
  .feature-icon {
    width: 35px;
    height: 35px;
    margin-bottom: 14px;
  }
  .tool-feature h3 {
    font-size: 23px;
  }
  .tool-feature > p {
    min-height: 0;
    font-size: 14px;
    margin-top: 11px;
    max-width: 480px;
  }
  .ota-demo,
  .terminal-demo,
  .floating-preview {
    margin-top: 21px;
    height: 220px;
  }
  .ota-demo {
    padding: 14px;
  }
  .flash-package strong {
    font-size: 13px;
  }
  .terminal-bar {
    font-size: 11px;
    padding: 6px 16px;
  }
  .terminal-bar .icon-button {
    width: 30px;
    height: 30px;
  }
  .terminal-code {
    font-size: 12px;
    padding: 15px 18px;
    line-height: 1.7;
  }
  .terminal-code p:nth-child(3) {
    margin-top: 6px;
  }
  .terminal-cursor {
    margin-top: 7px;
  }
  .floating-preview {
    height: 240px;
    padding: 18px;
  }
  .notes-title {
    font-size: 12px;
  }
  .note-row {
    max-width: 185px;
    font-size: 12px;
    padding: 13px;
    margin-top: 13px;
  }
  .note-row small {
    font-size: 10px;
  }
  .mini-float {
    width: 68%;
    max-width: 250px;
    right: 17px;
    top: 57px;
  }
  .mini-float-bar {
    font-size: 11px;
    padding: 7px 10px;
  }
  .mini-float-screen {
    height: 119px;
    padding: 12px 15px;
  }
  .mini-app-dots i {
    width: 20px;
    height: 20px;
  }
  .float-hint {
    font-size: 11px;
    bottom: 13px;
  }
  .rom-section {
    padding-top: 44px;
    padding-bottom: 38px;
  }
  .market-heading {
    align-items: flex-start;
    gap: 16px;
  }
  .market-heading h2 {
    font-size: 29px;
    letter-spacing: -1.2px;
  }
  .market-heading .section-index {
    font-size: 9px;
    margin-bottom: 14px;
  }
  .market-heading .section-description {
    font-size: 14px;
    line-height: 1.85;
    margin-top: 15px;
  }
  .market-heading .text-button {
    font-size: 0;
    gap: 0;
    padding-top: 36px;
  }
  .market-heading .text-button .icon {
    width: 24px;
    height: 24px;
  }
  .rom-compatibility {
    font-size: 12px;
    margin-top: 13px;
  }
  .rom-filters {
    gap: 6px;
    margin-top: 24px;
    margin-bottom: 20px;
    flex-wrap: nowrap;
  }
  .rom-filters button {
    padding: 11px 14px;
    font-size: 12px;
  }
  .rom-grid {
    grid-template-columns: 1fr;
    gap: 26px;
    min-height: 0;
  }
  .rom-art {
    aspect-ratio: 1.65;
    border-radius: 13px;
    font-size: 14px;
  }
  .rom-version {
    font-size: 77px;
  }
  .rom-info {
    padding-top: 15px;
  }
  .rom-info strong {
    font-size: 22px;
  }
  .rom-info small {
    font-size: 12px;
  }
  .circle-arrow {
    width: 34px;
    height: 34px;
  }
  .market-note {
    font-size: 10px;
    margin-top: 23px;
  }
  .faq-section {
    grid-template-columns: 1fr;
    gap: 25px;
    padding-top: 20px;
    padding-bottom: 50px;
  }
  .faq-section h2 {
    font-size: 30px;
  }
  .faq-list summary {
    font-size: 13px;
    padding-block: 21px;
    gap: 10px;
  }
  .faq-list details > p {
    font-size: 13px;
    padding-right: 8px;
  }
  .download-layout {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
    padding-block: 42px;
  }
  .download-layout h2 {
    font-size: 37px;
    line-height: 1.5;
  }
  .download-layout > div {
    text-align: left;
    margin: 0;
  }
  .download-layout p {
    font-size: 12px;
    margin-top: 14px;
  }
  .download-layout .button {
    font-size: 15px;
    min-height: 51px;
    padding-inline: 25px;
  }
  .site-footer {
    flex-wrap: wrap;
    gap: 20px;
    padding-block: 24px;
  }
  .site-footer .brand {
    font-size: 20px;
  }
  .site-footer .brand img {
    width: 30px;
    height: 30px;
  }
  .site-footer > span {
    order: 3;
    width: 100%;
    font-size: 10px;
  }
  .site-footer > a:last-child {
    font-size: 11px;
  }
  .dialog-content {
    padding: 38px 25px 27px;
  }
  .dialog-content h2 {
    font-size: 27px;
  }
  .dialog-content > p:not(.section-index) {
    font-size: 13px;
  }
  .floating-window {
    width: 300px;
    right: 12px;
    bottom: 12px;
  }
}
@media (max-width: 360px) {
  .mapping-copy h2 {
    font-size: 28px;
  }
  .nav-bar {
    gap: 8px;
  }
  .brand {
    font-size: 21px;
    gap: 8px;
    flex-shrink: 0;
  }
  .brand img {
    width: 32px;
    height: 32px;
  }
  .nav-actions {
    gap: 4px;
  }
  .button-nav {
    font-size: 10px;
    padding-inline: 10px;
  }
  .button-nav .icon {
    width: 14px;
    height: 14px;
  }
  .menu-toggle {
    width: 28px;
  }
  .rom-filters {
    gap: 5px;
  }
  .rom-filters button {
    font-size: 11px;
    padding: 11px 10px;
    white-space: nowrap;
  }
  .hero-description {
    font-size: 12px;
  }
  .hero-actions .button {
    font-size: 12px;
    padding-inline: 15px;
  }
  .snapshot-copy h2 {
    font-size: 30px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
  .button:hover,
  .rom-card:hover .rom-art,
  .floating-preview:hover .mini-float {
    transform: none;
  }
}
