@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 100 900;
    font-display: block;
    src: url("/assets/fonts/inter/inter-variable.woff2") format("woff2");
}

@font-face {
    font-family: "Inter";
    font-style: italic;
    font-weight: 100 900;
    font-display: block;
    src: url("/assets/fonts/inter/inter-variable-italic.woff2") format("woff2");
}

:root {
    /* Project theme */
    --themeBrand: #ffd200;
    --themeBrandInteractive: #7a6200;
    --themeBrandInteractiveHover: #675200;
    --themeBrandInteractiveActive: #554300;
    --themeLinkHover: #5f4b00;
    --themeFocus: #7a6200;
    --themeBrandContrast: #161616;
    --themeBrandInteractiveContrast: #ffffff;
    --themeAccent: #ef2b2d;
    --themeText: #ffffff;
    --themeTextMuted: #d7d7d7;
    --themeTextSubtle: #a7a7a7;
    --themeTextDisabled: #7a7a7a;
    --themeTextOnLight: #191919;
    --themeTextMutedOnLight: #555555;
    --themeTextSubtleOnLight: #686868;
    --themePageText: #191919;
    --themePageBackground: #ffffff;
    --themeBackground: #1b1b1b;
    --themeBackgroundNested: #202020;
    --themeSurface: #242424;
    --themeSurfaceElevated: #303030;
    --themeSurfaceSelected: #3b3b3b;
    --themeBorderQuiet: #303030;
    --themeBorder: #464646;
    --themeBorderStrong: #5c5c5c;
    --themeBorderControl: #696969;
    --themeBorderControlHover: #7b7b7b;
    --themeBackgroundLight: #ffffff;
    --themeSurfaceWarm: #f1eddc;
    --themeSurfaceLight: #fffbea;
    --themeDark: #1b1b1b;
    --themeDarkStrong: #0d0d0d;
    --themeSuccess: #16803c;
    --themeWarning: #a15c00;
    --themeError: #c62828;

    /* Derived color system */
    --colorText: var(--themeText);
    --colorTextMuted: var(--themeTextMuted);
    --colorTextSubtle: var(--themeTextSubtle);
    --colorTextInverse: var(--themeText);
    --colorTextOnDark: var(--themeText);
    --colorTextMutedOnDark: var(--themeTextMuted);
    --colorTextSubtleOnDark: var(--themeTextSubtle);
    --colorTextOnLight: var(--themeTextOnLight);
    --colorTextMutedOnLight: var(--themeTextMutedOnLight);
    --colorTextSubtleOnLight: var(--themeTextSubtleOnLight);
    --colorPageText: var(--themePageText);
    --colorPageTextMuted: var(--themeTextMutedOnLight);
    --colorPageTextSubtle: var(--themeTextSubtleOnLight);
    --colorPageBackground: var(--themePageBackground);
    --colorPageSurface: var(--themeSurfaceLight);
    --colorPageSurfaceElevated: var(--themeBackgroundLight);
    --colorPageBorder: color-mix(in srgb, var(--themePageText) 14%, var(--themePageBackground));
    --colorPageBorderStrong: color-mix(in srgb, var(--themePageText) 24%, var(--themePageBackground));
    --colorPageDisabled: color-mix(in srgb, var(--themePageText) 38%, var(--themePageBackground));
    --colorPageDisabledBackground: color-mix(in srgb, var(--themePageText) 7%, var(--themePageBackground));
    --colorBackground: var(--themeBackground);
    --colorBackgroundNested: var(--themeBackgroundNested);
    --colorSurface: var(--themeSurface);
    --colorSurfaceStrong: var(--themeSurfaceSelected);
    --colorSurfaceElevated: var(--themeSurfaceElevated);
    --colorSurfaceSelected: var(--themeSurfaceSelected);
    --colorBackgroundLight: var(--themeBackgroundLight);
    --colorSurfaceWarm: var(--themeSurfaceWarm);
    --colorSurfaceLight: var(--themeSurfaceLight);
    --colorSurfaceLightStrong: color-mix(in srgb, var(--themeSurfaceLight) 94%, var(--themeTextOnLight));
    --colorSurfaceLightElevated: var(--themeBackgroundLight);
    --colorBorder: var(--themeBorder);
    --colorBorderStrong: var(--themeBorderStrong);
    --colorBorderOnLight: color-mix(in srgb, var(--themeTextOnLight) 14%, var(--themeBackgroundLight));
    --colorBorderStrongOnLight: color-mix(in srgb, var(--themeTextOnLight) 24%, var(--themeBackgroundLight));
    --colorBrand: var(--themeBrand);
    --colorBrandHover: color-mix(in srgb, var(--themeBrand) 80%, var(--themeDarkStrong));
    --colorBrandActive: color-mix(in srgb, var(--themeBrand) 68%, var(--themeDarkStrong));
    --colorBrandLight: color-mix(in srgb, var(--themeBrand) 65%, var(--themeText));
    --colorBrandSoft: color-mix(in srgb, var(--themeBrand) 14%, transparent);
    --colorBrandSoftStrong: color-mix(in srgb, var(--themeBrand) 24%, transparent);
    --colorBrandInteractive: var(--themeBrandInteractive);
    --colorBrandInteractiveHover: var(--themeBrandInteractiveHover);
    --colorBrandInteractiveActive: var(--themeBrandInteractiveActive);
    --colorBrandInteractiveSoft: color-mix(in srgb, var(--themeBrandInteractive) 14%, transparent);
    --colorBrandContrast: var(--themeBrandContrast);
    --colorBrandInteractiveContrast: var(--themeBrandInteractiveContrast);
    --colorAccent: var(--themeAccent);
    --colorAccentHover: color-mix(in srgb, var(--themeAccent) 80%, var(--themeDarkStrong));
    --colorAccentSoft: color-mix(in srgb, var(--themeAccent) 16%, transparent);
    --colorFocus: var(--themeFocus);
    --colorSuccess: var(--themeSuccess);
    --colorWarning: var(--themeWarning);
    --colorError: var(--themeError);
    --colorInfo: var(--colorBrandHover);
    --colorDisabled: var(--themeTextDisabled);
    --colorDisabledBackground: color-mix(in srgb, var(--themeText) 7%, var(--themeBackground));
    --colorOverlay: color-mix(in srgb, var(--themeDarkStrong) 68%, transparent);
    --colorDark: var(--themeDark);
    --colorDarkStrong: var(--themeDarkStrong);
    --colorDarkSurface: color-mix(in srgb, var(--themeDark) 88%, transparent);
    --colorDarkBorder: var(--themeBorder);
    --colorDarkTextMuted: var(--colorTextMutedOnDark);
    --colorLink: var(--colorBrandInteractive);
    --colorLinkHover: var(--themeLinkHover);
    --colorLinkActive: var(--themeFocus);
    --colorLinkVisited: var(--colorBrandInteractive);
    --colorSelectionText: var(--colorBrandInteractiveContrast);
    --colorSelectionBackground: var(--colorBrandInteractive);
    --colorMarkText: var(--colorBrandInteractiveContrast);
    --colorMarkBackground: var(--colorBrandInteractive);
    --colorCodeText: var(--colorText);
    --colorCodeBackground: var(--colorSurfaceStrong);
    --colorBackgroundSubtle: var(--themeBackgroundNested);
    --colorBackgroundDisabled: color-mix(in srgb, var(--themeBackground) 88%, var(--themeSurface));
    --colorBorderSubtle: var(--themeBorderQuiet);
    --colorBorderControl: var(--themeBorderControl);
    --colorBorderControlHover: var(--themeBorderControlHover);
    --colorBorderFocus: var(--themeFocus);
    --colorOverlayHover: color-mix(in srgb, var(--themeBrand) 8%, transparent);
    --colorOverlayActive: color-mix(in srgb, var(--themeBrand) 14%, transparent);
    --colorBackdrop: color-mix(in srgb, var(--themeDarkStrong) 76%, transparent);
    --colorGlowBrand: color-mix(in srgb, var(--themeBrand) 18%, transparent);
    --colorGlowAccent: color-mix(in srgb, var(--themeAccent) 12%, transparent);
    --colorShadowLow: color-mix(in srgb, var(--themeDarkStrong) 20%, transparent);
    --colorShadowHigh: color-mix(in srgb, var(--themeDarkStrong) 36%, transparent);

    /* Material system */
    --colorMaterialQuiet: color-mix(in srgb, var(--themeSurface) 24%, transparent);
    --colorMaterialPrimary: color-mix(in srgb, var(--themeSurface) 62%, transparent);
    --colorMaterialElevated: color-mix(in srgb, var(--themeSurface) 82%, transparent);
    --colorMaterialQuietFallback: color-mix(in srgb, var(--themeSurface) 90%, var(--themePageBackground));
    --colorMaterialPrimaryFallback: color-mix(in srgb, var(--themeSurface) 94%, var(--themePageBackground));
    --colorMaterialElevatedFallback: color-mix(in srgb, var(--themeSurfaceElevated) 92%, var(--themePageBackground));
    --colorMaterialBorder: var(--themeBorder);
    --colorMaterialBorderHover: var(--themeBorderControlHover);
    --colorMaterialHighlight: color-mix(in srgb, var(--themeText) 9%, transparent);
    --colorMaterialHighlightStrong: color-mix(in srgb, var(--themeText) 16%, transparent);
    --colorMaterialEdge: color-mix(in srgb, color-mix(in srgb, var(--themeBrand) 84%, var(--themeText)) 19%, transparent);
    --colorMaterialShade: color-mix(in srgb, var(--themeDarkStrong) 42%, transparent);
    --colorMaterialGlow: color-mix(in srgb, var(--themeBrand) 16%, transparent);
    --colorMaterialGlowStrong: color-mix(in srgb, var(--themeBrand) 24%, transparent);
    --colorMaterialGlowAccent: color-mix(in srgb, var(--themeAccent) 9%, transparent);
    --shadowMaterialQuiet: inset 0 var(--borderWidth) 0 var(--colorMaterialHighlight), 0 1rem 3rem color-mix(in srgb, var(--themeDarkStrong) 18%, transparent);
    --shadowMaterialPrimary: inset 0 var(--borderWidth) 0 var(--colorMaterialHighlight), inset 0 -1.5rem 3rem var(--colorMaterialShade), 0 1.5rem 4rem color-mix(in srgb, var(--themeDarkStrong) 28%, transparent), 0 0 2.5rem var(--colorMaterialGlow);
    --shadowMaterialElevated: inset 0 var(--borderWidth) 0 var(--colorMaterialHighlightStrong), inset 0 -2rem 4rem var(--colorMaterialShade), 0 2rem 5rem color-mix(in srgb, var(--themeDarkStrong) 38%, transparent), 0 0 3rem var(--colorMaterialGlow);
    --blurMaterialQuiet: var(--blurSmall);
    --blurMaterialPrimary: var(--blurMedium);
    --blurMaterialElevated: var(--blurLarge);

    /* Gradients */
    --gradientBrand: linear-gradient(135deg, var(--colorBrand), var(--colorBrandHover));
    --gradientBrandHover: linear-gradient(135deg, var(--colorBrandHover), var(--colorBrandActive));
    --gradientBrandAccent: linear-gradient(135deg, var(--colorBrand), var(--colorAccent));
    --gradientInteractive: linear-gradient(135deg, var(--colorBrandInteractive), var(--colorBrandInteractiveHover));
    --gradientInteractiveHover: linear-gradient(135deg, var(--colorBrandInteractiveHover), var(--colorBrandInteractiveActive));
    --gradientSurface: linear-gradient(135deg, var(--colorBackground), var(--colorSurface));
    --gradientDark: linear-gradient(135deg, var(--colorDarkStrong), var(--colorDark));

    /* Typography */
    --fontPrimary: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --fontSecondary: var(--fontPrimary);
    --fontMonospace: "Cascadia Code", "SFMono-Regular", Consolas, monospace;

    --fontWeightRegular: 400;
    --fontWeightMedium: 500;
    --fontWeightSemiBold: 600;
    --fontWeightBold: 700;
    --fontWeightExtraBold: 800;

    --lineHeightTight: 1.08;
    --lineHeightHeading: 1.15;
    --lineHeightText: 1.6;
    --lineHeightUi: 1.3;
    --lineHeightCode: 1.5;

    --fontSizeDisplay: clamp(2.5rem, 2.1rem + 1.8vw, 3.75rem);
    --fontSizeH1: clamp(2rem, 1.75rem + 1vw, 2.5rem);
    --fontSizeH2: clamp(1.75rem, 1.55rem + 0.8vw, 2.125rem);
    --fontSizeH3: clamp(1.5rem, 1.35rem + 0.6vw, 1.75rem);
    --fontSizeH4: clamp(1.25rem, 1.15rem + 0.4vw, 1.5rem);
    --fontSizeH5: clamp(1.125rem, 1.05rem + 0.25vw, 1.25rem);
    --fontSizeH6: 1rem;
    --fontSizeLead: clamp(1.125rem, 1.05rem + 0.25vw, 1.25rem);
    --fontSizeBody: 1rem;
    --fontSizeText: var(--fontSizeBody);
    --fontSizeUi: clamp(0.9375rem, 0.9rem + 0.12vw, 1rem);
    --fontSizeSmall: clamp(0.875rem, 0.84rem + 0.12vw, 0.9375rem);
    --fontSizeMeta: clamp(0.8125rem, 0.79rem + 0.08vw, 0.875rem);
    --fontSizeTiny: clamp(0.75rem, 0.73rem + 0.06vw, 0.8125rem);
    --fontSizeCode: 0.9375em;

    --letterSpacingCompact: -0.035em;
    --letterSpacingHeading: -0.03em;
    --letterSpacingNormal: 0.01em;
    --letterSpacingWide: 0.06em;
    --letterSpacingWider: 0.08em;
    --letterSpacingWidest: 0.12em;

    --headingFont: var(--fontSecondary);
    --headingColor: var(--colorPageText);
    --headingWeight: var(--fontWeightBold);
    --headingLineHeight: var(--lineHeightHeading);
    --headingLetterSpacing: var(--letterSpacingHeading);
    --paragraphColor: var(--colorPageText);
    --paragraphMaxWidth: 75ch;
    --paragraphLineHeight: var(--lineHeightText);

    /* Layout: outer alignment */
    --containerWidth: 80rem;
    --containerPaddingInline: 1rem;

    /* Layout: nested content */
    --containerWidthContent: 75rem;
    --containerWidthNarrow: 60rem;
    --containerWidthText: 70ch;

    --headerPaddingBlock: clamp(1rem, 3vw, 2rem);
    --sectionPaddingBlock: 2rem;
    --footerPaddingBlock: var(--sectionPaddingBlock);
    --sectionContentGap: clamp(1.5rem, 4vw, 3rem);

    /* Spacing */
    --space3xs: 0.25rem;
    --space2xs: 0.5rem;
    --spaceXs: 0.75rem;
    --spaceSm: 1rem;
    --spaceMd: 1.5rem;
    --spaceLg: 2rem;
    --spaceXl: 3rem;
    --space2xl: 4rem;
    --space3xl: 6rem;
    --contentGapSmall: var(--spaceXs);
    --contentGap: var(--spaceSm);
    --contentGapLarge: var(--spaceMd);

    /* Borders and radii */
    --borderWidth: 1px;
    --borderWidthStrong: 0.125rem;
    --borderStyle: solid;
    --borderDefault: var(--borderWidth) var(--borderStyle) var(--colorPageBorder);
    --borderStrong: var(--borderWidth) var(--borderStyle) var(--colorPageBorderStrong);
    --lineThickness: 0.125rem;

    --radiusXs: 0.45rem;
    --radiusSmall: 0.65rem;
    --radiusMedium: 1rem;
    --radiusLarge: 1.5rem;
    --radiusRound: 999px;

    /* Shadows */
    --shadowSoft: 0 1.25rem 3rem color-mix(in srgb, var(--colorDark) 8%, transparent);
    --shadowMedium: 0 1.5rem 4rem color-mix(in srgb, var(--colorDark) 14%, transparent);
    --shadowStrong: 0 1.8rem 5rem color-mix(in srgb, var(--colorDarkStrong) 28%, transparent);
    --shadowBrand: 0 0.8rem 1.8rem color-mix(in srgb, var(--colorBrandHover) 24%, transparent);
    --shadowBrandHover: 0 1rem 2.2rem color-mix(in srgb, var(--colorBrandHover) 34%, transparent);
    --shadowFocus: 0 0 0 0.25rem var(--colorBrandInteractiveSoft);

    /* Links */
    --linkFontWeight: inherit;
    --linkTextDecoration: underline;
    --linkDecorationThickness: 0.08em;
    --linkUnderlineOffset: 0.18em;
    --linkTransition: color var(--transitionFast), text-decoration-color var(--transitionFast);

    /* Lists */
    --listPaddingInline: 1.35em;
    --listItemGap: var(--space2xs);
    --listMarkerColor: var(--colorBrandInteractive);
    --descriptionListGap: var(--spaceSm);

    /* Content elements */
    --horizontalRuleMarginBlock: var(--spaceLg);
    --horizontalRuleBorder: var(--borderDefault);
    --blockquotePaddingInline: var(--spaceMd);
    --blockquoteBorder: var(--lineThickness) var(--borderStyle) var(--colorBrandInteractive);
    --blockquoteColor: var(--colorPageTextMuted);
    --blockquoteBackground: transparent;
    --codePaddingBlock: 0.12em;
    --codePaddingInline: 0.35em;
    --codeRadius: var(--radiusXs);
    --prePadding: var(--spaceMd);
    --preBackground: var(--colorDarkStrong);
    --preText: var(--colorTextInverse);
    --tableCellPaddingBlock: var(--spaceXs);
    --tableCellPaddingInline: var(--spaceSm);
    --tableHeaderBackground: var(--colorPageSurface);
    --tableRowHoverBackground: var(--colorBrandSoft);
    --tableBorder: var(--borderDefault);
    --captionColor: var(--colorPageTextMuted);

    /* Form controls */
    --controlMinHeight: 3.15rem;
    --controlPaddingBlock: 0.75rem;
    --controlPaddingInline: 0.9rem;
    --controlText: var(--colorPageText);
    --controlPlaceholder: var(--colorPageTextSubtle);
    --controlBackground: var(--colorPageSurfaceElevated);
    --controlBackgroundHover: var(--colorPageSurface);
    --controlBorder: var(--borderDefault);
    --controlBorderHover: var(--colorPageBorderStrong);
    --controlBorderFocus: var(--colorBrandInteractive);
    --controlRadius: var(--radiusSmall);
    --controlFocusShadow: var(--shadowFocus);
    --controlTransition: border-color var(--transitionFast), box-shadow var(--transitionFast), background-color var(--transitionFast);
    --labelColor: var(--colorPageTextMuted);
    --labelFontSize: var(--fontSizeMeta);
    --labelFontWeight: var(--fontWeightSemiBold);
    --fieldGap: var(--space2xs);
    --fieldHelpColor: var(--colorPageTextSubtle);
    --fieldErrorColor: var(--colorError);
    --checkboxSize: 1.15rem;
    --checkboxAccent: var(--colorBrandInteractive);

    /* Buttons */
    --buttonMinHeight: var(--controlMinHeight);
    --buttonMinTargetSize: 2.75rem;
    --buttonPaddingBlock: 0.75rem;
    --buttonPaddingInline: var(--spaceMd);
    --buttonGap: var(--space2xs);
    --buttonFontSize: var(--fontSizeUi);
    --buttonFontWeight: var(--fontWeightSemiBold);
    --buttonLineHeight: var(--lineHeightUi);
    --buttonText: var(--colorBrandInteractiveContrast);
    --buttonBackground: var(--gradientInteractive);
    --buttonBackgroundHover: var(--gradientInteractiveHover);
    --buttonBackgroundActive: var(--colorBrandInteractiveActive);
    --buttonBorder: var(--borderWidth) var(--borderStyle) transparent;
    --buttonRadius: var(--radiusSmall);
    --buttonShadow: var(--shadowBrand);
    --buttonShadowHover: var(--shadowBrandHover);
    --buttonLift: var(--motionLiftSmall);
    --buttonTransition: color var(--transitionFast), background var(--transitionFast), border-color var(--transitionFast), box-shadow var(--transitionFast), transform var(--transitionFast);

    --buttonPrimaryMinHeight: var(--buttonMinHeight);
    --buttonPrimaryPaddingBlock: var(--buttonPaddingBlock);
    --buttonPrimaryPaddingInline: var(--buttonPaddingInline);
    --buttonPrimaryText: var(--buttonText);
    --buttonPrimaryBackground: var(--buttonBackground);
    --buttonPrimaryBackgroundHover: var(--buttonBackgroundHover);
    --buttonPrimaryBackgroundActive: var(--buttonBackgroundActive);
    --buttonPrimaryBorder: var(--buttonBorder);
    --buttonPrimaryRadius: var(--buttonRadius);
    --buttonPrimaryShadow: var(--buttonShadow);
    --buttonPrimaryShadowHover: var(--buttonShadowHover);
    --buttonPrimaryLift: var(--buttonLift);

    --buttonSecondaryText: var(--colorBrandInteractive);
    --buttonSecondaryTextActive: var(--colorBrandInteractiveActive);
    --buttonSecondaryBackground: var(--colorPageSurface);
    --buttonSecondaryBackgroundHover: var(--colorBrandSoft);
    --buttonSecondaryBackgroundActive: color-mix(in srgb, var(--colorBrandInteractive) 18%, var(--colorPageBackground));
    --buttonSecondaryBorder: var(--borderWidth) var(--borderStyle) var(--colorBrandInteractive);
    --buttonSecondaryShadow: none;

    --buttonGhostText: var(--colorBrandInteractive);
    --buttonGhostTextActive: var(--colorBrandInteractiveActive);
    --buttonGhostBackground: transparent;
    --buttonGhostBackgroundHover: var(--colorPageSurface);
    --buttonGhostBackgroundActive: var(--colorBrandInteractiveSoft);
    --buttonGhostBorder: var(--borderWidth) var(--borderStyle) transparent;

    /* Focus and motion */
    --focusOutlineWidth: 0.125rem;
    --focusOutlineOffset: 0.1875rem;
    --transitionFast: 180ms ease;
    --transitionMedium: 260ms ease;
    --transitionSlow: 420ms ease;
    --motionLiftSmall: -0.1rem;
    --motionLiftMedium: -0.2rem;

    /* Effects */
    --blurSmall: 0.55rem;
    --blurMedium: 0.8rem;
    --blurLarge: 1.25rem;

    /* Layers */
    --layerBase: 0;
    --layerRaised: 10;
    --layerHeader: 20;
    --layerSticky: 20;
    --layerDropdown: 30;
    --layerOverlay: 100;
    --layerModal: 110;
    --layerToast: 120;
    --layerSkipLink: 1000;
}

