@font-face {
    font-family: 'ABCMarist';
    src: url('fonts/ABCMarist-Book.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ABCMarist';
    src: url('fonts/ABCMarist-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ABCMarist';
    src: url('fonts/ABCMarist-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

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

html {
    background-color: #ffffff;
}

:root {
    --electric-blue: #002FA7;
    --text-color: #666;
    --bg-color: #ffffff;
    --light-gray: #4d4d4d;
}

body {
    font-family: 'ABCMarist', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    color: var(--text-color);
    background-color: #ffffff;
    line-height: 1.4;
    font-size: 18px;
    min-height: 100vh;
    font-weight: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    overflow: hidden;
}

.content {
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
    min-height: 0;
    margin-top: 5vh;
}

.name-text {
    margin: 0;
    line-height: 1.3;
    font-size: 18px;
    font-weight: 600;
    font-family: 'ABCMarist', sans-serif;
    color: #000000;
}

.content p {
    margin: 0;
    line-height: 1.3;
    font-size: 18px;
    font-weight: normal;
    font-family: 'ABCMarist', sans-serif;
    color: var(--text-color);
}

.name-text + p {
    margin-top: 1.3em;
}

.content p:not(.name-text) ~ p {
    margin-top: 0.75rem;
}

.subtle-link {
    color: var(--electric-blue);
    text-decoration: none;
    font-family: 'ABCMarist', sans-serif;
    transition: opacity 0.2s ease;
}

.subtle-link:hover {
    opacity: 0.7;
}

.investing-link {
    color: #666;
    text-decoration: none;
    font-family: 'ABCMarist', sans-serif;
    transition: opacity 0.2s ease;
}

.investing-link:hover {
    opacity: 0.7;
}

.contact-links {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 13px;
    font-weight: normal;
    color: var(--light-gray);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
    line-height: 1.5;
    margin-top: 1.3em;
}

.contact-link {
    text-decoration: none;
    color: var(--light-gray);
    transition: color 0.2s ease;
    font-family: 'IBM Plex Mono', monospace;
}

.contact-link:hover {
    color: var(--electric-blue);
}

.separator {
    color: var(--light-gray);
    margin: 0 0.2rem;
    font-family: 'IBM Plex Mono', monospace;
}

/* Asterisk board */

.asterisk-board {
    margin-top: 1.75rem;
}

.asterisk-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    border: 1px solid #e0e0e0;
}

.asterisk-card {
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.asterisk-label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.05em;
    color: var(--light-gray);
}

.asterisk-desc {
    font-family: 'ABCMarist', sans-serif;
    font-size: 14px;
    color: #999;
    line-height: 1.3;
}

.asterisk-grid .asterisk-card:nth-child(1),
.asterisk-grid .asterisk-card:nth-child(2) {
    border-bottom: 1px solid #e0e0e0;
}

.asterisk-grid .asterisk-card:nth-child(1),
.asterisk-grid .asterisk-card:nth-child(3) {
    border-right: 1px solid #e0e0e0;
}

@media (max-width: 768px) {
    .container {
        padding: 4rem 1.5rem;
    }

    .name-text {
        font-size: 17px;
    }

    .content {
        gap: 1.5rem;
        margin-top: 0;
    }

    .content p {
        font-size: 17px;
        line-height: 1.155;
    }

    .name-text + p {
        margin-top: 0.0875em;
    }

    .content p:not(.name-text) ~ p {
        margin-top: 0.15625rem;
    }

    .asterisk-board {
        margin-top: 0;
    }

    .contact-links {
        margin-top: 0.0875em;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 3rem 1rem;
    }

    body {
        font-size: 17px;
    }

    .name-text {
        font-size: 16px;
    }

    .content {
        margin-top: 0;
    }

    .content p {
        font-size: 16px;
        line-height: 1.2;
    }

    .name-text + p {
        margin-top: 0.07875em;
    }

    .content p:not(.name-text) ~ p {
        margin-top: 0.1375rem;
    }

    .contact-links {
        font-size: 12px;
        margin-top: 0.07875em;
    }
}
