@font-face {
  font-family: Fredoka;
  src: url('./fonts/Fredoka.ttf') format('truetype');
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: Nunito;
  src: url('./fonts/Nunito.ttf') format('truetype');
  font-weight: 200 1000;
  font-display: swap;
}
:root {
  color-scheme: light;
  --display: 'Fredoka', 'Nunito', -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  --body: 'Nunito', -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #f6f4fc;
  color: #2b2340;
  font-family: var(--body);
}
.page {
  max-width: 680px;
  margin: 0 auto;
  padding: max(28px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px))
    max(20px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
}
.draft {
  background: #fff1b8;
  border-radius: 16px;
  padding: 12px 16px;
  margin: 0 0 14px;
  font: 600 14px/1.5 var(--body);
}
.draft b {
  font-family: var(--display);
  font-weight: 600;
  font-size: 16px;
  display: block;
}
.card {
  background: #fff;
  border-radius: 24px;
  padding: 26px 20px 24px;
}
.top {
  display: flex;
  align-items: center;
  gap: 14px;
}
.top img {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: block;
  flex: none;
}
.top nav {
  margin-left: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px 14px;
  font: 600 14px/1.4 var(--body);
}
.top a {
  color: #4e3fc9;
  text-decoration: none;
}
.top a[aria-current='page'] {
  color: #2b2340;
}
h1 {
  font: 600 28px/1.12 var(--display);
  margin: 22px 0 6px;
  text-wrap: balance;
}
h2 {
  font: 600 20px/1.2 var(--display);
  margin: 28px 0 8px;
  text-wrap: balance;
}
h3 {
  font: 700 15px/1.4 var(--body);
  margin: 18px 0 4px;
}
p,
li {
  font: 500 15px/1.6 var(--body);
  color: #4a4260;
}
p {
  margin: 8px 0;
}
ul {
  margin: 8px 0;
  padding-left: 22px;
}
li {
  margin: 4px 0;
}
strong {
  color: #2b2340;
}
.meta {
  font: 500 13px/1.5 var(--body);
  color: #7a7390;
  margin: 0;
}
.todo {
  background: #fff1b8;
  border-radius: 6px;
  padding: 0 4px;
  font-weight: 700;
  color: #2b2340;
}
a {
  color: #4e3fc9;
  overflow-wrap: anywhere;
}
a:focus-visible {
  outline: 3px solid #4ed3a0;
  outline-offset: 3px;
}
.foot {
  text-align: center;
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font: 500 12px/1.5 var(--body);
  color: #7a7390;
}
.foot b {
  font-family: var(--display);
  font-weight: 600;
  color: #2b2340;
  font-size: 14px;
}
.foot a {
  color: inherit;
  text-decoration: none;
}