@media (min-width: 48rem) {
    :root {
        --containerPaddingInline: 1.5rem;
        --sectionPaddingBlock: 2.5rem;
    }
}

@media (min-width: 64rem) {
    :root {
        --containerPaddingInline: 2rem;
        --sectionPaddingBlock: 3rem;
    }
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    color-scheme: light;
    background: var(--colorPageBackground);
    scroll-behavior: smooth;
    scrollbar-gutter: stable;
}

body {
    min-height: 100vh;
    min-height: 100svh;
    margin: 0;
    overflow-wrap: break-word;
    color: var(--colorPageText);
    background: var(--colorPageBackground);
    font-family: var(--fontPrimary);
    font-optical-sizing: auto;
    font-synthesis: none;
    font-size: var(--fontSizeText);
    font-weight: var(--fontWeightRegular);
    line-height: var(--lineHeightText);
}

::selection {
    color: var(--colorSelectionText);
    background: var(--colorSelectionBackground);
}

section {
    padding-block: var(--sectionPaddingBlock);
}

footer {
    padding-block: var(--footerPaddingBlock);
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd {
    margin-block: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--headingColor);
    font-family: var(--headingFont);
    font-weight: var(--headingWeight);
    line-height: var(--headingLineHeight);
    letter-spacing: var(--headingLetterSpacing);
    text-wrap: balance;
}

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

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

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

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

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

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

