@font-face {
  font-family: 'Fredoka';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url('/fonts/fredoka-latin-400-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Fredoka';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url('/fonts/fredoka-latin-600-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Fredoka';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url('/fonts/fredoka-latin-700-normal.woff2') format('woff2');
}

:root {
  --color-primary: #26c7c9;
  --color-secondary: #0f9fb5;
  --color-background: #ffffff;
  --color-text: #1f2937;
  --color-subtext: #64748b;
  --color-border: #e2e8f0;
}

* {
  box-sizing: border-box;
}

html {
  background-color: var(--color-background);
}

body {
  margin: 0;
  min-height: 100dvh;
  background-color: var(--color-background);
  color: var(--color-text);
  font-family:
    'Fredoka',
    system-ui,
    -apple-system,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}

main {
  max-width: 36rem;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}

.logo {
  display: block;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
}

.back {
  color: var(--color-secondary);
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
}

.back:hover {
  text-decoration: underline;
}

nav {
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 700;
}

nav a {
  color: var(--color-secondary);
  text-decoration: none;
}

nav a:hover {
  text-decoration: underline;
}

nav a[aria-current='page'] {
  color: var(--color-text);
  text-decoration: none;
}

nav .dot {
  color: color-mix(in srgb, var(--color-subtext) 40%, transparent);
  margin: 0 0.35rem;
}

h1 {
  margin: 1.25rem 0 0.75rem;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.updated {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-subtext);
}

article p {
  margin: 0 0 0.85rem;
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--color-subtext);
}

.note {
  margin-top: 2rem;
  padding: 0.85rem 1rem;
  border-radius: 1rem;
  background: color-mix(in srgb, var(--color-primary) 5%, transparent);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.6;
  color: var(--color-subtext);
}
