:root {
    color-scheme: light dark;
    --bg: #0d1117;
    --bg-alt: #161b22;
    --accent: #ff7b54;
    --accent-light: #ffad84;
    --text: #e6edf3;
    --text-muted: rgba(230, 237, 243, 0.65);
    --border: rgba(255, 255, 255, 0.08);
    font-size: 16px;
}

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

body {
    font-family: 'Source Sans 3', system-ui, sans-serif;
    background: radial-gradient(circle at top, rgba(255, 123, 84, 0.07), transparent 55%),
                linear-gradient(160deg, var(--bg), #070b10);
    color: var(--text);
    min-height: 100vh;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2.5rem clamp(1.5rem, 4vw, 5rem);
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    font-size: clamp(1.2rem, 2vw, 1.6rem);
}

nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    margin-left: 2rem;
    letter-spacing: 0.04em;
    transition: color 0.2s ease, transform 0.2s ease;
}

nav a:hover,
nav a:focus {
    color: var(--accent-light);
    transform: translateY(-1px);
}

main {
    padding: 0 clamp(1.5rem, 4vw, 5rem) 4rem;
}

.hero {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
    padding: 3rem 0 4rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 1.1rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
    color: var(--accent-light);
    font-weight: 600;
    letter-spacing: 0.04em;
    margin-bottom: 1.5rem;
}

h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2.4rem, 6vw, 3.8rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.15;
}

.hero p {
    color: var(--text-muted);
    font-size: clamp(1rem, 2.4vw, 1.15rem);
    max-width: 40ch;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2.5rem;
}

.hero-actions--compact {
    margin-top: 1.5rem;
}

.cta {
    padding: 0.9rem 1.8rem;
    border-radius: 999px;
    border: none;
    font-weight: 600;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.cta-primary {
    background: var(--accent);
    color: #111;
    box-shadow: 0 10px 25px rgba(255, 123, 84, 0.35);
}

.cta-primary:hover,
.cta-primary:focus {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(255, 123, 84, 0.45);
}

.cta-secondary {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-muted);
}

.cta-secondary:hover,
.cta-secondary:focus {
    transform: translateY(-2px);
    color: var(--accent-light);
    border-color: rgba(255, 255, 255, 0.18);
}

section {
    margin-bottom: 4rem;
}

h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    margin-bottom: 1.8rem;
    color: #fff;
}

.card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: clamp(1.8rem, 4vw, 2.4rem);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(8px);
}

.card p {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 1.05rem;
}

.card p + p {
    margin-top: 1.4rem;
}

.card-note {
    margin-top: 1.5rem;
}

.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.skill {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    padding: 0.5rem 1.1rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: var(--text);
}

footer {
    border-top: 1px solid var(--border);
    padding: 2.5rem clamp(1.5rem, 4vw, 5rem);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: inherit;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.footer-links a:hover,
.footer-links a:focus {
    color: var(--accent-light);
}

@media (max-width: 600px) {
    header {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    nav a {
        margin: 0 1rem;
    }

    footer {
        flex-direction: column;
        text-align: center;
    }
}