p {
    color: var(--paragraphColor);
    font-size: var(--fontSizeText);
    font-weight: var(--fontWeightRegular);
    line-height: var(--paragraphLineHeight);
}

strong,
b {
    font-weight: var(--fontWeightBold);
}

em,
i {
    font-style: italic;
}

small {
    color: var(--colorPageTextSubtle);
    font-size: var(--fontSizeTiny);
    line-height: 1.4;
}

sub,
sup {
    position: relative;
    vertical-align: baseline;
    font-size: 0.75em;
    line-height: 0;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

:where(a) {
    color: var(--colorLink);
    font-weight: var(--linkFontWeight);
    text-decoration: var(--linkTextDecoration);
    text-decoration-thickness: var(--linkDecorationThickness);
    text-underline-offset: var(--linkUnderlineOffset);
    transition: var(--linkTransition);
}

:where(a:visited) {
    color: var(--colorLinkVisited);
}

:where(a:hover) {
    color: var(--colorLinkHover);
    text-decoration-color: currentColor;
}

:where(a:active) {
    color: var(--colorLinkActive);
}

:where(ul, ol) {
    margin-block: 0;
    padding-inline-start: var(--listPaddingInline);
}

:where(ul, ol) > li + li {
    margin-block-start: var(--listItemGap);
}

:where(li)::marker {
    color: var(--listMarkerColor);
    font-weight: var(--fontWeightSemiBold);
}

:where(ul, ol) :where(ul, ol) {
    margin-block-start: var(--listItemGap);
}

dt {
    font-weight: var(--fontWeightSemiBold);
}

dd + dt {
    margin-block-start: var(--descriptionListGap);
}

hr {
    margin-block: var(--horizontalRuleMarginBlock);
    border: 0;
    border-top: var(--horizontalRuleBorder);
}

blockquote {
    padding-inline: var(--blockquotePaddingInline);
    border-inline-start: var(--blockquoteBorder);
    color: var(--blockquoteColor);
    background: var(--blockquoteBackground);
}

blockquote cite {
    display: block;
    margin-block-start: var(--spaceXs);
    color: var(--colorPageTextSubtle);
    font-size: var(--fontSizeSmall);
    font-style: normal;
}

mark {
    padding-inline: 0.15em;
    color: var(--colorMarkText);
    background: var(--colorMarkBackground);
}

code,
kbd,
samp {
    font-family: var(--fontMonospace);
    font-size: var(--fontSizeCode);
}

:where(:not(pre) > code, kbd) {
    padding: var(--codePaddingBlock) var(--codePaddingInline);
    border-radius: var(--codeRadius);
    color: var(--colorCodeText);
    background: var(--colorCodeBackground);
}

kbd {
    border: var(--borderDefault);
    box-shadow: inset 0 -0.08em 0 var(--colorPageBorderStrong);
}

pre {
    max-width: 100%;
    margin-block: 0;
    padding: var(--prePadding);
    overflow: auto;
    border-radius: var(--radiusMedium);
    color: var(--preText);
    background: var(--preBackground);
    font-family: var(--fontMonospace);
    line-height: var(--lineHeightCode);
    tab-size: 4;
}

pre code {
    color: inherit;
    background: transparent;
    font-size: inherit;
}

img,
picture,
svg,
video,
canvas,
iframe {
    display: block;
    max-width: 100%;
}

img,
video {
    height: auto;
}

figure {
    max-width: 100%;
}

figcaption {
    margin-block-start: var(--spaceXs);
    color: var(--captionColor);
    font-size: var(--fontSizeSmall);
    line-height: var(--lineHeightText);
}

table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    font-variant-numeric: tabular-nums;
}

