
:root {
    --bg-dark: #faf8f5; /* Classic light newsprint paper color */
    --bg-card: #ffffff;
    --border-ink: #111111; /* Strong printer ink for key divisions */
    --border-medium: #a8a49e; /* Secondary ink lines */
    --border-soft: #e5e1da; /* Softer, discreet separator lines */
    --border-color: var(--border-soft); /* Compatibility fallback */
    --text-primary: #111111; /* Rich dark print ink */
    --text-secondary: #3c3c3f; /* Softened dark grey */
    --text-muted: #65656a;
    
    --primary: #111111;
    --primary-hover: #222222;
    --secondary: #111111;
    --secondary-hover: #222222;

    --radius-sm: 4px;
    --radius-md: 6px;
    --transition-fluid: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.65;
    overflow-x: hidden;
}

/* Hide background glows */
.bg-glow, .bg-glow-left {
    display: none;
}

/* Container & Navbar */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.site-header {
    border-bottom: 1px solid var(--border-soft);
    background-color: var(--bg-dark);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 10px 0;
    transition: var(--transition-fluid);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    border-bottom: 1px solid var(--border-soft);
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.logo {
    font-family: 'Inter', sans-serif;
    font-size: 28px;
    font-weight: 900;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -1px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
}

.logo-dot {
    width: 6px;
    height: 6px;
    background-color: var(--text-primary);
    border-radius: 50%;
    display: inline-block;
}

.nav-links {
    display: flex;
    gap: 24px;
    align-items: center;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition-fluid);
}

.nav-link:hover {
    color: var(--text-muted);
}

/* Newspaper-style Masthead in Header */
.masthead-info {
    display: flex;
    justify-content: space-between;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 0;
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
}

/* Buttons styling */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition-fluid);
    cursor: pointer;
    border-radius: var(--radius-sm);
}

.btn-primary {
    background: var(--primary);
    color: #ffffff;
    border: 1px solid var(--primary);
    box-shadow: 0 2px 4px rgba(17, 17, 17, 0.08);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(17, 17, 17, 0.15);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-soft);
}

.btn-secondary:hover {
    background: rgba(17, 17, 17, 0.03);
    border-color: var(--border-medium);
}

/* Hero Section */
.hero {
    padding: 40px 0 36px 0;
    text-align: center;
    border-bottom: 1px solid var(--border-soft);
}

.hero-tag {
    display: inline-block;
    padding: 4px 14px;
    border: 1px solid var(--border-soft);
    border-radius: 20px;
    color: var(--text-primary);
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Inter', sans-serif;
}

.hero-title {
    font-family: 'Inter', sans-serif;
    font-size: 40px;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 14px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-title span {
    border-bottom: 1px solid var(--border-ink);
}

.hero-desc {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto 20px auto;
    font-weight: 400;
    line-height: 1.55;
}

.hero-cta {
    margin-top: 16px;
    margin-bottom: 0;
}

/* Cards (Features and Blog Cards) */
.glass-card, .feature-card, .blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md); /* Smooth fluid corners */
    padding: 24px;
    box-shadow: 0 4px 20px rgba(17, 17, 17, 0.02), 0 1px 2px rgba(17, 17, 17, 0.02);
    transition: var(--transition-fluid);
    text-align: left;
}

.glass-card:hover, .feature-card:hover, .blog-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-medium);
    box-shadow: 0 12px 30px rgba(17, 17, 17, 0.05), 0 2px 4px rgba(17, 17, 17, 0.02);
}

/* Features Grid */
.features {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.section-title span {
    border-bottom: 2px solid var(--border-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 28px;
    border-top: 1px dashed var(--border-soft);
    padding-top: 28px;
}

.feature-icon {
    width: 48px;
    height: 48px;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-sm);
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    margin-bottom: 20px;
    transition: var(--transition-fluid);
}

.feature-title {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 12px;
}

.feature-desc {
    color: var(--text-secondary);
    font-size: 14.5px;
    line-height: 1.55;
}

/* Blog Layout on 2 Columns */
.blog-header {
    padding: 60px 0 30px 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 40px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2-column layout */
    gap: 40px;
    margin-bottom: 60px;
}

.blog-card {
    display: flex;
    flex-direction: column;
}

.blog-card-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-meta {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    display: flex;
    gap: 16px;
    border-bottom: 1px solid var(--border-soft);
    padding-bottom: 6px;
}

.blog-card-title {
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1.25;
}

.blog-card-title a {
    color: var(--text-primary);
    text-decoration: none;
}

.blog-card-title a:hover {
    text-decoration: underline;
}

.blog-card-desc {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 20px;
    flex-grow: 1;
}

.blog-readmore {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border-bottom: 1px solid var(--border-soft);
    padding-bottom: 2px;
    width: fit-content;
    transition: var(--transition-fluid);
}

.blog-readmore svg {
    transition: transform 0.3s ease;
}

.blog-readmore:hover {
    border-bottom-color: var(--border-ink);
}

.blog-readmore:hover svg {
    transform: translateX(4px);
}

/* Single Article Layout */
.article-container {
    max-width: 800px;
    margin: 40px auto 80px auto;
    background: #ffffff;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    padding: 50px;
    box-shadow: 0 10px 40px rgba(17, 17, 17, 0.03);
    transition: var(--transition-fluid);
}

.article-title {
    font-family: 'Inter', sans-serif;
    font-size: 40px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

/* Summary Box (TL;DR) */
.summary-box {
    background: #f7f5f2;
    border: none;
    border-left: 2px solid var(--border-medium);
    border-radius: 0;
    padding: 14px 20px;
    margin-bottom: 32px;
}

.summary-box-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.summary-box-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}

.article-content {
    font-size: 16.5px;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* Drop cap style for first paragraph */
.article-content > p:first-of-type::first-letter {
    font-family: 'Inter', sans-serif;
    float: left;
    font-size: 64px;
    line-height: 52px;
    padding-top: 4px;
    padding-right: 8px;
    font-weight: 900;
    color: var(--text-primary);
}

.article-content p {
    margin-bottom: 24px;
}

.article-content h2 {
    font-family: 'Inter', sans-serif;
    font-size: 26px;
    font-weight: 800;
    margin: 36px 0 16px 0;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-soft);
    padding-bottom: 6px;
}

.article-content h3 {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 700;
    margin: 28px 0 12px 0;
}

.article-content ul, .article-content ol {
    margin-bottom: 24px;
    padding-left: 20px;
}

.article-content li {
    margin-bottom: 8px;
}

.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 32px 0;
    font-size: 15px;
}

.article-content th, .article-content td {
    padding: 12px;
    border: 1px solid var(--border-soft);
    text-align: left;
}

.article-content th {
    background: var(--bg-dark);
    font-weight: 700;
}

/* Footer */
footer {
    border-top: 1px solid var(--border-soft);
    padding: 40px 0;
    background-color: var(--bg-dark);
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    color: var(--text-muted);
}

@media(max-width: 900px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    .blog-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
    }
    .hero-title {
        font-size: 34px;
    }
    .article-container {
        padding: 24px;
    }
}
