@font-face {
    font-family: 'T';
    src: url('../fonts/telder-wght.woff2') format('woff2');
    font-weight: 100 900;
    font-display: swap;
}

:root {
    --bg: #f5f4f0;
    --text: #1a1a1a;
    --muted: oklch(50% 0.05 106);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'T', Georgia, serif;
    background: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Layout */

.wrap {
    max-width: 640px;
    margin: 0 auto;
    padding: 60px 24px 80px;
    animation: enter 0.8s ease both;
}

@keyframes enter {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Logo */

.logo {
    max-width: 320px;
    width: 75%;
    display: block;
    margin: 0 auto;
}

.logo--sm {
    max-width: 200px;
    width: 50%;
}

/* Divider */

.page-hr {
    width: 40px;
    border: none;
    border-top: 1px solid var(--text);
    margin: 32px auto;
}

/* Typography */

h1 {
    font-weight: 400;
    font-size: 1.3rem;
    text-align: center;
    letter-spacing: 0.02em;
    margin-bottom: 40px;
}

h2 {
    font-weight: 500;
    font-size: 1rem;
    margin-top: 32px;
    margin-bottom: 8px;
}

p {
    font-weight: 350;
    font-size: 0.95rem;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 12px;
}

/* Landing */

.lead {
    font-size: 1.05rem;
    letter-spacing: 0.01em;
    line-height: 1.5;
}

.soon {
    margin-top: 28px;
    font-weight: 400;
    font-size: 1rem;
    letter-spacing: 0.02em;
    color: var(--text);
}

/* Links */

.link {
    display: inline-block;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text);
    text-decoration: none;
    letter-spacing: 0.01em;
    border-bottom: 1px solid var(--muted);
    padding-bottom: 2px;
    transition: border-color 0.2s;
}

.link:hover {
    border-color: var(--text);
}

.link--email {
    margin-top: 32px;
}

.link--back {
    margin-top: 48px;
}

/* Responsive */

@media (max-width: 420px) {
    .wrap {
        padding: 40px 20px 60px;
    }

    .logo {
        max-width: 240px;
    }

    .logo--sm {
        max-width: 160px;
    }

    .page-hr {
        margin: 24px auto;
    }

    h1 {
        font-size: 1.1rem;
    }
}
