/* Park Pulse website — shared styles. No external fonts, scripts or trackers. */

:root {
    --bg-color: #f5f5f7;
    --text-color: #1d1d1f;
    --text-secondary: #6e6e73;
    /* Brand accent = the app's AccentColor / app icon purple (#7336BA). */
    --accent-color: #7336ba;
    --accent-text: #6a2fb0;
    --accent-soft: rgba(115, 54, 186, 0.10);
    --card-bg: #ffffff;
    --hairline: rgba(0, 0, 0, 0.12);
    --placeholder-bg: rgba(0, 0, 0, 0.05);
    --placeholder-border: rgba(0, 0, 0, 0.12);
    --border-radius: 18px;
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg-color: #000000;
        --text-color: #f5f5f7;
        --text-secondary: #a1a1a6;
        --accent-color: #7336ba;
        --accent-text: #b78cf0;
        --accent-soft: rgba(183, 140, 240, 0.14);
        --card-bg: #1c1c1e;
        --hairline: rgba(255, 255, 255, 0.16);
        --placeholder-bg: rgba(255, 255, 255, 0.05);
        --placeholder-border: rgba(255, 255, 255, 0.12);
    }
}

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.5;
    padding: 0 20px;
    overflow-wrap: break-word;
}

a { color: var(--accent-text); }

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

.icon {
    width: 1em;
    height: 1em;
    flex: none;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    vertical-align: -0.125em;
}

/* ---------- Landing page ---------- */

.hero {
    text-align: center;
    padding: 80px 0 40px;
}

h1 {
    font-size: 56px;
    font-weight: 700;
    letter-spacing: -0.005em;
    line-height: 1.1;
    margin-bottom: 16px;
}

.subtitle {
    font-size: 24px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 32px;
    font-weight: 400;
}

.cta-group { margin-bottom: 48px; }

.btn {
    background-color: var(--accent-color);
    color: #ffffff;
    padding: 12px 24px;
    font-size: 17px;
    font-weight: 600;
    border-radius: 30px;
    text-decoration: none;
    display: inline-block;
    transition: opacity 0.2s;
}

.btn:hover { opacity: 0.9; }

.cta-subtext {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 12px;
}

.hero-image {
    background: linear-gradient(180deg, var(--accent-soft) 0%, rgba(0, 0, 0, 0) 100%);
    border-radius: var(--border-radius);
    padding: 40px;
    margin-bottom: 80px;
    display: flex;
    justify-content: center;
    align-items: stretch;
    min-height: 300px;
    border: 1px dashed var(--placeholder-border);
}

.hero-image .card-image-placeholder { width: 100%; }

.statement {
    font-size: 32px;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.3;
    max-width: 800px;
    margin: 0 auto 100px;
    text-align: center;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 100px;
}

.card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 380px;
}

.card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
}

.card p {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 24px;
}

.card-image-placeholder {
    background-color: var(--placeholder-bg);
    border-radius: 12px;
    flex-grow: 1;
    min-height: 160px;
    padding: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
    border: 1px dashed var(--placeholder-border);
}

.card-image-placeholder .icon { width: 20px; height: 20px; }

.pro-section {
    background-color: #1c1c1e;
    color: #f5f5f7;
    border-radius: var(--border-radius);
    padding: 64px 40px;
    margin-bottom: 100px;
}

@media (prefers-color-scheme: dark) {
    .pro-section { border: 1px solid var(--hairline); }
}

.pro-header {
    text-align: center;
    margin-bottom: 48px;
}

.pro-header h2 { font-size: 32px; line-height: 1.2; }

.pro-badge {
    background-color: var(--accent-color);
    color: #ffffff;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    display: inline-block;
    margin-bottom: 12px;
}

.pro-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 32px;
}

