/* deskapp.dev. Colors, type, radii, and motion come from packages/design/tokens.css. */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  height: 100%;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--desk-font-ui);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 96px var(--desk-space-4) 64px;
  text-align: center;
}

.lockup {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  font-family: var(--desk-font-display);
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.lockup .mark {
  width: 60px;
  height: 52px;
  fill: var(--brand-mark);
  flex-shrink: 0;
}

.statement {
  max-width: 30ch;
  margin: var(--desk-space-4) 0 0;
  color: var(--muted-foreground);
  font-size: 19px;
  line-height: 1.45;
  text-wrap: balance;
}

.actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 40px;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: var(--desk-space-2);
  height: 46px;
  padding: 0 22px;
  border-radius: var(--desk-radius);
  background: var(--primary);
  color: var(--primary-foreground);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: var(--desk-shadow-card);
  transition: opacity var(--desk-duration-fast) var(--desk-ease-out);
}

.button:hover {
  opacity: 0.88;
}

.button svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.requirement {
  margin: 0;
  color: var(--subtle-foreground);
  font-size: 13px;
}

.web-link {
  margin-top: var(--desk-space-5);
  padding: 6px 10px;
  border-radius: var(--desk-radius-md);
  color: var(--foreground);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color var(--desk-duration-fast) var(--desk-ease-out);
}

.web-link:hover {
  background: var(--hover);
}

.button:focus-visible,
.web-link:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 3px;
}

footer {
  padding: var(--desk-space-4);
  color: var(--subtle-foreground);
  font-size: 13px;
  text-align: center;
}

@media (max-width: 480px) {
  main {
    padding-top: 64px;
  }
  .lockup {
    font-size: 44px;
    gap: 12px;
  }
  .lockup .mark {
    width: 48px;
    height: 42px;
  }
  .statement {
    font-size: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .button,
  .web-link {
    transition: none;
  }
}
