/* =========================
   ROOT / TOKENS (Foliar — Sage & Cream)
   ========================= */

:root {
    --bg: #F5F0E8;
    --card: #ffffff;
    --text: #2C2C2C;
    --muted: #6E6E6E;
    --accent: #4A7C59;
    --accent-secondary: #C8A96E;

    --radius: 16px;

    --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    --font-title: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

/* =========================
   RESET / BASE
   ========================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    overflow-y: auto;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

/* =========================
   TOP NAV
   ========================= */

.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    background: transparent;
    backdrop-filter: blur(8px);
}

.top-nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 16px 28px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-title {
    font-family: var(--font-title);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text);
    letter-spacing: 0.01em;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-title .mark {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    display: block;
}

/* =========================
   PRIVACY PAGE
   ========================= */

.privacy {
    max-width: 820px;
    margin: 0 auto;
    padding: 160px 24px 120px;
}

.privacy-hero {
    text-align: center;
    margin-bottom: 64px;
}

.privacy-hero h1 {
    font-family: var(--font-title);
    font-size: clamp(2.2rem, 5vw, 2.8rem);
    font-weight: 700;
    margin: 0;
}

.privacy-hero .subtitle {
    margin-top: 12px;
    color: var(--muted);
    font-size: 1.1rem;
}

.privacy-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(6px);
    border-radius: var(--radius);
    padding: 32px;
    margin-bottom: 24px;
    border: 1px solid rgba(74, 124, 89, 0.08);
}

.privacy-card h2 {
    font-family: var(--font-title);
    font-size: 1.35rem;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 12px;
}

.privacy-card p {
    margin: 0 0 12px;
    color: var(--text);
}

.privacy-card p:last-child {
    margin-bottom: 0;
}

.privacy-card a {
    color: var(--accent);
    text-decoration: underline;
}

.privacy-card ul {
    margin: 0 0 12px;
    padding-left: 20px;
    color: var(--text);
}

.privacy-card li {
    margin-bottom: 6px;
}

.privacy-card .highlight {
    color: var(--accent);
    font-weight: 600;
}

.effective {
    text-align: center;
    color: var(--muted);
    font-size: 0.85rem;
    margin-top: 32px;
}

/* =========================
   FOOTER
   ========================= */

.footer {
    text-align: center;
    padding: 24px;
    color: var(--muted);
    font-size: 0.9rem;
}

.footer a {
    color: inherit;
    text-decoration: underline;
    margin-right: 12px;
}

/* =========================
   MOBILE
   ========================= */

@media (max-width: 760px) {

    .site-title {
        font-size: 1.05rem;
    }

    .top-nav-inner {
        padding: 12px 20px;
    }

    .privacy {
        padding: 120px 20px 100px;
    }

    .privacy-card {
        padding: 24px;
    }
}


/* =========================
   LANDING PAGE
   Layout shared with the other product pages (see styles/anchor.css);
   the palette above is what makes it Foliar's.
   ========================= */

.landing {
    height: 100vh;
    overflow-y: auto;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
}

/* =========================
   FEATURE SECTIONS
   ========================= */

.feature {
    min-height: 100vh;
    scroll-snap-align: start;
    scroll-snap-stop: always;

    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* Alternate left / right */
.feature--reverse {
    direction: rtl;
}
.feature--reverse > * {
    direction: ltr;
}

/* Hero gets a bit more space */
.feature--hero {
    padding-top: 160px;
}

/* =========================
   TEXT
   ========================= */

.feature h1,
.feature h2 {
    font-family: var(--font-title);
    font-weight: 600;
    letter-spacing: -0.01em;
    margin: 0;
}

.feature h1 {
    font-size: clamp(2.6rem, 5vw, 3.2rem);
}

.feature h2 {
    font-size: clamp(2.1rem, 4vw, 2.5rem);
}

.feature strong {
    font-weight: 600;
}

.feature-text {
    display: flex;
    flex-direction: column;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 32px 0 0;
    color: var(--muted);
}

.feature-list li {
    margin-bottom: 12px;
    padding-left: 24px;
    position: relative;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 600;
}

/* =========================
   VISUALS — Phone Frame
   ========================= */

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

.feature-visual .phone-frame {
    position: relative;
    width: 320px;
    border-radius: 40px;
    border: 7px solid #2C2420;
    background: #2C2420;
    overflow: hidden;
    box-shadow:
        0 20px 60px rgba(0,0,0,0.18),
        0 4px 16px rgba(0,0,0,0.10);
}

/* Notch / Dynamic Island */
.feature-visual .phone-frame::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 22px;
    background: #2C2420;
    border-radius: 20px;
    z-index: 2;
}

.feature-visual .phone-frame img {
    display: block;
    width: 100%;
    height: auto;
}

/* Fallback for images without phone-frame wrapper */
.feature-visual > img {
    max-width: 320px;
    height: auto;
    border-radius: 36px;
    border: 6px solid #2C2420;
    box-shadow:
        0 20px 60px rgba(0,0,0,0.18),
        0 4px 16px rgba(0,0,0,0.10);
}

/* =========================
   STORE BADGES
   ========================= */

.store-badges {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.store-badge img {
    height: 40px;
    width: auto;
    display: block;
}

.store-badge--play {
    height: 40px;
    overflow: hidden;
}

.store-badge--play img {
    height: 62px;
    margin-top: -11px;
}

.store-badge--dimmed {
    opacity: 0.4;
    pointer-events: none;
    position: relative;
}

.platform-note {
    margin: 6px 0 0;
    font-size: 0.85rem;
    color: var(--muted);
    letter-spacing: 0.01em;
}

/* =========================
   REVEAL ANIMATION
   ========================= */

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition:
            opacity 0.8s ease,
            transform 0.8s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================
   SLIDE INDICATOR
   ========================= */

.slide-indicator {
    position: fixed;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 14px;
    z-index: 20;
}

.slide-indicator button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.25);
    cursor: pointer;
    transition:
            transform 0.2s ease,
            background 0.2s ease;
}

.slide-indicator button.active {
    background: var(--text);
    transform: scale(1.6);
}

/* =========================
   FOOTER
   ========================= */



/* =========================
   PRIVACY PAGE
   ========================= */


/* Hero */

/* Hero sub-line. The h1 leads with privacy, so the category words ("plant care
   app for your houseplants") live here instead: they still sit high in the
   document for search and for answer engines, without turning the headline
   into a keyword string. */
.feature--hero .lede {
    margin: 12px 0 0;
    font-size: 1.15rem;
    color: var(--muted);
}
