:root {
    --bg: #f6f7f8;
    --surface: #ffffff;
    --text: #20242c;
    --muted: #69707d;
    --line: #e4e7ec;
    --gold: #b58a2b;
    --gold-soft: #f3ead2;
    --shadow: 0 18px 45px rgba(30, 35, 46, 0.08);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(181, 138, 43, 0.12), transparent 34rem),
        var(--bg);
    color: var(--text);
    font-family: Inter, Arial, sans-serif;
}

.page-shell {
    width: min(100%, 560px);
    margin: 0 auto;
    padding: 56px 20px 48px;
}

.profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 132px;
    min-height: 108px;
    margin-bottom: 22px;
    text-decoration: none;
}

.brand-logo {
    width: 120px;
    height: auto;
    display: block;
}

h1 {
    margin: 0;
    font-size: clamp(28px, 8vw, 44px);
    line-height: 1.08;
    font-weight: 700;
    letter-spacing: 0;
}

.profile p {
    max-width: 460px;
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.65;
}

.links {
    display: grid;
    gap: 12px;
    margin-top: 34px;
}

.link-card {
    display: grid;
    grid-template-columns: 46px 1fr;
    align-items: center;
    min-height: 68px;
    padding: 11px 16px 11px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 1px 0 rgba(30, 35, 46, 0.03);
    color: var(--text);
    text-decoration: none;
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.link-card:hover,
.link-card:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(181, 138, 43, 0.45);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.link-card:focus-visible {
    outline: 3px solid rgba(181, 138, 43, 0.2);
    outline-offset: 3px;
}

.link-card.primary {
    border-color: rgba(181, 138, 43, 0.32);
    background: linear-gradient(135deg, #ffffff 0%, var(--gold-soft) 100%);
}

.link-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    object-fit: cover;
}

.text-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--text);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.link-card strong,
.link-card small {
    display: block;
    letter-spacing: 0;
}

.link-card strong {
    font-size: 16px;
    line-height: 1.25;
}

.link-card small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.35;
    word-break: break-word;
}

@media (max-width: 420px) {
    .page-shell {
        padding: 40px 16px 36px;
    }

    .links {
        margin-top: 28px;
    }

    .link-card {
        grid-template-columns: 42px 1fr;
        min-height: 64px;
        padding-right: 14px;
    }

    .link-icon {
        width: 32px;
        height: 32px;
    }
}
