@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&family=IBM+Plex+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap");

:root {

    --accent: #1f4fd1;
    --accent-hover: #163a9e;
    --accent-subtle: rgba(31, 79, 209, 0.08);
    --accent-glow: transparent;


    --surface-0: #f7f8fa;
    --surface-1: #eef1f5;
    --surface-2: #e3e8ef;
    --surface-glass: #f7f8fa;


    --text-primary: #0e1218;
    --text-secondary: #3a4452;
    --text-muted: #5b6676;


    --border-default: #dce1e8;
    --border-hover: #b4bdc9;
    --rule-strong: #0e1218;


    --font-sans: "IBM Plex Sans", "Helvetica Neue", Arial, system-ui, sans-serif;
    --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;


    --shadow-sm: none;
    --shadow-md: none;
    --shadow-lg: none;
    --shadow-xl: none;
    --shadow-accent: none;


    --radius-sm: 0;
    --radius-md: 0;
    --radius-lg: 0;
    --radius-xl: 0;
    --radius-pill: 0;


    --ease-smooth: ease;
    --ease-spring: ease;
    --duration-fast: 120ms;
    --duration-normal: 160ms;
    --duration-slow: 220ms;


    --content-max: 1200px;
    --gap-section: clamp(3rem, 6vw, 5rem);


    --mjx-frac-rule: 0.04em;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

mjx-line {
    border-top-width: var(--mjx-frac-rule);
}

@media only screen and (max-width: 810px) {
    body {
        font-size: 0.95rem;
    }

    mjx-container {
        font-size: 1rem;
    }

    html {
        --mjx-frac-rule: 0.032em;
    }
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-family: var(--font-sans);
    color: var(--text-primary);
    background-color: var(--surface-0);
    transition: background-color var(--duration-normal) ease, color var(--duration-normal) ease;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

::selection {
    color: var(--surface-0);
    background: var(--text-primary);
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

main,
section {
    scroll-margin-top: calc(var(--nav-height, 60px) + 1.25rem);
}

section>* {
    max-width: var(--content-max);
    margin: 0 auto;
}

@media only screen and (max-width: 1200px) {
    section>* {
        padding: 0 clamp(16px, 4vw, 32px);
    }
}

section {
    padding: clamp(2.5rem, 5vw, 4.5rem) 0;
}

.odd-section {
    background-color: var(--surface-1);
}

header {
    font-size: 2rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-align: center;
    margin: 1em auto;
}

h1 {
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 600;
    margin-bottom: 0.15em;
    letter-spacing: -0.025em;
    line-height: 1.05;
}

h2 {
    font-size: clamp(1.3rem, 2.5vw, 1.6rem);
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    letter-spacing: -0.015em;
}

h3 {
    text-align: center;
    letter-spacing: -0.01em;
}

p {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased !important;
    text-rendering: optimizelegibility !important;
    letter-spacing: 0;
    line-height: 1.7;
    margin-top: 10px;
    margin-bottom: 10px;
    padding-left: 1em;
    padding-right: 1em;
    color: var(--text-secondary);
}

img {
    max-width: 100%;
}

code,
kbd,
samp,
pre {
    font-family: var(--font-mono);
}

ul {
    list-style-type: none;
}

li {
    margin-left: 1em;
}

a {
    text-decoration: none;
    color: var(--text-primary);
    transition: color var(--duration-fast) ease, background-color var(--duration-fast) ease, border-color var(--duration-fast) ease;
}

button {
    display: inline-flex;
    justify-content: center;
    padding: 0.75rem 2rem;
    border-radius: 0;
    border: 1px solid var(--text-primary);
    background-color: transparent;
    color: var(--text-primary);
    text-decoration: none;
    text-align: center;
    font-weight: 500;
    font-family: inherit;
    transition: background-color var(--duration-fast) ease, color var(--duration-fast) ease, border-color var(--duration-fast) ease;
    cursor: pointer;
}

table {
    border-collapse: collapse;
    margin: 2em auto;
    border-top: 2px solid var(--rule-strong);
    font-variant-numeric: tabular-nums;
}

th,
td {
    border: 0;
    border-bottom: 1px solid var(--border-default);
    padding: 0.65rem 1rem;
    text-align: left;
}

th {
    background: transparent;
    font-weight: 600;
    border-bottom-color: var(--rule-strong);
}

details {
    font-family: inherit;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-default);
    margin-bottom: 10px;
    padding: 5px;
    overflow: hidden;
    transition: border-color var(--duration-normal) ease;
}

details[open] {
    border-color: var(--rule-strong);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@media screen and (max-width: 767px) {

    input[type="text"],
    input[type="number"],
    input[type="email"],
    input[type="tel"],
    input[type="password"] {
        font-size: 16px;
    }
}



.dark-mode {
    --surface-0: #0e1218;
    --surface-1: #171e27;
    --surface-2: #1e2732;
    --surface-glass: #0e1218;
    --text-primary: #e9eef5;
    --text-secondary: #b3bfcd;
    --text-muted: #8794a6;
    --border-default: #263241;
    --border-hover: #3d4b5e;
    --rule-strong: #e9eef5;
    --accent: #8ac2ff;
    --accent-hover: #b5d8ff;
    --accent-subtle: rgba(138, 194, 255, 0.12);

    background-color: var(--surface-0);
    color: var(--text-primary);
}

.dark-mode header {
    color: var(--text-secondary);
}

.dark-mode a {
    color: var(--text-primary);
}

.dark-mode input[type="text"],
.dark-mode input[type="number"],
.dark-mode input[type="email"],
.dark-mode input[type="tel"],
.dark-mode input[type="password"] {
    background-color: var(--surface-1);
    border-color: var(--border-default);
    color: var(--text-primary);
}

.dark-mode button {
    border-color: var(--text-primary);
    color: var(--text-primary);
}

.dark-mode .odd-section {
    background-color: var(--surface-1);
}

.dark-mode table {
    border-color: var(--border-default);
}

.dark-mode th,
.dark-mode td {
    border-color: var(--border-default);
}

.dark-mode th {
    border-bottom-color: var(--rule-strong);
}

.dark-mode b {
    color: var(--text-primary);
}

.dark-mode details {
    color: var(--text-primary);
}


@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
        animation-duration: 1ms !important;
    }
}



.help-box {
    border-left: 2px solid var(--rule-strong);
    padding: 0.25rem 0 0.25rem 1.25rem;
    margin-top: 1em;
}

.help-box strong {
    display: block;
    margin-bottom: 0.5em;
    color: var(--text-primary);
}

.help-box ul {
    margin: 0;
    padding-left: 1.2em;
    color: var(--text-secondary);
}
:root {
    --nav-height: 60px;
    --nav-bg: var(--surface-0);
    --nav-fg: var(--text-primary);
    --nav-accent: var(--accent);
    --nav-drawer-bg: var(--surface-0);
    --nav-drawer-border: var(--border-default);
}

nav {
    width: 100%;
    background: var(--nav-bg);
    z-index: 1002;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-default);
    position: sticky;
    top: 0;
    min-height: var(--nav-height);
    padding: 0 max(1rem, calc((100vw - var(--content-max, 1200px)) / 2));
}

nav ul {
    display: flex;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

nav li {
    display: inline-block;
    margin-right: 0;
}

nav li a {
    display: block;
    padding: 0 0.9em;
    line-height: var(--nav-height);
    font-weight: 400;
    font-size: 0.9rem;
    letter-spacing: 0;
    color: var(--nav-fg);
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}

.active {
    color: var(--nav-fg);
    font-weight: 500;
}

nav li a.active,
nav li a[aria-current] {
    border-bottom-color: var(--nav-accent);
}

nav li a:hover,
nav li a:focus-visible {
    color: var(--nav-accent);
    text-decoration: none;
}

#navbar-toggle {
    display: none;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--nav-fg);
    text-decoration: none;
    padding: 0;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.logo-mark {
    display: block;
    width: 0.7rem;
    height: 0.7rem;
    background: var(--nav-accent);
}

.logo:hover {
    color: var(--nav-fg);
}

.logo:hover .logo-mark {
    background: var(--nav-fg);
}

.logo img {
    display: block;
    width: 10em;
    height: auto;
    aspect-ratio: 687 / 131;
    max-width: 10em;
}

@media (max-width: 1100px) {
    nav {
        padding: 0 16px;
    }

    #navbar-toggle {
        display: inline-block;
        appearance: none;
        -webkit-appearance: none;
        background: transparent;
        border: 1px solid var(--border-hover);
        color: var(--nav-fg);
        width: 40px;
        height: 40px;
        flex: 0 0 40px;
        cursor: pointer;
        position: relative;
        margin: 0 0 0 auto;
        padding: 0;
        border-radius: 0;
        z-index: 1005;
        transition: border-color 120ms ease, background-color 120ms ease;
        -webkit-tap-highlight-color: transparent;
    }

    #navbar-toggle:hover {
        border-color: var(--nav-fg);
    }

    #navbar-toggle:focus {
        outline: none;
    }

    #navbar-toggle:focus-visible {
        outline: 2px solid var(--nav-accent);
        outline-offset: 2px;
    }

    #navbar-toggle::before,
    #navbar-toggle::after {
        content: '';
        position: absolute;
        left: 11px;
        width: 16px;
        height: 1.5px;
        background-color: var(--nav-fg);
        transition: transform 160ms ease;
    }

    #navbar-toggle::before {
        top: 15px;
    }

    #navbar-toggle::after {
        top: 22px;
    }

    #navbar-toggle:checked::before,
    #navbar-toggle.is-open::before {
        transform: translateY(3.5px) rotate(45deg);
    }

    #navbar-toggle:checked::after,
    #navbar-toggle.is-open::after {
        transform: translateY(-3.5px) rotate(-45deg);
    }

    #navbar-toggle:checked,
    #navbar-toggle.is-open {
        border-color: var(--nav-fg);
    }

    nav ul {
        position: fixed;
        top: var(--nav-height);
        right: 0;
        bottom: 0;
        width: min(100vw, 360px);
        box-sizing: border-box;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--nav-drawer-bg);
        border-left: 1px solid var(--nav-drawer-border);
        transform: translateX(100%);
        transition: transform 180ms ease, visibility 180ms ease;
        overflow-y: auto;
        overscroll-behavior: contain;
        visibility: hidden;
        z-index: 1003;
        padding: 0 0 max(1rem, env(safe-area-inset-bottom));
        counter-reset: nav-item;
    }

    nav li {
        margin: 0;
        border-bottom: 1px solid var(--nav-drawer-border);
    }

    nav li a {
        display: flex;
        align-items: baseline;
        gap: 1rem;
        line-height: 1.2;
        padding: 1.1rem 1.25rem;
        font-size: 1.1rem;
        border-bottom: 0;
        margin: 0;
        counter-increment: nav-item;
    }

    nav li a::before {
        content: counter(nav-item, decimal-leading-zero);
        font-family: var(--font-mono);
        font-size: 0.72rem;
        color: var(--text-muted);
    }

    nav li a.active,
    nav li a[aria-current] {
        color: var(--nav-accent);
    }

    nav li a.active::before,
    nav li a[aria-current]::before {
        color: var(--nav-accent);
    }

    #navbar-toggle:checked~ul,
    #navbar-toggle.is-open~ul {
        transform: translateX(0);
        visibility: visible;
    }

    nav ul li:has(.gcse-search) {
        display: none;
    }

    nav ul li:has(#dark-mode-button) {
        display: block;
        padding: 1rem 1.25rem;
        border-bottom: 0;
    }
}

.gcse-search {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    width: clamp(12rem, 16vw, 14rem);
    max-width: 100%;
    min-width: 0;
}


@media (min-width: 1101px) {
    nav ul>li:nth-last-child(2) {

        height: 44px;
        display: flex;
        align-items: center;
        flex: 0 1 14rem;
        width: clamp(12rem, 16vw, 14rem);
        min-width: 0;
        overflow: hidden;
    }

    nav ul>li:last-child {
        flex: 0 0 56px;
        width: 56px;
        margin-left: 0.5rem;
    }
}

.gcse-search,
.gcse-search>*,
.gcse-search table {
    max-width: 100% !important;
    box-sizing: border-box !important;
}


.gsc-control-cse,
.gsc-search-box {
    margin: 0;
    padding: 0;
    width: 100% !important;
    min-width: 0;
}

.gsc-search-box table {
    border-collapse: collapse;
    width: 100% !important;
    table-layout: fixed;
    margin: 0;
    padding: 0;
}

.gsc-search-box td {
    padding: 0;
    border: none;
}

.gsc-search-box td:first-child,
.gsc-search-box td.gsc-input {
    width: 100% !important;
}

.gsc-search-box td:last-child,
.gsc-search-box td.gsc-search-button {
    width: 1% !important;
    white-space: nowrap;
}

.gsc-control-cse {
    background: transparent !important;
    border: none !important;
}


.gsc-input-box,
.gsc-input-box-hover,
.gsc-input-box-focus,
.gsib_a {
    width: 100% !important;
    min-width: 0;
}


.gcse-search input.gsc-input {
    display: block;
    width: 100% !important;
    min-width: 0;
    padding: 5px 10px;
    height: auto;
    margin: 0;
    border: 1px solid var(--border-hover);
    border-radius: 0;
    box-sizing: border-box;
    /* Google's injected styles and inline input background must follow the theme. */
    background-color: var(--surface-0) !important;
    color: var(--text-primary) !important;
    caret-color: var(--text-primary);
}

.gcse-search input.gsc-input::placeholder {
    color: var(--text-muted) !important;
    opacity: 1;
}


.gcse-search form.site-search {
    width: 100%;
    margin: 0;
}

.gcse-search form.site-search input.gsc-input {
    border-radius: 0;
    font: inherit;
    font-size: 14px;
    padding: 7px 10px;
    color: var(--text-primary);
    background: var(--surface-0);
    border-color: var(--border-hover);
}

.gcse-search form.site-search input.gsc-input:focus {
    outline: none;
    border-color: var(--text-primary);
}

.dark-mode .gcse-search form.site-search input.gsc-input {
    background-color: var(--surface-0) !important;
    border: 1px solid var(--border-hover) !important;
}

.dark-mode .gcse-search form.site-search input.gsc-input:focus {
    border-color: var(--text-primary) !important;
}

.gcse-search .gsc-search-button-v2 {
    padding: 5px 10px;
    height: auto;
    margin: 0;
    border: 1px solid var(--text-primary) !important;
    border-left: 0 !important;
    border-radius: 0;
    background-color: var(--text-primary) !important;
    color: var(--surface-0) !important;
    box-sizing: border-box;
    font-size: 14px;
}

.gcse-search .gsc-search-button-v2 svg {
    fill: var(--surface-0) !important;
}

.gcse-search .gsc-search-button-v2:hover,
.gcse-search .gsc-search-button-v2:focus-visible {
    background-color: var(--accent) !important;
    border-color: var(--accent) !important;
}

.gcse-search input.gsc-input:focus-visible,
.gcse-search .gsc-search-button-v2:focus-visible {
    outline: 2px solid var(--accent) !important;
    outline-offset: 2px;
}

.gcse-search .gsst_a,
.gcse-search .gscb_a {
    color: var(--text-muted) !important;
}

.gcse-search .gsst_a:hover,
.gcse-search .gsst_a:focus-visible,
.gcse-search .gsst_a:hover .gscb_a,
.gcse-search .gsst_a:focus-visible .gscb_a {
    color: var(--text-primary) !important;
}


.gsc-input-box,
.gsc-input-box-hover,
.gsc-input-box-focus {
    box-shadow: none !important;
    border: none !important;
}

.gcse-search .gsc-input-box,
.gcse-search .gsib_a,
.gcse-search .gsib_b {
    background-color: var(--surface-0) !important;
    color: var(--text-primary) !important;
}

.gssb_c {
    border: 1px solid var(--text-primary) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow: hidden !important;
    z-index: 10001 !important;
}

.gssb_e {
    background: var(--surface-0) !important;
}

.gssb_c table,
.gssb_c tbody,
.gssb_c tr,
.gssb_c td {
    background: var(--surface-0) !important;
}

.gssb_a,
.gssb_i,
.gssb_f,
.gssb_m {
    background: var(--surface-0) !important;
    color: var(--text-primary) !important;
}

.gssb_c :is(.gssb_a:hover, .gssb_a:focus, .gssb_a_over, .gssb_i, .gsc-completion-selected),
.gssb_c :is(.gssb_a:hover, .gssb_a:focus, .gssb_a_over, .gssb_i, .gsc-completion-selected) * {
    background: var(--surface-2) !important;
    color: var(--text-primary) !important;
}

.gssb_a *,
.gssb_i *,
.gssb_f *,
.gssb_m * {
    color: inherit !important;
}

@media only screen and (max-width: 600px) {
    nav ul li:has(.gcse-search) {
        display: none;
    }

    nav ul .gcse-search {
        display: block;
        width: 100%;
        min-width: 0;
    }

    nav ul .gsc-control-cse,
    nav ul .gsc-search-box {
        width: 100% !important;
        min-width: 0 !important;
    }

    .gsc-control-cse {
        background: transparent !important;
        border: none !important;
        padding: 0 !important;
    }

    .gsc-input-box {
        margin-bottom: 0;
    }

    nav ul .gsc-search-box table {
        display: table !important;
        width: 100% !important;
        table-layout: fixed !important;
    }

    nav ul .gsc-search-box td {
        display: table-cell !important;
        width: auto !important;
        text-align: initial;
        vertical-align: middle;
    }

    nav ul .gsc-search-box td.gsc-input {
        width: 100% !important;
    }

    nav ul .gsc-search-box td.gsc-search-button {
        width: 1% !important;
        white-space: nowrap;
    }

    nav ul .gcse-search input.gsc-input {
        display: block;
        width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        box-sizing: border-box;
    }

    nav ul .gsc-search-button-v2 {
        width: auto;
        white-space: nowrap;
    }
}


.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.32);
    opacity: 0;
    visibility: hidden;
    transition: opacity 160ms ease, visibility 160ms ease;
    z-index: 1000;
}

body.nav-open .nav-overlay {
    opacity: 1;
    visibility: visible;
}

.dark-mode .nav-overlay {
    background: rgba(0, 0, 0, 0.68);
}





.gsc-modal-background-image,
.gsc-modal-background-image-visible {
    display: none !important;
}


.gsc-results-wrapper-overlay {
    position: fixed !important;
    top: var(--nav-height, 60px) !important;
    bottom: 1rem !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: min(92vw, 720px) !important;
    height: auto !important;
    min-height: min(32rem, calc(100vh - var(--nav-height, 60px) - 1.5rem)) !important;
    max-height: none !important;
    overflow: hidden !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: var(--surface-0) !important;
    border: 1px solid var(--text-primary) !important;
    z-index: 10000 !important;
    padding: 0.5rem 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
}


.gsc-results-wrapper-overlay .gsc-results-wrapper-visible {
    padding: 0 !important;
}

.gsc-results-wrapper-overlay .gsc-resultsbox-visible,
.gsc-results-wrapper-overlay .gsc-resultsRoot,
.gsc-results-wrapper-overlay .gsc-results,
.gsc-results-wrapper-overlay .gsc-expansionArea {
    display: block !important;
    flex: 1 1 auto !important;
    min-height: 0 !important;
    overflow-y: auto !important;
}


.gsc-results-wrapper-overlay .gsc-above-wrapper-area {
    border-bottom: 1px solid var(--border-default) !important;
    padding: 0.4rem 1rem !important;
}

.gsc-results-wrapper-overlay .gsc-resultsbox-visible,
.gsc-results-wrapper-overlay .gsc-resultsRoot,
.gsc-results-wrapper-overlay .gsc-results,
.gsc-results-wrapper-overlay .gsc-expansionArea,
.gsc-results-wrapper-overlay .gsc-result,
.gsc-results-wrapper-overlay .gsc-webResult.gsc-result,
.gsc-results-wrapper-overlay .gsc-table-result,
.gsc-results-wrapper-overlay .gsc-thumbnail-inside,
.gsc-results-wrapper-overlay .gsc-url-top,
.gsc-results-wrapper-overlay .gsc-cursor-box,
.gsc-results-wrapper-overlay .gcsc-find-more-on-google,
.gsc-results-wrapper-overlay table,
.gsc-results-wrapper-overlay tbody,
.gsc-results-wrapper-overlay tr,
.gsc-results-wrapper-overlay td {
    background: var(--surface-0) !important;
}

.gsc-results-wrapper-overlay .gsc-result-info,
.gsc-results-wrapper-overlay .gsc-orderby,
.gsc-results-wrapper-overlay .gsc-orderby-label,
.gsc-results-wrapper-overlay .gsc-selected-option-container,
.gsc-results-wrapper-overlay .gsc-option-menu,
.gsc-results-wrapper-overlay .gsc-option-menu-item {
    background: var(--surface-0) !important;
    color: var(--text-muted) !important;
}


.gsc-results-wrapper-overlay .gs-result {
    padding: 0.75rem 1rem !important;
    border-bottom: 1px solid var(--border-default) !important;
}

.gsc-results-wrapper-overlay .gs-result:last-child {
    border-bottom: none !important;
}


