@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200&icon_names=assignment_late,info');
/* @link https://utopia.fyi/type/calculator?c=380,16,1.067,1240,18,1.125,5,2,&s=0.75|0.5|0.25,1.5|2|3|4|6,s-l&g=s,l,xl,12 */

:root {
  --font-size--2: clamp(0.8784rem, 0.8737rem + 0.0196vw, 0.8889rem);
  --font-size--1: clamp(0.9372rem, 0.9095rem + 0.1168vw, 1rem);
  --font-size-0: clamp(1rem, 0.9448rem + 0.2326vw, 1.125rem);
  --font-size-1: clamp(1.067rem, 0.9792rem + 0.3695vw, 1.2656rem);
  --font-size-2: clamp(1.1385rem, 1.0124rem + 0.5309vw, 1.4238rem);
  --font-size-3: clamp(1.2148rem, 1.0438rem + 0.7201vw, 1.6018rem);
  --font-size-4: clamp(1.2962rem, 1.0726rem + 0.9412vw, 1.802rem);
  --font-size-5: clamp(1.383rem, 1.0983rem + 1.1987vw, 2.0273rem);
}

/* @link https://utopia.fyi/space/calculator?c=380,16,1.067,1240,18,1.125,5,2,&s=0.75|0.5|0.25,1.5|2|3|4|6,&g=s,l,xl,12 */

:root {
  --space-3xs: clamp(0.25rem, 0.2224rem + 0.1163vw, 0.3125rem);
  --space-2xs: clamp(0.5rem, 0.4724rem + 0.1163vw, 0.5625rem);
  --space-xs: clamp(0.75rem, 0.6948rem + 0.2326vw, 0.875rem);
  --space-s: clamp(1rem, 0.9448rem + 0.2326vw, 1.125rem);
  --space-m: clamp(1.5rem, 1.4172rem + 0.3488vw, 1.6875rem);
  --space-l: clamp(2rem, 1.8895rem + 0.4651vw, 2.25rem);
  --space-xl: clamp(3rem, 2.8343rem + 0.6977vw, 3.375rem);
  --space-2xl: clamp(4rem, 3.7791rem + 0.9302vw, 4.5rem);
  --space-3xl: clamp(6rem, 5.6686rem + 1.3953vw, 6.75rem);

  /* One-up pairs */
  --space-3xs-2xs: clamp(0.25rem, 0.1119rem + 0.5814vw, 0.5625rem);
  --space-2xs-xs: clamp(0.5rem, 0.3343rem + 0.6977vw, 0.875rem);
  --space-xs-s: clamp(0.75rem, 0.5843rem + 0.6977vw, 1.125rem);
  --space-s-m: clamp(1rem, 0.6962rem + 1.2791vw, 1.6875rem);
  --space-m-l: clamp(1.5rem, 1.1686rem + 1.3953vw, 2.25rem);
  --space-l-xl: clamp(2rem, 1.3924rem + 2.5581vw, 3.375rem);
  --space-xl-2xl: clamp(3rem, 2.3372rem + 2.7907vw, 4.5rem);
  --space-2xl-3xl: clamp(4rem, 2.7849rem + 5.1163vw, 6.75rem);
}

body {
  background: oklch(99.25% 0.002 247.839);
  color: oklch(37.4% 0.01 67.558);
  font-family: system-ui, sans-serif;
  font-size: var(--font-size-0);
  font-weight: 300;
  line-height: 1.4;
  max-width: 75ch;
  padding-block: var(--space-s-m) var(--space-2xl-3xl);
  padding-inline: var(--space-m-l);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
p,
ul,
ol,
blockquote,
figure {
  margin-block: var(--space-2xs-xs);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  border: none;
  color: oklch(26.8% 0.007 34.298);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-block-start: var(--space-s-m);
}

h1 {
  font-size: var(--font-size-5);
}

h2 {
  font-size: var(--font-size-4);
}

h3 {
  font-size: var(--font-size-3);
}

h4 {
  font-size: var(--font-size-2);
}

h5 {
  font-size: var(--font-size-1);
}

h6 {
  font-size: var(--font-size-0);
}

:is(article, section, .note) > :is(h1, h2, h3, h4, h5, h6, p):first-child {
  margin-block-start: 0;
}

header > table {
  font-size: var(--font-size--2);
  text-align: left;
  width: 100%;
}

header table th {
  background: #f5f6f6;
  font-weight: 400;
}

header table tr:nth-child(2n) {
  background: transparent;
}

table.goal-table {
  text-align: right;
  min-width: 100%;
}

table.goal-table th {
  font-size: var(--font-size--1);
}

table.goal-table tr:nth-child(1) th {
  border-bottom-color: transparent;
  font-weight: 500;
}

table.goal-table tr:nth-child(2) th {
  border-top-color: transparent;
}


table.goal-table tr:nth-child(n+3) th {
  background: white;
}

table.goal-table tr:nth-child(-n+3) th {
  background: #f5f6f6;
}

table.goal-table tr th:nth-child(1) {
  font-size: var(--font-size--1);
  font-weight: 600;
  text-align: left;
}

table.goal-table td {
  background: white;
}

section {
  padding-block: var(--space-m-l);
}

section + section {
  border-block-start: 1px dotted oklch(90% 0.01 247.839);
}

blockquote {
  font-size: var(--font-size--1);
}

details {
  font-size: var(--font-size--1);
}

ul li p {
  margin-block: var(--space-3xs-2xs);
}

[id] {
  scroll-margin-top: 10dvh;
}

a {
  text-decoration-thickness: max(1px, 0.05em);
  text-underline-offset: 0.05em;
  text-underline-position: under;
}

strong {
  font-weight: 500;
}

hr {
  margin: var(--space-m) 0;
}

.icon {
  direction: ltr;
  display: inline-block;
  font-family: 'Material Symbols Outlined';
  font-size: inherit;
  font-style: normal;
  font-variation-settings:
    'FILL' 0,
    'wght' 400,
    'GRAD' 0,
    'opsz' 24;
  font-weight: normal;
  letter-spacing: normal;
  line-height: 1;
  text-transform: none;
  white-space: nowrap;
  word-wrap: normal;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}

.icon.is-info {
  color: oklch(48.8% 0.243 264.376);
}

.note {
  font-size: var(--font-size--1);
  margin-block: var(--space-xs-s);
  padding-block: var(--space-2xs-xs);
  padding-inline: var(--space-xs-s);
}

.note > :is(:first-child) {
  margin-block-start: 0;
}

.note > :is(:first-child):has(.icon) {
  align-items: center;
  display: flex;
  gap: var(--space-3xs);
}

.note > :is(:last-child) {
  margin-block-end: 0;
}

.note.is-info {
  border-left: 3px solid oklch(0.5819 0.1767 258.5);
}

.note.is-info > :is(:first-child):has(.icon) {
  color: oklch(0.5216 0.1785 261.24);
}

.note.is-important {
  background: oklch(96% 0.05 100);
  border-left: 3px solid oklch(75% 0.15 95);
}

.icon.is-important {
  color: oklch(65% 0.15 95);
}

.note.is-important > :is(:first-child):has(.icon) {
  color: oklch(65% 0.15 95);
}
