/* Card Curator marketing site
   Clean indie-app aesthetic — system fonts, generous whitespace,
   minimal accent. Designed to feel native to macOS. */

:root {
    --accent: #007AFF;
    --accent-hover: #0062CC;
    --text: #111417;
    --text-secondary: #565B61;
    --text-tertiary: #8B8E93;
    --bg: #FFFFFF;
    --bg-elevated: #F7F8FA;
    --bg-emphasis: #F0F2F5;
    --border: #E4E6EA;
    --max-width: 1080px;
    --gutter: 24px;
}

@media (prefers-color-scheme: dark) {
    :root {
        --accent: #0A84FF;
        --accent-hover: #4DA3FF;
        --text: #F2F4F7;
        --text-secondary: #B0B5BB;
        --text-tertiary: #7A7E84;
        --bg: #0F1115;
        --bg-elevated: #181B20;
        --bg-emphasis: #22262C;
        --border: #2C3036;
    }
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 17px;
    line-height: 1.55;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

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

/* ─── Header ─── */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--border);
}

@media (prefers-color-scheme: dark) {
    .site-header {
        background: rgba(15, 17, 21, 0.85);
    }
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

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

.brand-mark {
    display: inline-block;
    width: 22px;
    height: 22px;
    border-radius: 5px;
    background: linear-gradient(135deg, var(--accent), #5856D6);
    flex-shrink: 0;
    position: relative;
}
.brand-mark::after {
    content: "";
    position: absolute;
    inset: 5px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.4);
}

.site-header nav {
    display: flex;
    gap: 28px;
}

.site-header nav a {
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 500;
}
.site-header nav a:hover {
    color: var(--text);
    text-decoration: none;
}

/* ─── Beta pill ─── */

.beta-pill {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(0, 122, 255, 0.10);
    color: var(--accent);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.01em;
    border: 1px solid rgba(0, 122, 255, 0.20);
}

@media (prefers-color-scheme: dark) {
    .beta-pill {
        background: rgba(10, 132, 255, 0.18);
        border-color: rgba(10, 132, 255, 0.30);
    }
}

.beta-pill-card {
    display: inline-block;
    margin-bottom: 16px;
    font-size: 12px;
    padding: 4px 10px;
}

/* ─── Hero ─── */

.hero {
    padding: 96px 0 48px;
    text-align: center;
}

.hero .beta-pill {
    margin-bottom: 24px;
}

h1 {
    font-size: 56px;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text);
}

.hero-sub {
    margin-top: 20px;
    font-size: 21px;
    line-height: 1.5;
    color: var(--text-secondary);
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    margin-top: 36px;
    display: flex;
    gap: 12px;
    justify-content: center;
}

.hero-note {
    margin-top: 20px;
    font-size: 14px;
    color: var(--text-tertiary);
}

/* ─── Buttons ─── */

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.15s ease;
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--accent);
    color: #FFFFFF;
}
.btn-primary:hover {
    background: var(--accent-hover);
    color: #FFFFFF;
    text-decoration: none;
}

.btn-secondary {
    background: var(--bg-elevated);
    color: var(--text);
    border-color: var(--border);
}
.btn-secondary:hover {
    background: var(--bg-emphasis);
    color: var(--text);
    text-decoration: none;
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
    font-weight: 600;
}

/* ─── Hero screenshot placeholder ─── */

.hero-screenshot {
    padding: 24px 0 96px;
}

.screenshot-frame {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 12px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
}

.screenshot-frame.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-tertiary);
    font-size: 14px;
    padding: 32px;
    text-align: center;
}

/* ─── Section ─── */

.section {
    padding: 96px 0;
    border-top: 1px solid var(--border);
}

h2 {
    font-size: 40px;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.015em;
    text-align: center;
}

.section-lead {
    margin-top: 16px;
    font-size: 19px;
    line-height: 1.5;
    color: var(--text-secondary);
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* ─── Features grid ─── */

.feature-grid {
    margin-top: 64px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.feature h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
}

.feature p {
    font-size: 15px;
    line-height: 1.5;
    color: var(--text-secondary);
}

/* ─── Privacy section ─── */

.privacy-section {
    background: var(--bg-elevated);
}

.privacy-points {
    margin-top: 64px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
}

.privacy-point h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text);
}

.privacy-point p {
    font-size: 14px;
    line-height: 1.55;
    color: var(--text-secondary);
}

.privacy-link {
    margin-top: 48px;
    text-align: center;
    font-size: 15px;
}

/* ─── Pricing ─── */

.pricing-card {
    margin: 64px auto 0;
    max-width: 480px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.pricing-card-head {
    margin-bottom: 32px;
}

.price {
    font-size: 56px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
    display: block;
    line-height: 1;
}

.price-detail {
    margin-top: 8px;
    color: var(--text-tertiary);
    font-size: 14px;
    display: block;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin: 0 auto 32px;
    max-width: 360px;
}

.pricing-features li {
    padding: 8px 0;
    color: var(--text);
    font-size: 15px;
    border-bottom: 1px solid var(--border);
    position: relative;
    padding-left: 24px;
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 600;
}

.pricing-note {
    margin-top: 20px;
    font-size: 13px;
    color: var(--text-tertiary);
    line-height: 1.5;
}

/* ─── FAQ ─── */

.faq-section .faq {
    margin-top: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}
.faq-section .faq:last-of-type { border-bottom: none; }

.faq h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
}

.faq p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* ─── Footer ─── */

.site-footer {
    background: var(--bg-elevated);
    border-top: 1px solid var(--border);
    padding: 64px 0 32px;
    margin-top: 0;
}

.footer-cols {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 48px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-col .brand {
    margin-bottom: 8px;
}

.footer-col p {
    font-size: 14px;
    color: var(--text-secondary);
}

.footer-col h4 {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-tertiary);
    margin-bottom: 4px;
}

.footer-col a {
    font-size: 14px;
    color: var(--text-secondary);
}
.footer-col a:hover {
    color: var(--accent);
}

.copyright {
    font-size: 13px;
    color: var(--text-tertiary);
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

/* ─── Legal pages ─── */

.legal-page {
    max-width: 760px;
    margin: 0 auto;
    padding: 64px 24px 96px;
}

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

.legal-page .updated {
    color: var(--text-tertiary);
    font-size: 14px;
    margin-bottom: 32px;
}

.legal-page h2 {
    font-size: 22px;
    text-align: left;
    margin: 40px 0 12px;
    color: var(--text);
}

.legal-page h3 {
    font-size: 17px;
    margin: 24px 0 8px;
    color: var(--text);
}

.legal-page p,
.legal-page li {
    font-size: 16px;
    line-height: 1.65;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.legal-page ul,
.legal-page ol {
    padding-left: 24px;
    margin-bottom: 16px;
}

.legal-page strong {
    color: var(--text);
}

/* ─── Responsive ─── */

@media (max-width: 720px) {
    h1 { font-size: 40px; }
    h2 { font-size: 30px; }
    .hero { padding: 64px 0 32px; }
    .section { padding: 64px 0; }
    .hero-sub { font-size: 18px; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; text-align: center; }
    .pricing-card { padding: 28px; }
    .price { font-size: 44px; }
    .footer-cols { grid-template-columns: 1fr 1fr; }
    .site-header nav { gap: 16px; }
    .site-header nav a { font-size: 14px; }
}
