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

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #e9f2a4;
    color: #1e1e1e;
    -webkit-font-smoothing: antialiased;
    line-height: 1.55;
}

.page {
    max-width: 820px;
    margin: 0 auto;
    padding: 24px 20px 48px;
    min-height: 100vh;
}

.top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.back {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    background: #fff;
    border: 1.5px solid #c8c8c8;
    box-shadow: 0 2px 6px rgba(0,0,0,.06);
    transition: background .15s, box-shadow .15s;
}
.back:hover {
    background: #f5f5f5;
    box-shadow: 0 3px 10px rgba(0,0,0,.1);
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-name {
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: -0.02em;
}

.flag {
    display: flex;
    flex-direction: column;
    width: 40px;
    height: 18px;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,.12);
}
.flag-yellow { flex: 1; background: #FFD700; }
.flag-blue   { flex: 1; background: #0057B7; }

.content h1 {
    font-size: clamp(1.6rem, 3vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 28px;
    color: #151515;
}

.block {
    background: #fff;
    border-radius: 16px;
    padding: 22px 24px;
    margin-bottom: 16px;
    box-shadow: 0 3px 12px rgba(0,0,0,.08);
}

.block h2 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1a1a1a;
    letter-spacing: -0.015em;
}

.block p {
    font-size: 0.95rem;
    color: #333;
    margin-bottom: 10px;
}
.block p:last-child {
    margin-bottom: 0;
}

.email-line {
    margin: 16px 0 !important;
}

.email-link {
    display: inline-block;
    font-size: 1.15rem;
    font-weight: 600;
    color: #8B5E3C;
    text-decoration: none;
    word-break: break-all;
    padding: 0.5rem 1rem;
    background: #f7f0e8;
    border-radius: 10px;
    border: 1.5px solid #e0d0c0;
    transition: background .15s, border-color .15s;
}
.email-link:hover {
    background: #f0e4d8;
    border-color: #c9a88a;
}

.hint {
    font-size: 0.88rem !important;
    color: #666 !important;
}

.block ul {
    padding-left: 1.25rem;
    font-size: 0.95rem;
    color: #333;
}

.block li {
    margin-bottom: 8px;
}
.block li:last-child {
    margin-bottom: 0;
}

.block strong {
    font-weight: 600;
    color: #1a1a1a;
}

.cta-block {
    background: #f7faf0;
    border: 1.5px solid #d0d8a0;
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.4rem;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    color: #222;
    background: #fff;
    border: 1.5px solid #c8c8c8;
    box-shadow: 0 2px 6px rgba(0,0,0,.06);
    transition: all .15s;
    white-space: nowrap;
}
.btn:hover {
    background: #f5f5f5;
    box-shadow: 0 3px 10px rgba(0,0,0,.1);
}

.btn-accent {
    background: #8B5E3C;
    color: #fff;
    border-color: #8B5E3C;
}
.btn-accent:hover {
    background: #7a5234;
    border-color: #7a5234;
    color: #fff;
}

@media (max-width: 600px) {
    .page {
        padding: 16px 14px 36px;
    }
    .top {
        margin-bottom: 24px;
    }
    .block {
        padding: 18px 16px;
        border-radius: 14px;
    }
    .block h2 {
        font-size: 1.05rem;
    }
    .block p,
    .block ul {
        font-size: 0.9rem;
    }
    .email-link {
        font-size: 1rem;
        padding: 0.45rem 0.85rem;
    }
    .cta-row {
        flex-direction: column;
    }
    .btn {
        width: 100%;
        justify-content: center;
    }
}
