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

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

body {
    min-height: 100vh;
    background:
        radial-gradient(circle at 20% 10%, rgba(255, 190, 205, .35), transparent 30%),
        radial-gradient(circle at 90% 90%, rgba(240, 210, 220, .30), transparent 30%),
        #fbf8f6;
    color: #292326;
    font-family: "DM Sans", sans-serif;
}

button {
    font: inherit;
}

.app {
    width: 100%;
    min-height: 100vh;
}

.page {
    display: none;
    width: 100%;
    max-width: 520px;
    min-height: 100vh;
    margin: auto;
    padding: 55px 25px 100px;
    flex-direction: column;
    justify-content: center;
    animation: appear .55s ease;
}

.page.active {
    display: flex;
}

@keyframes appear {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.eyebrow {
    font-size: 10px;
    letter-spacing: 3px;
    font-weight: 600;
    color: #a26a78;
    margin-bottom: 35px;
}

.hello {
    font-size: 17px;
    margin-bottom: 15px;
}

h1,
h2 {
    font-family: "Playfair Display", serif;
    font-weight: 500;
    line-height: 1.02;
}

h1 {
    font-size: clamp(55px, 16vw, 80px);
}

h1 span,
h2 em {
    color: #b66d7e;
}

h2 {
    font-size: clamp(42px, 12vw, 65px);
}

.intro,
.sub {
    margin-top: 25px;
    max-width: 390px;
    color: #776e72;
    line-height: 1.7;
    font-size: 15px;
}

.hero-heart {
    font-size: 70px;
    color: #b66d7e;
    margin-bottom: 15px;
}

.question-mark {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    background: #f1dce1;
    color: #a55f70;
    display: grid;
    place-items: center;
    font-family: "Playfair Display", serif;
    font-size: 48px;
    margin-bottom: 30px;
}

.quote {
    margin: 30px 0;
    padding: 22px;
    border-left: 2px solid #c98b99;
    background: rgba(255,255,255,.6);
    color: #71686c;
    font-family: "Playfair Display", serif;
    font-style: italic;
    line-height: 1.6;
}

.primary {
    width: 100%;
    margin-top: 30px;
    border: 0;
    border-radius: 18px;
    padding: 18px 22px;
    background: #2d2629;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: .25s;
    box-shadow: 0 12px 30px rgba(45,38,41,.12);
}

.primary:hover {
    transform: translateY(-2px);
}

.primary span {
    margin-left: 8px;
}

.primary.disabled {
    opacity: .35;
    cursor: not-allowed;
}

.tiny {
    margin-top: 20px;
    text-align: center;
    color: #9b9295;
    font-size: 11px;
}

.button-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.choice {
    border: 1px solid #e5dadd;
    background: rgba(255,255,255,.65);
    padding: 17px;
    border-radius: 16px;
    color: #393034;
    cursor: pointer;
    transition: .25s;
}

.choice:hover {
    border-color: #c78391;
    transform: translateY(-2px);
}

.choice.big {
    background: #2d2629;
    color: white;
    border-color: #2d2629;
}

.cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 13px;
    margin-top: 30px;
}

.card {
    min-height: 155px;
    text-align: left;
    border: 1px solid #e6dfe1;
    background: rgba(255,255,255,.7);
    border-radius: 20px;
    padding: 20px;
    cursor: pointer;
    transition: .25s;
}

.card:hover,
.card.selected {
    border-color: #b66d7e;
    background: #fff7f8;
    transform: translateY(-3px);
}

.card .icon {
    display: block;
    font-size: 27px;
    margin-bottom: 20px;
}

.card strong,
.card small {
    display: block;
}

.card strong {
    margin-bottom: 7px;
}

.card small {
    color: #81777b;
    line-height: 1.4;
}

.dates {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 13px;
    margin-top: 30px;
}

.date {
    border: 1px solid #e6dfe1;
    background: rgba(255,255,255,.7);
    border-radius: 20px;
    padding: 20px;
    cursor: pointer;
    text-align: left;
}

.date strong {
    display: block;
    font-family: "Playfair Display", serif;
    font-size: 42px;
}

.date span {
    color: #81777b;
}

.date.selected {
    background: #fff0f3;
    border-color: #b66d7e;
}

.time-title {
    margin-top: 30px;
    font-size: 10px;
    letter-spacing: 2px;
    color: #a26a78;
    font-weight: 600;
}

.times {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.time {
    flex: 1;
    border: 1px solid #e6dfe1;
    background: white;
    border-radius: 13px;
    padding: 12px 5px;
    font-size: 12px;
    cursor: pointer;
}

.time.selected {
    border-color: #b66d7e;
    background: #fff0f3;
}

.summary {
    margin-top: 30px;
    padding: 20px;
    background: rgba(255,255,255,.7);
    border-radius: 20px;
}

.summary div {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #eee5e7;
}

.summary div:last-child {
    border: 0;
}

.summary span {
    color: #a26a78;
    font-size: 9px;
    letter-spacing: 2px;
}

.summary strong {
    font-size: 13px;
}

.final-message {
    margin-top: 20px;
    color: #756c70;
    line-height: 1.7;
    font-size: 14px;
}

.final-message.strong {
    color: #9d596a;
    font-family: "Playfair Display", serif;
    font-style: italic;
    font-size: 19px;
}

.success-heart {
    font-size: 65px;
    color: #b66d7e;
    margin-bottom: 20px;
}

.little-note {
    margin-top: 25px;
    padding: 22px;
    background: #fff0f3;
    border-radius: 18px;
    text-align: center;
    line-height: 1.8;
    color: #815461;
}

.dots {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #d8cdd0;
}

.dot.active {
    width: 18px;
    border-radius: 10px;
    background: #b66d7e;
}

@media (max-width: 380px) {

    .page {
        padding-left: 19px;
        padding-right: 19px;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .card {
        min-height: 125px;
    }

    h2 {
        font-size: 42px;
    }
}