:root {
    --bg: #0d1117;
    --fg: #e6edf3;
    --muted: #7d8590;
    --accent: #f78166;
    --link: #58a6ff;
    --border: rgba(127, 127, 127, 0.3);
    --card-bg: rgba(255, 255, 255, 0.02);
}

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

body {
    font-family: 'SF Mono', 'Consolas', 'Liberation Mono', monospace;
    background: var(--bg);
    color: var(--fg);
    line-height: 1.6;
    font-size: 15px;
}

main {
    max-width: 920px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

@media (max-width: 768px) {
    main {
        padding: 2rem 1.5rem;
    }
}

h1 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.header-blog-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--fg);
    margin-left: 0.5rem;
}

.header-blog-link:hover {
    color: var(--accent);
}

.tagline {
    color: var(--muted);
    margin-bottom: 2.5rem;
}

section {
    margin-bottom: 3rem;
}

h2 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
    color: var(--fg);
}

.project {
    margin-bottom: 1.5rem;
}

.project-card {
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    background: var(--card-bg);
    transition: border-color 0.15s ease;
}

.project-card:hover {
    border-color: rgba(127, 127, 127, 0.5);
}

.project-name {
    font-weight: 600;
    color: var(--fg);
}

.project-desc {
    color: var(--muted);
    margin-top: 0.25rem;
}

.skills {
    color: var(--muted);
}

.skills span {
    display: inline-block;
    margin-right: 1.5rem;
    margin-bottom: 0.5rem;
}

a {
    color: var(--link);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.links {
    color: var(--muted);
}

.links a {
    margin-right: 1.5rem;
}

.status {
    display: inline-block;
    font-size: 0.75rem;
    padding: 0.15rem 0.5rem;
    background: rgba(247, 129, 102, 0.15);
    color: var(--accent);
    border-radius: 4px;
    margin-left: 0.5rem;
}

.back-link {
    display: inline-block;
    margin-bottom: 2rem;
    font-size: 0.875rem;
}

/* Audience Navigation */
.audience-nav {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.5rem;
}

.audience-nav a {
    color: var(--muted);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.2s;
}

.audience-nav a:hover,
.audience-nav a.active {
    color: var(--fg);
    background: var(--card-bg);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

section[id] {
    animation: fadeIn 0.3s ease-out;
}

/* Value Cards */
.value-card {
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.value-card h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
}

/* Plain English summaries */
.plain-english {
    font-style: italic;
    color: var(--muted);
    padding: 0.75rem;
    background: rgba(88, 166, 255, 0.1);
    border-left: 3px solid var(--link);
    margin-top: 0.75rem;
    border-radius: 0 4px 4px 0;
}

/* Synkti landing styles */
.hero {
    text-align: center;
    padding: 3rem 0;
}

.hero h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-transform: none;
    letter-spacing: normal;
}

.cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.button-primary, .button-secondary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}

.button-primary {
    background: var(--link);
    color: var(--bg);
}

.button-primary:hover {
    background: #79b8ff;
    text-decoration: none;
}

.button-secondary {
    background: transparent;
    color: var(--fg);
    border: 1px solid var(--border);
}

.button-secondary:hover {
    border-color: var(--fg);
    text-decoration: none;
}

.feature {
    margin-bottom: 2rem;
}

.feature h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.results {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}

.metric .number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--accent);
}

.metric .label {
    color: var(--muted);
    font-size: 0.875rem;
}

@media (max-width: 600px) {
    .results {
        grid-template-columns: 1fr;
    }

    .cta {
        flex-direction: column;
    }
}

/* Featured Project Card */
.featured {
    border: 2px solid var(--link);
    background: rgba(88, 166, 255, 0.05);
}

.featured-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.value-prop {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--fg);
}

.ctas {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.cta-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.2s;
}

.cta-link:hover {
    border-color: var(--link);
    background: rgba(88, 166, 255, 0.1);
}

/* Project Row */
.project-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .project-row {
        grid-template-columns: 1fr;
    }
}

/* Roadmap Styles */
.roadmap {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.phase {
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 1rem 1.25rem;
    background: var(--card-bg);
}

.phase.completed {
    border-left: 3px solid #3fb950;
}

.phase.current {
    border-left: 3px solid var(--link);
    background: rgba(88, 166, 255, 0.05);
}

.phase.future {
    border-left: 3px solid var(--muted);
    opacity: 0.8;
}

.phase-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.phase-marker {
    font-size: 1rem;
    width: 1.5rem;
    text-align: center;
}

.phase.completed .phase-marker {
    color: #3fb950;
}

.phase.current .phase-marker {
    color: var(--link);
}

.phase.future .phase-marker {
    color: var(--muted);
}

.phase-items {
    margin: 0;
    padding-left: 2rem;
    color: var(--muted);
    font-size: 0.875rem;
}

.phase-items li {
    margin-bottom: 0.25rem;
}

/* Phase status in project cards */
.phase-status {
    font-size: 0.7rem;
    white-space: nowrap;
}

@media (max-width: 600px) {
    .phase-status {
        font-size: 0.6rem;
    }

    .audience-nav {
        flex-wrap: wrap;
    }

    .audience-nav a {
        padding: 0.4rem 0.6rem;
        font-size: 0.85rem;
    }
}