.dark-mode .gsc-results-wrapper-overlay {
    background: var(--surface-0) !important;
    border-color: var(--text-primary) !important;
}

.dark-mode .gsc-results-wrapper-overlay .gsc-resultsbox-visible,
.dark-mode .gsc-results-wrapper-overlay .gsc-resultsRoot,
.dark-mode .gsc-results-wrapper-overlay .gsc-results,
.dark-mode .gsc-results-wrapper-overlay .gsc-expansionArea,
.dark-mode .gsc-results-wrapper-overlay .gsc-result,
.dark-mode .gsc-results-wrapper-overlay .gsc-webResult.gsc-result,
.dark-mode .gsc-results-wrapper-overlay .gsc-table-result,
.dark-mode .gsc-results-wrapper-overlay .gsc-thumbnail-inside,
.dark-mode .gsc-results-wrapper-overlay .gsc-url-top,
.dark-mode .gsc-results-wrapper-overlay .gsc-cursor-box,
.dark-mode .gsc-results-wrapper-overlay .gcsc-find-more-on-google,
.dark-mode .gsc-results-wrapper-overlay table,
.dark-mode .gsc-results-wrapper-overlay tbody,
.dark-mode .gsc-results-wrapper-overlay tr,
.dark-mode .gsc-results-wrapper-overlay td {
    background: var(--surface-0) !important;
}

.dark-mode .gsc-results-wrapper-overlay .gsc-above-wrapper-area {
    background: var(--surface-0) !important;
    border-bottom-color: var(--border-default) !important;
}

.dark-mode .gsc-results-wrapper-overlay .gs-result {
    border-bottom-color: var(--border-default) !important;
}

.dark-mode .gsc-results-wrapper-overlay .gsc-result-info,
.dark-mode .gsc-results-wrapper-overlay .gsc-orderby,
.dark-mode .gsc-results-wrapper-overlay .gsc-selected-option-container,
.dark-mode .gsc-results-wrapper-overlay .gsc-option-menu,
.dark-mode .gsc-results-wrapper-overlay .gsc-option-menu-item {
    background: var(--surface-0) !important;
    color: var(--text-muted) !important;
}

.gsc-results-wrapper-overlay .gs-title,
.gsc-results-wrapper-overlay .gs-title * {
    color: var(--text-primary) !important;
}

.gsc-results-wrapper-overlay .gs-snippet,
.gsc-results-wrapper-overlay .gs-snippet * {
    color: var(--text-secondary) !important;
}

.gsc-results-wrapper-overlay .gs-visibleUrl,
.gsc-results-wrapper-overlay .gs-visibleUrl * {
    color: var(--text-muted) !important;
}

.gsc-results-wrapper-overlay .gs-no-results-result .gs-snippet,
.gsc-results-wrapper-overlay .gs-error-result .gs-snippet {
    background: var(--surface-1) !important;
    border-color: var(--border-default) !important;
}

.gsc-results-wrapper-overlay .gsc-cursor-page {
    background: var(--surface-0) !important;
    color: var(--accent) !important;
}

.gsc-results-wrapper-overlay .gsc-cursor-current-page {
    background: var(--text-primary) !important;
    color: var(--surface-0) !important;
}

.gsc-results-wrapper-overlay .gcsc-find-more-on-google,
.gsc-results-wrapper-overlay .gcsc-find-more-on-google * {
    color: var(--accent) !important;
}

.gsc-results-wrapper-overlay .gcsc-find-more-on-google-magnifier {
    fill: var(--accent) !important;
}


@media (max-width: 600px) {
    .gsc-results-wrapper-overlay {
        left: 0 !important;
        bottom: 0 !important;
        transform: none !important;
        width: 100vw !important;
        border-radius: 0 !important;
        min-height: calc(100vh - var(--nav-height, 60px) - 0.5rem) !important;
    }
}


@media (prefers-reduced-motion: reduce) {
    nav ul {
        transition: none !important;
    }

    #navbar-toggle::before,
    #navbar-toggle::after {
        transition: none !important;
    }

    .nav-overlay {
        transition: none !important;
    }
}

.banner {
    display: block;
    width: auto;
    margin: 0 max(clamp(16px, 4vw, 32px), calc((100% - var(--content-max)) / 2));
    padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(1.75rem, 3.5vw, 2.5rem);
    border-bottom: 1px solid var(--border-default);
    background: none;
    color: var(--text-primary);
    text-wrap: balance;
}

.banner:not(:has(*)) {
    display: none;
}

.banner>* {
    max-width: 68ch;
    margin: 0;
    padding: 0;
}

.banner-introduction {
    margin: 0 0 1.25rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: .75rem;
    font-weight: 500;
    letter-spacing: .08em;
    line-height: 1.4;
    text-transform: uppercase;
}

.banner-title {
    margin: 0;
    color: var(--text-primary);
    font-size: clamp(2.4rem, 6vw, 4.25rem);
    font-weight: 600;
    letter-spacing: -.035em;
    line-height: 1;
    text-align: left;
}

.banner-tagline {
    margin: 1.25rem 0 0;
    color: var(--text-secondary);
    font-size: clamp(1rem, 1.6vw, 1.15rem);
    line-height: 1.6;
    text-align: left;
}
.timeline {
    display: block;
    border-top: 1px solid var(--border-default);
}

.timeline-row {
    margin: 0;
    border-bottom: 1px solid var(--border-default);
}

.timeline-circle {
    display: none;
}

.timeline-container {
    display: grid;
    grid-template-columns: minmax(11rem, 15rem) minmax(0, 1fr);
    column-gap: clamp(1.5rem, 5vw, 4rem);
    padding: clamp(1.75rem, 3.5vw, 2.5rem) 0;
    color: var(--text-primary);
}

.timeline-container>header {
    display: contents;
}

.timeline-container>* {
    grid-column: 2;
    min-width: 0;
}

.timeline-container>header>p {
    grid-column: 1;
    grid-row: 1 / span 4;
    align-self: start;
    margin: 0;
    padding: .35rem 0 0;
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: .75rem;
    line-height: 1.6;
    text-align: left;
}

.timeline-container>header>p i {
    font-style: normal;
}

.timeline-container>header>p i:first-child {
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: .95rem;
    font-weight: 500;
}

.timeline-container>header>h3 {
    grid-column: 2;
    margin: 0 0 .75rem;
    color: var(--text-primary);
    font-size: clamp(1.2rem, 2vw, 1.45rem);
    font-weight: 600;
    letter-spacing: -.015em;
    line-height: 1.25;
    text-align: left;
}

.timeline-container p {
    margin: 0 0 1rem;
    padding: 0;
    color: var(--text-secondary);
}

.timeline-container ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.timeline-container li {
    position: relative;
    margin: 0 0 .55rem;
    padding: 0 0 0 1.1rem;
    color: var(--text-secondary);
    font-size: .95rem;
    line-height: 1.65;
}

.timeline-container li::before {
    content: "";
    position: absolute;
    top: .8em;
    left: 0;
    width: .45rem;
    height: 1px;
    background: var(--text-muted);
}

.timeline-container li strong {
    color: var(--text-primary);
    font-weight: 600;
}

@media (max-width: 767px) {
    .timeline-container {
        grid-template-columns: minmax(0, 1fr);
    }

    .timeline-container>*,
    .timeline-container>header>p,
    .timeline-container>header>h3 {
        grid-column: 1;
        grid-row: auto;
    }

    .timeline-container>header>h3 {
        order: -2;
        margin-bottom: .35rem;
    }

    .timeline-container>header>p {
        order: -1;
        margin-bottom: 1rem;
        padding: 0;
    }
}
#article-wrapper {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    width: min(100%, calc(var(--content-max) + 64px));
    margin-inline: auto;
    padding: clamp(1rem, 3vw, 2.5rem) clamp(16px, 4vw, 32px) clamp(3rem, 6vw, 5rem);
    gap: clamp(2.5rem, 5vw, 5rem);
}

#article-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    flex: 0 0 16.5rem;
    width: 16.5rem;
    min-width: 0;
    position: sticky;
    top: calc(var(--nav-height, 60px) + 1.5rem);
    max-height: calc(100vh - var(--nav-height, 60px) - 3rem);
    overflow-y: auto;
    padding-right: .5rem;
    scrollbar-width: thin;
    scrollbar-color: var(--border-hover) transparent;
}

#article-wrapper>#table-of-contents {
    flex: 0 0 16.5rem;
    width: 16.5rem;
}

#article-body {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    max-width: 48rem;
    padding: 0;
    color: var(--text-secondary);
    font-size: 1.0625rem;
    line-height: 1.75;
    background: none;
    border: 0;
}

#article-body>* {
    max-width: none;
}

#article-body>h1:first-of-type {
    max-width: 22ch;
    margin: 0 0 1.75rem;
    color: var(--text-primary);
    font-size: clamp(2.25rem, 4.5vw, 3.25rem);
    font-weight: 600;
    letter-spacing: -.03em;
    line-height: 1.08;
    text-wrap: balance;
}

#article-body h2,
#article-body h3,
#article-body h4,
#article-body h5,
#article-body h6 {
    padding: 0;
    color: var(--text-primary);
    text-align: left;
    scroll-margin-top: calc(var(--nav-height, 60px) + 1.5rem);
    text-wrap: balance;
}

#article-body h2 {
    margin: 3.5rem 0 1rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-default);
    font-size: clamp(1.45rem, 2.6vw, 1.75rem);
    font-weight: 600;
    letter-spacing: -.02em;
    line-height: 1.25;
}

#article-body h3 {
    margin: 2.75rem 0 .75rem;
    font-size: clamp(1.2rem, 2vw, 1.35rem);
    font-weight: 600;
    letter-spacing: -.012em;
    line-height: 1.3;
}

#article-body h4 {
    margin: 2.25rem 0 .5rem;
    font-size: 1.075rem;
    font-weight: 600;
    line-height: 1.4;
}

#article-body h5,
#article-body h6 {
    margin: 2rem 0 .5rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: .75rem;
    font-weight: 500;
    letter-spacing: .08em;
    line-height: 1.5;
    text-transform: uppercase;
}

#article-body p {
    margin: 0 0 1.25rem;
    padding: 0;
    color: var(--text-secondary);
}

#article-body p,
#article-body li,
#article-body blockquote {
    max-width: 68ch;
}

#article-body strong,
#article-body b {
    color: var(--text-primary);
    font-weight: 600;
}

#article-body a {
    color: var(--text-primary);
    font-weight: inherit;
    text-decoration: underline;
    text-decoration-color: var(--border-hover);
    text-decoration-thickness: 1px;
    text-underline-offset: .2em;
}

#article-body a:hover {
    color: var(--accent);
    text-decoration-color: currentColor;
}

#article-body ul,
#article-body ol {
    margin: 0 0 1.5rem;
    padding-left: 1.4rem;
}

#article-body li {
    margin: 0 0 .45rem;
    padding-left: .2rem;
    line-height: 1.7;
}

#article-body ul>li {
    list-style: square;
}

#article-body ol>li {
    list-style: decimal;
}

#article-body li::marker {
    color: var(--text-muted);
}

#article-body ol>li::marker {
    font-family: var(--font-mono);
    font-size: .85em;
}

#article-body li>ul,
#article-body li>ol {
    margin: .45rem 0 .5rem;
}

#article-body img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 2rem auto 2.25rem;
    border: 1px solid var(--border-default);
}

#article-body figure {
    margin: 2rem 0;
}

#article-body figure img {
    margin-bottom: .75rem;
}

#article-body figcaption {
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: .75rem;
    line-height: 1.5;
    text-align: left;
}

#article-body blockquote {
    margin: 1.75rem 0;
    padding: .15rem 0 .15rem 1.25rem;
    border-left: 2px solid var(--rule-strong);
    color: var(--text-secondary);
}

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

#article-body hr {
    margin: 3rem 0;
    border: 0;
    border-top: 1px solid var(--border-default);
}

#article-body pre,
#article-body div>pre {
    margin: 1.5rem 0 1.75rem;
}

#article-body code {
    line-height: 1.6;
}

#article-body .MJXc-display,
#article-body .MathJax_Display,
#article-body mjx-container[display="true"] {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: auto;
    overflow-y: hidden;
    padding: .25rem 0 .65rem;
    -webkit-overflow-scrolling: touch;
}

#article-body table {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 2rem 0 2.25rem;
    overflow-x: auto;
    font-size: .9375rem;
    -webkit-overflow-scrolling: touch;
}

#article-body th,
#article-body td {
    min-width: 10rem;
    padding: .65rem 1rem .65rem 0;
    line-height: 1.55;
    vertical-align: top;
    word-break: normal;
    white-space: normal;
    overflow-wrap: normal;
}

#article-body th {
    color: var(--text-primary);
}

#article-body td {
    color: var(--text-secondary);
}

#article-body details {
    margin: 1.25rem 0;
    padding: 0;
    border-top: 1px solid var(--border-default);
    border-bottom: 1px solid var(--border-default);
}

#article-body summary {
    padding: .75rem 0;
    color: var(--text-primary);
    font-weight: 500;
    cursor: pointer;
}

#article-body summary::marker {
    color: var(--text-muted);
}

#table-of-contents,
#related-articles {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: .9rem 0 0;
    border-top: 2px solid var(--rule-strong);
    background: none;
    color: var(--text-secondary);
}

#table-of-contents>h2,
#related-articles h2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 0 .9rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: .72rem;
    font-weight: 500;
    letter-spacing: .08em;
    line-height: 1.4;
    text-transform: uppercase;
}

#table-of-contents ol,
#related-articles ol,
#related-articles ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

#table-of-contents li,
#related-articles li {
    margin: 0;
    padding: 0;
    list-style: none;
}

#table-of-contents ol ol {
    padding-left: .75rem;
}

#table-of-contents a {
    display: block;
    padding: .28rem 0 .28rem .75rem;
    border-left: 1px solid var(--border-default);
    color: var(--text-secondary);
    font-size: .85rem;
    line-height: 1.4;
    text-decoration: none;
}

#table-of-contents a:hover,
#table-of-contents a:focus-visible {
    border-left-color: var(--border-hover);
    color: var(--text-primary);
}

#table-of-contents a.active {
    margin-left: -1px;
    border-left: 2px solid var(--accent);
    color: var(--text-primary);
}

#table-of-contents-toggle {
    display: none;
}

#related-articles {
    display: flex;
    flex-direction: column;
    overflow-wrap: anywhere;
}

#related-articles>* {
    min-width: 0;
}

#related-articles .read-next {
    margin: 0 0 1.75rem;
    padding: 0;
}

#related-articles a {
    display: block;
    padding: .25rem 0;
    color: var(--text-secondary);
    font-size: .85rem;
    line-height: 1.4;
    text-decoration: none;
}

#related-articles a:hover,
#related-articles a:focus-visible {
    color: var(--text-primary);
    text-decoration: underline;
    text-decoration-color: var(--border-hover);
    text-underline-offset: .2em;
}

#related-articles a[aria-current="page"] {
    color: var(--accent);
    font-weight: 500;
}

#related-articles ol ol {
    margin: .2rem 0 .35rem;
    padding-left: .75rem;
    border-left: 1px solid var(--border-default);
}

#related-articles details {
    margin: 0;
    padding: 0;
    border: 0;
    overflow: visible;
}

#related-articles summary {
    padding: .25rem 0;
    color: var(--text-primary);
    font-size: .85rem;
    font-weight: 500;
    line-height: 1.4;
    cursor: pointer;
}

#related-articles summary::marker {
    color: var(--text-muted);
}

@media (max-width: 1023px) {
    #article-wrapper {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding-top: .5rem;
    }

    #article-sidebar,
    #article-wrapper>#table-of-contents {
        position: relative;
        top: auto;
        z-index: 1;
        order: -1;
        flex: none;
        width: 100%;
        max-width: 100%;
        max-height: none;
        overflow: visible;
        padding: 0;
        gap: 0;
    }

    #article-body {
        width: 100%;
        max-width: 100%;
        margin: 0;
        overflow-x: hidden;
        font-size: 1rem;
        line-height: 1.7;
    }

    #article-body>h1:first-of-type {
        max-width: none;
        font-size: clamp(2rem, 9vw, 2.75rem);
        overflow-wrap: break-word;
    }

    #article-body table {
        min-width: 0;
    }

    #table-of-contents {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        margin-bottom: 2rem;
        padding: 0;
        border-top: 1px solid var(--border-default);
        border-bottom: 1px solid var(--border-default);
    }

    #table-of-contents>h2 {
        width: 100%;
        min-height: 52px;
        margin: 0;
        padding: .5rem 0;
        cursor: pointer;
        user-select: none;
    }

    #table-of-contents>ol {
        margin-bottom: 1rem;
    }

    #table-of-contents a {
        padding-block: .45rem;
        font-size: .95rem;
    }

    #table-of-contents.collapsed ol,
    #table-of-contents.collapsed #related-articles,
    #table-of-contents.collapsed+#related-articles {
        display: none;
    }

    @media (scripting: none) {

        #table-of-contents.collapsed ol,
        #table-of-contents.collapsed #related-articles,
        #table-of-contents.collapsed+#related-articles {
            display: block;
        }
    }

    #table-of-contents+#related-articles {
        margin: -1rem 0 2rem;
        padding-top: 1rem;
        border-top: 0;
        border-bottom: 1px solid var(--border-default);
    }

    #related-articles a,
    #related-articles summary {
        padding-block: .45rem;
        font-size: .95rem;
    }

    #table-of-contents-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        width: 36px;
        height: 36px;
        padding: 0;
        border: 1px solid var(--border-hover);
        background: transparent;
        color: var(--text-primary);
        cursor: pointer;
    }

    #table-of-contents-toggle:hover {
        border-color: var(--text-primary);
    }

    #table-of-contents-toggle svg {
        transition: transform var(--duration-normal) ease;
    }

    #table-of-contents:not(.collapsed) #table-of-contents-toggle svg {
        transform: rotate(180deg);
    }
}
footer {
    width: 100%;
    margin-top: 0;
    color: var(--text-primary);
    background: var(--surface-0);
    border-top: 2px solid var(--rule-strong);
    padding: clamp(2.5rem, 6vw, 4.5rem) max(16px, calc((100vw - var(--content-max, 1200px)) / 2)) 1.5rem;
    font-family: inherit;
    font-size: 0.875rem;
    line-height: 1.6;
    position: relative;
}

.footer-columns {
    max-width: var(--content-max, 1200px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(240px, 2fr) minmax(160px, 1fr) minmax(160px, 1fr);
    gap: 40px clamp(32px, 6vw, 80px);
    align-items: start;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    text-align: left;
}

.footer-column h2 {
    margin: 0 0 4px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 500;
    color: var(--text-muted);
}

.footer-column p {
    margin: 0;
    padding: 0;
    color: var(--text-secondary);
    max-width: 420px;
}

.footer-message {
    max-width: 420px;
}

.footer-signature {
    font-family: var(--font-mono);
    font-size: 0.75rem;
}

.footer-column p.footer-signature {
    color: var(--text-muted);
}

.footer-mark {
    display: none;
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 6px;
}

.footer-links-list li {
    margin: 0;
}

footer a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color var(--duration-fast) ease;
}

.footer-message a {
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
}

footer a:hover,
footer a:focus-visible {
    color: var(--accent);
}

.social-media {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.social-media li {
    position: relative;
    margin: 0;
    font-size: 0;
}

.social-media li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--border-hover);
    color: var(--text-primary);
    transition: border-color var(--duration-fast) ease, color var(--duration-fast) ease;
}

.social-media li a:hover,
.social-media li a:focus-visible {
    border-color: var(--text-primary);
    color: var(--accent);
}

.social-media li svg {
    width: 16px;
    height: 16px;
}

.social-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.footer-bottom,
footer>div:not(.footer-columns) {
    max-width: var(--content-max, 1200px);
    margin: 40px auto 0;
    padding-top: 16px;
    border-top: 1px solid var(--border-default);
    text-align: left;
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 0.72rem;
}

#copyright {
    margin: 0;
    padding: 0;
    color: var(--text-muted);
}

@media (max-width: 780px) {
    .footer-columns {
        grid-template-columns: 1fr 1fr;
        gap: 32px 24px;
    }

    .footer-about {
        grid-column: 1 / -1;
    }
}
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(180px, 100%), 1fr));
    gap: 0;
    margin: 2em auto;
    padding: 0 1rem;
    border-top: 1px solid var(--rule-strong);
}

.even-section>header,
.odd-section>header {
    width: min(100% - 2rem, var(--content-max));
    margin: 0 auto 2rem;
    padding-top: 1rem;
    border-top: 2px solid var(--rule-strong);
    color: var(--text-primary);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 600;
    letter-spacing: -.03em;
    text-align: left;
}

.card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: .75rem;
    min-height: 180px;
    padding: 1.25rem;
    border-right: 1px solid var(--border-default);
    border-bottom: 1px solid var(--border-default);
    background: transparent;
    color: var(--text-primary);
    transition: background-color var(--duration-fast) ease;
}

.card:hover {
    background: var(--surface-1);
}

.card:focus-within {
    outline: 2px solid var(--accent);
    outline-offset: -2px;
}

