:root {
    /* Color Palette Extracted from App */
    --color-beige-light: #f3efe9;
    --color-beige: #e2dfd5;
    --color-beige-dark: #aeaca3;
    --color-sl: #8eaf9e;
    --color-sl-dark: #698275;
    --color-focus-light: #fbfaf8;
    --color-focus-dark: #21231f;
    --color-gray-dark: #3c3c3c;
    --color-red: #f76743;

    /* Typography */
    --font-heading: 'Instrument Serif', serif;
    --font-body: 'Instrument Sans', sans-serif;
    
    /* Spacing & Layout */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    --container-max-width: 1200px;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(33, 35, 31, 0.05);
    --shadow-md: 0 8px 24px rgba(33, 35, 31, 0.08);
    --shadow-lg: 0 24px 48px rgba(33, 35, 31, 0.12);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: #F3F0E9;
    color: var(--color-focus-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography Base */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.1;
    color: var(--color-focus-dark);
}

p {
    color: var(--color-gray-dark);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #E3DFD6;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(174, 172, 163, 0.2);
}

.nav-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--color-sl-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.brand-logo {
    height: 32px;
    width: auto;
    border-radius: 8px; /* Optional, gives a slight rounding to square icons */
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--color-gray-dark);
}

.nav-links a:hover {
    color: var(--color-sl);
}

.nav-cta {
    background-color: var(--color-sl);
    color: var(--color-focus-light);
    padding: 0.5rem 1.25rem;
    border-radius: 999px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background-color: var(--color-sl-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* Hero Section */
.hero-wrapper {
    background: linear-gradient(180deg, #F3F0E9 0%, #F3F0E9 100%);
    padding: calc(var(--spacing-xl) + 60px) 2rem var(--spacing-xl);
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero {
    max-width: var(--container-max-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 3rem;
    width: 100%;
}

.hero-content {
    max-width: 800px;
    animation: fadeUp 1s ease-out;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    margin-bottom: var(--spacing-sm);
    color: #698275;
}

.hero-subtitle {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto var(--spacing-md);
    color: #222420;
}

.download-btn-container {
    display: inline-block;
    transition: transform 0.3s ease;
}

.download-btn-container:hover {
    transform: scale(1.05);
}

.app-store-badge {
    height: 56px;
    width: auto;
}

.hero-image-container {
    max-width: 1000px;
    width: 100%;
    position: relative;
    animation: fadeUp 1.2s ease-out 0.2s both;
}

.hero-image {
    max-width: 360px;
    width: 100%;
    height: auto;
    border-radius: 32px;
    box-shadow: var(--shadow-lg);
    border: 8px solid var(--color-focus-light);
}

/* Features Section */
.features {
    padding: var(--spacing-xl) 2rem;
    max-width: var(--container-max-width);
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-title {
    font-size: 3rem;
    margin-bottom: var(--spacing-xs);
    color: var(--color-sl-dark);
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--color-gray-dark);
}

.feature-row {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: var(--spacing-xl);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.feature-row.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-row.reverse {
    flex-direction: row-reverse;
}

.feature-text {
    flex: 1;
}

.feature-text h3 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
    color: #698275;
}

.feature-text p {
    font-size: 1.125rem;
    color: #222420;
}

.feature-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.feature-image {
    max-width: 360px;
    border-radius: 32px;
    box-shadow: var(--shadow-md);
    background-color: var(--color-beige);
    border: 8px solid white;
    /* Incase img is missing, provide a nice background */
    min-height: 400px;
    width: 100%;
    object-fit: cover;
}

/* FAQ Section */
.faq {
    padding: var(--spacing-xl) 2rem;
    background-color: var(--color-beige-light);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--color-beige-dark);
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 1.5rem 0;
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-weight: 600;
    color: #222420;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--color-sl-dark);
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: 400;
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    padding: 0;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-bottom: 1.5rem;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    color: var(--color-sl);
}

/* Footer */
.footer {
    background-color: #E3DFD6;
    color: #222420;
    padding: var(--spacing-lg) 2rem 2rem;
}

.footer-content {
    max-width: var(--container-max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-lg);
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: #698275;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-logo {
    height: 40px;
    width: auto;
    border-radius: 8px;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a:hover {
    color: var(--color-sl);
}

.footer-bottom {
    max-width: var(--container-max-width);
    margin: 0 auto;
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(34, 36, 32, 0.2);
    font-size: 0.875rem;
    color: rgba(34, 36, 32, 0.6);
}

}

/* ========================================= */
/*             Press Kit Styles              */
/* ========================================= */
.press-page {
    scroll-padding-top: 100px;
}

.press-hero-wrapper {
    background: linear-gradient(180deg, #F3F0E9 0%, #F3F0E9 100%);
    padding: calc(var(--spacing-xl) + 60px) 2rem var(--spacing-xl);
    text-align: center;
}

.press-hero {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
}

.press-kicker {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-sl-dark);
    margin-bottom: var(--spacing-xs);
}

.press-contact {
    margin-top: var(--spacing-md);
    font-size: 1.125rem;
}

.press-contact a {
    color: var(--color-sl-dark);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(105, 130, 117, 0.4);
}

.press-contact a:hover {
    text-decoration-color: var(--color-sl-dark);
}

.press-actions {
    margin-top: var(--spacing-md);
}

.press-hero-icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
    flex-wrap: wrap; /* ensures it looks ok on very small screens */
}

.press-hero-icon {
    width: 120px;
    height: 120px;
    border-radius: 28px;
    box-shadow: var(--shadow-md);
}

.press-section {
    padding: var(--spacing-xl) 2rem;
}

.press-section.alt-bg {
    background-color: #E3DFD6; /* Same as footer */
}

/* Fact Sheet */
.fact-sheet-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--color-focus-light);
    border-radius: 24px;
    padding: var(--spacing-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(174, 172, 163, 0.2);
}

.fact-sheet {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-sm);
}

.fact-sheet dt {
    font-weight: 700;
    color: #698275;
}

.fact-sheet dd {
    margin-bottom: var(--spacing-sm);
    padding-bottom: var(--spacing-sm);
    border-bottom: 1px solid rgba(174, 172, 163, 0.2);
}

.fact-sheet dd:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.separator {
    margin: 0 0.5rem;
    color: var(--color-beige-dark);
}

/* Copy Block */
.press-copy {
    max-width: 800px;
    margin: 0 auto;
}

.press-copy h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: #698275;
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-xs);
}