.pro-feature h4 {
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pro-feature h4 .icon { width: 18px; height: 18px; color: #c9a6f5; }

.pro-feature p {
    color: #aeaeb2;
    font-size: 15px;
}

.pitch-card {
    background: linear-gradient(135deg, #5b2a98 0%, #7336ba 50%, #9b5de5 100%);
    color: #ffffff;
    border-radius: var(--border-radius);
    padding: 48px;
    text-align: center;
    margin-bottom: 100px;
}

.pitch-card h2 {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 12px;
}

.pitch-card p {
    font-size: 19px;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.92;
}

.closing-cta {
    text-align: center;
    padding: 40px 0 8px;
    border-top: 1px solid var(--hairline);
}

.closing-cta h2 { margin-bottom: 20px; }

/* ---------- Site footer (all pages) ---------- */

.site-footer {
    text-align: center;
    padding: 32px 0 64px;
    border-top: 1px solid var(--hairline);
    color: var(--text-secondary);
    font-size: 14px;
}

.closing-cta + .site-footer { border-top: 0; padding-top: 0; }

.footer-links {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 24px;
    margin-bottom: 16px;
}

.footer-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
}

.footer-links a:hover { color: var(--accent-text); text-decoration: underline; }

.disclaimer {
    font-size: 12px;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 16px auto 0;
    line-height: 1.45;
}

/* ---------- Legal pages ---------- */

.site-header {
    max-width: 760px;
    margin: 0 auto;
    padding: 20px 0;
    border-bottom: 1px solid var(--hairline);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 700;
    font-size: 17px;
}

.brand-mark {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    background: var(--accent-color);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.brand-mark .icon { width: 18px; height: 18px; }

.legal {
    max-width: 760px;
    margin: 0 auto;
    padding: 40px 0 56px;
    font-size: 17px;
}

.legal h1 {
    font-size: 40px;
    margin-bottom: 8px;
}

.legal .meta {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 24px;
}

.legal .lede {
    font-size: 19px;
    margin-bottom: 24px;
}

.legal h2 {
    font-size: 24px;
    line-height: 1.25;
    margin: 40px 0 12px;
    scroll-margin-top: 16px;
}

.legal h3 {
    font-size: 18px;
    margin: 24px 0 8px;
}

.legal p,
.legal ul,
.legal ol { margin-bottom: 14px; }

.legal ul,
.legal ol { padding-left: 1.4em; }

.legal li { margin-bottom: 6px; }

.legal li::marker { color: var(--text-secondary); }

.summary-box,
.notice {
    background: var(--card-bg);
    border: 1px solid var(--hairline);
    border-left: 5px solid var(--accent-color);
    border-radius: 12px;
    padding: 18px 20px;
    margin: 24px 0;
}

.summary-box p:last-child,
.summary-box ul:last-child,
.notice p:last-child,
.contact-card p:last-child { margin-bottom: 0; }

.notice { font-weight: 600; }

.toc {
    background: var(--card-bg);
    border: 1px solid var(--hairline);
    border-radius: 12px;
    padding: 18px 20px;
    margin: 24px 0 8px;
}

.legal .toc h2 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-secondary);
    margin: 0 0 10px;
}

.toc ol {
    margin: 0;
    padding-left: 1.4em;
    columns: 2 240px;
    column-gap: 32px;
}

.toc li { break-inside: avoid; margin-bottom: 4px; font-size: 15px; }

.toc a { text-decoration: none; }

.toc a:hover { text-decoration: underline; }

.contact-card {
    background: var(--card-bg);
    border: 1px solid var(--hairline);
    border-radius: 12px;
    padding: 18px 20px;
    margin: 16px 0;
}

.back-to-top {
    display: inline-block;
    margin-top: 32px;
    font-size: 15px;
}

/* ---------- Small screens ---------- */

@media (max-width: 768px) {
    h1 { font-size: 40px; }
    .hero { padding: 56px 0 32px; }
    .subtitle { font-size: 20px; }
    .hero-image { padding: 20px; margin-bottom: 56px; min-height: 220px; }
    .statement { font-size: 24px; margin-bottom: 64px; }
    .grid { margin-bottom: 64px; }
    .card { padding: 24px; min-height: 320px; }
    .pro-section { padding: 40px 20px; margin-bottom: 64px; }
    .pro-header h2 { font-size: 26px; }
    .pitch-card { padding: 32px 20px; margin-bottom: 64px; }
    .pitch-card h2 { font-size: 30px; }
    .pitch-card p { font-size: 17px; }
    .legal { padding-top: 28px; font-size: 16px; }
    .legal h1 { font-size: 32px; }
    .legal h2 { font-size: 21px; margin-top: 32px; }
}

@media (max-width: 380px) {
    body { padding: 0 16px; }
    h1 { font-size: 34px; }
    .grid { grid-template-columns: 1fr; }
}

/* App Store button before the listing is live: same look, not clickable. */
.btn-soon { cursor: default; opacity: 0.85; }
