:root {
    --color-primary: #1f2937;
    --color-gold: #b8860b;
    --color-gold-light: #d4a84b;
    --color-bg: #f3f4f6;
    --color-white: #ffffff;
    --color-gray-100: #f3f4f6;
    --color-gray-200: #e5e7eb;
    --color-gray-300: #d1d5db;
    --color-gray-400: #9ca3af;
    --color-gray-500: #6b7280;
    --color-gray-600: #4b5563;
    --color-gray-700: #374151;
    --color-gray-800: #1f2937;
    --color-gray-900: #111827;
    --color-red: #ef4444;
    --color-orange: #f97316;
    --color-yellow: #C7983A;
    --color-green: #10b981;
    --color-blue: #3b82f6;
    --color-purple: #8b5cf6;
    --color-pink: #ec4899;
    --color-teal: #14b8a6;
    --color-violet: #7c3aed;

    /* Concept design tokens */
    --navy-900: #12161f;
    --navy-800: #1a1f2b;
    --navy-700: #232a38;
    --gold-600: #b8892f;
    --gold-500: #c99a3c;
    --gold-400: #d9b25e;
    --gold-100: #f6ecd6;
    --gold-050: #fbf6ea;
    --surface: #ffffff;
    --surface-2: #fafbfc;
    --border: #e8eaf0;
    --border-strong: #d5d8e0;
    --text: #1c2230;
    --text-soft: #5a6274;
    --text-faint: #8b93a5;
    --danger: #e0485a;
    --shadow-xs: 0 1px 2px rgba(20, 25, 40, .05);
    --shadow-concept-sm: 0 1px 3px rgba(20, 25, 40, .07), 0 1px 2px rgba(20, 25, 40, .04);
    --shadow-concept-md: 0 6px 18px rgba(20, 25, 40, .09);
    --shadow-concept-lg: 0 12px 40px rgba(20, 25, 40, .16);
    --shadow-concept-xl: 0 24px 70px rgba(15, 18, 25, .26);
    --ease: cubic-bezier(.22, .61, .36, 1);

    --font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --radius-sm: 0.25rem;
    --radius: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-full: 9999px;
}

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

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Slim rounded scrollbars. Without this, Windows renders the chunky native
   bar with stepper arrows. Note: setting `scrollbar-width` anywhere makes
   Chrome 121+ ignore these pseudo-elements, so don't reintroduce it. */
::-webkit-scrollbar {
    width: 9px;
    height: 9px;
}

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

::-webkit-scrollbar-thumb {
    background: #cfd3dc;
    border-radius: 20px;
    border: 3px solid transparent;
    background-clip: content-box;
}

::-webkit-scrollbar-thumb:hover {
    background: #b9bec9;
    background-clip: content-box;
}

::-webkit-scrollbar-button {
    display: none;
}

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

body {
    font-family: var(--font-sans);
    background-color: var(--color-gray-100);
    color: var(--color-gray-800);
    line-height: 1.5;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
}

ul, ol {
    list-style: none;
}

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

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

input {
    font-family: inherit;
    border: none;
    outline: none;
}

/* textarea and select don't inherit the page font on their own — without this
   a textarea falls back to the UA monospace default. */
textarea,
select {
    font-family: inherit;
    font-size: 14px;
    color: var(--text);
}

.main-content {
    flex: 1;
    /* Flex items default to min-width:auto, which lets wide content push the
       page past the viewport instead of shrinking. */
    min-width: 0;
    padding: 24px 26px 44px;
    min-height: calc(100vh - 60px);
}

.footer {
    background-color: var(--color-white);
    border-top: 1px solid var(--color-gray-200);
    padding: 1rem 1.5rem;
    text-align: center;
}

.footer-text {
    font-size: 0.875rem;
    color: var(--color-gray-500);
}

@page {
    margin: 0;
}
