/* ================================================================
   Infinite Livewell · Landing Page Styles
   Classic Outdoorsman Theme
   ================================================================ */

/* ── Design Tokens ── */
:root {
    --hunter:       #1E3A2F;    /* deep hunter green  */
    --forest:       #2D5A3D;    /* medium forest green */
    --tan:          #B8956A;    /* waxed-canvas tan    */
    --tan-light:    #D4C49A;    /* lighter tan         */
    --cream:        #F0E9D6;    /* linen cream — main bg */
    --linen:        #E8DFCA;    /* slightly darker cream */
    --parchment:    #FAF6EC;    /* near-white           */
    --text:         #1A2416;    /* darkest text         */
    --text-mid:     #4A5540;    /* body text            */
    --text-muted:   #7A8570;    /* captions / metadata  */

    --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --max:   1100px;
    --px:    24px;
}

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--sans);
    background: var(--cream);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; }

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

.nav {
    position: sticky;
    top: 0;
    z-index: 200;
    background: var(--hunter);
    border-bottom: 2px solid rgba(184, 149, 106, 0.45);
}

.nav-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 var(--px);
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

/* Logo shown as a small app-icon badge on dark nav */
.nav-logo-badge {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--cream);  /* cream bg matches logo background */
}

.nav-logo-badge img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nav-brand {
    font-family: var(--serif);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--cream);
    white-space: nowrap;
    letter-spacing: 0.01em;
}

.nav-cta {
    display: flex;
    gap: 8px;
    align-items: center;
}

.nav-btn {
    display: inline-block;
    padding: 7px 16px;
    border: 1.5px solid rgba(184, 149, 106, 0.55);
    border-radius: 6px;
    font-family: var(--sans);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--tan);
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    letter-spacing: 0.01em;
}

.nav-btn:hover {
    background: var(--tan);
    border-color: var(--tan);
    color: var(--hunter);
}

/* ================================================================
   HERO
   ================================================================ */

.hero {
    background: var(--hunter);
    min-height: calc(100svh - 64px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 72px;
    padding: 88px var(--px) 96px;
    position: relative;
    overflow: hidden;
}

/* Subtle grid texture — gives a canvas/tactile feel */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 44px 44px;
    pointer-events: none;
}

/* Warm glow — suggests firelight or lantern */
.hero::after {
    content: '';
    position: absolute;
    bottom: -120px;
    right: -80px;
    width: 560px;
    height: 560px;
    background: radial-gradient(circle, rgba(184, 149, 106, 0.13) 0%, transparent 68%);
    pointer-events: none;
}

.hero-copy {
    position: relative;
    z-index: 1;
    max-width: 500px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    background: rgba(184, 149, 106, 0.14);
    border: 1px solid rgba(184, 149, 106, 0.38);
    color: var(--tan-light);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 24px;
}

.hero-h1 {
    font-family: var(--serif);
    font-size: clamp(2.3rem, 5.5vw, 3.9rem);
    font-weight: 700;
    color: var(--cream);
    line-height: 1.1;
    letter-spacing: -0.01em;
    margin-bottom: 22px;
}

.hero-h1 em {
    font-style: italic;
    color: var(--tan);
}

.hero-lead {
    font-size: 1.05rem;
    color: rgba(240, 233, 214, 0.72);
    line-height: 1.78;
    margin-bottom: 36px;
    max-width: 430px;
}

/* ── Store Buttons ── */

.btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btns--centered {
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    padding: 12px 22px;
    border-radius: 10px;
    border: 2px solid transparent;
    text-decoration: none;
    min-width: 158px;
    transition: transform 0.18s ease, box-shadow 0.18s ease,
                background 0.18s ease, border-color 0.18s ease;
}

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

