:root {
  --page-bg: #15181c;
  --panel: #24282d;
  --panel-2: #2c3137;
  --border: rgba(255, 255, 255, 0.1);
  --text: #f4f6fb;
  --muted: rgba(244, 246, 251, 0.68);
  --faint: rgba(244, 246, 251, 0.48);
  --yellow: #ffd700;
  --yellow-hover: #ffe45c;
  --dark: #212529;
  --green: #4ade80;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(255, 215, 0, 0.05), transparent 34rem),
    radial-gradient(circle at 16% 12%, rgba(255, 215, 0, 0.14), transparent 28rem),
    linear-gradient(145deg, #111418 0%, var(--page-bg) 52%, #20262d 100%);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.page-brand,
.download-button,
.not-found-home {
  display: inline-flex;
  align-items: center;
}

.download-button,
.not-found-home {
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid rgba(255, 215, 0, 0.24);
  border-radius: 10px;
  background: var(--yellow);
  color: var(--dark);
  font-weight: 800;
  letter-spacing: -0.01em;
  box-shadow: 0 14px 34px rgba(255, 215, 0, 0.16);
  transition:
    background 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.download-button:hover,
.not-found-home:hover,
.download-button:focus-visible,
.not-found-home:focus-visible {
  background: var(--yellow-hover);
  box-shadow: 0 18px 40px rgba(255, 215, 0, 0.22);
  transform: translateY(-1px);
}

.page-shell {
  width: min(1120px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 52px 0 72px;
}

.page-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.page-brand {
  flex: 0 0 auto;
}

.page-brand-logo {
  width: clamp(180px, 22vw, 250px);
  height: auto;
  max-width: 100%;
  filter: drop-shadow(0 18px 32px rgba(0, 0, 0, 0.24));
}

.page-top-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.page-top-link:hover,
.page-top-link:focus-visible {
  border-color: rgba(255, 215, 0, 0.24);
  background: rgba(255, 215, 0, 0.08);
  color: var(--text);
  transform: translateY(-1px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 40px;
  align-items: center;
  min-height: calc(100vh - 220px);
}

.hero-copy {
  display: grid;
  align-content: start;
  gap: 0;
  max-width: 680px;
}

.eyebrow,
.download-kicker {
  margin: 0;
  color: var(--yellow);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
p,
dd {
  margin: 0;
}

h1 {
  margin-top: 16px;
  max-width: 760px;
  font-size: clamp(48px, 7vw, 88px);
  line-height: 0.94;
  letter-spacing: -0.055em;
}

.hero-download,
.hero-download-card {
  margin-top: 28px;
  width: min(100%, 360px);
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 540px;
  margin: 0 0 0 auto;
  isolation: isolate;
}

.hero-visual-glow {
  position: absolute;
  inset: 12% 8% 20%;
  border-radius: 48px;
  background:
    radial-gradient(circle at 48% 30%, rgba(255, 215, 0, 0.22), transparent 32%),
    radial-gradient(circle at 58% 62%, rgba(89, 176, 255, 0.14), transparent 40%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0));
  filter: blur(24px);
  opacity: 0.92;
}

.laptop {
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  max-width: 600px;
  padding: 30px 8px 54px;
}

.laptop-lid {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px 28px 22px 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.02)),
    linear-gradient(180deg, #3b414b 0%, #1a1f26 100%);
  box-shadow:
    0 36px 88px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.laptop-camera {
  position: absolute;
  top: 10px;
  left: 50%;
  z-index: 2;
  width: 72px;
  height: 10px;
  border-radius: 999px;
  background: rgba(7, 9, 12, 0.92);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  transform: translateX(-50%);
}

.laptop-bezel {
  height: 100%;
  width: 100%;
  padding: 12px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0)),
    #080b10;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.05),
    inset 0 18px 32px rgba(255, 255, 255, 0.03);
}

.laptop-screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 12px;
  background: #0d1117;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    0 0 0 1px rgba(255, 255, 255, 0.03);
}

.app-shot {
  position: absolute;
  inset: 0;
  background: #0b1016;
  overflow: hidden;
  container-type: inline-size;
}

.app-shot-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-glass,
.app-right-card,
.app-routing-card {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.2cqw;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 44%),
    rgba(0, 0, 0, 0.67);
  box-shadow: 0 0.7cqw 2.2cqw rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(0.25cqw);
  -webkit-backdrop-filter: blur(0.25cqw);
}

.app-panel-sheen {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(96deg, transparent 0%, rgba(255, 255, 255, 0.04) 28%, transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 58%);
  opacity: 0.9;
  pointer-events: none;
}

.app-mask-icon {
  display: inline-block;
  width: 100%;
  height: 100%;
  background-color: currentColor;
  -webkit-mask-image: var(--icon-url);
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-image: var(--icon-url);
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
}

.icon-camera {
  --icon-url: url("/assets/icons/cameraIcon.svg");
}

.icon-cpu {
  --icon-url: url("/assets/icons/cpuIcon.svg");
}

.icon-coverage {
  --icon-url: url("/assets/icons/sprayCoverageIcon.svg");
}

.icon-fan {
  --icon-url: url("/assets/icons/fanIcon.svg");
}

.icon-follow {
  --icon-url: url("/assets/icons/duckIcon.svg");
}

.icon-lock {
  --icon-url: url("/assets/icons/lockIcon.svg");
}

.icon-map {
  --icon-url: url("/assets/icons/mapIcon.svg");
}

.icon-menu {
  --icon-url: url("/assets/icons/menuIcon.svg");
}

.icon-menu-open {
  --icon-url: url("/assets/icons/menuOpenIcon.svg");
}

.icon-pause {
  --icon-url: url("/assets/icons/pauseIcon.svg");
}

.icon-play {
  --icon-url: url("/assets/icons/playIcon.svg");
}

.icon-pressure {
  --icon-url: url("/assets/icons/waterPumpIcon.svg");
}

.icon-refill {
  --icon-url: url("/assets/icons/refillPointIcon.svg");
}

.icon-route {
  --icon-url: url("/assets/icons/routeIcon.svg");
}

.icon-rpm {
  --icon-url: url("/assets/icons/rpmIcon.svg");
}

.icon-satellite {
  --icon-url: url("/assets/icons/satelliteIcon.svg");
}

.icon-settings {
  --icon-url: url("/assets/icons/settingsIcon.svg");
}

.icon-speed {
  --icon-url: url("/assets/icons/speedIcon.svg");
}

.icon-therm {
  --icon-url: url("/assets/icons/thermometerIcon.svg");
}

.icon-warning {
  --icon-url: url("/assets/icons/warningIcon.svg");
}

.app-left-panel {
  inset: 4.07% auto auto 0.83%;
  width: 15.83%;
  height: 89.81%;
  padding: 1.1cqw 0.85cqw;
}

.app-left-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.95cqw;
}

