/* Evidence Analyzer by Evidentix - shared styles */
/* Phase 1: pricing.html only. Phase 2 will refactor upload.html to use this. */

:root {
    --brand-purple-dark: #3b0764;
    --brand-purple-mid: #8b5cf6;
    --brand-purple-link: #6d28d9;
    --brand-purple-light: #e9d5ff;
    --brand-text: #1f2937;
    --brand-text-muted: #64748b;
    --brand-bg: #ffffff;
    --brand-bg-alt: #f8fafc;
}
/* Early-access banner — public marketing pages only */
.early-access-banner {
  background-color: #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
  color: #334155;
  text-align: center;
  padding: 10px 16px;
  font-size: 14px;
  font-family: inherit;
  line-height: 1.4;
}
.early-access-banner strong {
  color: #1e293b;
  font-weight: 600;
}
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--brand-text);
    background: var(--brand-bg);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* ---------- Header ---------- */

.site-header-wrap {
    background: var(--brand-bg);
    border-bottom: 2px solid var(--brand-purple-mid);
}

.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.brand {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    text-decoration: none;
}

.brand-name {
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--brand-purple-dark);
}

.brand-tag {
    font-size: 12px;
    margin-top: 4px;
    color: var(--brand-purple-mid);
}

.sign-in {
    font-size: 14px;
    font-weight: 500;
    color: var(--brand-purple-link);
    text-decoration: none;
}

.sign-in:hover {
    text-decoration: underline;
}

@media (max-width: 600px) {
    .site-header {
        padding: 14px 20px;
    }
    .brand-name {
        font-size: 18px;
    }
}
/* ---------- Hero ---------- */

html {
    scroll-behavior: smooth;
}

.hero {
    padding: 80px 32px;
    text-align: center;
    background: var(--brand-bg);
}

.hero-headline {
    font-size: 44px;
    font-weight: 600;
    color: var(--brand-purple-dark);
    letter-spacing: -0.02em;
    line-height: 1.15;
    max-width: 800px;
    margin: 0 auto 24px;
}

.hero-subhead {
    font-size: 17px;
    line-height: 1.65;
    color: #475569;
    max-width: 640px;
    margin: 0 auto 28px;
}

.hero-cta {
    display: inline-block;
    font-size: 15px;
    font-weight: 500;
    color: var(--brand-purple-link);
    text-decoration: none;
}

.hero-cta:hover {
    text-decoration: underline;
}

@media (max-width: 600px) {
    .hero {
        padding: 56px 20px;
    }
    .hero-headline {
        font-size: 30px;
    }
    .hero-subhead {
        font-size: 16px;
    }
}
/* ---------- Value prop ---------- */

.value-prop {
    background: #f8fafc;
    padding: 80px 32px;
}

.value-prop-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 48px;
    max-width: 1100px;
    margin: 0 auto;
}

.value-col {
    text-align: left;
}

.value-icon {
    width: 36px;
    height: 36px;
    color: var(--brand-purple-mid);
    margin-bottom: 20px;
}

.value-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.value-header {
    font-size: 18px;
    font-weight: 600;
    color: var(--brand-purple-dark);
    line-height: 1.35;
    margin: 0 0 14px;
}

.value-body {
    font-size: 15px;
    line-height: 1.65;
    color: #475569;
    margin: 0;
}

@media (max-width: 900px) {
    .value-prop-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

@media (max-width: 600px) {
    .value-prop {
        padding: 56px 20px;
    }
}
/* ---------- Pricing grid ---------- */

.pricing {
    background: var(--brand-bg);
    padding: 80px 32px;
}

.pricing-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-section-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--brand-purple-mid);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0 0 20px;
}

.pricing-section-label.subscriptions {
    margin-top: 56px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.pricing-grid.subscriptions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 760px;
}

.price-card {
    background: var(--brand-bg);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 28px 26px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: border-color 0.15s ease, transform 0.15s ease;
}

.price-card:hover {
    border-color: var(--brand-purple-mid);
}

.price-card.featured {
    border: 2px solid var(--brand-purple-mid);
    padding: 27px 25px;
}

.price-card .badge {
    position: absolute;
    top: -12px;
    left: 26px;
    background: var(--brand-purple-mid);
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 5px 12px;
    border-radius: 4px;
}

