/*! tailwindcss v4.1.18 | MIT License | https://tailwindcss.com */
@layer properties;
@layer theme, base, components, utilities;
@layer theme {
  :root, :host {
    --font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
      "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
      "Courier New", monospace;
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
  }
}
@layer base {
  *, ::after, ::before, ::backdrop, ::file-selector-button {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0 solid;
  }
  html, :host {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }
  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }
  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }
  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }
  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }
  b, strong {
    font-weight: bolder;
  }
  code, kbd, samp, pre {
    font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }
  small {
    font-size: 80%;
  }
  sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }
  sub {
    bottom: -0.25em;
  }
  sup {
    top: -0.5em;
  }
  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }
  :-moz-focusring {
    outline: auto;
  }
  progress {
    vertical-align: baseline;
  }
  summary {
    display: list-item;
  }
  ol, ul, menu {
    list-style: none;
  }
  img, svg, video, canvas, audio, iframe, embed, object {
    display: block;
    vertical-align: middle;
  }
  img, video {
    max-width: 100%;
    height: auto;
  }
  button, input, select, optgroup, textarea, ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    border-radius: 0;
    background-color: transparent;
    opacity: 1;
  }
  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }
  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }
  ::file-selector-button {
    margin-inline-end: 4px;
  }
  ::placeholder {
    opacity: 1;
  }
  @supports (not (-webkit-appearance: -apple-pay-button))  or (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentcolor;
      @supports (color: color-mix(in lab, red, red)) {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }
  textarea {
    resize: vertical;
  }
  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }
  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }
  ::-webkit-datetime-edit {
    display: inline-flex;
  }
  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }
  ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }
  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }
  :-moz-ui-invalid {
    box-shadow: none;
  }
  button, input:where([type="button"], [type="reset"], [type="submit"]), ::file-selector-button {
    appearance: button;
  }
  ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
    height: auto;
  }
  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }
}
@layer utilities {
  .visible {
    visibility: visible;
  }
  .static {
    position: static;
  }
  .mx-auto {
    margin-inline: auto;
  }
  .block {
    display: block;
  }
  .contents {
    display: contents;
  }
  .table {
    display: table;
  }
  .transform {
    transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);
  }
}
@layer base {
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  html {
    font-size: 16px;
    scroll-behavior: smooth;
  }
  body {
    font-family: 'DM Sans', -apple-system, sans-serif;
    background: var(--bg-deep);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
  }
}
@layer theme {
  :root {
    --bg-deep: #0a0a0a;
    --bg-primary: #111111;
    --bg-card: #1a1a1a;
    --bg-elevated: #222222;
    --accent: #4ba5cf;
    --accent-glow: rgba(75, 165, 207, 0.15);
    --accent-bright: #5fc4ed;
    --text-primary: #f0f0f0;
    --text-secondary: #888888;
    --text-muted: #555555;
    --border-color: #2a2a2a;
    --font-display: "Instrument Serif", Georgia, serif;
    --font-body: "DM Sans", -apple-system, sans-serif;
  }
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient( circle at 25% 25%, rgba(255, 255, 255, 0.01) 2px, transparent 2px ), radial-gradient( circle at 75% 75%, rgba(255, 255, 255, 0.01) 2px, transparent 2px );
  background-size: 24px 24px;
  pointer-events: none;
  z-index: 1000;
}
::selection {
  background: var(--accent);
  color: var(--bg-deep);
}
.site-container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 48px;
}
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 24px 48px;
  background: linear-gradient( to bottom, var(--bg-deep) 0%, transparent 100% );
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: opacity 0.3s ease;
}
.site-logo img {
  height: 32px;
  width: auto;
}
.site-logo:hover {
  opacity: 0.8;
}
.blog-title {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: color 0.3s ease;
  position: relative;
}
.blog-title::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s ease;
}
.blog-title:hover {
  color: var(--text-primary);
}
.blog-title:hover::after {
  width: 100%;
}
.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 40px 32px;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s ease;
}
.article-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient( 90deg, transparent, var(--accent), transparent );
  opacity: 0;
  transition: opacity 0.4s ease;
}
.article-card:hover {
  border-color: var(--accent);
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
}
.article-card:hover::before {
  opacity: 1;
}
.article-card-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  margin: 0 0 12px;
  line-height: 1.3;
}
.article-card-title a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}
.article-card-title a:hover {
  color: var(--accent);
}
.articles-section-heading {
  font-family: var(--font-display);
  font-size: 2.5rem;
  margin-top: 4rem;
  margin-bottom: 2rem;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 1rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-body);
}
.meta-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  background: var(--accent-glow);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  color: var(--text-secondary);
}
.meta-badge:hover {
  background: var(--bg-elevated);
  border-color: var(--accent);
}
.tag-badge {
  background: var(--accent-glow);
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 6px 12px;
  border-radius: 4px;
  font-weight: 500;
  font-size: 0.7rem;
}
.prose {
  max-width: 75ch;
  color: var(--text-primary);
  font-size: 1rem;
  line-height: 1.7;
}
.prose h1, .prose h2, .prose h3, .prose h4 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}
.prose h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: 1.5rem;
  margin-top: 2rem;
  line-height: 1.1;
}
.prose h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  margin-top: 3rem;
  margin-bottom: 1.5rem;
}
.prose h3 {
  font-size: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}
.prose h4 {
  font-size: 1.25rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}
