@font-face {
  font-family: 'General Sans';
  src: url('/fonts/GeneralSans-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'General Sans';
  src: url('/fonts/GeneralSans-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'General Sans';
  src: url('/fonts/GeneralSans-Semibold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;

  --black: #000000;
  --olive-900: #252623;
  --olive-800: #2e2f2b;
  --olive-500: #494952;
  --olive-400: #94969c;
  --olive-50: #fafafa;
  --volumio-green: #51b289;

  --bg-primary: var(--black);
  --bg-secondary: var(--olive-900);
  --content-primary: var(--olive-50);
  --content-tertiary: var(--olive-400);
  --border-subtle: rgba(255, 255, 255, 0.12);
  --fill-hover: rgba(255, 255, 255, 0.06);

  --font-sans: 'General Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica,
    Arial, sans-serif;

  --space-md: 8px;
  --space-lg: 12px;
  --space-xl: 16px;
  --space-xl3: 24px;
  --space-xl4: 32px;
  --space-xl6: 48px;

  --radius-button: 16px;
  --radius-xl: 16px;

  --text-sm: 14px;
  --text-md: 16px;
  --text-xl: 24px;
  --text-3xl: 32px;
  --lh-sm: 24px;
  --lh-md: 28px;
  --lh-lg: 32px;
  --lh-xl: 40px;

  --tap-min: 56px;
  --ease-standard: cubic-bezier(0.2, 0.8, 0.2, 1);
  --dur-base: 200ms;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg-primary);
  color: var(--content-primary);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: var(--text-md);
  line-height: var(--lh-md);
  -webkit-font-smoothing: antialiased;
}

main {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-xl6);
  max-width: 26rem;
  margin: 0 auto;
  padding: var(--space-xl6) var(--space-xl3);
  box-sizing: border-box;
}

.mark {
  display: block;
  width: min(248px, 72%);
  height: auto;
}

h1 {
  margin: var(--space-xl3) 0 0;
  font-size: var(--text-3xl);
  line-height: var(--lh-xl);
  font-weight: 600;
  letter-spacing: -0.01em;
}

p {
  margin: var(--space-lg) 0 0;
  color: var(--content-tertiary);
  line-height: var(--lh-md);
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

a,
.soon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: var(--tap-min);
  padding: var(--space-lg) var(--space-xl3);
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-button);
  color: var(--content-primary);
  font-weight: 500;
  text-decoration: none;
  transition:
    background var(--dur-base) var(--ease-standard),
    border-color var(--dur-base) var(--ease-standard);
}

a:hover {
  background: var(--olive-800);
  border-color: var(--olive-500);
}

a:focus-visible {
  outline: 2px solid var(--volumio-green);
  outline-offset: 3px;
}

.soon {
  background: transparent;
  border-style: dashed;
  color: var(--content-tertiary);
  font-weight: 400;
}

a > span,
.soon > span {
  display: block;
}

.note {
  margin-top: 2px;
  color: var(--content-tertiary);
  font-size: var(--text-sm);
  line-height: var(--lh-sm);
  font-weight: 400;
}

@media (prefers-reduced-motion: reduce) {
  a {
    transition: none;
  }
}
