/* Plain, document-style page (modelled on the markdown resume) */
:root {
    --text: #1f2328;
    --muted: #656d76;
    --line: #d0d7de;
    --link: #0969da;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #fff;
    color: var(--text);
    font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

main {
    max-width: 760px;
    margin: 0 auto;
    padding: 48px 20px 64px;
}

a {
    color: var(--link);
}

a:focus-visible {
    outline: 2px solid var(--link);
    outline-offset: 2px;
}

h1 {
    margin: 0;
    font-size: 2rem;
    line-height: 1.25;
}

.title {
    margin: 0.15rem 0 1rem;
    color: var(--muted);
    font-size: 1.2rem;
}

/* Phone / Email / LinkedIn lines under the title */
.contact-lines {
    margin: 0 0 1.5rem;
}

.contact-lines div {
    display: flex;
    gap: 0.5rem;
}

.contact-lines dt {
    font-weight: 600;
    min-width: 5rem;
}

.contact-lines dd {
    margin: 0;
}

h2 {
    margin: 2.5rem 0 1rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid var(--line);
    font-size: 1.4rem;
}

p {
    margin: 0 0 1rem;
}

ul {
    margin: 0.4rem 0 0;
    padding-left: 1.4rem;
}

li {
    margin-bottom: 0.2rem;
}

ul.plain {
    padding: 0;
    list-style: none;
}

ul.plain li {
    margin-bottom: 0.6rem;
}

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

/* Experience / education entries: date on the left, details on the right */
.entry {
    display: grid;
    grid-template-columns: 8.5rem minmax(0, 1fr);
    gap: 0.25rem 1.5rem;
    margin-bottom: 1.75rem;
}

.entry-date {
    color: var(--muted);
    font-size: 0.95rem;
}

.entry-role {
    font-weight: 700;
}

.entry-org {
    margin-bottom: 0.2rem;
    font-style: italic;
    color: var(--muted);
}

.entry-label {
    margin-top: 0.8rem;
    font-weight: 700;
}

.skill-line {
    margin-bottom: 0.4rem;
}

.skill-line strong {
    font-weight: 600;
}

/* Contact buttons */
.buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.btn {
    display: inline-block;
    padding: 0.55rem 1.2rem;
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--text);
    font-weight: 600;
    text-decoration: none;
}

.btn:hover {
    background: #f6f8fa;
}

.btn-primary {
    background: var(--text);
    border-color: var(--text);
    color: #fff;
}

.btn-primary:hover {
    background: #3a4149;
}

.btn:focus-visible {
    outline: 2px solid var(--link);
    outline-offset: 2px;
}

@media (max-width: 600px) {
    main {
        padding-top: 32px;
    }

    h1 {
        font-size: 1.6rem;
    }

    .entry {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }

    .entry-date {
        margin-bottom: 0.2rem;
    }
}

@media print {
    main {
        padding: 0;
    }

    .buttons {
        display: none;
    }
}