caption {
    margin-block-end: var(--spaceXs);
    color: var(--captionColor);
    font-size: var(--fontSizeSmall);
    text-align: start;
}

th,
td {
    padding: var(--tableCellPaddingBlock) var(--tableCellPaddingInline);
    border: var(--tableBorder);
    text-align: start;
    vertical-align: top;
}

th {
    background: var(--tableHeaderBackground);
    font-weight: var(--fontWeightSemiBold);
}

tbody tr {
    transition: background-color var(--transitionFast);
}

tbody tr:hover {
    background: var(--tableRowHoverBackground);
}

details {
    border-block: var(--borderDefault);
}

summary {
    padding-block: var(--spaceSm);
    cursor: pointer;
    font-weight: var(--fontWeightSemiBold);
}

summary::marker {
    color: var(--colorBrandInteractive);
}

address {
    font-style: normal;
}

button,
input,
textarea,
select {
    font: inherit;
}

:where(button, .button) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: var(--buttonMinTargetSize);
    min-height: var(--buttonMinHeight);
    padding: var(--buttonPaddingBlock) var(--buttonPaddingInline);
    gap: var(--buttonGap);
    border: var(--buttonBorder);
    border-radius: var(--buttonRadius);
    color: var(--buttonText);
    background: var(--buttonBackground);
    box-shadow: var(--buttonShadow);
    font-size: var(--buttonFontSize);
    font-weight: var(--buttonFontWeight);
    line-height: var(--buttonLineHeight);
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: var(--buttonTransition);
}

