:root {
  --font-body: "Mulish", sans-serif;
  --font-heading: "Oxanium", sans-serif;
  --font-code: "PT Mono", monospace;


  --text-base: 1.0625rem;
  --text-md: 1.2rem;
  --text-lg: 1.35rem;
  --text-xl: 1.65rem;
  --text-2xl: 2.15rem;

  --leading-tight: 1.25;
  --leading-body: 1.7;

  --weight-semibold: 600;
  --weight-bold: 700;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-body);
  color: var(--text-color);
  text-rendering: optimizeLegibility;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-strong);
  line-height: var(--leading-tight);
  text-wrap: balance;
  margin-left: 0;
  margin-right: 0;
}

h1 {
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  text-shadow: 0 0 20px rgba(102, 217, 255, 0.2);
  margin-top: 0;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: var(--text-xl);
  font-weight: var(--weight-semibold);
  margin-top: 2.5rem;
  margin-bottom: 0.85rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.45rem;
}

h3 {
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  margin-top: 2rem;
  margin-bottom: 0.65rem;
  letter-spacing: -0.01em;
}

h4 {
  font-size: var(--text-md);
  font-weight: var(--weight-semibold);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

h5, h6 {
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

p {
  margin-top: 0;
  margin-bottom: 1.4rem;
}

a {
  color: var(--link-color);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  text-decoration-color: var(--link-underline);
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

a:hover {
  color: var(--link-hover-color);
  text-decoration-color: var(--link-hover-color);
}

ul, ol {
  margin-top: 0;
  margin-bottom: 1.4rem;
  padding-left: 1.6rem;
}

li {
  margin-bottom: 0.45rem;
}

li > ul,
li > ol {
  margin-top: 0.35rem;
  margin-bottom: 0.35rem;
}

.contains-task-list,
ul.task-list {
  list-style-type: none;
  padding-left: 0.2rem;
}

.task-list-item {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  margin-bottom: 0.5rem;
}

.task-list-item input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 1.05rem;
  height: 1.05rem;
  border: 1.5px solid var(--border-color);
  border-radius: 4px;
  background: var(--bg-surface);
  margin: 0;
  position: relative;
  top: 0.15rem;
  display: inline-grid;
  place-content: center;
  flex-shrink: 0;
  cursor: pointer;
}

.task-list-item input[type="checkbox"]:checked {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}

.task-list-item input[type="checkbox"]:checked::after {
  content: "";
  width: 0.35rem;
  height: 0.55rem;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  position: relative;
  top: -1px;
}

blockquote {
  background: var(--quote-bg);
  border-left: 4px solid var(--quote-border);
  border-radius: 0 4px 4px 0;
  padding: 0.85rem 1.25rem;
  margin: 1.6rem 0;
  color: var(--text-muted);
  font-style: italic;
}

blockquote p:last-child {
  margin-bottom: 0;
}

code {
  font-family: var(--font-code);
  font-size: 0.88em;
  background: var(--code-bg);
  color: var(--code-text);
  padding: 0.15em 0.4em;
  border-radius: 2px;
  border: 1px solid var(--border-subtle);
}

pre {
  font-family: var(--font-code);
  font-size: 0.88rem;
  line-height: 1.55;
  background: var(--code-block-bg) !important;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.15rem 1.35rem;
  overflow-x: auto;
  margin: 1.6rem 0;
  tab-size: 2;
}

pre code {
  font-size: inherit;
  padding: 0;
  background: transparent;
  border: none;
  color: inherit;
  border-radius: 0;
}

hr {
  border: none;
  border-top: 1px solid var(--border-color);
  margin: 2.5rem 0;
}

strong, b {
  font-weight: var(--weight-semibold);
  color: var(--text-strong);
}

em, i {
  font-style: italic;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.8rem 0;
  font-size: 0.95rem;
}

th {
  text-align: left;
  padding: 0.7rem 0.9rem;
  font-weight: var(--weight-semibold);
  color: var(--text-strong);
  border-bottom: 2px solid var(--border-color);
  background: var(--bg-subtle);
}

td {
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-page);
}

tr:last-child td {
  border-bottom: none;
}
