/*
  Hub de links — André Guergolet
  Mesmos tokens do tema Ghost. Uma tela, sem JS, sem ícone.
*/

@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:ital,opsz,wght@0,8..60,400;0,8..60,600;1,8..60,400&family=IBM+Plex+Mono:wght@400&family=Geist:wght@400;500&display=swap');

:root {
    --color-paper: #FAF9F6;
    --color-ink: #1A1A1A;
    --color-muted: #6B6B6B;
    --color-hairline: #E0DDD6;
    --color-accent: #34616E;
    --color-accent-warm: #B5532E;

    --font-serif: 'Source Serif 4', Georgia, serif;
    --font-mono: 'IBM Plex Mono', Consolas, monospace;
    --font-sans: 'Geist', Inter, system-ui, -apple-system, sans-serif;

    --space-1: 8px;
    --space-2: 16px;
    --space-3: 24px;
    --space-5: 40px;
    --space-8: 64px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--color-paper);
    color: var(--color-ink);
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    transition: opacity 150ms ease-out;
}

a:hover {
    opacity: 0.72;
}

a:active {
    opacity: 0.56;
}

a:focus-visible {
    outline: 1px solid var(--color-accent);
    outline-offset: -1px;
}

.hub {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-5);
    padding: var(--space-8) var(--space-3);
    max-width: 488px;
    margin: 0 auto;
}

.hub__head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    text-align: center;
}

.hub__logo {
    height: 48px;
    width: auto;
    display: block;
}

.hub__name {
    font-family: var(--font-serif);
    font-size: 33px;
    font-weight: 600;
    line-height: 1.15;
    margin: 0;
}

.hub__bio {
    font-family: var(--font-mono);
    font-size: 13px;
    letter-spacing: 0.05em;
    line-height: 1.7;
    color: var(--color-muted);
    margin: 0;
}

.links {
    width: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--color-hairline);
}

.link {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-3);
    color: var(--color-ink);
}

.link + .link {
    border-top: 1px solid var(--color-hairline);
}

.link__label {
    font-size: 15px;
}

.link__arrow {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--color-accent);
}

.link__arrow--warm {
    color: var(--color-accent-warm);
}

.hub__motto {
    font-family: var(--font-serif);
    font-size: 16px;
    font-style: italic;
    color: var(--color-muted);
    text-align: center;
    margin: 0;
}

@media (max-width: 400px) {
    .hub__name {
        font-size: 26px;
    }

    .link {
        padding: var(--space-2);
    }
}
