/* ╔══════════════════════════════════════════════════════════════════════════╗
   ║   Eidolon — platform landing-page overrides                              ║
   ║   platform/frontend/landing/css/landing.css                              ║
   ║                                                                          ║
   ║   Loaded AFTER _shared/css/{tokens,base,components}.css. Default theme   ║
   ║   is slate-blue (the tokens.css :root). This file adds the                ║
   ║   platform-specific sections that have no shared counterpart:            ║
   ║      — Hero "asymmetry" visual                                           ║
   ║      — Products grid w/ stage headings + per-card theme retint           ║
   ║      — Ascending-twin principle section (2-col w/ pull quote)            ║
   ║      — Trust pillars                                                     ║
   ║      — CTA banner (slate-blue darker)                                    ║
   ╚══════════════════════════════════════════════════════════════════════════╝ */


/* ── Hero variants ──────────────────────────────────────────────────────── */
.hero-grid-tight {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: var(--space-2xl);
}

.hero-content h1 {
    font-size: clamp(2.25rem, 5.5vw, 3.75rem);
}

.hero-proof {
    margin-top: var(--space-md);
    color: var(--neutral-text-muted);
    font-size: var(--fs-sm);
}
.hero-proof strong {
    color: var(--theme-primary);
    font-weight: var(--fw-semibold);
}


/* ════════════════════════════════════════════════════════════════════════════
   "LIFELONG RECORD" VISUAL — hero illustration
   Sample journal entries spanning a person's life (cradle-to-grave breadth),
   styled as a record card. No metaphors, no decline narratives — just shows
   what the product actually does: keep a continuous record across stages.
   ════════════════════════════════════════════════════════════════════════════ */
.record-card {
    background: var(--neutral-white);
    border: 1px solid var(--neutral-border-light);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}
.record-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 0%, var(--theme-primary-tint) 0%, transparent 50%),
        radial-gradient(circle at 80% 100%, var(--theme-primary-light) 0%, transparent 50%);
    pointer-events: none;
}
.record-card > * { position: relative; z-index: 1; }

.record-card-header {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: var(--fw-semibold);
    color: var(--neutral-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: var(--space-md);
}

.record-list {
    list-style: none;
    margin: 0 0 var(--space-md);
    padding: 0;
    position: relative;
}
/* Faint vertical line behind the dots, connecting the entries */
.record-list::before {
    content: '';
    position: absolute;
    left: 5px;
    top: 14px;
    bottom: 14px;
    width: 2px;
    background: linear-gradient(
        to bottom,
        var(--theme-primary-tint) 0%,
        var(--theme-primary-tint) 80%,
        transparent 100%
    );
}

.record-entry {
    display: grid;
    grid-template-columns: 22px 1fr auto;
    align-items: center;
    gap: var(--space-sm);
    padding: 0.55rem 0;
    font-size: var(--fs-sm);
    border-bottom: 1px solid var(--neutral-border-light);
}
.record-entry:last-child { border-bottom: none; }

.record-dot {
    width: 12px; height: 12px;
    border-radius: 50%;
    background: var(--theme-primary);
    box-shadow: 0 0 0 3px var(--neutral-white);
    position: relative;
    z-index: 1;
}
.record-dot-empty {
    background: var(--neutral-white);
    border: 2px dashed var(--neutral-border);
}

.record-event {
    color: var(--neutral-text-dark);
    font-weight: var(--fw-medium);
}
.record-entry-future .record-event {
    color: var(--neutral-text-muted);
    font-style: italic;
}

.record-date {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--neutral-text-muted);
    white-space: nowrap;
}

.record-card-foot {
    font-size: var(--fs-sm);
    color: var(--neutral-text-body);
    border-top: 1px solid var(--neutral-border-light);
    padding-top: var(--space-md);
}
.record-card-foot strong {
    color: var(--theme-primary-dark);
    font-weight: var(--fw-semibold);
}


/* ════════════════════════════════════════════════════════════════════════════
   PRODUCTS — stage headings + per-card theme retint
   ════════════════════════════════════════════════════════════════════════════ */
.products-stage-heading {
    font-family: var(--font-body);
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    color: var(--neutral-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin: var(--space-2xl) 0 var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--neutral-border-light);
}
.products-stage-heading:first-of-type { margin-top: var(--space-2xl); }

