/* ============================================
   Tokenomics.io - Accounting for the Revolution
   Palette sampled from the 2024 site capture.
   ============================================ */

:root {
    --color-navy-dark: #0d1232;   /* nav bar / footer */
    --color-navy: #1d2953;        /* hero */
    --color-green: #67ad5c;       /* call to action */
    --color-green-dark: #56954d;
    --color-page: #f4f4f4;        /* feature section background */
    --color-card: #ffffff;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-rule: #e4e4e4;
    --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-card-hover: 0 6px 18px rgba(13, 18, 50, 0.14);
    --transition: all 0.25s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    line-height: 1.6;
    background-color: var(--color-card);
}

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

a {
    color: var(--color-green-dark);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--color-green);
}

sup {
    font-size: 0.45em;
    vertical-align: super;
    line-height: 0;
}

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

.container.narrow {
    max-width: 820px;
}

/* Navigation */
.main-nav {
    background: var(--color-navy-dark);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.75rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.nav-logo img {
    height: 62px;
    width: auto;
}

.nav-links {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 1.6rem;
}

.nav-links a {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    white-space: nowrap;
}

.nav-links a:hover {
    color: var(--color-green);
}

/* Hero */
.hero {
    background: var(--color-navy);
    color: #ffffff;
    text-align: center;
    padding: 4.5rem 2rem 5rem;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.1;
}

.hero .tagline {
    font-size: 1.6rem;
    font-style: italic;
    margin-top: 1.5rem;
}

.hero-description {
    font-size: 0.95rem;
    line-height: 1.55;
    max-width: 760px;
    margin: 2rem auto 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.6rem;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 3px;
    transition: var(--transition);
}

.btn-primary {
    margin-top: 2.5rem;
    background: var(--color-green);
    color: #ffffff;
}

.btn-primary:hover {
    background: var(--color-green-dark);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Features */
.features {
    background: var(--color-page);
    padding: 3.5rem 0 4rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.feature-card {
    background: var(--color-card);
    border: 1px solid var(--color-rule);
    border-radius: 4px;
    box-shadow: var(--shadow-card);
    padding: 2.25rem 1.75rem;
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-3px);
}

.feature-card img {
    width: 120px;
    height: auto;
    margin: 0 auto 1.5rem;
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.feature-card p {
    font-size: 0.82rem;
    line-height: 1.55;
    color: var(--color-text-light);
}

/* About & Contact */
.about,
.contact {
    padding: 4rem 0;
}

.contact {
    background: var(--color-page);
    padding: 3rem 0;
}

.about h2,
.contact h2 {
    font-size: 1.9rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--color-navy);
}

.about p,
.contact p {
    font-size: 1rem;
    margin-bottom: 1.1rem;
}

/* Footer */
.site-footer {
    background: var(--color-navy-dark);
    color: #b9c1d8;
    text-align: center;
    padding: 2.5rem 0;
    font-size: 0.85rem;
}

.site-footer p {
    margin-bottom: 0.5rem;
}

.site-footer .copyright {
    margin-bottom: 0;
    color: #8791ae;
}

/* Responsive */
@media (max-width: 960px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero .tagline {
        font-size: 1.3rem;
    }
}

@media (max-width: 700px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        justify-content: center;
        gap: 1.1rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 3rem 1.25rem 3.5rem;
    }

    .hero h1 {
        font-size: 2.4rem;
    }

    .container {
        padding: 0 1.25rem;
    }
}