.card-icon {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.card-description {
    display: none;
    font-size: .85rem;
    text-align: center;
    color: var(--text-secondary);
}

.card:hover .card-description {
    display: block;
}

.row {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: .25em;
    margin-bottom: .75em;
}

.row img {
    width: 34px;
    height: 34px;
    margin: 0;
}

@media screen and (max-width: 768px) {
    .row {
        flex-direction: column;
    }

    .row img {
        margin-top: .5em;
    }
}
.about-me-section {
    width: min(100%, calc(var(--content-max) + 64px));
    margin: 0 auto;
    padding: clamp(2rem, 4vw, 3rem) clamp(16px, 4vw, 32px) clamp(4rem, 8vw, 6rem);
}

.about-me-section>* {
    max-width: 42.5rem;
    margin-left: 0;
    margin-right: 0;
    padding: 0;
}

.about-me-section p,
.about-me-section li {
    color: var(--text-secondary);
    font-size: 1.0625rem;
    line-height: 1.7;
}

.about-me-section p {
    margin: 0 0 1.1rem;
}

.about-me-section h2 {
    margin: 2.75rem 0 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-default);
    color: var(--text-primary);
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: -.015em;
}

.about-me-section ul {
    margin: 0 0 1.1rem;
    padding: 0;
}

.about-me-section li {
    position: relative;
    margin: 0 0 .4rem;
    padding-left: 1.1rem;
}

.about-me-section li::before {
    content: "";
    position: absolute;
    top: .85em;
    left: 0;
    width: .45rem;
    height: 1px;
    background: var(--text-muted);
}

.about-me-section strong {
    color: var(--text-primary);
    font-weight: 600;
}
.article-list {
    display: block;
    width: min(100%, calc(var(--content-max) + 64px));
    max-width: calc(var(--content-max) + 64px);
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 32px);
}

.article-list .article-list {
    width: 100%;
    padding: 0;
}

.blog-page {
    padding-top: 0;
}

.article-list h1 {
    margin: 0;
    padding: clamp(1.5rem, 4vw, 3rem) 0 clamp(1.5rem, 3vw, 2.25rem);
    border-bottom: 2px solid var(--rule-strong);
    color: var(--text-primary);
    font-size: clamp(2.4rem, 6vw, 4.25rem);
    font-weight: 600;
    letter-spacing: -.035em;
    line-height: 1;
}

.article-list-element {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(9rem, 13rem);
    grid-template-rows: auto auto 1fr;
    grid-template-areas:
        "title date"
        "excerpt category"
        "excerpt lang";
    column-gap: clamp(1.5rem, 5vw, 4rem);
    padding: 1.4rem 0 1.5rem;
    border-bottom: 1px solid var(--border-default);
}

.article-list-element h2 {
    grid-area: title;
    margin: 0;
    font-size: clamp(1.1rem, 1.6vw, 1.25rem);
    font-weight: 600;
    letter-spacing: -.01em;
    line-height: 1.3;
}

.article-list-element h2 a {
    color: var(--text-primary);
    text-decoration: none;
    text-underline-offset: .18em;
    text-decoration-thickness: 1px;
}

.article-list-element:hover h2 a,
.article-list-element h2 a:focus-visible {
    color: var(--accent);
    text-decoration: underline;
}

.article-date,
.article-category,
.article-lang {
    margin: 0;
    padding: 0;
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: .75rem;
    line-height: 1.5;
    text-align: right;
}

.article-date {
    grid-area: date;
    padding-top: .3rem;
}

.article-category {
    grid-area: category;
    margin-top: .2rem;
}

.article-category a {
    color: var(--text-secondary);
    text-decoration: none;
}

.article-category a:hover {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: .18em;
}

.article-lang {
    grid-area: lang;
    margin-top: .2rem;
    letter-spacing: .06em;
}

.article-list-element p {
    grid-area: excerpt;
    margin: .5rem 0 0;
    padding: 0;
    max-width: 72ch;
    font-size: .95rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-list-element p a {
    color: var(--text-secondary);
    text-decoration: none;
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0;
    width: min(100%, calc(var(--content-max) + 64px));
    max-width: calc(var(--content-max) + 64px);
    margin: 2.5rem auto 1rem;
    padding: 0 clamp(16px, 4vw, 32px);
}

.pagination .pagination {
    width: auto;
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--border-default);
    border-left: 1px solid var(--border-default);
}

.pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.75rem;
    height: 2.75rem;
    margin: 0;
    border-right: 1px solid var(--border-default);
    border-bottom: 1px solid var(--border-default);
    color: var(--text-secondary);
    font-family: var(--font-mono);
    font-size: .8rem;
    font-weight: 400;
    text-decoration: none;
}

.pagination a b {
    font-weight: 500;
}

.pagination a:hover {
    background: var(--surface-1);
    color: var(--text-primary);
}

.pagination a.active,
.pagination a.active:hover {
    background: var(--text-primary);
    color: var(--surface-0);
}

@media (max-width: 640px) {
    .article-list-element {
        grid-template-columns: auto auto minmax(0, 1fr);
        grid-template-rows: auto;
        grid-template-areas:
            "title title title"
            "date category lang"
            "excerpt excerpt excerpt";
        column-gap: .9rem;
        padding: 1.15rem 0 1.25rem;
    }

    .article-date,
    .article-category,
    .article-lang {
        margin-top: .45rem;
        padding-top: 0;
        text-align: left;
    }

    .article-list-element p {
        margin-top: .5rem;
    }
}
:root {
    --syntax-text: var(--text-primary);
    --syntax-comment: #6b7686;
    --syntax-punctuation: #5b6676;
    --syntax-keyword: #1f4fd1;
    --syntax-string: #137a55;
    --syntax-number: #b25a0c;
    --syntax-function: #6d4fd0;
    --syntax-attribute: #0e7490;
}

.dark-mode {
    --syntax-comment: #7d8a9c;
    --syntax-punctuation: #9aa6b5;
    --syntax-keyword: #8ac2ff;
    --syntax-string: #7fd4a8;
    --syntax-number: #f0a35a;
    --syntax-function: #c4b5ff;
    --syntax-attribute: #67d4e0;
}

code,
kbd,
samp {
    font-family: var(--font-mono);
}

code {
    margin: 0;
    padding: .1em .3em;
    background-color: var(--surface-1);
    color: var(--text-primary);
    font-size: .875em;
    text-align: left;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

pre {
    margin: 0;
    padding: 1rem 1.25rem;
    font-size: .875rem;
    line-height: 1.6;
    text-align: left;
    tab-size: 4;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--border-hover) transparent;
}

#article-body pre {
    border: 1px solid var(--border-default);
    background: var(--surface-1);
    color: var(--syntax-text);
}

pre,
pre code {
    white-space: pre;
    overflow-wrap: normal;
    word-break: normal;
}

pre code,
pre[class*="language-"] code {
    display: block;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    font-size: inherit;
    line-height: inherit;
}

code[class*="language-"],
pre[class*="language-"] {
    color: var(--syntax-text);
    font-family: var(--font-mono);
    text-shadow: none;
    hyphens: none;
}

pre[class*="language-"] {
    margin: 0;
    padding: 1rem 1.25rem;
    border: 1px solid var(--border-default);
    background: var(--surface-1);
    font-size: .875rem;
    line-height: 1.6;
    overflow-x: auto;
}

:not(pre)>code[class*="language-"] {
    padding: .1em .3em;
    background: var(--surface-1);
    white-space: normal;
    word-break: break-word;
}

code[class*="language-"] * {
    background-color: transparent !important;
}

code[class*="language-"]::selection,
code[class*="language-"] ::selection,
pre[class*="language-"]::selection,
pre[class*="language-"] ::selection {
    background: var(--text-primary);
    color: var(--surface-0);
    text-shadow: none;
}

.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
    color: var(--syntax-comment);
}

.token.punctuation,
.token.operator,
.token.entity,
.token.url,
.language-css .token.string,
.style .token.string {
    color: var(--syntax-punctuation);
    background: none;
}

.token.namespace {
    opacity: .8;
}

.token.keyword,
.token.atrule,
.token.important,
.token.rule {
    color: var(--syntax-keyword);
}

.token.string,
.token.char,
.token.attr-value,
.token.regex,
.token.inserted,
.token.template-string {
    color: var(--syntax-string);
}

.token.number,
.token.boolean,
.token.constant,
.token.symbol,
.token.deleted {
    color: var(--syntax-number);
}

.token.function,
.token.class-name,
.token.builtin {
    color: var(--syntax-function);
    font-weight: 500;
}

.token.property,
.token.tag,
.token.selector,
.token.attr-name,
.token.variable {
    color: var(--syntax-attribute);
}

.token.bold,
.token.important {
    font-weight: 600;
}

.token.italic {
    font-style: italic;
}

@media screen and (max-width: 767px) {

    pre,
    pre[class*="language-"] {
        padding: .85rem 1rem;
        font-size: .8125rem;
    }
}
#dark-mode-button {
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    display: inline-block;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 1px solid var(--border-hover);
    border-radius: 0;
    background: transparent;
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    transition: border-color var(--duration-fast) ease;
}

#dark-mode-button>* {
    display: none;
}

#dark-mode-button:hover {
    border-color: var(--text-primary);
    background: transparent;
}

#dark-mode-button::before,
#dark-mode-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 14px;
    margin: -7px 0 0 -7px;
    box-sizing: border-box;
}

#dark-mode-button::before {
    border: 1.5px solid var(--text-primary);
    border-radius: 50%;
}

#dark-mode-button::after {
    width: 7px;
    border-radius: 7px 0 0 7px;
    background: var(--text-primary);
}

.dark-mode #dark-mode-button {
    border-color: var(--border-hover);
    background: transparent;
}

.dark-mode #dark-mode-button:hover {
    border-color: var(--text-primary);
}

.dark-mode #dark-mode-button::after {
    margin-left: 0;
    border-radius: 0 7px 7px 0;
}

#dark-mode-button:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}
#home-page-content {
    width: 100%;
    max-width: 1120px;
    min-width: 0;
    margin-inline: auto;
    padding-inline: clamp(20px, 4vw, 48px);
    padding-block: clamp(4rem, 8vw, 7rem);
    text-align: left;
}

#home-page-content p {
    padding-left: 0;
    padding-right: 0;
}

#home-page-content h2,
#home-page-content h3,
#home-page-content h4,
#home-page-content h5 {
    font-weight: 600;
    letter-spacing: -.015em;
    line-height: 1.2;
    margin-top: 1.25rem;
    margin-bottom: .6rem;
}

#home-page-content h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
}

#home-page-content h3 {
    font-size: clamp(1.3rem, 2.2vw, 1.6rem);
}

#home-page-content ul,
#home-page-content ol {
    list-style: disc outside;
    padding-left: 1.1rem;
    margin: .75rem 0 1.25rem;
    border: 0;
}

#home-page-content li {
    display: list-item;
    margin: .35rem 1rem;
    color: var(--text-secondary);
}

#home-page-content li::marker {
    color: var(--text-muted);
    font-size: .8em;
}

#home-page-content li a {
    display: inline;
    padding: 0;
    font-weight: 500;
    color: var(--text-primary);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: .2em;
    text-decoration-color: var(--border-hover);
}

#home-page-content li a:hover,
#home-page-content li a:focus-visible {
    color: var(--accent);
    text-decoration-color: currentColor;
}

#home-page-content img {
    display: block;
    max-width: 100%;
    height: auto;
}

#home-page-content .video-section,
#home-page-content .youtube,
#home-page-content .video-container {
    margin-top: 1rem !important;
}



.reveal,
.reveal-stagger>* {
    opacity: 0;
    transition: opacity .4s ease;
}

.reveal.revealed,
.reveal-stagger.revealed>*,
.threejs-wrapper.reveal {
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {

    .reveal,
    .reveal-stagger>* {
        opacity: 1;
        transition: none !important;
    }
}



.threejs-wrapper {
    --ring-bg: #0e1218;
    --ring-panel: #171e27;
    --ring-text: #e9eef5;
    --ring-muted: #8794a6;
    --ring-line: #303c4c;
    --ring-line-hover: #4b5b70;
    --ring-accent: #8ac2ff;
    --ring-positive: #3fe0d0;
    --ring-negative: #ffa64d;
    position: relative;
    width: 100%;
    height: clamp(460px, 52vw, 640px);
    margin: auto;
    overflow: hidden;
    border: 1px solid var(--ring-line);
    background: var(--ring-bg);
    isolation: isolate;
}

.threejs-wrapper:empty::before {
    content: "Interactive simulation";
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font: 500 .72rem/1 var(--font-mono);
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--ring-muted);
}

.threejs-wrapper>button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-color: var(--ring-text);
    color: var(--ring-text);
    font-size: .9rem;
}

.threejs-wrapper>button:hover,
.threejs-wrapper>button:focus-visible {
    background: var(--ring-text);
    color: var(--ring-bg);
}

.threejs-wrapper canvas {
    display: block;
    width: 100%;
    height: 100%;
}

@media only screen and (max-width: 760px) {
    .threejs-wrapper {
        height: auto;
        min-height: 460px;
    }
}



.video-container {
    width: 100%;
    max-width: 800px;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border: 1px solid var(--border-default);
}

.video-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.video-facade {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: var(--surface-1);
    cursor: pointer;
}

.video-facade img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-facade__play {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 64px;
    height: 44px;
    transform: translate(-50%, -50%);
    background: var(--text-primary);
    transition: background-color var(--duration-fast) ease;
}

.video-facade__play::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 54%;
    transform: translate(-50%, -50%);
    border-style: solid;
    border-width: 9px 0 9px 15px;
    border-color: transparent transparent transparent var(--surface-0);
}

.video-facade:hover .video-facade__play,
.video-facade:focus-visible .video-facade__play {
    background: var(--accent);
}



.ring-lab {
    --ring-gutter: 24px;
    --ring-bar-width: 660px;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    color: var(--ring-text);
    font: 13px/1.5 var(--font-sans);
}

.ring-lab>canvas {
    position: absolute;
    inset: 0;
    z-index: 0;
    touch-action: pan-y;
    cursor: grab;
    outline: none;
}

.ring-lab>canvas:active {
    cursor: grabbing;
}

.ring-lab>canvas:focus-visible {
    outline: 2px solid var(--ring-accent);
    outline-offset: -2px;
}

.ring-lab__header,
.ring-lab__footer {
    position: relative;
    z-index: 1;
    padding-inline: var(--ring-gutter);
    pointer-events: none;
}

.ring-lab__footer :is(button, input, summary, .ring-lab__model-body) {
    pointer-events: auto;
}

.ring-lab__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px 24px;
    padding-top: 20px;
}

.ring-lab__title {
    font: 500 .7rem/1.4 var(--font-mono);
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--ring-text);
}

.ring-lab__equation {
    margin-top: 4px;
    font: 400 .82rem/1.4 var(--font-mono);
    color: var(--ring-muted);
}

.ring-lab__legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 4px 16px;
    font: 400 .72rem/1.4 var(--font-mono);
    color: var(--ring-muted);
}

.ring-lab__legend span {
    display: flex;
    align-items: center;
    gap: 7px;
}

.ring-lab__legend i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--ring-positive);
}

.ring-lab__legend i[data-charge="negative"] {
    background: var(--ring-negative);
}

.ring-lab__footer {
    padding-bottom: 20px;
}

.ring-lab__bar {
    display: flex;
    align-items: center;
    gap: 12px 20px;
    width: min(100%, var(--ring-bar-width));
    margin-inline: auto;
    padding: 10px 10px 10px 16px;
    border: 1px solid var(--ring-line);
    background: var(--ring-panel);
}

.ring-lab__current {
    flex: 1 1 auto;
    min-width: 0;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: baseline;
    gap: 4px 12px;
}

.ring-lab__current-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--ring-text);
    white-space: nowrap;
}

.ring-lab__current output,
.ring-lab__metrics {
    font-family: var(--font-mono);
    font-variant-numeric: tabular-nums;
}

.ring-lab__current-label output {
    margin-left: 4px;
    color: var(--ring-accent);
}

.ring-lab__metrics {
    justify-self: end;
    max-width: 100%;
    overflow: hidden;
    font-size: 11px;
    color: var(--ring-muted);
    white-space: nowrap;
    text-overflow: ellipsis;
}

.ring-lab__metrics output {
    color: var(--ring-text);
}

.ring-lab__metrics sub {
    font-size: .75em;
}

.ring-lab__current input {
    grid-column: 1 / -1;
    width: 100%;
    height: 18px;
    margin: 0;
    accent-color: var(--ring-accent);
    cursor: pointer;
}

.ring-lab__buttons {
    display: flex;
    gap: 6px;
}

.ring-lab .ring-lab__buttons button,
.ring-lab .ring-lab__model summary {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    margin: 0;
    padding: 0;
    border: 1px solid var(--ring-line);
    background: transparent;
    color: var(--ring-text);
    list-style: none;
    cursor: pointer;
    transition: background-color var(--duration-fast) ease, border-color var(--duration-fast) ease, color var(--duration-fast) ease;
}

.ring-lab__buttons svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: square;
    stroke-linejoin: miter;
}

.ring-lab__buttons [data-pause][aria-pressed="true"] svg {
    fill: currentColor;
}

.ring-lab .ring-lab__model summary::-webkit-details-marker {
    display: none;
}

.ring-lab .ring-lab__buttons button:hover,
.ring-lab .ring-lab__model summary:hover {
    border-color: var(--ring-line-hover);
}

.ring-lab .ring-lab__buttons button[aria-pressed="true"],
.ring-lab .ring-lab__model[open] summary {
    border-color: var(--ring-text);
    background: var(--ring-text);
    color: var(--ring-bg);
}

.ring-lab__footer :focus-visible {
    outline: 2px solid var(--ring-accent);
    outline-offset: 2px;
}

.ring-lab .ring-lab__model,
.ring-lab .ring-lab__model[open] {
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    overflow: visible;
    color: inherit;
}

.ring-lab__model-body {
    position: absolute;
    right: max(var(--ring-gutter), calc((100% - var(--ring-bar-width)) / 2));
    bottom: calc(100% + 10px);
    width: min(400px, calc(100% - 2 * var(--ring-gutter)));
    max-height: 340px;
    overflow-y: auto;
    padding: 4px 18px;
    border: 1px solid var(--ring-line);
    background: var(--ring-panel);
    font-size: 12px;
    line-height: 1.6;
    color: var(--ring-muted);
}

.ring-lab .ring-lab__model-body p {
    margin: 10px 0;
    padding: 0;
    font-size: inherit;
    line-height: inherit;
    text-align: left;
    color: inherit;
}

.ring-lab .ring-lab__model-body a {
    color: var(--ring-text);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.ring-lab .ring-lab__model-body a:hover {
    color: var(--ring-accent);
}

@media (max-width: 760px) {
    .ring-lab {
        --ring-gutter: 14px;
        height: auto;
        min-height: 0;
    }

    .ring-lab__header {
        padding-top: 14px;
    }

    .ring-lab__legend {
        flex-direction: column;
        align-items: flex-end;
    }

    .ring-lab__stage {
        height: clamp(240px, 78vw, 400px);
    }

    .ring-lab__footer {
        padding-bottom: 14px;
    }

    .ring-lab__bar {
        flex-wrap: wrap;
        padding: 12px;
    }

    .ring-lab__current {
        flex-basis: 100%;
    }

    .ring-lab__buttons {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        width: 100%;
    }

    .ring-lab .ring-lab__buttons button,
    .ring-lab .ring-lab__model summary {
        width: 100%;
        height: 40px;
    }

    .ring-lab__model-body {
        left: var(--ring-gutter);
        width: auto;
        max-height: 70vw;
    }
}

@media (max-width: 359px) {
    .ring-lab__current {
        grid-template-columns: 1fr;
    }

    .ring-lab__metrics {
        justify-self: start;
    }
}
.article-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    column-gap: 1rem;
    margin: 0 0 2.25rem;
    padding-bottom: .75rem;
    border-bottom: 1px solid var(--border-default);
}

.article-header-metadata {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 1.5rem;
    min-width: 0;
}

#article-body .article-header-metadata>p[style*="text-align: right"] {
    display: flex;
    align-items: center;
    min-height: 2.25rem;
    margin: 0;
    padding: 0;
    border: 0;
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: .75rem;
    line-height: 1.4;
}

#article-body .article-header-metadata i {
    font-style: normal;
}

.article-action-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .5rem;
    margin-bottom: 1rem;
}

.article-header .article-action-buttons {
    margin: 0;
}

.article-action-buttons button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    border: 1px solid var(--border-default);
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
}

.article-action-buttons button:hover,
.article-action-buttons button:focus-visible {
    border-color: var(--text-primary);
    color: var(--text-primary);
}

.article-action-buttons svg {
    display: block;
    width: 18px;
    height: 18px;
    color: inherit;
}

.article-action-buttons button::after {
    content: attr(title);
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    z-index: 100;
    padding: .3rem .5rem;
    background: var(--text-primary);
    color: var(--surface-0);
    font-family: var(--font-mono);
    font-size: .7rem;
    font-weight: 400;
    line-height: 1.3;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--duration-fast) ease;
}

