:root {
    --red: #c0122f;
    --light-gray: #cccccc;
    --text-gray: #444444;
    --light-blue: #1E90FF;
}
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html, body {
    font-family: sans-serif;
    background: #f5f5f5;
    min-height: 100vh;
    color: #111111;
    line-height: 1.5;
}
main {
    max-width: 960px;
    margin: 0 auto;
    padding: 2rem 1.25rem;
}
header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-bottom: 1px solid var(--light-gray);
    padding-bottom: 12px;
    margin-bottom: 2rem;
}
h1 {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
    color: #1a1a1a;
}
.subtitle {
    font-size: 0.8rem;
    color: var(--text-gray);
    letter-spacing: 0.04em;
}
.hero {
    margin-bottom: 2rem;
}
.tag {
    display: inline-block;
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--red);
    border: 0.5px solid var(--red);
    padding: 0.2rem 0.6rem;
    border-radius: 2px;
    margin-bottom: 1.2rem;
}
.hero-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: #1a1a1a;
}
.hero p {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 0.3rem;
    max-width: 680px;
}
.pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}
.pill {
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    padding: 0.2rem 0.65rem;
    border-radius: 20px;
    border: 1px solid var(--light-gray);
    color: var(--text-gray);
    background: transparent;
}
.hero-image {
    width: 100%;
    margin-top: 1.5rem;
    border-radius: 4px;
    display: block;
    object-fit: cover;
    border: 1px solid var(--light-gray);
}
.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 1.25rem;
    margin-bottom: 2.5rem;
}
.cta-btn {
    display: block;
    width: 30%;
    padding: 0.85rem 1.25rem;
    background: var(--red);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    font-family: sans-serif;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-align: left;
    transition: opacity 0.15s, transform 0.15s;
}
.cta-btn:hover {
    opacity: 0.85;
    transform: translateY(-1px);
}
.cta-btn .btn-desc {
    display: block;
    font-size: 0.7rem;
    font-weight: 400;
    opacity: 0.8;
    margin-top: 3px;
    text-transform: none;
    letter-spacing: 0;
}
.section-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--red);
    margin-bottom: 12px;
    margin-top: 16px;
    border-top: 1px solid var(--light-gray);
    padding-top: 12px;
}
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 10px;
    margin-bottom: 2rem;
}
.card {
    display: block;
    background: #ffffff;
    border: 1px solid var(--light-gray);
    border-radius: 3px;
    padding: 1.1rem 1.25rem;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s;
    overflow: hidden;
}
.card:hover {
    border-color: #999;
}
.card-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: #1a1a1a;
}
.card-title.highlight {
    color: var(--red);
}
.card-desc {
    /*font-size: 0.82rem;*/
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.5;
}
hr {
    border: none;
    border-top: 0.5px solid var(--light-gray);
    margin: 16px 0;
}
@media all and (max-width: 640px) {
    .grid {
        grid-template-columns: 1fr 1fr;
    }
    header {
        flex-direction: column;
        gap: 4px;
    }
    .cta-btn {
        width: 100%;
    }
}

.auth-link {
    font-size: 0.78rem;
    color: var(--text-gray);
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: color 0.15s;
    white-space: nowrap;
}
 
.auth-link:hover {
    color: #f0f0f0;
}
 
.auth-link .auth-sep {
    color: var(--light-gray);
    margin: 0 0.4em;
}
 
.auth-link .auth-signup {
    color: var(--red);
}
 
.auth-link:hover .auth-signup {
    opacity: 0.8;
}