.app-left-title {
  color: #f4f6fb;
  font-size: 1.35cqw;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.app-left-lock {
  width: 1.1cqw;
  height: 1.1cqw;
  color: #f4f6fb;
  opacity: 0.92;
}

.app-machine-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.85cqw;
}

.app-machine-card {
  position: relative;
  min-height: 5.45cqw;
  padding: 1.15cqw 1.1cqw 1.05cqw 1.45cqw;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.05cqw;
  background: linear-gradient(180deg, #30353b 0%, #2b3036 100%);
  box-shadow: 0 0.55cqw 1.35cqw rgba(0, 0, 0, 0.16);
}

.app-machine-card.is-active {
  border-color: #ffd700;
  box-shadow: inset 0 0 0 0.05cqw #ffd700;
}

.app-machine-card.is-idle {
  min-height: 4.45cqw;
  padding-top: 1.05cqw;
  padding-bottom: 1.05cqw;
}

.app-machine-strip {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0.45cqw;
  border-radius: 1.05cqw 0 0 1.05cqw;
  background: #39de72;
}

.app-machine-name {
  display: block;
  color: #f4f6fb;
  font-size: 1.45cqw;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.app-machine-status {
  position: absolute;
  top: 50%;
  right: 1.05cqw;
  transform: translateY(-50%);
}

.app-pause-bars {
  display: inline-flex;
  gap: 0.35cqw;
  align-items: center;
}

.app-pause-bars span {
  width: 0.35cqw;
  height: 1.6cqw;
  border-radius: 0.12cqw;
  background: #ff4a36;
}

.app-pause-bars-inline span {
  width: 0.3cqw;
  height: 1.45cqw;
}

.app-refill-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.95cqw;
  height: 1.95cqw;
  top: 50%;
  transform: translateY(-50%);
  color: #67a8ff;
}

.app-refill-status .icon-refill {
  width: 100%;
  height: 100%;
  transform: translateY(-18%);
}

.app-top-panel {
  inset: 2.78% auto auto 17.6%;
  width: max-content;
  max-width: 62%;
  padding: 0.68cqw 0.76cqw 0.62cqw;
  overflow: hidden;
}

.app-top-header,
.app-top-body {
  position: relative;
  z-index: 1;
}

.app-top-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.64cqw;
}