.article-action-buttons button:hover::after,
.article-action-buttons button:focus-visible::after {
    opacity: 1;
}

@media (max-width: 768px) {
    .article-header {
        grid-template-columns: minmax(0, 1fr);
        row-gap: .5rem;
        margin-bottom: 2rem;
    }

    .article-header-metadata {
        order: 2;
    }

    .article-header .article-action-buttons {
        order: 1;
        justify-content: flex-start;
        gap: .375rem;
    }

    .article-action-buttons button {
        gap: .3rem;
        width: auto;
        height: 2.5rem;
        padding: 0 .5rem;
    }

    .article-action-buttons svg {
        width: 15px;
        height: 15px;
    }

    .article-action-buttons button::after {
        position: static;
        padding: 0;
        font-size: .66rem;
        background: none;
        color: inherit;
        opacity: 1;
    }
}

#pdf-spinner-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    background-color: color-mix(in srgb, var(--surface-0) 85%, transparent);
}

#pdf-spinner-overlay .spinner {
    width: 40px;
    height: 40px;
    border: 2px solid var(--border-default);
    border-top-color: var(--text-primary);
    border-radius: 50%;
    animation: spin 900ms linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
#resume {
    counter-reset: resume-section;
    background: var(--surface-0);
}

#resume>section {
    width: min(100%, calc(var(--content-max) + 64px));
    margin: 0 auto;
    padding: clamp(3rem, 6vw, 5rem) clamp(16px, 4vw, 32px);
}

:where(#resume)>section>* {
    max-width: none;
    margin: 0;
    padding: 0;
}

.resume-kicker {
    margin: 0 0 1rem;
    padding: 0;
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: .75rem;
    font-weight: 500;
    letter-spacing: .08em;
    line-height: 1.4;
    text-transform: uppercase;
}

.resume-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
    gap: clamp(2.5rem, 7vw, 6rem);
    align-items: end;
}

#resume>.resume-hero {
    padding-top: clamp(3.5rem, 8vw, 6.5rem);
}

.resume-hero h1 {
    margin: 0;
    color: var(--text-primary);
    font-size: clamp(3.25rem, 8vw, 6.25rem);
    font-weight: 600;
    line-height: .95;
    letter-spacing: -.045em;
}

.resume-role {
    max-width: 30ch;
    margin: 1.75rem 0 0;
    padding: 0;
    color: var(--text-primary);
    font-size: clamp(1.25rem, 2.2vw, 1.6rem);
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: -.015em;
}

.resume-intro {
    max-width: 62ch;
    margin: 1.25rem 0 0;
    padding: 0;
    color: var(--text-secondary);
    font-size: 1.02rem;
    line-height: 1.7;
}

.resume-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 2rem;
}

.resume-actions .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: .65rem 1.25rem;
    border: 1px solid var(--text-primary);
    background: transparent;
    color: var(--text-primary);
    font-size: .9rem;
    font-weight: 500;
    text-decoration: none;
}

.resume-actions .button:hover,
.resume-actions .resume-button-primary {
    background: var(--text-primary);
    color: var(--surface-0);
}

.resume-actions .resume-button-primary:hover {
    border-color: var(--accent);
    background: var(--accent);
    color: var(--surface-0);
}

.resume-hero-aside {
    margin: 0;
    border-top: 2px solid var(--rule-strong);
}

.resume-hero-aside>div {
    display: grid;
    grid-template-columns: 7.5rem minmax(0, 1fr);
    gap: 1rem;
    padding: .85rem 0;
    border-bottom: 1px solid var(--border-default);
}

.resume-hero-aside span {
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: .7rem;
    letter-spacing: .06em;
    line-height: 1.6;
    text-transform: uppercase;
}

.resume-hero-aside strong {
    color: var(--text-primary);
    font-size: .9rem;
    font-weight: 500;
    line-height: 1.5;
}

.resume-section-heading,
#experience>header,
#summary>header {
    display: block;
    width: auto;
    margin: 0 0 clamp(2rem, 4vw, 3rem);
    padding-top: 1.25rem;
    border-top: 2px solid var(--rule-strong);
    text-align: left;
}

.resume-section-heading .resume-kicker::before,
#experience>header::before,
#summary>header::before {
    counter-increment: resume-section;
    content: "0" counter(resume-section) " \2014  ";
    color: var(--accent);
}

#experience>header::before,
#summary>header::before {
    display: block;
    margin: 0 0 1rem;
    font-family: var(--font-mono);
    font-size: .75rem;
    font-weight: 500;
    letter-spacing: .08em;
    line-height: 1.4;
    text-transform: uppercase;
}

#experience>header::before {
    content: "0" counter(resume-section) " \2014  Career";
}

#summary>header::before {
    content: "0" counter(resume-section) " \2014  Summary";
}

.resume-section-heading h2,
#experience>header h2,
#summary>header h2 {
    margin: 0;
    color: var(--text-primary);
    font-size: clamp(1.9rem, 4vw, 2.75rem);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -.03em;
}

.resume-section-heading>p:last-child {
    max-width: 62ch;
    margin: 1rem 0 0;
    padding: 0;
    color: var(--text-secondary);
}

.focus-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.5rem, 3vw, 2.5rem);
}

.focus-grid article {
    display: flex;
    flex-direction: column;
    padding-top: 1rem;
    border-top: 1px solid var(--border-default);
}

.focus-grid article>span {
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: .75rem;
    line-height: 1;
}

.focus-grid h3 {
    margin: 1.25rem 0 .75rem;
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -.01em;
    text-align: left;
}

.focus-grid article>p {
    margin: 0 0 1.25rem;
    padding: 0;
    color: var(--text-secondary);
    font-size: .95rem;
    line-height: 1.65;
}

.resume-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem .9rem;
    margin-top: auto;
}

.resume-tags i {
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: .72rem;
    font-style: normal;
    line-height: 1.6;
}

#experience .timeline {
    border-top: 0;
}

#experience .timeline-container .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    gap: .9rem;
    margin: 1.25rem 0 0;
    padding: 0;
}

#experience .timeline-container .row img {
    width: 20px;
    height: 20px;
    margin: 0;
    object-fit: contain;
    filter: grayscale(1);
    opacity: .7;
}

.dark-mode #experience .timeline-container .row img {
    filter: grayscale(1) invert(1);
}

.timeline-container .experience-lede {
    max-width: 68ch;
    color: var(--text-primary);
    font-size: 1rem;
    line-height: 1.6;
}

.capability-list {
    border-top: 1px solid var(--border-default);
}

.capability-list article {
    display: grid;
    grid-template-columns: minmax(220px, .8fr) minmax(0, 1.2fr);
    gap: .5rem clamp(1.5rem, 5vw, 4rem);
    padding: 1.4rem 0;
    border-bottom: 1px solid var(--border-default);
}

.capability-list span {
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: .7rem;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.capability-list h3 {
    margin: .35rem 0 0;
    color: var(--text-primary);
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.35;
    text-align: left;
}

.capability-list article>p {
    margin: 0;
    padding: 0;
    color: var(--text-secondary);
    font-size: .95rem;
    line-height: 1.65;
}

#summary {
    padding-bottom: clamp(4rem, 8vw, 6rem);
}

#summary>div>p {
    max-width: 68ch;
    margin: 0 0 2rem;
    padding: 0;
    color: var(--text-primary);
    font-size: clamp(1.05rem, 1.6vw, 1.2rem);
    line-height: 1.65;
}

#summary ol {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 clamp(1.5rem, 4vw, 3rem);
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: summary-item;
}

#summary li {
    counter-increment: summary-item;
    display: grid;
    grid-template-columns: 2.25rem minmax(0, 1fr);
    margin: 0;
    padding: 1rem 0;
    border-top: 1px solid var(--border-default);
    color: var(--text-secondary);
    font-size: .95rem;
    line-height: 1.6;
}

#summary li::before {
    content: "0" counter(summary-item);
    padding-top: .2em;
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: .72rem;
}

@media (max-width: 900px) {
    .resume-hero {
        grid-template-columns: minmax(0, 1fr);
        align-items: start;
    }

    .resume-hero-aside {
        max-width: 560px;
    }

    .focus-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 680px) {

    .capability-list article,
    #summary ol {
        grid-template-columns: minmax(0, 1fr);
    }

    .resume-hero-aside>div {
        grid-template-columns: 6.5rem minmax(0, 1fr);
    }
}
#reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    transform: scaleX(0);
    transform-origin: left;
    background: var(--accent);
    z-index: 9999;
    transition: transform 120ms linear;
}

@media (hover: hover) {

    a,
    button,
    summary {
        -webkit-tap-highlight-color: transparent;
    }
}

@media (max-width: 768px) {
    section {
        padding-block: 2.75rem;
    }

    header {
        font-size: 1.6rem;
    }

    table {
        display: block;
        max-width: 100%;
        overflow-x: auto;
    }
}

#back-to-top {
    position: fixed;
    right: 2rem;
    bottom: 2rem;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    border: 1px solid var(--text-primary);
    background: var(--surface-0);
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
}

#back-to-top:hover {
    background: var(--text-primary);
    color: var(--surface-0);
}

@media (max-width: 768px) {
    #back-to-top {
        right: 1rem;
        bottom: 1rem;
        width: 2.5rem;
        height: 2.5rem;
    }
}
.banner.tools-page-banner {
    display: none;
}

#home-page-content:has(> .tools-intro) {
    max-width: calc(var(--content-max) + 2rem);
    padding-inline: 1rem;
    padding-block: 0 clamp(3rem, 7vw, 5.5rem);
}

#home-page-content:has(> .tools-intro)>* {
    max-width: none;
    margin-inline: 0;
    padding-inline: 0;
}

#home-page-content>.tools-intro {
    margin: 0;
}

.tools-intro {
    max-width: none;
    padding: clamp(2.5rem, 7vw, 5rem) 0 clamp(1.75rem, 3.5vw, 2.5rem);
    border-bottom: 1px solid var(--border-default);
    text-align: left;
}

.tools-intro .tools-eyebrow,
.tools-intro .course-page-badge {
    display: block;
    margin: 0 0 1rem;
    padding: 0;
    color: var(--accent);
    font: 500 .74rem/1.4 var(--font-mono);
    letter-spacing: .12em;
    text-transform: uppercase;
}

.tools-intro h1 {
    max-width: 18ch;
    margin: 0;
    color: var(--text-primary);
    font-size: clamp(2.75rem, 7vw, 5rem);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -.045em;
    text-align: left;
}

.tools-intro p:not(.tools-eyebrow) {
    max-width: 58ch;
    margin: 1.25rem 0 0;
    padding: 0;
    color: var(--text-secondary);
    font-size: clamp(1rem, 1.6vw, 1.15rem);
    line-height: 1.6;
}

.catalogue .tool-filters {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) auto;
    align-items: end;
    gap: .75rem 1.25rem;
    max-width: none;
    margin: 0 0 clamp(1.75rem, 3.5vw, 2.5rem);
    padding: 1.25rem 0 0;
    background: none;
}

.catalogue .tool-filters[hidden] {
    display: none;
}

.catalogue .tool-filters>div {
    min-width: 0;
}

.catalogue .tool-filters label {
    display: block;
    margin-bottom: .45rem;
    color: var(--text-muted);
    font: 500 .7rem/1.4 var(--font-mono);
    letter-spacing: .1em;
    text-transform: uppercase;
}

.catalogue .tool-filters input,
.catalogue .tool-filters select {
    width: 100%;
    min-height: 44px;
    padding: .6rem .8rem;
    border: 1px solid var(--border-hover);
    color: var(--text-primary);
    background: var(--surface-0);
    font: inherit;
    font-size: .95rem;
    transition: border-color var(--duration-fast) ease;
}

.catalogue .tool-filters input::-webkit-search-cancel-button {
    display: none;
}

.catalogue .tool-filters input:hover,
.catalogue .tool-filters select:hover {
    border-color: var(--text-muted);
}

.catalogue .tool-filters input:focus,
.catalogue .tool-filters select:focus {
    border-color: var(--text-primary);
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.catalogue .tool-filters button {
    min-height: 44px;
    padding: .6rem 1.1rem;
    border: 1px solid var(--text-primary);
    color: var(--text-primary);
    background: transparent;
    font: inherit;
    font-size: .9rem;
    font-weight: 500;
    white-space: nowrap;
}

.catalogue .tool-filters button:hover {
    color: var(--surface-0);
    background: var(--text-primary);
}

.catalogue #tool-results {
    grid-column: 1 / -1;
    margin: 0;
    padding: 0;
    color: var(--text-muted);
    font: 400 .74rem/1.4 var(--font-mono);
    letter-spacing: .04em;
}

.tool-category,
.tool-category[open] {
    max-width: none;
    margin: 0 0 clamp(2.5rem, 5vw, 3.75rem);
    padding: 0;
    border: 0;
    overflow: visible;
}

.tool-category[hidden] {
    display: none;
}

.tool-category summary {
    list-style: none;
    cursor: pointer;
}

.tool-category summary::-webkit-details-marker {
    display: none;
}

.tool-category summary::marker {
    content: "";
}

.category-header {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    width: 100%;
    padding: 1rem 0 1.4rem;
    border-top: 2px solid var(--rule-strong);
}

.category-icon {
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: .7rem;
    min-width: 2.6rem;
    color: var(--accent);
    font: 500 .74rem/1 var(--font-mono);
    letter-spacing: .12em;
    text-transform: uppercase;
}


details.tool-category .category-icon::after {
    content: "/";
    color: var(--text-muted);
}

#home-page-content .category-header h2,
.category-header h2 {
    margin: 0;
    color: var(--text-primary);
    font-size: clamp(1.35rem, 2.4vw, 1.75rem);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -.02em;
    text-align: left;
}

summary.category-header::after {
    content: "+";
    margin-left: auto;
    color: var(--text-muted);
    font: 400 1.1rem/1 var(--font-mono);
    transition: color var(--duration-fast) ease;
}

.tool-category[open]>summary.category-header::after {
    content: "\2212";
}

summary.category-header:hover::after,
summary.category-header:hover h2 {
    color: var(--accent);
}

.tool-category:not([open]) {
    margin-bottom: 1.25rem;
}

.tool-category:not([open])>.category-header {
    padding-bottom: 1rem;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 clamp(2rem, 4vw, 3.5rem);
    margin: 0;
}

.tool-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-content: start;
    gap: .3rem 1.5rem;
    padding: 1rem 0 1.1rem;
    border-top: 1px solid var(--border-default);
    color: inherit;
    background: none;
    text-decoration: none;
}

.tool-card[hidden] {
    display: none;
}

#home-page-content .tool-card h3,
.tool-card h3 {
    grid-column: 1;
    margin: 0;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -.005em;
    text-align: left;
    text-decoration: underline;
    text-decoration-color: transparent;
    text-decoration-thickness: 1px;
    text-underline-offset: .22em;
    transition: color var(--duration-fast) ease, text-decoration-color var(--duration-fast) ease;
}

#home-page-content .tool-card p,
.tool-card p {
    grid-column: 1;
    margin: 0;
    padding: 0;
    color: var(--text-secondary);
    font-size: .9rem;
    line-height: 1.55;
}

.tool-tag {
    grid-column: 2;
    grid-row: 1 / span 2;
    padding-top: .2rem;
    color: var(--text-muted);
    font: 500 .68rem/1.4 var(--font-mono);
    letter-spacing: .08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.tool-card:hover h3,
.tool-card:focus-visible h3,
#home-page-content .tool-card:hover h3,
#home-page-content .tool-card:focus-visible h3 {
    color: var(--accent);
    text-decoration-color: currentColor;
}

@media (max-width: 760px) {
    .tools-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .catalogue .tool-filters {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .catalogue .tool-filters>div:first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 420px) {
    .tool-card {
        gap: .3rem 1rem;
    }
}
.pj,
.pj :where(h1, h2, h3) {
    text-align: left;
}

.pj.pj-hero {
    margin: 0;
    font-size: 1rem;
    font-weight: 400;
}

.pj :where(p, h1, h2, h3) {
    margin: 0;
    padding: 0;
}

.pj :where(li) {
    margin-left: 0;
}

.pj :where(ul, ol) {
    margin: 0;
    padding: 0;
    list-style: none;
}

.pj-chapter>* {
    max-width: none;
    margin: 0;
    padding: 0;
}

.pj :where(code) {
    padding: .05em .3em;
    background: var(--surface-1);
    font-size: .85em;
    color: var(--text-primary);
    white-space: nowrap;
}

.pj {
    --pj-gap: 1.5rem;
    width: 100%;
    background: var(--surface-0);
}

.pj-wrap {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding: 0 max(1rem, calc((100vw - var(--content-max, 1200px)) / 2));
}

.pj-mono {
    font-family: var(--font-mono);
}

.pj-eyebrow {
    margin: 0 0 1rem;
    font: 500 .72rem/1.5 var(--font-mono);
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.pj-link {
    display: inline;
    font-size: .88rem;
    font-weight: 500;
    color: var(--text-primary);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: .2em;
    text-decoration-color: var(--border-hover);
    transition: color var(--duration-fast) ease, text-decoration-color var(--duration-fast) ease;
}

.pj-link:hover,
.pj-link:focus-visible {
    color: var(--accent);
    text-decoration-color: currentColor;
}

.pj-links {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: .4rem 1.25rem;
    margin-top: auto;
    padding-top: .5rem;
}

.github-stars {
    font: 400 .72rem/1.4 var(--font-mono);
    color: var(--text-muted);
}

.pj-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 2rem;
}

.pj .pj-button {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .75rem 1.25rem;
    border: 1px solid var(--text-primary);
    background: var(--text-primary);
    font-size: .92rem;
    font-weight: 500;
    color: var(--surface-0);
    transition: background-color var(--duration-fast) ease, color var(--duration-fast) ease;
}

.pj .pj-button:hover,
.pj .pj-button:focus-visible {
    background: transparent;
    color: var(--text-primary);
}

.pj .pj-button-quiet {
    background: transparent;
    color: var(--text-primary);
}

.pj .pj-button-quiet:hover,
.pj .pj-button-quiet:focus-visible {
    background: var(--text-primary);
    color: var(--surface-0);
}



.pj-hero {
    padding: clamp(3rem, 8vw, 6.5rem) 0 clamp(3rem, 6vw, 4.5rem);
    color: var(--text-primary);
}

.pj-hero-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 3rem var(--pj-gap);
    align-items: end;
}

.pj-hero-grid>div:first-child {
    grid-column: 1 / span 6;
}

.pj-hero .pj-eyebrow {
    margin-bottom: 1.5rem;
}

.pj-hero h1 {
    margin: 0;
    font-size: clamp(2.8rem, 6.2vw, 5rem);
    font-weight: 600;
    line-height: .98;
    letter-spacing: -.045em;
    color: var(--text-primary);
}

.pj-hero h1 span {
    color: var(--text-muted);
}

.pj-hero-copy {
    max-width: 32rem;
    margin-top: 1.5rem !important;
    font-size: clamp(1.05rem, 1.4vw, 1.18rem);
    line-height: 1.6;
    color: var(--text-secondary);
}

.pj-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 2.5rem !important;
    border-top: 1px solid var(--rule-strong);
}

.pj-stats li {
    display: grid;
    gap: .2rem;
    padding: .8rem .9rem 0 0;
}

.pj-stats li+li {
    padding-left: .9rem;
    border-left: 1px solid var(--border-default);
}

.pj-stats strong {
    font-size: 1.75rem;
    font-weight: 600;
    letter-spacing: -.03em;
    font-variant-numeric: tabular-nums;
    color: var(--text-primary);
}

.pj-stats span {
    font: 400 .68rem/1.4 var(--font-mono);
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.pj-collage {
    grid-column: 7 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 1.5rem var(--pj-gap);
}

.pj-collage a {
    display: flex;
    flex-direction: column;
    gap: .6rem;
    min-height: 0;
    color: var(--text-primary);
}

.pj-collage img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    border: 1px solid var(--border-default);
    background: var(--surface-1);
    transition: border-color var(--duration-fast) ease;
}

.pj-collage-a img {
    aspect-ratio: 16 / 9;
}

.pj-collage-c img {
    aspect-ratio: 4 / 3;
}

.pj-collage-b {
    grid-column: 2;
    grid-row: 1 / span 2;
}

.pj-collage-b img {
    flex: 1;
    min-height: 0;
    height: 0;
}

.pj-collage small {
    font: 500 .68rem/1.4 var(--font-mono);
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--text-muted);
    transition: color var(--duration-fast) ease;
}

.pj-collage a:hover img,
.pj-collage a:focus-visible img {
    border-color: var(--border-hover);
}

.pj-collage a:hover small,
.pj-collage a:focus-visible small {
    color: var(--accent);
}



.pj-index {
    display: grid;
    grid-template-columns: 5fr 1fr;
    gap: var(--pj-gap);
    margin-top: clamp(3rem, 6vw, 4.5rem);
}

.pj-era {
    min-width: 0;
}