:where(button, .button):hover:not(:disabled, [aria-disabled="true"]) {
    color: var(--buttonText);
    background: var(--buttonBackgroundHover);
    box-shadow: var(--buttonShadowHover);
    transform: translateY(var(--buttonLift));
}

:where(button, .button):active:not(:disabled, [aria-disabled="true"]) {
    background: var(--buttonBackgroundActive);
    box-shadow: var(--buttonShadow);
    transform: translateY(0);
}

:where(button, .button):disabled,
:where(.button[aria-disabled="true"]) {
    color: var(--colorPageDisabled);
    background: var(--colorPageDisabledBackground);
    box-shadow: none;
    cursor: not-allowed;
    opacity: 1;
    pointer-events: none;
}

.buttonPrimary {
    min-height: var(--buttonPrimaryMinHeight);
    padding: var(--buttonPrimaryPaddingBlock) var(--buttonPrimaryPaddingInline);
    color: var(--buttonPrimaryText);
    background: var(--buttonPrimaryBackground);
    border: var(--buttonPrimaryBorder);
    border-radius: var(--buttonPrimaryRadius);
    box-shadow: var(--buttonPrimaryShadow);
}

.buttonPrimary:hover:not(:disabled, [aria-disabled="true"]) {
    color: var(--buttonPrimaryText);
    background: var(--buttonPrimaryBackgroundHover);
    box-shadow: var(--buttonPrimaryShadowHover);
    transform: translateY(var(--buttonPrimaryLift));
}

