@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap');

:root {
    --beige-50: #f8efe5;
    --blue-100: #e9eff7;
    --blue-200: #e0e8f2;
    --blue-300: #d2deec;
    --blue-50: #f3f6fa;
    --blue-alt:#57aaa9;
    --brand-green: #166160;
    --brand-lavender: #edebf9;
    --brand-light-green: #d9ecec;
    --brand-light-orange: #f7ebe7;
    --brand-light-purple: #4d4484;
    --brand-orange: #ed562a;
    --brand-pink: #f7b9b0;
    --brand-purple: #281f5d;
    --brand-yellow: #fcbc10;
    --feedback-error: #e25c53;
    --neutral-0: white;
    --neutral-1: #f7f7f8;
    --neutral-2: #eeeef0;
    --neutral-3: #e7e7ea;
    --neutral-4: #cfced5;
    --neutral-5: #a09eac;
    --neutral-6: #706e82;
    --neutral-7: #514d66;
    --neutral-8: #2c293f;
}

html {
    background-color: var(--blue-50);
    font-size: 12pt;
    font-family: 'Nunito Sans', sans-serif;
}

header {
    margin: auto;
    margin-top: 5em;
    margin-bottom: 5em;
    max-width: 100%;
    text-align: center;
}

main {
    margin: auto;
    width: 80%;
    max-width: 50em;
    background-color: var(--neutral-0);
    border-radius: 3em;
    padding: 3em;
    box-sizing: border-box;
}

a {
    color: var(--brand-orange);
    font-weight: bold;
}

#logo {
    width: 30%;
    max-width: 120px;
}

#signature {
    text-align: right;
    font-style: italic;
    margin-bottom: 0;
}

#yfhf {
    font-weight: bold;
}

h1 {
  margin: 0 auto;
  width: fit-content;
}

.blue-divider {
  border: none;
  border-top: 2px solid var(--brand-purple);
  margin: 2em 0;
  width: 100%;
}

.emoji-icon {
  width: 1em;
  height: 1em;
  vertical-align: baseline;
  margin-right: 0.4em;
}

@media screen and (width < 500px) {
    main {
        border-radius: 1em;
        padding: 1em;
    }

    header {
        margin-top: 1em;
        margin-bottom: 1em;
    }
}

/* Hero Section */
.hero {
    text-align: center;
    margin-bottom: 3em;
}

.hero h1 {
    color: var(--brand-purple);
    margin-bottom: 1em;
}

.hero p {
    font-size: 1.2em;
    margin-bottom: 2em;
}

.hero img {
    width: 95%;
    height: auto;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 1em;
    margin-top: 2em;
    flex-wrap: wrap;
    position: relative;
}

.download-buttons img {
    height: 50px;
    width: auto;
}

/* Benefits Section */
.benefits {
    margin: 3em 0;
}

.benefits h2 {
    color: var(--brand-purple);
    text-align: center;
    margin-bottom: 1.5em;
}

.feature {
    margin-bottom: 2em;
    padding: 1.5em;
    background-color: var(--blue-50);
    border-radius: 1em;
}

.feature h3 {
    color: var(--blue-alt);
    margin-top: 0;
}

/* Testimonials Section */
.testimonials {
    margin: 3em 0;
}

.testimonials h2 {
    color: var(--brand-purple);
    text-align: center;
    margin-bottom: 1.5em;
}

.testimonial {
    background-color: var(--neutral-1);
    padding: 1.5em;
    border-radius: 1em;
    margin-bottom: 1.5em;
}

.testimonial blockquote {
    font-style: italic;
    margin: 0 0 1em 0;
    color: var(--neutral-7);
}

.testimonial p {
    font-weight: bold;
    margin: 0;
    color: var(--neutral-8);
}

.cta {
    text-align: center;
    margin-top: 2em;
}

/* Legal Footer */
.legal-footer {
    text-align: center;
    padding: 1em 0;
    font-size: 0.8em;
    border-top: 1px solid var(--neutral-3);
    margin-top: 2em;
    color: var(--neutral-6);
}

.legal-footer a {
    color: var(--neutral-6);
    margin: 0 0.5em;
    text-decoration: none;
}

.legal-footer a:hover {
    text-decoration: underline;
}

/* Responsive adjustments */
@media screen and (width < 500px) {
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .download-buttons img {
        height: 40px;
    }
    
    .feature {
        padding: 1em;
    }
}

/* Reusable divider component */
.divider {
    border: none;
    height: 1px;
    background-color: var(--neutral-3);
    margin: 2em auto;
    width: 80%;
}

/* Optional variations */
.divider--full {
    width: 100%;
}

.divider--thick {
    height: 2px;
}

.divider--brand {
    background-color: var(--brand-purple);
}

.divider--short {
    width: 50%;
}

.divider--spacious {
    margin: 3em auto;
}