.pj-era-label {
    margin: 0 0 .7rem !important;
    font: 500 .68rem/1.4 var(--font-mono);
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.pj-chapters {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    border-top: 1px solid var(--rule-strong);
}

.pj-era-old .pj-chapters {
    grid-template-columns: 1fr;
    border-top-color: var(--border-hover);
}

.pj-chapters li+li a {
    padding-left: .9rem;
    border-left: 1px solid var(--border-default);
}

.pj-chapters a {
    display: grid;
    align-content: start;
    gap: .4rem;
    height: 100%;
    padding: .85rem .9rem .25rem 0;
    color: var(--text-primary);
}

.pj-chapters b {
    font: 500 .68rem/1 var(--font-mono);
    color: var(--accent);
}

.pj-era-old .pj-chapters b {
    color: var(--text-muted);
}

.pj-chapters strong {
    font-size: .98rem;
    font-weight: 600;
    line-height: 1.25;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: .2em;
    text-decoration-color: transparent;
    transition: color var(--duration-fast) ease, text-decoration-color var(--duration-fast) ease;
}

.pj-chapters span {
    font-size: .78rem;
    line-height: 1.4;
    color: var(--text-muted);
}

.pj-chapters a:hover strong,
.pj-chapters a:focus-visible strong {
    color: var(--accent);
    text-decoration-color: currentColor;
}



.pj-bar {
    position: sticky;
    top: var(--nav-height, 60px);
    z-index: 50;
    border-top: 1px solid var(--border-default);
    border-bottom: 1px solid var(--border-default);
    background: var(--surface-0);
}

.pj-bar ul {
    display: flex;
    gap: 1.75rem;
    width: 100%;
    margin: 0 auto;
    padding: 0 max(1rem, calc((100vw - var(--content-max, 1200px)) / 2));
    overflow-x: auto;
    counter-reset: pj-bar;
    scrollbar-width: none;
}

.pj-bar ul::-webkit-scrollbar {
    display: none;
}

.pj-bar a {
    display: inline-flex;
    align-items: baseline;
    gap: .45rem;
    padding: .8rem 0 calc(.8rem - 2px);
    border-bottom: 2px solid transparent;
    font-size: .84rem;
    font-weight: 500;
    white-space: nowrap;
    color: var(--text-secondary);
    transition: color var(--duration-fast) ease, border-color var(--duration-fast) ease;
}

.pj-bar a::before {
    content: counter(pj-bar, decimal-leading-zero);
    counter-increment: pj-bar;
    font: 400 .68rem/1 var(--font-mono);
    color: var(--text-muted);
}

.pj-bar a:hover,
.pj-bar a:focus-visible {
    color: var(--text-primary);
}

.pj-bar a[aria-current="true"] {
    border-bottom-color: var(--accent);
    color: var(--text-primary);
}

.pj-bar a[aria-current="true"]::before {
    color: var(--accent);
}

.pj-bar li:last-child {
    margin-left: auto;
}



.pj-chapter {
    padding: clamp(3.5rem, 7vw, 6rem) 0 0;
    scroll-margin-top: calc(var(--nav-height, 60px) + 48px);
}

.pj-head {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--pj-gap);
    margin-bottom: clamp(2rem, 4vw, 3rem);
    padding-top: 1.1rem;
    border-top: 2px solid var(--rule-strong);
}

.pj-num {
    grid-column: 1 / span 3;
    grid-row: 1 / span 2;
    font: 500 .74rem/1.6 var(--font-mono);
    letter-spacing: .08em;
    color: var(--accent);
}

.pj-head>div {
    grid-column: 4 / -1;
}

.pj-head .pj-eyebrow {
    margin-bottom: .7rem;
}

.pj-head h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -.035em;
    color: var(--text-primary);
}

.pj-head>p {
    grid-column: 4 / span 7;
    max-width: 40rem;
    margin-top: .9rem;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.pj-head>p a {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: .2em;
}

.pj-head>p a:hover {
    color: var(--accent);
}



.pj-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.pj-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: .75rem;
    padding-top: 1.1rem;
}

.pj-card-body:first-child {
    border-top: 1px solid var(--rule-strong);
}

.pj-card h3 {
    margin: 0;
    font-size: clamp(1.2rem, 1.8vw, 1.45rem);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -.02em;
    color: var(--text-primary);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: .2em;
    text-decoration-color: transparent;
    transition: color var(--duration-fast) ease, text-decoration-color var(--duration-fast) ease;
}

.pj-card:has(.pj-shot:hover, .pj-shot:focus-visible, .pj-tempo-visual:hover, .pj-tempo-visual:focus-visible) h3 {
    color: var(--accent);
    text-decoration-color: currentColor;
}

.pj-card p {
    margin: 0;
    font-size: .93rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.pj-card-top {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: .5rem 1rem;
}

.pj-card-top .github-stars:last-child {
    margin-left: auto;
}

.pj-role,
.pj-badge {
    align-self: flex-start;
    font: 500 .68rem/1.4 var(--font-mono);
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.pj-shot {
    position: relative;
    display: block;
    overflow: hidden;
    border: 1px solid var(--border-default);
    background: var(--surface-1);
    transition: border-color var(--duration-fast) ease;
}

.pj-shot:hover,
.pj-shot:focus-visible {
    border-color: var(--border-hover);
}

.pj-shot img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pj-shot-wide {
    aspect-ratio: 16 / 9;
}

.pj-shot-tall {
    aspect-ratio: 4 / 5;
}

.pj-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
}

.pj-tags li {
    padding: .15rem .45rem;
    border: 1px solid var(--border-default);
    font: 400 .68rem/1.4 var(--font-mono);
    color: var(--text-secondary);
}

.pj-why {
    padding-left: .9rem;
    border-left: 2px solid var(--rule-strong);
    font-size: .88rem !important;
}

.pj-why b {
    font-weight: 600;
    color: var(--text-primary);
}

.pj-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--border-default);
    border-bottom: 1px solid var(--border-default);
}

.pj-facts li {
    display: grid;
    gap: .15rem;
    padding: .65rem .8rem .65rem 0;
}

.pj-facts li+li {
    padding-left: .8rem;
    border-left: 1px solid var(--border-default);
}

.pj-facts strong {
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: -.02em;
    font-variant-numeric: tabular-nums;
    color: var(--text-primary);
}

.pj-facts span {
    font: 400 .64rem/1.3 var(--font-mono);
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.pj-flow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .35rem;
    font: 400 .68rem/1.3 var(--font-mono);
    color: var(--text-secondary);
}

.pj-flow span {
    padding: .3rem .5rem;
    border: 1px solid var(--border-hover);
}

.pj-flow b {
    font-weight: 400;
    color: var(--text-muted);
}



.pj-bento {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 3.5rem var(--pj-gap);
}

.pj-span-6 {
    grid-column: span 6;
}

.pj-span-4 {
    grid-column: span 4;
}

.pj-span-3 {
    grid-column: span 3;
}

.pj-span-2 {
    grid-column: span 2;
}

.pj-tempo {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--pj-gap);
}

.pj-tempo .pj-card-body {
    padding-top: 0;
}

.pj-tempo-visual {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .42fr);
    gap: 1rem;
    align-items: end;
    padding: clamp(1rem, 2.5vw, 1.75rem);
    border: 1px solid var(--border-default);
    background: var(--surface-1);
    transition: border-color var(--duration-fast) ease;
}

.pj-tempo-visual:hover,
.pj-tempo-visual:focus-visible {
    border-color: var(--border-hover);
}

.pj-tempo-visual>span {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    min-width: 0;
}

.pj-tempo-visual img,
.pj-tempo-reel video {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid var(--border-default);
    background: var(--surface-0);
}

.pj-live {
    order: -1;
    font: 500 .64rem/1.3 var(--font-mono);
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.pj-bignum {
    display: flex;
    align-items: baseline;
    gap: .9rem;
    padding: .2rem 0;
}

.pj-bignum strong {
    flex: none;
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 600;
    letter-spacing: -.04em;
    font-variant-numeric: tabular-nums;
    color: var(--text-primary);
}

.pj-bignum span {
    font-size: .82rem;
    line-height: 1.45;
    color: var(--text-muted);
}

.pj-diff {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    border: 1px solid var(--border-default);
    background: var(--surface-1);
}

.pj-diff figure {
    margin: 0;
    padding: .9rem 1.1rem 1rem;
}

.pj-diff figure+figure {
    border-top: 1px solid var(--border-default);
}

.pj-diff figcaption {
    margin-bottom: .45rem;
    font: 500 .64rem/1.3 var(--font-mono);
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.pj-diff pre {
    margin: 0;
    padding: 0;
    overflow-x: auto;
    border: 0;
    background: none;
    font: 400 .8rem/1.55 var(--font-mono);
    white-space: pre;
    color: var(--text-primary);
}

.pj-diff .tex {
    color: var(--text-muted);
}

.pj-diff .bad {
    color: var(--accent);
    font-weight: 500;
}

.pj-diff .good {
    color: var(--text-primary);
    font-weight: 600;
}

.pj-ai-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem 2rem;
    margin-top: 3.5rem;
    padding: 1rem 0;
    border-top: 1px solid var(--rule-strong);
    border-bottom: 1px solid var(--border-default);
    font-size: .92rem;
    color: var(--text-secondary);
}

.pj-ai-foot p {
    max-width: 52rem;
    margin: 0;
}

.pj-ai-foot b {
    font-weight: 600;
    color: var(--text-primary);
}



.pj-gallery {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 1.25rem var(--pj-gap);
    aspect-ratio: 2.1 / 1;
}

.pj-gallery figure {
    display: flex;
    flex-direction: column;
    gap: .55rem;
    min-height: 0;
    margin: 0;
}

.pj-gallery figure:first-child {
    grid-row: span 2;
}

.pj-gallery img {
    display: block;
    flex: 1;
    width: 100%;
    min-height: 0;
    height: 0;
    object-fit: cover;
    border: 1px solid var(--border-default);
    background: var(--surface-1);
}

.pj-gallery figcaption {
    font: 500 .66rem/1.3 var(--font-mono);
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.pj-engine-body {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 2.5rem var(--pj-gap);
    margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

.pj-engine-body>div {
    grid-column: 1 / span 6;
}

.pj-engine-body h3 {
    margin: 0 0 .9rem;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 600;
    letter-spacing: -.03em;
    color: var(--text-primary);
}

.pj-engine-body p {
    margin: 0 0 1.25rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.pj-engine .pj-facts {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0 0 1.25rem;
}

.pj-engine-body .pj-actions {
    margin-top: 1.5rem;
}

.pj-stack {
    grid-column: 7 / -1;
    display: grid;
    align-content: start;
    border-top: 1px solid var(--rule-strong);
}

.pj-stack li {
    display: grid;
    grid-template-columns: 7rem minmax(0, 1fr);
    gap: 1rem;
    padding: .75rem 0;
    border-bottom: 1px solid var(--border-default);
    font-size: .9rem;
    line-height: 1.55;
    color: var(--text-secondary);
}

.pj-stack b {
    font: 500 .68rem/1.9 var(--font-mono);
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--text-primary);
}



.pj-course-feature {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem var(--pj-gap);
    margin-bottom: clamp(3rem, 6vw, 4rem);
}

.pj-course-feature .pj-card {
    flex-direction: row;
    gap: 1.25rem;
}

.pj-course-feature .pj-shot {
    flex: 0 0 38%;
    align-self: flex-start;
    aspect-ratio: 1;
}

.pj-course-feature .pj-card-body {
    padding-top: 0;
}

.pj-shelf {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem var(--pj-gap);
}

.pj-shelf h3 {
    display: flex;
    align-items: baseline;
    gap: .6rem;
    margin: 0;
    padding-bottom: .6rem;
    border-bottom: 1px solid var(--rule-strong);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -.01em;
    color: var(--text-primary);
}

.pj-shelf h3 small {
    margin-left: auto;
    font: 400 .7rem/1 var(--font-mono);
    color: var(--text-muted);
}

.pj-rows li {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .25rem 1rem;
    align-items: baseline;
    padding: .75rem 0;
    border-bottom: 1px solid var(--border-default);
}

.pj-rows a.pj-row-title {
    font-size: .98rem;
    font-weight: 500;
    color: var(--text-primary);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: .2em;
    text-decoration-color: transparent;
    transition: color var(--duration-fast) ease, text-decoration-color var(--duration-fast) ease;
}

.pj-rows a.pj-row-title:hover,
.pj-rows a.pj-row-title:focus-visible {
    color: var(--accent);
    text-decoration-color: currentColor;
}

.pj-rows p {
    grid-column: 1 / -1;
    margin: 0;
    font-size: .86rem;
    line-height: 1.5;
    color: var(--text-secondary);
}

.pj-row-meta {
    display: flex;
    align-items: baseline;
    gap: .6rem;
    font: 400 .7rem/1 var(--font-mono);
    color: var(--text-muted);
    white-space: nowrap;
}

.pj-lang {
    padding: .12rem .3rem;
    border: 1px solid var(--border-hover);
    font-size: .62rem;
    font-weight: 500;
    color: var(--text-secondary);
}



.pj-tool-legend {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem 1.75rem;
    margin: -1rem 0 2rem;
    font: 400 .72rem/1.4 var(--font-mono);
    color: var(--text-muted);
}

.pj-tool-legend>span {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}

.pj-tool-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3rem var(--pj-gap);
}

.pj-tool-grid .pj-shot {
    aspect-ratio: 16 / 9;
}

.pj-use {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: .3rem .7rem;
    align-items: center;
    padding-top: .75rem;
    border-top: 1px solid var(--border-default);
}

.pj-meter {
    display: inline-flex;
    gap: 2px;
}

.pj-meter i {
    width: 12px;
    height: 6px;
    background: var(--border-hover);
}

.pj-meter[data-level="3"] i,
.pj-meter[data-level="2"] i:nth-child(-n+2),
.pj-meter[data-level="1"] i:first-child {
    background: var(--text-primary);
}

.pj-use strong {
    font: 500 .7rem/1.3 var(--font-mono);
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--text-primary);
}

.pj-use>span:not(.pj-meter) {
    grid-column: 1 / -1;
    font-size: .84rem;
    line-height: 1.5;
    color: var(--text-secondary);
}

.pj-tool-small {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2.5rem var(--pj-gap);
    margin-top: 3.5rem;
}

.pj-tool-small .pj-card-body {
    gap: .6rem;
}

.pj-tool-small h3 {
    font-size: 1.05rem;
}

.pj-tool-small p {
    font-size: .86rem;
}



.pj-subhead {
    margin: 3.5rem 0 1.25rem !important;
    font: 500 .72rem/1.3 var(--font-mono);
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.pj-head+.pj-subhead {
    margin-top: 0 !important;
}

.pj-game-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 3rem var(--pj-gap);
}

.pj-game-grid .pj-shot {
    aspect-ratio: 4 / 3;
}

.pj-game-grid h3 {
    font-size: 1.1rem;
}

.pj-game-grid p {
    font-size: .86rem;
}

.pj .pj-play {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .4rem .8rem;
    border: 1px solid var(--text-primary);
    font-size: .84rem;
    font-weight: 500;
    color: var(--text-primary);
    transition: background-color var(--duration-fast) ease, color var(--duration-fast) ease;
}

.pj .pj-play:hover,
.pj .pj-play:focus-visible {
    background: var(--text-primary);
    color: var(--surface-0);
}

.pj-also {
    margin-top: 1.75rem !important;
    font-size: .9rem;
    color: var(--text-secondary);
}



.pj-notice {
    display: flex;
    gap: 1rem;
    align-items: baseline;
    margin-bottom: 2.5rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-default);
    font-size: .92rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.pj-notice p {
    max-width: 52rem;
    margin: 0;
}

.pj-stamp {
    flex: none;
    padding: .2rem .5rem;
    border: 1px solid var(--text-muted);
    font: 500 .64rem/1.3 var(--font-mono);
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.pj-archive-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2.5rem var(--pj-gap);
}

.pj-old {
    display: grid;
    align-content: start;
    gap: .8rem;
    color: var(--text-primary);
}

.pj-old img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border: 1px solid var(--border-default);
    background: var(--surface-1);
    filter: grayscale(1);
    transition: filter var(--duration-normal) ease, border-color var(--duration-fast) ease;
}

.pj-old:hover img,
.pj-old:focus-visible img {
    border-color: var(--border-hover);
    filter: none;
}

.pj-old div {
    display: grid;
    gap: .3rem;
}

.pj-old b {
    font: 500 .64rem/1.3 var(--font-mono);
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.pj-old strong {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: .2em;
    text-decoration-color: transparent;
    transition: color var(--duration-fast) ease, text-decoration-color var(--duration-fast) ease;
}

.pj-old:hover strong,
.pj-old:focus-visible strong {
    color: var(--accent);
    text-decoration-color: currentColor;
}

.pj-old span {
    font-size: .84rem;
    line-height: 1.45;
    color: var(--text-secondary);
}

.pj-archive-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 var(--pj-gap);
    margin-top: 3rem !important;
    border-top: 1px solid var(--rule-strong);
}

.pj-archive-list li {
    display: flex;
    align-items: baseline;
    gap: .6rem;
    padding: .65rem 0;
    border-bottom: 1px solid var(--border-default);
    font-size: .86rem;
    color: var(--text-secondary);
}

.pj-archive-list a {
    font-weight: 500;
    color: var(--text-primary);
}

.pj-archive-list a:hover,
.pj-archive-list a:focus-visible {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: .2em;
}

.pj-archive-list time {
    margin-left: auto;
    font: 400 .7rem/1.6 var(--font-mono);
    color: var(--text-muted);
}



.pj-cta {
    padding: clamp(4rem, 8vw, 6.5rem) 0 clamp(4rem, 8vw, 7rem);
}

.pj-cta>* {
    max-width: none;
}

.pj-cta h2 {
    margin: 0;
    padding: 1.1rem 25% 0 0;
    border-top: 2px solid var(--rule-strong);
    font-size: clamp(1.8rem, 3.6vw, 2.8rem);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -.035em;
    color: var(--text-primary);
}

.pj-cta .pj-actions {
    margin-top: 2rem;
}



@keyframes pj-fade {
    from {
        opacity: 0;
    }
}

.pj-motion .pj-rise:not(.is-in) {
    opacity: 0;
}

.pj-motion .pj-rise.is-in {
    animation: pj-fade .45s ease backwards;
    animation-delay: calc(var(--i, 0) * 60ms);
}



@media (max-width: 1080px) {
    .pj-chapters {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        row-gap: 1rem;
    }

    .pj-chapters li:nth-child(3n+1) a {
        padding-left: 0;
        border-left: 0;
    }

    .pj-span-2 {
        grid-column: span 3;
    }

    .pj-game-grid,
    .pj-tool-small,
    .pj-archive-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {

    .pj-hero-grid>div:first-child,
    .pj-collage,
    .pj-engine-body>div,
    .pj-stack {
        grid-column: 1 / -1;
    }

    .pj-tempo,
    .pj-shelf,
    .pj-course-feature {
        grid-template-columns: 1fr;
    }

    .pj-index {
        grid-template-columns: 1fr;
    }

    .pj-span-4,
    .pj-span-3,
    .pj-span-2 {
        grid-column: span 6;
    }

    .pj-tool-grid,
    .pj-game-grid,
    .pj-tool-small,
    .pj-archive-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pj-archive-list {
        grid-template-columns: 1fr 1fr;
    }

    .pj-gallery {
        aspect-ratio: auto;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    .pj-gallery figure:first-child {
        grid-column: 1 / -1;
        grid-row: auto;
    }

    .pj-gallery img {
        flex: none;
        height: auto;
        aspect-ratio: 1;
    }

    .pj-gallery figure:first-child img {
        aspect-ratio: 16 / 9;
    }
}

@media (max-width: 760px) {

    .pj-num,
    .pj-head>div,
    .pj-head>p {
        grid-column: 1 / -1;
        grid-row: auto;
    }

    .pj-num {
        margin-bottom: .6rem;
    }
}

@media (max-width: 640px) {
    .pj-chapters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pj-chapters li:nth-child(odd) a {
        padding-left: 0;
        border-left: 0;
    }

    .pj-chapters li:nth-child(even) a {
        padding-left: .9rem;
        border-left: 1px solid var(--border-default);
    }

    .pj-tool-grid,
    .pj-game-grid,
    .pj-tool-small,
    .pj-archive-grid,
    .pj-archive-list {
        grid-template-columns: 1fr;
    }

    .pj-game-grid,
    .pj-archive-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2rem 1rem;
    }

    .pj-game-grid .pj-card p,
    .pj-old span {
        font-size: .8rem;
    }

    .pj-engine .pj-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pj-engine .pj-facts li:nth-child(3) {
        padding-left: 0;
        border-left: 0;
    }

    .pj-engine .pj-facts li:nth-child(n+3) {
        border-top: 1px solid var(--border-default);
    }

    .pj-course-feature .pj-card {
        flex-direction: column;
        gap: 0;
    }

    .pj-course-feature .pj-shot {
        flex: none;
        width: 100%;
        aspect-ratio: 16 / 9;
    }

    .pj-course-feature .pj-card-body {
        padding-top: 1.1rem;
    }

    .pj-tempo-visual {
        padding: 1rem;
    }

    .pj-stack li {
        grid-template-columns: 1fr;
        gap: .2rem;
    }

    .pj-notice {
        flex-direction: column;
        gap: .6rem;
    }

    .pj-bar li:last-child {
        margin-left: 0;
    }

    .pj-stats strong {
        font-size: 1.4rem;
    }

    .pj-cta h2 {
        padding-right: 0;
    }
}

@media (prefers-reduced-motion: reduce) {

    .pj *,
    .pj *::after {
        animation: none !important;
    }

    .pj-motion .pj-rise:not(.is-in) {
        opacity: 1;
    }
}
.course-page-badge,
.course-eyebrow,
.course-topic-label,
.course-resource-kind,
.course-nav-label {
    display: block;
    color: var(--accent);
    font: 500 .72rem/1.4 var(--font-mono);
    letter-spacing: .12em;
    text-transform: uppercase;
}

.course-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.course-start-button,
.course-playlist-link,
.course-youtube-primary,
.course-channel-link,
.course-complete-button,
.course-youtube-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    min-height: 44px;
    padding: .65rem 1.15rem;
    border: 1px solid var(--text-primary);
    color: var(--text-primary);
    background: transparent;
    font: inherit;
    font-size: .95rem;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: background-color var(--duration-fast) ease, color var(--duration-fast) ease, border-color var(--duration-fast) ease;
}

