
:root {
    --sl-primary: #0f766e;
    --sl-bg: #f5f7fb;
    --sl-card: #ffffff;
    --sl-text: #111827;
    --sl-muted: #6b7280;
    --sl-border: #e5e7eb;
    --sl-soft: #f8fafc;
    --sl-shadow: 0 24px 70px rgba(15, 23, 42, 0.10);
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: var(--sl-bg);
}

body.sortalink-profile-page {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at top, color-mix(in srgb, var(--sl-primary) 12%, transparent) 0, transparent 34rem),
        var(--sl-bg);
    color: var(--sl-text);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.sl-page {
    width: 100%;
    min-height: 100vh;
    padding: 28px 16px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.sl-card {
    width: min(100%, 470px);
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(229, 231, 235, 0.9);
    border-radius: 28px;
    padding: 30px 24px 22px;
    box-shadow: var(--sl-shadow);
    text-align: center;
    backdrop-filter: blur(10px);
}

.sl-company-logo-wrap {
    width: 100%;
    min-height: 92px;
    margin: 0 auto 22px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sl-company-logo {
    display: block;
    width: min(240px, 78%);
    height: 92px;
    max-width: none;
    max-height: none;
    object-fit: contain;
}

.sl-avatar {
    width: 112px;
    height: 112px;
    border-radius: 999px;
    object-fit: cover;
    display: block;
    margin: 0 auto 18px;
    border: 4px solid #fff;
    box-shadow: 0 10px 30px rgba(15, 23, 42, .14);
}

.sl-avatar-placeholder {
    background: var(--sl-primary);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 42px;
    font-weight: 700;
}

.sl-header h1 {
    margin: 0;
    color: var(--sl-text);
    font-size: clamp(26px, 7vw, 34px);
    line-height: 1.12;
    letter-spacing: -0.035em;
    font-weight: 760;
}

.sl-role {
    margin: 8px 0 0;
    color: var(--sl-primary);
    font-size: 15px;
    line-height: 1.4;
    font-weight: 650;
}

.sl-bio {
    margin: 14px auto 0;
    max-width: 36ch;
    color: var(--sl-muted);
    font-size: 15px;
    line-height: 1.55;
}

.sl-save-contact,
.sl-cta {
    width: 100%;
    min-height: 52px;
    margin-top: 24px;
    border-radius: 15px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 700;
    transition: transform .16s ease, box-shadow .16s ease, opacity .16s ease;
}

.sl-save-contact {
    background: var(--sl-primary);
    color: #fff;
    box-shadow: 0 12px 26px color-mix(in srgb, var(--sl-primary) 25%, transparent);
}

.sl-save-contact:hover,
.sl-cta:hover {
    transform: translateY(-1px);
}

.sl-save-contact:active,
.sl-cta:active {
    transform: translateY(0);
}

.sl-icon,
.sl-action-icon {
    display: inline-grid;
    place-items: center;
}

.sl-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.sl-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
}

.sl-actions .sl-action {
    flex: 0 0 calc((100% - 30px) / 4);
}

.sl-action {
    min-width: 0;
    padding: 13px 5px 11px;
    border: 1px solid var(--sl-border);
    border-radius: 15px;
    background: var(--sl-soft);
    color: var(--sl-text);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    font-size: 11px;
    font-weight: 650;
    line-height: 1.15;
    transition: border-color .16s ease, background .16s ease, transform .16s ease;
}

.sl-action:hover {
    border-color: color-mix(in srgb, var(--sl-primary) 35%, var(--sl-border));
    background: #fff;
    transform: translateY(-1px);
}

.sl-action-icon svg {
    width: 22px;
    height: 22px;
    fill: var(--sl-primary);
}

.sl-socials {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.sl-social {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid var(--sl-border);
    background: #fff;
    color: var(--sl-primary);
    display: grid;
    place-items: center;
    text-decoration: none;
    transition: transform .16s ease, border-color .16s ease, background .16s ease;
}

.sl-social:hover {
    transform: translateY(-1px);
    border-color: color-mix(in srgb, var(--sl-primary) 35%, var(--sl-border));
    background: var(--sl-soft);
}

.sl-social svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.sl-cta {
    background: transparent;
    color: var(--sl-primary);
    border: 1.5px solid var(--sl-primary);
}

.sl-footer {
    margin-top: 24px;
    padding-top: 19px;
    border-top: 1px solid var(--sl-border);
}

.sl-footer a {
    color: var(--sl-muted);
    text-decoration: none;
    font-size: 12px;
    display: inline-flex;
    align-items: baseline;
    gap: 5px;
}

.sl-footer strong {
    color: var(--sl-text);
    font-size: 13px;
}

@media (max-width: 420px) {
    .sl-page {
        padding: 0;
        background: #fff;
    }

    .sl-card {
        min-height: 100vh;
        border: 0;
        border-radius: 0;
        padding: 26px 18px 20px;
        box-shadow: none;
    }

    .sl-actions {
        gap: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sl-save-contact,
    .sl-cta,
    .sl-action,
    .sl-social {
        transition: none;
    }
}
