/* Shared styles for product & privacy pages under ecoquity.tech */

@font-face {
    font-family: 'Aptos';
    src: local('Aptos'), local('Aptos Display'), local('Aptos Text');
    font-weight: 300 700;
    font-style: normal;
}

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

:root {
    --eq-teal: #47C1B2;
    --eq-teal-deep: #2a9a8c;
    --eq-ink: #1a2b2a;
    --eq-muted: #4a5c5a;
    --eq-cream: #f4f7f6;
    --eq-line: rgba(26, 43, 42, 0.12);
    --luminate-cream: #f7f1e8;
    --briefing-blue: #0071C7;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Aptos', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--eq-ink);
    background: #fff;
    line-height: 1.65;
}

a {
    color: var(--eq-teal-deep);
}

a:hover {
    color: var(--eq-ink);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--eq-teal);
    padding: 16px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.site-header .wrap {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: -0.02em;
}

.brand-link img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    justify-content: flex-end;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
}

.nav-links a:hover {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.wrap {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 28px;
}

/* Product hero */
.product-hero {
    padding: 72px 0 56px;
    position: relative;
    overflow: hidden;
}

.product-hero.luminate {
    background:
        radial-gradient(ellipse 80% 60% at 15% 20%, rgba(71, 193, 178, 0.35), transparent 55%),
        radial-gradient(ellipse 70% 50% at 90% 80%, rgba(252, 240, 163, 0.45), transparent 50%),
        var(--luminate-cream);
}

.product-hero.briefing {
    background:
        radial-gradient(ellipse 70% 55% at 85% 15%, rgba(0, 113, 199, 0.28), transparent 55%),
        linear-gradient(165deg, #e8f2fb 0%, #f7fafc 55%, #fff 100%);
}

.eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--eq-muted);
    margin-bottom: 14px;
}

.product-hero h1 {
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    max-width: 14ch;
    margin-bottom: 16px;
}

.product-hero .lede {
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--eq-muted);
    max-width: 38rem;
    margin-bottom: 28px;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border: 2px solid transparent;
    transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

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

.btn-primary {
    background: var(--eq-teal);
    color: #fff;
}

.btn-primary:hover {
    background: var(--eq-teal-deep);
    color: #fff;
}

.btn-primary.briefing {
    background: var(--briefing-blue);
}

.btn-primary.briefing:hover {
    background: #005a9e;
    color: #fff;
}

.btn-ghost {
    background: transparent;
    border-color: rgba(26, 43, 42, 0.22);
    color: var(--eq-ink);
}

.btn-ghost:hover {
    border-color: var(--eq-ink);
    color: var(--eq-ink);
}

.section {
    padding: 64px 0;
}

.section.alt {
    background: var(--eq-cream);
}

.section h2 {
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 28px;
}

.slash-list {
    display: grid;
    gap: 18px;
    max-width: 42rem;
}

.slash-list p {
    font-size: 1.1rem;
    color: var(--eq-muted);
}

.slash-list strong {
    color: var(--eq-ink);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.feature-card {
    background: #fff;
    border: 1px solid var(--eq-line);
    border-radius: 16px;
    padding: 22px 20px;
}

.feature-card h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--eq-muted);
}

.meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    font-size: 0.9rem;
    color: var(--eq-muted);
    margin-top: 8px;
}

.meta-row code {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.85em;
    background: rgba(71, 193, 178, 0.12);
    padding: 2px 6px;
    border-radius: 4px;
    color: var(--eq-ink);
}

.site-footer {
    background: var(--eq-teal);
    color: #fff;
    padding: 40px 0;
    margin-top: 20px;
}

.site-footer .wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.92);
}

.site-footer .foot-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
}

.site-footer img {
    width: 32px;
    height: 32px;
}

/* Privacy pages */
.privacy-hero {
    background: var(--eq-teal);
    color: #fff;
    padding: 56px 0 40px;
}

.privacy-hero h1 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    letter-spacing: -0.03em;
    margin-bottom: 10px;
}

.privacy-hero .sub {
    opacity: 0.9;
    font-weight: 300;
    font-size: 1.1rem;
    max-width: 36rem;
}

.privacy-body {
    padding: 48px 0 72px;
}

.privacy-body .wrap {
    max-width: 720px;
}

.privacy-body h2 {
    font-size: 1.25rem;
    margin: 2rem 0 0.75rem;
    letter-spacing: -0.01em;
}

.privacy-body p,
.privacy-body li {
    color: var(--eq-muted);
    font-size: 1.02rem;
    margin-bottom: 0.85rem;
}

.privacy-body ul {
    padding-left: 1.25rem;
    margin-bottom: 1rem;
}

.privacy-body li {
    margin-bottom: 0.45rem;
}

.privacy-meta {
    font-size: 0.9rem;
    color: var(--eq-muted);
    border-top: 1px solid var(--eq-line);
    padding-top: 1.5rem;
    margin-top: 2.5rem;
}

/* Phone / intro visual strip */
.hero-with-visual {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}

.hero-icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    margin-bottom: 18px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    object-fit: cover;
}

.phone-strip {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: flex-end;
    flex-wrap: wrap;
    padding: 8px 0;
}

.phone-frame {
    width: min(200px, 28vw);
    border-radius: 28px;
    overflow: hidden;
    background: #111;
    box-shadow:
        0 0 0 2px rgba(26, 43, 42, 0.12),
        0 18px 40px rgba(26, 43, 42, 0.18);
    transform-origin: bottom center;
}

.phone-frame img {
    display: block;
    width: 100%;
    height: auto;
    vertical-align: top;
}

.phone-frame.tilt-left {
    transform: rotate(-4deg) translateY(12px);
}

.phone-frame.tilt-right {
    transform: rotate(4deg) translateY(12px);
}

.phone-frame.center {
    width: min(220px, 32vw);
    z-index: 1;
    transform: translateY(0);
}

.visuals-section .note {
    margin-top: 18px;
    font-size: 0.9rem;
    color: var(--eq-muted);
}

.intro-embed {
    width: 100%;
    min-height: 720px;
    border: 0;
    border-radius: 16px;
    background: #1A1410;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

.event-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 113, 199, 0.12);
    color: var(--briefing-blue);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 8px 14px;
    border-radius: 999px;
    margin-bottom: 14px;
}

@media (max-width: 900px) {
    .hero-with-visual {
        grid-template-columns: 1fr;
    }

    .phone-frame.tilt-left,
    .phone-frame.tilt-right,
    .phone-frame.center {
        transform: none;
        width: min(160px, 30vw);
    }
}

@media (max-width: 640px) {
    .site-header .wrap {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links {
        justify-content: flex-start;
    }

    .product-hero {
        padding: 48px 0 40px;
    }

    .wrap {
        padding: 0 20px;
    }

    .intro-embed {
        min-height: 1100px;
    }
}
