@font-face {
  font-family: "Ordian Pretendard";
  src: url("/ordian/Pretendard-Regular.otf") format("opentype");
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --background: #191b18;
  --surface: #272b23;
  --surface-hover: #343c2b;
  --text: #f0f2e9;
  --accent: #b0dc70;
  font-family: "Ordian Pretendard", "Apple SD Gothic Neo", sans-serif;
  background: var(--background);
  color: var(--text);
}

* {
  box-sizing: border-box;
}

body {
  display: grid;
  place-items: center;
  min-height: 100svh;
  margin: 0;
  padding: 24px;
}

.downloads {
  width: min(100%, 400px);
}

h1 {
  margin: 0 0 28px;
  text-align: center;
  font-size: clamp(20px, 5vw, 26px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.4;
}

.platform {
  display: grid;
  grid-template-columns: 28px repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 12px;
}

.platform + .platform {
  margin-top: 12px;
}

.platform svg {
  fill: currentColor;
}

.platform a {
  display: grid;
  place-items: center;
  min-height: 52px;
  padding: 12px 8px;
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.platform a:hover,
.platform a:active {
  background: var(--surface-hover);
  color: var(--accent);
}

.platform a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

#download-error {
  margin: 20px 0 0;
  text-align: center;
  font-size: 13px;
  color: #f3c5aa;
}
