@font-face {
  font-family: "Berkeley Mono";
  src: local("Berkeley Mono"), local("BerkeleyMono-Regular");
  font-style: normal;
  font-weight: 400;
}

:root {
  color-scheme: dark;

  --font-mono: "Berkeley Mono", "SFMono-Regular", Consolas, monospace;

  --surface-default: oklch(0.162 0.01 260);
  --surface-secondary: oklch(0.216 0.008 260);
  --content-raise: oklch(0.9 0.0001 260);
  --content-secondary: oklch(0.717 0.0021 260);
  --content-disabled: oklch(0.483 0.0041 260);
  --stroke-secondary: oklch(0.247 0.007 260);

  --surface-accent: oklch(0.24 0.0278 255);
  --content-accent: oklch(0.71 0.087 255);

  --surface-destructive: oklch(0.24 0.0626 31.3);
  --content-destructive: oklch(0.712 0.185 11.3);

  --radius-sm: 1px;
  --radius-md: 2px;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html,
body {
  min-height: 100%;
}

body {
  background: var(--surface-default);
  color: var(--content-raise);
  margin: 0;
  min-width: 320px;
  font-family: var(--font-mono);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.container {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100svh;
  padding: 32px 20px;
  text-align: center;
}

.content {
  align-items: center;
  display: flex;
  gap: 14px;
}

.logo-mark, .logo-mark-destructive {
  background: var(--content-accent);
  display: block;
  flex: none;
  height: 48px;
  mask: url("/img/sable.png") center / contain no-repeat;
  width: 48px;
  -webkit-mask: url("/img/sable.png") center / contain no-repeat;
}

.logo-mark-destructive {
  background: var(--content-destructive);
}

h1 {
  font-size: clamp(1.875rem, 6vw, 2.75rem);
  font-weight: 400;
  line-height: 1;
  margin: 0;
}

.badge, .badge-destructive {
  align-items: center;
  background: var(--surface-accent);
  border-radius: var(--radius-sm);
  box-shadow: inset 0 0 0 1px
    color-mix(in srgb, var(--content-accent) 15%, transparent);
  color: var(--content-accent);
  display: inline-flex;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  height: 18px;
  line-height: 1;
  margin: 24px 0 0;
  padding: 0 5px;
  text-transform: uppercase;
  white-space: nowrap;
}

.badge-destructive {
  background: var(--surface-destructive);
    box-shadow: inset 0 0 0 1px
    color-mix(in srgb, var(--content-destructive) 15%, transparent);
  color: var(--content-destructive);
}

.projects {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

button {
  align-items: center;
  background: var(--surface-accent);
  border: 0;
  border-radius: var(--radius-md);
  color: var(--content-accent);
  display: inline-flex;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  height: 36px;
  justify-content: center;
  min-width: 112px;
  padding: 0 14px;
  position: relative;
}

button::after {
  border: 1px solid color-mix(in srgb, currentColor 15%, transparent);
  border-radius: inherit;
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.38;
}

@media (max-width: 380px) {
  .projects {
    gap: 6px;
  }

  button {
    font-size: 0.6875rem;
    height: 32px;
    min-width: 100px;
    padding: 0 10px;
  }
}
