@font-face {
    font-family: 'Vergilia';
    src: url('../fonts/Vergilia.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

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

html, body {
    height: 100%;
    background: #fafafa;
    color: #2a2a2a;
    font-family: 'Vergilia', Georgia, serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

#quote {
    max-width: 36em;
    font-size: clamp(1.4rem, 4vw, 2.4rem);
    line-height: 1.55;
    text-align: center;
    color: #2a2a2a;
    letter-spacing: -0.02em;
    animation: fadeIn 0.8s ease;
    font-variant-numeric: lining-nums;
    font-feature-settings: "lnum" 1;
}

#quote::before {
    content: "\201C";
    display: block;
    font-size: 3em;
    line-height: 0.4;
    color: #ccc;
    font-style: normal;
}

footer {
    position: fixed;
    bottom: 1.5rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.75rem;
    color: #333;
    font-style: normal;
    letter-spacing: 0.04em;
}

footer a {
    color: #333;
    text-decoration: none;
}

footer img {
    width: 12px;
    height: 12px;
    vertical-align: middle;
    margin-bottom: 1px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}
