:root {
    --ink: #0b1f33;
    --muted: #667085;
    --line: #e6e8ec;
    --soft: #f6f7f9;
    --paper: #ffffff;
    --gold: #c8a45d;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Inter, Arial, sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at top, rgba(200,164,93,.16), transparent 30%),
        linear-gradient(180deg, #ffffff 0%, #f7f7f4 100%);
}

.card-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.card-box {
    width: 100%;
    max-width: 430px;
    background: rgba(255,255,255,.94);
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 28px;
    box-shadow: 0 30px 80px rgba(11,31,51,.12);
    text-align: center;
    overflow: hidden;
    position: relative;
}

.top-line {
    position: absolute;
    top: 0;
    left: 0;
    height: 5px;
    width: 100%;
    background: linear-gradient(90deg, var(--ink), var(--gold));
}

.logo {
    max-width: 160px;
    max-height: 70px;
    object-fit: contain;
    margin: 12px auto 22px;
    display: block;
}

.logo-text {
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin: 12px 0 22px;
}

.avatar-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 18px;
}

.avatar {
    width: 104px;
    height: 104px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 12px 30px rgba(11,31,51,.16);
}

.initials {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ink);
    color: #fff;
    font-size: 42px;
    font-weight: 700;
}

h1 {
    margin: 8px 0 6px;
    font-size: 30px;
    line-height: 1.1;
}

.title {
    margin: 0;
    color: var(--gold);
    font-weight: 700;
}

.company {
    margin: 8px 0 0;
    color: var(--ink);
    font-weight: 600;
}

.bio {
    color: var(--muted);
    line-height: 1.6;
    margin: 18px 0 0;
}

.actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 24px;
}

.action {
    display: block;
    text-decoration: none;
    border: 1px solid var(--line);
    padding: 14px 16px;
    border-radius: 16px;
    color: var(--ink);
    font-weight: 700;
    background: #fff;
}

.action.primary {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
}

.extra-links {
    display: grid;
    gap: 8px;
    margin-top: 18px;
}

.extra-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 14px;
}

footer {
    margin-top: 26px;
    color: #98a2b3;
    font-size: 12px;
}

.qr-image {
    width: 260px;
    height: 260px;
    margin: 20px auto;
    display: block;
}

.qr-url {
    color: var(--muted);
    font-size: 13px;
    word-break: break-all;
}