:root {
    --bg: #f4f8fb;
    /* light */
    --card: #ffffff;
    --accent: #304fff;
    /* blue reference */
    --muted: #6b7280;
    --glass: rgba(255, 255, 255, 0.6);
    --shadow: 0 8px 20px rgba(30, 50, 80, 0.08);
    --radius: 14px;
    --maxw: 1100px;
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
    color: #0f172a;
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    background: white;
    min-height: 100vh;
    padding: 40px 20px;
    display: flex;
    justify-content: center
}

.container {
    width: 100%;
    max-width: var(--maxw)
}

/* Header card */
.hero {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 24px;
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 28px
}

.photo {
    height: 220px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent), #3aa0df);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 22px
}

.photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 9px
}

.name {
    margin: 0;
    font-size: 22px;
    font-weight: 800
}

.role {
    margin: 6px 0 14px;
    color: var(--accent);
    font-weight: 600
}

.contact {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: 14px
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #f2f8fd;
    border: 1px solid rgba(30, 115, 190, 0.08)
}

/* Main layout */
.grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 20px;
    margin-top: 22px
}

.card {
    background: var(--card);
    border-radius: 12px;
    padding: 18px;
    box-shadow: var(--shadow);
    border: none;
}

h2 {
    margin: 0 0 12px;
    font-size: 16px
}

p {
    margin: 0 0 10px;
    color: #334155;
    line-height: 1.45
}

ul {
    margin: 8px 0 12px 18px
}

li {
    margin: 6px 0
}

/* Sidebar */
.sidebar .section {
    margin-bottom: 14px
}

.skill {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 8px 0
}

.bar {
    height: 8px;
    background: #eef3fb;
    border-radius: 999px;
    flex: 1;
    margin-left: 12px;
    overflow: hidden
}

.bar>span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--accent), #9bbeff);
    border-radius: 999px
}

/* Experience timeline */
.job {
    margin-bottom: 14px
}

.job .meta {
    color: var(--muted);
    font-size: 13px
}

.integrations {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px
}

.chip {
    background: #f8fafc;
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 13px;
    border: 1px solid rgba(15, 23, 42, 0.04)
}

/* Footer */
.download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: #fff;
    padding: 10px 14px;
    border-radius: 10px;
    text-decoration: none
}

/* responsive */
@media(max-width:880px) {
    .hero {
        grid-template-columns: 1fr
    }

    .grid {
        grid-template-columns: 1fr
    }

    .sidebar {
        order: 2
    }
}

#main-wrapper {
  background: #fff;
  height: fit-content;
  border-radius: 10px;
}