/* Cream button (on dark hero) */
.btn--light {
    background: var(--cream);
    color: var(--hunter);
    border-color: var(--cream);
}
.btn--light:hover {
    background: #fff;
    border-color: #fff;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

/* Ghost button (on dark hero) */
.btn--outline {
    background: transparent;
    color: var(--cream);
    border-color: rgba(240, 233, 214, 0.32);
}
.btn--outline:hover {
    border-color: rgba(240, 233, 214, 0.68);
    background: rgba(240, 233, 214, 0.07);
    box-shadow: none;
}

/* Dark green button (on light CTA) */
.btn--dark {
    background: var(--hunter);
    color: var(--cream);
    border-color: var(--hunter);
}
.btn--dark:hover {
    background: var(--forest);
    border-color: var(--forest);
    box-shadow: 0 10px 28px rgba(30, 58, 47, 0.28);
}

/* Tan button (on light CTA) */
.btn--tan {
    background: var(--tan);
    color: #fff;
    border-color: var(--tan);
}
.btn--tan:hover {
    background: #c9a478;
    border-color: #c9a478;
    box-shadow: 0 10px 28px rgba(184, 149, 106, 0.32);
}

.btn-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.btn-text {
    display: flex;
    flex-direction: column;
    line-height: 1.18;
}

.btn-sub {
    font-size: 0.67rem;
    letter-spacing: 0.02em;
    opacity: 0.72;
}

.btn-main {
    font-size: 0.96rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

/* ── Hero Phone Mockups ── */

.hero-phones {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    width: 285px;
    height: 530px;
}

.phone {
    position: absolute;
    background: #0A0A0A;
    border-radius: 42px;
    overflow: hidden;
    box-shadow:
        0 32px 80px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(255, 255, 255, 0.06);
}

.phone img {
    width: 100%;
    display: block;
}

.phone--back {
    width: 168px;
    right: 0;
    top: 32px;
    transform: rotate(6deg);
    opacity: 0.78;
    z-index: 1;
}

.phone--front {
    width: 168px;
    left: 0;
    top: 0;
    transform: rotate(-4deg);
    z-index: 2;
}

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

.feature-section {
    padding: 100px var(--px);
    background: var(--parchment);
}

.feature-section--alt {
    background: var(--linen);
}

.feature {
    max-width: var(--max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 80px;
}

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

.feature-phone {
    flex-shrink: 0;
}

/* Single phone shown in feature sections */
.phone-solo {
    width: 224px;
    border-radius: 44px;
    overflow: hidden;
    background: #0A0A0A;
    box-shadow:
        0 24px 64px rgba(30, 58, 47, 0.22),
        0 0 0 1px rgba(0, 0, 0, 0.07);
}

.phone-solo img {
    width: 100%;
    display: block;
}

.feature-copy {
    flex: 1;
    max-width: 480px;
}

.feature-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--tan);
    margin-bottom: 12px;
}

.feature-h2 {
    font-family: var(--serif);
    font-size: clamp(1.75rem, 3.2vw, 2.5rem);
    font-weight: 700;
    color: var(--hunter);
    line-height: 1.18;
    letter-spacing: -0.01em;
    margin-bottom: 16px;
}

.feature-body {
    font-size: 1rem;
    color: var(--text-mid);
    line-height: 1.8;
    margin-bottom: 26px;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.93rem;
    color: var(--text-mid);
    line-height: 1.55;
}

/* Hunter-green circle with tan checkmark */
.feature-list li::before {
    content: '';
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 2px;
    border-radius: 50%;
    background-color: var(--hunter);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B8956A' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: 12px;
    background-repeat: no-repeat;
    background-position: center;
}

/* ================================================================
   PRIVACY SECTION
   ================================================================ */

.privacy-section {
    background: var(--hunter);
    padding: 100px var(--px);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.privacy-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 44px 44px;
    pointer-events: none;
}

.privacy-inner {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.privacy-icon {
    width: 54px;
    height: 54px;
    color: var(--tan);
    margin: 0 auto 24px;
}

.privacy-h2 {
    font-family: var(--serif);
    font-size: clamp(1.75rem, 3.5vw, 2.6rem);
    font-weight: 700;
    color: var(--cream);
    line-height: 1.18;
    letter-spacing: -0.01em;
    margin-bottom: 16px;
}

.privacy-lead {
    font-size: 1.05rem;
    color: rgba(240, 233, 214, 0.68);
    max-width: 600px;
    margin: 0 auto 56px;
    line-height: 1.78;
}

.pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    text-align: left;
}

.pillar {
    background: rgba(240, 233, 214, 0.05);
    border: 1px solid rgba(184, 149, 106, 0.2);
    border-radius: 12px;
    padding: 28px 24px;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.pillar:hover {
    background: rgba(240, 233, 214, 0.08);
    border-color: rgba(184, 149, 106, 0.38);
}

.pillar-h3 {
    font-family: var(--serif);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--tan);
    margin-bottom: 10px;
    letter-spacing: 0.01em;
}

.pillar p {
    font-size: 0.88rem;
    color: rgba(240, 233, 214, 0.62);
    line-height: 1.72;
}

/* ================================================================
   CTA SECTION
   ================================================================ */

.cta-section {
    background: var(--cream);
    padding: 100px var(--px);
    text-align: center;
}

.cta-inner {
    max-width: 620px;
    margin: 0 auto;
}

/* Logo displayed large on cream background — looks natural */
.cta-logo-wrap {
    width: 108px;
    height: 108px;
    margin: 0 auto 28px;
    border-radius: 22px;
    overflow: hidden;
    background: var(--cream);
    box-shadow: 0 8px 28px rgba(30, 58, 47, 0.13);
}

.cta-logo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-h2 {
    font-family: var(--serif);
    font-size: clamp(1.75rem, 3.5vw, 2.6rem);
    font-weight: 700;
    color: var(--hunter);
    line-height: 1.18;
    letter-spacing: -0.01em;
    margin-bottom: 12px;
}

.cta-lead {
    font-size: 1rem;
    color: var(--text-mid);
    margin-bottom: 36px;
    line-height: 1.7;
}

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

.footer {
    background: var(--hunter);
    border-top: 2px solid rgba(184, 149, 106, 0.38);
    padding: 44px var(--px);
}

.footer-inner {
    max-width: var(--max);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo-badge {
    width: 30px;
    height: 30px;
    border-radius: 6px;
    overflow: hidden;
    background: var(--cream);
}

.footer-logo-badge img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-name {
    font-family: var(--serif);
    font-size: 0.95rem;
    color: var(--cream);
    letter-spacing: 0.01em;
}

.footer-links {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    font-size: 0.83rem;
    color: rgba(240, 233, 214, 0.55);
    text-decoration: none;
    transition: color 0.2s ease;
    letter-spacing: 0.01em;
}

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

.footer-copy {
    font-size: 0.77rem;
    color: rgba(240, 233, 214, 0.3);
}

/* ================================================================
   LEGAL PAGES
   ================================================================ */

.legal-hero {
    background: var(--hunter);
    padding: 48px var(--px) 52px;
    border-bottom: 2px solid rgba(184, 149, 106, 0.35);
    position: relative;
}

.legal-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 44px 44px;
    pointer-events: none;
}

.legal-hero-inner {
    max-width: var(--max);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.legal-back {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--tan);
    text-decoration: none;
    letter-spacing: 0.02em;
    margin-bottom: 16px;
    transition: color 0.2s ease;
}

.legal-back:hover {
    color: var(--tan-light);
}

.legal-title {
    font-family: var(--serif);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    color: var(--cream);
    line-height: 1.15;
    letter-spacing: -0.01em;
    margin-bottom: 10px;
}

.legal-dates {
    font-size: 0.83rem;
    color: rgba(240, 233, 214, 0.5);
    letter-spacing: 0.02em;
}

/* Legal content body */
.legal-main {
    background: var(--parchment);
    padding: 64px var(--px) 96px;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content section {
    margin-bottom: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--linen);
}

.legal-content section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.legal-content h2 {
    font-family: var(--serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--hunter);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--linen);
    letter-spacing: -0.01em;
}