.app-top-title-row {
  display: inline-flex;
  align-items: center;
  gap: 0.4cqw;
}

.app-top-machine-name {
  color: #f4f6fb;
  font-size: 1.16cqw;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.app-top-refill {
  width: 0.98cqw;
  height: 0.98cqw;
  color: #68a9ff;
}

.app-top-warning {
  width: 1.12cqw;
  height: 1.12cqw;
  color: #b13b30;
}

.app-top-menu-open {
  width: 1.34cqw;
  height: 1.34cqw;
  color: #f4f6fb;
}

.app-next-refill-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.26cqw;
  min-height: 1.42cqw;
  padding: 0 0.46cqw;
  border: 1px solid rgba(67, 124, 227, 0.72);
  border-radius: 999px;
  background: #1f2730;
}

.app-next-refill-icon {
  width: 0.74cqw;
  height: 0.74cqw;
  color: #68a9ff;
}

.app-next-refill-label,
.app-next-refill-time {
  color: #f4f6fb;
  font-size: 0.54cqw;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.app-next-refill-label {
  color: #9caed0;
}

.app-top-body {
  display: grid;
  grid-template-columns: max-content max-content max-content minmax(0, 10.9cqw);
  justify-content: start;
  gap: 0.24cqw;
  margin-top: 0.42cqw;
  align-items: start;
}

.app-metric-card {
  min-width: 0;
  width: fit-content;
  padding: 0.48cqw 0.52cqw;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.05cqw;
  background: linear-gradient(180deg, #30353b 0%, #2b3036 100%);
}

.app-metric-card-title {
  margin: 0 0 0.32cqw;
  color: #9ca09a;
  font-size: 0.48cqw;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.app-metric-grid {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  justify-content: start;
  gap: 0.3cqw 0.16cqw;
}

.app-metric-card-tech .app-metric-grid {
  grid-template-columns: max-content;
  gap: 0.3cqw;
}

.app-metric {
  display: flex;
  align-items: center;
  gap: 0.24cqw;
  min-width: 0;
}

.app-metric-icon,
.app-metric-icon-image {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 0.88cqw;
  height: 0.88cqw;
  color: #f4f6fb;
}

.app-metric-icon-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(100%);
}

.app-metric-icon-cpu {
  color: #ffbe2e;
}

.app-nozzle-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.14cqw;
  width: 0.88cqw;
  height: 0.88cqw;
}

.app-nozzle-icon span {
  display: block;
  width: 0.1cqw;
  height: 0.74cqw;
  border-radius: 999px;
  background: #f4f6fb;
}

.app-metric-value,
.app-metric-label {
  margin: 0;
}

.app-metric-value {
  color: #f4f6fb;
  font-size: 0.74cqw;
  line-height: 1.05;
  font-weight: 700;
  white-space: nowrap;
}

.app-metric-value span {
  color: #a2a59f;
  font-size: 0.44cqw;
  font-weight: 600;
}

.app-metric-value-empty {
  color: #8e918d;
  letter-spacing: 0.18em;
}

.app-metric-label {
  margin-top: 0.1cqw;
  color: #8e918d;
  font-size: 0.42cqw;
  letter-spacing: 0.04em;
}

.app-control-cluster {
  display: grid;
  width: 100%;
  min-width: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.78fr);
  grid-template-rows: repeat(2, minmax(0, 2.58cqw));
  gap: 0.28cqw;
}