.course-start-button,
.course-youtube-primary,
.course-complete-button,
.dark-mode .course-start-button,
.dark-mode .course-youtube-primary,
.dark-mode .course-complete-button {
    border-color: var(--text-primary);
    color: var(--surface-0);
    background: var(--text-primary);
}

#article-body .course-youtube-button,
.course-lesson-page #article-body .course-youtube-button {
    color: var(--text-primary);
    text-decoration: none;
}

.course-start-button:hover,
.course-youtube-primary:hover,
.course-complete-button:hover,
.dark-mode .course-start-button:hover,
.dark-mode .course-youtube-primary:hover,
.dark-mode .course-complete-button:hover,
.course-start-button:focus-visible,
.course-youtube-primary:focus-visible,
.course-complete-button:focus-visible {
    color: var(--text-primary);
    background: transparent;
    text-decoration: none;
}

.course-playlist-link:hover,
.course-channel-link:hover,
.course-youtube-button:hover,
.dark-mode .course-playlist-link:hover,
.dark-mode .course-channel-link:hover,
#article-body .course-youtube-button:hover,
.course-lesson-page #article-body .course-youtube-button:hover {
    color: var(--surface-0);
    background: var(--text-primary);
    text-decoration: none;
}

.course-complete-button.is-complete,
.dark-mode .course-complete-button.is-complete {
    color: var(--text-primary);
    background: transparent;
}

.course-complete-button.is-complete:hover,
.dark-mode .course-complete-button.is-complete:hover {
    color: var(--surface-0);
    background: var(--text-primary);
}

.course-youtube-primary>span[aria-hidden="true"],
.course-search-wrap>span[aria-hidden="true"] {
    display: none;
}

.tool-category:has(.course-overview-card)>.category-header {
    display: none;
}

.tool-category:has(.course-overview-card) {
    margin-bottom: 0;
}

.course-overview-card {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(260px, 1fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: start;
    margin: 0;
    padding: clamp(1.75rem, 4vw, 2.75rem) 0 0;
}

.course-overview-copy .course-page-badge {
    margin-bottom: .9rem;
}

#home-page-content .course-overview-copy h2,
.course-overview-copy h2 {
    max-width: 18ch;
    margin: 0 0 1rem;
    color: var(--text-primary);
    font-size: clamp(1.9rem, 3.6vw, 2.8rem);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -.035em;
}

.course-overview-copy p {
    max-width: 62ch;
    margin: 0;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.65;
}

.course-overview-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 1.5rem;
}

.course-overview-stats {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    border-top: 2px solid var(--rule-strong);
}

.course-stat-card {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    padding: .85rem 0;
    border-bottom: 1px solid var(--border-default);
}

.course-stat-value {
    order: 2;
    color: var(--text-primary);
    font: 500 1.05rem/1.2 var(--font-mono);
    font-variant-numeric: tabular-nums;
}

.course-stat-label {
    color: var(--text-secondary);
    font-size: .9rem;
}

.course-progress-track {
    width: 100%;
    height: 3px;
    margin-top: 1rem;
    overflow: hidden;
    background: var(--border-default);
}

.course-progress-track>span {
    display: block;
    width: 0;
    height: 100%;
    background: var(--text-primary);
    transition: width 180ms ease;
}

.course-reset-button {
    justify-self: start;
    margin-top: .75rem;
    padding: .25rem 0;
    border: 0;
    color: var(--text-muted);
    background: none;
    cursor: pointer;
    font: inherit;
    font-size: .82rem;
    text-decoration: underline;
    text-underline-offset: .2em;
}

.course-reset-button:hover,
.dark-mode .course-reset-button,
.dark-mode .course-reset-button:hover {
    border: 0;
    color: var(--text-primary);
    background: none;
}

.dark-mode .course-reset-button {
    color: var(--text-muted);
}

.course-reset-button[hidden],
.course-storage-note[hidden] {
    display: none;
}

.course-storage-note {
    margin: 1rem 0 0;
    padding: .2rem 0 .2rem 1rem;
    border-left: 2px solid var(--accent);
    color: var(--text-secondary);
    font-size: .88rem;
    line-height: 1.5;
}

.course-how,
.course-curriculum {
    margin: clamp(3rem, 6vw, 4.5rem) 0 0;
    padding: 0;
}

.course-how>*,
.course-curriculum>* {
    max-width: none;
    margin-right: 0;
    margin-left: 0;
    padding-right: 0;
    padding-left: 0;
}

.course-section-heading {
    max-width: 680px;
    margin-bottom: 1.75rem;
}

.course-section-heading .course-page-badge,
.course-channel-card .course-page-badge {
    margin-bottom: .6rem;
}

#home-page-content .course-section-heading h2,
#home-page-content .course-channel-card h2,
.course-section-heading h2,
.course-channel-card h2 {
    margin: 0 0 .6rem;
    color: var(--text-primary);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -.03em;
}

.course-section-heading p,
.course-channel-card p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.65;
}

.course-how-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.5rem, 3vw, 2.5rem);
}

.course-how-grid>div {
    padding: 1rem 0 0;
    border-top: 2px solid var(--rule-strong);
}

.course-how-grid>div>span {
    color: var(--accent);
    font: 500 .74rem/1 var(--font-mono);
    letter-spacing: .12em;
}

#home-page-content .course-how-grid h3,
.course-how-grid h3 {
    margin: .9rem 0 .45rem;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
}

.course-how-grid p {
    margin: 0;
    color: var(--text-secondary);
    font-size: .92rem;
    line-height: 1.6;
}

.course-discovery {
    max-width: 680px;
    margin: 0 0 1.25rem;
}

.course-discovery label {
    display: block;
    margin-bottom: .45rem;
    color: var(--text-muted);
    font: 500 .7rem/1.4 var(--font-mono);
    letter-spacing: .1em;
    text-transform: uppercase;
}

.course-search-wrap {
    display: flex;
    align-items: center;
    padding: 0 .8rem;
    border: 1px solid var(--border-hover);
    background: var(--surface-0);
    transition: border-color var(--duration-fast) ease;
}

.course-search-wrap:focus-within {
    border-color: var(--text-primary);
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.course-search-wrap input,
.dark-mode .course-search-wrap input {
    width: 100%;
    min-height: 46px;
    padding: 0;
    border: 0;
    outline: 0;
    color: var(--text-primary);
    background: transparent;
    font: inherit;
}

.course-filters {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.course-filter {
    min-height: 36px;
    padding: .4rem .75rem;
    border: 1px solid var(--border-hover);
    color: var(--text-secondary);
    background: transparent;
    cursor: pointer;
    font: inherit;
    font-size: .85rem;
    font-weight: 500;
    transition: background-color var(--duration-fast) ease, color var(--duration-fast) ease, border-color var(--duration-fast) ease;
}

.dark-mode .course-filter {
    border-color: var(--border-hover);
    color: var(--text-secondary);
}

.course-filter:hover,
.dark-mode .course-filter:hover {
    border-color: var(--text-primary);
    color: var(--text-primary);
    background: transparent;
}

.course-filter.is-active,
.dark-mode .course-filter.is-active {
    border-color: var(--text-primary);
    color: var(--surface-0);
    background: var(--text-primary);
}

.course-filter>span {
    margin-left: .3rem;
    font-family: var(--font-mono);
    font-size: .74rem;
    opacity: .7;
}

.course-results {
    margin: 1rem 0 0;
    color: var(--text-muted);
    font: 400 .74rem/1.4 var(--font-mono);
    letter-spacing: .04em;
}

.course-results strong {
    color: var(--text-primary);
    font-weight: 500;
}

.tools-grid.course-lessons-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: clamp(2rem, 3vw, 2.5rem) clamp(1.25rem, 2.5vw, 2rem);
    margin-top: 2rem;
}

.tool-card.course-lesson-card {
    display: flex;
    min-width: 0;
    padding: 0;
    border: 0;
}

.course-lesson-card[hidden] {
    display: none;
}

.course-card-main {
    display: flex;
    flex: 1;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
}

.course-card-main:hover {
    text-decoration: none;
}

.course-lesson-card-media {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border: 1px solid var(--border-default);
    background: var(--surface-1);
}

.course-lesson-card .course-lesson-card-thumb {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-lesson-card-index,
.course-card-status {
    position: absolute;
    padding: .25rem .45rem;
    color: var(--text-primary);
    background: var(--surface-0);
    font: 500 .68rem/1.2 var(--font-mono);
    letter-spacing: .06em;
}

.course-lesson-card-index {
    left: 0;
    bottom: 0;
    min-width: 2.2rem;
    text-align: center;
}

.course-card-status {
    top: 0;
    right: 0;
    text-transform: uppercase;
}

.course-lesson-card.is-current .course-card-status {
    color: var(--accent);
}

.course-lesson-card.is-complete .course-card-status {
    color: var(--surface-0);
    background: var(--text-primary);
}

.course-lesson-card-content {
    flex: 1;
    padding: .9rem 0 0;
}

.course-topic-label {
    margin-bottom: .45rem;
    color: var(--text-muted);
    font-size: .66rem;
}

#home-page-content .course-lesson-card-content h3,
.course-lesson-card-content h3 {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 .4rem;
    font-size: 1.05rem;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

#home-page-content .course-lesson-card-content p,
.course-lesson-card-content p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.course-card-facts {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin-top: .75rem;
}

.course-card-code,
.course-card-complexity,
.course-meta-chip {
    display: inline-flex;
    align-items: center;
    padding: .1rem .4rem;
    border: 1px solid var(--border-default);
    color: var(--text-secondary);
    background: transparent;
    font: 500 .7rem/1.5 var(--font-mono);
    letter-spacing: .02em;
}

.course-empty {
    padding: 3rem 0;
    color: var(--text-secondary);
    text-align: left;
}

.course-channel-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin: clamp(3.5rem, 7vw, 5.5rem) 0 0;
    padding: clamp(1.5rem, 3vw, 2rem) 0;
    border-top: 2px solid var(--rule-strong);
    border-bottom: 1px solid var(--border-default);
}

.course-channel-card>div:first-child {
    max-width: 620px;
}

.course-channel-card .course-overview-actions {
    flex-shrink: 0;
    margin: 0;
}

.tool-category>h3 {
    margin: 2rem 0 0;
    padding-top: .9rem;
    border-top: 2px solid var(--rule-strong);
    color: var(--text-primary);
    font-size: 1.15rem;
    font-weight: 600;
    text-align: left;
}

#home-page-content .tool-category>h3 {
    margin: 2rem 0 0;
    font-size: 1.15rem;
}

#home-page-content .tool-category>.category-header+h3 {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

#home-page-content .tool-category>ol {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 0 clamp(1.5rem, 3vw, 2.5rem);
    margin: .5rem 0 0;
    padding: 0;
    list-style: none;
    counter-reset: course-note;
}

#home-page-content .tool-category>ol>li {
    display: flex;
    gap: .9rem;
    margin: 0;
    padding: .6rem 0;
    border-bottom: 1px solid var(--border-default);
    counter-increment: course-note;
}

#home-page-content .tool-category>ol>li::before {
    content: counter(course-note, decimal-leading-zero);
    flex: none;
    padding-top: .2rem;
    color: var(--text-muted);
    font: 400 .72rem/1.4 var(--font-mono);
}

#home-page-content .tool-category>ol>li::marker {
    content: none;
}

#home-page-content .tool-category>ol>li a {
    color: var(--text-primary);
    font-weight: 500;
    text-decoration: none;
}

#home-page-content .tool-category>ol>li a:hover,
#home-page-content .tool-category>ol>li a:focus-visible {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: .2em;
}

.course-lesson-page #article-wrapper {
    width: min(100%, calc(var(--content-max) + 2rem));
    padding: clamp(1.5rem, 4vw, 3rem) 1rem clamp(3rem, 6vw, 5rem);
    gap: clamp(2rem, 4vw, 4rem);
}

.course-lesson-page #article-body {
    max-width: none;
    margin-right: 0;
    padding: 0;
    border: 0;
    background: none;
}

.course-lesson-sidebar {
    gap: 1.75rem;
}

.course-lesson-page #article-body h3 {
    text-align: left;
}

.course-lesson-page #article-body ul,
.course-lesson-page #article-body ol {
    margin: 0;
    padding: 0;
}

.course-lesson-page #article-body li {
    max-width: none;
    margin: 0;
    list-style: none;
    line-height: 1.5;
}

.course-sidebar-progress {
    padding: .9rem 0 0;
    border-top: 2px solid var(--rule-strong);
}

.course-eyebrow {
    margin-bottom: .45rem;
    color: var(--text-muted);
}

.course-sidebar-progress strong {
    display: block;
    color: var(--text-primary);
    font-weight: 600;
}

.course-sidebar-progress .course-progress-track {
    margin-top: .8rem;
}

.course-sidebar-progress a {
    display: inline-block;
    margin-top: .8rem;
    color: var(--text-primary);
    font-size: .88rem;
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: var(--border-hover);
    text-underline-offset: .2em;
}

.course-sidebar-progress a:hover {
    color: var(--accent);
    text-decoration-color: currentColor;
}

.course-outline,
.course-outline[open] {
    margin: 0;
    padding: 0;
    border: 0;
    border-top: 1px solid var(--border-default);
    overflow: visible;
}

.course-outline summary {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: .5rem;
    padding: .9rem 0 .7rem;
    color: var(--text-primary);
    cursor: pointer;
    font-weight: 600;
    list-style: none;
}

.course-outline summary::-webkit-details-marker {
    display: none;
}

.course-outline summary span {
    color: var(--text-muted);
    font: 400 .72rem/1.4 var(--font-mono);
}

.course-outline li,
.course-lesson-page #article-body .course-resource-list li,
.course-lesson-page #article-body .course-more-list li {
    margin: 0;
    padding: 0;
}

.course-outline ol {
    max-height: min(60vh, 640px);
    overflow-y: auto;
    margin: 0;
    padding: 0;
    list-style: none;
    overscroll-behavior: contain;
    scrollbar-width: thin;
}

.course-outline li a,
.course-more-list a {
    display: grid;
    grid-template-columns: 2rem minmax(0, 1fr) auto;
    gap: .5rem;
    align-items: baseline;
    padding: .45rem .5rem .45rem 0;
    border-left: 2px solid transparent;
    color: var(--text-secondary);
    font-size: .88rem;
    line-height: 1.35;
    text-decoration: none;
}

.course-outline li a {
    padding-left: .5rem;
}

.course-outline li a:hover,
.course-more-list a:hover,
.dark-mode .course-outline li a:hover,
.dark-mode .course-more-list a:hover {
    color: var(--accent);
    background: none;
}

.course-outline li a[aria-current="page"],
.dark-mode .course-outline li a[aria-current="page"] {
    border-left-color: var(--accent);
    color: var(--text-primary);
    background: var(--surface-1);
    font-weight: 600;
}

.course-outline small {
    color: var(--text-muted);
    font: 400 .68rem/1.4 var(--font-mono);
    white-space: nowrap;
}

.course-outline-number {
    color: var(--text-muted);
    font: 400 .72rem/1.4 var(--font-mono);
    font-variant-numeric: tabular-nums;
}

.course-outline li.is-complete .course-outline-number {
    color: var(--text-primary);
    text-decoration: line-through;
    text-decoration-color: var(--accent);
}

.course-outline li a[aria-current="page"] .course-outline-number {
    color: var(--accent);
}

.course-breadcrumbs ol,
.course-lesson-page #article-body .course-breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
    margin: 0 0 1.5rem;
    padding: 0;
    list-style: none;
    color: var(--text-muted);
    font-size: .84rem;
    line-height: 1.5;
}

.course-breadcrumbs li+li::before {
    content: "/";
    margin-right: .35rem;
    color: var(--border-hover);
}

#article-body .course-breadcrumbs a,
.course-lesson-page #article-body .course-breadcrumbs a {
    color: var(--text-secondary);
    text-decoration: underline;
    text-decoration-color: var(--border-hover);
    text-underline-offset: .2em;
}

#article-body .course-breadcrumbs a:hover {
    color: var(--accent);
    text-decoration-color: currentColor;
}

.course-lesson-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .5rem 1rem;
}

.course-lesson-chips {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .6rem;
}

.course-lesson-meta .course-page-badge,
#article-body .course-lesson-number {
    margin: 0;
}

#article-body .course-lesson-number {
    padding: 0;
    color: var(--text-muted);
    font: 400 .74rem/1.4 var(--font-mono);
    letter-spacing: .04em;
}

.course-lesson-page #article-body>h1:first-of-type {
    max-width: 24ch;
    margin: .75rem 0 .75rem;
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -.04em;
    text-align: left;
}

#article-body .course-lesson-summary {
    max-width: 65ch;
    margin: 0;
    padding: 0;
    color: var(--text-secondary);
    font-size: 1.08rem;
    line-height: 1.65;
}

.course-lesson-video.video-container {
    max-width: none;
    margin-top: 1.75rem;
    border: 1px solid var(--border-default);
    background: var(--surface-1);
}

.course-lesson-video.video-container:hover {
    transform: none;
}

.course-lesson-video iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.course-lesson-video .video-facade,
.dark-mode .course-lesson-video .video-facade,
.dark-mode .course-lesson-video .video-facade:hover {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: var(--surface-1);
    cursor: pointer;
}

.course-lesson-video .video-facade img,
.course-lesson-page #article-body .video-facade img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    margin: 0;
    object-fit: cover;
}

.course-lesson-video .video-facade__play {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 64px;
    height: 46px;
    transform: translate(-50%, -50%);
    border: 1px solid var(--text-primary);
    background: var(--surface-0);
    transition: background-color var(--duration-fast) ease;
}

.course-lesson-video .video-facade__play::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 53%;
    transform: translate(-50%, -50%);
    border-style: solid;
    border-width: 8px 0 8px 13px;
    border-color: transparent transparent transparent var(--text-primary);
}

.course-lesson-video .video-facade:hover .video-facade__play,
.course-lesson-video .video-facade:focus-visible .video-facade__play {
    background: var(--text-primary);
}

.course-lesson-video .video-facade:hover .video-facade__play::after,
.course-lesson-video .video-facade:focus-visible .video-facade__play::after {
    border-left-color: var(--surface-0);
}

.course-lesson-video .video-facade:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.course-watch-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin: 1rem 0 0;
}

.course-notes,
.course-resources,
.course-more,
.course-lesson-description {
    margin-top: 3rem;
}

#article-body .course-notes h2,
#article-body .course-resources h2,
#article-body .course-more h2,
#article-body .course-lesson-description h2 {
    margin: 0 0 1rem;
    padding-top: .9rem;
    border-top: 2px solid var(--rule-strong);
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -.015em;
}

.course-note,
.course-complexity {
    margin: 0 0 1.25rem;
    padding: 0;
    border: 0;
    background: none;
}

.course-note-try {
    padding: .1rem 0 .1rem 1.1rem;
    border-left: 2px solid var(--accent);
}

details.course-note-idea,
details.course-note-idea[open] {
    padding: .8rem 0;
    border: 0;
    border-top: 1px solid var(--border-default);
    border-bottom: 1px solid var(--border-default);
}

#article-body .course-note h3,
#article-body .course-complexity h3 {
    margin: 0 0 .35rem;
    font-size: 1rem;
    font-weight: 600;
}

#article-body .course-note p,
#article-body .course-complexity p {
    margin: 0;
    padding: 0;
    font-size: .95rem;
    line-height: 1.65;
}

.course-note-idea summary {
    color: var(--text-primary);
    cursor: pointer;
    font-weight: 600;
    list-style: none;
}

.course-note-idea summary::-webkit-details-marker {
    display: none;
}

.course-note-idea summary::before {
    content: "+";
    display: inline-block;
    width: 1.4em;
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-weight: 400;
}

.course-note-idea[open] summary::before {
    content: "\2212";
}

.course-note-idea summary:hover,
.course-note-idea summary:hover::before {
    color: var(--accent);
}

