/* ==========================================
   datamint-base.css — Shared Warm Mint Design Tokens
   Used by all public-facing static pages.
   ========================================== */

/* ---------- Design Tokens ---------- */
:root {
    --mint-900: #1E5C50;
    --mint-700: #2D7B6B;
    --mint-500: #50B9AD;
    --mint-300: #A8E1D4;
    --mint-100: #E6F5F2;
    --mint-50:  #F2FAF8;

    --ink:       #2C2825;
    --charcoal:  #3D3832;
    --stone-700: #5C554D;
    --stone-500: #8A8279;
    --stone-400: #A89F95;
    --stone-300: #C4BBB0;
    --sand:      #E0D8CE;
    --parchment: #F0EBE4;
    --cream:     #F6F1EB;
    --paper:     #FDFAF7;
    --white:     #FFFFFF;

    --amber:     #D4960A;
    --amber-bg:  #FDF6E7;
    --error:     #C44D3E;

    --serif: 'Source Serif 4', Georgia, serif;
    --mono:  'IBM Plex Mono', 'Menlo', monospace;
    --sans:  'Inter', -apple-system, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--sans);
    line-height: 1.6;
    color: var(--charcoal);
    background: var(--cream);
    font-size: 16px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Header ---------- */
.site-header {
    background: var(--paper);
    padding: 48px 0 40px;
    text-align: center;
    border-bottom: 1px solid var(--sand);
}

.header-nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 32px;
}

.nav-link {
    color: var(--stone-500);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    font-family: var(--sans);
    transition: color 0.2s;
    margin-left: 24px;
}

.nav-link:hover {
    color: var(--mint-700);
}

.site-title {
    font-family: var(--mono);
    font-size: 48px;
    font-weight: 600;
    color: var(--mint-700);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.site-title a {
    color: inherit;
    text-decoration: none;
}

.site-title a:hover {
    color: var(--mint-900);
}

.site-subtitle {
    font-family: var(--serif);
    font-size: 20px;
    color: var(--stone-500);
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto 8px;
    line-height: 1.5;
}

.site-descriptor {
    font-size: 14px;
    color: var(--stone-400);
    font-family: var(--sans);
    margin: 0 auto 4px;
}

.credential-line {
    font-size: 14px;
    color: var(--stone-400);
    font-family: var(--sans);
}

/* ---------- Buttons ---------- */
.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    font-family: var(--sans);
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, transform 0.1s;
}

.btn-primary {
    background: var(--mint-700);
    color: var(--white);
    border-color: var(--mint-700);
}

.btn-primary:hover {
    background: var(--mint-900);
    border-color: var(--mint-900);
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: var(--mint-700);
    border-color: var(--mint-700);
}

.btn-secondary:hover {
    background: var(--mint-700);
    color: var(--white);
    transform: translateY(-1px);
}

.btn-tertiary {
    background: transparent;
    color: var(--stone-500);
    border-color: var(--sand);
}

.btn-tertiary:hover {
    border-color: var(--stone-500);
    color: var(--charcoal);
}

/* ---------- Section Heading ---------- */
.section-heading {
    font-family: var(--serif);
    font-size: 26px;
    font-weight: 600;
    color: var(--charcoal);
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.4;
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--parchment);
    border-top: 1px solid var(--sand);
    padding: 32px 0;
    text-align: center;
}

.footer-logo {
    font-family: var(--mono);
    font-size: 18px;
    font-weight: 600;
    color: var(--mint-700);
    margin-bottom: 8px;
}

.footer-tagline {
    font-family: var(--sans);
    font-size: 14px;
    font-style: italic;
    color: var(--mint-700);
    margin-bottom: 6px;
}

.footer-links {
    font-family: var(--sans);
    font-size: 13px;
    color: var(--stone-500);
    margin-bottom: 6px;
}

.footer-links a {
    color: var(--stone-500);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--mint-700);
}

.footer-text {
    font-family: var(--sans);
    font-size: 13px;
    color: var(--stone-500);
}

.footer-text a {
    color: var(--mint-700);
    text-decoration: underline;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .site-title {
        font-size: 32px;
    }

    .site-subtitle {
        font-size: 17px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    .header-nav {
        margin-bottom: 20px;
    }
}