.app-control-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.82cqw;
  background: #2e3238;
  color: #f4f6fb;
  font: inherit;
  box-shadow: inset 0 0 0 0.04cqw rgba(255, 255, 255, 0.02);
}

.app-control-button .app-mask-icon {
  width: 0.9cqw;
  height: 0.9cqw;
}

.app-control-button.is-estop {
  grid-column: 4;
  grid-row: 1 / span 2;
  color: #ffffff;
  background: #e72420;
  font-size: 0.76cqw;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.app-right-stack {
  position: absolute;
  top: 4.81%;
  left: 81.25%;
  width: 17.71%;
  display: grid;
  gap: 0.52cqw;
}

.app-right-card,
.app-routing-card {
  position: relative;
}

.app-right-card {
  min-height: 3.35cqw;
}

.app-right-card-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 3.35cqw;
  padding: 0 0.95cqw;
}

.app-right-card-header.is-open {
  min-height: 3.85cqw;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
  border-top-left-radius: inherit;
  border-top-right-radius: inherit;
}

.app-right-card-title {
  display: inline-flex;
  align-items: center;
  gap: 0.6cqw;
  color: #f4f6fb;
  font-size: 1.25cqw;
  font-weight: 700;
}

.app-right-card-title .app-mask-icon {
  width: 1.3cqw;
  height: 1.3cqw;
  color: #f4f6fb;
}

.app-right-chevron {
  color: #f4f6fb;
  font-size: 1cqw;
  opacity: 0.9;
}

.app-routing-body {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.75cqw;
  padding: 0.95cqw;
}

.app-routing-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75cqw;
}

.app-routing-kicker,
.app-routing-count {
  margin: 0;
}

.app-routing-kicker {
  color: #f4f6fb;
  font-size: 0.7cqw;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.app-routing-count {
  margin-top: 0.28cqw;
  color: #a7aaa4;
  font-size: 0.7cqw;
}

.app-routing-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2cqw;
  height: 2cqw;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #343830;
  color: #f4f6fb;
  font: inherit;
  font-size: 1.35cqw;
}

.app-route-list {
  display: grid;
  gap: 0.5cqw;
}

.app-route-item {
  display: grid;
  gap: 0.22cqw;
  padding: 0.7cqw 0.85cqw;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.85cqw;
  background: rgba(255, 255, 255, 0.03);
}

.app-route-item strong,
.app-route-item span {
  display: block;
  margin: 0;
}

.app-route-item strong {
  color: #f4f6fb;
  font-size: 0.92cqw;
  font-weight: 700;
}

.app-route-item span {
  color: #a7aaa4;
  font-size: 0.72cqw;
}

.app-route-send {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 2.55cqw;
  margin-top: 0.15cqw;
  padding: 0;
  border: 0;
  border-radius: 0.9cqw;
  background: #b9a115;
  color: #212529;
  font: inherit;
  font-size: 0.95cqw;
  font-weight: 800;
}

@media (max-width: 860px) {
  .app-left-title,
  .app-top-machine-name,
  .app-right-card-title,
  .app-machine-name,
  .app-control-button.is-estop {
    letter-spacing: 0;
  }
}

.laptop-hinge {
  display: none;
}

.laptop-deck {
  position: absolute;
  left: 50%;
  bottom: 18px;
  width: 114%;
  height: 28px;
  border-radius: 0 0 44px 44px;
  background:
    linear-gradient(180deg, #eef2f7 0%, #a6afbc 44%, #778190 100%);
  box-shadow:
    0 30px 50px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
  transform: translateX(-50%);
}

.laptop-deck::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 50%;
  width: 22%;
  height: 6px;
  border-radius: 999px;
  background: rgba(86, 92, 104, 0.38);
  transform: translateX(-50%);
}

