/* Shop Effective — shared site styles. No web fonts or third-party
   requests: the privacy policy promises no tracking, and that includes
   font CDNs.

   Colors come from the app icon: the green gradient tile, the white
   paper list, and its gray-green lines. Light mode is the paper; dark
   mode is the deep end of the tile's gradient. */

:root {
    --bg: #f5f8f6;
    --bg-raised: #ffffff;
    --text: #12261b;
    --text-dim: #4f6358;
    --accent: #0b7a43;
    --accent-strong: #1fae5f;
    --accent-glow: rgba(31, 174, 95, 0.28);
    --rule: rgba(18, 38, 27, 0.12);
    --hero-wash: #dcf1e4;
    --max: 46rem;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #04130c;
        --bg-raised: #0a2116;
        --text: #e6f2ea;
        --text-dim: #9fbcab;
        --accent: #5fd394;
        --accent-strong: #1fae5f;
        --accent-glow: rgba(95, 211, 148, 0.25);
        --rule: rgba(159, 188, 171, 0.18);
        --hero-wash: #0b3a22;
    }
}

* { box-sizing: border-box; }

html { color-scheme: light dark; }

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--text);
    background:
        radial-gradient(ellipse at 50% -10%, var(--hero-wash) 0%, transparent 60%),
        var(--bg);
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a { color: var(--accent); text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; }

/* Header / nav */

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    max-width: 64rem;
    width: 100%;
    margin: 0 auto;
    padding: 1.25rem 1.5rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text);
    font-weight: 600;
}
.brand img { width: 32px; height: 32px; }
.brand:hover { text-decoration: none; }

.site-nav { display: flex; gap: 1.25rem; font-size: 0.95rem; }
.site-nav a { color: var(--text-dim); }
.site-nav a[aria-current="page"], .site-nav a:hover { color: var(--text); }

main {
    flex: 1;
    width: 100%;
    max-width: var(--max);
    margin: 0 auto;
    padding: 1rem 1.5rem 4rem;
}

/* Landing hero */

.hero { text-align: center; padding: 2.5rem 0 1.5rem; }

.hero-icon {
    width: 180px;
    height: 180px;
    filter: drop-shadow(0 12px 32px var(--accent-glow));
}

.hero h1 {
    font-size: clamp(2.2rem, 6vw, 3.4rem);
    margin: 1rem 0 0.25rem;
    font-weight: 700;
}

.tagline {
    color: var(--text-dim);
    font-size: 1.2rem;
    margin: 0 auto 2rem;
    max-width: 32rem;
}

.badge-slot { margin: 1.5rem 0 0.5rem; }
.badge-slot img { height: 54px; }

.platforms { color: var(--text-dim); font-size: 0.9rem; }

/* Stands in for the App Store badge until the app's store page is live. */
.coming-soon {
    display: inline-block;
    margin: 1.5rem 0 0.5rem;
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--rule);
    border-radius: 999px;
    background: var(--bg-raised);
}
.coming-soon p { margin: 0; color: var(--text-dim); font-size: 0.9rem; }
.coming-soon .coming-soon-label {
    color: var(--accent);
    font-size: 1.05rem;
    font-weight: 600;
}

/* Content */

h1 { font-size: 2rem; margin: 1.5rem 0 0.5rem; }
h2 {
    font-size: 1.3rem;
    margin: 2.5rem 0 0.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--rule);
}
h3 { font-size: 1.05rem; margin: 1.5rem 0 0.25rem; }

.lede { color: var(--text-dim); font-size: 1.1rem; }
.updated { color: var(--text-dim); font-size: 0.9rem; }

.intro p { font-size: 1.1rem; }

/* Feature cards read as list items: a green check, like the icon's. */
.features {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(13rem, 100%), 1fr));
    gap: 1rem;
}
.features li {
    position: relative;
    background: var(--bg-raised);
    border: 1px solid var(--rule);
    border-radius: 14px;
    padding: 1rem 1.1rem 1rem 2.6rem;
}
.features li::before {
    content: "✓";
    position: absolute;
    left: 1rem;
    top: 0.95rem;
    color: var(--accent-strong);
    font-weight: 700;
}
.features strong { display: block; margin-bottom: 0.25rem; }
.features span { color: var(--text-dim); font-size: 0.95rem; }

.spotlight {
    margin-top: 2.5rem;
    padding: 0.25rem 1.5rem 1rem;
    border: 1px solid var(--rule);
    border-radius: 18px;
    background:
        radial-gradient(ellipse at 50% 0%, var(--hero-wash) 0%, transparent 75%),
        var(--bg-raised);
}
.spotlight h2 { border-top: 0; padding-top: 0.75rem; margin-top: 0.75rem; }
.spotlight p { font-size: 1.1rem; }

.contact-card {
    background: var(--bg-raised);
    border: 1px solid var(--rule);
    border-radius: 14px;
    padding: 1.25rem 1.4rem;
    margin: 1.5rem 0;
}
.contact-card .address { font-size: 1.15rem; font-weight: 600; }

details {
    border-bottom: 1px solid var(--rule);
    padding: 0.75rem 0;
}
summary { cursor: pointer; font-weight: 600; }
details p, details ul { color: var(--text-dim); margin: 0.5rem 0 0.25rem; }

/* Footer */

.site-footer {
    border-top: 1px solid var(--rule);
    color: var(--text-dim);
    font-size: 0.85rem;
    text-align: center;
    padding: 1.5rem;
}
.site-footer nav { display: flex; justify-content: center; gap: 1.25rem; margin-bottom: 0.5rem; }
.site-footer p { margin: 0.25rem 0; }