.press-copy h3:first-child {
    margin-top: 0;
}

.press-copy p {
    margin-bottom: var(--spacing-sm);
    font-size: 1.125rem;
    color: #222420;
}

.mt-md {
    margin-top: var(--spacing-md) !important;
}

/* Feature List */
.press-feature-list {
    max-width: 800px;
    margin: 0 auto;
    list-style-position: inside;
    font-size: 1.125rem;
    color: #222420;
}

.press-feature-list li {
    margin-bottom: 1rem;
    padding-left: 1rem;
    position: relative;
}

.press-feature-list li::marker {
    color: var(--color-sl);
}

/* Grids (Images & Brand Assets) */
.press-grid {
    max-width: var(--container-max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.press-card {
    background-color: var(--color-focus-light);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(174, 172, 163, 0.2);
    display: flex;
    flex-direction: column;
}

.press-card figcaption {
    padding: var(--spacing-sm);
    text-align: center;
    font-weight: 600;
    color: #698275;
    border-top: 1px solid rgba(174, 172, 163, 0.2);
}

.press-screenshot {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: top;
    transition: transform 0.3s ease;
}

.press-card a {
    overflow: hidden;
    display: block;
}

.press-screenshot:hover {
    transform: scale(1.05);
}

.brand-card {
    background-color: var(--color-focus-light);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(174, 172, 163, 0.2);
    display: flex;
    flex-direction: column;
}

.brand-preview {
    padding: var(--spacing-md);
    background-color: #E3DFD6;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
}

.brand-image {
    max-width: 150px;
    height: auto;
    border-radius: 20%; /* For the app icon specifically */
}

.brand-info {
    padding: var(--spacing-sm) var(--spacing-md);
    display: flex;
    flex-direction: column;
    flex: 1;
}

.brand-info h3 {
    color: #698275;
    margin-bottom: var(--spacing-xs);
}

.brand-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto;
}

.brand-links a {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: #F3F0E9;
    color: var(--color-sl-dark);
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid rgba(174, 172, 163, 0.2);
    transition: all 0.2s ease;
}

.brand-links a:hover {
    background-color: var(--color-sl);
    color: white;
    border-color: var(--color-sl);
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (min-width: 1024px) {
    .hero {
        flex-direction: row;
        text-align: left;
        align-items: center;
        justify-content: space-between;
    }
    
    .hero-content {
        flex: 1;
        max-width: 50%;
        padding-right: 2rem;
    }
    
    .hero-image-container {
        flex: 1;
        max-width: 45%;
        display: flex;
        justify-content: flex-end;
    }

    .hero-subtitle {
        margin: 0 0 var(--spacing-md) 0;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* simple mobile nav */
    }
    
    .feature-row, .feature-row.reverse {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .feature-icon {
        margin: 0 auto var(--spacing-sm);
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}