.laptop-shadow {
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 0;
  z-index: -1;
  height: 48px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.48);
  filter: blur(22px);
}

.download-card,
.info-grid article,
.not-found-card {
  border: 1px solid var(--border);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 44%),
    rgba(36, 40, 45, 0.92);
  box-shadow: var(--shadow);
}

.download-card {
  display: grid;
  gap: 18px;
  padding: 24px 24px 22px;
  border-radius: 22px;
}

.download-header {
  display: grid;
  gap: 6px;
}

.download-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.download-header h2 {
  font-size: 19px;
  letter-spacing: -0.02em;
}

.release-state {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(255, 215, 0, 0.22);
  border-radius: 999px;
  background: rgba(255, 215, 0, 0.08);
  color: var(--yellow);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.download-card[data-state="ready"] .release-state {
  border-color: rgba(74, 222, 128, 0.26);
  background: rgba(74, 222, 128, 0.1);
  color: var(--green);
}

.download-card[data-state="pending"] .release-state,
.download-card[data-state="empty"] .release-state {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(244, 246, 251, 0.78);
}

#package-label {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
  max-width: 30ch;
}

.download-button {
  justify-self: start;
  min-width: 240px;
  min-height: 50px;
  padding: 0 20px;
  font-size: 15px;
  border-radius: 12px;
}

.download-button-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.download-button-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.download-button-spinner {
  display: none;
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  border: 2px solid rgba(33, 37, 41, 0.22);
  border-top-color: currentColor;
  border-radius: 999px;
  animation: button-spin 700ms linear infinite;
}

.download-button.is-loading .download-button-icon {
  display: none;
}

.download-button.is-loading .download-button-spinner {
  display: inline-flex;
}

.download-button.is-loading,
.download-button[aria-disabled="true"] {
  opacity: 0.62;
  pointer-events: none;
}

.download-button.is-ready {
  opacity: 1;
}

@keyframes button-spin {
  to {
    transform: rotate(360deg);
  }
}

.download-meta,
.release-note {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--faint);
  font-size: 12px;
  line-height: 1.4;
}

.hero-download {
  display: grid;
  justify-items: start;
  gap: 10px;
}

.not-found {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 24px;
}

.not-found-card {
  width: min(520px, 100%);
  padding: 28px;
}

.not-found-card h1 {
  font-size: clamp(40px, 10vw, 68px);
}

.not-found-card p {
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.55;
}

.not-found-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}

.not-found-meta {
  display: inline-flex;
  align-items: center;
  color: var(--muted);
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-download,
  .hero-download-card,
  .download-card {
    max-width: 520px;
  }

  .hero-visual {
    min-height: 0;
    width: 100%;
    max-width: 560px;
    margin: 0;
  }

  .laptop {
    width: min(100%, 560px);
    padding-bottom: 48px;
    transform: none;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .page-shell {
    width: calc(100vw - 20px);
    padding-top: 28px;
    padding-bottom: 44px;
  }

  .page-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 18px;
  }

  .page-brand-logo {
    width: min(190px, 56vw);
  }

  .page-top-link {
    min-height: 38px;
    padding: 0 14px;
  }

  .hero {
    gap: 28px;
  }

  .download-card,
  .info-grid article {
    padding: 18px;
    border-radius: 14px;
  }

  .hero-download,
  .hero-download-card {
    margin-top: 24px;
    width: 100%;
  }

  .hero-visual {
    padding-bottom: 4px;
  }

  .laptop {
    padding: 12px 2px 38px;
  }

  .laptop-lid {
    padding: 12px;
    border-radius: 22px;
  }

  .laptop-bezel {
    padding: 9px;
  }

  .laptop-screen {
    border-radius: 10px;
  }

  .laptop-deck {
    width: 108%;
    height: 22px;
    bottom: 14px;
  }

  .download-button {
    min-width: 100%;
  }

}