.buttonPrimary:active:not(:disabled, [aria-disabled="true"]) {
    color: var(--buttonPrimaryText);
    background: var(--buttonPrimaryBackgroundActive);
    box-shadow: var(--buttonPrimaryShadow);
    transform: translateY(0);
}

.buttonSecondary {
    color: var(--buttonSecondaryText);
    background: var(--buttonSecondaryBackground);
    border: var(--buttonSecondaryBorder);
    box-shadow: var(--buttonSecondaryShadow);
}

.buttonSecondary:hover:not(:disabled, [aria-disabled="true"]) {
    color: var(--buttonSecondaryText);
    background: var(--buttonSecondaryBackgroundHover);
    box-shadow: var(--buttonSecondaryShadow);
}

.buttonSecondary:active:not(:disabled, [aria-disabled="true"]) {
    color: var(--buttonSecondaryTextActive);
    background: var(--buttonSecondaryBackgroundActive);
    box-shadow: var(--buttonSecondaryShadow);
    transform: translateY(0);
}

.buttonGhost {
    color: var(--buttonGhostText);
    background: var(--buttonGhostBackground);
    border: var(--buttonGhostBorder);
    box-shadow: none;
}

.buttonGhost:active:not(:disabled, [aria-disabled="true"]) {
    color: var(--buttonGhostTextActive);
    background: var(--buttonGhostBackgroundActive);
    box-shadow: none;
    transform: translateY(0);
}

