/*
 * PostgreSQL Theme
 * Inspired by PostgreSQL's brand palette:
 *   Deep navy (#336791 → darkened) as primary
 *   PostgreSQL blue (#336791) as accent
 *   Light steel / silver grays as surfaces
 *   Elephant-gray neutrals
 */

:root {
    --color-on-background: #1a1f2e;
    --color-inverse-primary: #90b4d8;
    --color-on-tertiary-container: #2c6b9e;
    --color-inverse-surface: #222b38;
    --color-surface-dim: #d0d8e4;
    --color-primary: #0d2237;
    --color-secondary-fixed: #ccdff2;
    --color-outline-variant: #b8c8d8;
    --color-on-surface: #1a1f2e;
    --color-on-tertiary: #ffffff;
    --color-on-primary: #ffffff;
    --color-on-secondary-container: #2d5278;
    --color-surface-variant: #dde5ef;
    --color-on-error-container: #93000a;
    --color-primary-fixed: #d6e8f7;
    --color-tertiary: #0a1e30;
    --color-surface-container-lowest: #ffffff;
    --color-on-secondary: #ffffff;
    --color-primary-container: #1a3a5c;
    --color-surface-container: #eaf0f7;
    --color-on-tertiary-fixed: #001a2c;
    --color-secondary-container: #cddff3;
    --color-secondary-fixed-dim: #a8c4dc;
    --color-on-error: #ffffff;
    --color-surface-container-high: #e0e9f3;
    --color-on-surface-variant: #3a4a5c;
    --color-primary-fixed-dim: #90b4d8;
    --color-on-secondary-fixed: #0a1e30;
    --color-outline: #5e7a93;
    --color-error-container: #ffdad6;
    --color-on-tertiary-fixed-variant: #1a4a6e;
    --color-tertiary-container: #0d2a40;
    --color-surface-tint: #336791;
    --color-inverse-on-surface: #edf3f8;
    --color-tertiary-fixed-dim: #6ab0d8;
    --color-secondary: #3a6080;
    --color-on-primary-fixed-variant: #1a5280;
    --color-on-secondary-fixed-variant: #22486a;
    --color-error: #ba1a1a;
    --color-on-primary-container: #5fa8d8;
    --color-tertiary-fixed: #8ecbec;
    --color-background: #f5f8fc;
    --color-surface-container-highest: #d8e4ef;
    --color-on-primary-fixed: #071929;
    --color-surface: #f5f8fc;
    --color-surface-bright: #f9fbfe;
    --color-surface-container-low: #eef4f9;


    --font-headline: 'Manrope', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-serif: 'Lora', serif;


    --radius: 0.125rem;
    --radius-lg: 0.25rem;
    --radius-xl: 0.5rem;
    --radius-full: 0.75rem;

    --bs-gutter-x: 1rem !important;
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("/static/vendors/fonts/inter-400.woff2") format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("/static/vendors/fonts/inter-500.woff2") format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("/static/vendors/fonts/inter-600.woff2") format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Lora';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("/static/vendors/fonts/lora-400.woff2") format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Lora';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("/static/vendors/fonts/lora-700.woff2") format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("/static/vendors/fonts/manrope-700.woff2") format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url("/static/vendors/fonts/manrope-800.woff2") format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


@font-face {
    font-family: 'Material Symbols Outlined';
    font-style: normal;
    font-weight: 100 700;
    font-display: swap;
    src: url("/static/vendors/fonts/material-symbols-outlined.woff2") format('woff2');
}

.material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
}


html {
    font-family: var(--font-body);
    color: var(--color-on-surface);
    background: var(--color-background);
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-background);
    color: var(--color-on-surface);
    font-family: var(--font-body);
}

::selection {
    background-color: var(--color-primary-fixed);
    color: var(--color-on-primary-fixed);
}

a {
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}


#site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background-color: rgba(245, 248, 252, 0.9);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(184, 200, 216, 0.15);
    width: 100%;
}

.btn-sign-in {
    color: var(--color-primary);
    font-weight: 700;
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    background: none;
    border: none;
    cursor: pointer;
    border-radius: var(--radius);
    transition: background-color 0.2s;
}

.btn-sign-in:hover {
    background-color: var(--color-surface-container);
}

.btn-demo {
    background-color: var(--color-primary);
    color: white;
    padding: 0.625rem 1.5rem;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -2px rgba(0, 0, 0, .1);
    transition: opacity 0.2s;
}

.btn-demo:hover {
    opacity: 0.9;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
}


.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius);
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
}

.badge-secondary {
    background-color: var(--color-secondary-container);
    color: var(--color-on-secondary-container);
}

.badge-primary-fixed {
    background-color: var(--color-primary-fixed);
    color: var(--color-primary);
}

.badge-tertiary-fixed {
    background-color: var(--color-tertiary-fixed);
    color: var(--color-on-tertiary-fixed-variant);
}


.eyebrow {
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-surface-tint);
}


.btn-primary {
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 700;
    color: #ffffff;
    background-color: var(--color-primary);
    border: none;
    padding: 0.625rem 1.5rem;
    border-radius: var(--radius);
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);
    cursor: pointer;
    transition: opacity 0.15s;
}

.btn-primary-lg {
    background-color: var(--color-primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s;
    white-space: nowrap;
}

.btn-primary-lg:hover,
.btn-primary:hover {
    opacity: 0.9;
}

.btn-outline-lg {
    background: transparent;
    color: var(--color-primary);
    border: 1.5px solid var(--color-outline);
    padding: 1rem 2rem;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s;
    white-space: nowrap;
}

.btn-outline {
    background: transparent;
    color: var(--color-primary);
    padding: 0.625rem 1.5rem;
    border: 1.5px solid var(--color-outline);
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s;
    white-space: nowrap;
}

.btn-outline:hover,
.btn-outline-lg:hover {
    color: var(--color-on-primary);
    background-color: var(--color-on-tertiary-container);
    border-color: var(--color-on-tertiary-container);
}

.section-inner {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-headline {
    font-family: var(--font-serif);
    color: var(--color-primary);
    line-height: 1.1;
    margin-bottom: 2rem;
}

.section-header {
    line-height: 1.1;
    margin: 2rem 0;
    text-align: center;
}

.section-header p {
    text-align: center;
}

.section-header h2,
.section-header .main-header {
    font-size: 2.7rem;
    font-family: var(--font-serif);
    color: var(--color-primary);
}

p {
    text-align: left;
}