.legal-content h3 {
    font-family: var(--sans);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin: 20px 0 8px;
    letter-spacing: 0.01em;
}

.legal-content p {
    font-size: 0.95rem;
    color: var(--text-mid);
    line-height: 1.82;
    margin-bottom: 14px;
}

.legal-content p:last-child {
    margin-bottom: 0;
}

.legal-content strong {
    color: var(--text);
    font-weight: 600;
}

.legal-content ul,
.legal-content ol {
    margin: 10px 0 16px 24px;
}

.legal-content li {
    font-size: 0.95rem;
    color: var(--text-mid);
    line-height: 1.75;
    margin-bottom: 6px;
}

.legal-content a {
    color: var(--forest);
    text-decoration: underline;
    text-decoration-color: rgba(45, 90, 61, 0.35);
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.legal-content a:hover {
    color: var(--hunter);
    text-decoration-color: var(--hunter);
}

/* ================================================================
   RESPONSIVE
   ================================================================ */

/* Tablet / small desktop — stack hero and features */
@media (max-width: 960px) {
    .hero {
        flex-direction: column;
        text-align: center;
        min-height: auto;
        padding: 72px var(--px) 88px;
        gap: 52px;
    }

    .hero-copy {
        max-width: 560px;
    }

    .hero-lead {
        max-width: 100%;
    }

    .btns {
        justify-content: center;
    }

    .hero-phones {
        width: 264px;
        height: 490px;
    }

    .phone--back,
    .phone--front {
        width: 152px;
    }

    /* Both feature layouts collapse to single column */
    .feature,
    .feature--flip {
        flex-direction: column !important;
        gap: 44px;
        text-align: center;
    }

    .feature-copy {
        max-width: 560px;
    }

    /* Keep list items left-aligned inside centered container */
    .feature-list {
        display: inline-flex;
        text-align: left;
    }

    .pillars {
        grid-template-columns: 1fr;
        max-width: 440px;
        margin-left: auto;
        margin-right: auto;
        text-align: left;
    }
}

/* Mobile */
@media (max-width: 520px) {
    .feature-section,
    .privacy-section,
    .cta-section {
        padding: 72px var(--px);
    }

    .hero-phones {
        width: 230px;
        height: 425px;
    }

    .phone--back,
    .phone--front {
        width: 134px;
        border-radius: 34px;
    }

    .phone--back {
        top: 22px;
    }

    .phone-solo {
        width: 196px;
        border-radius: 38px;
    }

    .btns {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        min-width: 228px;
        justify-content: center;
    }

    /* Hide brand text in nav to preserve space for store buttons */
    .nav-brand {
        display: none;
    }

    .nav-btn {
        padding: 6px 12px;
        font-size: 0.78rem;
    }
}