.product-stage-tag {
    display: inline-flex;
    align-items: center;
    font-size: 0.72rem;
    font-weight: var(--fw-semibold);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--product-color);
    background: var(--product-color-light);
    padding: 0.2rem 0.55rem;
    border-radius: var(--radius-pill);
    align-self: flex-start;
    margin-top: -0.5rem;        /* tuck under the h3 */
    margin-bottom: 0.25rem;
}


/* ════════════════════════════════════════════════════════════════════════════
   THE PRINCIPLE — 2-col with pull quote
   ════════════════════════════════════════════════════════════════════════════ */
.principle {
    background: var(--neutral-white);
    border-top: 1px solid var(--neutral-border-light);
    border-bottom: 1px solid var(--neutral-border-light);
}

.principle-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--space-3xl);
    align-items: center;
}

.principle-content p {
    font-size: var(--fs-md);
    color: var(--neutral-text-body);
    line-height: var(--lh-relaxed);
    margin-bottom: var(--space-md);
}

.principle-content strong {
    color: var(--neutral-text-dark);
}

.principle-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    color: var(--theme-primary);
    margin-top: var(--space-md);
}

.principle-quote {
    background: var(--theme-primary-light);
    border-left: 4px solid var(--theme-primary);
    padding: var(--space-xl);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}
.principle-quote blockquote {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-style: italic;
    line-height: 1.45;
    color: var(--neutral-text-dark);
    margin-bottom: var(--space-md);
}
.principle-quote cite {
    font-style: normal;
    font-size: var(--fs-sm);
    font-weight: var(--fw-medium);
    color: var(--theme-primary-dark);
}


/* ════════════════════════════════════════════════════════════════════════════
   WHY EIDOLON — feature variant (slightly smaller cards, no over-stylising)
   ════════════════════════════════════════════════════════════════════════════ */
.why { background: var(--neutral-cream-dark); }

.features-grid-tight { gap: var(--space-md); }


/* ════════════════════════════════════════════════════════════════════════════
   TRUST — 4 numbered pillars
   ════════════════════════════════════════════════════════════════════════════ */
.trust { padding: var(--space-2xl) 0 var(--space-3xl); }

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
}

.trust-pillar {
    padding: var(--space-md);
    border-left: 2px solid var(--theme-primary);
    padding-left: var(--space-md);
}
.trust-pillar-num {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: var(--fw-bold);
    color: var(--theme-primary);
    line-height: 1;
    margin-bottom: var(--space-sm);
}
.trust-pillar h3 {
    font-size: var(--fs-md);
    margin-bottom: var(--space-sm);
}
.trust-pillar p {
    font-size: var(--fs-sm);
    color: var(--neutral-text-muted);
    line-height: var(--lh-relaxed);
}


/* ════════════════════════════════════════════════════════════════════════════
   CTA BANNER (platform — slate-blue darker)
   ════════════════════════════════════════════════════════════════════════════ */
.cta-banner {
    background: var(--theme-primary-darker);
    padding: var(--space-3xl) 0;
    position: relative;
    overflow: hidden;
}
.cta-banner::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
    border-radius: 50%;
}
.cta-banner h2 {
    color: var(--neutral-white);
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    margin-bottom: var(--space-md);
}
.cta-banner p {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--fs-md);
    margin-bottom: var(--space-xl);
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
    line-height: var(--lh-relaxed);
}
.cta-foot {
    color: rgba(255, 255, 255, 0.55);
    font-size: var(--fs-sm);
    margin-top: var(--space-md);
}
.cta-foot a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: underline;
    text-underline-offset: 0.15em;
}
.cta-foot a:hover { color: var(--neutral-white); }


/* ════════════════════════════════════════════════════════════════════════════
   MOBILE — platform-specific stacking
   ════════════════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .principle-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .principle-quote { padding: var(--space-lg); }
    .principle-quote blockquote { font-size: 1.15rem; }
    .trust-grid { grid-template-columns: 1fr; gap: var(--space-md); }
    .record-card { padding: var(--space-lg); }
    .record-entry { grid-template-columns: 18px 1fr auto; font-size: 0.85rem; }
    .record-event { font-size: 0.85rem; }
}
