:root {
    --bg: #f7f3ed;
    --bg-soft: #fffaf4;
    --text: #2c211d;
    --muted: #746a62;
    --accent: #8d4054;
    --accent-dark: #5f2938;
    --accent-soft: rgba(141, 64, 84, 0.13);
    --sage: #5f7560;
    --sage-soft: rgba(95, 117, 96, 0.14);
    --sand: #d8c6aa;
    --card: rgba(255, 250, 244, 0.78);
    --border: rgba(44, 33, 29, 0.12);
    --shadow: 0 24px 80px rgba(77, 51, 38, 0.14);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    font-family: Inter, Arial, sans-serif;
    background:
        linear-gradient(135deg, rgba(141, 64, 84, 0.1), transparent 34%),
        linear-gradient(225deg, rgba(95, 117, 96, 0.12), transparent 38%),
        linear-gradient(180deg, var(--bg), var(--bg-soft));
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255,255,255,0.24) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.24) 1px, transparent 1px);
    background-size: 56px 56px;
    opacity: 0.3;
    z-index: -1;
}

a {
    color: inherit;
}

a,
button {
    overflow-wrap: anywhere;
}

.site-header {
    position: sticky;
    top: 16px;
    z-index: 10;
    width: min(1180px, calc(100% - 32px));
    margin: 16px auto 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(255, 250, 244, 0.72);
    backdrop-filter: blur(18px);
    box-shadow: 0 14px 44px rgba(77, 51, 38, 0.08);
}

.logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    text-decoration: none;
    flex: 0 0 auto;
}

.logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.site-nav {
    display: flex;
    gap: 18px;
    color: var(--muted);
    font-size: 14px;
}

.site-nav a,
.header-login {
    text-decoration: none;
}

.header-login {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    padding: 0 18px;
    border-radius: 999px;
    background: var(--text);
    color: #fff;
    font-size: 14px;
}

.header-contact {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
}

.hero {
    width: min(1180px, calc(100% - 40px));
    min-height: calc(100vh - 90px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    align-items: center;
    padding: 80px 0;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--accent);
    font-size: 12px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
}

h1 {
    margin: 0;
    max-width: 760px;
    font-size: clamp(52px, 8vw, 70px);
    line-height: 0.95;
    letter-spacing: 0;
    overflow-wrap: anywhere;
}

h2 {
    margin: 0;
    font-size: clamp(38px, 5vw, 68px);
    line-height: 0.98;
    letter-spacing: 0;
    overflow-wrap: anywhere;
}

h3 {
    margin: 0 0 10px;
    font-size: 26px;
    line-height: 1.15;
    overflow-wrap: anywhere;
}

.hero__text {
    max-width: 620px;
    margin: 28px 0 0;
    color: var(--muted);
    font-size: 20px;
    line-height: 1.7;
}

.hero__steps {
    max-width: 680px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 34px;
}

.hero-step {
    min-width: 0;
    min-height: 120px;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: rgba(255, 250, 244, 0.64);
    box-shadow: 0 12px 34px rgba(77, 51, 38, 0.07);
}

.hero-step span {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    margin-bottom: 14px;
    border-radius: 50%;
    background: var(--sage-soft);
    color: var(--sage);
    font-weight: 700;
}

.hero-step p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.45;
}

.hero__actions,
.contact-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 34px;
}

.button {
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    padding: 0 28px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #fff;
    box-shadow: 0 14px 38px rgba(113, 58, 49, 0.24);
    font-size: 16px;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    overflow-wrap: anywhere;
    transition: 0.24s ease;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 48px rgba(113, 58, 49, 0.3);
}

.button--ghost {
    color: var(--text);
    background: rgba(255, 250, 244, 0.66);
    border: 1px solid var(--border);
    box-shadow: none;
}

.hero__preview {
    display: flex;
    justify-content: center;
}

.phone-card {
    width: min(390px, 100%);
    min-width: 0;
    min-height: 620px;
    padding: 16px;
    border: 1px solid rgba(44, 33, 29, 0.14);
    border-radius: 46px;
    background:
        linear-gradient(145deg, rgba(255, 250, 244, 0.92), rgba(243, 221, 194, 0.4));
    box-shadow: var(--shadow);
}

