@charset "UTF-8";
:root {
  /* Colors */
  --black: oklch(0% 0 0);
  --neutral-1000: oklch(18% 0.0025 300);
  --neutral-900: oklch(24% 0.0025 300);
  --neutral-800: oklch(34% 0.0025 300);
  --neutral-700: oklch(47% 0.0025 300);
  --neutral-600: oklch(59% 0.0025 300);
  --neutral-500: oklch(71% 0.0025 300);
  --neutral-400: oklch(80% 0.0025 300);
  --neutral-300: oklch(90% 0.0025 300);
  --neutral-200: oklch(96% 0.0025 300);
  --neutral-100: oklch(98% 0.0025 300);
  --white: oklch(100% 0 0);
  --blue: #007AFF;
  --red: #FF3B30;
  --primary: var(--blue);
  --error: var(--red);
  --text: var(--black);
  --text-primary: color-mix(in srgb, var(--text), transparent 10%);
  --text-secondary: color-mix(in srgb, var(--text), transparent 20%);
  --text-tertiary: color-mix(in srgb, var(--text), transparent 50%);
  --foreground: var(--neutral-900);
  --background: var(--white);
  --background-secondary: var(--neutral-200);
  --background-tertiary: var(--neutral-100);
  --drop-shadow: drop-shadow(0 4px 8px color-mix(in srgb, var(--black), transparent 90%)) drop-shadow(0 2px 4px color-mix(in srgb, var(--black), transparent 85%));
  --elevation-400: 0 4px 32px color-mix(in srgb, var(--black), transparent 85%), 0 2px 8px color-mix(in srgb, var(--black), transparent 95%);
  --elevation-200: 0 2px 16px color-mix(in srgb, var(--black), transparent 85%), 0 1px 2px color-mix(in srgb, var(--black), transparent 95%);
  /* Utility */
  --space-100: 4px;
  --space-200: 8px;
  --space-300: 16px;
  --space-400: 24px;
  --space-500: 32px;
  --space-600: 48px;
  --space-700: 80px;
  --max-width: 1120px;
  --measure: 65ch;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  color: var(--text-primary);
}

/* Core */
.container {
  margin: 0 var(--space-300);
}

.measure {
  max-width: var(--measure);
}

.right {
  margin-left: auto;
}

.centered {
  margin-left: auto;
  margin-right: auto;
}

.app {
  width: 100%;
  max-width: var(--max-width);
}

[class^=stack] > h4 + p {
  margin-top: var(--space-200);
}
[class^=stack] > h3 + p {
  margin-top: 12px;
}

.stack-xl > * + * {
  margin-top: var(--space-700);
}

.stack-l > * + * {
  margin-top: var(--space-600);
}

.stack-m > * + * {
  margin-top: var(--space-500);
}

.stack-s > * + * {
  margin-top: var(--space-300);
}

.stack-xs > * + * {
  margin-top: var(--space-200);
}

.stack-xxs > * + * {
  margin-top: var(--space-100);
}

/* Text Styles */
:root {
  font-size: 16px;
}

* {
  margin: 0;
  padding: 0;
}

h1 {
  font-weight: 700;
  font-size: 3rem;
  line-height: 3.5rem;
  margin: 0;
}

h2 {
  font-weight: 700;
  font-size: 2rem;
  line-height: 2.5rem;
}

h3 {
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.5rem;
}

h4 {
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.5rem;
}

h5 {
  font-weight: 600;
  font-size: 13px;
  line-height: 1rem;
  letter-spacing: 0.1rem;
  text-transform: uppercase;
  color: var(--text-secondary);
}

p {
  color: var(--text-secondary);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.5rem;
  letter-spacing: -0.007rem;
}

strong {
  color: var(--text-primary);
  font-weight: 600;
}

li {
  color: var(--text-secondary);
  line-height: 1.5rem;
  letter-spacing: -0.007rem;
  list-style: none;
  position: relative;
}

ul, ol {
  padding-left: var(--space-400);
  margin-top: var(--space-200);
}
ul li::before, ol li::before {
  position: absolute;
  left: calc(-1 * var(--space-400));
}

ul li::before {
  content: "•";
}

ol {
  counter-reset: item;
}
ol li::before {
  counter-increment: item;
  content: counter(item) ".";
}

a {
  color: var(--primary);
  text-decoration: none;
}
a:hover {
  cursor: pointer;
  text-decoration: underline;
}

.sidebar a, .main-navigation a {
  text-decoration: none;
  background: none;
  color: var(--text-tertiary);
  letter-spacing: -0.007rem;
}
.sidebar a:hover, .main-navigation a:hover {
  color: var(--text-primary);
  cursor: pointer;
  transition: color 200ms ease-in-out 0s;
}

.sidebar div.active {
  font-weight: 500;
}

blockquote {
  color: var(--text-secondary);
}

.main-navigation {
  background-color: var(--background);
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 2;
}

.nav-container {
  display: flex;
  align-items: center;
}
.nav-container .logo {
  display: none;
}
.nav-container div {
  display: flex;
  margin: 0 auto;
}
.nav-container div a {
  margin: 0.5rem 2rem;
}

.sidebar div a, .nav-container div a {
  position: relative;
  padding: var(--space-200) 0;
}

div a:after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: 4px;
  left: 0;
  background-color: var(--text-primary);
  visibility: hidden;
  transform-origin: left;
  transform: scaleX(0);
  transition: all 0.3s ease-in-out 0s;
}
div.active a {
  color: var(--text-primary);
}
div.active a:after {
  visibility: visible;
  transform: scaleX(1);
}

/* Buttons */
button {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.007rem;
  display: flex;
  flex-direction: row;
  padding: 0.75rem 1.5rem;
  align-items: center;
  text-align: center;
  border-radius: 4px;
}
button:hover {
  cursor: pointer;
}

.button-primary {
  color: var(--background);
  background-color: var(--foreground);
  border: none;
  transition: all 200ms ease-in-out 0s;
}

.show-more {
  color: var(--primary);
  border: none;
  background-color: transparent;
  padding: 0;
  display: inline-block;
}

.hidden {
  display: none;
}

.progressive {
  padding-left: var(--space-300);
  border-left: 2px solid var(--text-primary);
}

blockquote {
  hanging-punctuation: first;
  padding-left: var(--space-300);
  border-left: 2px solid var(--text-secondary);
}

/* Footer */
footer {
  color: var(--text-tertiary);
  text-align: center;
  margin: 20vh 0 24px;
}

@media screen and (min-width: 800px) {
  /* Core */
  .container {
    margin: 0 10vw;
  }
  /* Navigation */
  .main-navigation {
    padding: 0 10vw;
  }
  .nav-container {
    max-width: var(--max-width);
    padding: 1rem 0 0.5rem 0;
  }
  .nav-container div {
    display: flex;
    margin: 0 0 0 auto;
  }
  .nav-container div a {
    margin: 0 0 0 40px;
  }
  .nav-container .logo {
    display: initial;
  }
  .nav-container svg {
    color: var(--text-secondary);
    height: 64px;
    width: 64px;
    transition: color 200ms ease-in-out 0s;
  }
  .nav-container svg:hover {
    color: var(--text-primary);
  }
  .nav-container a:hover {
    color: var(--text-primary);
    cursor: pointer;
    transition: color 200ms ease-in-out 0s;
  }
}
