/* Página de download (mnd.stintlab.app). Cores e tamanhos vêm de /styles/tokens.css, gerado do tokens.json. */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  height: 100%;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  margin: 0;
  padding: 24px 16px;
  background: var(--scene-bg);
  color: var(--text-primary);
  font-family: var(--font-ui);
  font-size: var(--font-size-base);
}

.window {
  width: 100%;
  max-width: 440px;
  overflow: hidden;
  border: 1px solid var(--window-border);
  border-radius: var(--radius-window);
  background: var(--window-bg);
  box-shadow: var(--shadow-dialog);
}

.title-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: var(--size-title-bar);
  padding: 0 10px;
  border-bottom: 1px solid var(--title-bar-border);
  background: var(--title-bar-bg);
}

.title-bar-name {
  color: var(--title-bar-text);
  font-weight: var(--font-weight-bold);
  letter-spacing: 1px;
}

.title-bar-tagline {
  color: var(--title-bar-sub-text);
  font-size: var(--font-size-sm);
}

.scene {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 28px 24px 48px;
  overflow: hidden;
  background: var(--scene-bg);
  text-align: center;
}

.app-icon {
  position: relative;
  filter: drop-shadow(var(--shadow-avatar));
}

h1 {
  position: relative;
  margin: 4px 0 0;
  color: var(--text-heading);
  font-size: var(--font-size-logo);
  letter-spacing: 2px;
}

.tagline {
  position: relative;
  margin: 0;
  color: var(--text-secondary);
}

.dunes {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 44px;
}

.dune-back {
  fill: var(--scene-dune1);
}

.dune-front {
  fill: var(--scene-dune2);
}

.download {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 4px 24px 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 28px;
  border: 1px solid var(--buttons-default-border);
  border-radius: var(--radius-button);
  background: var(--buttons-default-bg);
  box-shadow: var(--buttons-default-shadow);
  color: var(--buttons-default-text);
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-semibold);
  text-decoration: none;
}

.button:hover {
  filter: brightness(1.04);
}

.button:active {
  border-color: var(--buttons-pressed-border);
  background: var(--buttons-pressed-bg);
  box-shadow: none;
}

.button:focus-visible {
  outline: 1px dotted currentColor;
  outline-offset: -4px;
}

.requirements {
  margin: 0;
  color: var(--text-secondary);
  font-size: var(--font-size-sm);
  text-align: center;
}

.notes {
  margin: 4px 0 0;
  padding: 10px 12px 10px 28px;
  border: 1px solid var(--surface-card-border);
  border-radius: var(--radius-card);
  background: var(--surface-card);
  color: var(--text-label);
  font-size: var(--font-size-sm);
  line-height: 1.5;
}
