@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600&family=Work+Sans:wght@400;500;600&display=swap');

:root {
    --cream: #f7f4ef;
    --sand: #e7dccb;
    --forest: #2f3c35;
    --sage: #8da18c;
    --accent: #c8a96a;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Work Sans', sans-serif;
    background: linear-gradient(160deg, var(--cream), #fbfaf7 60%);
    color: var(--forest);
    min-height: 100vh;
}

.page-wrap {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.site-header {
    padding: 18px 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(47, 60, 53, 0.1);
    position: sticky;
    top: 0;
    z-index: 10;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    align-items: center;
}

.site-header .brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--forest);
    text-decoration: none;
}

.site-header nav a {
    margin-left: 0;
    color: var(--forest);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    gap: 6px;
    align-items: center;
    white-space: nowrap;
}

.site-header nav a:hover {
    color: var(--accent);
}

.hero {
    padding: 80px 0 60px;
    background: linear-gradient(135deg, var(--forest), #3f4d45 55%, #56665b);
    color: var(--white);
}

.hero .container {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    max-width: 520px;
}

.hero p {
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.hero-card {
    background: rgba(255, 255, 255, 0.12);
    padding: 24px;
    border-radius: 16px;
    min-width: 240px;
}

.section {
    padding: 60px 0;
}

.section-header {
    margin-bottom: 32px;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 8px;
}

.grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
    background: var(--white);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(47, 60, 53, 0.08);
}

.content {
    flex: 1;
}

.site-footer {
    padding: 24px 0;
    border-top: 1px solid rgba(47, 60, 53, 0.1);
    background: var(--white);
    text-align: center;
}

.site-footer .socials {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-bottom: 8px;
}

.site-footer a {
    color: var(--forest);
    text-decoration: none;
}

.form-page {
    padding: 40px 0 60px;
}

.form-card {
    background: var(--white);
    padding: 28px;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(47, 60, 53, 0.08);
}

.form-card.small {
    max-width: 420px;
    margin: 0 auto;
}

.form-section {
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px dashed rgba(47, 60, 53, 0.15);
}

.form-section h5 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 16px;
}

.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.radio-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.preview-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.preview-list li {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid rgba(47, 60, 53, 0.1);
    padding: 8px 0;
}

.admin-page {
    padding: 40px 0 60px;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.filter-bar {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.link-box {
    margin-top: 12px;
}

.action-bar {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}

.reschedule {
    margin-bottom: 24px;
    padding: 16px;
    border-radius: 12px;
    background: var(--cream);
}

.terms-box {
    max-height: 240px;
    overflow-y: auto;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid rgba(47, 60, 53, 0.15);
    background: #fbfaf7;
    font-size: 0.95rem;
    line-height: 1.5;
}

.script-text {
    white-space: pre-wrap;
    word-wrap: break-word;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .hero {
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .site-header nav a {
        font-size: 0.9rem;
    }

    .site-nav {
        width: 100%;
        justify-content: flex-start;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .preview-list li {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}