.price-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--brand-purple-dark);
    margin: 0 0 12px;
}

.price-card .price-amount {
    font-size: 30px;
    font-weight: 700;
    color: var(--brand-text);
    margin: 0 0 18px;
    letter-spacing: -0.01em;
}

.price-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    flex-grow: 1;
}

.price-card li {
    font-size: 14px;
    color: #475569;
    padding: 6px 0 6px 22px;
    position: relative;
    line-height: 1.5;
}

.price-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 11px;
    width: 12px;
    height: 6px;
    border-left: 2px solid var(--brand-purple-mid);
    border-bottom: 2px solid var(--brand-purple-mid);
    transform: rotate(-45deg);
}

.price-card .button {
    display: block;
    text-align: center;
    background: var(--brand-purple-link);
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    padding: 11px 16px;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.15s ease;
}

.price-card .button:hover {
    background: var(--brand-purple-dark);
}

@media (max-width: 900px) {
    .pricing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .pricing-grid.subscriptions {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .pricing {
        padding: 56px 20px;
    }
    .pricing-grid,
    .pricing-grid.subscriptions {
        grid-template-columns: 1fr;
    }
}
/* ---------- Final CTA ---------- */

.final-cta {
    background: #f8fafc;
    padding: 64px 32px;
    text-align: center;
}

.final-cta p {
    font-size: 18px;
    color: var(--brand-text);
    margin: 0;
    line-height: 1.6;
}

.final-cta a {
    color: var(--brand-purple-link);
    text-decoration: none;
    font-weight: 500;
}

.final-cta a:hover {
    text-decoration: underline;
}

/* ---------- Footer ---------- */

.site-footer {
    background: var(--brand-bg);
    border-top: 1px solid #e2e8f0;
    padding: 48px 32px;
    font-size: 13px;
    color: #64748b;
    line-height: 1.6;
}

.site-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 32px;
    align-items: start;
}

.footer-brand {
    font-weight: 600;
    color: var(--brand-purple-dark);
    font-size: 14px;
    margin: 0 0 8px;
}

.footer-address {
    margin: 0;
    font-style: normal;
}

.footer-contact a {
    color: var(--brand-purple-link);
    text-decoration: none;
}

.footer-contact a:hover {
    text-decoration: underline;
}

.footer-copyright {
    text-align: right;
}

@media (max-width: 900px) {
    .site-footer-inner {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .footer-copyright {
        text-align: left;
    }
}

@media (max-width: 600px) {
    .final-cta {
        padding: 48px 20px;
    }
    .site-footer {
        padding: 36px 20px;
    }
}

/* ==========================================================================
   Legal pages (/privacy, /terms)
   ========================================================================== */

.legal-page {
    max-width: 820px;
    margin: 0 auto;
    padding: 40px 24px 80px;
    color: var(--brand-text);
    line-height: 1.7;
}

.legal-header h1 {
    color: var(--brand-purple-dark);
    font-size: 36px;
    margin: 0 0 12px;
}

.legal-meta {
    color: #6b7280;
    font-size: 14px;
    margin: 0 0 16px;
}

.legal-intro {
    font-size: 17px;
    color: var(--brand-text);
    margin: 16px 0 32px;
}

.legal-toc {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 20px 24px;
    margin: 24px 0 40px;
}

.legal-toc h2 {
    font-size: 16px;
    color: var(--brand-purple-dark);
    margin: 0 0 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.legal-toc ol {
    margin: 0;
    padding-left: 24px;
    columns: 2;
    column-gap: 32px;
}

.legal-toc li {
    margin-bottom: 6px;
    break-inside: avoid;
}

.legal-toc a {
    color: var(--brand-purple-link);
    text-decoration: none;
}

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

.legal-section {
    margin: 40px 0;
    scroll-margin-top: 24px;
}

.legal-section h2 {
    color: var(--brand-purple-dark);
    font-size: 22px;
    margin: 0 0 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e5e7eb;
}

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

.legal-section p {
    margin: 0 0 16px;
}

.legal-section address {
    font-style: normal;
    margin-top: 12px;
    color: #4b5563;
}

@media (max-width: 720px) {
    .legal-toc ol {
        columns: 1;
    }
    .legal-header h1 {
        font-size: 28px;
    }
    .legal-page {
        padding: 24px 16px 60px;
    }
}