/* Root Variables */
:root {
    /* Brand Colors — Blue/Black/White palette */
    --color-brand: #2563EB;
    --color-brand-dark: #1D4ED8;
    --color-brand-darker: #1E40AF;
    --color-brand-hover: #1D4ED8;
    --color-brand-light: #3B82F6;
    --color-brand-soft: rgba(37, 99, 235, 0.08);
    --color-brand-muted: rgba(37, 99, 235, 0.12);

    /* Accent Colors */
    --color-green: #16A34A;
    --color-green-hover: #15803D;
    --color-green-soft: rgba(22, 163, 74, 0.1);
    --color-red: #DC2626;
    --color-red-soft: rgba(220, 38, 38, 0.1);
    --color-yellow: #CA8A04;
    --color-yellow-soft: rgba(202, 138, 4, 0.1);

    /* Hero */
    --hero-gradient: linear-gradient(168deg, #09090B 0%, #18181B 50%, #27272A 100%);

    /* Grey Scale — Zinc palette */
    --color-grey-50: #FAFAFA;
    --color-grey-100: #F4F4F5;
    --color-grey-200: #E4E4E7;
    --color-grey-300: #D4D4D8;
    --color-grey-400: #A1A1AA;
    --color-grey-500: #71717A;
    --color-grey-600: #52525B;
    --color-grey-700: #3F3F46;
    --color-grey-800: #27272A;
    --color-grey-900: #18181B;
    --color-grey-950: #09090B;

    /* Blue Scale */
    --color-blue-50: #EFF6FF;
    --color-blue-100: #DBEAFE;
    --color-blue-200: #BFDBFE;
    --color-blue-500: #3B82F6;
    --color-blue-600: #2563EB;
    --color-blue-700: #1D4ED8;
    --color-blue-800: #1E40AF;

    /* Background & Surface */
    --color-background: #ffffff;
    --color-surface: #ffffff;
    --color-surface-alt: var(--color-grey-50);
    --color-surface-raised: var(--color-grey-100);

    /* Text Colors */
    --color-text-primary: var(--color-grey-950);
    --color-text-secondary: var(--color-grey-600);
    --color-text-muted: var(--color-grey-500);
    --color-text-light: var(--color-grey-400);
    --color-text-inverse: #ffffff;

    /* Border Colors */
    --color-border: var(--color-grey-200);
    --color-border-light: var(--color-grey-100);
    --color-border-strong: var(--color-grey-300);

    /* Footer */
    --footer-bg: var(--color-grey-950);
    --footer-text: var(--color-grey-400);
    --footer-heading: #ffffff;
    --footer-link: var(--color-grey-400);
    --footer-link-hover: #ffffff;
    --footer-divider: rgba(255, 255, 255, 0.08);

    /* Typography */
    --font-heading: 'Sora', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Geist', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;

    /* Font Sizes */
    --text-xs: 12px;
    --text-sm: 14px;
    --text-base: 17px;
    --text-lg: 18px;
    --text-xl: 20px;
    --text-2xl: 24px;
    --text-3xl: 30px;
    --text-4xl: 40px;
    --text-5xl: 48px;

    /* Font Weights */
    --font-normal: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;
    --font-extrabold: 800;

    /* Letter Spacing */
    --tracking-tighter: -0.035em;
    --tracking-tight: -0.025em;
    --tracking-normal: 0;
    --tracking-wide: 0.08em;

    /* Line Heights */
    --leading-none: 1;
    --leading-tight: 1.1;
    --leading-snug: 1.25;
    --leading-normal: 1.5;
    --leading-relaxed: 1.625;
    --leading-loose: 1.7;

    /* Spacing */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-8: 32px;
    --space-10: 40px;
    --space-12: 48px;
    --space-16: 64px;
    --space-20: 80px;
    --space-24: 96px;

    /* Layout */
    --container-max-width: 1200px;
    --container-padding: 16px;
    --header-height: 64px;

    /* Border Radius */
    --radius-xs: 4px;
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 10px;
    --radius-xl: 14px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(9, 9, 11, 0.04);
    --shadow-sm: 0 1px 3px rgba(9, 9, 11, 0.06), 0 1px 2px rgba(9, 9, 11, 0.04);
    --shadow-md: 0 4px 6px -1px rgba(9, 9, 11, 0.06), 0 2px 4px -2px rgba(9, 9, 11, 0.04);
    --shadow-lg: 0 10px 15px -3px rgba(9, 9, 11, 0.06), 0 4px 6px -4px rgba(9, 9, 11, 0.04);
    --shadow-xl: 0 20px 25px -5px rgba(9, 9, 11, 0.08), 0 8px 10px -6px rgba(9, 9, 11, 0.04);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 200ms ease;
    --transition-slow: 300ms ease;
}

/* CSS Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

html {
    font-size: 100%;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: var(--font-normal);
    line-height: var(--leading-normal);
    color: var(--color-text-primary);
    background-color: var(--color-background);
}

/* Typography Base */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: var(--font-bold);
    line-height: var(--leading-tight);
    letter-spacing: var(--tracking-tight);
    color: var(--color-text-primary);
}

h1 {
    font-size: var(--text-5xl);
    letter-spacing: var(--tracking-tighter);
}

h2 {
    font-size: var(--text-3xl);
}

h3 {
    font-size: var(--text-xl);
}

h4 {
    font-size: var(--text-lg);
}

h5, h6 {
    font-size: var(--text-base);
}

p {
    font-size: var(--text-base);
    line-height: var(--leading-loose);
    color: var(--color-text-secondary);
}

a {
    color: var(--color-brand);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-brand-dark);
}

ul, ol {
    list-style: none;
}

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

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: var(--space-4);
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    color: #ffffff;
    background: var(--color-brand);
    border-radius: var(--radius-sm);
    text-decoration: none;
    z-index: 9999;
    transition: top var(--transition-fast);
}

.skip-link:hover {
    color: #fff;
    background: var(--color-brand-dark);
}

.skip-link:focus {
    top: var(--space-4);
}

/* Layout */
.page-main {
    margin: 0 auto;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Utility: Horizontal Rule */
hr {
    display: block;
    height: 1px;
    border: 0;
    background-color: var(--color-border);
    margin: var(--space-6) 0;
}

/* Utility: Selection */
::selection {
    background-color: var(--color-brand);
    color: #fff;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--color-grey-300);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-grey-400);
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--color-grey-300) transparent;
}

/* Responsive: Tablet */
@media (min-width: 768px) {
    :root {
        --container-padding: 24px;
    }
}

/* Responsive: Desktop */
@media (min-width: 1024px) {
    :root {
        --container-padding: 32px;
    }
}

/* Responsive: Mobile Adjustments */
@media (max-width: 767px) {
    :root {
        --text-5xl: 32px;
        --text-4xl: 28px;
        --text-3xl: 24px;
        --text-2xl: 20px;
        --text-xl: 18px;
    }

    .desktop-only {
        display: none;
    }
}

/*********** Ghost Default ***********/
.kg-width-wide {
    position: relative;
    width: 85vw;
    min-width: 100%;
    margin: auto calc(50% - 50vw);
    transform: translateX(calc(50vw - 50%))
}

.kg-width-full {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw
}

aside.gh-post-upgrade-cta {
    display: none;
}