.course-note-idea[open] summary {
    margin-bottom: .6rem;
}

#article-body .course-note-idea p+p {
    margin-top: .6rem;
}

#article-body .course-note-pattern,
#article-body .course-note-small {
    color: var(--text-secondary);
    font-size: .88rem;
}

.course-complexity table,
.course-lesson-page #article-body .course-complexity table {
    display: table;
    width: 100%;
    margin: .25rem 0 .75rem;
    border-collapse: collapse;
    border-top: 2px solid var(--rule-strong);
    font-size: .95rem;
}

.course-complexity caption {
    padding-bottom: .5rem;
    color: var(--text-muted);
    font-size: .84rem;
    text-align: left;
}

.course-complexity th,
.course-complexity td,
.course-lesson-page #article-body .course-complexity th,
.course-lesson-page #article-body .course-complexity td {
    min-width: 0;
    padding: .55rem .6rem .55rem 0;
    border: 0;
    border-bottom: 1px solid var(--border-default);
    color: var(--text-primary);
    background: transparent;
    font-style: normal;
    line-height: 1.5;
    text-align: left;
    vertical-align: top;
}

.course-complexity thead th,
.course-lesson-page #article-body .course-complexity thead th {
    color: var(--text-muted);
    font: 500 .7rem/1.4 var(--font-mono);
    letter-spacing: .1em;
    text-transform: uppercase;
}

.course-complexity tbody th {
    width: 32%;
    font-weight: 600;
}

.course-complexity td,
.course-lesson-page #article-body .course-complexity td {
    font-family: var(--font-mono);
    font-size: .88rem;
    overflow-wrap: anywhere;
}

.course-lesson-page #article-body .course-complexity tr {
    background: transparent;
}

.course-resource-list,
.course-more-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0 clamp(1.25rem, 2.5vw, 2rem);
    margin: 0;
    padding: 0;
    list-style: none;
}

#article-body .course-resource-list a,
.course-lesson-page #article-body .course-resource-list a {
    display: flex;
    flex-direction: column;
    gap: .25rem;
    height: 100%;
    padding: .8rem 0;
    border-top: 1px solid var(--border-default);
    color: var(--text-primary);
    text-decoration: none;
}

.course-resource-kind {
    color: var(--text-muted);
    font-size: .66rem;
}

.course-resource-title {
    font-size: .95rem;
    font-weight: 600;
    line-height: 1.4;
    transition: color var(--duration-fast) ease;
}

#article-body .course-resource-list a:hover .course-resource-title {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: .2em;
}

.course-more-list a,
#article-body .course-more-list a,
.course-lesson-page #article-body .course-more-list a {
    grid-template-columns: 2rem minmax(0, 1fr);
    padding: .6rem 0;
    border-left: 0;
    border-top: 1px solid var(--border-default);
    color: var(--text-primary);
    text-decoration: none;
}

.course-more-list .course-outline-number {
    padding-top: .1rem;
}

.course-lesson-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1rem, 2.5vw, 2rem);
    margin-top: 3rem;
}

#article-body .course-nav-link {
    display: flex;
    flex-direction: column;
    gap: .3rem;
    padding: .9rem 0 0;
    border-top: 2px solid var(--rule-strong);
    color: var(--text-primary);
    text-decoration: none;
}

.course-nav-label {
    color: var(--text-muted);
    font-size: .66rem;
}

#article-body .course-nav-link-next.is-ready .course-nav-label {
    color: var(--accent);
}

.course-nav-title {
    font-size: .92rem;
    font-weight: 600;
    line-height: 1.4;
    transition: color var(--duration-fast) ease;
}

#article-body .course-nav-link:hover .course-nav-title,
#article-body .course-nav-link:focus-visible .course-nav-title {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: .2em;
}

.course-nav-link-next {
    align-items: flex-end;
    text-align: right;
}

.course-nav-link-center {
    align-items: center;
    text-align: center;
}

.course-nav-link-placeholder {
    visibility: hidden;
}

@media (min-width: 1024px) {
    .course-lesson-page #article-sidebar {
        order: -1;
        position: sticky;
        top: calc(var(--nav-height, 60px) + 1.5rem);
        width: 280px;
        max-width: 280px;
    }

    .course-lesson-page .course-outline ol {
        max-height: max(240px, calc(100vh - var(--nav-height, 60px) - 16rem));
    }
}

@media (max-width: 1023px) {
    .course-lesson-page #article-sidebar {
        order: 1;
        padding: 0 1rem 2.5rem;
        box-sizing: border-box;
    }

    .course-outline ol {
        max-height: 50vh;
    }
}

@media (max-width: 960px) {
    .course-channel-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .course-channel-card .course-overview-actions {
        width: 100%;
    }
}

@media (max-width: 860px) {
    .course-overview-card {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 768px) {
    .course-how-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .course-lesson-page #article-wrapper {
        flex-direction: column;
    }

    .course-lesson-page #article-body {
        padding: 0;
    }

    .course-lesson-video.video-container {
        width: calc(100% + 2rem);
        margin-inline: -1rem;
        border-inline: 0;
    }

    .course-lesson-nav {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.25rem;
    }

    .course-nav-link-placeholder {
        display: none;
    }

    .course-nav-link-center {
        order: 3;
    }

    .course-nav-link-next {
        order: -1;
    }

    .course-nav-link-next,
    .course-nav-link-center {
        align-items: flex-start;
        text-align: left;
    }
}

@media (max-width: 520px) {

    .course-overview-actions,
    .course-channel-card .course-overview-actions,
    .course-watch-actions {
        flex-direction: column;
    }

    .course-overview-actions>*,
    .course-watch-actions>* {
        width: 100%;
        box-sizing: border-box;
    }
}

.pyk {
    --pyk-card: var(--surface-0);
    --pyk-sunken: var(--surface-1);
    --pyk-ink: var(--text-primary);
    --pyk-ink-2: var(--text-secondary);
    --pyk-muted: var(--text-muted);
    --pyk-border: var(--border-default);
    --pyk-border-strong: var(--border-hover);
    --pyk-link: var(--text-primary);
    --pyk-pass: #1f7a4d;
    --pyk-fail: var(--accent);
    --pyk-diff-bg: rgba(31, 79, 209, 0.1);
    --pyk-selection: rgba(17, 17, 17, 0.16);
    --pyk-mono: var(--font-mono);
    --pyk-tok-comment: var(--text-muted);
    --pyk-tok-keyword: #1f4fd1;
    --pyk-tok-string: #137a55;
    --pyk-tok-number: #b25a0c;
    --pyk-tok-function: #6d4fd0;
    --pyk-tok-builtin: #0e7490;
    --pyk-tok-operator: var(--text-secondary);
    width: 100%;
    max-width: calc(var(--content-max) + 2rem);
    margin: 0 auto;
    padding: clamp(1.5rem, 4vw, 3rem) 1rem clamp(3rem, 6vw, 5rem);
    color: var(--pyk-ink);
    text-align: left;
    flex: 1 0 auto;
}

.dark-mode .pyk {
    --pyk-pass: #6fbf8f;
    --pyk-diff-bg: rgba(138, 194, 255, 0.16);
    --pyk-selection: rgba(240, 240, 238, 0.2);
    --pyk-tok-keyword: #8ac2ff;
    --pyk-tok-string: #7fd4a8;
    --pyk-tok-number: #f0a35a;
    --pyk-tok-function: #c4b5ff;
    --pyk-tok-builtin: #67d4e0;
}

.pyk a {
    color: var(--pyk-link);
    text-decoration: underline;
    text-decoration-color: var(--border-hover);
    text-decoration-thickness: 1px;
    text-underline-offset: .2em;
}

.pyk a:hover {
    color: var(--accent);
    text-decoration-color: currentColor;
}

.pyk code,
.pyk pre {
    font-family: var(--pyk-mono);
}

.pyk :not(pre)>code {
    padding: .05em .3em;
    border: 1px solid var(--pyk-border);
    background: var(--pyk-sunken);
    font-size: .88em;
    white-space: break-spaces;
}

.pyk [hidden] {
    display: none !important;
}

.pyk :where(section) {
    padding: 0;
}

.pyk :where(section)>* {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
}

.pyk :where(p) {
    padding-left: 0;
    padding-right: 0;
}

.pyk :where(h2, h3) {
    text-align: left;
}

.pyk :where(details) {
    margin: 0;
    padding: 0;
    border: 0;
    overflow: visible;
}

.pyk-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.pyk-breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
    margin: 0 0 1.25rem;
    padding: 0;
    list-style: none;
    color: var(--pyk-muted);
    font-size: .84rem;
}

.pyk-breadcrumbs li {
    margin: 0;
}

.pyk-breadcrumbs li+li::before {
    content: "/";
    margin-right: .35rem;
    color: var(--border-hover);
}

.pyk .pyk-breadcrumbs a {
    color: var(--pyk-ink-2);
}

.pyk-header h1 {
    max-width: 28ch;
    margin: 0 0 1rem;
    color: var(--pyk-ink);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -.04em;
}

.pyk-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
    margin-bottom: clamp(1.75rem, 3.5vw, 2.5rem);
}

.pyk-chip {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .15rem .5rem;
    border: 1px solid var(--pyk-border);
    color: var(--pyk-ink-2);
    background: transparent;
    font: 400 .74rem/1.5 var(--font-mono);
    letter-spacing: .02em;
}

.pyk-chip--difficulty {
    border-color: var(--pyk-border-strong);
    color: var(--pyk-ink);
}

.pyk-chip--solved {
    border-color: var(--pyk-pass);
    color: var(--pyk-pass);
    font-weight: 500;
}

.pyk-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
    align-items: start;
}

@media (min-width: 1024px) {
    .pyk-layout {
        grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
        gap: clamp(2rem, 4vw, 3.5rem);
    }

    .pyk-statement {
        position: sticky;
        top: calc(var(--nav-height, 60px) + 1.5rem);
        max-height: calc(100vh - var(--nav-height, 60px) - 3rem);
        overflow: auto;
        padding-right: .75rem;
        scrollbar-width: thin;
    }
}

.pyk-card {
    min-width: 0;
    padding: 1rem 0 0;
    border-top: 2px solid var(--rule-strong);
    background: none;
}

.pyk-statement h2,
.pyk-workspace h2 {
    margin: 1.5rem 0 .5rem;
    color: var(--pyk-ink);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -.005em;
}

.pyk-statement h2:first-child,
.pyk-workspace h2:first-child {
    margin-top: 0;
    font-size: 1.15rem;
}

.pyk-statement p,
.pyk-statement li {
    color: var(--pyk-ink-2);
    font-size: .98rem;
    line-height: 1.65;
}

.pyk-statement p {
    margin: 0 0 .65rem;
}

.pyk-statement ul,
.pyk-statement ol {
    margin: 0 0 .65rem;
    padding-left: 1.3rem;
}

.pyk-statement ul {
    list-style: square;
}

.pyk-statement ol {
    list-style: decimal;
}

.pyk-statement li {
    margin: .15rem 0;
}

.pyk-statement li::marker {
    color: var(--pyk-muted);
}

.pyk-statement li>ul,
.pyk-statement li>ol {
    margin: .25rem 0;
}

.pyk-pre {
    max-height: 320px;
    margin: 0;
    padding: .6rem .75rem;
    overflow: auto;
    border: 1px solid var(--pyk-border);
    color: var(--pyk-ink);
    background: var(--pyk-sunken);
    font-size: .86rem;
    line-height: 1.55;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.pyk-pre.is-empty {
    color: var(--pyk-muted);
    font-style: italic;
}

.pyk-line {
    display: block;
    min-height: 1.55em;
}

.pyk-line.is-diff {
    margin: 0 -.75rem;
    padding: 0 .75rem 0 calc(.75rem - 3px);
    border-left: 3px solid var(--pyk-fail);
    background: var(--pyk-diff-bg);
}

.pyk-example {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: .75rem;
    margin: .5rem 0 .9rem;
}

.pyk-example-note {
    margin: -.25rem 0 .9rem;
    color: var(--pyk-ink-2);
    font-size: .92rem;
}

.pyk-example-note p {
    margin: 0 0 .4rem;
}

.pyk-files {
    min-width: 0;
}

.pyk-file-list,
.pyk-statement .pyk-file-list {
    display: grid;
    gap: .4rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pyk-file-list li {
    min-width: 0;
}

.pyk-file-list code {
    font-weight: 500;
    overflow-wrap: anywhere;
}

.pyk-file-list .pyk-pre {
    margin-top: .25rem;
}

.pyk-file-meta {
    margin-left: .4rem;
    color: var(--pyk-muted);
    font-size: .86rem;
}

.pyk-test-files {
    margin-top: .65rem;
}

.pyk-statement .pyk-source,
.pyk-progress .pyk-source {
    margin-top: 1rem;
}

.pyk .katex {
    color: inherit;
    font-size: 1.05em;
}

.pyk-io-label {
    margin: 0 0 .3rem;
    color: var(--pyk-muted);
    font: 500 .68rem/1.4 var(--font-mono);
    letter-spacing: .1em;
    text-transform: uppercase;
}

.pyk-io+.pyk-io {
    margin-top: .65rem;
}

.pyk-example .pyk-io+.pyk-io,
.pyk-test-io .pyk-io+.pyk-io {
    margin-top: 0;
}

.pyk-theory {
    margin-top: 1.5rem;
    padding: .1rem 0 .1rem 1.1rem;
    border-left: 2px solid var(--rule-strong);
}

.pyk-statement .pyk-theory p {
    margin: 0 0 .3rem;
    color: var(--pyk-ink);
    font-weight: 600;
}

.pyk-statement .pyk-theory ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.pyk-details {
    margin-top: 1.25rem;
    padding-top: .9rem;
    border-top: 1px solid var(--pyk-border);
}

.pyk-details summary {
    color: var(--pyk-ink-2);
    cursor: pointer;
    font-weight: 600;
}

.pyk-details[open] summary {
    margin-bottom: .5rem;
}

.pyk-workspace {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    min-width: 0;
}

.pyk-editor-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    gap: .25rem .75rem;
    margin-bottom: .75rem;
}

.pyk-editor-head label {
    color: var(--pyk-ink);
    font-size: 1.15rem;
    font-weight: 600;
}

.pyk-note {
    margin: 0;
    color: var(--pyk-muted);
    font-size: .85rem;
    line-height: 1.5;
}

.pyk-editor {
    --pyk-ed-font: 15px;
    --pyk-ed-line: 1.6;
    --pyk-ed-pad: 12px;
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    height: clamp(300px, 52vh, 560px);
    overflow: hidden;
    border: 1px solid var(--pyk-border-strong);
    background: var(--pyk-sunken);
    transition: border-color var(--duration-fast) ease;
}

.pyk-editor:focus-within {
    border-color: var(--pyk-ink);
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.pyk-gutter-wrap {
    overflow: hidden;
    border-right: 1px solid var(--pyk-border);
    background: var(--pyk-sunken);
}

.pyk-gutter {
    min-width: 42px;
    padding: var(--pyk-ed-pad) 10px var(--pyk-ed-pad) 8px;
    color: var(--pyk-muted);
    font-family: var(--pyk-mono);
    font-size: var(--pyk-ed-font);
    line-height: var(--pyk-ed-line);
    text-align: right;
    user-select: none;
}

.pyk-ln {
    height: calc(var(--pyk-ed-line) * 1em);
}

.pyk-ln.is-error {
    color: var(--surface-0);
    background: var(--pyk-fail);
    font-weight: 500;
}

.pyk-code-area {
    position: relative;
    overflow: hidden;
    min-width: 0;
}

.pyk-code-area pre,
.pyk-code-area textarea {
    margin: 0;
    padding: var(--pyk-ed-pad) 14px;
    border: 0;
    font-family: var(--pyk-mono);
    font-size: var(--pyk-ed-font);
    line-height: var(--pyk-ed-line);
    letter-spacing: 0;
    tab-size: 4;
    white-space: pre;
    overflow-wrap: normal;
    word-break: normal;
}

.pyk-code-area pre {
    position: absolute;
    top: 0;
    left: 0;
    min-width: 100%;
    max-height: none;
    overflow: visible;
    color: var(--pyk-ink);
    background: transparent;
    pointer-events: none;
}

.pyk-code-area pre code {
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    white-space: inherit;
}

.pyk-code-area textarea {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    resize: none;
    outline: none;
    color: transparent;
    background: transparent;
    caret-color: var(--pyk-ink);
    -webkit-text-fill-color: transparent;
}

.pyk-code-area textarea:focus-visible {
    outline: none;
}

.pyk-code-area textarea::selection {
    background: var(--pyk-selection);
    -webkit-text-fill-color: transparent;
}

.pyk-code-area code>* {
    background-color: transparent !important;
}

.pyk .token.comment {
    color: var(--pyk-tok-comment);
    font-style: italic;
}

.pyk .token.keyword,
.pyk .token.boolean {
    color: var(--pyk-tok-keyword);
}

.pyk .token.string,
.pyk .token.triple-quoted-string,
.pyk .token.string-interpolation {
    color: var(--pyk-tok-string);
}

.pyk .token.number {
    color: var(--pyk-tok-number);
}

.pyk .token.function {
    color: var(--pyk-tok-function);
}

.pyk .token.builtin,
.pyk .token.class-name {
    color: var(--pyk-tok-builtin);
}

.pyk .token.operator,
.pyk .token.punctuation {
    color: var(--pyk-tok-operator);
    background: none;
}

.pyk .token.interpolation {
    color: var(--pyk-ink);
}

@media (max-width: 767px) {
    .pyk-editor {
        --pyk-ed-font: 16px;
        height: clamp(260px, 50vh, 420px);
    }
}

.pyk-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .75rem;
    margin-top: 1rem;
}

.pyk .pyk-btn,
.dark-mode .pyk .pyk-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    min-height: 44px;
    padding: .65rem 1.15rem;
    border: 1px solid var(--pyk-ink);
    color: var(--pyk-ink);
    background: transparent;
    font: inherit;
    font-size: .95rem;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: background-color var(--duration-fast) ease, color var(--duration-fast) ease;
}

.pyk .pyk-btn:hover,
.dark-mode .pyk .pyk-btn:hover {
    border-color: var(--pyk-ink);
    color: var(--surface-0);
    background: var(--pyk-ink);
}

.pyk .pyk-btn--primary,
.dark-mode .pyk .pyk-btn--primary {
    border-color: var(--pyk-ink);
    color: var(--surface-0);
    background: var(--pyk-ink);
}

.pyk .pyk-btn--primary:hover,
.dark-mode .pyk .pyk-btn--primary:hover {
    border-color: var(--pyk-ink);
    color: var(--pyk-ink);
    background: transparent;
}

.pyk .pyk-btn:disabled {
    cursor: progress;
    opacity: .75;
}

.pyk-btn kbd {
    padding: 0;
    border: 0;
    color: inherit;
    background: none;
    font-family: var(--pyk-mono);
    font-size: .72rem;
    font-weight: 400;
    opacity: .7;
}

.pyk-spinner {
    display: none;
    width: 14px;
    height: 14px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: pyk-spin .8s linear infinite;
}

.pyk-btn.is-busy .pyk-spinner {
    display: inline-block;
}

@keyframes pyk-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .pyk-spinner {
        animation-duration: 2.4s;
    }
}

.pyk-status {
    flex: 1 1 220px;
    margin: 0;
    color: var(--pyk-muted);
    font-size: .85rem;
}

.pyk-status[data-state="error"] {
    color: var(--pyk-fail);
}

.pyk-summary {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .4rem;
    padding: .9rem 1rem .9rem calc(1rem - 3px);
    border-left: 3px solid var(--pyk-border-strong);
    background: var(--pyk-sunken);
}

.pyk-summary[data-state="pass"] {
    border-left-color: var(--pyk-pass);
}

.pyk-summary[data-state="fail"],
.pyk-summary[data-state="error"] {
    border-left-color: var(--pyk-fail);
}

.pyk-summary-title {
    margin: 0;
    color: var(--pyk-ink);
    font-weight: 600;
}

.pyk-summary[data-state="pass"] .pyk-summary-title {
    color: var(--pyk-pass);
}

.pyk-summary[data-state="fail"] .pyk-summary-title,
.pyk-summary[data-state="error"] .pyk-summary-title {
    color: var(--pyk-fail);
}

.pyk-summary-text {
    margin: 0;
    color: var(--pyk-ink-2);
    font-size: .92rem;
}

.pyk-summary .pyk-btn {
    max-width: 100%;
    margin-top: .4rem;
    text-align: left;
    white-space: normal;
}

.pyk-summary .pyk-error {
    align-self: stretch;
}

.pyk-tests {
    display: grid;
    gap: 0;
    margin-top: .75rem;
}

.pyk-test {
    min-width: 0;
    padding: .85rem 0 .9rem 1rem;
    border-top: 1px solid var(--pyk-border);
    border-left: 2px solid var(--pyk-border);
}

.pyk-test:last-child {
    border-bottom: 1px solid var(--pyk-border);
}

.pyk-test[data-state="pass"] {
    border-left-color: var(--pyk-pass);
}