.phone-card__top {
    display: flex;
    gap: 6px;
    padding: 8px 12px 14px;
}

.phone-card__top span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(44, 33, 29, 0.22);
}

.invite-preview {
    min-height: 550px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 32px;
    border-radius: 34px;
    background:
        radial-gradient(circle at 20% 10%, rgba(155, 90, 76, 0.18), transparent 18rem),
        linear-gradient(180deg, #f5eadf, #fff8f0);
    text-align: center;
}

.preview-kicker {
    color: var(--accent);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.invite-preview h2 {
    font-size: 62px;
    line-height: 0.92;
}

.invite-preview h2 span {
    color: var(--accent);
    font-style: italic;
}

.preview-date {
    margin-top: 24px;
    letter-spacing: 0.12em;
}

.preview-line {
    width: 72px;
    height: 1px;
    margin: 26px auto;
    background: rgba(44, 33, 29, 0.22);
}

.preview-text {
    color: var(--muted);
    line-height: 1.6;
}

.rsvp-mini {
    display: grid;
    gap: 6px;
    margin-top: 24px;
    padding: 16px;
    border: 1px solid rgba(44, 33, 29, 0.12);
    border-radius: 18px;
    background: rgba(255, 250, 244, 0.82);
    text-align: left;
    box-shadow: 0 12px 28px rgba(77, 51, 38, 0.08);
}

.rsvp-mini strong {
    font-size: 14px;
}

.rsvp-mini span {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.35;
}

.section {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 88px 0;
}

.section-head {
    max-width: 760px;
    margin: 0 auto 42px;
    text-align: center;
}

.section-head p:last-child {
    color: var(--muted);
    font-size: 18px;
    line-height: 1.7;
}

.stats {
    padding-top: 0;
}

.stats-grid,
.feature-grid,
.sections-grid {
    display: grid;
    gap: 18px;
}

.stats-grid {
    grid-template-columns: repeat(3, 1fr);
}

.stat-card,
.feature-card,
.small-card,
.contact-card,
.client-demo,
.process-item {
    min-width: 0;
    border: 1px solid var(--border);
    background: var(--card);
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 54px rgba(77, 51, 38, 0.09);
}

.stat-card {
    min-height: 170px;
    padding: 28px;
    border-radius: 30px;
}

.stat-card span {
    display: block;
    margin-bottom: 22px;
    color: var(--accent);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 34px;
    line-height: 1.05;
}

.stat-card p {
    margin: 0;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.5;
}

.feature-grid {
    grid-template-columns: repeat(3, 1fr);
}

.usage-guide {
    padding-top: 64px;
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.guide-card {
    min-width: 0;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: 30px;
    background: var(--card);
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 54px rgba(77, 51, 38, 0.09);
}

.guide-card span {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    margin-bottom: 28px;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
}

.guide-card h3 {
    font-size: 24px;
}

.guide-card p {
    margin: auto 0 0;
    color: var(--muted);
    line-height: 1.6;
}

.guide-card--accent {
    background: linear-gradient(145deg, rgba(95, 117, 96, 0.18), rgba(255, 250, 244, 0.82));
}

.guide-card--accent span {
    background: var(--sage);
    color: #fff;
}

.feature-card {
    min-height: 260px;
    padding: 30px;
    border-radius: 30px;
}

.feature-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    margin-bottom: 24px;
    border-radius: 50%;
    background: var(--accent-soft);
    font-size: 28px;
}

.feature-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.process-list {
    max-width: 840px;
    margin: 0 auto;
    display: grid;
    gap: 16px;
}

.process-item {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 22px;
    padding: 26px;
    border-radius: 30px;
}

.process-item > span {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 26px;
}

.process-item p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.sections-grid {
    grid-template-columns: repeat(4, 1fr);
}

.small-card {
    min-height: 92px;
    display: grid;
    place-items: center;
    padding: 18px;
    border-radius: 24px;
    color: var(--muted);
    text-align: center;
    font-size: 17px;
}

.client-demo {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 34px;
    align-items: center;
    padding: 42px;
    border-radius: 38px;
}

.client-demo__content p:last-child {
    color: var(--muted);
    font-size: 18px;
    line-height: 1.7;
}

.dashboard-preview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.dashboard-stat,
.dashboard-table {
    border: 1px solid var(--border);
    border-radius: 24px;
    background: rgba(255, 250, 244, 0.68);
}

.dashboard-stat {
    padding: 22px;
}

.dashboard-stat span {
    display: block;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 42px;
    color: var(--accent);
}

.dashboard-stat p {
    margin: 8px 0 0;
    color: var(--muted);
}

.dashboard-table {
    grid-column: 1 / -1;
    overflow: hidden;
}

.dashboard-table div {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding: 16px 18px;
    border-bottom: 1px solid rgba(44, 33, 29, 0.08);
}

.dashboard-table div:last-child {
    border-bottom: 0;
}

.dashboard-table span {
    color: var(--accent);
}

.contact {
    padding-bottom: 110px;
}

.contact-card {
    max-width: 820px;
    margin: 0 auto;
    padding: 44px;
    border-radius: 38px;
    text-align: center;
}

.contact-card p {
    color: var(--muted);
    font-size: 18px;
    line-height: 1.7;
}

.contact-checklist {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 28px auto 0;
}

.contact-checklist span {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    padding: 0 14px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(255, 250, 244, 0.7);
    color: var(--muted);
    font-size: 14px;
}

.contact-actions {
    justify-content: center;
}

.contact-note {
    margin-top: 22px;
    font-size: 14px !important;
}

.site-footer {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 28px 0 42px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: var(--muted);
    font-size: 14px;
}

.site-footer a {
    color: var(--accent);
    text-decoration: none;
}

.reveal {
    opacity: 0;
    transform: translateY(34px);
    transition:
        opacity 0.85s ease,
        transform 0.85s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .button:hover {
        transform: none;
    }
}

@media (max-width: 980px) {
    .site-nav {
        display: none;
    }

    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-top: 92px;
    }

    .hero__content {
        text-align: center;
    }

    .hero__text {
        margin-left: auto;
        margin-right: auto;
    }

    .hero__actions {
        justify-content: center;
    }

    .hero__steps {
        margin-left: auto;
        margin-right: auto;
    }

    .feature-grid,
    .guide-grid,
    .sections-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .client-demo {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .site-header {
        top: 10px;
        width: min(100% - 24px, 1180px);
    }

    .logo {
        width: 42px;
        height: 42px;
    }

    .header-login {
        font-size: 13px;
        padding: 0 14px;
    }

    .hero,
    .section,
    .site-footer {
        width: min(100% - 28px, 1180px);
    }

    .hero {
        padding: 72px 0;
    }

    h1 {
        font-size: 52px;
    }

    .hero__text {
        font-size: 18px;
    }

    .hero__steps {
        grid-template-columns: 1fr;
    }

    .hero__actions,
    .contact-actions {
        display: grid;
    }

    .button {
        width: 100%;
    }

    .phone-card {
        min-height: auto;
        border-radius: 34px;
    }

    .invite-preview {
        min-height: 460px;
        border-radius: 26px;
    }

    .invite-preview h2 {
        font-size: 50px;
    }

    .stats-grid,
    .feature-grid,
    .guide-grid,
    .sections-grid,
    .dashboard-preview {
        grid-template-columns: 1fr;
    }

    .guide-card {
        min-height: auto;
    }

    .process-item {
        grid-template-columns: 1fr;
    }

    .client-demo,
    .contact-card {
        padding: 28px;
        border-radius: 30px;
    }

    .site-footer {
        display: block;
        text-align: center;
    }
}
.header-actions {
    display: flex;
    flex: 0 1 auto;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
    align-items: center;
}

.header-register {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
}

@media (max-width: 720px) {
    .header-actions {
        gap: 6px;
    }

    .header-login {
        padding: 0 12px;
    }
}

@media (max-width: 480px) {
    .site-header {
        border-radius: 24px;
    }

    .logo {
        width: 100%;
        height: 42px;
    }

    .header-actions {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .header-login {
        justify-content: center;
        width: 100%;
    }
}
