:root {
    --bg: #f5f3ef;
    --paper: #fbfaf8;
    --text: #3e3a35;
    --muted: #7a746d;
    --accent: #b8a48b;
}

/* Reset */
* { box-sizing: border-box; }

body {
    margin: 0;
    min-height: 100vh;
    background: var(--bg);
    font-family: Inter, sans-serif;
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Ambient background */
body::before {
    content: "";
    position: absolute;
    inset: -20%;
    background:
        radial-gradient(circle at 30% 40%, rgba(184,164,139,.12), transparent 45%),
        radial-gradient(circle at 70% 60%, rgba(184,164,139,.10), transparent 50%);
    animation: floatBg 30s ease-in-out infinite alternate;
}

@keyframes floatBg {
    from { transform: translateY(0); }
    to { transform: translateY(-40px); }
}

/* Card */
.page {
    position: relative;
    max-width: 760px;
    width: 90%;
    background: var(--paper);
    padding: 60px 50px 40px;
    border-radius: 22px;
    box-shadow: 0 25px 50px rgba(0,0,0,.08);
    text-align: center;
    animation: fadeUp .9s ease;
}

/* Paper grain */
.page::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background-image:
        repeating-linear-gradient(
            45deg,
            rgba(0,0,0,0.015),
            rgba(0,0,0,0.015) 1px,
            transparent 1px,
            transparent 3px
        );
    pointer-events: none;
}

/* Logo */
.logo {
    margin-bottom: 40px;
}
.logo img {
    max-width: 240px;
}

/* Typography */
h1 {
    font-family: "Playfair Display", serif;
    font-weight: 400;
    font-size: 42px;
    margin-bottom: 16px;
}

p {
    font-size: 17px;
    color: var(--muted);
    line-height: 1.6;
    max-width: 520px;
    margin: 0 auto 24px;
}

.note {
    font-size: 14px;
}

/* Divider */
.divider {
    width: 80px;
    height: 1px;
    background: var(--accent);
    margin: 30px auto;
}

/* Bottom navigation */
.nav {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 28px;
}

.nav a {
    text-decoration: none;
    font-size: 14px;
    color: var(--muted);
    position: relative;
}

.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width .3s ease;
}

.nav a:hover::after {
    width: 100%;
}

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