.pyk-test[data-state="fail"],
.pyk-test[data-state="error"] {
    border-left-color: var(--pyk-fail);
}

.pyk-test-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: .5rem;
    margin-bottom: .5rem;
}

.pyk-test-head h3 {
    margin: 0;
    color: var(--pyk-ink);
    font-size: .95rem;
    font-weight: 600;
}

.pyk-test-state {
    color: var(--pyk-muted);
    font: 400 .72rem/1.4 var(--font-mono);
    letter-spacing: .04em;
}

.pyk-test[data-state="pass"] .pyk-test-state {
    color: var(--pyk-pass);
}

.pyk-test[data-state="fail"] .pyk-test-state,
.pyk-test[data-state="error"] .pyk-test-state {
    color: var(--pyk-fail);
}

.pyk-test[data-state="pass"] .pyk-test-state::before {
    content: "\2713  ";
}

.pyk-test[data-state="fail"] .pyk-test-state::before,
.pyk-test[data-state="error"] .pyk-test-state::before {
    content: "\2717  ";
}

.pyk-test-io {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: .65rem;
}

.pyk-test-result:not(:empty) {
    margin-top: .65rem;
}

.pyk-hint {
    margin: .5rem 0 0;
    padding: .5rem .75rem .5rem calc(.75rem - 2px);
    border-left: 2px solid var(--pyk-border-strong);
    color: var(--pyk-ink);
    background: var(--pyk-sunken);
    font-size: .9rem;
}

.pyk-error {
    margin-top: .65rem;
    padding: .65rem .75rem .65rem calc(.75rem - 2px);
    border-left: 2px solid var(--pyk-fail);
    background: var(--pyk-sunken);
}

.pyk-error-title {
    margin: 0 0 .25rem;
    color: var(--pyk-fail);
    font-family: var(--pyk-mono);
    font-size: .86rem;
    font-weight: 500;
    overflow-wrap: anywhere;
}

.pyk-error-hint {
    margin: 0 0 .4rem;
    color: var(--pyk-ink);
    font-size: .92rem;
    line-height: 1.5;
}

.pyk .pyk-link-btn,
.dark-mode .pyk .pyk-link-btn,
.dark-mode .pyk .pyk-link-btn:hover {
    padding: .25rem 0;
    border: 0;
    color: var(--pyk-link);
    background: none;
    cursor: pointer;
    font: inherit;
    font-size: .9rem;
    text-decoration: underline;
    text-underline-offset: .2em;
}

.pyk .pyk-link-btn:hover {
    color: var(--accent);
}

.pyk-traceback summary {
    color: var(--pyk-ink-2);
    cursor: pointer;
    font-size: .85rem;
}

.pyk-traceback pre {
    margin-top: .4rem;
    padding: .5rem .65rem;
    color: var(--pyk-ink);
    background: var(--pyk-card);
    font-size: .8rem;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.pyk-custom {
    padding-top: 1rem;
    border-top: 1px solid var(--pyk-border);
}

.pyk-custom textarea {
    display: block;
    width: 100%;
    min-height: 90px;
    margin: .4rem 0 .65rem;
    padding: .6rem .75rem;
    border: 1px solid var(--pyk-border-strong);
    color: var(--pyk-ink);
    background: var(--pyk-sunken);
    font-family: var(--pyk-mono);
    font-size: 16px;
    line-height: 1.5;
    resize: vertical;
}

.pyk-custom textarea:focus {
    border-color: var(--pyk-ink);
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.pyk-custom label {
    color: var(--pyk-ink-2);
    font-size: .9rem;
    font-weight: 600;
}

.pyk-custom-output:not(:empty) {
    margin-top: .75rem;
}

.pyk-custom summary {
    color: var(--pyk-ink);
    cursor: pointer;
    font-weight: 600;
}

.pyk-custom[open] summary {
    margin-bottom: .75rem;
}

.pyk-pager {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1.5rem clamp(1.25rem, 3vw, 2.5rem);
    margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

.pyk .pyk-pager a {
    display: flex;
    flex-direction: column;
    gap: .3rem;
    min-width: 0;
    padding: .9rem 0 0;
    border-top: 2px solid var(--rule-strong);
    color: var(--pyk-ink);
    text-decoration: none;
}

.pyk-pager small {
    color: var(--pyk-muted);
    font: 500 .66rem/1.4 var(--font-mono);
    letter-spacing: .12em;
    text-transform: uppercase;
}

.pyk-pager span {
    font-weight: 600;
    overflow-wrap: anywhere;
    transition: color var(--duration-fast) ease;
}

.pyk .pyk-pager a:hover span,
.pyk .pyk-pager a:focus-visible span {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: .2em;
}

.pyk .pyk-pager .pyk-pager-next {
    grid-column: 2;
    align-items: flex-end;
    text-align: right;
}

.pyk .pyk-pager .pyk-pager-up {
    grid-column: 1 / -1;
    align-items: flex-start;
    padding-top: .9rem;
    border-top-width: 1px;
    border-top-color: var(--pyk-border);
    text-align: left;
}

@media (max-width: 520px) {
    .pyk-controls .pyk-btn {
        flex: 1 1 auto;
    }

    .pyk-pager {
        grid-template-columns: minmax(0, 1fr);
    }

    .pyk .pyk-pager .pyk-pager-next {
        grid-column: 1;
        align-items: flex-start;
        text-align: left;
    }
}

@media (hover: none) {
    .pyk-btn kbd {
        display: none;
    }
}

.pyk summary {
    list-style: none;
}

.pyk summary::-webkit-details-marker {
    display: none;
}

.pyk summary::before {
    content: "+";
    display: inline-block;
    width: 1.4em;
    color: var(--pyk-muted);
    font-family: var(--pyk-mono);
    font-weight: 400;
}

.pyk details[open]>summary::before {
    content: "\2212";
}

.pyk summary:hover,
.pyk summary:hover::before {
    color: var(--accent);
}

.pyk-index {
    max-width: none;
    padding: 0;
}

.pyk-progress {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.5rem;
    margin: 0 0 2.5rem;
}

.pyk-progress-bar {
    flex: 1 1 220px;
    height: 3px;
    overflow: hidden;
    background: var(--pyk-border);
}

.pyk-progress-bar>span {
    display: block;
    width: 0;
    height: 100%;
    background: var(--pyk-ink);
}

#home-page-content .pyk-progress-text {
    flex-basis: 100%;
    margin: 0;
    color: var(--pyk-ink-2);
    font-weight: 400;
}

#home-page-content .pyk-progress .pyk-source {
    flex-basis: 100%;
    margin: 0;
}

#home-page-content .pyk li {
    display: block;
    margin: 0;
    color: inherit;
}

#home-page-content .pyk li::marker {
    content: none;
}

#home-page-content .pyk-toc,
#home-page-content .pyk-task-grid {
    margin: 0;
    padding: 0;
    border: 0;
    list-style: none;
}

#home-page-content .pyk-toc {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 0 clamp(1.5rem, 3vw, 2.5rem);
    margin: 0 0 clamp(2.5rem, 5vw, 3.5rem);
}

#home-page-content .pyk .pyk-toc a {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: .75rem;
    height: 100%;
    padding: .6rem 0;
    border-bottom: 1px solid var(--pyk-border);
    color: var(--pyk-ink);
    background: none;
    font-size: .92rem;
    font-weight: 500;
    text-decoration: none;
    transition: color var(--duration-fast) ease;
}

#home-page-content .pyk .pyk-toc a:hover,
#home-page-content .pyk .pyk-toc a:focus-visible {
    color: var(--accent);
}

.pyk-toc-count {
    flex: none;
    color: var(--pyk-muted);
    font: 400 .7rem/1.4 var(--font-mono);
    font-variant-numeric: tabular-nums;
}

.pyk-toc-count.is-complete {
    color: var(--pyk-pass);
}

.pyk-chapter {
    margin: 0 0 clamp(2.5rem, 5vw, 3.5rem);
    padding-top: 1rem;
    border-top: 2px solid var(--rule-strong);
    scroll-margin-top: calc(var(--nav-height, 60px) + 1rem);
}

#home-page-content .pyk-chapter h3 {
    margin: 0 0 .5rem;
    color: var(--pyk-ink);
    font-size: clamp(1.25rem, 2.2vw, 1.6rem);
    font-weight: 600;
    letter-spacing: -.02em;
}

#home-page-content .pyk-chapter .pyk-note {
    margin-bottom: .75rem;
}

.pyk-chapter .pyk-details {
    margin: 0 0 1rem;
    padding: 0;
    border: 0;
}

#home-page-content .pyk-chapter .pyk-details p,
#home-page-content .pyk-chapter .pyk-details li {
    color: var(--pyk-ink-2);
    font-size: .95rem;
    line-height: 1.6;
}

#home-page-content .pyk-chapter .pyk-details ul {
    margin: .5rem 0;
    padding-left: 1.2rem;
}

#home-page-content .pyk-chapter .pyk-details ul li {
    display: list-item;
    list-style: square;
    margin: .3rem 0;
}

#home-page-content .pyk-task-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 0 clamp(1.5rem, 3vw, 2.5rem);
}

#home-page-content .pyk .pyk-task-card {
    display: grid;
    grid-template-columns: 2.75rem minmax(0, 1fr);
    align-content: start;
    gap: .2rem .5rem;
    height: 100%;
    padding: .8rem 0 .9rem;
    border-top: 1px solid var(--pyk-border);
    color: var(--pyk-ink);
    background: none;
    font-weight: 400;
    text-decoration: none;
}

.pyk-task-num {
    grid-row: span 3;
    padding-top: .15rem;
    color: var(--pyk-muted);
    font: 400 .74rem/1.4 var(--font-mono);
    font-variant-numeric: tabular-nums;
}

.pyk-task-title {
    font-weight: 600;
    line-height: 1.35;
    transition: color var(--duration-fast) ease;
}

.pyk-task-summary {
    color: var(--pyk-ink-2);
    font-size: .86rem;
    line-height: 1.45;
}

.pyk-task-meta {
    color: var(--pyk-muted);
    font: 400 .7rem/1.6 var(--font-mono);
}

#home-page-content .pyk .pyk-task-card:hover .pyk-task-title,
#home-page-content .pyk .pyk-task-card:focus-visible .pyk-task-title {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: .2em;
}

.pyk-task-card.is-solved .pyk-task-num,
.pyk-task-card.is-solved .pyk-task-meta::after {
    color: var(--pyk-pass);
}

.pyk-task-card.is-solved .pyk-task-meta::after {
    content: " \00b7  rozwiązane \2713";
}
[hidden] {
    display: none !important;
}

main.site-main {
    width: 100%;
    min-width: 0;
}

.skip-link {
    position: fixed;
    top: -100px;
    left: 1rem;
    z-index: 10000;
    padding: .75rem 1rem;
    background: var(--surface-0);
    color: var(--text-primary);
    border: 2px solid var(--accent);
}

.skip-link:focus {
    top: .75rem;
}

nav a[aria-current] {
    color: var(--accent);
    font-weight: 700;
}

.breadcrumbs {
    max-width: calc(var(--content-max) + 64px);
    width: 100%;
    margin: 1.25rem auto;
    padding: 0 clamp(16px, 4vw, 32px);
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: .75rem;
    line-height: 1.5;
}

.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem .65rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.breadcrumbs li+li::before {
    content: '/';
    margin-right: .65rem;
}

.breadcrumbs a {
    color: var(--text-secondary);
    text-decoration: underline;
    text-decoration-color: var(--border-hover);
    text-underline-offset: .25em;
}

.breadcrumbs a:hover {
    color: var(--accent);
    text-decoration-color: currentColor;
}

.tool-filters {
    max-width: var(--content-max);
    margin: 0 auto 2rem;
    padding: 1.25rem;
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: 1rem;
    background: var(--surface-1);
    border-radius: var(--radius-md);
}

.tool-filters>div {
    flex: 1 1 240px;
    min-width: 0;
}

.tool-filters label {
    display: block;
    margin-bottom: .4rem;
    font-weight: 600;
}

.tool-filters input,
.tool-filters select,
.tool-filters button,
.tool-example button {
    min-height: 44px;
    padding: .65rem .85rem;
    border: 1px solid var(--text-muted);
    border-radius: var(--radius-sm);
    font: inherit;
    background: var(--surface-0);
    color: var(--text-primary);
}

.tool-filters input,
.tool-filters select {
    width: 100%;
}

.tool-filters button,
.tool-example button {
    cursor: pointer;
}

#tool-results {
    flex-basis: 100%;
    color: var(--text-secondary);
}

.tool-example {
    margin: 1rem 0;
}

.tool-example p {
    margin-top: .75rem;
    font-size: .9rem;
}


.tools-intro {
    margin: 2rem auto;
}

.breadcrumbs li {
    margin: 0;
    min-width: 0;
    overflow-wrap: anywhere;
}
.hm {
    --hm-gap: 1.5rem;
    width: 100%;
    text-align: left;
}

.hm :where(h1, h2, h3, p) {
    margin: 0;
    padding: 0;
    text-align: left;
}

.hm :where(li) {
    margin-left: 0;
}

.hm :where(ul) {
    margin: 0;
    padding: 0;
    list-style: none;
}

.hm-wrap {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding: 0 max(1rem, calc((100vw - var(--content-max, 1200px)) / 2));
}

.hm-section {
    padding: clamp(3.5rem, 7vw, 6rem) 0 0;
    background: var(--surface-0);
}

.hm-section:last-child {
    padding-bottom: clamp(4rem, 8vw, 7rem);
}

.hm-head {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--hm-gap);
    margin-bottom: clamp(2rem, 4vw, 3rem);
    padding-top: 1.1rem;
    border-top: 2px solid var(--rule-strong);
}

.hm-kicker {
    grid-column: 1 / span 3;
    grid-row: 1 / span 2;
    font: 500 .74rem/1.6 var(--font-mono);
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.hm-kicker span {
    color: var(--accent);
}

.hm-head h2 {
    grid-column: 4 / -1;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -.035em;
    color: var(--text-primary);
}

.hm-head p:not(.hm-kicker) {
    grid-column: 4 / span 7;
    max-width: 40rem;
    margin-top: .9rem;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.hm-textlink {
    font-weight: 500;
    color: var(--text-primary);
    white-space: nowrap;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: .2em;
    text-decoration-color: var(--border-hover);
}

.hm-textlink:hover,
.hm-textlink:focus-visible {
    color: var(--accent);
    text-decoration-color: currentColor;
}



.hm-card,
.hm-latest a,
.hm-shelf a {
    display: grid;
    align-content: start;
    gap: .8rem;
    color: var(--text-primary);
}

.hm-card img,
.hm-latest img,
.hm-shelf img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border: 1px solid var(--border-default);
    background: var(--surface-1);
    transition: border-color var(--duration-fast) ease;
}

.hm-card span,
.hm-latest span {
    display: grid;
    gap: .3rem;
}

.hm-card small,
.hm-latest small {
    font: 500 .68rem/1.4 var(--font-mono);
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.hm-card b,
.hm-latest b,
.hm-shelf span {
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-primary);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: .2em;
    text-decoration-color: transparent;
    transition: color var(--duration-fast) ease, text-decoration-color var(--duration-fast) ease;
}

.hm-card b {
    font-size: 1.05rem;
}

.hm-latest b {
    font-size: .95rem;
}

.hm-card em {
    font-style: normal;
    font-size: .88rem;
    line-height: 1.5;
    color: var(--text-secondary);
}

.hm-card:hover b,
.hm-card:focus-visible b,
.hm-latest a:hover b,
.hm-latest a:focus-visible b,
.hm-shelf a:hover span,
.hm-shelf a:focus-visible span {
    color: var(--accent);
    text-decoration-color: currentColor;
}

.hm-card:hover img,
.hm-card:focus-visible img,
.hm-latest a:hover img,
.hm-latest a:focus-visible img,
.hm-shelf a:hover img,
.hm-shelf a:focus-visible img {
    border-color: var(--border-hover);
}

.hm-grid,
.hm-learn {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2.5rem var(--hm-gap);
    align-items: start;
}



.hm-hero {
    padding-top: clamp(3rem, 8vw, 6.5rem);
}

.hm-hero-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--hm-gap);
    row-gap: 3rem;
    align-items: end;
}

.hm-hero-grid>div {
    grid-column: 1 / span 6;
}

.hm-hero .hm-kicker {
    margin-bottom: 1.5rem;
}

.hm-hero h1 {
    margin: 0;
    font-size: clamp(3.2rem, 7.4vw, 6rem);
    font-weight: 600;
    line-height: .95;
    letter-spacing: -.045em;
    color: var(--text-primary);
}

.hm-lede {
    max-width: 30rem;
    margin-top: 1.5rem !important;
    font-size: clamp(1.1rem, 1.5vw, 1.25rem);
    line-height: 1.55;
    color: var(--text-secondary);
}

.hm-doors {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 2.75rem !important;
    border-top: 1px solid var(--rule-strong);
}

.hm-doors li+li .hm-door {
    padding-left: .9rem;
    border-left: 1px solid var(--border-default);
}

.hm-door {
    display: grid;
    gap: .55rem;
    height: 100%;
    padding: .85rem .9rem .15rem 0;
    color: var(--text-primary);
}

.hm-door i {
    font: 500 .7rem/1 var(--font-mono);
    font-style: normal;
    color: var(--accent);
}

.hm-door span {
    display: grid;
    gap: .15rem;
}

.hm-door b {
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: .2em;
    text-decoration-color: transparent;
    transition: color var(--duration-fast) ease, text-decoration-color var(--duration-fast) ease;
}

.hm-door small {
    font-size: .8rem;
    color: var(--text-muted);
}

.hm-door:hover b,
.hm-door:focus-visible b {
    color: var(--accent);
    text-decoration-color: currentColor;
}

.hm-latest {
    grid-column: 7 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.75rem var(--hm-gap);
}



.hm-list {
    border-top: 1px solid var(--rule-strong);
}

.hm-list li {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: .8rem;
    padding: .62rem 0;
    border-bottom: 1px solid var(--border-default);
    font-size: .92rem;
    line-height: 1.35;
}

.hm-list a {
    font-weight: 500;
    color: var(--text-primary);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: .2em;
    text-decoration-color: transparent;
    transition: color var(--duration-fast) ease, text-decoration-color var(--duration-fast) ease;
}

.hm-list a:hover,
.hm-list a:focus-visible {
    color: var(--accent);
    text-decoration-color: currentColor;
}

.hm-list small {
    flex: none;
    font: 400 .7rem/1 var(--font-mono);
    color: var(--text-muted);
}

.hm-list .hm-list-more {
    border-bottom: 0;
}

.hm-list-more a {
    font-weight: 600;
}



.hm-field {
    margin-top: clamp(3.5rem, 7vw, 5rem);
}

.hm-field-head {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--hm-gap);
    margin-bottom: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--rule-strong);
}

.hm-field-head h3 {
    grid-column: 1 / span 3;
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -.015em;
    color: var(--text-primary);
}

.hm-field-head p {
    grid-column: 4 / span 7;
    max-width: 40rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.hm .threejs-wrapper {
    width: 100%;
    margin: 0;
}



.hm-shelf {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 2rem var(--hm-gap);
}

.hm-shelf img {
    aspect-ratio: 9 / 16;
}

.hm-shelf span {
    font-size: .88rem;
    line-height: 1.35;
}

.hm #flag-counter {
    display: block;
    width: max-content;
    max-width: 100%;
    margin: clamp(3rem, 6vw, 4.5rem) auto 0;
}

.hm #flag-counter img {
    display: block;
    height: auto;
}



@media (max-width: 1000px) {

    .hm-hero-grid>div,
    .hm-latest {
        grid-column: 1 / -1;
    }

    .hm-grid,
    .hm-learn {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hm-shelf {
        display: flex;
        gap: 1rem;
        margin: 0 -1rem;
        padding: 0 1rem .5rem;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-padding: 0 1rem;
        scrollbar-width: none;
    }

    .hm-shelf::-webkit-scrollbar {
        display: none;
    }

    .hm-shelf li {
        flex: 0 0 min(42vw, 200px);
        scroll-snap-align: start;
    }
}

@media (max-width: 760px) {

    .hm-kicker,
    .hm-head h2,
    .hm-head p:not(.hm-kicker),
    .hm-field-head h3,
    .hm-field-head p {
        grid-column: 1 / -1;
        grid-row: auto;
    }

    .hm-head .hm-kicker {
        margin-bottom: .9rem;
    }

    .hm-field-head p {
        margin-top: .5rem;
    }
}

@media (max-width: 600px) {

    .hm-doors {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hm-doors li:nth-child(3) .hm-door {
        padding-left: 0;
        border-left: 0;
    }

    .hm-doors li:nth-child(n+3) {
        border-top: 1px solid var(--border-default);
    }

    .hm-door {
        padding-bottom: .85rem;
    }

    .hm-latest {
        gap: 1.5rem 1rem;
    }

    .hm-grid,
    .hm-learn {
        grid-template-columns: 1fr;
        row-gap: 1.25rem;
    }

    .hm-card {
        grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
        gap: 1rem;
    }

    .hm-learn .hm-list:first-of-type {
        margin-top: 1rem;
    }
}