.prose p {
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}
.prose a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.3s ease;
}
.prose a:hover {
  color: var(--accent-bright);
}
.prose strong {
  color: var(--text-primary);
  font-weight: 600;
}
.prose code {
  font-family: var(--font-body);
  background: var(--bg-elevated);
  color: var(--accent);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.9em;
  font-weight: 500;
}
.prose pre {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.5rem;
  overflow-x: auto;
  margin: 2rem 0;
}
.prose pre code {
  background: transparent;
  padding: 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
}
.prose blockquote {
  border-left: 4px solid var(--accent);
  background: var(--bg-card);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 0 4px 4px 0;
}
.prose blockquote p {
  margin: 0;
  color: var(--text-secondary);
}
.prose ul, .prose ol {
  margin: 1.5rem 0;
  padding-left: 2rem;
  color: var(--text-secondary);
}
.prose ul {
  list-style-type: disc;
}
.prose ol {
  list-style-type: decimal;
}
.prose li {
  margin-bottom: 0.75rem;
  line-height: 1.7;
}
.prose ul li::marker {
  color: var(--accent);
}
.prose ol li::marker {
  color: var(--accent);
  font-weight: 600;
}
.site-footer {
  padding: 32px 48px;
  border-top: 1px solid var(--border-color);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--text-muted);
}
.footer-links {
  display: flex;
  gap: 40px;
}
.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-links a:hover {
  color: var(--accent);
}
.article-header {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.animate-in {
  animation: fadeInUp 0.8s ease-out forwards;
}
.animate-delay-1 {
  animation-delay: 0.2s;
  opacity: 0;
}
.animate-delay-2 {
  animation-delay: 0.4s;
  opacity: 0;
}
.animate-delay-3 {
  animation-delay: 0.6s;
  opacity: 0;
}
.animate-delay-4 {
  animation-delay: 0.8s;
  opacity: 0;
}
.article-with-toc {
  position: relative;
  margin: 0;
  padding: 0;
  padding-top: 100px;
  padding-bottom: 6rem;
}
.article-content-wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 48px;
  position: relative;
  z-index: 1;
}
.toc-sidebar {
  display: none;
  overflow-y: auto;
  padding: 0;
  margin: 0;
  transition: all 0.3s ease;
}
@media (min-width: 1401px) {
  .article-with-toc {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    column-gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
  }
  .toc-sidebar {
    display: block;
    position: sticky;
    top: 8rem;
    align-self: start;
    max-height: calc(100vh - 10rem);
    width: 260px;
    z-index: 10;
  }
  .article-content-wrapper {
    max-width: 900px;
    padding: 0;
    margin: 0;
  }
}
@media (max-width: 1400px) {
  .toc-drawer-trigger {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}
.toc-sidebar::-webkit-scrollbar {
  width: 4px;
}
.toc-sidebar::-webkit-scrollbar-track {
  background: transparent;
}
.toc-sidebar::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 2px;
}
.toc-sidebar::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}
.toc-nav {
  position: relative;
}
.toc-title {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-color);
}
.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.toc-item {
  margin: 0;
  padding: 0;
}
.toc-link {
  display: block;
  padding: 0.4rem 0;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  line-height: 1.5;
  border-left: 2px solid transparent;
  padding-left: 0.75rem;
  transition: all 0.2s ease;
  cursor: pointer;
}
.toc-link:hover {
  color: var(--accent);
  border-left-color: var(--accent);
}
.toc-link.active {
  color: var(--accent);
  font-weight: 500;
  border-left-color: var(--accent);
  border-left-width: 2px;
}
.toc-level-1 {
  margin-top: 0.25rem;
}
.toc-level-2 .toc-link {
  padding-left: 1.25rem;
  font-size: 0.8rem;
}
.toc-level-3 .toc-link {
  padding-left: 1.75rem;
  font-size: 0.75rem;
}
.header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.toc-drawer-trigger {
  display: none;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  width: 40px;
  height: 40px;
  font-size: 1.25rem;
  color: var(--accent);
  cursor: pointer;
  transition: all 0.3s ease;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.toc-drawer-trigger:hover {
  background: var(--bg-elevated);
  border-color: var(--accent);
}
.article-content-wrapper .prose {
  max-width: 75ch;
}
@media (max-width: 768px) {
  .site-container {
    padding: 48px 24px;
  }
  .site-header {
    padding: 16px 24px;
  }
  .site-logo img {
    height: 26px;
  }
  .blog-title {
    font-size: 0.8rem;
  }
  .prose h1 {
    font-size: 2rem;
  }
  .prose h2 {
    font-size: 1.75rem;
  }
  .article-card {
    padding: 24px;
  }
  .site-footer {
    padding: 32px 24px;
  }
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
  .footer-links {
    flex-direction: column;
    gap: 0.75rem;
  }
  .article-with-toc {
    display: block;
    padding: 80px 0 0;
  }
  .article-content-wrapper {
    padding: 0 24px;
    max-width: 100%;
  }
  .article-content-wrapper .prose {
    max-width: 100%;
  }
  .toc-drawer-trigger {
    display: flex;
  }
  .toc-sidebar {
    display: block;
    position: fixed;
    top: 0;
    left: -100%;
    width: 85%;
    max-width: 350px;
    height: 100vh;
    max-height: 100vh;
    z-index: 200;
    background: var(--bg-card);
    border-right: 1px solid var(--border-color);
    padding: 2rem 1.5rem;
    overflow-y: auto;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 8px 0 32px rgba(0, 0, 0, 0.5);
  }
  .toc-sidebar.open {
    left: 0;
  }
  .toc-sidebar::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    z-index: -1;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }
  .toc-sidebar.open::after {
    opacity: 1;
    pointer-events: all;
  }
}
@property --tw-rotate-x {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-y {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-z {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-x {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-y {
  syntax: "*";
  inherits: false;
}
@layer properties {
  @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
    *, ::before, ::after, ::backdrop {
      --tw-rotate-x: initial;
      --tw-rotate-y: initial;
      --tw-rotate-z: initial;
      --tw-skew-x: initial;
      --tw-skew-y: initial;
    }
  }
}