.buttonGhost:hover:not(:disabled, [aria-disabled="true"]) {
    color: var(--buttonGhostText);
    background: var(--buttonGhostBackgroundHover);
    box-shadow: none;
}

fieldset {
    min-width: 0;
    margin: 0;
    padding: var(--spaceMd);
    border: var(--borderDefault);
    border-radius: var(--radiusMedium);
}

legend {
    padding-inline: var(--space2xs);
    color: var(--headingColor);
    font-weight: var(--fontWeightSemiBold);
}

label {
    color: var(--labelColor);
    font-size: var(--labelFontSize);
    font-weight: var(--labelFontWeight);
    line-height: var(--lineHeightUi);
}

:where(input:not([type="checkbox"], [type="radio"], [type="range"], [type="color"], [type="file"]), textarea, select) {
    width: 100%;
    min-height: var(--controlMinHeight);
    padding: var(--controlPaddingBlock) var(--controlPaddingInline);
    border: var(--controlBorder);
    border-radius: var(--controlRadius);
    color: var(--controlText);
    background: var(--controlBackground);
    transition: var(--controlTransition);
}

:where(input:not([type="checkbox"], [type="radio"], [type="range"], [type="color"], [type="file"]), textarea, select):hover:not(:disabled) {
    border-color: var(--controlBorderHover);
    background: var(--controlBackgroundHover);
}

:where(input:not([type="checkbox"], [type="radio"], [type="range"], [type="color"], [type="file"]), textarea, select):focus {
    border-color: var(--controlBorderFocus);
    outline: 0;
    box-shadow: var(--controlFocusShadow);
}

textarea {
    resize: vertical;
}

select {
    cursor: pointer;
}

input::placeholder,
textarea::placeholder {
    color: var(--controlPlaceholder);
    opacity: 1;
}

:where(input[type="checkbox"], input[type="radio"]) {
    width: var(--checkboxSize);
    height: var(--checkboxSize);
    margin: 0;
    accent-color: var(--checkboxAccent);
}

input[type="file"] {
    max-width: 100%;
}

input[type="range"] {
    width: 100%;
    accent-color: var(--checkboxAccent);
}

:where(input, textarea, select)[aria-invalid="true"] {
    border-color: var(--fieldErrorColor);
}

:where(button, input, textarea, select):disabled {
    color: var(--colorPageDisabled);
    background-color: var(--colorPageDisabledBackground);
    cursor: not-allowed;
}

:focus-visible {
    outline: var(--focusOutlineWidth) solid var(--colorFocus);
    outline-offset: var(--focusOutlineOffset);
}

.container,
.containerContent,
.containerNarrow,
.containerText {
    width: min(100% - (var(--containerPaddingInline) * 2), var(--containerWidth));
    margin-inline: auto;
}

.containerContent {
    max-width: var(--containerWidthContent);
}

.containerNarrow {
    max-width: var(--containerWidthNarrow);
}

.containerText {
    max-width: var(--containerWidthText);
}

.flow > * + * {
    margin-block-start: var(--contentGap);
}

.textLead {
    font-size: var(--fontSizeLead);
}

.textMuted {
    color: var(--colorPageTextMuted);
}

.textStrong {
    font-weight: var(--fontWeightBold);
}

.fieldHelp {
    color: var(--fieldHelpColor);
    font-size: var(--fontSizeSmall);
}

.fieldError {
    color: var(--fieldErrorColor);
    font-size: var(--fontSizeSmall);
}

.noJs .jsOnly {
    display: none !important;
}

.visuallyHidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.skipLink {
    position: fixed;
    top: max(1rem, env(safe-area-inset-top));
    left: max(1rem, env(safe-area-inset-left));
    z-index: var(--layerSkipLink);
    padding: var(--buttonPaddingBlock) var(--buttonPaddingInline);
    border-radius: var(--buttonRadius);
    color: var(--colorBrandInteractiveContrast);
    background: var(--colorBrandInteractive);
    text-decoration: none;
    transform: translateY(calc(-100% - 2rem));
    transition: transform var(--transitionFast);
}

.skipLink:focus-visible {
    color: var(--colorBrandInteractiveContrast);
    transform: translateY(0);
}

@media (hover: none) and (pointer: coarse) {
    :where(button, .button, summary, input, select, textarea) {
        min-height: var(--buttonMinTargetSize);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Project settings */

.systemPage {
    display: grid;
    min-height: 100vh;
    min-height: 100dvh;
    padding: var(--sectionPaddingBlock) var(--containerPaddingInline);
    place-items: center;
    color: var(--colorTextOnDark);
    background: var(--colorDarkStrong);
}

.systemPagePanel {
    display: grid;
    width: min(100%, var(--containerWidthText));
    gap: var(--spaceSm);
    padding: clamp(var(--spaceMd), 5vw, var(--spaceXl));
    border: var(--borderWidth) var(--borderStyle) var(--colorDarkBorder);
    border-block-start-color: var(--colorBrand);
    border-radius: var(--radiusLarge);
    background: var(--colorDarkSurface);
    box-shadow: var(--shadowStrong);
}

.systemPageLogo {
    width: fit-content;
}

.systemPageLogo img {
    width: auto;
    height: clamp(3.25rem, 10vw, 5.25rem);
}

.systemPageCode {
    color: var(--colorBrand);
    font-size: var(--fontSizeMeta);
    font-weight: var(--fontWeightBold);
    letter-spacing: var(--letterSpacingWidest);
}

.systemPagePanel h1 {
    color: var(--colorTextOnDark);
}

.systemPagePanel > p:not(.systemPageCode) {
    max-width: 52ch;
    color: var(--colorTextMutedOnDark);
}

.systemPageActions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spaceXs);
    margin-block-start: var(--spaceXs);
}

.systemPageActions a {
    min-width: min(100%, 10rem);
}
